@augustdigital/sdk 4.24.1 → 4.24.3-alpha.2

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 (119) hide show
  1. package/lib/abis/LendingPoolV2.d.ts +55 -1413
  2. package/lib/abis/LendingPoolV2.js.map +1 -1
  3. package/lib/abis/LendingPoolV3.d.ts +35 -1677
  4. package/lib/abis/LendingPoolV3.js.map +1 -1
  5. package/lib/abis/RewardDistributor.d.ts +46 -267
  6. package/lib/abis/RewardDistributor.js.map +1 -1
  7. package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +78 -1456
  8. package/lib/abis/TokenizedVaultV2DepositWithPermit.js.map +1 -1
  9. package/lib/abis/TokenizedVaultV2WithDepositWithPermit.d.ts +85 -0
  10. package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js +1878 -0
  11. package/lib/abis/TokenizedVaultV2WithDepositWithPermit.js.map +1 -0
  12. package/lib/abis/index.d.ts +0 -2
  13. package/lib/abis/index.js +0 -2
  14. package/lib/abis/index.js.map +1 -1
  15. package/lib/adapters/evm/index.d.ts +1 -20
  16. package/lib/adapters/evm/index.js +0 -16
  17. package/lib/adapters/evm/index.js.map +1 -1
  18. package/lib/adapters/solana/getters.js +1 -2
  19. package/lib/adapters/solana/getters.js.map +1 -1
  20. package/lib/adapters/solana/index.js.map +1 -1
  21. package/lib/adapters/sui/index.js.map +1 -1
  22. package/lib/adapters/sui/transformer.js +1 -4
  23. package/lib/adapters/sui/transformer.js.map +1 -1
  24. package/lib/core/constants/core.d.ts +1 -1
  25. package/lib/core/constants/core.js +4 -4
  26. package/lib/core/constants/core.js.map +1 -1
  27. package/lib/core/constants/vaults.d.ts +0 -2
  28. package/lib/core/constants/vaults.js +1 -3
  29. package/lib/core/constants/vaults.js.map +1 -1
  30. package/lib/core/constants/web3.js +1 -0
  31. package/lib/core/constants/web3.js.map +1 -1
  32. package/lib/core/constants.adapters.d.ts +117 -0
  33. package/lib/core/constants.adapters.js +160 -0
  34. package/lib/core/constants.adapters.js.map +1 -0
  35. package/lib/core/constants.core.d.ts +78 -0
  36. package/lib/core/constants.core.js +75 -0
  37. package/lib/core/constants.core.js.map +1 -0
  38. package/lib/core/constants.vaults.d.ts +64 -0
  39. package/lib/core/constants.vaults.js +156 -0
  40. package/lib/core/constants.vaults.js.map +1 -0
  41. package/lib/core/constants.web3.d.ts +31 -0
  42. package/lib/core/constants.web3.js +100 -0
  43. package/lib/core/constants.web3.js.map +1 -0
  44. package/lib/core/fetcher.d.ts +3 -2
  45. package/lib/core/fetcher.js +5 -7
  46. package/lib/core/fetcher.js.map +1 -1
  47. package/lib/core/helpers/core.d.ts +1 -1
  48. package/lib/core/helpers/vaults.d.ts +0 -1
  49. package/lib/core/helpers/vaults.js +1 -19
  50. package/lib/core/helpers/vaults.js.map +1 -1
  51. package/lib/core/helpers/web3.d.ts +4 -6
  52. package/lib/core/helpers/web3.js.map +1 -1
  53. package/lib/core/helpers.adapters.d.ts +9 -0
  54. package/lib/core/helpers.adapters.js +28 -0
  55. package/lib/core/helpers.adapters.js.map +1 -0
  56. package/lib/core/helpers.core.d.ts +48 -0
  57. package/lib/core/helpers.core.js +210 -0
  58. package/lib/core/helpers.core.js.map +1 -0
  59. package/lib/core/helpers.signer.d.ts +9 -0
  60. package/lib/core/helpers.signer.js +54 -0
  61. package/lib/core/helpers.signer.js.map +1 -0
  62. package/lib/core/helpers.vaults.d.ts +36 -0
  63. package/lib/core/helpers.vaults.js +145 -0
  64. package/lib/core/helpers.vaults.js.map +1 -0
  65. package/lib/core/helpers.web3.d.ts +95 -0
  66. package/lib/core/helpers.web3.js +376 -0
  67. package/lib/core/helpers.web3.js.map +1 -0
  68. package/lib/index.d.ts +0 -2
  69. package/lib/index.js +0 -2
  70. package/lib/index.js.map +1 -1
  71. package/lib/main.d.ts +1 -5
  72. package/lib/main.js +0 -13
  73. package/lib/main.js.map +1 -1
  74. package/lib/modules/vaults/adapter.helpers.js +1 -2
  75. package/lib/modules/vaults/adapter.helpers.js.map +1 -1
  76. package/lib/modules/vaults/getters.js +87 -129
  77. package/lib/modules/vaults/getters.js.map +1 -1
  78. package/lib/modules/vaults/main.js +6 -9
  79. package/lib/modules/vaults/main.js.map +1 -1
  80. package/lib/modules/vaults/read.actions.d.ts +3 -21
  81. package/lib/modules/vaults/read.actions.js +1 -130
  82. package/lib/modules/vaults/read.actions.js.map +1 -1
  83. package/lib/modules/vaults/utils.js +5 -11
  84. package/lib/modules/vaults/utils.js.map +1 -1
  85. package/lib/modules/vaults/write.actions.js +7 -8
  86. package/lib/modules/vaults/write.actions.js.map +1 -1
  87. package/lib/services/subgraph/vaults.js +6 -6
  88. package/lib/services/subgraph/vaults.js.map +1 -1
  89. package/lib/types/index.d.ts +0 -2
  90. package/lib/types/index.js +0 -2
  91. package/lib/types/index.js.map +1 -1
  92. package/lib/types/vaults.d.ts +0 -2
  93. package/lib/types/vaults.js.map +1 -1
  94. package/lib/types/webserver.d.ts +0 -2
  95. package/lib/verify.d.ts +2 -0
  96. package/lib/verify.js +33 -0
  97. package/lib/verify.js.map +1 -0
  98. package/package.json +12 -12
  99. package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.d.ts +0 -454
  100. package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.js +0 -327
  101. package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.js.map +0 -1
  102. package/lib/abis/TokenizedVaultV2WhitelistedAllocation.d.ts +0 -1466
  103. package/lib/abis/TokenizedVaultV2WhitelistedAllocation.js +0 -1092
  104. package/lib/abis/TokenizedVaultV2WhitelistedAllocation.js.map +0 -1
  105. package/lib/modules/sub-accounts/fetcher.d.ts +0 -10
  106. package/lib/modules/sub-accounts/fetcher.js +0 -33
  107. package/lib/modules/sub-accounts/fetcher.js.map +0 -1
  108. package/lib/modules/sub-accounts/index.d.ts +0 -2
  109. package/lib/modules/sub-accounts/index.js +0 -19
  110. package/lib/modules/sub-accounts/index.js.map +0 -1
  111. package/lib/modules/sub-accounts/main.d.ts +0 -16
  112. package/lib/modules/sub-accounts/main.js +0 -39
  113. package/lib/modules/sub-accounts/main.js.map +0 -1
  114. package/lib/types/sub-accounts.d.ts +0 -8
  115. package/lib/types/sub-accounts.js +0 -3
  116. package/lib/types/sub-accounts.js.map +0 -1
  117. package/lib/types/typed-contract.d.ts +0 -38
  118. package/lib/types/typed-contract.js +0 -3
  119. package/lib/types/typed-contract.js.map +0 -1
