@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,841 @@
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
+ ERC4626Upgradeable,
8
+ ERC4626UpgradeableInterface,
9
+ } from "../../../../../../@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable";
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
+ inputs: [
100
+ {
101
+ internalType: "address",
102
+ name: "receiver",
103
+ type: "address",
104
+ },
105
+ {
106
+ internalType: "uint256",
107
+ name: "assets",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "uint256",
112
+ name: "max",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ name: "ERC4626ExceededMaxDeposit",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [
121
+ {
122
+ internalType: "address",
123
+ name: "receiver",
124
+ type: "address",
125
+ },
126
+ {
127
+ internalType: "uint256",
128
+ name: "shares",
129
+ type: "uint256",
130
+ },
131
+ {
132
+ internalType: "uint256",
133
+ name: "max",
134
+ type: "uint256",
135
+ },
136
+ ],
137
+ name: "ERC4626ExceededMaxMint",
138
+ type: "error",
139
+ },
140
+ {
141
+ inputs: [
142
+ {
143
+ internalType: "address",
144
+ name: "owner",
145
+ type: "address",
146
+ },
147
+ {
148
+ internalType: "uint256",
149
+ name: "shares",
150
+ type: "uint256",
151
+ },
152
+ {
153
+ internalType: "uint256",
154
+ name: "max",
155
+ type: "uint256",
156
+ },
157
+ ],
158
+ name: "ERC4626ExceededMaxRedeem",
159
+ type: "error",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "owner",
166
+ type: "address",
167
+ },
168
+ {
169
+ internalType: "uint256",
170
+ name: "assets",
171
+ type: "uint256",
172
+ },
173
+ {
174
+ internalType: "uint256",
175
+ name: "max",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "ERC4626ExceededMaxWithdraw",
180
+ type: "error",
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: "InvalidInitialization",
185
+ type: "error",
186
+ },
187
+ {
188
+ inputs: [],
189
+ name: "NotInitializing",
190
+ type: "error",
191
+ },
192
+ {
193
+ inputs: [
194
+ {
195
+ internalType: "address",
196
+ name: "token",
197
+ type: "address",
198
+ },
199
+ ],
200
+ name: "SafeERC20FailedOperation",
201
+ type: "error",
202
+ },
203
+ {
204
+ anonymous: false,
205
+ inputs: [
206
+ {
207
+ indexed: true,
208
+ internalType: "address",
209
+ name: "owner",
210
+ type: "address",
211
+ },
212
+ {
213
+ indexed: true,
214
+ internalType: "address",
215
+ name: "spender",
216
+ type: "address",
217
+ },
218
+ {
219
+ indexed: false,
220
+ internalType: "uint256",
221
+ name: "value",
222
+ type: "uint256",
223
+ },
224
+ ],
225
+ name: "Approval",
226
+ type: "event",
227
+ },
228
+ {
229
+ anonymous: false,
230
+ inputs: [
231
+ {
232
+ indexed: true,
233
+ internalType: "address",
234
+ name: "sender",
235
+ type: "address",
236
+ },
237
+ {
238
+ indexed: true,
239
+ internalType: "address",
240
+ name: "owner",
241
+ type: "address",
242
+ },
243
+ {
244
+ indexed: false,
245
+ internalType: "uint256",
246
+ name: "assets",
247
+ type: "uint256",
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: "uint256",
252
+ name: "shares",
253
+ type: "uint256",
254
+ },
255
+ ],
256
+ name: "Deposit",
257
+ type: "event",
258
+ },
259
+ {
260
+ anonymous: false,
261
+ inputs: [
262
+ {
263
+ indexed: false,
264
+ internalType: "uint64",
265
+ name: "version",
266
+ type: "uint64",
267
+ },
268
+ ],
269
+ name: "Initialized",
270
+ type: "event",
271
+ },
272
+ {
273
+ anonymous: false,
274
+ inputs: [
275
+ {
276
+ indexed: true,
277
+ internalType: "address",
278
+ name: "from",
279
+ type: "address",
280
+ },
281
+ {
282
+ indexed: true,
283
+ internalType: "address",
284
+ name: "to",
285
+ type: "address",
286
+ },
287
+ {
288
+ indexed: false,
289
+ internalType: "uint256",
290
+ name: "value",
291
+ type: "uint256",
292
+ },
293
+ ],
294
+ name: "Transfer",
295
+ type: "event",
296
+ },
297
+ {
298
+ anonymous: false,
299
+ inputs: [
300
+ {
301
+ indexed: true,
302
+ internalType: "address",
303
+ name: "sender",
304
+ type: "address",
305
+ },
306
+ {
307
+ indexed: true,
308
+ internalType: "address",
309
+ name: "receiver",
310
+ type: "address",
311
+ },
312
+ {
313
+ indexed: true,
314
+ internalType: "address",
315
+ name: "owner",
316
+ type: "address",
317
+ },
318
+ {
319
+ indexed: false,
320
+ internalType: "uint256",
321
+ name: "assets",
322
+ type: "uint256",
323
+ },
324
+ {
325
+ indexed: false,
326
+ internalType: "uint256",
327
+ name: "shares",
328
+ type: "uint256",
329
+ },
330
+ ],
331
+ name: "Withdraw",
332
+ type: "event",
333
+ },
334
+ {
335
+ inputs: [
336
+ {
337
+ internalType: "address",
338
+ name: "owner",
339
+ type: "address",
340
+ },
341
+ {
342
+ internalType: "address",
343
+ name: "spender",
344
+ type: "address",
345
+ },
346
+ ],
347
+ name: "allowance",
348
+ outputs: [
349
+ {
350
+ internalType: "uint256",
351
+ name: "",
352
+ type: "uint256",
353
+ },
354
+ ],
355
+ stateMutability: "view",
356
+ type: "function",
357
+ },
358
+ {
359
+ inputs: [
360
+ {
361
+ internalType: "address",
362
+ name: "spender",
363
+ type: "address",
364
+ },
365
+ {
366
+ internalType: "uint256",
367
+ name: "value",
368
+ type: "uint256",
369
+ },
370
+ ],
371
+ name: "approve",
372
+ outputs: [
373
+ {
374
+ internalType: "bool",
375
+ name: "",
376
+ type: "bool",
377
+ },
378
+ ],
379
+ stateMutability: "nonpayable",
380
+ type: "function",
381
+ },
382
+ {
383
+ inputs: [],
384
+ name: "asset",
385
+ outputs: [
386
+ {
387
+ internalType: "address",
388
+ name: "",
389
+ type: "address",
390
+ },
391
+ ],
392
+ stateMutability: "view",
393
+ type: "function",
394
+ },
395
+ {
396
+ inputs: [
397
+ {
398
+ internalType: "address",
399
+ name: "account",
400
+ type: "address",
401
+ },
402
+ ],
403
+ name: "balanceOf",
404
+ outputs: [
405
+ {
406
+ internalType: "uint256",
407
+ name: "",
408
+ type: "uint256",
409
+ },
410
+ ],
411
+ stateMutability: "view",
412
+ type: "function",
413
+ },
414
+ {
415
+ inputs: [
416
+ {
417
+ internalType: "uint256",
418
+ name: "shares",
419
+ type: "uint256",
420
+ },
421
+ ],
422
+ name: "convertToAssets",
423
+ outputs: [
424
+ {
425
+ internalType: "uint256",
426
+ name: "",
427
+ type: "uint256",
428
+ },
429
+ ],
430
+ stateMutability: "view",
431
+ type: "function",
432
+ },
433
+ {
434
+ inputs: [
435
+ {
436
+ internalType: "uint256",
437
+ name: "assets",
438
+ type: "uint256",
439
+ },
440
+ ],
441
+ name: "convertToShares",
442
+ outputs: [
443
+ {
444
+ internalType: "uint256",
445
+ name: "",
446
+ type: "uint256",
447
+ },
448
+ ],
449
+ stateMutability: "view",
450
+ type: "function",
451
+ },
452
+ {
453
+ inputs: [],
454
+ name: "decimals",
455
+ outputs: [
456
+ {
457
+ internalType: "uint8",
458
+ name: "",
459
+ type: "uint8",
460
+ },
461
+ ],
462
+ stateMutability: "view",
463
+ type: "function",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ internalType: "uint256",
469
+ name: "assets",
470
+ type: "uint256",
471
+ },
472
+ {
473
+ internalType: "address",
474
+ name: "receiver",
475
+ type: "address",
476
+ },
477
+ ],
478
+ name: "deposit",
479
+ outputs: [
480
+ {
481
+ internalType: "uint256",
482
+ name: "",
483
+ type: "uint256",
484
+ },
485
+ ],
486
+ stateMutability: "nonpayable",
487
+ type: "function",
488
+ },
489
+ {
490
+ inputs: [
491
+ {
492
+ internalType: "address",
493
+ name: "",
494
+ type: "address",
495
+ },
496
+ ],
497
+ name: "maxDeposit",
498
+ outputs: [
499
+ {
500
+ internalType: "uint256",
501
+ name: "",
502
+ type: "uint256",
503
+ },
504
+ ],
505
+ stateMutability: "view",
506
+ type: "function",
507
+ },
508
+ {
509
+ inputs: [
510
+ {
511
+ internalType: "address",
512
+ name: "",
513
+ type: "address",
514
+ },
515
+ ],
516
+ name: "maxMint",
517
+ outputs: [
518
+ {
519
+ internalType: "uint256",
520
+ name: "",
521
+ type: "uint256",
522
+ },
523
+ ],
524
+ stateMutability: "view",
525
+ type: "function",
526
+ },
527
+ {
528
+ inputs: [
529
+ {
530
+ internalType: "address",
531
+ name: "owner",
532
+ type: "address",
533
+ },
534
+ ],
535
+ name: "maxRedeem",
536
+ outputs: [
537
+ {
538
+ internalType: "uint256",
539
+ name: "",
540
+ type: "uint256",
541
+ },
542
+ ],
543
+ stateMutability: "view",
544
+ type: "function",
545
+ },
546
+ {
547
+ inputs: [
548
+ {
549
+ internalType: "address",
550
+ name: "owner",
551
+ type: "address",
552
+ },
553
+ ],
554
+ name: "maxWithdraw",
555
+ outputs: [
556
+ {
557
+ internalType: "uint256",
558
+ name: "",
559
+ type: "uint256",
560
+ },
561
+ ],
562
+ stateMutability: "view",
563
+ type: "function",
564
+ },
565
+ {
566
+ inputs: [
567
+ {
568
+ internalType: "uint256",
569
+ name: "shares",
570
+ type: "uint256",
571
+ },
572
+ {
573
+ internalType: "address",
574
+ name: "receiver",
575
+ type: "address",
576
+ },
577
+ ],
578
+ name: "mint",
579
+ outputs: [
580
+ {
581
+ internalType: "uint256",
582
+ name: "",
583
+ type: "uint256",
584
+ },
585
+ ],
586
+ stateMutability: "nonpayable",
587
+ type: "function",
588
+ },
589
+ {
590
+ inputs: [],
591
+ name: "name",
592
+ outputs: [
593
+ {
594
+ internalType: "string",
595
+ name: "",
596
+ type: "string",
597
+ },
598
+ ],
599
+ stateMutability: "view",
600
+ type: "function",
601
+ },
602
+ {
603
+ inputs: [
604
+ {
605
+ internalType: "uint256",
606
+ name: "assets",
607
+ type: "uint256",
608
+ },
609
+ ],
610
+ name: "previewDeposit",
611
+ outputs: [
612
+ {
613
+ internalType: "uint256",
614
+ name: "",
615
+ type: "uint256",
616
+ },
617
+ ],
618
+ stateMutability: "view",
619
+ type: "function",
620
+ },
621
+ {
622
+ inputs: [
623
+ {
624
+ internalType: "uint256",
625
+ name: "shares",
626
+ type: "uint256",
627
+ },
628
+ ],
629
+ name: "previewMint",
630
+ outputs: [
631
+ {
632
+ internalType: "uint256",
633
+ name: "",
634
+ type: "uint256",
635
+ },
636
+ ],
637
+ stateMutability: "view",
638
+ type: "function",
639
+ },
640
+ {
641
+ inputs: [
642
+ {
643
+ internalType: "uint256",
644
+ name: "shares",
645
+ type: "uint256",
646
+ },
647
+ ],
648
+ name: "previewRedeem",
649
+ outputs: [
650
+ {
651
+ internalType: "uint256",
652
+ name: "",
653
+ type: "uint256",
654
+ },
655
+ ],
656
+ stateMutability: "view",
657
+ type: "function",
658
+ },
659
+ {
660
+ inputs: [
661
+ {
662
+ internalType: "uint256",
663
+ name: "assets",
664
+ type: "uint256",
665
+ },
666
+ ],
667
+ name: "previewWithdraw",
668
+ outputs: [
669
+ {
670
+ internalType: "uint256",
671
+ name: "",
672
+ type: "uint256",
673
+ },
674
+ ],
675
+ stateMutability: "view",
676
+ type: "function",
677
+ },
678
+ {
679
+ inputs: [
680
+ {
681
+ internalType: "uint256",
682
+ name: "shares",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "address",
687
+ name: "receiver",
688
+ type: "address",
689
+ },
690
+ {
691
+ internalType: "address",
692
+ name: "owner",
693
+ type: "address",
694
+ },
695
+ ],
696
+ name: "redeem",
697
+ outputs: [
698
+ {
699
+ internalType: "uint256",
700
+ name: "",
701
+ type: "uint256",
702
+ },
703
+ ],
704
+ stateMutability: "nonpayable",
705
+ type: "function",
706
+ },
707
+ {
708
+ inputs: [],
709
+ name: "symbol",
710
+ outputs: [
711
+ {
712
+ internalType: "string",
713
+ name: "",
714
+ type: "string",
715
+ },
716
+ ],
717
+ stateMutability: "view",
718
+ type: "function",
719
+ },
720
+ {
721
+ inputs: [],
722
+ name: "totalAssets",
723
+ outputs: [
724
+ {
725
+ internalType: "uint256",
726
+ name: "",
727
+ type: "uint256",
728
+ },
729
+ ],
730
+ stateMutability: "view",
731
+ type: "function",
732
+ },
733
+ {
734
+ inputs: [],
735
+ name: "totalSupply",
736
+ outputs: [
737
+ {
738
+ internalType: "uint256",
739
+ name: "",
740
+ type: "uint256",
741
+ },
742
+ ],
743
+ stateMutability: "view",
744
+ type: "function",
745
+ },
746
+ {
747
+ inputs: [
748
+ {
749
+ internalType: "address",
750
+ name: "to",
751
+ type: "address",
752
+ },
753
+ {
754
+ internalType: "uint256",
755
+ name: "value",
756
+ type: "uint256",
757
+ },
758
+ ],
759
+ name: "transfer",
760
+ outputs: [
761
+ {
762
+ internalType: "bool",
763
+ name: "",
764
+ type: "bool",
765
+ },
766
+ ],
767
+ stateMutability: "nonpayable",
768
+ type: "function",
769
+ },
770
+ {
771
+ inputs: [
772
+ {
773
+ internalType: "address",
774
+ name: "from",
775
+ type: "address",
776
+ },
777
+ {
778
+ internalType: "address",
779
+ name: "to",
780
+ type: "address",
781
+ },
782
+ {
783
+ internalType: "uint256",
784
+ name: "value",
785
+ type: "uint256",
786
+ },
787
+ ],
788
+ name: "transferFrom",
789
+ outputs: [
790
+ {
791
+ internalType: "bool",
792
+ name: "",
793
+ type: "bool",
794
+ },
795
+ ],
796
+ stateMutability: "nonpayable",
797
+ type: "function",
798
+ },
799
+ {
800
+ inputs: [
801
+ {
802
+ internalType: "uint256",
803
+ name: "assets",
804
+ type: "uint256",
805
+ },
806
+ {
807
+ internalType: "address",
808
+ name: "receiver",
809
+ type: "address",
810
+ },
811
+ {
812
+ internalType: "address",
813
+ name: "owner",
814
+ type: "address",
815
+ },
816
+ ],
817
+ name: "withdraw",
818
+ outputs: [
819
+ {
820
+ internalType: "uint256",
821
+ name: "",
822
+ type: "uint256",
823
+ },
824
+ ],
825
+ stateMutability: "nonpayable",
826
+ type: "function",
827
+ },
828
+ ] as const;
829
+
830
+ export class ERC4626Upgradeable__factory {
831
+ static readonly abi = _abi;
832
+ static createInterface(): ERC4626UpgradeableInterface {
833
+ return new Interface(_abi) as ERC4626UpgradeableInterface;
834
+ }
835
+ static connect(
836
+ address: string,
837
+ runner?: ContractRunner | null
838
+ ): ERC4626Upgradeable {
839
+ return new Contract(address, _abi, runner) as unknown as ERC4626Upgradeable;
840
+ }
841
+ }