@defisaver/sdk 1.0.40 → 1.0.42-dev
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/esm/src/Action.d.ts +2 -2
- package/esm/src/actions/aave/AaveClaimAAVEAction.d.ts +14 -0
- package/esm/src/actions/aave/AaveClaimAAVEAction.js +22 -0
- package/esm/src/actions/aave/AaveSupplyAction.js +1 -0
- package/esm/src/actions/aave/index.d.ts +1 -0
- package/esm/src/actions/aave/index.js +1 -0
- package/esm/src/actions/basic/ApproveTokenAction.d.ts +14 -0
- package/esm/src/actions/basic/ApproveTokenAction.js +27 -0
- package/esm/src/actions/basic/LSVSellAction.d.ts +23 -0
- package/esm/src/actions/basic/LSVSellAction.js +61 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterDepositAction.d.ts +22 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterDepositAction.js +35 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterMintAction.d.ts +22 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterMintAction.js +35 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterRedeemAction.d.ts +20 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterRedeemAction.js +33 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterWithdrawAction.d.ts +20 -0
- package/esm/src/actions/basic/TokenizedVaultAdapterWithdrawAction.js +33 -0
- package/esm/src/actions/basic/index.d.ts +6 -0
- package/esm/src/actions/basic/index.js +6 -0
- package/esm/src/actions/index.d.ts +2 -1
- package/esm/src/actions/index.js +2 -1
- package/esm/src/actions/lsv/LSVBorrowAction.d.ts +14 -0
- package/esm/src/actions/lsv/LSVBorrowAction.js +19 -0
- package/esm/src/actions/lsv/LSVPaybackAction.d.ts +13 -0
- package/esm/src/actions/lsv/LSVPaybackAction.js +18 -0
- package/esm/src/actions/lsv/LSVSupplyAction.d.ts +15 -0
- package/esm/src/actions/lsv/LSVSupplyAction.js +21 -0
- package/esm/src/actions/lsv/LSVWithdrawAction.d.ts +15 -0
- package/esm/src/actions/lsv/LSVWithdrawAction.js +21 -0
- package/esm/src/actions/lsv/index.d.ts +4 -0
- package/esm/src/actions/lsv/index.js +4 -0
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.d.ts +14 -0
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.js +24 -0
- package/esm/src/actions/morpho/index.d.ts +1 -0
- package/esm/src/actions/morpho/index.js +1 -0
- package/esm/src/addresses.d.ts +27 -0
- package/esm/src/addresses.js +12 -0
- package/esm/src/index.d.ts +108 -0
- package/esm/src/types.d.ts +20 -20
- package/esm/src/utils/basic-utils.d.ts +6 -0
- package/esm/src/utils/basic-utils.js +7 -0
- package/esm/src/utils/index.d.ts +2 -1
- package/esm/src/utils/index.js +2 -1
- package/package.json +1 -1
- package/src/actions/aave/AaveClaimAAVEAction.ts +29 -0
- package/src/actions/aave/AaveSupplyAction.ts +1 -0
- package/src/actions/aave/index.ts +2 -1
- package/src/actions/basic/ApproveTokenAction.ts +34 -0
- package/src/actions/basic/LSVSellAction.ts +61 -0
- package/src/actions/basic/TokenizedVaultAdapterDepositAction.ts +38 -0
- package/src/actions/basic/TokenizedVaultAdapterMintAction.ts +38 -0
- package/src/actions/basic/TokenizedVaultAdapterRedeemAction.ts +36 -0
- package/src/actions/basic/TokenizedVaultAdapterWithdrawAction.ts +36 -0
- package/src/actions/basic/index.ts +6 -0
- package/src/actions/index.ts +2 -0
- package/src/actions/lsv/LSVBorrowAction.ts +21 -0
- package/src/actions/lsv/LSVPaybackAction.ts +20 -0
- package/src/actions/lsv/LSVSupplyAction.ts +23 -0
- package/src/actions/lsv/LSVWithdrawAction.ts +23 -0
- package/src/actions/lsv/index.ts +4 -0
- package/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.ts +32 -0
- package/src/actions/morpho/index.ts +1 -0
- package/src/addresses.ts +13 -2
- package/src/utils/basic-utils.ts +6 -0
- package/src/utils/index.ts +2 -0
- package/umd/index.js +1046 -558
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Action } from '../../../Action';
|
|
2
|
+
import { getAddr } from '../../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @category MorphoAaveV3
|
|
6
|
+
*/
|
|
7
|
+
export class MorphoAaveV3SetManagerAction extends Action {
|
|
8
|
+
/**
|
|
9
|
+
* @param emodeId
|
|
10
|
+
* @param manager
|
|
11
|
+
* @param isAllowed
|
|
12
|
+
*/
|
|
13
|
+
constructor(emodeId, manager, isAllowed) {
|
|
14
|
+
super('MorphoAaveV3SetManager', getAddr('MorphoAaveV3SetManager'), [
|
|
15
|
+
'uint256',
|
|
16
|
+
'address',
|
|
17
|
+
'bool',
|
|
18
|
+
], [emodeId, manager, isAllowed]);
|
|
19
|
+
this.mappableArgs = [
|
|
20
|
+
this.args[0],
|
|
21
|
+
this.args[1],
|
|
22
|
+
];
|
|
23
|
+
}
|
|
24
|
+
}
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -15,8 +15,10 @@ export declare const actionAddresses: {
|
|
|
15
15
|
UpdateSub: string;
|
|
16
16
|
TransferNFT: string;
|
|
17
17
|
CreateSub: string;
|
|
18
|
+
ApproveToken: string;
|
|
18
19
|
SDaiWrap: string;
|
|
19
20
|
SDaiUnwrap: string;
|
|
21
|
+
TokenizedVaultAdapter: string;
|
|
20
22
|
DFSSell: string;
|
|
21
23
|
McdGenerate: string;
|
|
22
24
|
McdGive: string;
|
|
@@ -42,6 +44,7 @@ export declare const actionAddresses: {
|
|
|
42
44
|
AaveWithdraw: string;
|
|
43
45
|
AaveCollateralSwitch: string;
|
|
44
46
|
AaveUnstake: string;
|
|
47
|
+
AaveClaimAAVE: string;
|
|
45
48
|
AaveV3Withdraw: string;
|
|
46
49
|
AaveV3SwapBorrowRateMode: string;
|
|
47
50
|
AaveV3Supply: string;
|
|
@@ -52,6 +55,11 @@ export declare const actionAddresses: {
|
|
|
52
55
|
AaveV3Borrow: string;
|
|
53
56
|
AaveV3ATokenPayback: string;
|
|
54
57
|
AaveV3View: string;
|
|
58
|
+
LSVWithdraw: string;
|
|
59
|
+
LSVBorrow: string;
|
|
60
|
+
LSVSupply: string;
|
|
61
|
+
LSVPayback: string;
|
|
62
|
+
LSVSell: string;
|
|
55
63
|
MorphoAaveV2Borrow: string;
|
|
56
64
|
MorphoAaveV2Payback: string;
|
|
57
65
|
MorphoAaveV2Supply: string;
|
|
@@ -61,6 +69,7 @@ export declare const actionAddresses: {
|
|
|
61
69
|
MorphoAaveV3Payback: string;
|
|
62
70
|
MorphoAaveV3Supply: string;
|
|
63
71
|
MorphoAaveV3Withdraw: string;
|
|
72
|
+
MorphoAaveV3SetManager: string;
|
|
64
73
|
SparkBorrow: string;
|
|
65
74
|
SparkClaimRewards: string;
|
|
66
75
|
SparkCollateralSwitch: string;
|
|
@@ -178,6 +187,7 @@ export declare const actionAddresses: {
|
|
|
178
187
|
SendTokenAndUnwrap: string;
|
|
179
188
|
ToggleSub: string;
|
|
180
189
|
TokenBalance: string;
|
|
190
|
+
TokenizedVaultAdapter: string;
|
|
181
191
|
AaveV3ATokenPayback: string;
|
|
182
192
|
AaveV3Borrow: string;
|
|
183
193
|
AaveV3CollateralSwitch: string;
|
|
@@ -206,6 +216,7 @@ export declare const actionAddresses: {
|
|
|
206
216
|
UpdateSub?: undefined;
|
|
207
217
|
TransferNFT?: undefined;
|
|
208
218
|
CreateSub?: undefined;
|
|
219
|
+
ApproveToken?: undefined;
|
|
209
220
|
SDaiWrap?: undefined;
|
|
210
221
|
SDaiUnwrap?: undefined;
|
|
211
222
|
McdGenerate?: undefined;
|
|
@@ -232,7 +243,13 @@ export declare const actionAddresses: {
|
|
|
232
243
|
AaveWithdraw?: undefined;
|
|
233
244
|
AaveCollateralSwitch?: undefined;
|
|
234
245
|
AaveUnstake?: undefined;
|
|
246
|
+
AaveClaimAAVE?: undefined;
|
|
235
247
|
AaveV3View?: undefined;
|
|
248
|
+
LSVWithdraw?: undefined;
|
|
249
|
+
LSVBorrow?: undefined;
|
|
250
|
+
LSVSupply?: undefined;
|
|
251
|
+
LSVPayback?: undefined;
|
|
252
|
+
LSVSell?: undefined;
|
|
236
253
|
MorphoAaveV2Borrow?: undefined;
|
|
237
254
|
MorphoAaveV2Payback?: undefined;
|
|
238
255
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -242,6 +259,7 @@ export declare const actionAddresses: {
|
|
|
242
259
|
MorphoAaveV3Payback?: undefined;
|
|
243
260
|
MorphoAaveV3Supply?: undefined;
|
|
244
261
|
MorphoAaveV3Withdraw?: undefined;
|
|
262
|
+
MorphoAaveV3SetManager?: undefined;
|
|
245
263
|
SparkBorrow?: undefined;
|
|
246
264
|
SparkClaimRewards?: undefined;
|
|
247
265
|
SparkCollateralSwitch?: undefined;
|
|
@@ -347,6 +365,7 @@ export declare const actionAddresses: {
|
|
|
347
365
|
SendTokenAndUnwrap: string;
|
|
348
366
|
ToggleSub: string;
|
|
349
367
|
TokenBalance: string;
|
|
368
|
+
TokenizedVaultAdapter: string;
|
|
350
369
|
AaveV3ATokenPayback: string;
|
|
351
370
|
AaveV3Borrow: string;
|
|
352
371
|
AaveV3CollateralSwitch: string;
|
|
@@ -373,6 +392,7 @@ export declare const actionAddresses: {
|
|
|
373
392
|
UpdateSub?: undefined;
|
|
374
393
|
TransferNFT?: undefined;
|
|
375
394
|
CreateSub?: undefined;
|
|
395
|
+
ApproveToken?: undefined;
|
|
376
396
|
SDaiWrap?: undefined;
|
|
377
397
|
SDaiUnwrap?: undefined;
|
|
378
398
|
McdGenerate?: undefined;
|
|
@@ -399,8 +419,14 @@ export declare const actionAddresses: {
|
|
|
399
419
|
AaveWithdraw?: undefined;
|
|
400
420
|
AaveCollateralSwitch?: undefined;
|
|
401
421
|
AaveUnstake?: undefined;
|
|
422
|
+
AaveClaimAAVE?: undefined;
|
|
402
423
|
AaveV3ClaimRewards?: undefined;
|
|
403
424
|
AaveV3View?: undefined;
|
|
425
|
+
LSVWithdraw?: undefined;
|
|
426
|
+
LSVBorrow?: undefined;
|
|
427
|
+
LSVSupply?: undefined;
|
|
428
|
+
LSVPayback?: undefined;
|
|
429
|
+
LSVSell?: undefined;
|
|
404
430
|
MorphoAaveV2Borrow?: undefined;
|
|
405
431
|
MorphoAaveV2Payback?: undefined;
|
|
406
432
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -410,6 +436,7 @@ export declare const actionAddresses: {
|
|
|
410
436
|
MorphoAaveV3Payback?: undefined;
|
|
411
437
|
MorphoAaveV3Supply?: undefined;
|
|
412
438
|
MorphoAaveV3Withdraw?: undefined;
|
|
439
|
+
MorphoAaveV3SetManager?: undefined;
|
|
413
440
|
SparkBorrow?: undefined;
|
|
414
441
|
SparkClaimRewards?: undefined;
|
|
415
442
|
SparkCollateralSwitch?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -16,8 +16,10 @@ export const actionAddresses = {
|
|
|
16
16
|
UpdateSub: '0xF6Cb8f7e61a64075ec8FAC3f298745605E543233',
|
|
17
17
|
TransferNFT: '0x861e893E1796F81248e75F06C0b09Abdc8fe2f6F',
|
|
18
18
|
CreateSub: '0x7308e88BB21B934478E75bB6A2143b8cfDFf2961',
|
|
19
|
+
ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
|
|
19
20
|
SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
|
|
20
21
|
SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
|
|
22
|
+
TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
|
|
21
23
|
// exchange
|
|
22
24
|
DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
|
|
23
25
|
// maker
|
|
@@ -48,6 +50,7 @@ export const actionAddresses = {
|
|
|
48
50
|
AaveWithdraw: '0x754C58fA92246414a448c1ed44ea3D1AD446d482',
|
|
49
51
|
AaveCollateralSwitch: '0xFf5dfF1B90bd5Aa6E12768AB497dB90cc9DE6F5d',
|
|
50
52
|
AaveUnstake: '0x2FE4024e350cD2c64D2fd0Db5d16F5cE54Ca0E09',
|
|
53
|
+
AaveClaimAAVE: '0xd52855bD011F3D87565f9040DdE2A59fB1b27b15',
|
|
51
54
|
// aave v3
|
|
52
55
|
AaveV3Withdraw: '0x9D4e4b26A5E2e6Dad30C5d95F5cE78A8310F04C2',
|
|
53
56
|
AaveV3SwapBorrowRateMode: '0x630F530Ac523C935cf2528E62D0A06F8900C5b1B',
|
|
@@ -59,6 +62,12 @@ export const actionAddresses = {
|
|
|
59
62
|
AaveV3Borrow: '0x7079ba1Bd00EeFCD2a260BbD6D088230505e3858',
|
|
60
63
|
AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
|
|
61
64
|
AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
|
|
65
|
+
// LSV action
|
|
66
|
+
LSVWithdraw: '0x0A4Ef5ADf759064b546441a50109eCbC2528A455',
|
|
67
|
+
LSVBorrow: '0x7dFB434527Fdb39854156cDBa9bF4799E36E7e82',
|
|
68
|
+
LSVSupply: '0x984c00DC098c98bed1CDfe2Ed786Fe1443da6671',
|
|
69
|
+
LSVPayback: '0x10749CE97583dBcEb54a083386CC8438C4e0FE65',
|
|
70
|
+
LSVSell: '0x0c1bb9A39d4A0EF4215Ade19Ce4F954E8419Dfd7',
|
|
62
71
|
// morpho aave v2
|
|
63
72
|
MorphoAaveV2Borrow: '0xa85C3E41Bf9F75a381927e1Aa9b00f77C4631109',
|
|
64
73
|
MorphoAaveV2Payback: '0x5dd0E0835acbb08aa4A4599d70fB2d93969fa7b7',
|
|
@@ -70,6 +79,7 @@ export const actionAddresses = {
|
|
|
70
79
|
MorphoAaveV3Payback: '0x36b8b968c81D97cBfAa642e206b634A6f378d287',
|
|
71
80
|
MorphoAaveV3Supply: '0x51fA8FBc6F0aDEfe2FBA06104FCA39f5beD69291',
|
|
72
81
|
MorphoAaveV3Withdraw: '0xdc3e74C4cD577275296ceFE36A3D082223AfF206',
|
|
82
|
+
MorphoAaveV3SetManager: '0x1082AE0565504E3617BD5b6E80f91B59b81a82D9',
|
|
73
83
|
// spark
|
|
74
84
|
SparkBorrow: '0x3E2C366065bA0f6f9936C2C6A802D72F250b27AA',
|
|
75
85
|
SparkClaimRewards: '0x9C3E31f42a46676785C72401cD4F2287b355b003',
|
|
@@ -206,6 +216,7 @@ export const actionAddresses = {
|
|
|
206
216
|
SendTokenAndUnwrap: '0x8000174366066923D554cb466e190258A6FF3b1f',
|
|
207
217
|
ToggleSub: '0x988C5C24AE6348404196267e19962f36961CAc29',
|
|
208
218
|
TokenBalance: '0xC6FF5b01f7c7b35b6e093fF70D2332B361C5Be5A',
|
|
219
|
+
TokenizedVaultAdapter: '0xdf31669FEd440f5BfF658ca0bBF0D22B8abdeb73',
|
|
209
220
|
// aave v3
|
|
210
221
|
AaveV3ATokenPayback: '0x71B27114D1777298bD46c3770C42F9f807C49847',
|
|
211
222
|
AaveV3Borrow: '0x8CaDc8A911D19B9e4D36c9bAdE47d970f362BcEa',
|
|
@@ -241,6 +252,7 @@ export const actionAddresses = {
|
|
|
241
252
|
SendTokenAndUnwrap: '0x0fb867A5Ee1CA9426D3dAb95e613Be166218b977',
|
|
242
253
|
ToggleSub: '0x71015226EADFd4aC887fB56556F64338e352439b',
|
|
243
254
|
TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
|
|
255
|
+
TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
|
|
244
256
|
// aave v3
|
|
245
257
|
AaveV3ATokenPayback: '0x261906e5E0D0D38D9cBb5c10dB9c4031aabdf8C1',
|
|
246
258
|
AaveV3Borrow: '0x5786809DA660dB613994460F096F19fcd19eD4c9',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -26,8 +26,10 @@ declare const actionAddressesAllChains: {
|
|
|
26
26
|
UpdateSub: string;
|
|
27
27
|
TransferNFT: string;
|
|
28
28
|
CreateSub: string;
|
|
29
|
+
ApproveToken: string;
|
|
29
30
|
SDaiWrap: string;
|
|
30
31
|
SDaiUnwrap: string;
|
|
32
|
+
TokenizedVaultAdapter: string;
|
|
31
33
|
DFSSell: string;
|
|
32
34
|
McdGenerate: string;
|
|
33
35
|
McdGive: string;
|
|
@@ -53,6 +55,7 @@ declare const actionAddressesAllChains: {
|
|
|
53
55
|
AaveWithdraw: string;
|
|
54
56
|
AaveCollateralSwitch: string;
|
|
55
57
|
AaveUnstake: string;
|
|
58
|
+
AaveClaimAAVE: string;
|
|
56
59
|
AaveV3Withdraw: string;
|
|
57
60
|
AaveV3SwapBorrowRateMode: string;
|
|
58
61
|
AaveV3Supply: string;
|
|
@@ -63,6 +66,11 @@ declare const actionAddressesAllChains: {
|
|
|
63
66
|
AaveV3Borrow: string;
|
|
64
67
|
AaveV3ATokenPayback: string;
|
|
65
68
|
AaveV3View: string;
|
|
69
|
+
LSVWithdraw: string;
|
|
70
|
+
LSVBorrow: string;
|
|
71
|
+
LSVSupply: string;
|
|
72
|
+
LSVPayback: string;
|
|
73
|
+
LSVSell: string;
|
|
66
74
|
MorphoAaveV2Borrow: string;
|
|
67
75
|
MorphoAaveV2Payback: string;
|
|
68
76
|
MorphoAaveV2Supply: string;
|
|
@@ -72,6 +80,7 @@ declare const actionAddressesAllChains: {
|
|
|
72
80
|
MorphoAaveV3Payback: string;
|
|
73
81
|
MorphoAaveV3Supply: string;
|
|
74
82
|
MorphoAaveV3Withdraw: string;
|
|
83
|
+
MorphoAaveV3SetManager: string;
|
|
75
84
|
SparkBorrow: string;
|
|
76
85
|
SparkClaimRewards: string;
|
|
77
86
|
SparkCollateralSwitch: string;
|
|
@@ -189,6 +198,7 @@ declare const actionAddressesAllChains: {
|
|
|
189
198
|
SendTokenAndUnwrap: string;
|
|
190
199
|
ToggleSub: string;
|
|
191
200
|
TokenBalance: string;
|
|
201
|
+
TokenizedVaultAdapter: string;
|
|
192
202
|
AaveV3ATokenPayback: string;
|
|
193
203
|
AaveV3Borrow: string;
|
|
194
204
|
AaveV3CollateralSwitch: string;
|
|
@@ -217,6 +227,7 @@ declare const actionAddressesAllChains: {
|
|
|
217
227
|
UpdateSub?: undefined;
|
|
218
228
|
TransferNFT?: undefined;
|
|
219
229
|
CreateSub?: undefined;
|
|
230
|
+
ApproveToken?: undefined;
|
|
220
231
|
SDaiWrap?: undefined;
|
|
221
232
|
SDaiUnwrap?: undefined;
|
|
222
233
|
McdGenerate?: undefined;
|
|
@@ -243,7 +254,13 @@ declare const actionAddressesAllChains: {
|
|
|
243
254
|
AaveWithdraw?: undefined;
|
|
244
255
|
AaveCollateralSwitch?: undefined;
|
|
245
256
|
AaveUnstake?: undefined;
|
|
257
|
+
AaveClaimAAVE?: undefined;
|
|
246
258
|
AaveV3View?: undefined;
|
|
259
|
+
LSVWithdraw?: undefined;
|
|
260
|
+
LSVBorrow?: undefined;
|
|
261
|
+
LSVSupply?: undefined;
|
|
262
|
+
LSVPayback?: undefined;
|
|
263
|
+
LSVSell?: undefined;
|
|
247
264
|
MorphoAaveV2Borrow?: undefined;
|
|
248
265
|
MorphoAaveV2Payback?: undefined;
|
|
249
266
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -253,6 +270,7 @@ declare const actionAddressesAllChains: {
|
|
|
253
270
|
MorphoAaveV3Payback?: undefined;
|
|
254
271
|
MorphoAaveV3Supply?: undefined;
|
|
255
272
|
MorphoAaveV3Withdraw?: undefined;
|
|
273
|
+
MorphoAaveV3SetManager?: undefined;
|
|
256
274
|
SparkBorrow?: undefined;
|
|
257
275
|
SparkClaimRewards?: undefined;
|
|
258
276
|
SparkCollateralSwitch?: undefined;
|
|
@@ -358,6 +376,7 @@ declare const actionAddressesAllChains: {
|
|
|
358
376
|
SendTokenAndUnwrap: string;
|
|
359
377
|
ToggleSub: string;
|
|
360
378
|
TokenBalance: string;
|
|
379
|
+
TokenizedVaultAdapter: string;
|
|
361
380
|
AaveV3ATokenPayback: string;
|
|
362
381
|
AaveV3Borrow: string;
|
|
363
382
|
AaveV3CollateralSwitch: string;
|
|
@@ -384,6 +403,7 @@ declare const actionAddressesAllChains: {
|
|
|
384
403
|
UpdateSub?: undefined;
|
|
385
404
|
TransferNFT?: undefined;
|
|
386
405
|
CreateSub?: undefined;
|
|
406
|
+
ApproveToken?: undefined;
|
|
387
407
|
SDaiWrap?: undefined;
|
|
388
408
|
SDaiUnwrap?: undefined;
|
|
389
409
|
McdGenerate?: undefined;
|
|
@@ -410,8 +430,14 @@ declare const actionAddressesAllChains: {
|
|
|
410
430
|
AaveWithdraw?: undefined;
|
|
411
431
|
AaveCollateralSwitch?: undefined;
|
|
412
432
|
AaveUnstake?: undefined;
|
|
433
|
+
AaveClaimAAVE?: undefined;
|
|
413
434
|
AaveV3ClaimRewards?: undefined;
|
|
414
435
|
AaveV3View?: undefined;
|
|
436
|
+
LSVWithdraw?: undefined;
|
|
437
|
+
LSVBorrow?: undefined;
|
|
438
|
+
LSVSupply?: undefined;
|
|
439
|
+
LSVPayback?: undefined;
|
|
440
|
+
LSVSell?: undefined;
|
|
415
441
|
MorphoAaveV2Borrow?: undefined;
|
|
416
442
|
MorphoAaveV2Payback?: undefined;
|
|
417
443
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -421,6 +447,7 @@ declare const actionAddressesAllChains: {
|
|
|
421
447
|
MorphoAaveV3Payback?: undefined;
|
|
422
448
|
MorphoAaveV3Supply?: undefined;
|
|
423
449
|
MorphoAaveV3Withdraw?: undefined;
|
|
450
|
+
MorphoAaveV3SetManager?: undefined;
|
|
424
451
|
SparkBorrow?: undefined;
|
|
425
452
|
SparkClaimRewards?: undefined;
|
|
426
453
|
SparkCollateralSwitch?: undefined;
|
|
@@ -535,8 +562,10 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
535
562
|
UpdateSub: string;
|
|
536
563
|
TransferNFT: string;
|
|
537
564
|
CreateSub: string;
|
|
565
|
+
ApproveToken: string;
|
|
538
566
|
SDaiWrap: string;
|
|
539
567
|
SDaiUnwrap: string;
|
|
568
|
+
TokenizedVaultAdapter: string;
|
|
540
569
|
DFSSell: string;
|
|
541
570
|
McdGenerate: string;
|
|
542
571
|
McdGive: string;
|
|
@@ -562,6 +591,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
562
591
|
AaveWithdraw: string;
|
|
563
592
|
AaveCollateralSwitch: string;
|
|
564
593
|
AaveUnstake: string;
|
|
594
|
+
AaveClaimAAVE: string;
|
|
565
595
|
AaveV3Withdraw: string;
|
|
566
596
|
AaveV3SwapBorrowRateMode: string;
|
|
567
597
|
AaveV3Supply: string;
|
|
@@ -572,6 +602,11 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
572
602
|
AaveV3Borrow: string;
|
|
573
603
|
AaveV3ATokenPayback: string;
|
|
574
604
|
AaveV3View: string;
|
|
605
|
+
LSVWithdraw: string;
|
|
606
|
+
LSVBorrow: string;
|
|
607
|
+
LSVSupply: string;
|
|
608
|
+
LSVPayback: string;
|
|
609
|
+
LSVSell: string;
|
|
575
610
|
MorphoAaveV2Borrow: string;
|
|
576
611
|
MorphoAaveV2Payback: string;
|
|
577
612
|
MorphoAaveV2Supply: string;
|
|
@@ -581,6 +616,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
581
616
|
MorphoAaveV3Payback: string;
|
|
582
617
|
MorphoAaveV3Supply: string;
|
|
583
618
|
MorphoAaveV3Withdraw: string;
|
|
619
|
+
MorphoAaveV3SetManager: string;
|
|
584
620
|
SparkBorrow: string;
|
|
585
621
|
SparkClaimRewards: string;
|
|
586
622
|
SparkCollateralSwitch: string;
|
|
@@ -698,6 +734,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
698
734
|
SendTokenAndUnwrap: string;
|
|
699
735
|
ToggleSub: string;
|
|
700
736
|
TokenBalance: string;
|
|
737
|
+
TokenizedVaultAdapter: string;
|
|
701
738
|
AaveV3ATokenPayback: string;
|
|
702
739
|
AaveV3Borrow: string;
|
|
703
740
|
AaveV3CollateralSwitch: string;
|
|
@@ -726,6 +763,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
726
763
|
UpdateSub?: undefined;
|
|
727
764
|
TransferNFT?: undefined;
|
|
728
765
|
CreateSub?: undefined;
|
|
766
|
+
ApproveToken?: undefined;
|
|
729
767
|
SDaiWrap?: undefined;
|
|
730
768
|
SDaiUnwrap?: undefined;
|
|
731
769
|
McdGenerate?: undefined;
|
|
@@ -752,7 +790,13 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
752
790
|
AaveWithdraw?: undefined;
|
|
753
791
|
AaveCollateralSwitch?: undefined;
|
|
754
792
|
AaveUnstake?: undefined;
|
|
793
|
+
AaveClaimAAVE?: undefined;
|
|
755
794
|
AaveV3View?: undefined;
|
|
795
|
+
LSVWithdraw?: undefined;
|
|
796
|
+
LSVBorrow?: undefined;
|
|
797
|
+
LSVSupply?: undefined;
|
|
798
|
+
LSVPayback?: undefined;
|
|
799
|
+
LSVSell?: undefined;
|
|
756
800
|
MorphoAaveV2Borrow?: undefined;
|
|
757
801
|
MorphoAaveV2Payback?: undefined;
|
|
758
802
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -762,6 +806,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
762
806
|
MorphoAaveV3Payback?: undefined;
|
|
763
807
|
MorphoAaveV3Supply?: undefined;
|
|
764
808
|
MorphoAaveV3Withdraw?: undefined;
|
|
809
|
+
MorphoAaveV3SetManager?: undefined;
|
|
765
810
|
SparkBorrow?: undefined;
|
|
766
811
|
SparkClaimRewards?: undefined;
|
|
767
812
|
SparkCollateralSwitch?: undefined;
|
|
@@ -867,6 +912,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
867
912
|
SendTokenAndUnwrap: string;
|
|
868
913
|
ToggleSub: string;
|
|
869
914
|
TokenBalance: string;
|
|
915
|
+
TokenizedVaultAdapter: string;
|
|
870
916
|
AaveV3ATokenPayback: string;
|
|
871
917
|
AaveV3Borrow: string;
|
|
872
918
|
AaveV3CollateralSwitch: string;
|
|
@@ -893,6 +939,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
893
939
|
UpdateSub?: undefined;
|
|
894
940
|
TransferNFT?: undefined;
|
|
895
941
|
CreateSub?: undefined;
|
|
942
|
+
ApproveToken?: undefined;
|
|
896
943
|
SDaiWrap?: undefined;
|
|
897
944
|
SDaiUnwrap?: undefined;
|
|
898
945
|
McdGenerate?: undefined;
|
|
@@ -919,8 +966,14 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
919
966
|
AaveWithdraw?: undefined;
|
|
920
967
|
AaveCollateralSwitch?: undefined;
|
|
921
968
|
AaveUnstake?: undefined;
|
|
969
|
+
AaveClaimAAVE?: undefined;
|
|
922
970
|
AaveV3ClaimRewards?: undefined;
|
|
923
971
|
AaveV3View?: undefined;
|
|
972
|
+
LSVWithdraw?: undefined;
|
|
973
|
+
LSVBorrow?: undefined;
|
|
974
|
+
LSVSupply?: undefined;
|
|
975
|
+
LSVPayback?: undefined;
|
|
976
|
+
LSVSell?: undefined;
|
|
924
977
|
MorphoAaveV2Borrow?: undefined;
|
|
925
978
|
MorphoAaveV2Payback?: undefined;
|
|
926
979
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -930,6 +983,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
930
983
|
MorphoAaveV3Payback?: undefined;
|
|
931
984
|
MorphoAaveV3Supply?: undefined;
|
|
932
985
|
MorphoAaveV3Withdraw?: undefined;
|
|
986
|
+
MorphoAaveV3SetManager?: undefined;
|
|
933
987
|
SparkBorrow?: undefined;
|
|
934
988
|
SparkClaimRewards?: undefined;
|
|
935
989
|
SparkCollateralSwitch?: undefined;
|
|
@@ -1145,8 +1199,10 @@ declare const _default: {
|
|
|
1145
1199
|
UpdateSub: string;
|
|
1146
1200
|
TransferNFT: string;
|
|
1147
1201
|
CreateSub: string;
|
|
1202
|
+
ApproveToken: string;
|
|
1148
1203
|
SDaiWrap: string;
|
|
1149
1204
|
SDaiUnwrap: string;
|
|
1205
|
+
TokenizedVaultAdapter: string;
|
|
1150
1206
|
DFSSell: string;
|
|
1151
1207
|
McdGenerate: string;
|
|
1152
1208
|
McdGive: string;
|
|
@@ -1172,6 +1228,7 @@ declare const _default: {
|
|
|
1172
1228
|
AaveWithdraw: string;
|
|
1173
1229
|
AaveCollateralSwitch: string;
|
|
1174
1230
|
AaveUnstake: string;
|
|
1231
|
+
AaveClaimAAVE: string;
|
|
1175
1232
|
AaveV3Withdraw: string;
|
|
1176
1233
|
AaveV3SwapBorrowRateMode: string;
|
|
1177
1234
|
AaveV3Supply: string;
|
|
@@ -1182,6 +1239,11 @@ declare const _default: {
|
|
|
1182
1239
|
AaveV3Borrow: string;
|
|
1183
1240
|
AaveV3ATokenPayback: string;
|
|
1184
1241
|
AaveV3View: string;
|
|
1242
|
+
LSVWithdraw: string;
|
|
1243
|
+
LSVBorrow: string;
|
|
1244
|
+
LSVSupply: string;
|
|
1245
|
+
LSVPayback: string;
|
|
1246
|
+
LSVSell: string;
|
|
1185
1247
|
MorphoAaveV2Borrow: string;
|
|
1186
1248
|
MorphoAaveV2Payback: string;
|
|
1187
1249
|
MorphoAaveV2Supply: string;
|
|
@@ -1191,6 +1253,7 @@ declare const _default: {
|
|
|
1191
1253
|
MorphoAaveV3Payback: string;
|
|
1192
1254
|
MorphoAaveV3Supply: string;
|
|
1193
1255
|
MorphoAaveV3Withdraw: string;
|
|
1256
|
+
MorphoAaveV3SetManager: string;
|
|
1194
1257
|
SparkBorrow: string;
|
|
1195
1258
|
SparkClaimRewards: string;
|
|
1196
1259
|
SparkCollateralSwitch: string;
|
|
@@ -1308,6 +1371,7 @@ declare const _default: {
|
|
|
1308
1371
|
SendTokenAndUnwrap: string;
|
|
1309
1372
|
ToggleSub: string;
|
|
1310
1373
|
TokenBalance: string;
|
|
1374
|
+
TokenizedVaultAdapter: string;
|
|
1311
1375
|
AaveV3ATokenPayback: string;
|
|
1312
1376
|
AaveV3Borrow: string;
|
|
1313
1377
|
AaveV3CollateralSwitch: string;
|
|
@@ -1336,6 +1400,7 @@ declare const _default: {
|
|
|
1336
1400
|
UpdateSub?: undefined;
|
|
1337
1401
|
TransferNFT?: undefined;
|
|
1338
1402
|
CreateSub?: undefined;
|
|
1403
|
+
ApproveToken?: undefined;
|
|
1339
1404
|
SDaiWrap?: undefined;
|
|
1340
1405
|
SDaiUnwrap?: undefined;
|
|
1341
1406
|
McdGenerate?: undefined;
|
|
@@ -1362,7 +1427,13 @@ declare const _default: {
|
|
|
1362
1427
|
AaveWithdraw?: undefined;
|
|
1363
1428
|
AaveCollateralSwitch?: undefined;
|
|
1364
1429
|
AaveUnstake?: undefined;
|
|
1430
|
+
AaveClaimAAVE?: undefined;
|
|
1365
1431
|
AaveV3View?: undefined;
|
|
1432
|
+
LSVWithdraw?: undefined;
|
|
1433
|
+
LSVBorrow?: undefined;
|
|
1434
|
+
LSVSupply?: undefined;
|
|
1435
|
+
LSVPayback?: undefined;
|
|
1436
|
+
LSVSell?: undefined;
|
|
1366
1437
|
MorphoAaveV2Borrow?: undefined;
|
|
1367
1438
|
MorphoAaveV2Payback?: undefined;
|
|
1368
1439
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -1372,6 +1443,7 @@ declare const _default: {
|
|
|
1372
1443
|
MorphoAaveV3Payback?: undefined;
|
|
1373
1444
|
MorphoAaveV3Supply?: undefined;
|
|
1374
1445
|
MorphoAaveV3Withdraw?: undefined;
|
|
1446
|
+
MorphoAaveV3SetManager?: undefined;
|
|
1375
1447
|
SparkBorrow?: undefined;
|
|
1376
1448
|
SparkClaimRewards?: undefined;
|
|
1377
1449
|
SparkCollateralSwitch?: undefined;
|
|
@@ -1477,6 +1549,7 @@ declare const _default: {
|
|
|
1477
1549
|
SendTokenAndUnwrap: string;
|
|
1478
1550
|
ToggleSub: string;
|
|
1479
1551
|
TokenBalance: string;
|
|
1552
|
+
TokenizedVaultAdapter: string;
|
|
1480
1553
|
AaveV3ATokenPayback: string;
|
|
1481
1554
|
AaveV3Borrow: string;
|
|
1482
1555
|
AaveV3CollateralSwitch: string;
|
|
@@ -1503,6 +1576,7 @@ declare const _default: {
|
|
|
1503
1576
|
UpdateSub?: undefined;
|
|
1504
1577
|
TransferNFT?: undefined;
|
|
1505
1578
|
CreateSub?: undefined;
|
|
1579
|
+
ApproveToken?: undefined;
|
|
1506
1580
|
SDaiWrap?: undefined;
|
|
1507
1581
|
SDaiUnwrap?: undefined;
|
|
1508
1582
|
McdGenerate?: undefined;
|
|
@@ -1529,8 +1603,14 @@ declare const _default: {
|
|
|
1529
1603
|
AaveWithdraw?: undefined;
|
|
1530
1604
|
AaveCollateralSwitch?: undefined;
|
|
1531
1605
|
AaveUnstake?: undefined;
|
|
1606
|
+
AaveClaimAAVE?: undefined;
|
|
1532
1607
|
AaveV3ClaimRewards?: undefined;
|
|
1533
1608
|
AaveV3View?: undefined;
|
|
1609
|
+
LSVWithdraw?: undefined;
|
|
1610
|
+
LSVBorrow?: undefined;
|
|
1611
|
+
LSVSupply?: undefined;
|
|
1612
|
+
LSVPayback?: undefined;
|
|
1613
|
+
LSVSell?: undefined;
|
|
1534
1614
|
MorphoAaveV2Borrow?: undefined;
|
|
1535
1615
|
MorphoAaveV2Payback?: undefined;
|
|
1536
1616
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -1540,6 +1620,7 @@ declare const _default: {
|
|
|
1540
1620
|
MorphoAaveV3Payback?: undefined;
|
|
1541
1621
|
MorphoAaveV3Supply?: undefined;
|
|
1542
1622
|
MorphoAaveV3Withdraw?: undefined;
|
|
1623
|
+
MorphoAaveV3SetManager?: undefined;
|
|
1543
1624
|
SparkBorrow?: undefined;
|
|
1544
1625
|
SparkClaimRewards?: undefined;
|
|
1545
1626
|
SparkCollateralSwitch?: undefined;
|
|
@@ -1654,8 +1735,10 @@ declare const _default: {
|
|
|
1654
1735
|
UpdateSub: string;
|
|
1655
1736
|
TransferNFT: string;
|
|
1656
1737
|
CreateSub: string;
|
|
1738
|
+
ApproveToken: string;
|
|
1657
1739
|
SDaiWrap: string;
|
|
1658
1740
|
SDaiUnwrap: string;
|
|
1741
|
+
TokenizedVaultAdapter: string;
|
|
1659
1742
|
DFSSell: string;
|
|
1660
1743
|
McdGenerate: string;
|
|
1661
1744
|
McdGive: string;
|
|
@@ -1681,6 +1764,7 @@ declare const _default: {
|
|
|
1681
1764
|
AaveWithdraw: string;
|
|
1682
1765
|
AaveCollateralSwitch: string;
|
|
1683
1766
|
AaveUnstake: string;
|
|
1767
|
+
AaveClaimAAVE: string;
|
|
1684
1768
|
AaveV3Withdraw: string;
|
|
1685
1769
|
AaveV3SwapBorrowRateMode: string;
|
|
1686
1770
|
AaveV3Supply: string;
|
|
@@ -1691,6 +1775,11 @@ declare const _default: {
|
|
|
1691
1775
|
AaveV3Borrow: string;
|
|
1692
1776
|
AaveV3ATokenPayback: string;
|
|
1693
1777
|
AaveV3View: string;
|
|
1778
|
+
LSVWithdraw: string;
|
|
1779
|
+
LSVBorrow: string;
|
|
1780
|
+
LSVSupply: string;
|
|
1781
|
+
LSVPayback: string;
|
|
1782
|
+
LSVSell: string;
|
|
1694
1783
|
MorphoAaveV2Borrow: string;
|
|
1695
1784
|
MorphoAaveV2Payback: string;
|
|
1696
1785
|
MorphoAaveV2Supply: string;
|
|
@@ -1700,6 +1789,7 @@ declare const _default: {
|
|
|
1700
1789
|
MorphoAaveV3Payback: string;
|
|
1701
1790
|
MorphoAaveV3Supply: string;
|
|
1702
1791
|
MorphoAaveV3Withdraw: string;
|
|
1792
|
+
MorphoAaveV3SetManager: string;
|
|
1703
1793
|
SparkBorrow: string;
|
|
1704
1794
|
SparkClaimRewards: string;
|
|
1705
1795
|
SparkCollateralSwitch: string;
|
|
@@ -1817,6 +1907,7 @@ declare const _default: {
|
|
|
1817
1907
|
SendTokenAndUnwrap: string;
|
|
1818
1908
|
ToggleSub: string;
|
|
1819
1909
|
TokenBalance: string;
|
|
1910
|
+
TokenizedVaultAdapter: string;
|
|
1820
1911
|
AaveV3ATokenPayback: string;
|
|
1821
1912
|
AaveV3Borrow: string;
|
|
1822
1913
|
AaveV3CollateralSwitch: string;
|
|
@@ -1845,6 +1936,7 @@ declare const _default: {
|
|
|
1845
1936
|
UpdateSub?: undefined;
|
|
1846
1937
|
TransferNFT?: undefined;
|
|
1847
1938
|
CreateSub?: undefined;
|
|
1939
|
+
ApproveToken?: undefined;
|
|
1848
1940
|
SDaiWrap?: undefined;
|
|
1849
1941
|
SDaiUnwrap?: undefined;
|
|
1850
1942
|
McdGenerate?: undefined;
|
|
@@ -1871,7 +1963,13 @@ declare const _default: {
|
|
|
1871
1963
|
AaveWithdraw?: undefined;
|
|
1872
1964
|
AaveCollateralSwitch?: undefined;
|
|
1873
1965
|
AaveUnstake?: undefined;
|
|
1966
|
+
AaveClaimAAVE?: undefined;
|
|
1874
1967
|
AaveV3View?: undefined;
|
|
1968
|
+
LSVWithdraw?: undefined;
|
|
1969
|
+
LSVBorrow?: undefined;
|
|
1970
|
+
LSVSupply?: undefined;
|
|
1971
|
+
LSVPayback?: undefined;
|
|
1972
|
+
LSVSell?: undefined;
|
|
1875
1973
|
MorphoAaveV2Borrow?: undefined;
|
|
1876
1974
|
MorphoAaveV2Payback?: undefined;
|
|
1877
1975
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -1881,6 +1979,7 @@ declare const _default: {
|
|
|
1881
1979
|
MorphoAaveV3Payback?: undefined;
|
|
1882
1980
|
MorphoAaveV3Supply?: undefined;
|
|
1883
1981
|
MorphoAaveV3Withdraw?: undefined;
|
|
1982
|
+
MorphoAaveV3SetManager?: undefined;
|
|
1884
1983
|
SparkBorrow?: undefined;
|
|
1885
1984
|
SparkClaimRewards?: undefined;
|
|
1886
1985
|
SparkCollateralSwitch?: undefined;
|
|
@@ -1986,6 +2085,7 @@ declare const _default: {
|
|
|
1986
2085
|
SendTokenAndUnwrap: string;
|
|
1987
2086
|
ToggleSub: string;
|
|
1988
2087
|
TokenBalance: string;
|
|
2088
|
+
TokenizedVaultAdapter: string;
|
|
1989
2089
|
AaveV3ATokenPayback: string;
|
|
1990
2090
|
AaveV3Borrow: string;
|
|
1991
2091
|
AaveV3CollateralSwitch: string;
|
|
@@ -2012,6 +2112,7 @@ declare const _default: {
|
|
|
2012
2112
|
UpdateSub?: undefined;
|
|
2013
2113
|
TransferNFT?: undefined;
|
|
2014
2114
|
CreateSub?: undefined;
|
|
2115
|
+
ApproveToken?: undefined;
|
|
2015
2116
|
SDaiWrap?: undefined;
|
|
2016
2117
|
SDaiUnwrap?: undefined;
|
|
2017
2118
|
McdGenerate?: undefined;
|
|
@@ -2038,8 +2139,14 @@ declare const _default: {
|
|
|
2038
2139
|
AaveWithdraw?: undefined;
|
|
2039
2140
|
AaveCollateralSwitch?: undefined;
|
|
2040
2141
|
AaveUnstake?: undefined;
|
|
2142
|
+
AaveClaimAAVE?: undefined;
|
|
2041
2143
|
AaveV3ClaimRewards?: undefined;
|
|
2042
2144
|
AaveV3View?: undefined;
|
|
2145
|
+
LSVWithdraw?: undefined;
|
|
2146
|
+
LSVBorrow?: undefined;
|
|
2147
|
+
LSVSupply?: undefined;
|
|
2148
|
+
LSVPayback?: undefined;
|
|
2149
|
+
LSVSell?: undefined;
|
|
2043
2150
|
MorphoAaveV2Borrow?: undefined;
|
|
2044
2151
|
MorphoAaveV2Payback?: undefined;
|
|
2045
2152
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -2049,6 +2156,7 @@ declare const _default: {
|
|
|
2049
2156
|
MorphoAaveV3Payback?: undefined;
|
|
2050
2157
|
MorphoAaveV3Supply?: undefined;
|
|
2051
2158
|
MorphoAaveV3Withdraw?: undefined;
|
|
2159
|
+
MorphoAaveV3SetManager?: undefined;
|
|
2052
2160
|
SparkBorrow?: undefined;
|
|
2053
2161
|
SparkClaimRewards?: undefined;
|
|
2054
2162
|
SparkCollateralSwitch?: undefined;
|