@defisaver/sdk 1.2.13 → 1.2.15-dev-allocator
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/actions/curveusd/CurveUsdLevCreateTransientAction.d.ts +9 -0
- package/esm/src/actions/curveusd/CurveUsdLevCreateTransientAction.js +33 -0
- package/esm/src/actions/curveusd/CurveUsdRepayTransientAction.d.ts +9 -0
- package/esm/src/actions/curveusd/CurveUsdRepayTransientAction.js +25 -0
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.d.ts +9 -0
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.js +35 -0
- package/esm/src/actions/curveusd/index.d.ts +3 -0
- package/esm/src/actions/curveusd/index.js +3 -0
- package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.d.ts +17 -0
- package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.js +18 -0
- package/esm/src/actions/flashloan/index.d.ts +1 -0
- package/esm/src/actions/flashloan/index.js +1 -0
- package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.d.ts +20 -0
- package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +50 -0
- package/esm/src/actions/morpho-blue/index.d.ts +1 -0
- package/esm/src/actions/morpho-blue/index.js +1 -0
- package/esm/src/addresses.d.ts +25 -1
- package/esm/src/addresses.js +7 -0
- package/esm/src/index.d.ts +100 -4
- package/package.json +1 -1
- package/src/actions/curveusd/CurveUsdLevCreateTransientAction.ts +52 -0
- package/src/actions/curveusd/CurveUsdRepayTransientAction.ts +36 -0
- package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.ts +55 -0
- package/src/actions/curveusd/index.ts +4 -1
- package/src/actions/flashloan/CurveUsdFlashLoanAction.ts +27 -0
- package/src/actions/flashloan/index.ts +1 -0
- package/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.ts +56 -0
- package/src/actions/morpho-blue/index.ts +2 -1
- package/src/addresses.ts +7 -0
- package/test/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +50 -0
- package/umd/index.js +680 -502
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256, uint32 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @category CurveUsd
|
|
6
|
+
*/
|
|
7
|
+
export declare class CurveUsdLevCreateTransientAction extends Action {
|
|
8
|
+
constructor(controllerAddress: EthAddress, from: EthAddress, collateralAmount: uint256, nBands: uint256, exchangeOrder: Array<any>, gasUsed: uint32);
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { requireAddress } from '../../utils/general';
|
|
3
|
+
import { getAddr } from '../../addresses';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @category CurveUsd
|
|
7
|
+
*/
|
|
8
|
+
export class CurveUsdLevCreateTransientAction extends Action {
|
|
9
|
+
constructor(controllerAddress, from, collateralAmount, nBands, exchangeOrder, gasUsed) {
|
|
10
|
+
requireAddress(from);
|
|
11
|
+
super('CurveUsdLevCreateTransient', getAddr('CurveUsdLevCreateTransient'), [
|
|
12
|
+
'address',
|
|
13
|
+
'address',
|
|
14
|
+
'uint256',
|
|
15
|
+
'uint256',
|
|
16
|
+
['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
|
|
17
|
+
'uint32',
|
|
18
|
+
], [
|
|
19
|
+
controllerAddress,
|
|
20
|
+
from,
|
|
21
|
+
collateralAmount,
|
|
22
|
+
nBands,
|
|
23
|
+
exchangeOrder,
|
|
24
|
+
gasUsed,
|
|
25
|
+
]);
|
|
26
|
+
this.mappableArgs = [
|
|
27
|
+
this.args[0],
|
|
28
|
+
this.args[1],
|
|
29
|
+
this.args[2],
|
|
30
|
+
this.args[3],
|
|
31
|
+
];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint32 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @category CurveUsd
|
|
6
|
+
*/
|
|
7
|
+
export declare class CurveUsdRepayTransientAction extends Action {
|
|
8
|
+
constructor(controllerAddress: EthAddress, to: EthAddress, exchangeOrder: Array<any>, gasUsed: uint32);
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @category CurveUsd
|
|
6
|
+
*/
|
|
7
|
+
export class CurveUsdRepayTransientAction extends Action {
|
|
8
|
+
constructor(controllerAddress, to, exchangeOrder, gasUsed) {
|
|
9
|
+
super('CurveUsdRepayTransient', getAddr('CurveUsdRepayTransient'), [
|
|
10
|
+
'address',
|
|
11
|
+
'address',
|
|
12
|
+
['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
|
|
13
|
+
'uint32',
|
|
14
|
+
], [
|
|
15
|
+
controllerAddress,
|
|
16
|
+
to,
|
|
17
|
+
exchangeOrder,
|
|
18
|
+
gasUsed,
|
|
19
|
+
]);
|
|
20
|
+
this.mappableArgs = [
|
|
21
|
+
this.args[0],
|
|
22
|
+
this.args[1],
|
|
23
|
+
];
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256, uint32 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @category CurveUsd
|
|
6
|
+
*/
|
|
7
|
+
export declare class CurveUsdSelfLiquidateWithCollTransientAction extends Action {
|
|
8
|
+
constructor(controllerAddress: EthAddress, percentage: uint256, minCrvUsdExpected: uint256, to: EthAddress, exchangeOrder: Array<any>, sellAllCollateral: boolean, gasUsed: uint32);
|
|
9
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { requireAddress } from '../../utils/general';
|
|
3
|
+
import { getAddr } from '../../addresses';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @category CurveUsd
|
|
7
|
+
*/
|
|
8
|
+
export class CurveUsdSelfLiquidateWithCollTransientAction extends Action {
|
|
9
|
+
constructor(controllerAddress, percentage, minCrvUsdExpected, to, exchangeOrder, sellAllCollateral, gasUsed) {
|
|
10
|
+
requireAddress(to);
|
|
11
|
+
super('CurveUsdSelfLiquidateWithCollTransient', getAddr('CurveUsdSelfLiquidateWithCollTransient'), [
|
|
12
|
+
'address',
|
|
13
|
+
'uint256',
|
|
14
|
+
'uint256',
|
|
15
|
+
'address',
|
|
16
|
+
['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
|
|
17
|
+
'bool',
|
|
18
|
+
'uint32',
|
|
19
|
+
], [
|
|
20
|
+
controllerAddress,
|
|
21
|
+
percentage,
|
|
22
|
+
minCrvUsdExpected,
|
|
23
|
+
to,
|
|
24
|
+
exchangeOrder,
|
|
25
|
+
sellAllCollateral,
|
|
26
|
+
gasUsed,
|
|
27
|
+
]);
|
|
28
|
+
this.mappableArgs = [
|
|
29
|
+
this.args[0],
|
|
30
|
+
this.args[1],
|
|
31
|
+
this.args[2],
|
|
32
|
+
this.args[3],
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -9,3 +9,6 @@ export * from './CurveUsdLevCreateAction';
|
|
|
9
9
|
export * from './CurveUsdSelfLiquidateWithCollAction';
|
|
10
10
|
export * from './CurveUsdAdjustAction';
|
|
11
11
|
export * from './CurveUsdGetDebtAction';
|
|
12
|
+
export * from './CurveUsdLevCreateTransientAction';
|
|
13
|
+
export * from './CurveUsdRepayTransientAction';
|
|
14
|
+
export * from './CurveUsdSelfLiquidateWithCollTransientAction';
|
|
@@ -9,3 +9,6 @@ export * from './CurveUsdLevCreateAction';
|
|
|
9
9
|
export * from './CurveUsdSelfLiquidateWithCollAction';
|
|
10
10
|
export * from './CurveUsdAdjustAction';
|
|
11
11
|
export * from './CurveUsdGetDebtAction';
|
|
12
|
+
export * from './CurveUsdLevCreateTransientAction';
|
|
13
|
+
export * from './CurveUsdRepayTransientAction';
|
|
14
|
+
export * from './CurveUsdSelfLiquidateWithCollTransientAction';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256, bytes } from '../../types';
|
|
3
|
+
import { FlashLoanId } from './FlashLoanId';
|
|
4
|
+
/**
|
|
5
|
+
* Gets a crvUSD flashloan from CurveUsd Flash Minter
|
|
6
|
+
*
|
|
7
|
+
* @category Flashloans
|
|
8
|
+
*/
|
|
9
|
+
export declare class CurveUsdFlashLoanAction extends Action implements FlashLoanId {
|
|
10
|
+
flashLoanId: number;
|
|
11
|
+
/**
|
|
12
|
+
* @param amount
|
|
13
|
+
* @param flParamGetterAddr
|
|
14
|
+
* @param flParamGetterData
|
|
15
|
+
*/
|
|
16
|
+
constructor(amount: uint256, flParamGetterAddr?: EthAddress, flParamGetterData?: bytes);
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* Gets a crvUSD flashloan from CurveUsd Flash Minter
|
|
5
|
+
*
|
|
6
|
+
* @category Flashloans
|
|
7
|
+
*/
|
|
8
|
+
export class CurveUsdFlashLoanAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param amount
|
|
11
|
+
* @param flParamGetterAddr
|
|
12
|
+
* @param flParamGetterData
|
|
13
|
+
*/
|
|
14
|
+
constructor(amount, flParamGetterAddr = getAddr('Empty'), flParamGetterData = []) {
|
|
15
|
+
super('FLAction', getAddr('FLAction'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [[], [amount], [], getAddr('Empty'), flParamGetterAddr, flParamGetterData, []]);
|
|
16
|
+
this.flashLoanId = 9;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* MorphoBlueReallocateLiquidityAction - Action that bundles calls to Morpho Blue Public Allocator to reallocate liquidity for additional borrowing
|
|
5
|
+
*
|
|
6
|
+
* @category MorphoBlue
|
|
7
|
+
*/
|
|
8
|
+
export declare class MorphoBlueReallocateLiquidityAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param loanToken - MarketParams loanToken for target market to borrow from
|
|
11
|
+
* @param collateralToken - MarketParams collateralToken for target market to borrow from
|
|
12
|
+
* @param oracle - MarketParams oracle for target market to borrow from
|
|
13
|
+
* @param irm - MarketParams irm for target market to borrow from
|
|
14
|
+
* @param lltv - MarketParams lltv for target market to borrow from
|
|
15
|
+
* @param vaults - Array of vaults to reallocate liquidity from
|
|
16
|
+
* @param withdrawals - Array of withdrawals for each vault
|
|
17
|
+
*/
|
|
18
|
+
constructor(loanToken: EthAddress, collateralToken: EthAddress, oracle: EthAddress, irm: EthAddress, lltv: uint256, vaults: EthAddress[], withdrawals: Array<Array<any>>);
|
|
19
|
+
getAssetsToApprove(): Promise<never[]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { Action } from '../../Action';
|
|
11
|
+
import { getAddr } from '../../addresses';
|
|
12
|
+
/**
|
|
13
|
+
* MorphoBlueReallocateLiquidityAction - Action that bundles calls to Morpho Blue Public Allocator to reallocate liquidity for additional borrowing
|
|
14
|
+
*
|
|
15
|
+
* @category MorphoBlue
|
|
16
|
+
*/
|
|
17
|
+
export class MorphoBlueReallocateLiquidityAction extends Action {
|
|
18
|
+
/**
|
|
19
|
+
* @param loanToken - MarketParams loanToken for target market to borrow from
|
|
20
|
+
* @param collateralToken - MarketParams collateralToken for target market to borrow from
|
|
21
|
+
* @param oracle - MarketParams oracle for target market to borrow from
|
|
22
|
+
* @param irm - MarketParams irm for target market to borrow from
|
|
23
|
+
* @param lltv - MarketParams lltv for target market to borrow from
|
|
24
|
+
* @param vaults - Array of vaults to reallocate liquidity from
|
|
25
|
+
* @param withdrawals - Array of withdrawals for each vault
|
|
26
|
+
*/
|
|
27
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, vaults, withdrawals) {
|
|
28
|
+
super('MorphoBlueReallocateLiquidity', getAddr('Empty'), [
|
|
29
|
+
['address', 'address', 'address', 'address', 'uint256'],
|
|
30
|
+
'address[]',
|
|
31
|
+
'tuple(tuple(address,address,address,address,uint256),uint256)[][]', // withdrawals
|
|
32
|
+
], [
|
|
33
|
+
[loanToken, collateralToken, oracle, irm, lltv],
|
|
34
|
+
vaults,
|
|
35
|
+
withdrawals,
|
|
36
|
+
]);
|
|
37
|
+
this.mappableArgs = [
|
|
38
|
+
this.args[0][0],
|
|
39
|
+
this.args[0][1],
|
|
40
|
+
this.args[0][2],
|
|
41
|
+
this.args[0][3],
|
|
42
|
+
this.args[0][4],
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
getAssetsToApprove() {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
return [];
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare const actionAddresses: {
|
|
|
22
22
|
PermitToken: string;
|
|
23
23
|
StarknetClaim: string;
|
|
24
24
|
HandleAuth: string;
|
|
25
|
+
SendTokens: string;
|
|
25
26
|
DFSSell: string;
|
|
26
27
|
SkyStake: string;
|
|
27
28
|
SkyUnstake: string;
|
|
@@ -190,11 +191,15 @@ export declare const actionAddresses: {
|
|
|
190
191
|
CurveUsdLevCreate: string;
|
|
191
192
|
CurveUsdRepay: string;
|
|
192
193
|
CurveUsdSwapper: string;
|
|
194
|
+
CurveUsdSwapperTransient: string;
|
|
193
195
|
CurveUsdSelfLiquidate: string;
|
|
194
196
|
CurveUsdSelfLiquidateWithColl: string;
|
|
195
197
|
CurveUsdGetDebt: string;
|
|
196
198
|
CurveUsdCollRatioTrigger: string;
|
|
197
199
|
CurveUsdCollRatioCheck: string;
|
|
200
|
+
CurveUsdSelfLiquidateWithCollTransient: string;
|
|
201
|
+
CurveUsdLevCreateTransient: string;
|
|
202
|
+
CurveUsdRepayTransient: string;
|
|
198
203
|
MorphoBlueSupply: string;
|
|
199
204
|
MorphoBlueSupplyCollateral: string;
|
|
200
205
|
MorphoBlueWithdraw: string;
|
|
@@ -204,6 +209,7 @@ export declare const actionAddresses: {
|
|
|
204
209
|
MorphoBlueSetAuth: string;
|
|
205
210
|
MorphoBlueSetAuthWithSig: string;
|
|
206
211
|
MorphoTokenWrap: string;
|
|
212
|
+
MorphoBlueReallocateLiquidity: string;
|
|
207
213
|
LlamaLendCreate: string;
|
|
208
214
|
LlamaLendSupply: string;
|
|
209
215
|
LlamaLendBorrow: string;
|
|
@@ -284,6 +290,7 @@ export declare const actionAddresses: {
|
|
|
284
290
|
SDaiWrap?: undefined;
|
|
285
291
|
SDaiUnwrap?: undefined;
|
|
286
292
|
StarknetClaim?: undefined;
|
|
293
|
+
SendTokens?: undefined;
|
|
287
294
|
SkyStake?: undefined;
|
|
288
295
|
SkyUnstake?: undefined;
|
|
289
296
|
SkyClaimRewards?: undefined;
|
|
@@ -425,11 +432,15 @@ export declare const actionAddresses: {
|
|
|
425
432
|
CurveUsdLevCreate?: undefined;
|
|
426
433
|
CurveUsdRepay?: undefined;
|
|
427
434
|
CurveUsdSwapper?: undefined;
|
|
435
|
+
CurveUsdSwapperTransient?: undefined;
|
|
428
436
|
CurveUsdSelfLiquidate?: undefined;
|
|
429
437
|
CurveUsdSelfLiquidateWithColl?: undefined;
|
|
430
438
|
CurveUsdGetDebt?: undefined;
|
|
431
439
|
CurveUsdCollRatioTrigger?: undefined;
|
|
432
440
|
CurveUsdCollRatioCheck?: undefined;
|
|
441
|
+
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
442
|
+
CurveUsdLevCreateTransient?: undefined;
|
|
443
|
+
CurveUsdRepayTransient?: undefined;
|
|
433
444
|
MorphoBlueSupply?: undefined;
|
|
434
445
|
MorphoBlueSupplyCollateral?: undefined;
|
|
435
446
|
MorphoBlueWithdraw?: undefined;
|
|
@@ -439,6 +450,7 @@ export declare const actionAddresses: {
|
|
|
439
450
|
MorphoBlueSetAuth?: undefined;
|
|
440
451
|
MorphoBlueSetAuthWithSig?: undefined;
|
|
441
452
|
MorphoTokenWrap?: undefined;
|
|
453
|
+
MorphoBlueReallocateLiquidity?: undefined;
|
|
442
454
|
LlamaLendCreate?: undefined;
|
|
443
455
|
LlamaLendSupply?: undefined;
|
|
444
456
|
LlamaLendBorrow?: undefined;
|
|
@@ -525,6 +537,7 @@ export declare const actionAddresses: {
|
|
|
525
537
|
SDaiWrap?: undefined;
|
|
526
538
|
SDaiUnwrap?: undefined;
|
|
527
539
|
StarknetClaim?: undefined;
|
|
540
|
+
SendTokens?: undefined;
|
|
528
541
|
SkyStake?: undefined;
|
|
529
542
|
SkyUnstake?: undefined;
|
|
530
543
|
SkyClaimRewards?: undefined;
|
|
@@ -665,11 +678,15 @@ export declare const actionAddresses: {
|
|
|
665
678
|
CurveUsdLevCreate?: undefined;
|
|
666
679
|
CurveUsdRepay?: undefined;
|
|
667
680
|
CurveUsdSwapper?: undefined;
|
|
681
|
+
CurveUsdSwapperTransient?: undefined;
|
|
668
682
|
CurveUsdSelfLiquidate?: undefined;
|
|
669
683
|
CurveUsdSelfLiquidateWithColl?: undefined;
|
|
670
684
|
CurveUsdGetDebt?: undefined;
|
|
671
685
|
CurveUsdCollRatioTrigger?: undefined;
|
|
672
686
|
CurveUsdCollRatioCheck?: undefined;
|
|
687
|
+
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
688
|
+
CurveUsdLevCreateTransient?: undefined;
|
|
689
|
+
CurveUsdRepayTransient?: undefined;
|
|
673
690
|
MorphoBlueSupply?: undefined;
|
|
674
691
|
MorphoBlueSupplyCollateral?: undefined;
|
|
675
692
|
MorphoBlueWithdraw?: undefined;
|
|
@@ -679,6 +696,7 @@ export declare const actionAddresses: {
|
|
|
679
696
|
MorphoBlueSetAuth?: undefined;
|
|
680
697
|
MorphoBlueSetAuthWithSig?: undefined;
|
|
681
698
|
MorphoTokenWrap?: undefined;
|
|
699
|
+
MorphoBlueReallocateLiquidity?: undefined;
|
|
682
700
|
EulerV2Supply?: undefined;
|
|
683
701
|
EulerV2Withdraw?: undefined;
|
|
684
702
|
EulerV2Borrow?: undefined;
|
|
@@ -709,6 +727,7 @@ export declare const actionAddresses: {
|
|
|
709
727
|
ToggleSub: string;
|
|
710
728
|
CreateSub: string;
|
|
711
729
|
UpdateSub: string;
|
|
730
|
+
MerklClaim: string;
|
|
712
731
|
FLAaveV3: string;
|
|
713
732
|
FLBalancer: string;
|
|
714
733
|
FLUniV3: string;
|
|
@@ -748,6 +767,7 @@ export declare const actionAddresses: {
|
|
|
748
767
|
SDaiUnwrap?: undefined;
|
|
749
768
|
TokenizedVaultAdapter?: undefined;
|
|
750
769
|
StarknetClaim?: undefined;
|
|
770
|
+
SendTokens?: undefined;
|
|
751
771
|
SkyStake?: undefined;
|
|
752
772
|
SkyUnstake?: undefined;
|
|
753
773
|
SkyClaimRewards?: undefined;
|
|
@@ -892,12 +912,17 @@ export declare const actionAddresses: {
|
|
|
892
912
|
CurveUsdLevCreate?: undefined;
|
|
893
913
|
CurveUsdRepay?: undefined;
|
|
894
914
|
CurveUsdSwapper?: undefined;
|
|
915
|
+
CurveUsdSwapperTransient?: undefined;
|
|
895
916
|
CurveUsdSelfLiquidate?: undefined;
|
|
896
917
|
CurveUsdSelfLiquidateWithColl?: undefined;
|
|
897
918
|
CurveUsdGetDebt?: undefined;
|
|
898
919
|
CurveUsdCollRatioTrigger?: undefined;
|
|
899
920
|
CurveUsdCollRatioCheck?: undefined;
|
|
921
|
+
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
922
|
+
CurveUsdLevCreateTransient?: undefined;
|
|
923
|
+
CurveUsdRepayTransient?: undefined;
|
|
900
924
|
MorphoTokenWrap?: undefined;
|
|
925
|
+
MorphoBlueReallocateLiquidity?: undefined;
|
|
901
926
|
LlamaLendCreate?: undefined;
|
|
902
927
|
LlamaLendSupply?: undefined;
|
|
903
928
|
LlamaLendBorrow?: undefined;
|
|
@@ -915,7 +940,6 @@ export declare const actionAddresses: {
|
|
|
915
940
|
EulerV2Payback?: undefined;
|
|
916
941
|
EulerV2CollateralSwitch?: undefined;
|
|
917
942
|
EulerV2View?: undefined;
|
|
918
|
-
MerklClaim?: undefined;
|
|
919
943
|
RenzoStake?: undefined;
|
|
920
944
|
EtherFiStake?: undefined;
|
|
921
945
|
EtherFiWrap?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -23,6 +23,7 @@ export const actionAddresses = {
|
|
|
23
23
|
PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
|
|
24
24
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
25
25
|
HandleAuth: '0xfc2e2b37c73d5d43cf5fcbd80a4049b620d60eba',
|
|
26
|
+
SendTokens: '0x7d05c0ABeF6d91300a237026507c4a2631ddAdEa',
|
|
26
27
|
// exchange
|
|
27
28
|
DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
|
|
28
29
|
// sky
|
|
@@ -221,11 +222,15 @@ export const actionAddresses = {
|
|
|
221
222
|
CurveUsdLevCreate: '0xcbd9aFc2b7532b9eeB3A7EC4ea8Bb4320795d9Ad',
|
|
222
223
|
CurveUsdRepay: '0x6F91E8671d17ecEE3D3fb17DcCA87E86B8D83807',
|
|
223
224
|
CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
|
|
225
|
+
CurveUsdSwapperTransient: '0xcF0298592b8FCB3823d31Bb257b65afFCAcCb8b6',
|
|
224
226
|
CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
|
|
225
227
|
CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF',
|
|
226
228
|
CurveUsdGetDebt: '0x3Bb41d3f300dA758780fe7696bb4fB93cD7172fB',
|
|
227
229
|
CurveUsdCollRatioTrigger: '0xFCc610809b735BB13E583c5E46595457083D2b0c',
|
|
228
230
|
CurveUsdCollRatioCheck: '0x8c65f37ca216de1625886431249be13ead051388',
|
|
231
|
+
CurveUsdSelfLiquidateWithCollTransient: '0x9c41eA5D82AF27Fd436Cd4Cf525808313B35f0D1',
|
|
232
|
+
CurveUsdLevCreateTransient: '0x798eA3B6E1C6210c6594aD5A1dBDA5b6b3347920',
|
|
233
|
+
CurveUsdRepayTransient: '0xa923a9111377F2f8614E8A1287DbC081e23a29b8',
|
|
229
234
|
MorphoBlueSupply: '0x1D0F6027Eeb118dEc06055735eE840E3Fe3E6f9a',
|
|
230
235
|
MorphoBlueSupplyCollateral: '0x1cdAC5D4b207e8DBd308504BbedD5D1BD19D26ac',
|
|
231
236
|
MorphoBlueWithdraw: '0xE97c7D2838D068C967B7c40080e09A08B9b11fca',
|
|
@@ -235,6 +240,7 @@ export const actionAddresses = {
|
|
|
235
240
|
MorphoBlueSetAuth: '0xf30935e20c6357c7bcecd5e58ad6de26d54b9f64',
|
|
236
241
|
MorphoBlueSetAuthWithSig: '0xE2d5fCDBf73BAd24A0FCAf6B2733933A98021808',
|
|
237
242
|
MorphoTokenWrap: '0x71b6d268c2Aabcb0dA16CbA4c77e65d9e29b0644',
|
|
243
|
+
MorphoBlueReallocateLiquidity: '0x10B748Dc504C2515Bb6A9e23CB2F686090b6c584',
|
|
238
244
|
// llamalend
|
|
239
245
|
LlamaLendCreate: '0x4349be191ea63173eD98b7fC1b0DeC1ef9Bc6c11',
|
|
240
246
|
LlamaLendSupply: '0x1900eF943bD1b038c58d9F35C3825F119F9BB730',
|
|
@@ -393,6 +399,7 @@ export const actionAddresses = {
|
|
|
393
399
|
ToggleSub: '0x5F16C0a08d52b67fc73706c494F7535Dd3382b58',
|
|
394
400
|
CreateSub: '0xeE739937085A716477BCB5b01b0f74e1BE046645',
|
|
395
401
|
UpdateSub: '0x1601c6ABCDE6e6d8Ad96628AFe20d47908127Aea',
|
|
402
|
+
MerklClaim: '0xa2c6cd875c52bf5c27516fae3b6ba9241790908a',
|
|
396
403
|
// Flashloan
|
|
397
404
|
FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
|
|
398
405
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|