@defisaver/sdk 1.0.67-dev-6 → 1.0.68-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/basic/SellAction.js +1 -1
- package/esm/src/actions/basic/index.d.ts +0 -3
- package/esm/src/actions/basic/index.js +0 -3
- package/esm/src/actions/flashloan/FLAction.js +1 -1
- package/esm/src/actions/flashloan/index.d.ts +0 -1
- package/esm/src/actions/flashloan/index.js +0 -1
- package/esm/src/actions/index.d.ts +1 -2
- package/esm/src/actions/index.js +1 -2
- package/esm/src/actions/maker/MakerGiveAction.d.ts +2 -1
- package/esm/src/actions/maker/MakerGiveAction.js +3 -2
- package/esm/src/addresses.d.ts +7 -19
- package/esm/src/addresses.js +22 -38
- package/esm/src/index.d.ts +28 -76
- package/esm/src/triggers/index.d.ts +0 -2
- package/esm/src/triggers/index.js +0 -2
- package/esm/src/types.d.ts +20 -20
- package/package.json +1 -1
- package/src/actions/basic/SellAction.ts +2 -2
- package/src/actions/basic/index.ts +0 -3
- package/src/actions/flashloan/FLAction.ts +2 -2
- package/src/actions/flashloan/index.ts +1 -2
- package/src/actions/index.ts +0 -2
- package/src/actions/maker/MakerGiveAction.ts +3 -2
- package/src/addresses.ts +22 -39
- package/src/triggers/index.ts +0 -2
- package/umd/index.js +1203 -1497
- package/esm/src/actions/basic/ExecuteSafeTxAction.d.ts +0 -23
- package/esm/src/actions/basic/ExecuteSafeTxAction.js +0 -60
- package/esm/src/actions/basic/LimitSellAction.d.ts +0 -24
- package/esm/src/actions/basic/LimitSellAction.js +0 -63
- package/esm/src/actions/basic/RemoveTokenApprovalAction.d.ts +0 -15
- package/esm/src/actions/basic/RemoveTokenApprovalAction.js +0 -42
- package/esm/src/actions/flashloan/FLPaybackAction.d.ts +0 -14
- package/esm/src/actions/flashloan/FLPaybackAction.js +0 -16
- package/esm/src/actions/merkl/MerklClaimAction.d.ts +0 -19
- package/esm/src/actions/merkl/MerklClaimAction.js +0 -21
- package/esm/src/actions/merkl/index.d.ts +0 -1
- package/esm/src/actions/merkl/index.js +0 -1
- package/esm/src/triggers/CurveUsdHealthRatioTrigger.d.ts +0 -10
- package/esm/src/triggers/CurveUsdHealthRatioTrigger.js +0 -12
- package/esm/src/triggers/OffchainPriceTrigger.d.ts +0 -10
- package/esm/src/triggers/OffchainPriceTrigger.js +0 -12
- package/src/actions/basic/ExecuteSafeTxAction.ts +0 -85
- package/src/actions/basic/LimitSellAction.ts +0 -63
- package/src/actions/basic/RemoveTokenApprovalAction.ts +0 -39
- package/src/actions/flashloan/FLPaybackAction.ts +0 -18
- package/src/actions/merkl/MerklClaimAction.ts +0 -36
- package/src/actions/merkl/index.ts +0 -1
- package/src/triggers/CurveUsdHealthRatioTrigger.ts +0 -14
- package/src/triggers/OffchainPriceTrigger.ts +0 -14
- package/yarn-error.log +0 -3976
package/esm/src/Action.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AccessListItem, EthAddress } from './types';
|
|
2
|
-
type ParamTypes = Array<string | Array<any>>;
|
|
3
|
-
type Args = Array<any>;
|
|
2
|
+
declare type ParamTypes = Array<string | Array<any>>;
|
|
3
|
+
declare type Args = Array<any>;
|
|
4
4
|
/**
|
|
5
5
|
* Single action that can be executed directly, or combined into a set (ie. supply a vault)
|
|
6
6
|
*
|
|
@@ -27,7 +27,7 @@ export class SellAction extends ActionWithL2 {
|
|
|
27
27
|
*/
|
|
28
28
|
constructor(exchangeOrder, from, to, protocolFee = '0') {
|
|
29
29
|
requireAddress(to);
|
|
30
|
-
super('
|
|
30
|
+
super('DFSSell', getAddr('DFSSell'), [
|
|
31
31
|
['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
|
|
32
32
|
'address',
|
|
33
33
|
'address',
|
|
@@ -24,6 +24,3 @@ export * from './TokenizedVaultAdapterDepositAction';
|
|
|
24
24
|
export * from './TokenizedVaultAdapterMintAction';
|
|
25
25
|
export * from './TokenizedVaultAdapterRedeemAction';
|
|
26
26
|
export * from './TokenizedVaultAdapterWithdrawAction';
|
|
27
|
-
export * from './LimitSellAction';
|
|
28
|
-
export * from './ExecuteSafeTxAction';
|
|
29
|
-
export * from './RemoveTokenApprovalAction';
|
|
@@ -24,6 +24,3 @@ export * from './TokenizedVaultAdapterDepositAction';
|
|
|
24
24
|
export * from './TokenizedVaultAdapterMintAction';
|
|
25
25
|
export * from './TokenizedVaultAdapterRedeemAction';
|
|
26
26
|
export * from './TokenizedVaultAdapterWithdrawAction';
|
|
27
|
-
export * from './LimitSellAction';
|
|
28
|
-
export * from './ExecuteSafeTxAction';
|
|
29
|
-
export * from './RemoveTokenApprovalAction';
|
|
@@ -13,7 +13,7 @@ import { getAddr } from '../../addresses';
|
|
|
13
13
|
*/
|
|
14
14
|
export class FLAction extends Action {
|
|
15
15
|
constructor(specificFLAction) {
|
|
16
|
-
super('
|
|
16
|
+
super('FLAction', getAddr('FLAction'), [], []);
|
|
17
17
|
_FLAction_instances.add(this);
|
|
18
18
|
this.paramTypes = ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'];
|
|
19
19
|
this.args = __classPrivateFieldGet(this, _FLAction_instances, "m", _FLAction_handleArgs).call(this, specificFLAction);
|
|
@@ -28,5 +28,4 @@ import * as curveusd from './curveusd';
|
|
|
28
28
|
import * as spark from './spark';
|
|
29
29
|
import * as morphoblue from './morpho-blue';
|
|
30
30
|
import * as llamalend from './llamalend';
|
|
31
|
-
|
|
32
|
-
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, llamalend, merkl, };
|
|
31
|
+
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, llamalend, };
|
package/esm/src/actions/index.js
CHANGED
|
@@ -28,5 +28,4 @@ import * as curveusd from './curveusd';
|
|
|
28
28
|
import * as spark from './spark';
|
|
29
29
|
import * as morphoblue from './morpho-blue';
|
|
30
30
|
import * as llamalend from './llamalend';
|
|
31
|
-
|
|
32
|
-
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, llamalend, merkl, };
|
|
31
|
+
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, llamalend, };
|
|
@@ -9,7 +9,8 @@ export declare class MakerGiveAction extends Action {
|
|
|
9
9
|
/**
|
|
10
10
|
* @param vaultId
|
|
11
11
|
* @param newOwner
|
|
12
|
+
* @param createProxy
|
|
12
13
|
* @param mcdManager
|
|
13
14
|
*/
|
|
14
|
-
constructor(vaultId: uint256, newOwner: EthAddress, mcdManager?: EthAddress);
|
|
15
|
+
constructor(vaultId: uint256, newOwner: EthAddress, createProxy: boolean, mcdManager?: EthAddress);
|
|
15
16
|
}
|
|
@@ -10,11 +10,12 @@ export class MakerGiveAction extends Action {
|
|
|
10
10
|
/**
|
|
11
11
|
* @param vaultId
|
|
12
12
|
* @param newOwner
|
|
13
|
+
* @param createProxy
|
|
13
14
|
* @param mcdManager
|
|
14
15
|
*/
|
|
15
|
-
constructor(vaultId, newOwner, mcdManager = getAddr('McdCdpManager')) {
|
|
16
|
+
constructor(vaultId, newOwner, createProxy, mcdManager = getAddr('McdCdpManager')) {
|
|
16
17
|
requireAddress(newOwner);
|
|
17
|
-
super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'address'], [vaultId, newOwner, mcdManager]);
|
|
18
|
+
super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'bool', 'address'], [vaultId, newOwner, createProxy, mcdManager]);
|
|
18
19
|
this.mappableArgs = [
|
|
19
20
|
this.args[0],
|
|
20
21
|
this.args[1],
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export declare const actionAddresses: {
|
|
|
20
20
|
SDaiUnwrap: string;
|
|
21
21
|
TokenizedVaultAdapter: string;
|
|
22
22
|
DFSSell: string;
|
|
23
|
-
DFSSellTEMP: string;
|
|
24
23
|
McdGenerate: string;
|
|
25
24
|
McdGive: string;
|
|
26
25
|
McdMerge: string;
|
|
@@ -98,7 +97,6 @@ export declare const actionAddresses: {
|
|
|
98
97
|
FLBalancer: string;
|
|
99
98
|
FLSpark: string;
|
|
100
99
|
FLAction: string;
|
|
101
|
-
FLActionTEMP: string;
|
|
102
100
|
FLUniV3: string;
|
|
103
101
|
FLGho: string;
|
|
104
102
|
FLMorphoBlue: string;
|
|
@@ -199,20 +197,16 @@ export declare const actionAddresses: {
|
|
|
199
197
|
LlamaLendWithdraw: string;
|
|
200
198
|
LlamaLendPayback: string;
|
|
201
199
|
LlamaLendSelfLiquidate: string;
|
|
202
|
-
MerklClaim: string;
|
|
203
200
|
AaveV3DelegateCredit?: undefined;
|
|
204
201
|
AaveV3RatioTrigger?: undefined;
|
|
205
202
|
GasFeeTakerL2?: undefined;
|
|
206
203
|
AaveV3RatioCheck?: undefined;
|
|
207
204
|
} | {
|
|
208
205
|
DFSSell: string;
|
|
209
|
-
DFSSellTEMP: string;
|
|
210
206
|
WrapEth: string;
|
|
211
207
|
UnwrapEth: string;
|
|
212
208
|
SendToken: string;
|
|
213
209
|
PullToken: string;
|
|
214
|
-
SumInputs: string;
|
|
215
|
-
SubInputs: string;
|
|
216
210
|
ApproveToken: string;
|
|
217
211
|
SendTokenAndUnwrap: string;
|
|
218
212
|
ToggleSub: string;
|
|
@@ -233,7 +227,6 @@ export declare const actionAddresses: {
|
|
|
233
227
|
FLAaveV3: string;
|
|
234
228
|
FLBalancer: string;
|
|
235
229
|
FLAction: string;
|
|
236
|
-
FLActionTEMP: string;
|
|
237
230
|
AaveV3RatioTrigger: string;
|
|
238
231
|
GasFeeTakerL2: string;
|
|
239
232
|
AaveV3RatioCheck: string;
|
|
@@ -242,6 +235,8 @@ export declare const actionAddresses: {
|
|
|
242
235
|
UniSupplyV3: string;
|
|
243
236
|
UniWithdrawV3: string;
|
|
244
237
|
UniCreatePoolV3: string;
|
|
238
|
+
SumInputs?: undefined;
|
|
239
|
+
SubInputs?: undefined;
|
|
245
240
|
AutomationV2Unsub?: undefined;
|
|
246
241
|
UpdateSub?: undefined;
|
|
247
242
|
TransferNFT?: undefined;
|
|
@@ -407,16 +402,12 @@ export declare const actionAddresses: {
|
|
|
407
402
|
LlamaLendWithdraw?: undefined;
|
|
408
403
|
LlamaLendPayback?: undefined;
|
|
409
404
|
LlamaLendSelfLiquidate?: undefined;
|
|
410
|
-
MerklClaim?: undefined;
|
|
411
405
|
} | {
|
|
412
406
|
DFSSell: string;
|
|
413
|
-
DFSSellTEMP: string;
|
|
414
407
|
WrapEth: string;
|
|
415
408
|
UnwrapEth: string;
|
|
416
409
|
SendToken: string;
|
|
417
410
|
PullToken: string;
|
|
418
|
-
SumInputs: string;
|
|
419
|
-
SubInputs: string;
|
|
420
411
|
SendTokenAndUnwrap: string;
|
|
421
412
|
ToggleSub: string;
|
|
422
413
|
TokenBalance: string;
|
|
@@ -441,7 +432,6 @@ export declare const actionAddresses: {
|
|
|
441
432
|
FLAaveV3: string;
|
|
442
433
|
FLBalancer: string;
|
|
443
434
|
FLAction: string;
|
|
444
|
-
FLActionTEMP: string;
|
|
445
435
|
GasFeeTakerL2: string;
|
|
446
436
|
AaveV3RatioCheck: string;
|
|
447
437
|
UniCollectV3: string;
|
|
@@ -449,6 +439,8 @@ export declare const actionAddresses: {
|
|
|
449
439
|
UniSupplyV3: string;
|
|
450
440
|
UniWithdrawV3: string;
|
|
451
441
|
UniCreatePoolV3: string;
|
|
442
|
+
SumInputs?: undefined;
|
|
443
|
+
SubInputs?: undefined;
|
|
452
444
|
AutomationV2Unsub?: undefined;
|
|
453
445
|
UpdateSub?: undefined;
|
|
454
446
|
TransferNFT?: undefined;
|
|
@@ -609,25 +601,19 @@ export declare const actionAddresses: {
|
|
|
609
601
|
LlamaLendWithdraw?: undefined;
|
|
610
602
|
LlamaLendPayback?: undefined;
|
|
611
603
|
LlamaLendSelfLiquidate?: undefined;
|
|
612
|
-
MerklClaim?: undefined;
|
|
613
604
|
AaveV3DelegateCredit?: undefined;
|
|
614
605
|
AaveV3RatioTrigger?: undefined;
|
|
615
606
|
} | {
|
|
616
607
|
DFSSell: string;
|
|
617
|
-
DFSSellTEMP: string;
|
|
618
608
|
WrapEth: string;
|
|
619
609
|
UnwrapEth: string;
|
|
620
610
|
SendToken: string;
|
|
621
611
|
PullToken: string;
|
|
622
|
-
SumInputs: string;
|
|
623
|
-
SubInputs: string;
|
|
624
612
|
TokenBalance: string;
|
|
625
613
|
ChangeProxyOwner: string;
|
|
626
614
|
FLAaveV3: string;
|
|
627
615
|
FLBalancer: string;
|
|
628
616
|
FLUniV3: string;
|
|
629
|
-
FLAction: string;
|
|
630
|
-
FLActionTEMP: string;
|
|
631
617
|
AaveV3Withdraw: string;
|
|
632
618
|
AaveV3SwapBorrowRateMode: string;
|
|
633
619
|
AaveV3Supply: string;
|
|
@@ -645,6 +631,8 @@ export declare const actionAddresses: {
|
|
|
645
631
|
CompV3Supply: string;
|
|
646
632
|
CompV3Transfer: string;
|
|
647
633
|
CompV3Withdraw: string;
|
|
634
|
+
SumInputs?: undefined;
|
|
635
|
+
SubInputs?: undefined;
|
|
648
636
|
AutomationV2Unsub?: undefined;
|
|
649
637
|
SendTokenAndUnwrap?: undefined;
|
|
650
638
|
ToggleSub?: undefined;
|
|
@@ -719,6 +707,7 @@ export declare const actionAddresses: {
|
|
|
719
707
|
FLDyDx?: undefined;
|
|
720
708
|
FLMaker?: undefined;
|
|
721
709
|
FLSpark?: undefined;
|
|
710
|
+
FLAction?: undefined;
|
|
722
711
|
FLGho?: undefined;
|
|
723
712
|
FLMorphoBlue?: undefined;
|
|
724
713
|
UniSupply?: undefined;
|
|
@@ -811,7 +800,6 @@ export declare const actionAddresses: {
|
|
|
811
800
|
LlamaLendWithdraw?: undefined;
|
|
812
801
|
LlamaLendPayback?: undefined;
|
|
813
802
|
LlamaLendSelfLiquidate?: undefined;
|
|
814
|
-
MerklClaim?: undefined;
|
|
815
803
|
AaveV3DelegateCredit?: undefined;
|
|
816
804
|
AaveV3RatioTrigger?: undefined;
|
|
817
805
|
GasFeeTakerL2?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -5,24 +5,23 @@ export const actionAddresses = {
|
|
|
5
5
|
WrapEth: '0x8EbBd35f84D7f0DFCBEf08fD30CD09176133251A',
|
|
6
6
|
UnwrapEth: '0xDB6C8cFDd7c1C0F8895CDBC01Dbf4A6D4B6d2a29',
|
|
7
7
|
PullToken: '0x254cA89a00d53ab61de2Ba5641DBDC01aE48aed4',
|
|
8
|
-
SendToken: '
|
|
8
|
+
SendToken: '0x5612e490c9549486dF16b34EBfD0E8b6cF6a1717',
|
|
9
9
|
SumInputs: '0x70907d840aBBc984Fd949311d2f005e6aC4a4D7a',
|
|
10
10
|
SubInputs: '0xe1804b756188F63f723d2FECc02988D0Cc1aB823',
|
|
11
11
|
ChangeProxyOwner: '0x81cA52CfE66421d0ceF82d5F33230e43b5F23D2B',
|
|
12
12
|
TokenBalance: '0xa92B177950F1460119940436515FD857C24494BC',
|
|
13
13
|
AutomationV2Unsub: '0xe35Fb12fE9796847751076aCf5ee7d124108612C',
|
|
14
|
-
SendTokenAndUnwrap: '
|
|
14
|
+
SendTokenAndUnwrap: '0xeecd376026335261c89faD40D89625391b1eFF6a',
|
|
15
15
|
ToggleSub: '0x9A78E9d6538cfDbA0242Ca5eC46771E6132E8085',
|
|
16
16
|
UpdateSub: '0xF6Cb8f7e61a64075ec8FAC3f298745605E543233',
|
|
17
17
|
TransferNFT: '0x861e893E1796F81248e75F06C0b09Abdc8fe2f6F',
|
|
18
|
-
CreateSub: '
|
|
18
|
+
CreateSub: '0x7308e88BB21B934478E75bB6A2143b8cfDFf2961',
|
|
19
19
|
ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
|
|
20
20
|
SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
|
|
21
21
|
SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
|
|
22
22
|
TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
|
|
23
23
|
// exchange
|
|
24
24
|
DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
|
|
25
|
-
DFSSellTEMP: '0x8bfc99652358884AF965324e6A233014510F0CFc',
|
|
26
25
|
// maker
|
|
27
26
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
28
27
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -107,11 +106,10 @@ export const actionAddresses = {
|
|
|
107
106
|
FLAaveV3CarryDebt: '0x7BdD8ACE8a48B7032Df68B7f53E0D6D9Ea9411A7',
|
|
108
107
|
FLAaveV3: '0x5021d70aB7D757D61E0230c472ff89b8B2B8705e',
|
|
109
108
|
FLDyDx: '0x08AC78B418fCB0DDF1096533856A757C28d430d7',
|
|
110
|
-
FLMaker: '
|
|
111
|
-
FLBalancer: '
|
|
109
|
+
FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
|
|
110
|
+
FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
|
|
112
111
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
113
|
-
FLAction: '
|
|
114
|
-
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
112
|
+
FLAction: '0x72915D41982DfCAf30b871290618E59C45Edba7F',
|
|
115
113
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
116
114
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
117
115
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -194,21 +192,21 @@ export const actionAddresses = {
|
|
|
194
192
|
FetchBondId: '0xA3331A6aE1BC901b8136E6Fe622890B3Fa3dC80e',
|
|
195
193
|
// CompV3
|
|
196
194
|
CompV3Allow: '0xC4a80f22bf56E0dFa2CB378561B934F41E14bc9f',
|
|
197
|
-
CompV3Borrow: '
|
|
195
|
+
CompV3Borrow: '0x11e7b984299a771C92CD42A87358a32791A75CEA',
|
|
198
196
|
CompV3Claim: '0x4CEa369B63daAc0dA3423c5038a57483c5150986',
|
|
199
|
-
CompV3Payback: '
|
|
200
|
-
CompV3Supply: '
|
|
197
|
+
CompV3Payback: '0x6d14b9d69aADcb0d31a3e5d89fba75AB053fc9f0',
|
|
198
|
+
CompV3Supply: '0xaF36Eca43bb26468078B8163fe5Bc1fCFc292095',
|
|
201
199
|
CompV3Transfer: '0xeD7450e9C17146476137b77198DFfB17857906c4',
|
|
202
|
-
CompV3Withdraw: '
|
|
200
|
+
CompV3Withdraw: '0x0b0F21EDE32DE4243D9145a899E97FC2366Aec46',
|
|
203
201
|
// crvUSD
|
|
204
202
|
CurveUsdBorrow: '0x2512A976227a82Ef0F6bDdb463cBcD5B732596BF',
|
|
205
203
|
CurveUsdCreate: '0x715B40970dac1cfAf0bB85C4Fe64921b44b3f73e',
|
|
206
|
-
CurveUsdPayback: '
|
|
204
|
+
CurveUsdPayback: '0xbcAd628159ab0f3d7F391dBb4c3553aFCD61CA80',
|
|
207
205
|
CurveUsdSupply: '0xa55B3CE5ae7E59002f53b2153ABe326823ccCDE2',
|
|
208
206
|
CurveUsdAdjust: '0x6f69A7d0B1BE7602381d9cCE6B29F05B9D0b85e6',
|
|
209
207
|
CurveUsdWithdraw: '0x54B8D984fc79B000D7B6F6E0f52CD054E965120f',
|
|
210
208
|
CurveUsdLevCreate: '0xcbd9aFc2b7532b9eeB3A7EC4ea8Bb4320795d9Ad',
|
|
211
|
-
CurveUsdRepay: '
|
|
209
|
+
CurveUsdRepay: '0xd12785e4834C1421fC7B64ca57d64E886e39b80F',
|
|
212
210
|
CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
|
|
213
211
|
CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
|
|
214
212
|
CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF',
|
|
@@ -230,20 +228,16 @@ export const actionAddresses = {
|
|
|
230
228
|
LlamaLendWithdraw: '0x2593Da3c4110C531541424e9e847cd7905894C52',
|
|
231
229
|
LlamaLendPayback: '0x5b506b7a0117dbcd086632575da599bb603eb602',
|
|
232
230
|
LlamaLendSelfLiquidate: '0xe4944e0e46177300fa4c351ef72b95b9655e8394',
|
|
233
|
-
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
234
231
|
},
|
|
235
232
|
[NETWORKS.optimism.chainId]: {
|
|
236
233
|
DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
|
|
237
|
-
DFSSellTEMP: '0x01f7DB086076a16Cebd940A95919Af088C0662FD',
|
|
238
234
|
// basic
|
|
239
235
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
240
236
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
241
|
-
SendToken: '
|
|
237
|
+
SendToken: '0xEbA499702856f1EFda2546e9fEFC1319A3b40538',
|
|
242
238
|
PullToken: '0x392579E020a688068422A925c85f28bFD12a7EBB',
|
|
243
|
-
SumInputs: '0xd19C646Be027a7a04ea4201f116d43659b8b5f65',
|
|
244
|
-
SubInputs: '0x60d00020f12dd202eAfDba84e8F69E165a84c64D',
|
|
245
239
|
ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
|
|
246
|
-
SendTokenAndUnwrap: '
|
|
240
|
+
SendTokenAndUnwrap: '0x8000174366066923D554cb466e190258A6FF3b1f',
|
|
247
241
|
ToggleSub: '0x988C5C24AE6348404196267e19962f36961CAc29',
|
|
248
242
|
TokenBalance: '0xC6FF5b01f7c7b35b6e093fF70D2332B361C5Be5A',
|
|
249
243
|
TokenizedVaultAdapter: '0xdf31669FEd440f5BfF658ca0bBF0D22B8abdeb73',
|
|
@@ -263,8 +257,7 @@ export const actionAddresses = {
|
|
|
263
257
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
264
258
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
265
259
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
266
|
-
FLAction: '
|
|
267
|
-
FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
260
|
+
FLAction: '0xE668197A175E7A2143222a028470c6ABBBD183F6',
|
|
268
261
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
269
262
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
270
263
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -277,15 +270,12 @@ export const actionAddresses = {
|
|
|
277
270
|
},
|
|
278
271
|
[NETWORKS.arbitrum.chainId]: {
|
|
279
272
|
DFSSell: '0x9109F34AB28D369cF894aF45C50E976B8E312a82',
|
|
280
|
-
DFSSellTEMP: '0xF940aE73cb01c81e657916D14e5699c73a22566c',
|
|
281
273
|
// basic
|
|
282
274
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
283
275
|
UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
|
|
284
|
-
SendToken: '
|
|
276
|
+
SendToken: '0xb022BaFfcEdc0ceA15aF6B2B744795A12D21F2a9',
|
|
285
277
|
PullToken: '0xD8B3769f74bd9F196C3416a42a91E786948898e6',
|
|
286
|
-
|
|
287
|
-
SubInputs: '0x8ec14f9568e1d7cf73b68df899808abd7fe6fc8d',
|
|
288
|
-
SendTokenAndUnwrap: '0x009C5B1c7C844Bd662Da3991295b1B3Bd71a430c',
|
|
278
|
+
SendTokenAndUnwrap: '0x0fb867A5Ee1CA9426D3dAb95e613Be166218b977',
|
|
289
279
|
ToggleSub: '0x71015226EADFd4aC887fB56556F64338e352439b',
|
|
290
280
|
TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
|
|
291
281
|
TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
|
|
@@ -311,8 +301,7 @@ export const actionAddresses = {
|
|
|
311
301
|
FLAaveV3NoFee: '0x219ac6dA971dE6d943cffD1BD62abde71525d382',
|
|
312
302
|
FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
|
|
313
303
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
314
|
-
FLAction: '
|
|
315
|
-
FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
304
|
+
FLAction: '0x1561EAF39c98d45C55C7dC605E627672F4406819',
|
|
316
305
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
317
306
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
318
307
|
// uniswap V3
|
|
@@ -325,21 +314,16 @@ export const actionAddresses = {
|
|
|
325
314
|
[NETWORKS.base.chainId]: {
|
|
326
315
|
// Basic
|
|
327
316
|
DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
|
|
328
|
-
DFSSellTEMP: '0x76e5c4e10E36B2f7E8B7F8a570e8A485B86d0ac7',
|
|
329
317
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
330
318
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
331
319
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
332
320
|
PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
|
|
333
|
-
SumInputs: '0xC856ef8fe425B2EFe373e0e7038fAFF4a4f764fE',
|
|
334
|
-
SubInputs: '0xd244B1991Fcb8FC0f32FA55bce37714fc5929B95',
|
|
335
321
|
TokenBalance: '0xc44bcE580B1b3339fE9272D3bC3d6566083ea59C',
|
|
336
322
|
ChangeProxyOwner: '0x1947a44d3717a47556175d64fdc208619aa08874',
|
|
337
323
|
// Flashloan
|
|
338
324
|
FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
|
|
339
325
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
340
326
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
341
|
-
FLAction: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
|
|
342
|
-
FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
|
|
343
327
|
// AaveV3
|
|
344
328
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
345
329
|
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
@@ -363,7 +347,7 @@ export const actionAddresses = {
|
|
|
363
347
|
};
|
|
364
348
|
export const otherAddresses = {
|
|
365
349
|
[NETWORKS.ethereum.chainId]: {
|
|
366
|
-
RecipeExecutor: '
|
|
350
|
+
RecipeExecutor: '0x1D6DEdb49AF91A11B5C5F34954FD3E8cC4f03A86',
|
|
367
351
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
368
352
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
369
353
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -382,7 +366,7 @@ export const otherAddresses = {
|
|
|
382
366
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
383
367
|
},
|
|
384
368
|
[NETWORKS.optimism.chainId]: {
|
|
385
|
-
RecipeExecutor: '
|
|
369
|
+
RecipeExecutor: '0x44FDe16DDCd7c02bE28de52CEc08997336051735',
|
|
386
370
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
387
371
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
388
372
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -392,7 +376,7 @@ export const otherAddresses = {
|
|
|
392
376
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
393
377
|
},
|
|
394
378
|
[NETWORKS.arbitrum.chainId]: {
|
|
395
|
-
RecipeExecutor: '
|
|
379
|
+
RecipeExecutor: '0xe775c59e5662597bcE8aB4432C06380709554883',
|
|
396
380
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
397
381
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
398
382
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -402,7 +386,7 @@ export const otherAddresses = {
|
|
|
402
386
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
403
387
|
},
|
|
404
388
|
[NETWORKS.base.chainId]: {
|
|
405
|
-
RecipeExecutor: '
|
|
389
|
+
RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
|
|
406
390
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
407
391
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
408
392
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|