@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,1383 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumberish,
7
+ BytesLike,
8
+ FunctionFragment,
9
+ Result,
10
+ Interface,
11
+ EventFragment,
12
+ AddressLike,
13
+ ContractRunner,
14
+ ContractMethod,
15
+ Listener,
16
+ } from "ethers";
17
+ import type {
18
+ TypedContractEvent,
19
+ TypedDeferredTopicFilter,
20
+ TypedEventLog,
21
+ TypedLogDescription,
22
+ TypedListener,
23
+ TypedContractMethod,
24
+ } from "../common";
25
+
26
+ export interface VaultV1Interface extends Interface {
27
+ getFunction(
28
+ nameOrSignature:
29
+ | "MAX_BPS"
30
+ | "PERFORMANCE_MAX_BPS"
31
+ | "UPGRADE_INTERFACE_VERSION"
32
+ | "accrueManagementFee"
33
+ | "allowance"
34
+ | "approve"
35
+ | "asset"
36
+ | "balanceOf"
37
+ | "convertToAssets"
38
+ | "convertToShares"
39
+ | "crystallizePerformanceFee"
40
+ | "currentAssetsPerShare"
41
+ | "decimals"
42
+ | "deposit"
43
+ | "feeBps"
44
+ | "feeRecipient"
45
+ | "getPerformanceFeeBps"
46
+ | "highWaterMark"
47
+ | "initialize"
48
+ | "lastFeeAccrual"
49
+ | "managementFeeBps"
50
+ | "maxDeposit"
51
+ | "maxMint"
52
+ | "maxRedeem"
53
+ | "maxWithdraw"
54
+ | "mint"
55
+ | "name"
56
+ | "owner"
57
+ | "pendingManagementFeeShares"
58
+ | "pendingPerformanceFeeShares"
59
+ | "performanceFeeBps"
60
+ | "performanceFeeRecipient"
61
+ | "previewDeposit"
62
+ | "previewMint"
63
+ | "previewRedeem"
64
+ | "previewWithdraw"
65
+ | "proxiableUUID"
66
+ | "redeem"
67
+ | "renounceOwnership"
68
+ | "setManagementFeeBps"
69
+ | "setManagementFeeRecipient"
70
+ | "setPerformanceFeeBps"
71
+ | "setPerformanceFeeRecipient"
72
+ | "symbol"
73
+ | "totalAssets"
74
+ | "totalSupply"
75
+ | "transfer"
76
+ | "transferFrom"
77
+ | "transferOwnership"
78
+ | "upgradeToAndCall"
79
+ | "withdraw"
80
+ ): FunctionFragment;
81
+
82
+ getEvent(
83
+ nameOrSignatureOrTopic:
84
+ | "Approval"
85
+ | "Deposit"
86
+ | "FeeRecipientUpdated"
87
+ | "Initialized"
88
+ | "ManagementFeeAccrued"
89
+ | "ManagementFeeUpdated"
90
+ | "OwnershipTransferred"
91
+ | "PerformanceFeeAccrued"
92
+ | "PerformanceFeeBpsUpdated"
93
+ | "PerformanceFeeRecipientUpdated"
94
+ | "Transfer"
95
+ | "Upgraded"
96
+ | "VaultDeposited"
97
+ | "VaultWithdrawn"
98
+ | "Withdraw"
99
+ ): EventFragment;
100
+
101
+ encodeFunctionData(functionFragment: "MAX_BPS", values?: undefined): string;
102
+ encodeFunctionData(
103
+ functionFragment: "PERFORMANCE_MAX_BPS",
104
+ values?: undefined
105
+ ): string;
106
+ encodeFunctionData(
107
+ functionFragment: "UPGRADE_INTERFACE_VERSION",
108
+ values?: undefined
109
+ ): string;
110
+ encodeFunctionData(
111
+ functionFragment: "accrueManagementFee",
112
+ values?: undefined
113
+ ): string;
114
+ encodeFunctionData(
115
+ functionFragment: "allowance",
116
+ values: [AddressLike, AddressLike]
117
+ ): string;
118
+ encodeFunctionData(
119
+ functionFragment: "approve",
120
+ values: [AddressLike, BigNumberish]
121
+ ): string;
122
+ encodeFunctionData(functionFragment: "asset", values?: undefined): string;
123
+ encodeFunctionData(
124
+ functionFragment: "balanceOf",
125
+ values: [AddressLike]
126
+ ): string;
127
+ encodeFunctionData(
128
+ functionFragment: "convertToAssets",
129
+ values: [BigNumberish]
130
+ ): string;
131
+ encodeFunctionData(
132
+ functionFragment: "convertToShares",
133
+ values: [BigNumberish]
134
+ ): string;
135
+ encodeFunctionData(
136
+ functionFragment: "crystallizePerformanceFee",
137
+ values?: undefined
138
+ ): string;
139
+ encodeFunctionData(
140
+ functionFragment: "currentAssetsPerShare",
141
+ values?: undefined
142
+ ): string;
143
+ encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
144
+ encodeFunctionData(
145
+ functionFragment: "deposit",
146
+ values: [BigNumberish, AddressLike]
147
+ ): string;
148
+ encodeFunctionData(functionFragment: "feeBps", values?: undefined): string;
149
+ encodeFunctionData(
150
+ functionFragment: "feeRecipient",
151
+ values?: undefined
152
+ ): string;
153
+ encodeFunctionData(
154
+ functionFragment: "getPerformanceFeeBps",
155
+ values?: undefined
156
+ ): string;
157
+ encodeFunctionData(
158
+ functionFragment: "highWaterMark",
159
+ values?: undefined
160
+ ): string;
161
+ encodeFunctionData(
162
+ functionFragment: "initialize",
163
+ values: [AddressLike, string, string, AddressLike]
164
+ ): string;
165
+ encodeFunctionData(
166
+ functionFragment: "lastFeeAccrual",
167
+ values?: undefined
168
+ ): string;
169
+ encodeFunctionData(
170
+ functionFragment: "managementFeeBps",
171
+ values?: undefined
172
+ ): string;
173
+ encodeFunctionData(
174
+ functionFragment: "maxDeposit",
175
+ values: [AddressLike]
176
+ ): string;
177
+ encodeFunctionData(
178
+ functionFragment: "maxMint",
179
+ values: [AddressLike]
180
+ ): string;
181
+ encodeFunctionData(
182
+ functionFragment: "maxRedeem",
183
+ values: [AddressLike]
184
+ ): string;
185
+ encodeFunctionData(
186
+ functionFragment: "maxWithdraw",
187
+ values: [AddressLike]
188
+ ): string;
189
+ encodeFunctionData(
190
+ functionFragment: "mint",
191
+ values: [BigNumberish, AddressLike]
192
+ ): string;
193
+ encodeFunctionData(functionFragment: "name", values?: undefined): string;
194
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
195
+ encodeFunctionData(
196
+ functionFragment: "pendingManagementFeeShares",
197
+ values?: undefined
198
+ ): string;
199
+ encodeFunctionData(
200
+ functionFragment: "pendingPerformanceFeeShares",
201
+ values?: undefined
202
+ ): string;
203
+ encodeFunctionData(
204
+ functionFragment: "performanceFeeBps",
205
+ values?: undefined
206
+ ): string;
207
+ encodeFunctionData(
208
+ functionFragment: "performanceFeeRecipient",
209
+ values?: undefined
210
+ ): string;
211
+ encodeFunctionData(
212
+ functionFragment: "previewDeposit",
213
+ values: [BigNumberish]
214
+ ): string;
215
+ encodeFunctionData(
216
+ functionFragment: "previewMint",
217
+ values: [BigNumberish]
218
+ ): string;
219
+ encodeFunctionData(
220
+ functionFragment: "previewRedeem",
221
+ values: [BigNumberish]
222
+ ): string;
223
+ encodeFunctionData(
224
+ functionFragment: "previewWithdraw",
225
+ values: [BigNumberish]
226
+ ): string;
227
+ encodeFunctionData(
228
+ functionFragment: "proxiableUUID",
229
+ values?: undefined
230
+ ): string;
231
+ encodeFunctionData(
232
+ functionFragment: "redeem",
233
+ values: [BigNumberish, AddressLike, AddressLike]
234
+ ): string;
235
+ encodeFunctionData(
236
+ functionFragment: "renounceOwnership",
237
+ values?: undefined
238
+ ): string;
239
+ encodeFunctionData(
240
+ functionFragment: "setManagementFeeBps",
241
+ values: [BigNumberish]
242
+ ): string;
243
+ encodeFunctionData(
244
+ functionFragment: "setManagementFeeRecipient",
245
+ values: [AddressLike]
246
+ ): string;
247
+ encodeFunctionData(
248
+ functionFragment: "setPerformanceFeeBps",
249
+ values: [BigNumberish]
250
+ ): string;
251
+ encodeFunctionData(
252
+ functionFragment: "setPerformanceFeeRecipient",
253
+ values: [AddressLike]
254
+ ): string;
255
+ encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
256
+ encodeFunctionData(
257
+ functionFragment: "totalAssets",
258
+ values?: undefined
259
+ ): string;
260
+ encodeFunctionData(
261
+ functionFragment: "totalSupply",
262
+ values?: undefined
263
+ ): string;
264
+ encodeFunctionData(
265
+ functionFragment: "transfer",
266
+ values: [AddressLike, BigNumberish]
267
+ ): string;
268
+ encodeFunctionData(
269
+ functionFragment: "transferFrom",
270
+ values: [AddressLike, AddressLike, BigNumberish]
271
+ ): string;
272
+ encodeFunctionData(
273
+ functionFragment: "transferOwnership",
274
+ values: [AddressLike]
275
+ ): string;
276
+ encodeFunctionData(
277
+ functionFragment: "upgradeToAndCall",
278
+ values: [AddressLike, BytesLike]
279
+ ): string;
280
+ encodeFunctionData(
281
+ functionFragment: "withdraw",
282
+ values: [BigNumberish, AddressLike, AddressLike]
283
+ ): string;
284
+
285
+ decodeFunctionResult(functionFragment: "MAX_BPS", data: BytesLike): Result;
286
+ decodeFunctionResult(
287
+ functionFragment: "PERFORMANCE_MAX_BPS",
288
+ data: BytesLike
289
+ ): Result;
290
+ decodeFunctionResult(
291
+ functionFragment: "UPGRADE_INTERFACE_VERSION",
292
+ data: BytesLike
293
+ ): Result;
294
+ decodeFunctionResult(
295
+ functionFragment: "accrueManagementFee",
296
+ data: BytesLike
297
+ ): Result;
298
+ decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
299
+ decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
300
+ decodeFunctionResult(functionFragment: "asset", data: BytesLike): Result;
301
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
302
+ decodeFunctionResult(
303
+ functionFragment: "convertToAssets",
304
+ data: BytesLike
305
+ ): Result;
306
+ decodeFunctionResult(
307
+ functionFragment: "convertToShares",
308
+ data: BytesLike
309
+ ): Result;
310
+ decodeFunctionResult(
311
+ functionFragment: "crystallizePerformanceFee",
312
+ data: BytesLike
313
+ ): Result;
314
+ decodeFunctionResult(
315
+ functionFragment: "currentAssetsPerShare",
316
+ data: BytesLike
317
+ ): Result;
318
+ decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
319
+ decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
320
+ decodeFunctionResult(functionFragment: "feeBps", data: BytesLike): Result;
321
+ decodeFunctionResult(
322
+ functionFragment: "feeRecipient",
323
+ data: BytesLike
324
+ ): Result;
325
+ decodeFunctionResult(
326
+ functionFragment: "getPerformanceFeeBps",
327
+ data: BytesLike
328
+ ): Result;
329
+ decodeFunctionResult(
330
+ functionFragment: "highWaterMark",
331
+ data: BytesLike
332
+ ): Result;
333
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
334
+ decodeFunctionResult(
335
+ functionFragment: "lastFeeAccrual",
336
+ data: BytesLike
337
+ ): Result;
338
+ decodeFunctionResult(
339
+ functionFragment: "managementFeeBps",
340
+ data: BytesLike
341
+ ): Result;
342
+ decodeFunctionResult(functionFragment: "maxDeposit", data: BytesLike): Result;
343
+ decodeFunctionResult(functionFragment: "maxMint", data: BytesLike): Result;
344
+ decodeFunctionResult(functionFragment: "maxRedeem", data: BytesLike): Result;
345
+ decodeFunctionResult(
346
+ functionFragment: "maxWithdraw",
347
+ data: BytesLike
348
+ ): Result;
349
+ decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
350
+ decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
351
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
352
+ decodeFunctionResult(
353
+ functionFragment: "pendingManagementFeeShares",
354
+ data: BytesLike
355
+ ): Result;
356
+ decodeFunctionResult(
357
+ functionFragment: "pendingPerformanceFeeShares",
358
+ data: BytesLike
359
+ ): Result;
360
+ decodeFunctionResult(
361
+ functionFragment: "performanceFeeBps",
362
+ data: BytesLike
363
+ ): Result;
364
+ decodeFunctionResult(
365
+ functionFragment: "performanceFeeRecipient",
366
+ data: BytesLike
367
+ ): Result;
368
+ decodeFunctionResult(
369
+ functionFragment: "previewDeposit",
370
+ data: BytesLike
371
+ ): Result;
372
+ decodeFunctionResult(
373
+ functionFragment: "previewMint",
374
+ data: BytesLike
375
+ ): Result;
376
+ decodeFunctionResult(
377
+ functionFragment: "previewRedeem",
378
+ data: BytesLike
379
+ ): Result;
380
+ decodeFunctionResult(
381
+ functionFragment: "previewWithdraw",
382
+ data: BytesLike
383
+ ): Result;
384
+ decodeFunctionResult(
385
+ functionFragment: "proxiableUUID",
386
+ data: BytesLike
387
+ ): Result;
388
+ decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
389
+ decodeFunctionResult(
390
+ functionFragment: "renounceOwnership",
391
+ data: BytesLike
392
+ ): Result;
393
+ decodeFunctionResult(
394
+ functionFragment: "setManagementFeeBps",
395
+ data: BytesLike
396
+ ): Result;
397
+ decodeFunctionResult(
398
+ functionFragment: "setManagementFeeRecipient",
399
+ data: BytesLike
400
+ ): Result;
401
+ decodeFunctionResult(
402
+ functionFragment: "setPerformanceFeeBps",
403
+ data: BytesLike
404
+ ): Result;
405
+ decodeFunctionResult(
406
+ functionFragment: "setPerformanceFeeRecipient",
407
+ data: BytesLike
408
+ ): Result;
409
+ decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
410
+ decodeFunctionResult(
411
+ functionFragment: "totalAssets",
412
+ data: BytesLike
413
+ ): Result;
414
+ decodeFunctionResult(
415
+ functionFragment: "totalSupply",
416
+ data: BytesLike
417
+ ): Result;
418
+ decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
419
+ decodeFunctionResult(
420
+ functionFragment: "transferFrom",
421
+ data: BytesLike
422
+ ): Result;
423
+ decodeFunctionResult(
424
+ functionFragment: "transferOwnership",
425
+ data: BytesLike
426
+ ): Result;
427
+ decodeFunctionResult(
428
+ functionFragment: "upgradeToAndCall",
429
+ data: BytesLike
430
+ ): Result;
431
+ decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
432
+ }
433
+
434
+ export namespace ApprovalEvent {
435
+ export type InputTuple = [
436
+ owner: AddressLike,
437
+ spender: AddressLike,
438
+ value: BigNumberish
439
+ ];
440
+ export type OutputTuple = [owner: string, spender: string, value: bigint];
441
+ export interface OutputObject {
442
+ owner: string;
443
+ spender: string;
444
+ value: bigint;
445
+ }
446
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
447
+ export type Filter = TypedDeferredTopicFilter<Event>;
448
+ export type Log = TypedEventLog<Event>;
449
+ export type LogDescription = TypedLogDescription<Event>;
450
+ }
451
+
452
+ export namespace DepositEvent {
453
+ export type InputTuple = [
454
+ sender: AddressLike,
455
+ owner: AddressLike,
456
+ assets: BigNumberish,
457
+ shares: BigNumberish
458
+ ];
459
+ export type OutputTuple = [
460
+ sender: string,
461
+ owner: string,
462
+ assets: bigint,
463
+ shares: bigint
464
+ ];
465
+ export interface OutputObject {
466
+ sender: string;
467
+ owner: string;
468
+ assets: bigint;
469
+ shares: bigint;
470
+ }
471
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
472
+ export type Filter = TypedDeferredTopicFilter<Event>;
473
+ export type Log = TypedEventLog<Event>;
474
+ export type LogDescription = TypedLogDescription<Event>;
475
+ }
476
+
477
+ export namespace FeeRecipientUpdatedEvent {
478
+ export type InputTuple = [newRecipient: AddressLike];
479
+ export type OutputTuple = [newRecipient: string];
480
+ export interface OutputObject {
481
+ newRecipient: string;
482
+ }
483
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
484
+ export type Filter = TypedDeferredTopicFilter<Event>;
485
+ export type Log = TypedEventLog<Event>;
486
+ export type LogDescription = TypedLogDescription<Event>;
487
+ }
488
+
489
+ export namespace InitializedEvent {
490
+ export type InputTuple = [version: BigNumberish];
491
+ export type OutputTuple = [version: bigint];
492
+ export interface OutputObject {
493
+ version: bigint;
494
+ }
495
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
496
+ export type Filter = TypedDeferredTopicFilter<Event>;
497
+ export type Log = TypedEventLog<Event>;
498
+ export type LogDescription = TypedLogDescription<Event>;
499
+ }
500
+
501
+ export namespace ManagementFeeAccruedEvent {
502
+ export type InputTuple = [feeShares: BigNumberish, timestamp: BigNumberish];
503
+ export type OutputTuple = [feeShares: bigint, timestamp: bigint];
504
+ export interface OutputObject {
505
+ feeShares: bigint;
506
+ timestamp: bigint;
507
+ }
508
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
509
+ export type Filter = TypedDeferredTopicFilter<Event>;
510
+ export type Log = TypedEventLog<Event>;
511
+ export type LogDescription = TypedLogDescription<Event>;
512
+ }
513
+
514
+ export namespace ManagementFeeUpdatedEvent {
515
+ export type InputTuple = [newFeeBps: BigNumberish];
516
+ export type OutputTuple = [newFeeBps: bigint];
517
+ export interface OutputObject {
518
+ newFeeBps: bigint;
519
+ }
520
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
521
+ export type Filter = TypedDeferredTopicFilter<Event>;
522
+ export type Log = TypedEventLog<Event>;
523
+ export type LogDescription = TypedLogDescription<Event>;
524
+ }
525
+
526
+ export namespace OwnershipTransferredEvent {
527
+ export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
528
+ export type OutputTuple = [previousOwner: string, newOwner: string];
529
+ export interface OutputObject {
530
+ previousOwner: string;
531
+ newOwner: string;
532
+ }
533
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
534
+ export type Filter = TypedDeferredTopicFilter<Event>;
535
+ export type Log = TypedEventLog<Event>;
536
+ export type LogDescription = TypedLogDescription<Event>;
537
+ }
538
+
539
+ export namespace PerformanceFeeAccruedEvent {
540
+ export type InputTuple = [
541
+ feeShares: BigNumberish,
542
+ timestamp: BigNumberish,
543
+ newHighWaterMark: BigNumberish
544
+ ];
545
+ export type OutputTuple = [
546
+ feeShares: bigint,
547
+ timestamp: bigint,
548
+ newHighWaterMark: bigint
549
+ ];
550
+ export interface OutputObject {
551
+ feeShares: bigint;
552
+ timestamp: bigint;
553
+ newHighWaterMark: bigint;
554
+ }
555
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
556
+ export type Filter = TypedDeferredTopicFilter<Event>;
557
+ export type Log = TypedEventLog<Event>;
558
+ export type LogDescription = TypedLogDescription<Event>;
559
+ }
560
+
561
+ export namespace PerformanceFeeBpsUpdatedEvent {
562
+ export type InputTuple = [newFeeBps: BigNumberish];
563
+ export type OutputTuple = [newFeeBps: bigint];
564
+ export interface OutputObject {
565
+ newFeeBps: bigint;
566
+ }
567
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
568
+ export type Filter = TypedDeferredTopicFilter<Event>;
569
+ export type Log = TypedEventLog<Event>;
570
+ export type LogDescription = TypedLogDescription<Event>;
571
+ }
572
+
573
+ export namespace PerformanceFeeRecipientUpdatedEvent {
574
+ export type InputTuple = [newRecipient: AddressLike];
575
+ export type OutputTuple = [newRecipient: string];
576
+ export interface OutputObject {
577
+ newRecipient: string;
578
+ }
579
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
580
+ export type Filter = TypedDeferredTopicFilter<Event>;
581
+ export type Log = TypedEventLog<Event>;
582
+ export type LogDescription = TypedLogDescription<Event>;
583
+ }
584
+
585
+ export namespace TransferEvent {
586
+ export type InputTuple = [
587
+ from: AddressLike,
588
+ to: AddressLike,
589
+ value: BigNumberish
590
+ ];
591
+ export type OutputTuple = [from: string, to: string, value: bigint];
592
+ export interface OutputObject {
593
+ from: string;
594
+ to: string;
595
+ value: bigint;
596
+ }
597
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
598
+ export type Filter = TypedDeferredTopicFilter<Event>;
599
+ export type Log = TypedEventLog<Event>;
600
+ export type LogDescription = TypedLogDescription<Event>;
601
+ }
602
+
603
+ export namespace UpgradedEvent {
604
+ export type InputTuple = [implementation: AddressLike];
605
+ export type OutputTuple = [implementation: string];
606
+ export interface OutputObject {
607
+ implementation: string;
608
+ }
609
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
610
+ export type Filter = TypedDeferredTopicFilter<Event>;
611
+ export type Log = TypedEventLog<Event>;
612
+ export type LogDescription = TypedLogDescription<Event>;
613
+ }
614
+
615
+ export namespace VaultDepositedEvent {
616
+ export type InputTuple = [
617
+ caller: AddressLike,
618
+ receiver: AddressLike,
619
+ assets: BigNumberish,
620
+ shares: BigNumberish
621
+ ];
622
+ export type OutputTuple = [
623
+ caller: string,
624
+ receiver: string,
625
+ assets: bigint,
626
+ shares: bigint
627
+ ];
628
+ export interface OutputObject {
629
+ caller: string;
630
+ receiver: string;
631
+ assets: bigint;
632
+ shares: bigint;
633
+ }
634
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
635
+ export type Filter = TypedDeferredTopicFilter<Event>;
636
+ export type Log = TypedEventLog<Event>;
637
+ export type LogDescription = TypedLogDescription<Event>;
638
+ }
639
+
640
+ export namespace VaultWithdrawnEvent {
641
+ export type InputTuple = [
642
+ caller: AddressLike,
643
+ receiver: AddressLike,
644
+ owner: AddressLike,
645
+ assets: BigNumberish,
646
+ shares: BigNumberish
647
+ ];
648
+ export type OutputTuple = [
649
+ caller: string,
650
+ receiver: string,
651
+ owner: string,
652
+ assets: bigint,
653
+ shares: bigint
654
+ ];
655
+ export interface OutputObject {
656
+ caller: string;
657
+ receiver: string;
658
+ owner: string;
659
+ assets: bigint;
660
+ shares: bigint;
661
+ }
662
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
663
+ export type Filter = TypedDeferredTopicFilter<Event>;
664
+ export type Log = TypedEventLog<Event>;
665
+ export type LogDescription = TypedLogDescription<Event>;
666
+ }
667
+
668
+ export namespace WithdrawEvent {
669
+ export type InputTuple = [
670
+ sender: AddressLike,
671
+ receiver: AddressLike,
672
+ owner: AddressLike,
673
+ assets: BigNumberish,
674
+ shares: BigNumberish
675
+ ];
676
+ export type OutputTuple = [
677
+ sender: string,
678
+ receiver: string,
679
+ owner: string,
680
+ assets: bigint,
681
+ shares: bigint
682
+ ];
683
+ export interface OutputObject {
684
+ sender: string;
685
+ receiver: string;
686
+ owner: string;
687
+ assets: bigint;
688
+ shares: bigint;
689
+ }
690
+ export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
691
+ export type Filter = TypedDeferredTopicFilter<Event>;
692
+ export type Log = TypedEventLog<Event>;
693
+ export type LogDescription = TypedLogDescription<Event>;
694
+ }
695
+
696
+ export interface VaultV1 extends BaseContract {
697
+ connect(runner?: ContractRunner | null): VaultV1;
698
+ waitForDeployment(): Promise<this>;
699
+
700
+ interface: VaultV1Interface;
701
+
702
+ queryFilter<TCEvent extends TypedContractEvent>(
703
+ event: TCEvent,
704
+ fromBlockOrBlockhash?: string | number | undefined,
705
+ toBlock?: string | number | undefined
706
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
707
+ queryFilter<TCEvent extends TypedContractEvent>(
708
+ filter: TypedDeferredTopicFilter<TCEvent>,
709
+ fromBlockOrBlockhash?: string | number | undefined,
710
+ toBlock?: string | number | undefined
711
+ ): Promise<Array<TypedEventLog<TCEvent>>>;
712
+
713
+ on<TCEvent extends TypedContractEvent>(
714
+ event: TCEvent,
715
+ listener: TypedListener<TCEvent>
716
+ ): Promise<this>;
717
+ on<TCEvent extends TypedContractEvent>(
718
+ filter: TypedDeferredTopicFilter<TCEvent>,
719
+ listener: TypedListener<TCEvent>
720
+ ): Promise<this>;
721
+
722
+ once<TCEvent extends TypedContractEvent>(
723
+ event: TCEvent,
724
+ listener: TypedListener<TCEvent>
725
+ ): Promise<this>;
726
+ once<TCEvent extends TypedContractEvent>(
727
+ filter: TypedDeferredTopicFilter<TCEvent>,
728
+ listener: TypedListener<TCEvent>
729
+ ): Promise<this>;
730
+
731
+ listeners<TCEvent extends TypedContractEvent>(
732
+ event: TCEvent
733
+ ): Promise<Array<TypedListener<TCEvent>>>;
734
+ listeners(eventName?: string): Promise<Array<Listener>>;
735
+ removeAllListeners<TCEvent extends TypedContractEvent>(
736
+ event?: TCEvent
737
+ ): Promise<this>;
738
+
739
+ MAX_BPS: TypedContractMethod<[], [bigint], "view">;
740
+
741
+ PERFORMANCE_MAX_BPS: TypedContractMethod<[], [bigint], "view">;
742
+
743
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
744
+
745
+ accrueManagementFee: TypedContractMethod<[], [void], "nonpayable">;
746
+
747
+ allowance: TypedContractMethod<
748
+ [owner: AddressLike, spender: AddressLike],
749
+ [bigint],
750
+ "view"
751
+ >;
752
+
753
+ approve: TypedContractMethod<
754
+ [spender: AddressLike, value: BigNumberish],
755
+ [boolean],
756
+ "nonpayable"
757
+ >;
758
+
759
+ asset: TypedContractMethod<[], [string], "view">;
760
+
761
+ balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
762
+
763
+ convertToAssets: TypedContractMethod<
764
+ [shares: BigNumberish],
765
+ [bigint],
766
+ "view"
767
+ >;
768
+
769
+ convertToShares: TypedContractMethod<
770
+ [assets: BigNumberish],
771
+ [bigint],
772
+ "view"
773
+ >;
774
+
775
+ crystallizePerformanceFee: TypedContractMethod<[], [void], "nonpayable">;
776
+
777
+ currentAssetsPerShare: TypedContractMethod<[], [bigint], "view">;
778
+
779
+ decimals: TypedContractMethod<[], [bigint], "view">;
780
+
781
+ deposit: TypedContractMethod<
782
+ [assets: BigNumberish, receiver: AddressLike],
783
+ [bigint],
784
+ "nonpayable"
785
+ >;
786
+
787
+ feeBps: TypedContractMethod<[], [bigint], "view">;
788
+
789
+ feeRecipient: TypedContractMethod<[], [string], "view">;
790
+
791
+ getPerformanceFeeBps: TypedContractMethod<[], [bigint], "view">;
792
+
793
+ highWaterMark: TypedContractMethod<[], [bigint], "view">;
794
+
795
+ initialize: TypedContractMethod<
796
+ [asset_: AddressLike, name_: string, symbol_: string, owner_: AddressLike],
797
+ [void],
798
+ "nonpayable"
799
+ >;
800
+
801
+ lastFeeAccrual: TypedContractMethod<[], [bigint], "view">;
802
+
803
+ managementFeeBps: TypedContractMethod<[], [bigint], "view">;
804
+
805
+ maxDeposit: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
806
+
807
+ maxMint: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
808
+
809
+ maxRedeem: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
810
+
811
+ maxWithdraw: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
812
+
813
+ mint: TypedContractMethod<
814
+ [shares: BigNumberish, receiver: AddressLike],
815
+ [bigint],
816
+ "nonpayable"
817
+ >;
818
+
819
+ name: TypedContractMethod<[], [string], "view">;
820
+
821
+ owner: TypedContractMethod<[], [string], "view">;
822
+
823
+ pendingManagementFeeShares: TypedContractMethod<[], [bigint], "view">;
824
+
825
+ pendingPerformanceFeeShares: TypedContractMethod<[], [bigint], "view">;
826
+
827
+ performanceFeeBps: TypedContractMethod<[], [bigint], "view">;
828
+
829
+ performanceFeeRecipient: TypedContractMethod<[], [string], "view">;
830
+
831
+ previewDeposit: TypedContractMethod<[assets: BigNumberish], [bigint], "view">;
832
+
833
+ previewMint: TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
834
+
835
+ previewRedeem: TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
836
+
837
+ previewWithdraw: TypedContractMethod<
838
+ [assets: BigNumberish],
839
+ [bigint],
840
+ "view"
841
+ >;
842
+
843
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
844
+
845
+ redeem: TypedContractMethod<
846
+ [shares: BigNumberish, receiver: AddressLike, owner: AddressLike],
847
+ [bigint],
848
+ "nonpayable"
849
+ >;
850
+
851
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
852
+
853
+ setManagementFeeBps: TypedContractMethod<
854
+ [newFeeBps: BigNumberish],
855
+ [void],
856
+ "nonpayable"
857
+ >;
858
+
859
+ setManagementFeeRecipient: TypedContractMethod<
860
+ [newRecipient: AddressLike],
861
+ [void],
862
+ "nonpayable"
863
+ >;
864
+
865
+ setPerformanceFeeBps: TypedContractMethod<
866
+ [newFeeBps: BigNumberish],
867
+ [void],
868
+ "nonpayable"
869
+ >;
870
+
871
+ setPerformanceFeeRecipient: TypedContractMethod<
872
+ [newRecipient: AddressLike],
873
+ [void],
874
+ "nonpayable"
875
+ >;
876
+
877
+ symbol: TypedContractMethod<[], [string], "view">;
878
+
879
+ totalAssets: TypedContractMethod<[], [bigint], "view">;
880
+
881
+ totalSupply: TypedContractMethod<[], [bigint], "view">;
882
+
883
+ transfer: TypedContractMethod<
884
+ [to: AddressLike, value: BigNumberish],
885
+ [boolean],
886
+ "nonpayable"
887
+ >;
888
+
889
+ transferFrom: TypedContractMethod<
890
+ [from: AddressLike, to: AddressLike, value: BigNumberish],
891
+ [boolean],
892
+ "nonpayable"
893
+ >;
894
+
895
+ transferOwnership: TypedContractMethod<
896
+ [newOwner: AddressLike],
897
+ [void],
898
+ "nonpayable"
899
+ >;
900
+
901
+ upgradeToAndCall: TypedContractMethod<
902
+ [newImplementation: AddressLike, data: BytesLike],
903
+ [void],
904
+ "payable"
905
+ >;
906
+
907
+ withdraw: TypedContractMethod<
908
+ [assets: BigNumberish, receiver: AddressLike, owner: AddressLike],
909
+ [bigint],
910
+ "nonpayable"
911
+ >;
912
+
913
+ getFunction<T extends ContractMethod = ContractMethod>(
914
+ key: string | FunctionFragment
915
+ ): T;
916
+
917
+ getFunction(
918
+ nameOrSignature: "MAX_BPS"
919
+ ): TypedContractMethod<[], [bigint], "view">;
920
+ getFunction(
921
+ nameOrSignature: "PERFORMANCE_MAX_BPS"
922
+ ): TypedContractMethod<[], [bigint], "view">;
923
+ getFunction(
924
+ nameOrSignature: "UPGRADE_INTERFACE_VERSION"
925
+ ): TypedContractMethod<[], [string], "view">;
926
+ getFunction(
927
+ nameOrSignature: "accrueManagementFee"
928
+ ): TypedContractMethod<[], [void], "nonpayable">;
929
+ getFunction(
930
+ nameOrSignature: "allowance"
931
+ ): TypedContractMethod<
932
+ [owner: AddressLike, spender: AddressLike],
933
+ [bigint],
934
+ "view"
935
+ >;
936
+ getFunction(
937
+ nameOrSignature: "approve"
938
+ ): TypedContractMethod<
939
+ [spender: AddressLike, value: BigNumberish],
940
+ [boolean],
941
+ "nonpayable"
942
+ >;
943
+ getFunction(
944
+ nameOrSignature: "asset"
945
+ ): TypedContractMethod<[], [string], "view">;
946
+ getFunction(
947
+ nameOrSignature: "balanceOf"
948
+ ): TypedContractMethod<[account: AddressLike], [bigint], "view">;
949
+ getFunction(
950
+ nameOrSignature: "convertToAssets"
951
+ ): TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
952
+ getFunction(
953
+ nameOrSignature: "convertToShares"
954
+ ): TypedContractMethod<[assets: BigNumberish], [bigint], "view">;
955
+ getFunction(
956
+ nameOrSignature: "crystallizePerformanceFee"
957
+ ): TypedContractMethod<[], [void], "nonpayable">;
958
+ getFunction(
959
+ nameOrSignature: "currentAssetsPerShare"
960
+ ): TypedContractMethod<[], [bigint], "view">;
961
+ getFunction(
962
+ nameOrSignature: "decimals"
963
+ ): TypedContractMethod<[], [bigint], "view">;
964
+ getFunction(
965
+ nameOrSignature: "deposit"
966
+ ): TypedContractMethod<
967
+ [assets: BigNumberish, receiver: AddressLike],
968
+ [bigint],
969
+ "nonpayable"
970
+ >;
971
+ getFunction(
972
+ nameOrSignature: "feeBps"
973
+ ): TypedContractMethod<[], [bigint], "view">;
974
+ getFunction(
975
+ nameOrSignature: "feeRecipient"
976
+ ): TypedContractMethod<[], [string], "view">;
977
+ getFunction(
978
+ nameOrSignature: "getPerformanceFeeBps"
979
+ ): TypedContractMethod<[], [bigint], "view">;
980
+ getFunction(
981
+ nameOrSignature: "highWaterMark"
982
+ ): TypedContractMethod<[], [bigint], "view">;
983
+ getFunction(
984
+ nameOrSignature: "initialize"
985
+ ): TypedContractMethod<
986
+ [asset_: AddressLike, name_: string, symbol_: string, owner_: AddressLike],
987
+ [void],
988
+ "nonpayable"
989
+ >;
990
+ getFunction(
991
+ nameOrSignature: "lastFeeAccrual"
992
+ ): TypedContractMethod<[], [bigint], "view">;
993
+ getFunction(
994
+ nameOrSignature: "managementFeeBps"
995
+ ): TypedContractMethod<[], [bigint], "view">;
996
+ getFunction(
997
+ nameOrSignature: "maxDeposit"
998
+ ): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
999
+ getFunction(
1000
+ nameOrSignature: "maxMint"
1001
+ ): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1002
+ getFunction(
1003
+ nameOrSignature: "maxRedeem"
1004
+ ): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
1005
+ getFunction(
1006
+ nameOrSignature: "maxWithdraw"
1007
+ ): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
1008
+ getFunction(
1009
+ nameOrSignature: "mint"
1010
+ ): TypedContractMethod<
1011
+ [shares: BigNumberish, receiver: AddressLike],
1012
+ [bigint],
1013
+ "nonpayable"
1014
+ >;
1015
+ getFunction(
1016
+ nameOrSignature: "name"
1017
+ ): TypedContractMethod<[], [string], "view">;
1018
+ getFunction(
1019
+ nameOrSignature: "owner"
1020
+ ): TypedContractMethod<[], [string], "view">;
1021
+ getFunction(
1022
+ nameOrSignature: "pendingManagementFeeShares"
1023
+ ): TypedContractMethod<[], [bigint], "view">;
1024
+ getFunction(
1025
+ nameOrSignature: "pendingPerformanceFeeShares"
1026
+ ): TypedContractMethod<[], [bigint], "view">;
1027
+ getFunction(
1028
+ nameOrSignature: "performanceFeeBps"
1029
+ ): TypedContractMethod<[], [bigint], "view">;
1030
+ getFunction(
1031
+ nameOrSignature: "performanceFeeRecipient"
1032
+ ): TypedContractMethod<[], [string], "view">;
1033
+ getFunction(
1034
+ nameOrSignature: "previewDeposit"
1035
+ ): TypedContractMethod<[assets: BigNumberish], [bigint], "view">;
1036
+ getFunction(
1037
+ nameOrSignature: "previewMint"
1038
+ ): TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
1039
+ getFunction(
1040
+ nameOrSignature: "previewRedeem"
1041
+ ): TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
1042
+ getFunction(
1043
+ nameOrSignature: "previewWithdraw"
1044
+ ): TypedContractMethod<[assets: BigNumberish], [bigint], "view">;
1045
+ getFunction(
1046
+ nameOrSignature: "proxiableUUID"
1047
+ ): TypedContractMethod<[], [string], "view">;
1048
+ getFunction(
1049
+ nameOrSignature: "redeem"
1050
+ ): TypedContractMethod<
1051
+ [shares: BigNumberish, receiver: AddressLike, owner: AddressLike],
1052
+ [bigint],
1053
+ "nonpayable"
1054
+ >;
1055
+ getFunction(
1056
+ nameOrSignature: "renounceOwnership"
1057
+ ): TypedContractMethod<[], [void], "nonpayable">;
1058
+ getFunction(
1059
+ nameOrSignature: "setManagementFeeBps"
1060
+ ): TypedContractMethod<[newFeeBps: BigNumberish], [void], "nonpayable">;
1061
+ getFunction(
1062
+ nameOrSignature: "setManagementFeeRecipient"
1063
+ ): TypedContractMethod<[newRecipient: AddressLike], [void], "nonpayable">;
1064
+ getFunction(
1065
+ nameOrSignature: "setPerformanceFeeBps"
1066
+ ): TypedContractMethod<[newFeeBps: BigNumberish], [void], "nonpayable">;
1067
+ getFunction(
1068
+ nameOrSignature: "setPerformanceFeeRecipient"
1069
+ ): TypedContractMethod<[newRecipient: AddressLike], [void], "nonpayable">;
1070
+ getFunction(
1071
+ nameOrSignature: "symbol"
1072
+ ): TypedContractMethod<[], [string], "view">;
1073
+ getFunction(
1074
+ nameOrSignature: "totalAssets"
1075
+ ): TypedContractMethod<[], [bigint], "view">;
1076
+ getFunction(
1077
+ nameOrSignature: "totalSupply"
1078
+ ): TypedContractMethod<[], [bigint], "view">;
1079
+ getFunction(
1080
+ nameOrSignature: "transfer"
1081
+ ): TypedContractMethod<
1082
+ [to: AddressLike, value: BigNumberish],
1083
+ [boolean],
1084
+ "nonpayable"
1085
+ >;
1086
+ getFunction(
1087
+ nameOrSignature: "transferFrom"
1088
+ ): TypedContractMethod<
1089
+ [from: AddressLike, to: AddressLike, value: BigNumberish],
1090
+ [boolean],
1091
+ "nonpayable"
1092
+ >;
1093
+ getFunction(
1094
+ nameOrSignature: "transferOwnership"
1095
+ ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
1096
+ getFunction(
1097
+ nameOrSignature: "upgradeToAndCall"
1098
+ ): TypedContractMethod<
1099
+ [newImplementation: AddressLike, data: BytesLike],
1100
+ [void],
1101
+ "payable"
1102
+ >;
1103
+ getFunction(
1104
+ nameOrSignature: "withdraw"
1105
+ ): TypedContractMethod<
1106
+ [assets: BigNumberish, receiver: AddressLike, owner: AddressLike],
1107
+ [bigint],
1108
+ "nonpayable"
1109
+ >;
1110
+
1111
+ getEvent(
1112
+ key: "Approval"
1113
+ ): TypedContractEvent<
1114
+ ApprovalEvent.InputTuple,
1115
+ ApprovalEvent.OutputTuple,
1116
+ ApprovalEvent.OutputObject
1117
+ >;
1118
+ getEvent(
1119
+ key: "Deposit"
1120
+ ): TypedContractEvent<
1121
+ DepositEvent.InputTuple,
1122
+ DepositEvent.OutputTuple,
1123
+ DepositEvent.OutputObject
1124
+ >;
1125
+ getEvent(
1126
+ key: "FeeRecipientUpdated"
1127
+ ): TypedContractEvent<
1128
+ FeeRecipientUpdatedEvent.InputTuple,
1129
+ FeeRecipientUpdatedEvent.OutputTuple,
1130
+ FeeRecipientUpdatedEvent.OutputObject
1131
+ >;
1132
+ getEvent(
1133
+ key: "Initialized"
1134
+ ): TypedContractEvent<
1135
+ InitializedEvent.InputTuple,
1136
+ InitializedEvent.OutputTuple,
1137
+ InitializedEvent.OutputObject
1138
+ >;
1139
+ getEvent(
1140
+ key: "ManagementFeeAccrued"
1141
+ ): TypedContractEvent<
1142
+ ManagementFeeAccruedEvent.InputTuple,
1143
+ ManagementFeeAccruedEvent.OutputTuple,
1144
+ ManagementFeeAccruedEvent.OutputObject
1145
+ >;
1146
+ getEvent(
1147
+ key: "ManagementFeeUpdated"
1148
+ ): TypedContractEvent<
1149
+ ManagementFeeUpdatedEvent.InputTuple,
1150
+ ManagementFeeUpdatedEvent.OutputTuple,
1151
+ ManagementFeeUpdatedEvent.OutputObject
1152
+ >;
1153
+ getEvent(
1154
+ key: "OwnershipTransferred"
1155
+ ): TypedContractEvent<
1156
+ OwnershipTransferredEvent.InputTuple,
1157
+ OwnershipTransferredEvent.OutputTuple,
1158
+ OwnershipTransferredEvent.OutputObject
1159
+ >;
1160
+ getEvent(
1161
+ key: "PerformanceFeeAccrued"
1162
+ ): TypedContractEvent<
1163
+ PerformanceFeeAccruedEvent.InputTuple,
1164
+ PerformanceFeeAccruedEvent.OutputTuple,
1165
+ PerformanceFeeAccruedEvent.OutputObject
1166
+ >;
1167
+ getEvent(
1168
+ key: "PerformanceFeeBpsUpdated"
1169
+ ): TypedContractEvent<
1170
+ PerformanceFeeBpsUpdatedEvent.InputTuple,
1171
+ PerformanceFeeBpsUpdatedEvent.OutputTuple,
1172
+ PerformanceFeeBpsUpdatedEvent.OutputObject
1173
+ >;
1174
+ getEvent(
1175
+ key: "PerformanceFeeRecipientUpdated"
1176
+ ): TypedContractEvent<
1177
+ PerformanceFeeRecipientUpdatedEvent.InputTuple,
1178
+ PerformanceFeeRecipientUpdatedEvent.OutputTuple,
1179
+ PerformanceFeeRecipientUpdatedEvent.OutputObject
1180
+ >;
1181
+ getEvent(
1182
+ key: "Transfer"
1183
+ ): TypedContractEvent<
1184
+ TransferEvent.InputTuple,
1185
+ TransferEvent.OutputTuple,
1186
+ TransferEvent.OutputObject
1187
+ >;
1188
+ getEvent(
1189
+ key: "Upgraded"
1190
+ ): TypedContractEvent<
1191
+ UpgradedEvent.InputTuple,
1192
+ UpgradedEvent.OutputTuple,
1193
+ UpgradedEvent.OutputObject
1194
+ >;
1195
+ getEvent(
1196
+ key: "VaultDeposited"
1197
+ ): TypedContractEvent<
1198
+ VaultDepositedEvent.InputTuple,
1199
+ VaultDepositedEvent.OutputTuple,
1200
+ VaultDepositedEvent.OutputObject
1201
+ >;
1202
+ getEvent(
1203
+ key: "VaultWithdrawn"
1204
+ ): TypedContractEvent<
1205
+ VaultWithdrawnEvent.InputTuple,
1206
+ VaultWithdrawnEvent.OutputTuple,
1207
+ VaultWithdrawnEvent.OutputObject
1208
+ >;
1209
+ getEvent(
1210
+ key: "Withdraw"
1211
+ ): TypedContractEvent<
1212
+ WithdrawEvent.InputTuple,
1213
+ WithdrawEvent.OutputTuple,
1214
+ WithdrawEvent.OutputObject
1215
+ >;
1216
+
1217
+ filters: {
1218
+ "Approval(address,address,uint256)": TypedContractEvent<
1219
+ ApprovalEvent.InputTuple,
1220
+ ApprovalEvent.OutputTuple,
1221
+ ApprovalEvent.OutputObject
1222
+ >;
1223
+ Approval: TypedContractEvent<
1224
+ ApprovalEvent.InputTuple,
1225
+ ApprovalEvent.OutputTuple,
1226
+ ApprovalEvent.OutputObject
1227
+ >;
1228
+
1229
+ "Deposit(address,address,uint256,uint256)": TypedContractEvent<
1230
+ DepositEvent.InputTuple,
1231
+ DepositEvent.OutputTuple,
1232
+ DepositEvent.OutputObject
1233
+ >;
1234
+ Deposit: TypedContractEvent<
1235
+ DepositEvent.InputTuple,
1236
+ DepositEvent.OutputTuple,
1237
+ DepositEvent.OutputObject
1238
+ >;
1239
+
1240
+ "FeeRecipientUpdated(address)": TypedContractEvent<
1241
+ FeeRecipientUpdatedEvent.InputTuple,
1242
+ FeeRecipientUpdatedEvent.OutputTuple,
1243
+ FeeRecipientUpdatedEvent.OutputObject
1244
+ >;
1245
+ FeeRecipientUpdated: TypedContractEvent<
1246
+ FeeRecipientUpdatedEvent.InputTuple,
1247
+ FeeRecipientUpdatedEvent.OutputTuple,
1248
+ FeeRecipientUpdatedEvent.OutputObject
1249
+ >;
1250
+
1251
+ "Initialized(uint64)": TypedContractEvent<
1252
+ InitializedEvent.InputTuple,
1253
+ InitializedEvent.OutputTuple,
1254
+ InitializedEvent.OutputObject
1255
+ >;
1256
+ Initialized: TypedContractEvent<
1257
+ InitializedEvent.InputTuple,
1258
+ InitializedEvent.OutputTuple,
1259
+ InitializedEvent.OutputObject
1260
+ >;
1261
+
1262
+ "ManagementFeeAccrued(uint256,uint48)": TypedContractEvent<
1263
+ ManagementFeeAccruedEvent.InputTuple,
1264
+ ManagementFeeAccruedEvent.OutputTuple,
1265
+ ManagementFeeAccruedEvent.OutputObject
1266
+ >;
1267
+ ManagementFeeAccrued: TypedContractEvent<
1268
+ ManagementFeeAccruedEvent.InputTuple,
1269
+ ManagementFeeAccruedEvent.OutputTuple,
1270
+ ManagementFeeAccruedEvent.OutputObject
1271
+ >;
1272
+
1273
+ "ManagementFeeUpdated(uint16)": TypedContractEvent<
1274
+ ManagementFeeUpdatedEvent.InputTuple,
1275
+ ManagementFeeUpdatedEvent.OutputTuple,
1276
+ ManagementFeeUpdatedEvent.OutputObject
1277
+ >;
1278
+ ManagementFeeUpdated: TypedContractEvent<
1279
+ ManagementFeeUpdatedEvent.InputTuple,
1280
+ ManagementFeeUpdatedEvent.OutputTuple,
1281
+ ManagementFeeUpdatedEvent.OutputObject
1282
+ >;
1283
+
1284
+ "OwnershipTransferred(address,address)": TypedContractEvent<
1285
+ OwnershipTransferredEvent.InputTuple,
1286
+ OwnershipTransferredEvent.OutputTuple,
1287
+ OwnershipTransferredEvent.OutputObject
1288
+ >;
1289
+ OwnershipTransferred: TypedContractEvent<
1290
+ OwnershipTransferredEvent.InputTuple,
1291
+ OwnershipTransferredEvent.OutputTuple,
1292
+ OwnershipTransferredEvent.OutputObject
1293
+ >;
1294
+
1295
+ "PerformanceFeeAccrued(uint256,uint48,uint256)": TypedContractEvent<
1296
+ PerformanceFeeAccruedEvent.InputTuple,
1297
+ PerformanceFeeAccruedEvent.OutputTuple,
1298
+ PerformanceFeeAccruedEvent.OutputObject
1299
+ >;
1300
+ PerformanceFeeAccrued: TypedContractEvent<
1301
+ PerformanceFeeAccruedEvent.InputTuple,
1302
+ PerformanceFeeAccruedEvent.OutputTuple,
1303
+ PerformanceFeeAccruedEvent.OutputObject
1304
+ >;
1305
+
1306
+ "PerformanceFeeBpsUpdated(uint16)": TypedContractEvent<
1307
+ PerformanceFeeBpsUpdatedEvent.InputTuple,
1308
+ PerformanceFeeBpsUpdatedEvent.OutputTuple,
1309
+ PerformanceFeeBpsUpdatedEvent.OutputObject
1310
+ >;
1311
+ PerformanceFeeBpsUpdated: TypedContractEvent<
1312
+ PerformanceFeeBpsUpdatedEvent.InputTuple,
1313
+ PerformanceFeeBpsUpdatedEvent.OutputTuple,
1314
+ PerformanceFeeBpsUpdatedEvent.OutputObject
1315
+ >;
1316
+
1317
+ "PerformanceFeeRecipientUpdated(address)": TypedContractEvent<
1318
+ PerformanceFeeRecipientUpdatedEvent.InputTuple,
1319
+ PerformanceFeeRecipientUpdatedEvent.OutputTuple,
1320
+ PerformanceFeeRecipientUpdatedEvent.OutputObject
1321
+ >;
1322
+ PerformanceFeeRecipientUpdated: TypedContractEvent<
1323
+ PerformanceFeeRecipientUpdatedEvent.InputTuple,
1324
+ PerformanceFeeRecipientUpdatedEvent.OutputTuple,
1325
+ PerformanceFeeRecipientUpdatedEvent.OutputObject
1326
+ >;
1327
+
1328
+ "Transfer(address,address,uint256)": TypedContractEvent<
1329
+ TransferEvent.InputTuple,
1330
+ TransferEvent.OutputTuple,
1331
+ TransferEvent.OutputObject
1332
+ >;
1333
+ Transfer: TypedContractEvent<
1334
+ TransferEvent.InputTuple,
1335
+ TransferEvent.OutputTuple,
1336
+ TransferEvent.OutputObject
1337
+ >;
1338
+
1339
+ "Upgraded(address)": TypedContractEvent<
1340
+ UpgradedEvent.InputTuple,
1341
+ UpgradedEvent.OutputTuple,
1342
+ UpgradedEvent.OutputObject
1343
+ >;
1344
+ Upgraded: TypedContractEvent<
1345
+ UpgradedEvent.InputTuple,
1346
+ UpgradedEvent.OutputTuple,
1347
+ UpgradedEvent.OutputObject
1348
+ >;
1349
+
1350
+ "VaultDeposited(address,address,uint256,uint256)": TypedContractEvent<
1351
+ VaultDepositedEvent.InputTuple,
1352
+ VaultDepositedEvent.OutputTuple,
1353
+ VaultDepositedEvent.OutputObject
1354
+ >;
1355
+ VaultDeposited: TypedContractEvent<
1356
+ VaultDepositedEvent.InputTuple,
1357
+ VaultDepositedEvent.OutputTuple,
1358
+ VaultDepositedEvent.OutputObject
1359
+ >;
1360
+
1361
+ "VaultWithdrawn(address,address,address,uint256,uint256)": TypedContractEvent<
1362
+ VaultWithdrawnEvent.InputTuple,
1363
+ VaultWithdrawnEvent.OutputTuple,
1364
+ VaultWithdrawnEvent.OutputObject
1365
+ >;
1366
+ VaultWithdrawn: TypedContractEvent<
1367
+ VaultWithdrawnEvent.InputTuple,
1368
+ VaultWithdrawnEvent.OutputTuple,
1369
+ VaultWithdrawnEvent.OutputObject
1370
+ >;
1371
+
1372
+ "Withdraw(address,address,address,uint256,uint256)": TypedContractEvent<
1373
+ WithdrawEvent.InputTuple,
1374
+ WithdrawEvent.OutputTuple,
1375
+ WithdrawEvent.OutputObject
1376
+ >;
1377
+ Withdraw: TypedContractEvent<
1378
+ WithdrawEvent.InputTuple,
1379
+ WithdrawEvent.OutputTuple,
1380
+ WithdrawEvent.OutputObject
1381
+ >;
1382
+ };
1383
+ }