@@ -1,1092 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ABI_TOKENIZED_VAULT_V2_WHITELISTED_ALLOCATION = void 0;
4
- exports.ABI_TOKENIZED_VAULT_V2_WHITELISTED_ALLOCATION = [
5
- { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
6
- { inputs: [], name: 'AccountNotWhitelisted', type: 'error' },
7
- { inputs: [], name: 'AlreadyConfigured', type: 'error' },
8
- { inputs: [], name: 'AmountTooLow', type: 'error' },
9
- { inputs: [], name: 'AssetNotWhitelisted', type: 'error' },
10
- {
11
- inputs: [
12
- { internalType: 'uint256', name: 'fee', type: 'uint256' },
13
- { internalType: 'uint256', name: 'remaining', type: 'uint256' },
14
- ],
15
- name: 'CollectableFeesExceeded',
16
- type: 'error',
17
- },
18
- { inputs: [], name: 'DepositCapReached', type: 'error' },
19
- { inputs: [], name: 'DepositsPaused', type: 'error' },
20
- { inputs: [], name: 'FeeAmountTooLow', type: 'error' },
21
- { inputs: [], name: 'FeesMustSum100', type: 'error' },
22
- { inputs: [], name: 'HighWatermarkDurationError', type: 'error' },
23
- { inputs: [], name: 'HighWatermarkViolation', type: 'error' },
24
- { inputs: [], name: 'InsufficientShares', type: 'error' },
25
- { inputs: [], name: 'InvalidAccountType', type: 'error' },
26
- { inputs: [], name: 'InvalidAddress', type: 'error' },
27
- { inputs: [], name: 'InvalidAmount', type: 'error' },
28
- { inputs: [], name: 'InvalidDepositLimit', type: 'error' },
29
- { inputs: [], name: 'InvalidExternalAssets', type: 'error' },
30
- { inputs: [], name: 'InvalidLagDuration', type: 'error' },
31
- { inputs: [], name: 'InvalidReceiver', type: 'error' },
32
- { inputs: [], name: 'InvalidTimestamp', type: 'error' },
33
- { inputs: [], name: 'InvalidWithdrawalLimit', type: 'error' },
34
- { inputs: [], name: 'LimitRequired', type: 'error' },
35
- { inputs: [], name: 'MaxAllowedChangeReached', type: 'error' },
36
- { inputs: [], name: 'MaxDepositAmountReached', type: 'error' },
37
- { inputs: [], name: 'MissingFeeCollectors', type: 'error' },
38
- { inputs: [], name: 'NoSharesForReceiver', type: 'error' },
39
- { inputs: [], name: 'NotConfigured', type: 'error' },
40
- { inputs: [], name: 'NothingToProcess', type: 'error' },
41
- { inputs: [], name: 'OnlyOwnerOrOperator', type: 'error' },
42
- { inputs: [], name: 'OperatorOnly', type: 'error' },
43
- { inputs: [], name: 'OwnerAddressRequired', type: 'error' },
44
- { inputs: [], name: 'OwnerOnly', type: 'error' },
45
- { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
46
- { inputs: [], name: 'ReferenceAssetMismatch', type: 'error' },
47
- { inputs: [], name: 'SenderNotWhitelisted', type: 'error' },
48
- { inputs: [], name: 'TokenDecimalsMismatch', type: 'error' },
49
- { inputs: [], name: 'TooEarly', type: 'error' },
50
- { inputs: [], name: 'Unauthorized', type: 'error' },
51
- { inputs: [], name: 'VaultNotTimelocked', type: 'error' },
52
- { inputs: [], name: 'WhitelistLimitReached', type: 'error' },
53
- { inputs: [], name: 'WithdrawalLimitReached', type: 'error' },
54
- { inputs: [], name: 'WithdrawalsPaused', type: 'error' },
55
- { inputs: [], name: 'ZeroAddressError', type: 'error' },
56
- { anonymous: false, inputs: [], name: 'ContractConfigured', type: 'event' },
57
- {
58
- anonymous: false,
59
- inputs: [
60
- {
61
- indexed: false,
62
- internalType: 'address',
63
- name: 'assetIn',
64
- type: 'address',
65
- },
66
- {
67
- indexed: false,
68
- internalType: 'uint256',
69
- name: 'amountIn',
70
- type: 'uint256',
71
- },
72
- {
73
- indexed: false,
74
- internalType: 'uint256',
75
- name: 'shares',
76
- type: 'uint256',
77
- },
78
- {
79
- indexed: true,
80
- internalType: 'address',
81
- name: 'senderAddr',
82
- type: 'address',
83
- },
84
- {
85
- indexed: true,
86
- internalType: 'address',
87
- name: 'receiverAddr',
88
- type: 'address',
89
- },
90
- ],
91
- name: 'Deposit',
92
- type: 'event',
93
- },
94
- {
95
- anonymous: false,
96
- inputs: [
97
- {
98
- indexed: false,
99
- internalType: 'bool',
100
- name: 'bDepositsPaused',
101
- type: 'bool',
102
- },
103
- {
104
- indexed: false,
105
- internalType: 'bool',
106
- name: 'bWithdrawalsPaused',
107
- type: 'bool',
108
- },
109
- ],
110
- name: 'DepositWithdrawalStatusChanged',
111
- type: 'event',
112
- },
113
- { anonymous: false, inputs: [], name: 'FeesCollected', type: 'event' },
114
- {
115
- anonymous: false,
116
- inputs: [
117
- { indexed: false, internalType: 'uint8', name: 'version', type: 'uint8' },
118
- ],
119
- name: 'Initialized',
120
- type: 'event',
121
- },
122
- {
123
- anonymous: false,
124
- inputs: [
125
- {
126
- indexed: false,
127
- internalType: 'uint256',
128
- name: 'managementFeeAmount',
129
- type: 'uint256',
130
- },
131
- ],
132
- name: 'ManagementFeeCharged',
133
- type: 'event',
134
- },
135
- {
136
- anonymous: false,
137
- inputs: [
138
- {
139
- indexed: false,
140
- internalType: 'uint256',
141
- name: 'newManagementFeePercent',
142
- type: 'uint256',
143
- },
144
- ],
145
- name: 'ManagementFeeUpdated',
146
- type: 'event',
147
- },
148
- {
149
- anonymous: false,
150
- inputs: [
151
- {
152
- indexed: false,
153
- internalType: 'uint256',
154
- name: 'newValue',
155
- type: 'uint256',
156
- },
157
- ],
158
- name: 'MaxChangePercentUpdated',
159
- type: 'event',
160
- },
161
- {
162
- anonymous: false,
163
- inputs: [
164
- {
165
- indexed: false,
166
- internalType: 'address',
167
- name: 'receiverAddr',
168
- type: 'address',
169
- },
170
- ],
171
- name: 'OnEmergencyWithdraw',
172
- type: 'event',
173
- },
174
- {
175
- anonymous: false,
176
- inputs: [
177
- {
178
- indexed: true,
179
- internalType: 'address',
180
- name: 'previousOwner',
181
- type: 'address',
182
- },
183
- {
184
- indexed: true,
185
- internalType: 'address',
186
- name: 'newOwner',
187
- type: 'address',
188
- },
189
- ],
190
- name: 'OwnershipTransferStarted',
191
- type: 'event',
192
- },
193
- {
194
- anonymous: false,
195
- inputs: [
196
- {
197
- indexed: true,
198
- internalType: 'address',
199
- name: 'previousOwner',
200
- type: 'address',
201
- },
202
- {
203
- indexed: true,
204
- internalType: 'address',
205
- name: 'newOwner',
206
- type: 'address',
207
- },
208
- ],
209
- name: 'OwnershipTransferred',
210
- type: 'event',
211
- },
212
- {
213
- anonymous: false,
214
- inputs: [
215
- {
216
- indexed: false,
217
- internalType: 'address',
218
- name: 'newWhitelistAddr',
219
- type: 'address',
220
- },
221
- ],
222
- name: 'SendersWhitelistUpdated',
223
- type: 'event',
224
- },
225
- {
226
- anonymous: false,
227
- inputs: [
228
- {
229
- indexed: false,
230
- internalType: 'address',
231
- name: 'subAccountAddr',
232
- type: 'address',
233
- },
234
- ],
235
- name: 'SubAccountDisabled',
236
- type: 'event',
237
- },
238
- {
239
- anonymous: false,
240
- inputs: [
241
- {
242
- indexed: false,
243
- internalType: 'address',
244
- name: 'subAccountAddr',
245
- type: 'address',
246
- },
247
- ],
248
- name: 'SubAccountEnabled',
249
- type: 'event',
250
- },
251
- {
252
- anonymous: false,
253
- inputs: [
254
- {
255
- indexed: true,
256
- internalType: 'address',
257
- name: 'sender',
258
- type: 'address',
259
- },
260
- {
261
- indexed: true,
262
- internalType: 'address',
263
- name: 'receiver',
264
- type: 'address',
265
- },
266
- {
267
- indexed: true,
268
- internalType: 'address',
269
- name: 'owner',
270
- type: 'address',
271
- },
272
- {
273
- indexed: false,
274
- internalType: 'uint256',
275
- name: 'assets',
276
- type: 'uint256',
277
- },
278
- {
279
- indexed: false,
280
- internalType: 'uint256',
281
- name: 'shares',
282
- type: 'uint256',
283
- },
284
- ],
285
- name: 'Withdraw',
286
- type: 'event',
287
- },
288
- {
289
- anonymous: false,
290
- inputs: [
291
- {
292
- indexed: false,
293
- internalType: 'uint256',
294
- name: 'assetsAmount',
295
- type: 'uint256',
296
- },
297
- {
298
- indexed: true,
299
- internalType: 'address',
300
- name: 'receiverAddr',
301
- type: 'address',
302
- },
303
- ],
304
- name: 'WithdrawalProcessed',
305
- type: 'event',
306
- },
307
- {
308
- anonymous: false,
309
- inputs: [
310
- {
311
- indexed: false,
312
- internalType: 'uint256',
313
- name: 'shares',
314
- type: 'uint256',
315
- },
316
- {
317
- indexed: true,
318
- internalType: 'address',
319
- name: 'holderAddr',
320
- type: 'address',
321
- },
322
- {
323
- indexed: true,
324
- internalType: 'address',
325
- name: 'receiverAddr',
326
- type: 'address',
327
- },
328
- ],
329
- name: 'WithdrawalRequested',
330
- type: 'event',
331
- },
332
- {
333
- inputs: [],
334
- name: 'acceptOwnership',
335
- outputs: [],
336
- stateMutability: 'nonpayable',
337
- type: 'function',
338
- },
339
- {
340
- inputs: [],
341
- name: 'asset',
342
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
343
- stateMutability: 'view',
344
- type: 'function',
345
- },
346
- {
347
- inputs: [],
348
- name: 'assetsUpdatedOn',
349
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
350
- stateMutability: 'view',
351
- type: 'function',
352
- },
353
- {
354
- inputs: [],
355
- name: 'assetsWhitelistAddress',
356
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
357
- stateMutability: 'view',
358
- type: 'function',
359
- },
360
- {
361
- inputs: [],
362
- name: 'chargeManagementFee',
363
- outputs: [],
364
- stateMutability: 'nonpayable',
365
- type: 'function',
366
- },
367
- {
368
- inputs: [],
369
- name: 'chargePerformanceFees',
370
- outputs: [],
371
- stateMutability: 'nonpayable',
372
- type: 'function',
373
- },
374
- {
375
- inputs: [
376
- { internalType: 'uint256', name: 'year', type: 'uint256' },
377
- { internalType: 'uint256', name: 'month', type: 'uint256' },
378
- { internalType: 'uint256', name: 'day', type: 'uint256' },
379
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
380
- ],
381
- name: 'claim',
382
- outputs: [
383
- { internalType: 'uint256', name: '', type: 'uint256' },
384
- { internalType: 'uint256', name: '', type: 'uint256' },
385
- ],
386
- stateMutability: 'nonpayable',
387
- type: 'function',
388
- },
389
- {
390
- inputs: [],
391
- name: 'collectFees',
392
- outputs: [],
393
- stateMutability: 'nonpayable',
394
- type: 'function',
395
- },
396
- {
397
- inputs: [
398
- {
399
- components: [
400
- {
401
- internalType: 'uint256',
402
- name: 'maxDepositAmount',
403
- type: 'uint256',
404
- },
405
- {
406
- internalType: 'uint256',
407
- name: 'maxWithdrawalAmount',
408
- type: 'uint256',
409
- },
410
- {
411
- internalType: 'uint256',
412
- name: 'instantRedemptionFee',
413
- type: 'uint256',
414
- },
415
- { internalType: 'uint256', name: 'lagDuration', type: 'uint256' },
416
- { internalType: 'uint256', name: 'withdrawalFee', type: 'uint256' },
417
- {
418
- internalType: 'uint256',
419
- name: 'watermarkTimeWindow',
420
- type: 'uint256',
421
- },
422
- {
423
- internalType: 'uint256',
424
- name: 'maxChangePercent',
425
- type: 'uint256',
426
- },
427
- {
428
- internalType: 'uint256',
429
- name: 'managementFeePercent',
430
- type: 'uint256',
431
- },
432
- {
433
- internalType: 'uint256',
434
- name: 'performanceFeeRate',
435
- type: 'uint256',
436
- },
437
- {
438
- internalType: 'address',
439
- name: 'sendersWhitelistAddress',
440
- type: 'address',
441
- },
442
- { internalType: 'address', name: 'operatorAddress', type: 'address' },
443
- {
444
- internalType: 'address',
445
- name: 'scheduledCallerAddress',
446
- type: 'address',
447
- },
448
- { internalType: 'address', name: 'lpTokenAddress', type: 'address' },
449
- { internalType: 'address', name: 'referenceAsset', type: 'address' },
450
- {
451
- internalType: 'address',
452
- name: 'futureOwnerAddress',
453
- type: 'address',
454
- },
455
- {
456
- internalType: 'address',
457
- name: 'assetsWhitelistAddress',
458
- type: 'address',
459
- },
460
- ],
461
- internalType: 'struct ITokenizedVault.ConfigInfo',
462
- name: 'newConfig',
463
- type: 'tuple',
464
- },
465
- ],
466
- name: 'configure',
467
- outputs: [],
468
- stateMutability: 'nonpayable',
469
- type: 'function',
470
- },
471
- {
472
- inputs: [
473
- { internalType: 'address', name: 'assetIn', type: 'address' },
474
- { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
475
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
476
- ],
477
- name: 'deposit',
478
- outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
479
- stateMutability: 'nonpayable',
480
- type: 'function',
481
- },
482
- {
483
- inputs: [],
484
- name: 'depositCap',
485
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
486
- stateMutability: 'view',
487
- type: 'function',
488
- },
489
- {
490
- inputs: [
491
- { internalType: 'address', name: 'inputAssetAddr', type: 'address' },
492
- { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },
493
- { internalType: 'address', name: 'subAccountAddr', type: 'address' },
494
- ],
495
- name: 'depositToSubaccount',
496
- outputs: [],
497
- stateMutability: 'nonpayable',
498
- type: 'function',
499
- },
500
- {
501
- inputs: [
502
- { internalType: 'address', name: 'assetIn', type: 'address' },
503
- { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
504
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
505
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
506
- { internalType: 'bytes32', name: 'r', type: 'bytes32' },
507
- { internalType: 'bytes32', name: 's', type: 'bytes32' },
508
- { internalType: 'uint8', name: 'v', type: 'uint8' },
509
- ],
510
- name: 'depositWithPermit',
511
- outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
512
- stateMutability: 'nonpayable',
513
- type: 'function',
514
- },
515
- {
516
- inputs: [],
517
- name: 'depositsPaused',
518
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
519
- stateMutability: 'view',
520
- type: 'function',
521
- },
522
- {
523
- inputs: [{ internalType: 'address', name: 'addr', type: 'address' }],
524
- name: 'disableSubAccount',
525
- outputs: [],
526
- stateMutability: 'nonpayable',
527
- type: 'function',
528
- },
529
- {
530
- inputs: [
531
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
532
- ],
533
- name: 'emergencyWithdraw',
534
- outputs: [],
535
- stateMutability: 'nonpayable',
536
- type: 'function',
537
- },
538
- {
539
- inputs: [
540
- { internalType: 'address', name: 'addr', type: 'address' },
541
- { internalType: 'uint8', name: 'accountType', type: 'uint8' },
542
- ],
543
- name: 'enableSubAccount',
544
- outputs: [],
545
- stateMutability: 'nonpayable',
546
- type: 'function',
547
- },
548
- {
549
- inputs: [],
550
- name: 'externalAssets',
551
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
552
- stateMutability: 'view',
553
- type: 'function',
554
- },
555
- {
556
- inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
557
- name: 'feeCollectors',
558
- outputs: [
559
- { internalType: 'address', name: 'collectorAddress', type: 'address' },
560
- { internalType: 'uint256', name: 'percentage', type: 'uint256' },
561
- ],
562
- stateMutability: 'view',
563
- type: 'function',
564
- },
565
- {
566
- inputs: [],
567
- name: 'feesTimestamp',
568
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
569
- stateMutability: 'view',
570
- type: 'function',
571
- },
572
- {
573
- inputs: [
574
- { internalType: 'uint256', name: 'year', type: 'uint256' },
575
- { internalType: 'uint256', name: 'month', type: 'uint256' },
576
- { internalType: 'uint256', name: 'day', type: 'uint256' },
577
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
578
- ],
579
- name: 'getBurnableAmountByReceiver',
580
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
581
- stateMutability: 'view',
582
- type: 'function',
583
- },
584
- {
585
- inputs: [
586
- {
587
- internalType: 'uint256',
588
- name: 'externalAssetsAmount',
589
- type: 'uint256',
590
- },
591
- ],
592
- name: 'getChangePercentage',
593
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
594
- stateMutability: 'view',
595
- type: 'function',
596
- },
597
- {
598
- inputs: [],
599
- name: 'getFeeCollectors',
600
- outputs: [
601
- {
602
- components: [
603
- {
604
- internalType: 'address',
605
- name: 'collectorAddress',
606
- type: 'address',
607
- },
608
- { internalType: 'uint256', name: 'percentage', type: 'uint256' },
609
- ],
610
- internalType: 'struct IFeeCollectorsAware.CollectorDefinition[]',
611
- name: '',
612
- type: 'tuple[]',
613
- },
614
- ],
615
- stateMutability: 'view',
616
- type: 'function',
617
- },
618
- {
619
- inputs: [],
620
- name: 'getMaxAllowedChange',
621
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
622
- stateMutability: 'view',
623
- type: 'function',
624
- },
625
- {
626
- inputs: [],
627
- name: 'getPerformanceFeeRecipients',
628
- outputs: [
629
- {
630
- components: [
631
- {
632
- internalType: 'address',
633
- name: 'collectorAddress',
634
- type: 'address',
635
- },
636
- { internalType: 'uint256', name: 'percentage', type: 'uint256' },
637
- ],
638
- internalType: 'struct IFeeCollectorsAware.CollectorDefinition[]',
639
- name: '',
640
- type: 'tuple[]',
641
- },
642
- ],
643
- stateMutability: 'view',
644
- type: 'function',
645
- },
646
- {
647
- inputs: [
648
- { internalType: 'uint256', name: 'year', type: 'uint256' },
649
- { internalType: 'uint256', name: 'month', type: 'uint256' },
650
- { internalType: 'uint256', name: 'day', type: 'uint256' },
651
- ],
652
- name: 'getRequirementByDate',
653
- outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],
654
- stateMutability: 'view',
655
- type: 'function',
656
- },
657
- {
658
- inputs: [
659
- { internalType: 'uint256', name: 'year', type: 'uint256' },
660
- { internalType: 'uint256', name: 'month', type: 'uint256' },
661
- { internalType: 'uint256', name: 'day', type: 'uint256' },
662
- ],
663
- name: 'getScheduledTransactionsByDate',
664
- outputs: [
665
- { internalType: 'uint256', name: 'totalTransactions', type: 'uint256' },
666
- { internalType: 'uint256', name: 'executionEpoch', type: 'uint256' },
667
- ],
668
- stateMutability: 'view',
669
- type: 'function',
670
- },
671
- {
672
- inputs: [],
673
- name: 'getSharePrice',
674
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
675
- stateMutability: 'view',
676
- type: 'function',
677
- },
678
- {
679
- inputs: [],
680
- name: 'getTotalAssets',
681
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
682
- stateMutability: 'view',
683
- type: 'function',
684
- },
685
- {
686
- inputs: [],
687
- name: 'getWithdrawalEpoch',
688
- outputs: [
689
- { internalType: 'uint256', name: 'year', type: 'uint256' },
690
- { internalType: 'uint256', name: 'month', type: 'uint256' },
691
- { internalType: 'uint256', name: 'day', type: 'uint256' },
692
- { internalType: 'uint256', name: 'claimableEpoch', type: 'uint256' },
693
- ],
694
- stateMutability: 'view',
695
- type: 'function',
696
- },
697
- {
698
- inputs: [],
699
- name: 'globalLiabilityShares',
700
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
701
- stateMutability: 'view',
702
- type: 'function',
703
- },
704
- {
705
- inputs: [],
706
- name: 'highWatermark',
707
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
708
- stateMutability: 'view',
709
- type: 'function',
710
- },
711
- {
712
- inputs: [{ internalType: 'address', name: 'ownerAddr', type: 'address' }],
713
- name: 'initialize',
714
- outputs: [],
715
- stateMutability: 'nonpayable',
716
- type: 'function',
717
- },
718
- {
719
- inputs: [
720
- { internalType: 'uint256', name: 'shares', type: 'uint256' },
721
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
722
- ],
723
- name: 'instantRedeem',
724
- outputs: [],
725
- stateMutability: 'nonpayable',
726
- type: 'function',
727
- },
728
- {
729
- inputs: [],
730
- name: 'instantRedemptionFee',
731
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
732
- stateMutability: 'view',
733
- type: 'function',
734
- },
735
- {
736
- inputs: [],
737
- name: 'keepFeeInVault',
738
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
739
- stateMutability: 'view',
740
- type: 'function',
741
- },
742
- {
743
- inputs: [],
744
- name: 'lagDuration',
745
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
746
- stateMutability: 'view',
747
- type: 'function',
748
- },
749
- {
750
- inputs: [],
751
- name: 'lpTokenAddress',
752
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
753
- stateMutability: 'view',
754
- type: 'function',
755
- },
756
- {
757
- inputs: [],
758
- name: 'managementFeePercent',
759
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
760
- stateMutability: 'view',
761
- type: 'function',
762
- },
763
- {
764
- inputs: [],
765
- name: 'maxChangePercent',
766
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
767
- stateMutability: 'view',
768
- type: 'function',
769
- },
770
- {
771
- inputs: [],
772
- name: 'maxDepositAmount',
773
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
774
- stateMutability: 'view',
775
- type: 'function',
776
- },
777
- {
778
- inputs: [],
779
- name: 'maxWithdrawalAmount',
780
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
781
- stateMutability: 'view',
782
- type: 'function',
783
- },
784
- {
785
- inputs: [],
786
- name: 'operatorAddress',
787
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
788
- stateMutability: 'view',
789
- type: 'function',
790
- },
791
- {
792
- inputs: [],
793
- name: 'owner',
794
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
795
- stateMutability: 'view',
796
- type: 'function',
797
- },
798
- {
799
- inputs: [
800
- { internalType: 'bool', name: 'bPauseDeposits', type: 'bool' },
801
- { internalType: 'bool', name: 'bPauseWithdrawals', type: 'bool' },
802
- ],
803
- name: 'pauseDepositsAndWithdrawals',
804
- outputs: [],
805
- stateMutability: 'nonpayable',
806
- type: 'function',
807
- },
808
- {
809
- inputs: [],
810
- name: 'pendingOwner',
811
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
812
- stateMutability: 'view',
813
- type: 'function',
814
- },
815
- {
816
- inputs: [],
817
- name: 'performanceFeeRate',
818
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
819
- stateMutability: 'view',
820
- type: 'function',
821
- },
822
- {
823
- inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
824
- name: 'performanceFeeRecipients',
825
- outputs: [
826
- { internalType: 'address', name: 'collectorAddress', type: 'address' },
827
- { internalType: 'uint256', name: 'percentage', type: 'uint256' },
828
- ],
829
- stateMutability: 'view',
830
- type: 'function',
831
- },
832
- {
833
- inputs: [
834
- { internalType: 'address', name: 'assetIn', type: 'address' },
835
- { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
836
- ],
837
- name: 'previewDeposit',
838
- outputs: [
839
- { internalType: 'uint256', name: '', type: 'uint256' },
840
- { internalType: 'uint256', name: '', type: 'uint256' },
841
- ],
842
- stateMutability: 'view',
843
- type: 'function',
844
- },
845
- {
846
- inputs: [
847
- { internalType: 'uint256', name: 'shares', type: 'uint256' },
848
- { internalType: 'bool', name: 'isInstant', type: 'bool' },
849
- ],
850
- name: 'previewRedemption',
851
- outputs: [
852
- { internalType: 'uint256', name: 'assetsAmount', type: 'uint256' },
853
- { internalType: 'uint256', name: 'assetsAfterFee', type: 'uint256' },
854
- ],
855
- stateMutability: 'view',
856
- type: 'function',
857
- },
858
- {
859
- inputs: [
860
- { internalType: 'uint256', name: 'year', type: 'uint256' },
861
- { internalType: 'uint256', name: 'month', type: 'uint256' },
862
- { internalType: 'uint256', name: 'day', type: 'uint256' },
863
- { internalType: 'uint256', name: 'maxLimit', type: 'uint256' },
864
- ],
865
- name: 'processAllClaimsByDate',
866
- outputs: [],
867
- stateMutability: 'nonpayable',
868
- type: 'function',
869
- },
870
- {
871
- inputs: [
872
- { internalType: 'uint256', name: 'shares', type: 'uint256' },
873
- { internalType: 'address', name: 'receiverAddr', type: 'address' },
874
- ],
875
- name: 'requestRedeem',
876
- outputs: [
877
- { internalType: 'uint256', name: 'claimableEpoch', type: 'uint256' },
878
- { internalType: 'uint256', name: 'year', type: 'uint256' },
879
- { internalType: 'uint256', name: 'month', type: 'uint256' },
880
- { internalType: 'uint256', name: 'day', type: 'uint256' },
881
- ],
882
- stateMutability: 'nonpayable',
883
- type: 'function',
884
- },
885
- {
886
- inputs: [],
887
- name: 'scheduledCallerAddress',
888
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
889
- stateMutability: 'view',
890
- type: 'function',
891
- },
892
- {
893
- inputs: [],
894
- name: 'sendersWhitelistAddress',
895
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
896
- stateMutability: 'view',
897
- type: 'function',
898
- },
899
- {
900
- inputs: [],
901
- name: 'totalCollectableFees',
902
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
903
- stateMutability: 'view',
904
- type: 'function',
905
- },
906
- {
907
- inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
908
- name: 'transferOwnership',
909
- outputs: [],
910
- stateMutability: 'nonpayable',
911
- type: 'function',
912
- },
913
- {
914
- inputs: [
915
- { internalType: 'address', name: 'newWhitelistAddr', type: 'address' },
916
- ],
917
- name: 'updateAssetsWhitelist',
918
- outputs: [],
919
- stateMutability: 'nonpayable',
920
- type: 'function',
921
- },
922
- {
923
- inputs: [
924
- {
925
- components: [
926
- {
927
- internalType: 'address',
928
- name: 'collectorAddress',
929
- type: 'address',
930
- },
931
- { internalType: 'uint256', name: 'percentage', type: 'uint256' },
932
- ],
933
- internalType: 'struct IFeeCollectorsAware.CollectorDefinition[]',
934
- name: 'collectors',
935
- type: 'tuple[]',
936
- },
937
- ],
938
- name: 'updateFeeCollectors',
939
- outputs: [],
940
- stateMutability: 'nonpayable',
941
- type: 'function',
942
- },
943
- {
944
- inputs: [
945
- { internalType: 'uint256', name: 'newValue', type: 'uint256' },
946
- { internalType: 'bool', name: 'pKeepFeeInVault', type: 'bool' },
947
- ],
948
- name: 'updateInstantRedemptionFee',
949
- outputs: [],
950
- stateMutability: 'nonpayable',
951
- type: 'function',
952
- },
953
- {
954
- inputs: [
955
- { internalType: 'uint256', name: 'newMaxDepositAmount', type: 'uint256' },
956
- {
957
- internalType: 'uint256',
958
- name: 'newMaxWithdrawalAmount',
959
- type: 'uint256',
960
- },
961
- { internalType: 'uint256', name: 'newDepositCap', type: 'uint256' },
962
- ],
963
- name: 'updateLimits',
964
- outputs: [],
965
- stateMutability: 'nonpayable',
966
- type: 'function',
967
- },
968
- {
969
- inputs: [
970
- {
971
- internalType: 'uint256',
972
- name: 'newManagementFeePercent',
973
- type: 'uint256',
974
- },
975
- ],
976
- name: 'updateManagementFee',
977
- outputs: [],
978
- stateMutability: 'nonpayable',
979
- type: 'function',
980
- },
981
- {
982
- inputs: [{ internalType: 'uint256', name: 'newValue', type: 'uint256' }],
983
- name: 'updateMaxChangePercent',
984
- outputs: [],
985
- stateMutability: 'nonpayable',
986
- type: 'function',
987
- },
988
- {
989
- inputs: [{ internalType: 'uint256', name: 'newValue', type: 'uint256' }],
990
- name: 'updatePerformanceFee',
991
- outputs: [],
992
- stateMutability: 'nonpayable',
993
- type: 'function',
994
- },
995
- {
996
- inputs: [
997
- {
998
- components: [
999
- {
1000
- internalType: 'address',
1001
- name: 'collectorAddress',
1002
- type: 'address',
1003
- },
1004
- { internalType: 'uint256', name: 'percentage', type: 'uint256' },
1005
- ],
1006
- internalType: 'struct IFeeCollectorsAware.CollectorDefinition[]',
1007
- name: 'collectors',
1008
- type: 'tuple[]',
1009
- },
1010
- ],
1011
- name: 'updatePerformanceFeeCollectors',
1012
- outputs: [],
1013
- stateMutability: 'nonpayable',
1014
- type: 'function',
1015
- },
1016
- {
1017
- inputs: [
1018
- { internalType: 'address', name: 'newWhitelistAddr', type: 'address' },
1019
- ],
1020
- name: 'updateSendersWhitelist',
1021
- outputs: [],
1022
- stateMutability: 'nonpayable',
1023
- type: 'function',
1024
- },
1025
- {
1026
- inputs: [{ internalType: 'uint256', name: 'newDuration', type: 'uint256' }],
1027
- name: 'updateTimelockDuration',
1028
- outputs: [],
1029
- stateMutability: 'nonpayable',
1030
- type: 'function',
1031
- },
1032
- {
1033
- inputs: [
1034
- {
1035
- internalType: 'uint256',
1036
- name: 'externalAssetsAmount',
1037
- type: 'uint256',
1038
- },
1039
- ],
1040
- name: 'updateTotalAssets',
1041
- outputs: [],
1042
- stateMutability: 'nonpayable',
1043
- type: 'function',
1044
- },
1045
- {
1046
- inputs: [],
1047
- name: 'watermarkTimeWindow',
1048
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1049
- stateMutability: 'view',
1050
- type: 'function',
1051
- },
1052
- {
1053
- inputs: [],
1054
- name: 'watermarkUpdatedOn',
1055
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1056
- stateMutability: 'view',
1057
- type: 'function',
1058
- },
1059
- {
1060
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
1061
- name: 'whitelistedSubAccounts',
1062
- outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
1063
- stateMutability: 'view',
1064
- type: 'function',
1065
- },
1066
- {
1067
- inputs: [
1068
- { internalType: 'address', name: 'inputAssetAddr', type: 'address' },
1069
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
1070
- { internalType: 'address', name: 'subAccountAddr', type: 'address' },
1071
- ],
1072
- name: 'withdrawFromSubaccount',
1073
- outputs: [],
1074
- stateMutability: 'nonpayable',
1075
- type: 'function',
1076
- },
1077
- {
1078
- inputs: [],
1079
- name: 'withdrawalFee',
1080
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1081
- stateMutability: 'view',
1082
- type: 'function',
1083
- },
1084
- {
1085
- inputs: [],
1086
- name: 'withdrawalsPaused',
1087
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1088
- stateMutability: 'view',
1089
- type: 'function',
1090
- },
1091
- ];
1092
- //# sourceMappingURL=TokenizedVaultV2WhitelistedAllocation.js.map