@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,634 @@
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
+ IERC4626,
8
+ IERC4626Interface,
9
+ } from "../../../../@openzeppelin/contracts/interfaces/IERC4626";
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: "sender",
44
+ type: "address",
45
+ },
46
+ {
47
+ indexed: true,
48
+ internalType: "address",
49
+ name: "owner",
50
+ type: "address",
51
+ },
52
+ {
53
+ indexed: false,
54
+ internalType: "uint256",
55
+ name: "assets",
56
+ type: "uint256",
57
+ },
58
+ {
59
+ indexed: false,
60
+ internalType: "uint256",
61
+ name: "shares",
62
+ type: "uint256",
63
+ },
64
+ ],
65
+ name: "Deposit",
66
+ type: "event",
67
+ },
68
+ {
69
+ anonymous: false,
70
+ inputs: [
71
+ {
72
+ indexed: true,
73
+ internalType: "address",
74
+ name: "from",
75
+ type: "address",
76
+ },
77
+ {
78
+ indexed: true,
79
+ internalType: "address",
80
+ name: "to",
81
+ type: "address",
82
+ },
83
+ {
84
+ indexed: false,
85
+ internalType: "uint256",
86
+ name: "value",
87
+ type: "uint256",
88
+ },
89
+ ],
90
+ name: "Transfer",
91
+ type: "event",
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "sender",
100
+ type: "address",
101
+ },
102
+ {
103
+ indexed: true,
104
+ internalType: "address",
105
+ name: "receiver",
106
+ type: "address",
107
+ },
108
+ {
109
+ indexed: true,
110
+ internalType: "address",
111
+ name: "owner",
112
+ type: "address",
113
+ },
114
+ {
115
+ indexed: false,
116
+ internalType: "uint256",
117
+ name: "assets",
118
+ type: "uint256",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint256",
123
+ name: "shares",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ name: "Withdraw",
128
+ type: "event",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "address",
134
+ name: "owner",
135
+ type: "address",
136
+ },
137
+ {
138
+ internalType: "address",
139
+ name: "spender",
140
+ type: "address",
141
+ },
142
+ ],
143
+ name: "allowance",
144
+ outputs: [
145
+ {
146
+ internalType: "uint256",
147
+ name: "",
148
+ type: "uint256",
149
+ },
150
+ ],
151
+ stateMutability: "view",
152
+ type: "function",
153
+ },
154
+ {
155
+ inputs: [
156
+ {
157
+ internalType: "address",
158
+ name: "spender",
159
+ type: "address",
160
+ },
161
+ {
162
+ internalType: "uint256",
163
+ name: "value",
164
+ type: "uint256",
165
+ },
166
+ ],
167
+ name: "approve",
168
+ outputs: [
169
+ {
170
+ internalType: "bool",
171
+ name: "",
172
+ type: "bool",
173
+ },
174
+ ],
175
+ stateMutability: "nonpayable",
176
+ type: "function",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "asset",
181
+ outputs: [
182
+ {
183
+ internalType: "address",
184
+ name: "assetTokenAddress",
185
+ type: "address",
186
+ },
187
+ ],
188
+ stateMutability: "view",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [
193
+ {
194
+ internalType: "address",
195
+ name: "account",
196
+ type: "address",
197
+ },
198
+ ],
199
+ name: "balanceOf",
200
+ outputs: [
201
+ {
202
+ internalType: "uint256",
203
+ name: "",
204
+ type: "uint256",
205
+ },
206
+ ],
207
+ stateMutability: "view",
208
+ type: "function",
209
+ },
210
+ {
211
+ inputs: [
212
+ {
213
+ internalType: "uint256",
214
+ name: "shares",
215
+ type: "uint256",
216
+ },
217
+ ],
218
+ name: "convertToAssets",
219
+ outputs: [
220
+ {
221
+ internalType: "uint256",
222
+ name: "assets",
223
+ type: "uint256",
224
+ },
225
+ ],
226
+ stateMutability: "view",
227
+ type: "function",
228
+ },
229
+ {
230
+ inputs: [
231
+ {
232
+ internalType: "uint256",
233
+ name: "assets",
234
+ type: "uint256",
235
+ },
236
+ ],
237
+ name: "convertToShares",
238
+ outputs: [
239
+ {
240
+ internalType: "uint256",
241
+ name: "shares",
242
+ type: "uint256",
243
+ },
244
+ ],
245
+ stateMutability: "view",
246
+ type: "function",
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: "decimals",
251
+ outputs: [
252
+ {
253
+ internalType: "uint8",
254
+ name: "",
255
+ type: "uint8",
256
+ },
257
+ ],
258
+ stateMutability: "view",
259
+ type: "function",
260
+ },
261
+ {
262
+ inputs: [
263
+ {
264
+ internalType: "uint256",
265
+ name: "assets",
266
+ type: "uint256",
267
+ },
268
+ {
269
+ internalType: "address",
270
+ name: "receiver",
271
+ type: "address",
272
+ },
273
+ ],
274
+ name: "deposit",
275
+ outputs: [
276
+ {
277
+ internalType: "uint256",
278
+ name: "shares",
279
+ type: "uint256",
280
+ },
281
+ ],
282
+ stateMutability: "nonpayable",
283
+ type: "function",
284
+ },
285
+ {
286
+ inputs: [
287
+ {
288
+ internalType: "address",
289
+ name: "receiver",
290
+ type: "address",
291
+ },
292
+ ],
293
+ name: "maxDeposit",
294
+ outputs: [
295
+ {
296
+ internalType: "uint256",
297
+ name: "maxAssets",
298
+ type: "uint256",
299
+ },
300
+ ],
301
+ stateMutability: "view",
302
+ type: "function",
303
+ },
304
+ {
305
+ inputs: [
306
+ {
307
+ internalType: "address",
308
+ name: "receiver",
309
+ type: "address",
310
+ },
311
+ ],
312
+ name: "maxMint",
313
+ outputs: [
314
+ {
315
+ internalType: "uint256",
316
+ name: "maxShares",
317
+ type: "uint256",
318
+ },
319
+ ],
320
+ stateMutability: "view",
321
+ type: "function",
322
+ },
323
+ {
324
+ inputs: [
325
+ {
326
+ internalType: "address",
327
+ name: "owner",
328
+ type: "address",
329
+ },
330
+ ],
331
+ name: "maxRedeem",
332
+ outputs: [
333
+ {
334
+ internalType: "uint256",
335
+ name: "maxShares",
336
+ type: "uint256",
337
+ },
338
+ ],
339
+ stateMutability: "view",
340
+ type: "function",
341
+ },
342
+ {
343
+ inputs: [
344
+ {
345
+ internalType: "address",
346
+ name: "owner",
347
+ type: "address",
348
+ },
349
+ ],
350
+ name: "maxWithdraw",
351
+ outputs: [
352
+ {
353
+ internalType: "uint256",
354
+ name: "maxAssets",
355
+ type: "uint256",
356
+ },
357
+ ],
358
+ stateMutability: "view",
359
+ type: "function",
360
+ },
361
+ {
362
+ inputs: [
363
+ {
364
+ internalType: "uint256",
365
+ name: "shares",
366
+ type: "uint256",
367
+ },
368
+ {
369
+ internalType: "address",
370
+ name: "receiver",
371
+ type: "address",
372
+ },
373
+ ],
374
+ name: "mint",
375
+ outputs: [
376
+ {
377
+ internalType: "uint256",
378
+ name: "assets",
379
+ type: "uint256",
380
+ },
381
+ ],
382
+ stateMutability: "nonpayable",
383
+ type: "function",
384
+ },
385
+ {
386
+ inputs: [],
387
+ name: "name",
388
+ outputs: [
389
+ {
390
+ internalType: "string",
391
+ name: "",
392
+ type: "string",
393
+ },
394
+ ],
395
+ stateMutability: "view",
396
+ type: "function",
397
+ },
398
+ {
399
+ inputs: [
400
+ {
401
+ internalType: "uint256",
402
+ name: "assets",
403
+ type: "uint256",
404
+ },
405
+ ],
406
+ name: "previewDeposit",
407
+ outputs: [
408
+ {
409
+ internalType: "uint256",
410
+ name: "shares",
411
+ type: "uint256",
412
+ },
413
+ ],
414
+ stateMutability: "view",
415
+ type: "function",
416
+ },
417
+ {
418
+ inputs: [
419
+ {
420
+ internalType: "uint256",
421
+ name: "shares",
422
+ type: "uint256",
423
+ },
424
+ ],
425
+ name: "previewMint",
426
+ outputs: [
427
+ {
428
+ internalType: "uint256",
429
+ name: "assets",
430
+ type: "uint256",
431
+ },
432
+ ],
433
+ stateMutability: "view",
434
+ type: "function",
435
+ },
436
+ {
437
+ inputs: [
438
+ {
439
+ internalType: "uint256",
440
+ name: "shares",
441
+ type: "uint256",
442
+ },
443
+ ],
444
+ name: "previewRedeem",
445
+ outputs: [
446
+ {
447
+ internalType: "uint256",
448
+ name: "assets",
449
+ type: "uint256",
450
+ },
451
+ ],
452
+ stateMutability: "view",
453
+ type: "function",
454
+ },
455
+ {
456
+ inputs: [
457
+ {
458
+ internalType: "uint256",
459
+ name: "assets",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ name: "previewWithdraw",
464
+ outputs: [
465
+ {
466
+ internalType: "uint256",
467
+ name: "shares",
468
+ type: "uint256",
469
+ },
470
+ ],
471
+ stateMutability: "view",
472
+ type: "function",
473
+ },
474
+ {
475
+ inputs: [
476
+ {
477
+ internalType: "uint256",
478
+ name: "shares",
479
+ type: "uint256",
480
+ },
481
+ {
482
+ internalType: "address",
483
+ name: "receiver",
484
+ type: "address",
485
+ },
486
+ {
487
+ internalType: "address",
488
+ name: "owner",
489
+ type: "address",
490
+ },
491
+ ],
492
+ name: "redeem",
493
+ outputs: [
494
+ {
495
+ internalType: "uint256",
496
+ name: "assets",
497
+ type: "uint256",
498
+ },
499
+ ],
500
+ stateMutability: "nonpayable",
501
+ type: "function",
502
+ },
503
+ {
504
+ inputs: [],
505
+ name: "symbol",
506
+ outputs: [
507
+ {
508
+ internalType: "string",
509
+ name: "",
510
+ type: "string",
511
+ },
512
+ ],
513
+ stateMutability: "view",
514
+ type: "function",
515
+ },
516
+ {
517
+ inputs: [],
518
+ name: "totalAssets",
519
+ outputs: [
520
+ {
521
+ internalType: "uint256",
522
+ name: "totalManagedAssets",
523
+ type: "uint256",
524
+ },
525
+ ],
526
+ stateMutability: "view",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [],
531
+ name: "totalSupply",
532
+ outputs: [
533
+ {
534
+ internalType: "uint256",
535
+ name: "",
536
+ type: "uint256",
537
+ },
538
+ ],
539
+ stateMutability: "view",
540
+ type: "function",
541
+ },
542
+ {
543
+ inputs: [
544
+ {
545
+ internalType: "address",
546
+ name: "to",
547
+ type: "address",
548
+ },
549
+ {
550
+ internalType: "uint256",
551
+ name: "value",
552
+ type: "uint256",
553
+ },
554
+ ],
555
+ name: "transfer",
556
+ outputs: [
557
+ {
558
+ internalType: "bool",
559
+ name: "",
560
+ type: "bool",
561
+ },
562
+ ],
563
+ stateMutability: "nonpayable",
564
+ type: "function",
565
+ },
566
+ {
567
+ inputs: [
568
+ {
569
+ internalType: "address",
570
+ name: "from",
571
+ type: "address",
572
+ },
573
+ {
574
+ internalType: "address",
575
+ name: "to",
576
+ type: "address",
577
+ },
578
+ {
579
+ internalType: "uint256",
580
+ name: "value",
581
+ type: "uint256",
582
+ },
583
+ ],
584
+ name: "transferFrom",
585
+ outputs: [
586
+ {
587
+ internalType: "bool",
588
+ name: "",
589
+ type: "bool",
590
+ },
591
+ ],
592
+ stateMutability: "nonpayable",
593
+ type: "function",
594
+ },
595
+ {
596
+ inputs: [
597
+ {
598
+ internalType: "uint256",
599
+ name: "assets",
600
+ type: "uint256",
601
+ },
602
+ {
603
+ internalType: "address",
604
+ name: "receiver",
605
+ type: "address",
606
+ },
607
+ {
608
+ internalType: "address",
609
+ name: "owner",
610
+ type: "address",
611
+ },
612
+ ],
613
+ name: "withdraw",
614
+ outputs: [
615
+ {
616
+ internalType: "uint256",
617
+ name: "shares",
618
+ type: "uint256",
619
+ },
620
+ ],
621
+ stateMutability: "nonpayable",
622
+ type: "function",
623
+ },
624
+ ] as const;
625
+
626
+ export class IERC4626__factory {
627
+ static readonly abi = _abi;
628
+ static createInterface(): IERC4626Interface {
629
+ return new Interface(_abi) as IERC4626Interface;
630
+ }
631
+ static connect(address: string, runner?: ContractRunner | null): IERC4626 {
632
+ return new Contract(address, _abi, runner) as unknown as IERC4626;
633
+ }
634
+ }
@@ -0,0 +1,38 @@
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
+ IERC1822Proxiable,
8
+ IERC1822ProxiableInterface,
9
+ } from "../../../../../@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ name: "proxiableUUID",
15
+ outputs: [
16
+ {
17
+ internalType: "bytes32",
18
+ name: "",
19
+ type: "bytes32",
20
+ },
21
+ ],
22
+ stateMutability: "view",
23
+ type: "function",
24
+ },
25
+ ] as const;
26
+
27
+ export class IERC1822Proxiable__factory {
28
+ static readonly abi = _abi;
29
+ static createInterface(): IERC1822ProxiableInterface {
30
+ return new Interface(_abi) as IERC1822ProxiableInterface;
31
+ }
32
+ static connect(
33
+ address: string,
34
+ runner?: ContractRunner | null
35
+ ): IERC1822Proxiable {
36
+ return new Contract(address, _abi, runner) as unknown as IERC1822Proxiable;
37
+ }
38
+ }
@@ -0,0 +1,4 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export { IERC1822Proxiable__factory } from "./IERC1822Proxiable__factory";