@defisaver/sdk 1.3.27-midnight-dev → 1.3.27
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.js +5 -23
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.d.ts +1 -1
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.js +1 -1
- package/esm/src/actions/etherfi/EtherFiStakeFromLidoAction.d.ts +20 -0
- package/esm/src/actions/etherfi/EtherFiStakeFromLidoAction.js +41 -0
- package/esm/src/actions/etherfi/index.d.ts +1 -0
- package/esm/src/actions/etherfi/index.js +1 -0
- package/esm/src/actions/flashloan/AaveV3FlashLoanAction.d.ts +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanAction.js +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.d.ts +2 -4
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.js +6 -12
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.d.ts +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.js +1 -1
- package/esm/src/actions/index.d.ts +1 -2
- package/esm/src/actions/index.js +1 -2
- package/esm/src/actions/uniswap/UniswapClaimAction.d.ts +16 -0
- package/esm/src/actions/uniswap/UniswapClaimAction.js +23 -0
- package/esm/src/actions/uniswap/index.d.ts +1 -0
- package/esm/src/actions/uniswap/index.js +1 -0
- package/esm/src/addresses.d.ts +20 -44
- package/esm/src/addresses.js +14 -10
- package/esm/src/index.d.ts +80 -176
- package/package.json +1 -1
- package/src/Action.ts +5 -21
- package/src/actions/aaveV3/AaveV3DelegateCredit.ts +1 -1
- package/src/actions/etherfi/EtherFiStakeFromLidoAction.ts +38 -0
- package/src/actions/etherfi/index.ts +2 -1
- package/src/actions/flashloan/AaveV3FlashLoanAction.ts +1 -1
- package/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.ts +7 -13
- package/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.ts +1 -1
- package/src/actions/index.ts +0 -2
- package/src/actions/uniswap/UniswapClaimAction.ts +31 -0
- package/src/actions/uniswap/index.ts +2 -1
- package/src/addresses.ts +14 -11
- package/test/actions/etherFi/EtherFiStakeFromLidoAction.js +40 -0
- package/test/actions/uniswap/UniswapClaimAction.js +31 -0
- package/umd/index.js +781 -900
- package/esm/src/actions/midnight/MidnightBorrowFromOrdersAction.d.ts +0 -18
- package/esm/src/actions/midnight/MidnightBorrowFromOrdersAction.js +0 -28
- package/esm/src/actions/midnight/MidnightPaybackDirectAction.d.ts +0 -16
- package/esm/src/actions/midnight/MidnightPaybackDirectAction.js +0 -24
- package/esm/src/actions/midnight/MidnightPaybackFromOrdersAction.d.ts +0 -18
- package/esm/src/actions/midnight/MidnightPaybackFromOrdersAction.js +0 -28
- package/esm/src/actions/midnight/MidnightSupplyCollateralAction.d.ts +0 -17
- package/esm/src/actions/midnight/MidnightSupplyCollateralAction.js +0 -26
- package/esm/src/actions/midnight/MidnightWithdrawCollateralAction.d.ts +0 -17
- package/esm/src/actions/midnight/MidnightWithdrawCollateralAction.js +0 -26
- package/esm/src/actions/midnight/index.d.ts +0 -5
- package/esm/src/actions/midnight/index.js +0 -5
- package/src/actions/midnight/MidnightBorrowFromOrdersAction.ts +0 -44
- package/src/actions/midnight/MidnightPaybackDirectAction.ts +0 -36
- package/src/actions/midnight/MidnightPaybackFromOrdersAction.ts +0 -44
- package/src/actions/midnight/MidnightSupplyCollateralAction.ts +0 -39
- package/src/actions/midnight/MidnightWithdrawCollateralAction.ts +0 -39
- package/src/actions/midnight/index.ts +0 -5
package/esm/src/Action.js
CHANGED
|
@@ -63,32 +63,14 @@ export class Action {
|
|
|
63
63
|
}
|
|
64
64
|
_parseParamType(paramType, arg) {
|
|
65
65
|
if (typeof (paramType) === 'string') {
|
|
66
|
+
if (paramType.startsWith('(')) {
|
|
67
|
+
let _paramType = paramType.replace('(', '');
|
|
68
|
+
_paramType = _paramType.replace(')', '');
|
|
69
|
+
return _paramType.split(',');
|
|
70
|
+
}
|
|
66
71
|
if (paramType.endsWith('[]')) {
|
|
67
72
|
return Array.from(Array(arg.length).fill(paramType.replace('[]', '')));
|
|
68
73
|
}
|
|
69
|
-
if (paramType.startsWith('(') || paramType.startsWith('tuple(')) {
|
|
70
|
-
const tupleStart = paramType.indexOf('(');
|
|
71
|
-
const tupleEnd = paramType.lastIndexOf(')');
|
|
72
|
-
const tupleContents = paramType.slice(tupleStart + 1, tupleEnd);
|
|
73
|
-
const tupleTypes = [];
|
|
74
|
-
let currentType = '';
|
|
75
|
-
let nestingDepth = 0;
|
|
76
|
-
for (const character of tupleContents) {
|
|
77
|
-
if (character === ',' && nestingDepth === 0) {
|
|
78
|
-
tupleTypes.push(currentType);
|
|
79
|
-
currentType = '';
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
currentType += character;
|
|
83
|
-
if (character === '(')
|
|
84
|
-
nestingDepth += 1;
|
|
85
|
-
if (character === ')')
|
|
86
|
-
nestingDepth -= 1;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
tupleTypes.push(currentType);
|
|
90
|
-
return tupleTypes;
|
|
91
|
-
}
|
|
92
74
|
}
|
|
93
75
|
return paramType;
|
|
94
76
|
}
|
|
@@ -12,7 +12,7 @@ export declare class AaveV3DelegateCredit extends ActionWithL2 {
|
|
|
12
12
|
* @param amount Amount of tokens to be payed back
|
|
13
13
|
* @param rateMode Type of borrow debt [Stable: 1, Variable: 2]
|
|
14
14
|
* @param assetId The id of the token to be borrowed
|
|
15
|
-
* @param delegatee The
|
|
15
|
+
* @param delegatee The address of the delegatee to be credited
|
|
16
16
|
*/
|
|
17
17
|
constructor(useOnDefaultMarket: boolean, market: EthAddress, amount: uint256, rateMode: uint8, assetId: uint16, delegatee: EthAddress);
|
|
18
18
|
encodeInputs(): string;
|
|
@@ -12,7 +12,7 @@ export class AaveV3DelegateCredit extends ActionWithL2 {
|
|
|
12
12
|
* @param amount Amount of tokens to be payed back
|
|
13
13
|
* @param rateMode Type of borrow debt [Stable: 1, Variable: 2]
|
|
14
14
|
* @param assetId The id of the token to be borrowed
|
|
15
|
-
* @param delegatee The
|
|
15
|
+
* @param delegatee The address of the delegatee to be credited
|
|
16
16
|
*/
|
|
17
17
|
constructor(useOnDefaultMarket, market, amount, rateMode, assetId, delegatee) {
|
|
18
18
|
super('AaveV3DelegateCredit', getAddr('Empty'), ['uint256', 'address', 'uint16', 'uint8', 'bool', 'address'], [amount, delegatee, assetId, rateMode, useOnDefaultMarket, market]);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* EtherFiStakeFromLidoAction - Converts wstETH to weETH through Ether.fi's Lido staking route
|
|
5
|
+
*
|
|
6
|
+
* @category EtherFi
|
|
7
|
+
*/
|
|
8
|
+
export declare class EtherFiStakeFromLidoAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param amount - amount of wstETH to pull
|
|
11
|
+
* @param minAmountOut - minimum amount of weETH to receive
|
|
12
|
+
* @param from - address from which to pull wstETH
|
|
13
|
+
* @param to - address where received weETH will be sent
|
|
14
|
+
*/
|
|
15
|
+
constructor(amount: uint256, minAmountOut: uint256, from: EthAddress, to: EthAddress);
|
|
16
|
+
getAssetsToApprove(): Promise<{
|
|
17
|
+
asset: string;
|
|
18
|
+
owner: any;
|
|
19
|
+
}[]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { getAssetInfo } from '@defisaver/tokens';
|
|
11
|
+
import { Action } from '../../Action';
|
|
12
|
+
import { getAddr } from '../../addresses';
|
|
13
|
+
import { requireAddress } from '../../utils/general';
|
|
14
|
+
/**
|
|
15
|
+
* EtherFiStakeFromLidoAction - Converts wstETH to weETH through Ether.fi's Lido staking route
|
|
16
|
+
*
|
|
17
|
+
* @category EtherFi
|
|
18
|
+
*/
|
|
19
|
+
export class EtherFiStakeFromLidoAction extends Action {
|
|
20
|
+
/**
|
|
21
|
+
* @param amount - amount of wstETH to pull
|
|
22
|
+
* @param minAmountOut - minimum amount of weETH to receive
|
|
23
|
+
* @param from - address from which to pull wstETH
|
|
24
|
+
* @param to - address where received weETH will be sent
|
|
25
|
+
*/
|
|
26
|
+
constructor(amount, minAmountOut, from, to) {
|
|
27
|
+
requireAddress(to);
|
|
28
|
+
super('EtherFiStakeFromLido', getAddr('EtherFiStakeFromLido'), ['uint256', 'uint256', 'address', 'address'], [amount, minAmountOut, from, to]);
|
|
29
|
+
this.mappableArgs = [
|
|
30
|
+
this.args[0],
|
|
31
|
+
this.args[1],
|
|
32
|
+
this.args[2],
|
|
33
|
+
this.args[3],
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+
getAssetsToApprove() {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
return [{ asset: getAssetInfo('WSTETH').address, owner: this.args[2] }];
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -9,8 +9,8 @@ import { FlashLoanId } from './FlashLoanId';
|
|
|
9
9
|
export declare class AaveV3FlashLoanAction extends ActionWithL2 implements FlashLoanId {
|
|
10
10
|
flashLoanId: number;
|
|
11
11
|
/**
|
|
12
|
-
* @param loanAmounts
|
|
13
12
|
* @param tokens
|
|
13
|
+
* @param loanAmounts
|
|
14
14
|
* @param modes
|
|
15
15
|
* @param loanPayer
|
|
16
16
|
* @param flParamGetterAddr
|
|
@@ -7,12 +7,10 @@ import { EthAddress, uint256, bytes } from '../../types';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class AaveV3FlashLoanCarryDebtAction extends ActionWithL2 {
|
|
9
9
|
/**
|
|
10
|
-
* @param loanAmounts
|
|
11
10
|
* @param tokens
|
|
12
|
-
* @param
|
|
13
|
-
* @param loanPayer
|
|
11
|
+
* @param loanAmounts
|
|
14
12
|
* @param flParamGetterAddr
|
|
15
13
|
* @param flParamGetterData
|
|
16
14
|
*/
|
|
17
|
-
constructor(tokens: Array<EthAddress>, loanAmounts: Array<uint256>,
|
|
15
|
+
constructor(tokens: Array<EthAddress>, loanAmounts: Array<uint256>, flParamGetterAddr?: EthAddress, flParamGetterData?: bytes);
|
|
18
16
|
}
|
|
@@ -7,22 +7,16 @@ import { getAddr } from '../../addresses';
|
|
|
7
7
|
*/
|
|
8
8
|
export class AaveV3FlashLoanCarryDebtAction extends ActionWithL2 {
|
|
9
9
|
/**
|
|
10
|
-
* @param loanAmounts
|
|
11
10
|
* @param tokens
|
|
12
|
-
* @param
|
|
13
|
-
* @param loanPayer
|
|
11
|
+
* @param loanAmounts
|
|
14
12
|
* @param flParamGetterAddr
|
|
15
13
|
* @param flParamGetterData
|
|
16
14
|
*/
|
|
17
|
-
constructor(tokens, loanAmounts,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
throw new Error('Arrays must be of the same length');
|
|
15
|
+
constructor(tokens, loanAmounts, flParamGetterAddr = getAddr('Empty'), flParamGetterData = []) {
|
|
16
|
+
if (tokens.length !== loanAmounts.length) {
|
|
17
|
+
throw new Error('Tokens and loan amounts must be of the same length');
|
|
21
18
|
}
|
|
22
|
-
modes.
|
|
23
|
-
|
|
24
|
-
throw new Error('Invalid borrow mode set');
|
|
25
|
-
}
|
|
26
|
-
});
|
|
19
|
+
const modes = Array(tokens.length).fill(2); // always use variable borrow rate
|
|
20
|
+
super('FLAaveV3CarryDebt', getAddr('FLAaveV3CarryDebt'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [tokens, loanAmounts, modes, getAddr('Empty'), flParamGetterAddr, flParamGetterData, []]);
|
|
27
21
|
}
|
|
28
22
|
}
|
|
@@ -7,8 +7,8 @@ import { EthAddress, uint256, bytes } from '../../types';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class AaveV3FlashLoanNoFeeAction extends ActionWithL2 {
|
|
9
9
|
/**
|
|
10
|
-
* @param loanAmounts
|
|
11
10
|
* @param tokens
|
|
11
|
+
* @param loanAmounts
|
|
12
12
|
* @param modes
|
|
13
13
|
* @param loanPayer
|
|
14
14
|
* @param flParamGetterAddr
|
|
@@ -40,5 +40,4 @@ import * as fluid from './fluid';
|
|
|
40
40
|
import * as pendle from './pendle';
|
|
41
41
|
import * as umbrella from './umbrella';
|
|
42
42
|
import * as aaveV4 from './aavev4';
|
|
43
|
-
|
|
44
|
-
export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, aaveV4, midnight, };
|
|
43
|
+
export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, aaveV4, };
|
package/esm/src/actions/index.js
CHANGED
|
@@ -40,5 +40,4 @@ import * as fluid from './fluid';
|
|
|
40
40
|
import * as pendle from './pendle';
|
|
41
41
|
import * as umbrella from './umbrella';
|
|
42
42
|
import * as aaveV4 from './aavev4';
|
|
43
|
-
|
|
44
|
-
export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, aaveV4, midnight, };
|
|
43
|
+
export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, aaveV4, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256, bytes32 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* UniswapClaimAction - Claims UNI tokens from the Uniswap merkle distributor
|
|
5
|
+
*
|
|
6
|
+
* @category Uniswap
|
|
7
|
+
*/
|
|
8
|
+
export declare class UniswapClaimAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param index - Index of the claim in the merkle tree
|
|
11
|
+
* @param to - Address where to send the claimed UNI
|
|
12
|
+
* @param amount - Amount of UNI allocated to the smart wallet in the merkle tree
|
|
13
|
+
* @param merkleProof - Merkle proof of the claim
|
|
14
|
+
*/
|
|
15
|
+
constructor(index: uint256, to: EthAddress, amount: uint256, merkleProof: Array<bytes32>);
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* UniswapClaimAction - Claims UNI tokens from the Uniswap merkle distributor
|
|
5
|
+
*
|
|
6
|
+
* @category Uniswap
|
|
7
|
+
*/
|
|
8
|
+
export class UniswapClaimAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param index - Index of the claim in the merkle tree
|
|
11
|
+
* @param to - Address where to send the claimed UNI
|
|
12
|
+
* @param amount - Amount of UNI allocated to the smart wallet in the merkle tree
|
|
13
|
+
* @param merkleProof - Merkle proof of the claim
|
|
14
|
+
*/
|
|
15
|
+
constructor(index, to, amount, merkleProof) {
|
|
16
|
+
super('UniswapClaim', getAddr('UniswapClaim'), ['uint256', 'address', 'uint256', 'bytes32[]'], [index, to, amount, merkleProof]);
|
|
17
|
+
this.mappableArgs = [
|
|
18
|
+
this.args[0],
|
|
19
|
+
this.args[1],
|
|
20
|
+
this.args[2],
|
|
21
|
+
];
|
|
22
|
+
}
|
|
23
|
+
}
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export declare const actionAddresses: {
|
|
|
72
72
|
AaveV3ATokenPayback: string;
|
|
73
73
|
AaveV3View: string;
|
|
74
74
|
AaveV3DelegateWithSig: string;
|
|
75
|
+
AaveV3DelegateCredit: string;
|
|
75
76
|
GhoClaimAAVE: string;
|
|
76
77
|
GhoUnstake: string;
|
|
77
78
|
GhoStake: string;
|
|
@@ -123,6 +124,7 @@ export declare const actionAddresses: {
|
|
|
123
124
|
FLMorphoBlue: string;
|
|
124
125
|
UniSupply: string;
|
|
125
126
|
UniWithdraw: string;
|
|
127
|
+
UniswapClaim: string;
|
|
126
128
|
UniCollectV3: string;
|
|
127
129
|
UniMintV3: string;
|
|
128
130
|
UniSupplyV3: string;
|
|
@@ -254,6 +256,7 @@ export declare const actionAddresses: {
|
|
|
254
256
|
MerklClaim: string;
|
|
255
257
|
RenzoStake: string;
|
|
256
258
|
EtherFiStake: string;
|
|
259
|
+
EtherFiStakeFromLido: string;
|
|
257
260
|
EtherFiWrap: string;
|
|
258
261
|
EtherFiUnwrap: string;
|
|
259
262
|
KingClaim: string;
|
|
@@ -287,17 +290,10 @@ export declare const actionAddresses: {
|
|
|
287
290
|
AaveV4DelegateWithdrawWithSig: string;
|
|
288
291
|
AaveV4DelegateBorrowWithSig: string;
|
|
289
292
|
AaveV4DelegateSetUsingAsCollateralWithSig: string;
|
|
290
|
-
AaveV3DelegateCredit?: undefined;
|
|
291
293
|
AaveV3RatioTrigger?: undefined;
|
|
292
294
|
GasFeeTakerL2?: undefined;
|
|
293
295
|
AaveV3RatioCheck?: undefined;
|
|
294
296
|
MorphoBlueView?: undefined;
|
|
295
|
-
MidnightPaybackDirect?: undefined;
|
|
296
|
-
MidnightBorrowFromOrders?: undefined;
|
|
297
|
-
MidnightPaybackFromOrders?: undefined;
|
|
298
|
-
MidnightSupplyCollateral?: undefined;
|
|
299
|
-
MidnightWithdrawCollateral?: undefined;
|
|
300
|
-
MidnightView?: undefined;
|
|
301
297
|
} | {
|
|
302
298
|
DFSSell: string;
|
|
303
299
|
DFSSellNoFee: string;
|
|
@@ -334,6 +330,7 @@ export declare const actionAddresses: {
|
|
|
334
330
|
FLAaveV3: string;
|
|
335
331
|
FLBalancer: string;
|
|
336
332
|
FLAction: string;
|
|
333
|
+
FLAaveV3CarryDebt: string;
|
|
337
334
|
AaveV3RatioTrigger: string;
|
|
338
335
|
GasFeeTakerL2: string;
|
|
339
336
|
AaveV3RatioCheck: string;
|
|
@@ -432,7 +429,6 @@ export declare const actionAddresses: {
|
|
|
432
429
|
CompGetDebt?: undefined;
|
|
433
430
|
CompCollateralSwitch?: undefined;
|
|
434
431
|
FLAaveV2?: undefined;
|
|
435
|
-
FLAaveV3CarryDebt?: undefined;
|
|
436
432
|
FLDyDx?: undefined;
|
|
437
433
|
FLMaker?: undefined;
|
|
438
434
|
FLSpark?: undefined;
|
|
@@ -441,6 +437,7 @@ export declare const actionAddresses: {
|
|
|
441
437
|
FLMorphoBlue?: undefined;
|
|
442
438
|
UniSupply?: undefined;
|
|
443
439
|
UniWithdraw?: undefined;
|
|
440
|
+
UniswapClaim?: undefined;
|
|
444
441
|
DyDxWithdraw?: undefined;
|
|
445
442
|
YearnSupply?: undefined;
|
|
446
443
|
YearnWithdraw?: undefined;
|
|
@@ -559,6 +556,7 @@ export declare const actionAddresses: {
|
|
|
559
556
|
EulerV2View?: undefined;
|
|
560
557
|
RenzoStake?: undefined;
|
|
561
558
|
EtherFiStake?: undefined;
|
|
559
|
+
EtherFiStakeFromLido?: undefined;
|
|
562
560
|
EtherFiWrap?: undefined;
|
|
563
561
|
EtherFiUnwrap?: undefined;
|
|
564
562
|
KingClaim?: undefined;
|
|
@@ -590,12 +588,6 @@ export declare const actionAddresses: {
|
|
|
590
588
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
591
589
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
592
590
|
MorphoBlueView?: undefined;
|
|
593
|
-
MidnightPaybackDirect?: undefined;
|
|
594
|
-
MidnightBorrowFromOrders?: undefined;
|
|
595
|
-
MidnightPaybackFromOrders?: undefined;
|
|
596
|
-
MidnightSupplyCollateral?: undefined;
|
|
597
|
-
MidnightWithdrawCollateral?: undefined;
|
|
598
|
-
MidnightView?: undefined;
|
|
599
591
|
} | {
|
|
600
592
|
DFSSell: string;
|
|
601
593
|
DFSSellNoFee: string;
|
|
@@ -628,6 +620,7 @@ export declare const actionAddresses: {
|
|
|
628
620
|
AaveV3Withdraw: string;
|
|
629
621
|
AaveV3ClaimRewards: string;
|
|
630
622
|
AaveV3DelegateWithSig: string;
|
|
623
|
+
AaveV3DelegateCredit: string;
|
|
631
624
|
CompV3Allow: string;
|
|
632
625
|
CompV3Borrow: string;
|
|
633
626
|
CompV3Claim: string;
|
|
@@ -641,6 +634,7 @@ export declare const actionAddresses: {
|
|
|
641
634
|
FLUniV3: string;
|
|
642
635
|
FLAction: string;
|
|
643
636
|
FLMorphoBlue: string;
|
|
637
|
+
FLAaveV3CarryDebt: string;
|
|
644
638
|
GasFeeTakerL2: string;
|
|
645
639
|
AaveV3RatioCheck: string;
|
|
646
640
|
UniCollectV3: string;
|
|
@@ -764,13 +758,13 @@ export declare const actionAddresses: {
|
|
|
764
758
|
CompGetDebt?: undefined;
|
|
765
759
|
CompCollateralSwitch?: undefined;
|
|
766
760
|
FLAaveV2?: undefined;
|
|
767
|
-
FLAaveV3CarryDebt?: undefined;
|
|
768
761
|
FLDyDx?: undefined;
|
|
769
762
|
FLMaker?: undefined;
|
|
770
763
|
FLSpark?: undefined;
|
|
771
764
|
FLGho?: undefined;
|
|
772
765
|
UniSupply?: undefined;
|
|
773
766
|
UniWithdraw?: undefined;
|
|
767
|
+
UniswapClaim?: undefined;
|
|
774
768
|
DyDxWithdraw?: undefined;
|
|
775
769
|
YearnSupply?: undefined;
|
|
776
770
|
YearnWithdraw?: undefined;
|
|
@@ -868,6 +862,7 @@ export declare const actionAddresses: {
|
|
|
868
862
|
EulerV2View?: undefined;
|
|
869
863
|
RenzoStake?: undefined;
|
|
870
864
|
EtherFiStake?: undefined;
|
|
865
|
+
EtherFiStakeFromLido?: undefined;
|
|
871
866
|
EtherFiWrap?: undefined;
|
|
872
867
|
EtherFiUnwrap?: undefined;
|
|
873
868
|
KingClaim?: undefined;
|
|
@@ -886,14 +881,7 @@ export declare const actionAddresses: {
|
|
|
886
881
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
887
882
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
888
883
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
889
|
-
AaveV3DelegateCredit?: undefined;
|
|
890
884
|
AaveV3RatioTrigger?: undefined;
|
|
891
|
-
MidnightPaybackDirect?: undefined;
|
|
892
|
-
MidnightBorrowFromOrders?: undefined;
|
|
893
|
-
MidnightPaybackFromOrders?: undefined;
|
|
894
|
-
MidnightSupplyCollateral?: undefined;
|
|
895
|
-
MidnightWithdrawCollateral?: undefined;
|
|
896
|
-
MidnightView?: undefined;
|
|
897
885
|
} | {
|
|
898
886
|
DFSSell: string;
|
|
899
887
|
DFSSellNoFee: string;
|
|
@@ -920,6 +908,7 @@ export declare const actionAddresses: {
|
|
|
920
908
|
FLUniV3: string;
|
|
921
909
|
FLAction: string;
|
|
922
910
|
FLMorphoBlue: string;
|
|
911
|
+
FLAaveV3CarryDebt: string;
|
|
923
912
|
AaveV3Withdraw: string;
|
|
924
913
|
AaveV3SwapBorrowRateMode: string;
|
|
925
914
|
AaveV3Supply: string;
|
|
@@ -931,6 +920,7 @@ export declare const actionAddresses: {
|
|
|
931
920
|
AaveV3ATokenPayback: string;
|
|
932
921
|
AaveV3View: string;
|
|
933
922
|
AaveV3DelegateWithSig: string;
|
|
923
|
+
AaveV3DelegateCredit: string;
|
|
934
924
|
CompV3Allow: string;
|
|
935
925
|
CompV3Borrow: string;
|
|
936
926
|
CompV3Claim: string;
|
|
@@ -965,12 +955,6 @@ export declare const actionAddresses: {
|
|
|
965
955
|
SFApproveTokens: string;
|
|
966
956
|
SummerfiUnsub: string;
|
|
967
957
|
SummerfiUnsubV2: string;
|
|
968
|
-
MidnightPaybackDirect: string;
|
|
969
|
-
MidnightBorrowFromOrders: string;
|
|
970
|
-
MidnightPaybackFromOrders: string;
|
|
971
|
-
MidnightSupplyCollateral: string;
|
|
972
|
-
MidnightWithdrawCollateral: string;
|
|
973
|
-
MidnightView: string;
|
|
974
958
|
AutomationV2Unsub?: undefined;
|
|
975
959
|
SendTokenAndUnwrap?: undefined;
|
|
976
960
|
SDaiWrap?: undefined;
|
|
@@ -1051,13 +1035,13 @@ export declare const actionAddresses: {
|
|
|
1051
1035
|
CompCollateralSwitch?: undefined;
|
|
1052
1036
|
FLAaveV2?: undefined;
|
|
1053
1037
|
FLAaveV3NoFee?: undefined;
|
|
1054
|
-
FLAaveV3CarryDebt?: undefined;
|
|
1055
1038
|
FLDyDx?: undefined;
|
|
1056
1039
|
FLMaker?: undefined;
|
|
1057
1040
|
FLSpark?: undefined;
|
|
1058
1041
|
FLGho?: undefined;
|
|
1059
1042
|
UniSupply?: undefined;
|
|
1060
1043
|
UniWithdraw?: undefined;
|
|
1044
|
+
UniswapClaim?: undefined;
|
|
1061
1045
|
UniCollectV3?: undefined;
|
|
1062
1046
|
UniMintV3?: undefined;
|
|
1063
1047
|
UniSupplyV3?: undefined;
|
|
@@ -1171,6 +1155,7 @@ export declare const actionAddresses: {
|
|
|
1171
1155
|
EulerV2View?: undefined;
|
|
1172
1156
|
RenzoStake?: undefined;
|
|
1173
1157
|
EtherFiStake?: undefined;
|
|
1158
|
+
EtherFiStakeFromLido?: undefined;
|
|
1174
1159
|
EtherFiWrap?: undefined;
|
|
1175
1160
|
EtherFiUnwrap?: undefined;
|
|
1176
1161
|
KingClaim?: undefined;
|
|
@@ -1189,7 +1174,6 @@ export declare const actionAddresses: {
|
|
|
1189
1174
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1190
1175
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1191
1176
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
1192
|
-
AaveV3DelegateCredit?: undefined;
|
|
1193
1177
|
AaveV3RatioTrigger?: undefined;
|
|
1194
1178
|
AaveV3RatioCheck?: undefined;
|
|
1195
1179
|
} | {
|
|
@@ -1211,6 +1195,7 @@ export declare const actionAddresses: {
|
|
|
1211
1195
|
TokenizedVaultAdapter: string;
|
|
1212
1196
|
FLAction: string;
|
|
1213
1197
|
FLAaveV3: string;
|
|
1198
|
+
FLAaveV3CarryDebt: string;
|
|
1214
1199
|
AaveV3Withdraw: string;
|
|
1215
1200
|
AaveV3Supply: string;
|
|
1216
1201
|
AaveV3SetEMode: string;
|
|
@@ -1307,7 +1292,6 @@ export declare const actionAddresses: {
|
|
|
1307
1292
|
CompCollateralSwitch?: undefined;
|
|
1308
1293
|
FLAaveV2?: undefined;
|
|
1309
1294
|
FLAaveV3NoFee?: undefined;
|
|
1310
|
-
FLAaveV3CarryDebt?: undefined;
|
|
1311
1295
|
FLDyDx?: undefined;
|
|
1312
1296
|
FLMaker?: undefined;
|
|
1313
1297
|
FLBalancer?: undefined;
|
|
@@ -1317,6 +1301,7 @@ export declare const actionAddresses: {
|
|
|
1317
1301
|
FLMorphoBlue?: undefined;
|
|
1318
1302
|
UniSupply?: undefined;
|
|
1319
1303
|
UniWithdraw?: undefined;
|
|
1304
|
+
UniswapClaim?: undefined;
|
|
1320
1305
|
UniCollectV3?: undefined;
|
|
1321
1306
|
UniMintV3?: undefined;
|
|
1322
1307
|
UniSupplyV3?: undefined;
|
|
@@ -1447,6 +1432,7 @@ export declare const actionAddresses: {
|
|
|
1447
1432
|
EulerV2View?: undefined;
|
|
1448
1433
|
RenzoStake?: undefined;
|
|
1449
1434
|
EtherFiStake?: undefined;
|
|
1435
|
+
EtherFiStakeFromLido?: undefined;
|
|
1450
1436
|
EtherFiWrap?: undefined;
|
|
1451
1437
|
EtherFiUnwrap?: undefined;
|
|
1452
1438
|
KingClaim?: undefined;
|
|
@@ -1484,12 +1470,6 @@ export declare const actionAddresses: {
|
|
|
1484
1470
|
GasFeeTakerL2?: undefined;
|
|
1485
1471
|
AaveV3RatioCheck?: undefined;
|
|
1486
1472
|
MorphoBlueView?: undefined;
|
|
1487
|
-
MidnightPaybackDirect?: undefined;
|
|
1488
|
-
MidnightBorrowFromOrders?: undefined;
|
|
1489
|
-
MidnightPaybackFromOrders?: undefined;
|
|
1490
|
-
MidnightSupplyCollateral?: undefined;
|
|
1491
|
-
MidnightWithdrawCollateral?: undefined;
|
|
1492
|
-
MidnightView?: undefined;
|
|
1493
1473
|
} | {
|
|
1494
1474
|
DFSSell: string;
|
|
1495
1475
|
DFSSellNoFee: string;
|
|
@@ -1509,6 +1489,7 @@ export declare const actionAddresses: {
|
|
|
1509
1489
|
TokenizedVaultAdapter: string;
|
|
1510
1490
|
FLAction: string;
|
|
1511
1491
|
FLAaveV3: string;
|
|
1492
|
+
FLAaveV3CarryDebt: string;
|
|
1512
1493
|
AaveV3Withdraw: string;
|
|
1513
1494
|
AaveV3Supply: string;
|
|
1514
1495
|
AaveV3SetEMode: string;
|
|
@@ -1618,7 +1599,6 @@ export declare const actionAddresses: {
|
|
|
1618
1599
|
CompCollateralSwitch?: undefined;
|
|
1619
1600
|
FLAaveV2?: undefined;
|
|
1620
1601
|
FLAaveV3NoFee?: undefined;
|
|
1621
|
-
FLAaveV3CarryDebt?: undefined;
|
|
1622
1602
|
FLDyDx?: undefined;
|
|
1623
1603
|
FLMaker?: undefined;
|
|
1624
1604
|
FLBalancer?: undefined;
|
|
@@ -1628,6 +1608,7 @@ export declare const actionAddresses: {
|
|
|
1628
1608
|
FLMorphoBlue?: undefined;
|
|
1629
1609
|
UniSupply?: undefined;
|
|
1630
1610
|
UniWithdraw?: undefined;
|
|
1611
|
+
UniswapClaim?: undefined;
|
|
1631
1612
|
UniCollectV3?: undefined;
|
|
1632
1613
|
UniMintV3?: undefined;
|
|
1633
1614
|
UniSupplyV3?: undefined;
|
|
@@ -1758,6 +1739,7 @@ export declare const actionAddresses: {
|
|
|
1758
1739
|
EulerV2View?: undefined;
|
|
1759
1740
|
RenzoStake?: undefined;
|
|
1760
1741
|
EtherFiStake?: undefined;
|
|
1742
|
+
EtherFiStakeFromLido?: undefined;
|
|
1761
1743
|
EtherFiWrap?: undefined;
|
|
1762
1744
|
EtherFiUnwrap?: undefined;
|
|
1763
1745
|
KingClaim?: undefined;
|
|
@@ -1782,12 +1764,6 @@ export declare const actionAddresses: {
|
|
|
1782
1764
|
GasFeeTakerL2?: undefined;
|
|
1783
1765
|
AaveV3RatioCheck?: undefined;
|
|
1784
1766
|
MorphoBlueView?: undefined;
|
|
1785
|
-
MidnightPaybackDirect?: undefined;
|
|
1786
|
-
MidnightBorrowFromOrders?: undefined;
|
|
1787
|
-
MidnightPaybackFromOrders?: undefined;
|
|
1788
|
-
MidnightSupplyCollateral?: undefined;
|
|
1789
|
-
MidnightWithdrawCollateral?: undefined;
|
|
1790
|
-
MidnightView?: undefined;
|
|
1791
1767
|
};
|
|
1792
1768
|
};
|
|
1793
1769
|
export declare const otherAddresses: {
|