@augustdigital/sdk 4.15.5-alpha.0 → 4.17.0-alpha.0
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.
- package/lib/abis/AddressResolver.d.ts +28 -40
- package/lib/abis/ChainlinkV3.d.ts +83 -109
- package/lib/abis/ERC20.d.ts +137 -191
- package/lib/abis/ERC20_Bytes32.d.ts +125 -178
- package/lib/abis/ERC4626.d.ts +341 -480
- package/lib/abis/ERC721.d.ts +213 -299
- package/lib/abis/FeeOracle.d.ts +112 -149
- package/lib/abis/LendingPool.d.ts +1293 -1702
- package/lib/abis/LendingPoolV2.d.ts +37 -42
- package/lib/abis/LendingPoolV3.d.ts +25 -29
- package/lib/abis/Loan.d.ts +768 -1007
- package/lib/abis/Multicall3.d.ts +30 -43
- package/lib/abis/PoolAdapter.d.ts +35 -46
- package/lib/abis/RewardDistributor.d.ts +33 -38
- package/lib/abis/SmartAccount.d.ts +16 -23
- package/lib/abis/TextResolver.d.ts +16 -23
- package/lib/abis/TokenizedVaultV2.d.ts +1292 -1684
- package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +55 -62
- package/lib/abis/TokenizedVaultV2Receipt.d.ts +1463 -1934
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +250 -333
- package/lib/abis/UniversalResolverResolve.d.ts +69 -97
- package/lib/abis/UniversalSignatureValidator.d.ts +17 -23
- package/lib/abis/WrapperAdapter.d.ts +67 -89
- package/lib/adapters/evm/getters.d.ts +2 -8
- package/lib/adapters/evm/index.d.ts +15 -19
- package/lib/adapters/evm/utils.d.ts +2 -12
- package/lib/adapters/solana/constants.d.ts +17 -23
- package/lib/adapters/solana/getters.d.ts +1 -4
- package/lib/adapters/solana/idl/vault-idl.d.ts +279 -340
- package/lib/adapters/solana/index.d.ts +116 -212
- package/lib/adapters/solana/types.d.ts +50 -50
- package/lib/adapters/solana/utils.d.ts +78 -139
- package/lib/adapters/solana/vault.actions.d.ts +12 -37
- package/lib/adapters/sui/constants.d.ts +9 -9
- package/lib/adapters/sui/constants.js +8 -1
- package/lib/adapters/sui/constants.js.map +1 -1
- package/lib/adapters/sui/getters.d.ts +1 -3
- package/lib/adapters/sui/index.d.ts +21 -29
- package/lib/adapters/sui/transformer.d.ts +2 -6
- package/lib/adapters/sui/types.d.ts +56 -56
- package/lib/adapters/sui/utils.d.ts +1 -4
- package/lib/core/analytics/constants.d.ts +12 -0
- package/lib/core/analytics/constants.js +49 -0
- package/lib/core/analytics/constants.js.map +1 -0
- package/lib/core/analytics/index.d.ts +6 -0
- package/lib/core/analytics/index.js +31 -0
- package/lib/core/analytics/index.js.map +1 -0
- package/lib/core/analytics/instrumentation.d.ts +2 -0
- package/lib/core/analytics/instrumentation.js +150 -0
- package/lib/core/analytics/instrumentation.js.map +1 -0
- package/lib/core/analytics/metrics.d.ts +12 -0
- package/lib/core/analytics/metrics.js +133 -0
- package/lib/core/analytics/metrics.js.map +1 -0
- package/lib/core/analytics/sentry.d.ts +9 -0
- package/lib/core/analytics/sentry.js +166 -0
- package/lib/core/analytics/sentry.js.map +1 -0
- package/lib/core/analytics/types.d.ts +21 -0
- package/lib/core/analytics/types.js +3 -0
- package/lib/core/analytics/types.js.map +1 -0
- package/lib/core/analytics/user-identity.d.ts +8 -0
- package/lib/core/analytics/user-identity.js +82 -0
- package/lib/core/analytics/user-identity.js.map +1 -0
- package/lib/core/analytics/version.d.ts +1 -0
- package/lib/core/analytics/version.js +5 -0
- package/lib/core/analytics/version.js.map +1 -0
- package/lib/core/base.class.d.ts +25 -30
- package/lib/core/base.class.js +5 -1
- package/lib/core/base.class.js.map +1 -1
- package/lib/core/constants/adapters.d.ts +83 -111
- package/lib/core/constants/core.d.ts +69 -76
- package/lib/core/constants/vaults.d.ts +5 -63
- package/lib/core/constants/vaults.js +3 -3
- package/lib/core/constants/vaults.js.map +1 -1
- package/lib/core/constants/web3.d.ts +18 -19
- package/lib/core/fetcher.d.ts +17 -71
- package/lib/core/fetcher.js +20 -2
- package/lib/core/fetcher.js.map +1 -1
- package/lib/core/helpers/adapters.d.ts +2 -7
- package/lib/core/helpers/core.d.ts +8 -33
- package/lib/core/helpers/signer.d.ts +2 -6
- package/lib/core/helpers/vaults.d.ts +15 -38
- package/lib/core/helpers/web3.d.ts +19 -87
- package/lib/core/index.d.ts +1 -0
- package/lib/core/index.js +1 -0
- package/lib/core/index.js.map +1 -1
- package/lib/core/logger/index.d.ts +11 -11
- package/lib/core/logger/slack.d.ts +8 -9
- package/lib/index.d.ts +1 -61
- package/lib/main.d.ts +141 -158
- package/lib/main.js +3 -0
- package/lib/main.js.map +1 -1
- package/lib/modules/vaults/adapter.helpers.d.ts +38 -72
- package/lib/modules/vaults/fetcher.d.ts +69 -85
- package/lib/modules/vaults/getters.d.ts +100 -205
- package/lib/modules/vaults/index.d.ts +1 -6
- package/lib/modules/vaults/main.d.ts +131 -224
- package/lib/modules/vaults/main.js +8 -1
- package/lib/modules/vaults/main.js.map +1 -1
- package/lib/modules/vaults/read.actions.d.ts +2 -8
- package/lib/modules/vaults/utils.d.ts +19 -55
- package/lib/modules/vaults/write.actions.d.ts +14 -26
- package/lib/services/coingecko/fetcher.d.ts +1 -4
- package/lib/services/debank/fetcher.d.ts +1 -4
- package/lib/services/debank/utils.d.ts +27 -38
- package/lib/services/octavfi/fetcher.d.ts +1 -3
- package/lib/services/octavfi/types.d.ts +24 -24
- package/lib/services/octavfi/utils.d.ts +2 -6
- package/lib/services/subgraph/fetcher.d.ts +2 -12
- package/lib/services/subgraph/vaults.d.ts +9 -42
- package/lib/types/points.d.ts +26 -35
- package/lib/types/pools.d.ts +112 -149
- package/lib/types/staking.d.ts +25 -25
- package/lib/types/subgraph.d.ts +33 -33
- package/lib/types/vaults.d.ts +219 -232
- package/lib/types/web3.d.ts +9 -9
- package/lib/types/webserver.d.ts +448 -466
- package/package.json +16 -13
package/lib/abis/ERC4626.d.ts
CHANGED
|
@@ -1,502 +1,363 @@
|
|
|
1
|
-
export declare const ABI_ERC4626: readonly [
|
|
2
|
-
{
|
|
1
|
+
export declare const ABI_ERC4626: readonly [{
|
|
3
2
|
readonly anonymous: false;
|
|
4
|
-
readonly inputs: readonly [
|
|
5
|
-
{
|
|
3
|
+
readonly inputs: readonly [{
|
|
6
4
|
readonly indexed: true;
|
|
7
|
-
readonly name:
|
|
8
|
-
readonly type:
|
|
9
|
-
|
|
10
|
-
{
|
|
5
|
+
readonly name: "owner";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}, {
|
|
11
8
|
readonly indexed: true;
|
|
12
|
-
readonly name:
|
|
13
|
-
readonly type:
|
|
14
|
-
|
|
15
|
-
{
|
|
9
|
+
readonly name: "spender";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
16
12
|
readonly indexed: false;
|
|
17
|
-
readonly name:
|
|
18
|
-
readonly type:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
{
|
|
13
|
+
readonly name: "value";
|
|
14
|
+
readonly type: "uint256";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "Approval";
|
|
17
|
+
readonly type: "event";
|
|
18
|
+
}, {
|
|
25
19
|
readonly anonymous: false;
|
|
26
|
-
readonly inputs: readonly [
|
|
27
|
-
{
|
|
20
|
+
readonly inputs: readonly [{
|
|
28
21
|
readonly indexed: true;
|
|
29
|
-
readonly name:
|
|
30
|
-
readonly type:
|
|
31
|
-
|
|
32
|
-
{
|
|
22
|
+
readonly name: "sender";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
33
25
|
readonly indexed: true;
|
|
34
|
-
readonly name:
|
|
35
|
-
readonly type:
|
|
36
|
-
|
|
37
|
-
{
|
|
26
|
+
readonly name: "receiver";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}, {
|
|
38
29
|
readonly indexed: false;
|
|
39
|
-
readonly name:
|
|
40
|
-
readonly type:
|
|
41
|
-
|
|
42
|
-
{
|
|
30
|
+
readonly name: "assets";
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
}, {
|
|
43
33
|
readonly indexed: false;
|
|
44
|
-
readonly name:
|
|
45
|
-
readonly type:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
{
|
|
34
|
+
readonly name: "shares";
|
|
35
|
+
readonly type: "uint256";
|
|
36
|
+
}];
|
|
37
|
+
readonly name: "Deposit";
|
|
38
|
+
readonly type: "event";
|
|
39
|
+
}, {
|
|
52
40
|
readonly anonymous: false;
|
|
53
|
-
readonly inputs: readonly [
|
|
54
|
-
{
|
|
41
|
+
readonly inputs: readonly [{
|
|
55
42
|
readonly indexed: true;
|
|
56
|
-
readonly name:
|
|
57
|
-
readonly type:
|
|
58
|
-
|
|
59
|
-
{
|
|
43
|
+
readonly name: "from";
|
|
44
|
+
readonly type: "address";
|
|
45
|
+
}, {
|
|
60
46
|
readonly indexed: true;
|
|
61
|
-
readonly name:
|
|
62
|
-
readonly type:
|
|
63
|
-
|
|
64
|
-
{
|
|
47
|
+
readonly name: "to";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}, {
|
|
65
50
|
readonly indexed: false;
|
|
66
|
-
readonly name:
|
|
67
|
-
readonly type:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
readonly
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
{
|
|
51
|
+
readonly name: "value";
|
|
52
|
+
readonly type: "uint256";
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "Transfer";
|
|
55
|
+
readonly type: "event";
|
|
56
|
+
}, {
|
|
74
57
|
readonly anonymous: false;
|
|
75
|
-
readonly inputs: readonly [
|
|
76
|
-
{
|
|
58
|
+
readonly inputs: readonly [{
|
|
77
59
|
readonly indexed: true;
|
|
78
|
-
readonly name:
|
|
79
|
-
readonly type:
|
|
80
|
-
|
|
81
|
-
{
|
|
60
|
+
readonly name: "sender";
|
|
61
|
+
readonly type: "address";
|
|
62
|
+
}, {
|
|
82
63
|
readonly indexed: true;
|
|
83
|
-
readonly name:
|
|
84
|
-
readonly type:
|
|
85
|
-
|
|
86
|
-
{
|
|
64
|
+
readonly name: "receiver";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}, {
|
|
87
67
|
readonly indexed: true;
|
|
88
|
-
readonly name:
|
|
89
|
-
readonly type:
|
|
90
|
-
|
|
91
|
-
{
|
|
68
|
+
readonly name: "owner";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}, {
|
|
92
71
|
readonly indexed: false;
|
|
93
|
-
readonly name:
|
|
94
|
-
readonly type:
|
|
95
|
-
|
|
96
|
-
{
|
|
72
|
+
readonly name: "assets";
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
}, {
|
|
97
75
|
readonly indexed: false;
|
|
98
|
-
readonly name:
|
|
99
|
-
readonly type:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
readonly
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
readonly name:
|
|
109
|
-
readonly type:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
readonly type:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
readonly
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
readonly
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
readonly
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
readonly name: 'amount';
|
|
133
|
-
readonly type: 'uint256';
|
|
134
|
-
},
|
|
135
|
-
];
|
|
136
|
-
readonly name: 'approve';
|
|
137
|
-
readonly outputs: readonly [
|
|
138
|
-
{
|
|
139
|
-
readonly type: 'bool';
|
|
140
|
-
},
|
|
141
|
-
];
|
|
142
|
-
readonly stateMutability: 'nonpayable';
|
|
143
|
-
readonly type: 'function';
|
|
144
|
-
},
|
|
145
|
-
{
|
|
76
|
+
readonly name: "shares";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
}];
|
|
79
|
+
readonly name: "Withdraw";
|
|
80
|
+
readonly type: "event";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly name: "owner";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: "spender";
|
|
87
|
+
readonly type: "address";
|
|
88
|
+
}];
|
|
89
|
+
readonly name: "allowance";
|
|
90
|
+
readonly outputs: readonly [{
|
|
91
|
+
readonly type: "uint256";
|
|
92
|
+
}];
|
|
93
|
+
readonly stateMutability: "view";
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly name: "spender";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "amount";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
}];
|
|
103
|
+
readonly name: "approve";
|
|
104
|
+
readonly outputs: readonly [{
|
|
105
|
+
readonly type: "bool";
|
|
106
|
+
}];
|
|
107
|
+
readonly stateMutability: "nonpayable";
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
}, {
|
|
146
110
|
readonly inputs: readonly [];
|
|
147
|
-
readonly name:
|
|
148
|
-
readonly outputs: readonly [
|
|
149
|
-
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
readonly
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
readonly type:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
readonly
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
readonly
|
|
168
|
-
|
|
169
|
-
];
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
readonly
|
|
185
|
-
|
|
186
|
-
];
|
|
187
|
-
readonly stateMutability:
|
|
188
|
-
readonly type:
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
readonly
|
|
195
|
-
|
|
196
|
-
];
|
|
197
|
-
readonly name:
|
|
198
|
-
readonly outputs: readonly [
|
|
199
|
-
|
|
200
|
-
readonly
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
readonly
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
readonly
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
readonly
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
readonly inputs: readonly [
|
|
230
|
-
|
|
231
|
-
readonly
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
readonly
|
|
247
|
-
|
|
248
|
-
readonly
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
readonly
|
|
254
|
-
|
|
255
|
-
readonly
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
readonly
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
readonly
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
readonly inputs: readonly [
|
|
281
|
-
|
|
282
|
-
readonly
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
readonly
|
|
298
|
-
|
|
299
|
-
readonly
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
readonly
|
|
309
|
-
|
|
310
|
-
readonly name:
|
|
311
|
-
readonly type:
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
readonly
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
readonly name:
|
|
321
|
-
readonly type:
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
readonly
|
|
329
|
-
|
|
330
|
-
];
|
|
331
|
-
readonly stateMutability:
|
|
332
|
-
readonly type:
|
|
333
|
-
|
|
334
|
-
{
|
|
335
|
-
readonly inputs: readonly [
|
|
336
|
-
{
|
|
337
|
-
readonly name: 'shares';
|
|
338
|
-
readonly type: 'uint256';
|
|
339
|
-
},
|
|
340
|
-
];
|
|
341
|
-
readonly name: 'previewMint';
|
|
342
|
-
readonly outputs: readonly [
|
|
343
|
-
{
|
|
344
|
-
readonly name: 'assets';
|
|
345
|
-
readonly type: 'uint256';
|
|
346
|
-
},
|
|
347
|
-
];
|
|
348
|
-
readonly stateMutability: 'view';
|
|
349
|
-
readonly type: 'function';
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
readonly inputs: readonly [
|
|
353
|
-
{
|
|
354
|
-
readonly name: 'shares';
|
|
355
|
-
readonly type: 'uint256';
|
|
356
|
-
},
|
|
357
|
-
];
|
|
358
|
-
readonly name: 'previewRedeem';
|
|
359
|
-
readonly outputs: readonly [
|
|
360
|
-
{
|
|
361
|
-
readonly name: 'assets';
|
|
362
|
-
readonly type: 'uint256';
|
|
363
|
-
},
|
|
364
|
-
];
|
|
365
|
-
readonly stateMutability: 'view';
|
|
366
|
-
readonly type: 'function';
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
readonly inputs: readonly [
|
|
370
|
-
{
|
|
371
|
-
readonly name: 'assets';
|
|
372
|
-
readonly type: 'uint256';
|
|
373
|
-
},
|
|
374
|
-
];
|
|
375
|
-
readonly name: 'previewWithdraw';
|
|
376
|
-
readonly outputs: readonly [
|
|
377
|
-
{
|
|
378
|
-
readonly name: 'shares';
|
|
379
|
-
readonly type: 'uint256';
|
|
380
|
-
},
|
|
381
|
-
];
|
|
382
|
-
readonly stateMutability: 'view';
|
|
383
|
-
readonly type: 'function';
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
readonly inputs: readonly [
|
|
387
|
-
{
|
|
388
|
-
readonly name: 'shares';
|
|
389
|
-
readonly type: 'uint256';
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
readonly name: 'receiver';
|
|
393
|
-
readonly type: 'address';
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
readonly name: 'owner';
|
|
397
|
-
readonly type: 'address';
|
|
398
|
-
},
|
|
399
|
-
];
|
|
400
|
-
readonly name: 'redeem';
|
|
401
|
-
readonly outputs: readonly [
|
|
402
|
-
{
|
|
403
|
-
readonly name: 'assets';
|
|
404
|
-
readonly type: 'uint256';
|
|
405
|
-
},
|
|
406
|
-
];
|
|
407
|
-
readonly stateMutability: 'nonpayable';
|
|
408
|
-
readonly type: 'function';
|
|
409
|
-
},
|
|
410
|
-
{
|
|
111
|
+
readonly name: "asset";
|
|
112
|
+
readonly outputs: readonly [{
|
|
113
|
+
readonly name: "assetTokenAddress";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}];
|
|
116
|
+
readonly stateMutability: "view";
|
|
117
|
+
readonly type: "function";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly name: "account";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
}];
|
|
123
|
+
readonly name: "balanceOf";
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
}];
|
|
127
|
+
readonly stateMutability: "view";
|
|
128
|
+
readonly type: "function";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [{
|
|
131
|
+
readonly name: "shares";
|
|
132
|
+
readonly type: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "convertToAssets";
|
|
135
|
+
readonly outputs: readonly [{
|
|
136
|
+
readonly name: "assets";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
}];
|
|
139
|
+
readonly stateMutability: "view";
|
|
140
|
+
readonly type: "function";
|
|
141
|
+
}, {
|
|
142
|
+
readonly inputs: readonly [{
|
|
143
|
+
readonly name: "assets";
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "convertToShares";
|
|
147
|
+
readonly outputs: readonly [{
|
|
148
|
+
readonly name: "shares";
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
}];
|
|
151
|
+
readonly stateMutability: "view";
|
|
152
|
+
readonly type: "function";
|
|
153
|
+
}, {
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly name: "assets";
|
|
156
|
+
readonly type: "uint256";
|
|
157
|
+
}, {
|
|
158
|
+
readonly name: "receiver";
|
|
159
|
+
readonly type: "address";
|
|
160
|
+
}];
|
|
161
|
+
readonly name: "deposit";
|
|
162
|
+
readonly outputs: readonly [{
|
|
163
|
+
readonly name: "shares";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
}];
|
|
166
|
+
readonly stateMutability: "nonpayable";
|
|
167
|
+
readonly type: "function";
|
|
168
|
+
}, {
|
|
169
|
+
readonly inputs: readonly [{
|
|
170
|
+
readonly name: "caller";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
}];
|
|
173
|
+
readonly name: "maxDeposit";
|
|
174
|
+
readonly outputs: readonly [{
|
|
175
|
+
readonly name: "maxAssets";
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
}];
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
}, {
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly name: "caller";
|
|
183
|
+
readonly type: "address";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "maxMint";
|
|
186
|
+
readonly outputs: readonly [{
|
|
187
|
+
readonly name: "maxShares";
|
|
188
|
+
readonly type: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
readonly stateMutability: "view";
|
|
191
|
+
readonly type: "function";
|
|
192
|
+
}, {
|
|
193
|
+
readonly inputs: readonly [{
|
|
194
|
+
readonly name: "owner";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
}];
|
|
197
|
+
readonly name: "maxRedeem";
|
|
198
|
+
readonly outputs: readonly [{
|
|
199
|
+
readonly name: "maxShares";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
}];
|
|
202
|
+
readonly stateMutability: "view";
|
|
203
|
+
readonly type: "function";
|
|
204
|
+
}, {
|
|
205
|
+
readonly inputs: readonly [{
|
|
206
|
+
readonly name: "owner";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
}];
|
|
209
|
+
readonly name: "maxWithdraw";
|
|
210
|
+
readonly outputs: readonly [{
|
|
211
|
+
readonly name: "maxAssets";
|
|
212
|
+
readonly type: "uint256";
|
|
213
|
+
}];
|
|
214
|
+
readonly stateMutability: "view";
|
|
215
|
+
readonly type: "function";
|
|
216
|
+
}, {
|
|
217
|
+
readonly inputs: readonly [{
|
|
218
|
+
readonly name: "shares";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "receiver";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}];
|
|
224
|
+
readonly name: "mint";
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly name: "assets";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}];
|
|
229
|
+
readonly stateMutability: "nonpayable";
|
|
230
|
+
readonly type: "function";
|
|
231
|
+
}, {
|
|
232
|
+
readonly inputs: readonly [{
|
|
233
|
+
readonly name: "assets";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
}];
|
|
236
|
+
readonly name: "previewDeposit";
|
|
237
|
+
readonly outputs: readonly [{
|
|
238
|
+
readonly name: "shares";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}];
|
|
241
|
+
readonly stateMutability: "view";
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
}, {
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly name: "shares";
|
|
246
|
+
readonly type: "uint256";
|
|
247
|
+
}];
|
|
248
|
+
readonly name: "previewMint";
|
|
249
|
+
readonly outputs: readonly [{
|
|
250
|
+
readonly name: "assets";
|
|
251
|
+
readonly type: "uint256";
|
|
252
|
+
}];
|
|
253
|
+
readonly stateMutability: "view";
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
}, {
|
|
256
|
+
readonly inputs: readonly [{
|
|
257
|
+
readonly name: "shares";
|
|
258
|
+
readonly type: "uint256";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "previewRedeem";
|
|
261
|
+
readonly outputs: readonly [{
|
|
262
|
+
readonly name: "assets";
|
|
263
|
+
readonly type: "uint256";
|
|
264
|
+
}];
|
|
265
|
+
readonly stateMutability: "view";
|
|
266
|
+
readonly type: "function";
|
|
267
|
+
}, {
|
|
268
|
+
readonly inputs: readonly [{
|
|
269
|
+
readonly name: "assets";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}];
|
|
272
|
+
readonly name: "previewWithdraw";
|
|
273
|
+
readonly outputs: readonly [{
|
|
274
|
+
readonly name: "shares";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
}];
|
|
277
|
+
readonly stateMutability: "view";
|
|
278
|
+
readonly type: "function";
|
|
279
|
+
}, {
|
|
280
|
+
readonly inputs: readonly [{
|
|
281
|
+
readonly name: "shares";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly name: "receiver";
|
|
285
|
+
readonly type: "address";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "owner";
|
|
288
|
+
readonly type: "address";
|
|
289
|
+
}];
|
|
290
|
+
readonly name: "redeem";
|
|
291
|
+
readonly outputs: readonly [{
|
|
292
|
+
readonly name: "assets";
|
|
293
|
+
readonly type: "uint256";
|
|
294
|
+
}];
|
|
295
|
+
readonly stateMutability: "nonpayable";
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
}, {
|
|
411
298
|
readonly inputs: readonly [];
|
|
412
|
-
readonly name:
|
|
413
|
-
readonly outputs: readonly [
|
|
414
|
-
|
|
415
|
-
readonly
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
readonly type: 'function';
|
|
421
|
-
},
|
|
422
|
-
{
|
|
299
|
+
readonly name: "totalAssets";
|
|
300
|
+
readonly outputs: readonly [{
|
|
301
|
+
readonly name: "totalManagedAssets";
|
|
302
|
+
readonly type: "uint256";
|
|
303
|
+
}];
|
|
304
|
+
readonly stateMutability: "view";
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
}, {
|
|
423
307
|
readonly inputs: readonly [];
|
|
424
|
-
readonly name:
|
|
425
|
-
readonly outputs: readonly [
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
readonly
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
readonly
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
readonly
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
readonly
|
|
446
|
-
|
|
447
|
-
readonly type:
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
readonly type:
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
readonly
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
readonly
|
|
479
|
-
|
|
480
|
-
readonly name: 'assets';
|
|
481
|
-
readonly type: 'uint256';
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
readonly name: 'receiver';
|
|
485
|
-
readonly type: 'address';
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
readonly name: 'owner';
|
|
489
|
-
readonly type: 'address';
|
|
490
|
-
},
|
|
491
|
-
];
|
|
492
|
-
readonly name: 'withdraw';
|
|
493
|
-
readonly outputs: readonly [
|
|
494
|
-
{
|
|
495
|
-
readonly name: 'shares';
|
|
496
|
-
readonly type: 'uint256';
|
|
497
|
-
},
|
|
498
|
-
];
|
|
499
|
-
readonly stateMutability: 'nonpayable';
|
|
500
|
-
readonly type: 'function';
|
|
501
|
-
},
|
|
502
|
-
];
|
|
308
|
+
readonly name: "totalSupply";
|
|
309
|
+
readonly outputs: readonly [{
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
}];
|
|
312
|
+
readonly stateMutability: "view";
|
|
313
|
+
readonly type: "function";
|
|
314
|
+
}, {
|
|
315
|
+
readonly inputs: readonly [{
|
|
316
|
+
readonly name: "to";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "amount";
|
|
320
|
+
readonly type: "uint256";
|
|
321
|
+
}];
|
|
322
|
+
readonly name: "transfer";
|
|
323
|
+
readonly outputs: readonly [{
|
|
324
|
+
readonly type: "bool";
|
|
325
|
+
}];
|
|
326
|
+
readonly stateMutability: "nonpayable";
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
}, {
|
|
329
|
+
readonly inputs: readonly [{
|
|
330
|
+
readonly name: "from";
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "to";
|
|
334
|
+
readonly type: "address";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "amount";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}];
|
|
339
|
+
readonly name: "transferFrom";
|
|
340
|
+
readonly outputs: readonly [{
|
|
341
|
+
readonly type: "bool";
|
|
342
|
+
}];
|
|
343
|
+
readonly stateMutability: "nonpayable";
|
|
344
|
+
readonly type: "function";
|
|
345
|
+
}, {
|
|
346
|
+
readonly inputs: readonly [{
|
|
347
|
+
readonly name: "assets";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly name: "receiver";
|
|
351
|
+
readonly type: "address";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "owner";
|
|
354
|
+
readonly type: "address";
|
|
355
|
+
}];
|
|
356
|
+
readonly name: "withdraw";
|
|
357
|
+
readonly outputs: readonly [{
|
|
358
|
+
readonly name: "shares";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}];
|
|
361
|
+
readonly stateMutability: "nonpayable";
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
}];
|