@venusprotocol/protocol-reserve 1.5.0 → 1.6.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/package.json +3 -2
  2. package/typechain/AbstractTokenConverter.d.ts +1775 -0
  3. package/typechain/AccessControl.d.ts +388 -0
  4. package/typechain/AccessControlledV8.d.ts +341 -0
  5. package/typechain/BeaconProxy.d.ts +126 -0
  6. package/typechain/BoundValidatorInterface.d.ts +126 -0
  7. package/typechain/ContextUpgradeable.d.ts +92 -0
  8. package/typechain/ConverterNetwork.d.ts +723 -0
  9. package/typechain/ERC165.d.ts +116 -0
  10. package/typechain/ERC1967Proxy.d.ts +126 -0
  11. package/typechain/ERC1967Upgrade.d.ts +126 -0
  12. package/typechain/ERC20.d.ts +441 -0
  13. package/typechain/IAbstractTokenConverter.d.ts +773 -0
  14. package/typechain/IAccessControl.d.ts +333 -0
  15. package/typechain/IAccessControlManagerV8.d.ts +504 -0
  16. package/typechain/IBeacon.d.ts +101 -0
  17. package/typechain/IComptroller.d.ts +136 -0
  18. package/typechain/IConverterNetwork.d.ts +292 -0
  19. package/typechain/IERC165.d.ts +116 -0
  20. package/typechain/IERC1822Proxiable.d.ts +101 -0
  21. package/typechain/IERC1967.d.ts +126 -0
  22. package/typechain/IERC20.d.ts +324 -0
  23. package/typechain/IERC20Metadata.d.ts +363 -0
  24. package/typechain/IERC20PermitUpgradeable.d.ts +187 -0
  25. package/typechain/IERC20Upgradeable.d.ts +324 -0
  26. package/typechain/IIncomeDestination.d.ts +122 -0
  27. package/typechain/IPoolRegistry.d.ts +155 -0
  28. package/typechain/IProtocolShareReserve.d.ts +127 -0
  29. package/typechain/IRiskFund.d.ts +200 -0
  30. package/typechain/IRiskFundConverter.d.ts +138 -0
  31. package/typechain/IRiskFundGetters.d.ts +103 -0
  32. package/typechain/IShortfall.d.ts +110 -0
  33. package/typechain/ITransparentUpgradeableProxy.d.ts +256 -0
  34. package/typechain/IVToken.d.ts +98 -0
  35. package/typechain/IXVSVault.d.ts +95 -0
  36. package/typechain/Initializable.d.ts +92 -0
  37. package/typechain/MaxLoopsLimitHelper.d.ts +128 -0
  38. package/typechain/MaxLoopsLimitHelpersStorage.d.ts +101 -0
  39. package/typechain/MockACM.d.ts +615 -0
  40. package/typechain/MockArraySorter.d.ts +118 -0
  41. package/typechain/MockConverter.d.ts +1969 -0
  42. package/typechain/MockDeflatingToken.d.ts +486 -0
  43. package/typechain/MockRiskFundConverter.d.ts +2479 -0
  44. package/typechain/MockToken.d.ts +505 -0
  45. package/typechain/OracleInterface.d.ts +98 -0
  46. package/typechain/Ownable.d.ts +181 -0
  47. package/typechain/Ownable2StepUpgradeable.d.ts +261 -0
  48. package/typechain/OwnableUpgradeable.d.ts +193 -0
  49. package/typechain/PausableUpgradeable.d.ts +129 -0
  50. package/typechain/ProtocolShareReserve.d.ts +1214 -0
  51. package/typechain/Proxy.d.ts +78 -0
  52. package/typechain/ProxyAdmin.d.ts +357 -0
  53. package/typechain/ReentrancyGuardUpgradeable.d.ts +92 -0
  54. package/typechain/ReserveHelpersStorage.d.ts +300 -0
  55. package/typechain/ResilientOracle.d.ts +1034 -0
  56. package/typechain/ResilientOracleInterface.d.ts +192 -0
  57. package/typechain/RiskFundConverter.d.ts +2235 -0
  58. package/typechain/RiskFundV1Storage.d.ts +353 -0
  59. package/typechain/RiskFundV2.d.ts +965 -0
  60. package/typechain/RiskFundV2Storage.d.ts +372 -0
  61. package/typechain/SingleTokenConverter.d.ts +1944 -0
  62. package/typechain/TransparentUpgradeableProxy.d.ts +126 -0
  63. package/typechain/TwapInterface.d.ts +124 -0
  64. package/typechain/UpgradeableBeacon.d.ts +240 -0
  65. package/typechain/VBep20Interface.d.ts +379 -0
  66. package/typechain/XVSVaultTreasury.d.ts +515 -0
  67. package/typechain/common.d.ts +35 -0
  68. package/typechain/factories/AbstractTokenConverter__factory.ts +1297 -0
  69. package/typechain/factories/AccessControl__factory.ts +227 -0
  70. package/typechain/factories/AccessControlledV8__factory.ts +196 -0
  71. package/typechain/factories/BeaconProxy__factory.ts +133 -0
  72. package/typechain/factories/BoundValidatorInterface__factory.ts +59 -0
  73. package/typechain/factories/ContextUpgradeable__factory.ts +39 -0
  74. package/typechain/factories/ConverterNetwork__factory.ts +502 -0
  75. package/typechain/factories/ERC165__factory.ts +39 -0
  76. package/typechain/factories/ERC1967Proxy__factory.ts +137 -0
  77. package/typechain/factories/ERC1967Upgrade__factory.ts +71 -0
  78. package/typechain/factories/ERC20__factory.ts +340 -0
  79. package/typechain/factories/IAbstractTokenConverter__factory.ts +466 -0
  80. package/typechain/factories/IAccessControlManagerV8__factory.ts +301 -0
  81. package/typechain/factories/IAccessControl__factory.ts +198 -0
  82. package/typechain/factories/IBeacon__factory.ts +36 -0
  83. package/typechain/factories/IComptroller__factory.ts +68 -0
  84. package/typechain/factories/IConverterNetwork__factory.ts +142 -0
  85. package/typechain/factories/IERC165__factory.ts +42 -0
  86. package/typechain/factories/IERC1822Proxiable__factory.ts +39 -0
  87. package/typechain/factories/IERC1967__factory.ts +68 -0
  88. package/typechain/factories/IERC20Metadata__factory.ts +248 -0
  89. package/typechain/factories/IERC20PermitUpgradeable__factory.ts +105 -0
  90. package/typechain/factories/IERC20Upgradeable__factory.ts +209 -0
  91. package/typechain/factories/IERC20__factory.ts +203 -0
  92. package/typechain/factories/IIncomeDestination__factory.ts +44 -0
  93. package/typechain/factories/IPoolRegistry__factory.ts +66 -0
  94. package/typechain/factories/IProtocolShareReserve__factory.ts +53 -0
  95. package/typechain/factories/IRiskFundConverter__factory.ts +63 -0
  96. package/typechain/factories/IRiskFundGetters__factory.ts +39 -0
  97. package/typechain/factories/IRiskFund__factory.ts +89 -0
  98. package/typechain/factories/IShortfall__factory.ts +36 -0
  99. package/typechain/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  100. package/typechain/factories/IVToken__factory.ts +36 -0
  101. package/typechain/factories/IXVSVault__factory.ts +36 -0
  102. package/typechain/factories/Initializable__factory.ts +36 -0
  103. package/typechain/factories/MaxLoopsLimitHelper__factory.ts +74 -0
  104. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +75 -0
  105. package/typechain/factories/MockACM__factory.ts +411 -0
  106. package/typechain/factories/MockArraySorter__factory.ts +85 -0
  107. package/typechain/factories/MockConverter__factory.ts +1439 -0
  108. package/typechain/factories/MockDeflatingToken__factory.ts +389 -0
  109. package/typechain/factories/MockRiskFundConverter__factory.ts +1828 -0
  110. package/typechain/factories/MockToken__factory.ts +398 -0
  111. package/typechain/factories/OracleInterface__factory.ts +45 -0
  112. package/typechain/factories/Ownable2StepUpgradeable__factory.ts +134 -0
  113. package/typechain/factories/OwnableUpgradeable__factory.ts +91 -0
  114. package/typechain/factories/Ownable__factory.ts +75 -0
  115. package/typechain/factories/PausableUpgradeable__factory.ts +78 -0
  116. package/typechain/factories/ProtocolShareReserve__factory.ts +874 -0
  117. package/typechain/factories/ProxyAdmin__factory.ts +202 -0
  118. package/typechain/factories/Proxy__factory.ts +28 -0
  119. package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  120. package/typechain/factories/ReserveHelpersStorage__factory.ts +188 -0
  121. package/typechain/factories/ResilientOracleInterface__factory.ts +94 -0
  122. package/typechain/factories/ResilientOracle__factory.ts +710 -0
  123. package/typechain/factories/RiskFundConverter__factory.ts +1694 -0
  124. package/typechain/factories/RiskFundV1Storage__factory.ts +223 -0
  125. package/typechain/factories/RiskFundV2Storage__factory.ts +236 -0
  126. package/typechain/factories/RiskFundV2__factory.ts +672 -0
  127. package/typechain/factories/SingleTokenConverter__factory.ts +1441 -0
  128. package/typechain/factories/TransparentUpgradeableProxy__factory.ts +152 -0
  129. package/typechain/factories/TwapInterface__factory.ts +61 -0
  130. package/typechain/factories/UpgradeableBeacon__factory.ts +163 -0
  131. package/typechain/factories/VBep20Interface__factory.ts +261 -0
  132. package/typechain/factories/XVSVaultTreasury__factory.ts +365 -0
  133. package/typechain/index.ts +134 -0
