@cryptonergy/smart-contracts-sdk 1.0.0-dev.3

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 (126) hide show
  1. package/dist/types/index.d.ts +1 -0
  2. package/dist/types/typechain-types/@openzeppelin/contracts/index.ts +11 -0
  3. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.ts +412 -0
  4. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +168 -0
  5. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC4626.ts +618 -0
  6. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +90 -0
  7. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  8. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts +69 -0
  9. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts +69 -0
  10. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts +69 -0
  11. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
  12. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.ts +10 -0
  13. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +105 -0
  14. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +69 -0
  15. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  16. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/Proxy.ts +69 -0
  17. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +90 -0
  18. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  19. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/index.ts +8 -0
  20. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.ts +286 -0
  21. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +262 -0
  22. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +286 -0
  23. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  24. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +9 -0
  25. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.ts +69 -0
  26. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
  27. package/dist/types/typechain-types/@openzeppelin/contracts/token/index.ts +5 -0
  28. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Address.ts +69 -0
  29. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.ts +69 -0
  30. package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.ts +9 -0
  31. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.ts +94 -0
  32. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
  33. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
  34. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
  35. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +186 -0
  36. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
  37. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +11 -0
  38. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +5 -0
  39. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +105 -0
  40. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +196 -0
  41. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  42. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.ts +318 -0
  43. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.ts +653 -0
  44. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
  45. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +6 -0
  46. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/index.ts +5 -0
  47. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +105 -0
  48. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.ts +105 -0
  49. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
  50. package/dist/types/typechain-types/@openzeppelin/index.ts +7 -0
  51. package/dist/types/typechain-types/common.ts +131 -0
  52. package/dist/types/typechain-types/contracts/ManagementFeeUpgradeableV1.ts +285 -0
  53. package/dist/types/typechain-types/contracts/PerformanceFeeUpgradeableV1.ts +320 -0
  54. package/dist/types/typechain-types/contracts/VaultFactoryV1.ts +456 -0
  55. package/dist/types/typechain-types/contracts/VaultV1.ts +1383 -0
  56. package/dist/types/typechain-types/contracts/index.ts +13 -0
  57. package/dist/types/typechain-types/contracts/mocks/MockERC20.ts +305 -0
  58. package/dist/types/typechain-types/contracts/mocks/index.ts +4 -0
  59. package/dist/types/typechain-types/contracts/providers/AddressProviderV1.ts +342 -0
  60. package/dist/types/typechain-types/contracts/providers/index.ts +4 -0
  61. package/dist/types/typechain-types/contracts/registers/VaultRegistryV1.ts +558 -0
  62. package/dist/types/typechain-types/contracts/registers/index.ts +4 -0
  63. package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.ts +7 -0
  64. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.ts +393 -0
  65. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +67 -0
  66. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC4626__factory.ts +634 -0
  67. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +38 -0
  68. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  69. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts +127 -0
  70. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.ts +111 -0
  71. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.ts +128 -0
  72. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
  73. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +8 -0
  74. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +144 -0
  75. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +105 -0
  76. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  77. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +26 -0
  78. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +35 -0
  79. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  80. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +6 -0
  81. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +330 -0
  82. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +205 -0
  83. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +247 -0
  84. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  85. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +7 -0
  86. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.ts +96 -0
  87. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
  88. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/index.ts +4 -0
  89. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts +75 -0
  90. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +101 -0
  91. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +7 -0
  92. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.ts +41 -0
  93. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
  94. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
  95. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
  96. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +122 -0
  97. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
  98. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +7 -0
  99. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
  100. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +48 -0
  101. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +153 -0
  102. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  103. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.ts +356 -0
  104. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable__factory.ts +841 -0
  105. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
  106. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +5 -0
  107. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +4 -0
  108. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +48 -0
  109. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable__factory.ts +57 -0
  110. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
  111. package/dist/types/typechain-types/factories/@openzeppelin/index.ts +5 -0
  112. package/dist/types/typechain-types/factories/contracts/ManagementFeeUpgradeableV1__factory.ts +175 -0
  113. package/dist/types/typechain-types/factories/contracts/PerformanceFeeUpgradeableV1__factory.ts +194 -0
  114. package/dist/types/typechain-types/factories/contracts/VaultFactoryV1__factory.ts +449 -0
  115. package/dist/types/typechain-types/factories/contracts/VaultV1__factory.ts +1523 -0
  116. package/dist/types/typechain-types/factories/contracts/index.ts +10 -0
  117. package/dist/types/typechain-types/factories/contracts/mocks/MockERC20__factory.ts +412 -0
  118. package/dist/types/typechain-types/factories/contracts/mocks/index.ts +4 -0
  119. package/dist/types/typechain-types/factories/contracts/providers/AddressProviderV1__factory.ts +359 -0
  120. package/dist/types/typechain-types/factories/contracts/providers/index.ts +4 -0
  121. package/dist/types/typechain-types/factories/contracts/registers/VaultRegistryV1__factory.ts +554 -0
  122. package/dist/types/typechain-types/factories/contracts/registers/index.ts +4 -0
  123. package/dist/types/typechain-types/factories/index.ts +5 -0
  124. package/dist/types/typechain-types/hardhat.d.ts +639 -0
  125. package/dist/types/typechain-types/index.ts +74 -0
  126. package/package.json +23 -0
