@defisaver/sdk 1.3.25 → 1.3.26-uniswap-dev-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/actions/aaveV3/AaveV3DelegateCredit.d.ts +1 -1
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.js +1 -1
- 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 +4 -2
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.js +12 -6
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.d.ts +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.js +1 -1
- 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 +14 -8
- package/esm/src/addresses.js +5 -12
- package/esm/src/index.d.ts +56 -32
- package/package.json +1 -1
- package/src/actions/aaveV3/AaveV3DelegateCredit.ts +1 -1
- package/src/actions/flashloan/AaveV3FlashLoanAction.ts +1 -1
- package/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.ts +13 -7
- package/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.ts +1 -1
- package/src/actions/uniswap/UniswapClaimAction.ts +31 -0
- package/src/actions/uniswap/index.ts +2 -1
- package/src/addresses.ts +5 -12
- package/test/actions/uniswap/UniswapClaimAction.js +31 -0
- package/umd/index.js +720 -688
|
@@ -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 id of the underlying asset to be repaid
|
|
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 id of the underlying asset to be repaid
|
|
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]);
|
|
@@ -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 tokens
|
|
13
12
|
* @param loanAmounts
|
|
13
|
+
* @param tokens
|
|
14
14
|
* @param modes
|
|
15
15
|
* @param loanPayer
|
|
16
16
|
* @param flParamGetterAddr
|
|
@@ -7,10 +7,12 @@ import { EthAddress, uint256, bytes } from '../../types';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class AaveV3FlashLoanCarryDebtAction extends ActionWithL2 {
|
|
9
9
|
/**
|
|
10
|
-
* @param tokens
|
|
11
10
|
* @param loanAmounts
|
|
11
|
+
* @param tokens
|
|
12
|
+
* @param modes
|
|
13
|
+
* @param loanPayer
|
|
12
14
|
* @param flParamGetterAddr
|
|
13
15
|
* @param flParamGetterData
|
|
14
16
|
*/
|
|
15
|
-
constructor(tokens: Array<EthAddress>, loanAmounts: Array<uint256>, flParamGetterAddr?: EthAddress, flParamGetterData?: bytes);
|
|
17
|
+
constructor(tokens: Array<EthAddress>, loanAmounts: Array<uint256>, modes: Array<uint256>, loanPayer: EthAddress, flParamGetterAddr?: EthAddress, flParamGetterData?: bytes);
|
|
16
18
|
}
|
|
@@ -7,16 +7,22 @@ import { getAddr } from '../../addresses';
|
|
|
7
7
|
*/
|
|
8
8
|
export class AaveV3FlashLoanCarryDebtAction extends ActionWithL2 {
|
|
9
9
|
/**
|
|
10
|
-
* @param tokens
|
|
11
10
|
* @param loanAmounts
|
|
11
|
+
* @param tokens
|
|
12
|
+
* @param modes
|
|
13
|
+
* @param loanPayer
|
|
12
14
|
* @param flParamGetterAddr
|
|
13
15
|
* @param flParamGetterData
|
|
14
16
|
*/
|
|
15
|
-
constructor(tokens, loanAmounts, flParamGetterAddr = getAddr('Empty'), flParamGetterData = []) {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
constructor(tokens, loanAmounts, modes, loanPayer, flParamGetterAddr = getAddr('Empty'), flParamGetterData = []) {
|
|
18
|
+
super('FLAaveV3CarryDebt', getAddr('FLAaveV3CarryDebt'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [tokens, loanAmounts, modes, loanPayer, flParamGetterAddr, flParamGetterData, []]);
|
|
19
|
+
if (tokens.length !== modes.length || tokens.length !== loanAmounts.length) {
|
|
20
|
+
throw new Error('Arrays must be of the same length');
|
|
18
21
|
}
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
modes.forEach((mode) => {
|
|
23
|
+
if (mode.toString() !== '1' && mode.toString() !== '2') {
|
|
24
|
+
throw new Error('Invalid borrow mode set');
|
|
25
|
+
}
|
|
26
|
+
});
|
|
21
27
|
}
|
|
22
28
|
}
|
|
@@ -7,8 +7,8 @@ import { EthAddress, uint256, bytes } from '../../types';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class AaveV3FlashLoanNoFeeAction extends ActionWithL2 {
|
|
9
9
|
/**
|
|
10
|
-
* @param tokens
|
|
11
10
|
* @param loanAmounts
|
|
11
|
+
* @param tokens
|
|
12
12
|
* @param modes
|
|
13
13
|
* @param loanPayer
|
|
14
14
|
* @param flParamGetterAddr
|
|
@@ -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,7 +72,6 @@ export declare const actionAddresses: {
|
|
|
72
72
|
AaveV3ATokenPayback: string;
|
|
73
73
|
AaveV3View: string;
|
|
74
74
|
AaveV3DelegateWithSig: string;
|
|
75
|
-
AaveV3DelegateCredit: string;
|
|
76
75
|
GhoClaimAAVE: string;
|
|
77
76
|
GhoUnstake: string;
|
|
78
77
|
GhoStake: string;
|
|
@@ -124,6 +123,7 @@ export declare const actionAddresses: {
|
|
|
124
123
|
FLMorphoBlue: string;
|
|
125
124
|
UniSupply: string;
|
|
126
125
|
UniWithdraw: string;
|
|
126
|
+
UniswapClaim: string;
|
|
127
127
|
UniCollectV3: string;
|
|
128
128
|
UniMintV3: string;
|
|
129
129
|
UniSupplyV3: string;
|
|
@@ -288,6 +288,7 @@ export declare const actionAddresses: {
|
|
|
288
288
|
AaveV4DelegateWithdrawWithSig: string;
|
|
289
289
|
AaveV4DelegateBorrowWithSig: string;
|
|
290
290
|
AaveV4DelegateSetUsingAsCollateralWithSig: string;
|
|
291
|
+
AaveV3DelegateCredit?: undefined;
|
|
291
292
|
AaveV3RatioTrigger?: undefined;
|
|
292
293
|
GasFeeTakerL2?: undefined;
|
|
293
294
|
AaveV3RatioCheck?: undefined;
|
|
@@ -328,7 +329,6 @@ export declare const actionAddresses: {
|
|
|
328
329
|
FLAaveV3: string;
|
|
329
330
|
FLBalancer: string;
|
|
330
331
|
FLAction: string;
|
|
331
|
-
FLAaveV3CarryDebt: string;
|
|
332
332
|
AaveV3RatioTrigger: string;
|
|
333
333
|
GasFeeTakerL2: string;
|
|
334
334
|
AaveV3RatioCheck: string;
|
|
@@ -427,6 +427,7 @@ export declare const actionAddresses: {
|
|
|
427
427
|
CompGetDebt?: undefined;
|
|
428
428
|
CompCollateralSwitch?: undefined;
|
|
429
429
|
FLAaveV2?: undefined;
|
|
430
|
+
FLAaveV3CarryDebt?: undefined;
|
|
430
431
|
FLDyDx?: undefined;
|
|
431
432
|
FLMaker?: undefined;
|
|
432
433
|
FLSpark?: undefined;
|
|
@@ -435,6 +436,7 @@ export declare const actionAddresses: {
|
|
|
435
436
|
FLMorphoBlue?: undefined;
|
|
436
437
|
UniSupply?: undefined;
|
|
437
438
|
UniWithdraw?: undefined;
|
|
439
|
+
UniswapClaim?: undefined;
|
|
438
440
|
DyDxWithdraw?: undefined;
|
|
439
441
|
YearnSupply?: undefined;
|
|
440
442
|
YearnWithdraw?: undefined;
|
|
@@ -616,7 +618,6 @@ export declare const actionAddresses: {
|
|
|
616
618
|
AaveV3Withdraw: string;
|
|
617
619
|
AaveV3ClaimRewards: string;
|
|
618
620
|
AaveV3DelegateWithSig: string;
|
|
619
|
-
AaveV3DelegateCredit: string;
|
|
620
621
|
CompV3Allow: string;
|
|
621
622
|
CompV3Borrow: string;
|
|
622
623
|
CompV3Claim: string;
|
|
@@ -630,7 +631,6 @@ export declare const actionAddresses: {
|
|
|
630
631
|
FLUniV3: string;
|
|
631
632
|
FLAction: string;
|
|
632
633
|
FLMorphoBlue: string;
|
|
633
|
-
FLAaveV3CarryDebt: string;
|
|
634
634
|
GasFeeTakerL2: string;
|
|
635
635
|
AaveV3RatioCheck: string;
|
|
636
636
|
UniCollectV3: string;
|
|
@@ -754,12 +754,14 @@ export declare const actionAddresses: {
|
|
|
754
754
|
CompGetDebt?: undefined;
|
|
755
755
|
CompCollateralSwitch?: undefined;
|
|
756
756
|
FLAaveV2?: undefined;
|
|
757
|
+
FLAaveV3CarryDebt?: undefined;
|
|
757
758
|
FLDyDx?: undefined;
|
|
758
759
|
FLMaker?: undefined;
|
|
759
760
|
FLSpark?: undefined;
|
|
760
761
|
FLGho?: undefined;
|
|
761
762
|
UniSupply?: undefined;
|
|
762
763
|
UniWithdraw?: undefined;
|
|
764
|
+
UniswapClaim?: undefined;
|
|
763
765
|
DyDxWithdraw?: undefined;
|
|
764
766
|
YearnSupply?: undefined;
|
|
765
767
|
YearnWithdraw?: undefined;
|
|
@@ -875,6 +877,7 @@ export declare const actionAddresses: {
|
|
|
875
877
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
876
878
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
877
879
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
880
|
+
AaveV3DelegateCredit?: undefined;
|
|
878
881
|
AaveV3RatioTrigger?: undefined;
|
|
879
882
|
} | {
|
|
880
883
|
DFSSell: string;
|
|
@@ -902,7 +905,6 @@ export declare const actionAddresses: {
|
|
|
902
905
|
FLUniV3: string;
|
|
903
906
|
FLAction: string;
|
|
904
907
|
FLMorphoBlue: string;
|
|
905
|
-
FLAaveV3CarryDebt: string;
|
|
906
908
|
AaveV3Withdraw: string;
|
|
907
909
|
AaveV3SwapBorrowRateMode: string;
|
|
908
910
|
AaveV3Supply: string;
|
|
@@ -914,7 +916,6 @@ export declare const actionAddresses: {
|
|
|
914
916
|
AaveV3ATokenPayback: string;
|
|
915
917
|
AaveV3View: string;
|
|
916
918
|
AaveV3DelegateWithSig: string;
|
|
917
|
-
AaveV3DelegateCredit: string;
|
|
918
919
|
CompV3Allow: string;
|
|
919
920
|
CompV3Borrow: string;
|
|
920
921
|
CompV3Claim: string;
|
|
@@ -1029,12 +1030,14 @@ export declare const actionAddresses: {
|
|
|
1029
1030
|
CompCollateralSwitch?: undefined;
|
|
1030
1031
|
FLAaveV2?: undefined;
|
|
1031
1032
|
FLAaveV3NoFee?: undefined;
|
|
1033
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1032
1034
|
FLDyDx?: undefined;
|
|
1033
1035
|
FLMaker?: undefined;
|
|
1034
1036
|
FLSpark?: undefined;
|
|
1035
1037
|
FLGho?: undefined;
|
|
1036
1038
|
UniSupply?: undefined;
|
|
1037
1039
|
UniWithdraw?: undefined;
|
|
1040
|
+
UniswapClaim?: undefined;
|
|
1038
1041
|
UniCollectV3?: undefined;
|
|
1039
1042
|
UniMintV3?: undefined;
|
|
1040
1043
|
UniSupplyV3?: undefined;
|
|
@@ -1166,6 +1169,7 @@ export declare const actionAddresses: {
|
|
|
1166
1169
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1167
1170
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1168
1171
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
1172
|
+
AaveV3DelegateCredit?: undefined;
|
|
1169
1173
|
AaveV3RatioTrigger?: undefined;
|
|
1170
1174
|
AaveV3RatioCheck?: undefined;
|
|
1171
1175
|
} | {
|
|
@@ -1187,7 +1191,6 @@ export declare const actionAddresses: {
|
|
|
1187
1191
|
TokenizedVaultAdapter: string;
|
|
1188
1192
|
FLAction: string;
|
|
1189
1193
|
FLAaveV3: string;
|
|
1190
|
-
FLAaveV3CarryDebt: string;
|
|
1191
1194
|
AaveV3Withdraw: string;
|
|
1192
1195
|
AaveV3Supply: string;
|
|
1193
1196
|
AaveV3SetEMode: string;
|
|
@@ -1284,6 +1287,7 @@ export declare const actionAddresses: {
|
|
|
1284
1287
|
CompCollateralSwitch?: undefined;
|
|
1285
1288
|
FLAaveV2?: undefined;
|
|
1286
1289
|
FLAaveV3NoFee?: undefined;
|
|
1290
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1287
1291
|
FLDyDx?: undefined;
|
|
1288
1292
|
FLMaker?: undefined;
|
|
1289
1293
|
FLBalancer?: undefined;
|
|
@@ -1293,6 +1297,7 @@ export declare const actionAddresses: {
|
|
|
1293
1297
|
FLMorphoBlue?: undefined;
|
|
1294
1298
|
UniSupply?: undefined;
|
|
1295
1299
|
UniWithdraw?: undefined;
|
|
1300
|
+
UniswapClaim?: undefined;
|
|
1296
1301
|
UniCollectV3?: undefined;
|
|
1297
1302
|
UniMintV3?: undefined;
|
|
1298
1303
|
UniSupplyV3?: undefined;
|
|
@@ -1479,7 +1484,6 @@ export declare const actionAddresses: {
|
|
|
1479
1484
|
TokenizedVaultAdapter: string;
|
|
1480
1485
|
FLAction: string;
|
|
1481
1486
|
FLAaveV3: string;
|
|
1482
|
-
FLAaveV3CarryDebt: string;
|
|
1483
1487
|
AaveV3Withdraw: string;
|
|
1484
1488
|
AaveV3Supply: string;
|
|
1485
1489
|
AaveV3SetEMode: string;
|
|
@@ -1589,6 +1593,7 @@ export declare const actionAddresses: {
|
|
|
1589
1593
|
CompCollateralSwitch?: undefined;
|
|
1590
1594
|
FLAaveV2?: undefined;
|
|
1591
1595
|
FLAaveV3NoFee?: undefined;
|
|
1596
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1592
1597
|
FLDyDx?: undefined;
|
|
1593
1598
|
FLMaker?: undefined;
|
|
1594
1599
|
FLBalancer?: undefined;
|
|
@@ -1598,6 +1603,7 @@ export declare const actionAddresses: {
|
|
|
1598
1603
|
FLMorphoBlue?: undefined;
|
|
1599
1604
|
UniSupply?: undefined;
|
|
1600
1605
|
UniWithdraw?: undefined;
|
|
1606
|
+
UniswapClaim?: undefined;
|
|
1601
1607
|
UniCollectV3?: undefined;
|
|
1602
1608
|
UniMintV3?: undefined;
|
|
1603
1609
|
UniSupplyV3?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -80,7 +80,6 @@ export const actionAddresses = {
|
|
|
80
80
|
AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
|
|
81
81
|
AaveV3View: '0x0CB0170F3413e54405F64d3C23BA3A1D8Bb96D99',
|
|
82
82
|
AaveV3DelegateWithSig: '0x9253E22Ce4f0AeE541301CF8cC29843f9083a1F4',
|
|
83
|
-
AaveV3DelegateCredit: '0xa7ab39edCb0a1b742DCd908EC6CFe178d8322580',
|
|
84
83
|
GhoClaimAAVE: '0xA53060d822cB31AFd5B26D899130a14E8Efc5917',
|
|
85
84
|
GhoUnstake: '0x3fD02e65B4fb12381946D03815Ff3FF8Ebe2fC63',
|
|
86
85
|
GhoStake: '0x6cfBFd04702f3b7d4fc52D457eDf91D6E4A081bb',
|
|
@@ -126,7 +125,7 @@ export const actionAddresses = {
|
|
|
126
125
|
// flashloan
|
|
127
126
|
FLAaveV2: '0xEA55576383C96A69B3E8beD51Ce0d0294001bc5F',
|
|
128
127
|
FLAaveV3NoFee: '0xd9D8e68717Ce24CCbf162868aaad7E38d81b05d1',
|
|
129
|
-
FLAaveV3CarryDebt: '
|
|
128
|
+
FLAaveV3CarryDebt: '0x7BdD8ACE8a48B7032Df68B7f53E0D6D9Ea9411A7',
|
|
130
129
|
FLAaveV3: '0x5021d70aB7D757D61E0230c472ff89b8B2B8705e',
|
|
131
130
|
FLDyDx: '0x08AC78B418fCB0DDF1096533856A757C28d430d7',
|
|
132
131
|
FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
|
|
@@ -139,6 +138,7 @@ export const actionAddresses = {
|
|
|
139
138
|
// uniswap
|
|
140
139
|
UniSupply: '0x9935e12F0218E61c27D7f23eAC9A9D6881a078eC',
|
|
141
140
|
UniWithdraw: '0xf8bb8F68b0A45DC315F3f7602a60cfb274B00951',
|
|
141
|
+
UniswapClaim: '0x4Eed50e142BFaE83b2d05ce960C55F4c536d123f',
|
|
142
142
|
// uniswap V3
|
|
143
143
|
UniCollectV3: '0x331D7C3F6E710cB6cFE94c4Aa04AC3345AC00e00',
|
|
144
144
|
UniMintV3: '0x3dF75BE8Fb0a6186BE9705cACaa6dD2a4Ec3e40C',
|
|
@@ -364,13 +364,12 @@ export const actionAddresses = {
|
|
|
364
364
|
AaveV3Withdraw: '0xf19d045f6cFc04A5Ee5E0e8837b565b9f276e3F7',
|
|
365
365
|
AaveV3ClaimRewards: '0xBE8e8cea67085F869C1C0040fD52F9F3115E962e',
|
|
366
366
|
AaveV3DelegateWithSig: '0x8dd05d32fB05E8c3e8F37294e6f2d13e5823a712',
|
|
367
|
-
AaveV3DelegateCredit: '
|
|
367
|
+
AaveV3DelegateCredit: '0x0000000000000000000000000000000000000000',
|
|
368
368
|
// flashloan
|
|
369
369
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
370
370
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
371
371
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
372
372
|
FLAction: '0xB57b666dAB46229e2b80113b5187F6DCD91AB159',
|
|
373
|
-
FLAaveV3CarryDebt: '0x4ab7a392aF23215A9049A64F3B2d44726aD2D6fe',
|
|
374
373
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
375
374
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
376
375
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -427,7 +426,6 @@ export const actionAddresses = {
|
|
|
427
426
|
AaveV3Withdraw: '0xbf492F869DdB1A18BB4F41b6c3059D9f882Fe7ff',
|
|
428
427
|
AaveV3ClaimRewards: '0x3a4d72Ed2a47a409a82ba61f0fca1C749Ea8aB66',
|
|
429
428
|
AaveV3DelegateWithSig: '0xFF2CE05250d1880f0f45ea8fB453292CABA42F12',
|
|
430
|
-
AaveV3DelegateCredit: '0x8C13353e3DA67d3171D6F73751E3caa791a3AACD',
|
|
431
429
|
// CompV3
|
|
432
430
|
CompV3Allow: '0x0380E8e13CdE0499c720999930CaA07A5744887c',
|
|
433
431
|
CompV3Borrow: '0x1C0eCc794fDA7c29aBd19E0b2F7dA166C237d616',
|
|
@@ -443,7 +441,6 @@ export const actionAddresses = {
|
|
|
443
441
|
FLUniV3: '0xf041C72e201CD7d04a240fe06c5783E2Ee2D92b3',
|
|
444
442
|
FLAction: '0xf041C72e201CD7d04a240fe06c5783E2Ee2D92b3',
|
|
445
443
|
FLMorphoBlue: '0xf041C72e201CD7d04a240fe06c5783E2Ee2D92b3',
|
|
446
|
-
FLAaveV3CarryDebt: '0xEc6Db90d9EFa7cD75d5b716896A497e9d9103D5b',
|
|
447
444
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
448
445
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
449
446
|
// uniswap V3
|
|
@@ -522,7 +519,6 @@ export const actionAddresses = {
|
|
|
522
519
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
523
520
|
FLAction: '0x87Af4769e4134379125A262408e1f3EC60d2Ab52',
|
|
524
521
|
FLMorphoBlue: '0x87Af4769e4134379125A262408e1f3EC60d2Ab52',
|
|
525
|
-
FLAaveV3CarryDebt: '0x760e97862DD8652e5BB8b4D8ad9C99a74BBe7E7A',
|
|
526
522
|
// AaveV3
|
|
527
523
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
528
524
|
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
@@ -535,7 +531,6 @@ export const actionAddresses = {
|
|
|
535
531
|
AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
|
|
536
532
|
AaveV3View: '0xf140B2904beb743C2f17e0b5f766074212a7e243',
|
|
537
533
|
AaveV3DelegateWithSig: '0x9e295AFaC75E7843b88a563D119FD953EDf441c2',
|
|
538
|
-
AaveV3DelegateCredit: '0xF85aD63c513A76a1dc05B2AddC4777F17336c7e9',
|
|
539
534
|
// CompV3
|
|
540
535
|
CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
|
|
541
536
|
CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
|
|
@@ -596,7 +591,6 @@ export const actionAddresses = {
|
|
|
596
591
|
// Flashloan
|
|
597
592
|
FLAction: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
598
593
|
FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
599
|
-
FLAaveV3CarryDebt: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
600
594
|
// AaveV3
|
|
601
595
|
AaveV3Withdraw: '0xae56474aBe3C271579b513b6668864e39f65Ae15',
|
|
602
596
|
AaveV3Supply: '0x7dFF34190d0307fC234fc7E8C152C9715083eB02',
|
|
@@ -608,7 +602,7 @@ export const actionAddresses = {
|
|
|
608
602
|
AaveV3ATokenPayback: '0xedfc68e2874b0afc0963e18ae4d68522aec7f97d',
|
|
609
603
|
AaveV3View: '0xc9d6efa6e08b66a5cdc516bcd5807c2fa69e0f2a',
|
|
610
604
|
AaveV3DelegateWithSig: '0x169D6E128238ebabF86032Ae9da65938eaD7F69e',
|
|
611
|
-
AaveV3DelegateCredit: '
|
|
605
|
+
AaveV3DelegateCredit: '0x2A588cBCBd5e6c6ba7ED0E260B8107F599017DDE',
|
|
612
606
|
},
|
|
613
607
|
[NETWORKS.plasma.chainId]: {
|
|
614
608
|
// Basic
|
|
@@ -631,7 +625,6 @@ export const actionAddresses = {
|
|
|
631
625
|
// Flashloan
|
|
632
626
|
FLAction: '0x40C9ce603923AACD0b7407Ff0EE844c9C067cEB7',
|
|
633
627
|
FLAaveV3: '0x40C9ce603923AACD0b7407Ff0EE844c9C067cEB7',
|
|
634
|
-
FLAaveV3CarryDebt: '0x6Dc6C0e38fBd066b89Ba7E6f711B4288246891b3',
|
|
635
628
|
// AaveV3
|
|
636
629
|
AaveV3Withdraw: '0x4839d021A24820e57C31D386d430e2e82694F73B',
|
|
637
630
|
AaveV3Supply: '0x9D95de57631DD8Ac071892843DA67FEe52EA3962',
|
|
@@ -643,7 +636,7 @@ export const actionAddresses = {
|
|
|
643
636
|
AaveV3ATokenPayback: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
644
637
|
AaveV3View: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
|
|
645
638
|
AaveV3DelegateWithSig: '0x49658E0CF3883c338397C7257619B280dF581057',
|
|
646
|
-
AaveV3DelegateCredit: '
|
|
639
|
+
AaveV3DelegateCredit: '0x0a9b2080C14DaF008AE87C977dFDf5f5D6D0937F',
|
|
647
640
|
// Fluid
|
|
648
641
|
FluidVaultT1Open: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
649
642
|
FluidVaultT1Adjust: '0xD37d4DB98E67305ef92f34886B25500500E04Aed',
|