@@ -0,0 +1,142 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IConverterNetwork,
9
+ IConverterNetworkInterface,
10
+ } from "../IConverterNetwork";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "contract IAbstractTokenConverter",
17
+ name: "_tokenConverter",
18
+ type: "address",
19
+ },
20
+ ],
21
+ name: "addTokenConverter",
22
+ outputs: [],
23
+ stateMutability: "nonpayable",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [
28
+ {
29
+ internalType: "address",
30
+ name: "_tokenAddressIn",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "_tokenAddressOut",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "findTokenConverters",
40
+ outputs: [
41
+ {
42
+ internalType: "address[]",
43
+ name: "converters",
44
+ type: "address[]",
45
+ },
46
+ {
47
+ internalType: "uint256[]",
48
+ name: "convertersBalance",
49
+ type: "uint256[]",
50
+ },
51
+ ],
52
+ stateMutability: "nonpayable",
53
+ type: "function",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "address",
59
+ name: "_tokenAddressIn",
60
+ type: "address",
61
+ },
62
+ {
63
+ internalType: "address",
64
+ name: "_tokenAddressOut",
65
+ type: "address",
66
+ },
67
+ ],
68
+ name: "findTokenConvertersForConverters",
69
+ outputs: [
70
+ {
71
+ internalType: "address[]",
72
+ name: "converters",
73
+ type: "address[]",
74
+ },
75
+ {
76
+ internalType: "uint256[]",
77
+ name: "convertersBalance",
78
+ type: "uint256[]",
79
+ },
80
+ ],
81
+ stateMutability: "nonpayable",
82
+ type: "function",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "getAllConverters",
87
+ outputs: [
88
+ {
89
+ internalType: "contract IAbstractTokenConverter[]",
90
+ name: "",
91
+ type: "address[]",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "address",
101
+ name: "_tokenConverter",
102
+ type: "address",
103
+ },
104
+ ],
105
+ name: "isTokenConverter",
106
+ outputs: [
107
+ {
108
+ internalType: "bool",
109
+ name: "",
110
+ type: "bool",
111
+ },
112
+ ],
113
+ stateMutability: "view",
114
+ type: "function",
115
+ },
116
+ {
117
+ inputs: [
118
+ {
119
+ internalType: "contract IAbstractTokenConverter",
120
+ name: "_tokenConverter",
121
+ type: "address",
122
+ },
123
+ ],
124
+ name: "removeTokenConverter",
125
+ outputs: [],
126
+ stateMutability: "nonpayable",
127
+ type: "function",
128
+ },
129
+ ];
130
+
131
+ export class IConverterNetwork__factory {
132
+ static readonly abi = _abi;
133
+ static createInterface(): IConverterNetworkInterface {
134
+ return new utils.Interface(_abi) as IConverterNetworkInterface;
135
+ }
136
+ static connect(
137
+ address: string,
138
+ signerOrProvider: Signer | Provider
139
+ ): IConverterNetwork {
140
+ return new Contract(address, _abi, signerOrProvider) as IConverterNetwork;
141
+ }
142
+ }
@@ -0,0 +1,42 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IERC165, IERC165Interface } from "../IERC165";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "bytes4",
14
+ name: "interfaceId",
15
+ type: "bytes4",
16
+ },
17
+ ],
18
+ name: "supportsInterface",
19
+ outputs: [
20
+ {
21
+ internalType: "bool",
22
+ name: "",
23
+ type: "bool",
24
+ },
25
+ ],
26
+ stateMutability: "view",
27
+ type: "function",
28
+ },
29
+ ];
30
+
31
+ export class IERC165__factory {
32
+ static readonly abi = _abi;
33
+ static createInterface(): IERC165Interface {
34
+ return new utils.Interface(_abi) as IERC165Interface;
35
+ }
36
+ static connect(
37
+ address: string,
38
+ signerOrProvider: Signer | Provider
39
+ ): IERC165 {
40
+ return new Contract(address, _abi, signerOrProvider) as IERC165;
41
+ }
42
+ }
@@ -0,0 +1,39 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IERC1822Proxiable,
9
+ IERC1822ProxiableInterface,
10
+ } from "../IERC1822Proxiable";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "proxiableUUID",
16
+ outputs: [
17
+ {
18
+ internalType: "bytes32",
19
+ name: "",
20
+ type: "bytes32",
21
+ },
22
+ ],
23
+ stateMutability: "view",
24
+ type: "function",
25
+ },
26
+ ];
27
+
28
+ export class IERC1822Proxiable__factory {
29
+ static readonly abi = _abi;
30
+ static createInterface(): IERC1822ProxiableInterface {
31
+ return new utils.Interface(_abi) as IERC1822ProxiableInterface;
32
+ }
33
+ static connect(
34
+ address: string,
35
+ signerOrProvider: Signer | Provider
36
+ ): IERC1822Proxiable {
37
+ return new Contract(address, _abi, signerOrProvider) as IERC1822Proxiable;
38
+ }
39
+ }
@@ -0,0 +1,68 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IERC1967, IERC1967Interface } from "../IERC1967";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: false,
15
+ internalType: "address",
16
+ name: "previousAdmin",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: false,
21
+ internalType: "address",
22
+ name: "newAdmin",
23
+ type: "address",
24
+ },
25
+ ],
26
+ name: "AdminChanged",
27
+ type: "event",
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: true,
34
+ internalType: "address",
35
+ name: "beacon",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "BeaconUpgraded",
40
+ type: "event",
41
+ },
42
+ {
43
+ anonymous: false,
44
+ inputs: [
45
+ {
46
+ indexed: true,
47
+ internalType: "address",
48
+ name: "implementation",
49
+ type: "address",
50
+ },
51
+ ],
52
+ name: "Upgraded",
53
+ type: "event",
54
+ },
55
+ ];
56
+
57
+ export class IERC1967__factory {
58
+ static readonly abi = _abi;
59
+ static createInterface(): IERC1967Interface {
60
+ return new utils.Interface(_abi) as IERC1967Interface;
61
+ }
62
+ static connect(
63
+ address: string,
64
+ signerOrProvider: Signer | Provider
65
+ ): IERC1967 {
66
+ return new Contract(address, _abi, signerOrProvider) as IERC1967;
67
+ }
68
+ }
@@ -0,0 +1,248 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IERC20Metadata,
9
+ IERC20MetadataInterface,
10
+ } from "../IERC20Metadata";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "spender",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "value",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "from",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "to",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "uint256",
56
+ name: "value",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ name: "Transfer",
61
+ type: "event",
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "owner",
68
+ type: "address",
69
+ },
70
+ {
71
+ internalType: "address",
72
+ name: "spender",
73
+ type: "address",
74
+ },
75
+ ],
76
+ name: "allowance",
77
+ outputs: [
78
+ {
79
+ internalType: "uint256",
80
+ name: "",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "spender",
92
+ type: "address",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "amount",
97
+ type: "uint256",
98
+ },
99
+ ],
100
+ name: "approve",
101
+ outputs: [
102
+ {
103
+ internalType: "bool",
104
+ name: "",
105
+ type: "bool",
106
+ },
107
+ ],
108
+ stateMutability: "nonpayable",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "account",
116
+ type: "address",
117
+ },
118
+ ],
119
+ name: "balanceOf",
120
+ outputs: [
121
+ {
122
+ internalType: "uint256",
123
+ name: "",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [],
132
+ name: "decimals",
133
+ outputs: [
134
+ {
135
+ internalType: "uint8",
136
+ name: "",
137
+ type: "uint8",
138
+ },
139
+ ],
140
+ stateMutability: "view",
141
+ type: "function",
142
+ },
143
+ {
144
+ inputs: [],
145
+ name: "name",
146
+ outputs: [
147
+ {
148
+ internalType: "string",
149
+ name: "",
150
+ type: "string",
151
+ },
152
+ ],
153
+ stateMutability: "view",
154
+ type: "function",
155
+ },
156
+ {
157
+ inputs: [],
158
+ name: "symbol",
159
+ outputs: [
160
+ {
161
+ internalType: "string",
162
+ name: "",
163
+ type: "string",
164
+ },
165
+ ],
166
+ stateMutability: "view",
167
+ type: "function",
168
+ },
169
+ {
170
+ inputs: [],
171
+ name: "totalSupply",
172
+ outputs: [
173
+ {
174
+ internalType: "uint256",
175
+ name: "",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ stateMutability: "view",
180
+ type: "function",
181
+ },
182
+ {
183
+ inputs: [
184
+ {
185
+ internalType: "address",
186
+ name: "to",
187
+ type: "address",
188
+ },
189
+ {
190
+ internalType: "uint256",
191
+ name: "amount",
192
+ type: "uint256",
193
+ },
194
+ ],
195
+ name: "transfer",
196
+ outputs: [
197
+ {
198
+ internalType: "bool",
199
+ name: "",
200
+ type: "bool",
201
+ },
202
+ ],
203
+ stateMutability: "nonpayable",
204
+ type: "function",
205
+ },
206
+ {
207
+ inputs: [
208
+ {
209
+ internalType: "address",
210
+ name: "from",
211
+ type: "address",
212
+ },
213
+ {
214
+ internalType: "address",
215
+ name: "to",
216
+ type: "address",
217
+ },
218
+ {
219
+ internalType: "uint256",
220
+ name: "amount",
221
+ type: "uint256",
222
+ },
223
+ ],
224
+ name: "transferFrom",
225
+ outputs: [
226
+ {
227
+ internalType: "bool",
228
+ name: "",
229
+ type: "bool",
230
+ },
231
+ ],
232
+ stateMutability: "nonpayable",
233
+ type: "function",
234
+ },
235
+ ];
236
+
237
+ export class IERC20Metadata__factory {
238
+ static readonly abi = _abi;
239
+ static createInterface(): IERC20MetadataInterface {
240
+ return new utils.Interface(_abi) as IERC20MetadataInterface;
241
+ }
242
+ static connect(
243
+ address: string,
244
+ signerOrProvider: Signer | Provider
245
+ ): IERC20Metadata {
246
+ return new Contract(address, _abi, signerOrProvider) as IERC20Metadata;
247
+ }
248
+ }
@@ -0,0 +1,105 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IERC20PermitUpgradeable,
9
+ IERC20PermitUpgradeableInterface,
10
+ } from "../IERC20PermitUpgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "DOMAIN_SEPARATOR",
16
+ outputs: [
17
+ {
18
+ internalType: "bytes32",
19
+ name: "",
20
+ type: "bytes32",
21
+ },
22
+ ],
23
+ stateMutability: "view",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [
28
+ {
29
+ internalType: "address",
30
+ name: "owner",
31
+ type: "address",
32
+ },
33
+ ],
34
+ name: "nonces",
35
+ outputs: [
36
+ {
37
+ internalType: "uint256",
38
+ name: "",
39
+ type: "uint256",
40
+ },
41
+ ],
42
+ stateMutability: "view",
43
+ type: "function",
44
+ },
45
+ {
46
+ inputs: [
47
+ {
48
+ internalType: "address",
49
+ name: "owner",
50
+ type: "address",
51
+ },
52
+ {
53
+ internalType: "address",
54
+ name: "spender",
55
+ type: "address",
56
+ },
57
+ {
58
+ internalType: "uint256",
59
+ name: "value",
60
+ type: "uint256",
61
+ },
62
+ {
63
+ internalType: "uint256",
64
+ name: "deadline",
65
+ type: "uint256",
66
+ },
67
+ {
68
+ internalType: "uint8",
69
+ name: "v",
70
+ type: "uint8",
71
+ },
72
+ {
73
+ internalType: "bytes32",
74
+ name: "r",
75
+ type: "bytes32",
76
+ },
77
+ {
78
+ internalType: "bytes32",
79
+ name: "s",
80
+ type: "bytes32",
81
+ },
82
+ ],
83
+ name: "permit",
84
+ outputs: [],
85
+ stateMutability: "nonpayable",
86
+ type: "function",
87
+ },
88
+ ];
89
+
90
+ export class IERC20PermitUpgradeable__factory {
91
+ static readonly abi = _abi;
92
+ static createInterface(): IERC20PermitUpgradeableInterface {
93
+ return new utils.Interface(_abi) as IERC20PermitUpgradeableInterface;
94
+ }
95
+ static connect(
96
+ address: string,
97
+ signerOrProvider: Signer | Provider
98
+ ): IERC20PermitUpgradeable {
99
+ return new Contract(
100
+ address,
101
+ _abi,
102
+ signerOrProvider
103
+ ) as IERC20PermitUpgradeable;
104
+ }
105
+ }