@@ -0,0 +1,4 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export { IBeacon__factory } from "./IBeacon__factory";
@@ -0,0 +1,6 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export * as erc1967 from "./ERC1967";
5
+ export * as beacon from "./beacon";
6
+ export { Proxy__factory } from "./Proxy__factory";
@@ -0,0 +1,330 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Interface, type ContractRunner } from "ethers";
6
+ import type {
7
+ ERC20,
8
+ ERC20Interface,
9
+ } from "../../../../../@openzeppelin/contracts/token/ERC20/ERC20";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "spender",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "uint256",
21
+ name: "allowance",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ internalType: "uint256",
26
+ name: "needed",
27
+ type: "uint256",
28
+ },
29
+ ],
30
+ name: "ERC20InsufficientAllowance",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "address",
37
+ name: "sender",
38
+ type: "address",
39
+ },
40
+ {
41
+ internalType: "uint256",
42
+ name: "balance",
43
+ type: "uint256",
44
+ },
45
+ {
46
+ internalType: "uint256",
47
+ name: "needed",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ name: "ERC20InsufficientBalance",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [
56
+ {
57
+ internalType: "address",
58
+ name: "approver",
59
+ type: "address",
60
+ },
61
+ ],
62
+ name: "ERC20InvalidApprover",
63
+ type: "error",
64
+ },
65
+ {
66
+ inputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "receiver",
70
+ type: "address",
71
+ },
72
+ ],
73
+ name: "ERC20InvalidReceiver",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "address",
80
+ name: "sender",
81
+ type: "address",
82
+ },
83
+ ],
84
+ name: "ERC20InvalidSender",
85
+ type: "error",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "spender",
92
+ type: "address",
93
+ },
94
+ ],
95
+ name: "ERC20InvalidSpender",
96
+ type: "error",
97
+ },
98
+ {
99
+ anonymous: false,
100
+ inputs: [
101
+ {
102
+ indexed: true,
103
+ internalType: "address",
104
+ name: "owner",
105
+ type: "address",
106
+ },
107
+ {
108
+ indexed: true,
109
+ internalType: "address",
110
+ name: "spender",
111
+ type: "address",
112
+ },
113
+ {
114
+ indexed: false,
115
+ internalType: "uint256",
116
+ name: "value",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "Approval",
121
+ type: "event",
122
+ },
123
+ {
124
+ anonymous: false,
125
+ inputs: [
126
+ {
127
+ indexed: true,
128
+ internalType: "address",
129
+ name: "from",
130
+ type: "address",
131
+ },
132
+ {
133
+ indexed: true,
134
+ internalType: "address",
135
+ name: "to",
136
+ type: "address",
137
+ },
138
+ {
139
+ indexed: false,
140
+ internalType: "uint256",
141
+ name: "value",
142
+ type: "uint256",
143
+ },
144
+ ],
145
+ name: "Transfer",
146
+ type: "event",
147
+ },
148
+ {
149
+ inputs: [
150
+ {
151
+ internalType: "address",
152
+ name: "owner",
153
+ type: "address",
154
+ },
155
+ {
156
+ internalType: "address",
157
+ name: "spender",
158
+ type: "address",
159
+ },
160
+ ],
161
+ name: "allowance",
162
+ outputs: [
163
+ {
164
+ internalType: "uint256",
165
+ name: "",
166
+ type: "uint256",
167
+ },
168
+ ],
169
+ stateMutability: "view",
170
+ type: "function",
171
+ },
172
+ {
173
+ inputs: [
174
+ {
175
+ internalType: "address",
176
+ name: "spender",
177
+ type: "address",
178
+ },
179
+ {
180
+ internalType: "uint256",
181
+ name: "value",
182
+ type: "uint256",
183
+ },
184
+ ],
185
+ name: "approve",
186
+ outputs: [
187
+ {
188
+ internalType: "bool",
189
+ name: "",
190
+ type: "bool",
191
+ },
192
+ ],
193
+ stateMutability: "nonpayable",
194
+ type: "function",
195
+ },
196
+ {
197
+ inputs: [
198
+ {
199
+ internalType: "address",
200
+ name: "account",
201
+ type: "address",
202
+ },
203
+ ],
204
+ name: "balanceOf",
205
+ outputs: [
206
+ {
207
+ internalType: "uint256",
208
+ name: "",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ stateMutability: "view",
213
+ type: "function",
214
+ },
215
+ {
216
+ inputs: [],
217
+ name: "decimals",
218
+ outputs: [
219
+ {
220
+ internalType: "uint8",
221
+ name: "",
222
+ type: "uint8",
223
+ },
224
+ ],
225
+ stateMutability: "view",
226
+ type: "function",
227
+ },
228
+ {
229
+ inputs: [],
230
+ name: "name",
231
+ outputs: [
232
+ {
233
+ internalType: "string",
234
+ name: "",
235
+ type: "string",
236
+ },
237
+ ],
238
+ stateMutability: "view",
239
+ type: "function",
240
+ },
241
+ {
242
+ inputs: [],
243
+ name: "symbol",
244
+ outputs: [
245
+ {
246
+ internalType: "string",
247
+ name: "",
248
+ type: "string",
249
+ },
250
+ ],
251
+ stateMutability: "view",
252
+ type: "function",
253
+ },
254
+ {
255
+ inputs: [],
256
+ name: "totalSupply",
257
+ outputs: [
258
+ {
259
+ internalType: "uint256",
260
+ name: "",
261
+ type: "uint256",
262
+ },
263
+ ],
264
+ stateMutability: "view",
265
+ type: "function",
266
+ },
267
+ {
268
+ inputs: [
269
+ {
270
+ internalType: "address",
271
+ name: "to",
272
+ type: "address",
273
+ },
274
+ {
275
+ internalType: "uint256",
276
+ name: "value",
277
+ type: "uint256",
278
+ },
279
+ ],
280
+ name: "transfer",
281
+ outputs: [
282
+ {
283
+ internalType: "bool",
284
+ name: "",
285
+ type: "bool",
286
+ },
287
+ ],
288
+ stateMutability: "nonpayable",
289
+ type: "function",
290
+ },
291
+ {
292
+ inputs: [
293
+ {
294
+ internalType: "address",
295
+ name: "from",
296
+ type: "address",
297
+ },
298
+ {
299
+ internalType: "address",
300
+ name: "to",
301
+ type: "address",
302
+ },
303
+ {
304
+ internalType: "uint256",
305
+ name: "value",
306
+ type: "uint256",
307
+ },
308
+ ],
309
+ name: "transferFrom",
310
+ outputs: [
311
+ {
312
+ internalType: "bool",
313
+ name: "",
314
+ type: "bool",
315
+ },
316
+ ],
317
+ stateMutability: "nonpayable",
318
+ type: "function",
319
+ },
320
+ ] as const;
321
+
322
+ export class ERC20__factory {
323
+ static readonly abi = _abi;
324
+ static createInterface(): ERC20Interface {
325
+ return new Interface(_abi) as ERC20Interface;
326
+ }
327
+ static connect(address: string, runner?: ContractRunner | null): ERC20 {
328
+ return new Contract(address, _abi, runner) as unknown as ERC20;
329
+ }
330
+ }
@@ -0,0 +1,205 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Interface, type ContractRunner } from "ethers";
6
+ import type {
7
+ IERC20,
8
+ IERC20Interface,
9
+ } from "../../../../../@openzeppelin/contracts/token/ERC20/IERC20";
10
+
11
+ const _abi = [
12
+ {
13
+ anonymous: false,
14
+ inputs: [
15
+ {
16
+ indexed: true,
17
+ internalType: "address",
18
+ name: "owner",
19
+ type: "address",
20
+ },
21
+ {
22
+ indexed: true,
23
+ internalType: "address",
24
+ name: "spender",
25
+ type: "address",
26
+ },
27
+ {
28
+ indexed: false,
29
+ internalType: "uint256",
30
+ name: "value",
31
+ type: "uint256",
32
+ },
33
+ ],
34
+ name: "Approval",
35
+ type: "event",
36
+ },
37
+ {
38
+ anonymous: false,
39
+ inputs: [
40
+ {
41
+ indexed: true,
42
+ internalType: "address",
43
+ name: "from",
44
+ type: "address",
45
+ },
46
+ {
47
+ indexed: true,
48
+ internalType: "address",
49
+ name: "to",
50
+ type: "address",
51
+ },
52
+ {
53
+ indexed: false,
54
+ internalType: "uint256",
55
+ name: "value",
56
+ type: "uint256",
57
+ },
58
+ ],
59
+ name: "Transfer",
60
+ type: "event",
61
+ },
62
+ {
63
+ inputs: [
64
+ {
65
+ internalType: "address",
66
+ name: "owner",
67
+ type: "address",
68
+ },
69
+ {
70
+ internalType: "address",
71
+ name: "spender",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "allowance",
76
+ outputs: [
77
+ {
78
+ internalType: "uint256",
79
+ name: "",
80
+ type: "uint256",
81
+ },
82
+ ],
83
+ stateMutability: "view",
84
+ type: "function",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "spender",
91
+ type: "address",
92
+ },
93
+ {
94
+ internalType: "uint256",
95
+ name: "value",
96
+ type: "uint256",
97
+ },
98
+ ],
99
+ name: "approve",
100
+ outputs: [
101
+ {
102
+ internalType: "bool",
103
+ name: "",
104
+ type: "bool",
105
+ },
106
+ ],
107
+ stateMutability: "nonpayable",
108
+ type: "function",
109
+ },
110
+ {
111
+ inputs: [
112
+ {
113
+ internalType: "address",
114
+ name: "account",
115
+ type: "address",
116
+ },
117
+ ],
118
+ name: "balanceOf",
119
+ outputs: [
120
+ {
121
+ internalType: "uint256",
122
+ name: "",
123
+ type: "uint256",
124
+ },
125
+ ],
126
+ stateMutability: "view",
127
+ type: "function",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "totalSupply",
132
+ outputs: [
133
+ {
134
+ internalType: "uint256",
135
+ name: "",
136
+ type: "uint256",
137
+ },
138
+ ],
139
+ stateMutability: "view",
140
+ type: "function",
141
+ },
142
+ {
143
+ inputs: [
144
+ {
145
+ internalType: "address",
146
+ name: "to",
147
+ type: "address",
148
+ },
149
+ {
150
+ internalType: "uint256",
151
+ name: "value",
152
+ type: "uint256",
153
+ },
154
+ ],
155
+ name: "transfer",
156
+ outputs: [
157
+ {
158
+ internalType: "bool",
159
+ name: "",
160
+ type: "bool",
161
+ },
162
+ ],
163
+ stateMutability: "nonpayable",
164
+ type: "function",
165
+ },
166
+ {
167
+ inputs: [
168
+ {
169
+ internalType: "address",
170
+ name: "from",
171
+ type: "address",
172
+ },
173
+ {
174
+ internalType: "address",
175
+ name: "to",
176
+ type: "address",
177
+ },
178
+ {
179
+ internalType: "uint256",
180
+ name: "value",
181
+ type: "uint256",
182
+ },
183
+ ],
184
+ name: "transferFrom",
185
+ outputs: [
186
+ {
187
+ internalType: "bool",
188
+ name: "",
189
+ type: "bool",
190
+ },
191
+ ],
192
+ stateMutability: "nonpayable",
193
+ type: "function",
194
+ },
195
+ ] as const;
196
+
197
+ export class IERC20__factory {
198
+ static readonly abi = _abi;
199
+ static createInterface(): IERC20Interface {
200
+ return new Interface(_abi) as IERC20Interface;
201
+ }
202
+ static connect(address: string, runner?: ContractRunner | null): IERC20 {
203
+ return new Contract(address, _abi, runner) as unknown as IERC20;
204
+ }
205
+ }