@defisaver/sdk 1.2.7 → 1.2.8

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.
Files changed (37) hide show
  1. package/esm/src/actions/eulerV2/EulerV2BorrowAction.d.ts +16 -0
  2. package/esm/src/actions/eulerV2/EulerV2BorrowAction.js +24 -0
  3. package/esm/src/actions/eulerV2/EulerV2CollateralSwitchAction.d.ts +15 -0
  4. package/esm/src/actions/eulerV2/EulerV2CollateralSwitchAction.js +22 -0
  5. package/esm/src/actions/eulerV2/EulerV2PaybackAction.d.ts +22 -0
  6. package/esm/src/actions/eulerV2/EulerV2PaybackAction.js +40 -0
  7. package/esm/src/actions/eulerV2/EulerV2PaybackWithSharesAction.d.ts +16 -0
  8. package/esm/src/actions/eulerV2/EulerV2PaybackWithSharesAction.js +24 -0
  9. package/esm/src/actions/eulerV2/EulerV2PullDebtAction.d.ts +16 -0
  10. package/esm/src/actions/eulerV2/EulerV2PullDebtAction.js +24 -0
  11. package/esm/src/actions/eulerV2/EulerV2ReorderCollateralsAction.d.ts +14 -0
  12. package/esm/src/actions/eulerV2/EulerV2ReorderCollateralsAction.js +20 -0
  13. package/esm/src/actions/eulerV2/EulerV2SupplyAction.d.ts +23 -0
  14. package/esm/src/actions/eulerV2/EulerV2SupplyAction.js +42 -0
  15. package/esm/src/actions/eulerV2/EulerV2WithdrawAction.d.ts +16 -0
  16. package/esm/src/actions/eulerV2/EulerV2WithdrawAction.js +24 -0
  17. package/esm/src/actions/eulerV2/index.d.ts +8 -0
  18. package/esm/src/actions/eulerV2/index.js +8 -0
  19. package/esm/src/actions/index.d.ts +2 -1
  20. package/esm/src/actions/index.js +2 -1
  21. package/esm/src/addresses.d.ts +25 -1
  22. package/esm/src/addresses.js +7 -1
  23. package/esm/src/index.d.ts +100 -4
  24. package/package.json +1 -1
  25. package/src/actions/eulerV2/EulerV2BorrowAction.ts +37 -0
  26. package/src/actions/eulerV2/EulerV2CollateralSwitchAction.ts +34 -0
  27. package/src/actions/eulerV2/EulerV2PaybackAction.ts +47 -0
  28. package/src/actions/eulerV2/EulerV2PaybackWithSharesAction.ts +37 -0
  29. package/src/actions/eulerV2/EulerV2PullDebtAction.ts +37 -0
  30. package/src/actions/eulerV2/EulerV2ReorderCollateralsAction.ts +31 -0
  31. package/src/actions/eulerV2/EulerV2SupplyAction.ts +49 -0
  32. package/src/actions/eulerV2/EulerV2WithdrawAction.ts +37 -0
  33. package/src/actions/eulerV2/index.ts +9 -0
  34. package/src/actions/index.ts +2 -0
  35. package/src/addresses.ts +8 -1
  36. package/umd/index.js +380 -67
  37. package/yarn-error.log +3976 -0
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * EulerV2BorrowAction - Borrow assets from an Euler vault
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2BorrowAction extends Action {
9
+ /**
10
+ * @param vault The address of the Euler vault
11
+ * @param account The address of the Euler account, defaults to user's wallet
12
+ * @param receiver The address to receive the borrowed assets
13
+ * @param amount The amount of assets to borrow
14
+ */
15
+ constructor(vault: EthAddress, account: EthAddress, receiver: EthAddress, amount: uint256);
16
+ }
@@ -0,0 +1,24 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * EulerV2BorrowAction - Borrow assets from an Euler vault
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export class EulerV2BorrowAction extends Action {
9
+ /**
10
+ * @param vault The address of the Euler vault
11
+ * @param account The address of the Euler account, defaults to user's wallet
12
+ * @param receiver The address to receive the borrowed assets
13
+ * @param amount The amount of assets to borrow
14
+ */
15
+ constructor(vault, account, receiver, amount) {
16
+ super('EulerV2Borrow', getAddr('EulerV2Borrow'), ['address', 'address', 'address', 'uint256'], [vault, account, receiver, amount]);
17
+ this.mappableArgs = [
18
+ this.args[0],
19
+ this.args[1],
20
+ this.args[2],
21
+ this.args[3],
22
+ ];
23
+ }
24
+ }
@@ -0,0 +1,15 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress } from '../../types';
3
+ /**
4
+ * EulerV2CollateralSwitchAction - Switch if vault will be used as collateral or not
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2CollateralSwitchAction extends Action {
9
+ /**
10
+ * @param vault The address of the vault
11
+ * @param account The address of the Euler account, defaults to user's wallet
12
+ * @param enableAsColl Whether to enable or disable the vault as collateral
13
+ */
14
+ constructor(vault: EthAddress, account: EthAddress, enableAsColl: boolean);
15
+ }
@@ -0,0 +1,22 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * EulerV2CollateralSwitchAction - Switch if vault will be used as collateral or not
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export class EulerV2CollateralSwitchAction extends Action {
9
+ /**
10
+ * @param vault The address of the vault
11
+ * @param account The address of the Euler account, defaults to user's wallet
12
+ * @param enableAsColl Whether to enable or disable the vault as collateral
13
+ */
14
+ constructor(vault, account, enableAsColl) {
15
+ super('EulerV2CollateralSwitch', getAddr('EulerV2CollateralSwitch'), ['address', 'address', 'bool'], [vault, account, enableAsColl]);
16
+ this.mappableArgs = [
17
+ this.args[0],
18
+ this.args[1],
19
+ this.args[2],
20
+ ];
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * EulerV2PaybackAction - Payback debt assets to a Euler vault
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2PaybackAction extends Action {
9
+ tokenForApproval: EthAddress;
10
+ /**
11
+ * @param vault The address of the vault
12
+ * @param tokenAddress Underlying token address
13
+ * @param account The address of the Euler account, defaults to user's wallet
14
+ * @param from The address from which to pull tokens to be paid back
15
+ * @param amount The amount of assets to pay back (uint256.max for full debt repayment)
16
+ */
17
+ constructor(vault: EthAddress, tokenAddress: EthAddress, account: EthAddress, from: EthAddress, amount: uint256);
18
+ getAssetsToApprove(): Promise<{
19
+ asset: string;
20
+ owner: any;
21
+ }[]>;
22
+ }
@@ -0,0 +1,40 @@
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
+ * EulerV2PaybackAction - Payback debt assets to a Euler vault
14
+ *
15
+ * @category EulerV2
16
+ */
17
+ export class EulerV2PaybackAction extends Action {
18
+ /**
19
+ * @param vault The address of the vault
20
+ * @param tokenAddress Underlying token address
21
+ * @param account The address of the Euler account, defaults to user's wallet
22
+ * @param from The address from which to pull tokens to be paid back
23
+ * @param amount The amount of assets to pay back (uint256.max for full debt repayment)
24
+ */
25
+ constructor(vault, tokenAddress, account, from, amount) {
26
+ super('EulerV2Payback', getAddr('EulerV2Payback'), ['address', 'address', 'address', 'uint256'], [vault, account, from, amount]);
27
+ this.mappableArgs = [
28
+ this.args[0],
29
+ this.args[1],
30
+ this.args[2],
31
+ this.args[3],
32
+ ];
33
+ this.tokenForApproval = tokenAddress;
34
+ }
35
+ getAssetsToApprove() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ return [{ asset: this.tokenForApproval, owner: this.args[2] }];
38
+ });
39
+ }
40
+ }
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * EulerV2PaybackWithSharesAction - Payback debt asset to a Euler vault using share tokens
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2PaybackWithSharesAction extends Action {
9
+ /**
10
+ * @param vault The address of the vault
11
+ * @param account The address of the Euler account for which debt is paid back, defaults to user's wallet
12
+ * @param from The address of the Euler account for which shares are burned to pay back debt for 'account', defaults to user's wallet
13
+ * @param amount The amount of asset tokens to be paid back (uint256.max for full debt repayment or up to the available deposit shares in 'from' account)
14
+ */
15
+ constructor(vault: EthAddress, account: EthAddress, from: EthAddress, amount: uint256);
16
+ }
@@ -0,0 +1,24 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * EulerV2PaybackWithSharesAction - Payback debt asset to a Euler vault using share tokens
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export class EulerV2PaybackWithSharesAction extends Action {
9
+ /**
10
+ * @param vault The address of the vault
11
+ * @param account The address of the Euler account for which debt is paid back, defaults to user's wallet
12
+ * @param from The address of the Euler account for which shares are burned to pay back debt for 'account', defaults to user's wallet
13
+ * @param amount The amount of asset tokens to be paid back (uint256.max for full debt repayment or up to the available deposit shares in 'from' account)
14
+ */
15
+ constructor(vault, account, from, amount) {
16
+ super('EulerV2PaybackWithShares', getAddr('EulerV2PaybackWithShares'), ['address', 'address', 'address', 'uint256'], [vault, account, from, amount]);
17
+ this.mappableArgs = [
18
+ this.args[0],
19
+ this.args[1],
20
+ this.args[2],
21
+ this.args[3],
22
+ ];
23
+ }
24
+ }
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * EulerV2PullDebtAction - Pull debt from one Euler account to another
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2PullDebtAction extends Action {
9
+ /**
10
+ * @param vault The address of the Euler vault
11
+ * @param account The address of the Euler account taking the debt, defaults to user's wallet
12
+ * @param from The address of the Euler account from which debt is pulled
13
+ * @param amount The amount of debt to be pulled (uint256.max for full debt pull)
14
+ */
15
+ constructor(vault: EthAddress, account: EthAddress, from: EthAddress, amount: uint256);
16
+ }
@@ -0,0 +1,24 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * EulerV2PullDebtAction - Pull debt from one Euler account to another
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export class EulerV2PullDebtAction extends Action {
9
+ /**
10
+ * @param vault The address of the Euler vault
11
+ * @param account The address of the Euler account taking the debt, defaults to user's wallet
12
+ * @param from The address of the Euler account from which debt is pulled
13
+ * @param amount The amount of debt to be pulled (uint256.max for full debt pull)
14
+ */
15
+ constructor(vault, account, from, amount) {
16
+ super('EulerV2PullDebt', getAddr('EulerV2PullDebt'), ['address', 'address', 'address', 'uint256'], [vault, account, from, amount]);
17
+ this.mappableArgs = [
18
+ this.args[0],
19
+ this.args[1],
20
+ this.args[2],
21
+ this.args[3],
22
+ ];
23
+ }
24
+ }
@@ -0,0 +1,14 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint8 } from '../../types';
3
+ /**
4
+ * EulerV2ReorderCollateralsAction - Reorder account collaterals. Can be used to optimize gas costs when checking account health status
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2ReorderCollateralsAction extends Action {
9
+ /**
10
+ * @param account The address of the Euler account, defaults to user's wallet
11
+ * @param indexes The array of swap steps to reorder collaterals
12
+ */
13
+ constructor(account: EthAddress, indexes: Array<Array<uint8>>);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * EulerV2ReorderCollateralsAction - Reorder account collaterals. Can be used to optimize gas costs when checking account health status
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export class EulerV2ReorderCollateralsAction extends Action {
9
+ /**
10
+ * @param account The address of the Euler account, defaults to user's wallet
11
+ * @param indexes The array of swap steps to reorder collaterals
12
+ */
13
+ constructor(account, indexes) {
14
+ super('EulerV2ReorderCollaterals', getAddr('EulerV2ReorderCollaterals'), ['address', 'uint8[][]'], [account, indexes]);
15
+ this.mappableArgs = [
16
+ this.args[0],
17
+ this.args[1],
18
+ ];
19
+ }
20
+ }
@@ -0,0 +1,23 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * EulerV2SupplyAction - Supply assets to a Euler vault and gets eTokens vault shares
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2SupplyAction extends Action {
9
+ tokenForApproval: EthAddress;
10
+ /**
11
+ * @param vault The address of the supply vault
12
+ * @param tokenAddress Underlying token address
13
+ * @param account The address of the Euler account, defaults to user's wallet
14
+ * @param from The address from which to pull tokens to be supplied
15
+ * @param amount The amount of assets to supply
16
+ * @param enableAsColl Whether to enable supply vault as collateral
17
+ */
18
+ constructor(vault: EthAddress, tokenAddress: EthAddress, account: EthAddress, from: EthAddress, amount: uint256, enableAsColl: boolean);
19
+ getAssetsToApprove(): Promise<{
20
+ asset: string;
21
+ owner: any;
22
+ }[]>;
23
+ }
@@ -0,0 +1,42 @@
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
+ * EulerV2SupplyAction - Supply assets to a Euler vault and gets eTokens vault shares
14
+ *
15
+ * @category EulerV2
16
+ */
17
+ export class EulerV2SupplyAction extends Action {
18
+ /**
19
+ * @param vault The address of the supply vault
20
+ * @param tokenAddress Underlying token address
21
+ * @param account The address of the Euler account, defaults to user's wallet
22
+ * @param from The address from which to pull tokens to be supplied
23
+ * @param amount The amount of assets to supply
24
+ * @param enableAsColl Whether to enable supply vault as collateral
25
+ */
26
+ constructor(vault, tokenAddress, account, from, amount, enableAsColl) {
27
+ super('EulerV2Supply', getAddr('EulerV2Supply'), ['address', 'address', 'address', 'uint256', 'bool'], [vault, account, from, amount, enableAsColl]);
28
+ this.mappableArgs = [
29
+ this.args[0],
30
+ this.args[1],
31
+ this.args[2],
32
+ this.args[3],
33
+ this.args[4],
34
+ ];
35
+ this.tokenForApproval = tokenAddress;
36
+ }
37
+ getAssetsToApprove() {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ return [{ asset: this.tokenForApproval, owner: this.args[2] }];
40
+ });
41
+ }
42
+ }
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * EulerV2WithdrawAction - Withdraws assets from Euler vault
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export declare class EulerV2WithdrawAction extends Action {
9
+ /**
10
+ * @param vault The address of the Euler vault
11
+ * @param account The address of the Euler account, defaults to user's wallet
12
+ * @param receiver The address to receive the withdrawn assets
13
+ * @param amount The amount of assets to withdraw (uint256.max for max withdrawal)
14
+ */
15
+ constructor(vault: EthAddress, account: EthAddress, receiver: EthAddress, amount: uint256);
16
+ }
@@ -0,0 +1,24 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * EulerV2WithdrawAction - Withdraws assets from Euler vault
5
+ *
6
+ * @category EulerV2
7
+ */
8
+ export class EulerV2WithdrawAction extends Action {
9
+ /**
10
+ * @param vault The address of the Euler vault
11
+ * @param account The address of the Euler account, defaults to user's wallet
12
+ * @param receiver The address to receive the withdrawn assets
13
+ * @param amount The amount of assets to withdraw (uint256.max for max withdrawal)
14
+ */
15
+ constructor(vault, account, receiver, amount) {
16
+ super('EulerV2Withdraw', getAddr('EulerV2Withdraw'), ['address', 'address', 'address', 'uint256'], [vault, account, receiver, amount]);
17
+ this.mappableArgs = [
18
+ this.args[0],
19
+ this.args[1],
20
+ this.args[2],
21
+ this.args[3],
22
+ ];
23
+ }
24
+ }
@@ -0,0 +1,8 @@
1
+ export * from './EulerV2SupplyAction';
2
+ export * from './EulerV2WithdrawAction';
3
+ export * from './EulerV2BorrowAction';
4
+ export * from './EulerV2PaybackAction';
5
+ export * from './EulerV2PaybackWithSharesAction';
6
+ export * from './EulerV2PullDebtAction';
7
+ export * from './EulerV2ReorderCollateralsAction';
8
+ export * from './EulerV2CollateralSwitchAction';
@@ -0,0 +1,8 @@
1
+ export * from './EulerV2SupplyAction';
2
+ export * from './EulerV2WithdrawAction';
3
+ export * from './EulerV2BorrowAction';
4
+ export * from './EulerV2PaybackAction';
5
+ export * from './EulerV2PaybackWithSharesAction';
6
+ export * from './EulerV2PullDebtAction';
7
+ export * from './EulerV2ReorderCollateralsAction';
8
+ export * from './EulerV2CollateralSwitchAction';
@@ -29,5 +29,6 @@ import * as spark from './spark';
29
29
  import * as morphoblue from './morpho-blue';
30
30
  import * as llamalend from './llamalend';
31
31
  import * as merkl from './merkl';
32
+ import * as eulerV2 from './eulerV2';
32
33
  import * as sky from './sky';
33
- 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, sky, };
34
+ 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, eulerV2, sky, };
@@ -29,5 +29,6 @@ import * as spark from './spark';
29
29
  import * as morphoblue from './morpho-blue';
30
30
  import * as llamalend from './llamalend';
31
31
  import * as merkl from './merkl';
32
+ import * as eulerV2 from './eulerV2';
32
33
  import * as sky from './sky';
33
- 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, sky, };
34
+ 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, eulerV2, sky, };
@@ -212,6 +212,12 @@ export declare const actionAddresses: {
212
212
  LlamaLendRepay: string;
213
213
  LlamaLendLevCreate: string;
214
214
  LlamaLendSelfLiquidateWithColl: string;
215
+ EulerV2Supply: string;
216
+ EulerV2Withdraw: string;
217
+ EulerV2Borrow: string;
218
+ EulerV2Payback: string;
219
+ EulerV2CollateralSwitch: string;
220
+ EulerV2View: string;
215
221
  MerklClaim: string;
216
222
  AaveV3DelegateCredit?: undefined;
217
223
  AaveV3RatioTrigger?: undefined;
@@ -434,6 +440,12 @@ export declare const actionAddresses: {
434
440
  LlamaLendRepay?: undefined;
435
441
  LlamaLendLevCreate?: undefined;
436
442
  LlamaLendSelfLiquidateWithColl?: undefined;
443
+ EulerV2Supply?: undefined;
444
+ EulerV2Withdraw?: undefined;
445
+ EulerV2Borrow?: undefined;
446
+ EulerV2Payback?: undefined;
447
+ EulerV2CollateralSwitch?: undefined;
448
+ EulerV2View?: undefined;
437
449
  MerklClaim?: undefined;
438
450
  MorphoBlueView?: undefined;
439
451
  } | {
@@ -650,6 +662,12 @@ export declare const actionAddresses: {
650
662
  MorphoBluePayback?: undefined;
651
663
  MorphoBlueSetAuth?: undefined;
652
664
  MorphoBlueSetAuthWithSig?: undefined;
665
+ EulerV2Supply?: undefined;
666
+ EulerV2Withdraw?: undefined;
667
+ EulerV2Borrow?: undefined;
668
+ EulerV2Payback?: undefined;
669
+ EulerV2CollateralSwitch?: undefined;
670
+ EulerV2View?: undefined;
653
671
  MerklClaim?: undefined;
654
672
  AaveV3DelegateCredit?: undefined;
655
673
  AaveV3RatioTrigger?: undefined;
@@ -667,7 +685,6 @@ export declare const actionAddresses: {
667
685
  ChangeProxyOwner: string;
668
686
  PermitToken: string;
669
687
  HandleAuth: string;
670
- ToggleSub: string;
671
688
  FLAaveV3: string;
672
689
  FLBalancer: string;
673
690
  FLUniV3: string;
@@ -702,6 +719,7 @@ export declare const actionAddresses: {
702
719
  MorphoBlueView: string;
703
720
  AutomationV2Unsub?: undefined;
704
721
  SendTokenAndUnwrap?: undefined;
722
+ ToggleSub?: undefined;
705
723
  UpdateSub?: undefined;
706
724
  TransferNFT?: undefined;
707
725
  CreateSub?: undefined;
@@ -867,6 +885,12 @@ export declare const actionAddresses: {
867
885
  LlamaLendRepay?: undefined;
868
886
  LlamaLendLevCreate?: undefined;
869
887
  LlamaLendSelfLiquidateWithColl?: undefined;
888
+ EulerV2Supply?: undefined;
889
+ EulerV2Withdraw?: undefined;
890
+ EulerV2Borrow?: undefined;
891
+ EulerV2Payback?: undefined;
892
+ EulerV2CollateralSwitch?: undefined;
893
+ EulerV2View?: undefined;
870
894
  MerklClaim?: undefined;
871
895
  AaveV3DelegateCredit?: undefined;
872
896
  AaveV3RatioTrigger?: undefined;
@@ -244,6 +244,13 @@ export const actionAddresses = {
244
244
  LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
245
245
  LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
246
246
  LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
247
+ // eulerV2
248
+ EulerV2Supply: '0xa067787D086841437D112e0C847dDB3e5D95173f',
249
+ EulerV2Withdraw: '0x5bf1a54fe1e65B134E7920e53A5eB0D14b9e6aD1',
250
+ EulerV2Borrow: '0x38d66ecD38b7800D8FD0Bc29489c2306170a9Ede',
251
+ EulerV2Payback: '0x738b1df6b6962D8795Bda5bc5EFCd8b0B8c74d01',
252
+ EulerV2CollateralSwitch: '0x38950b50Fb38aC19D06e8CE5AAE632D6dF1EEb1a',
253
+ EulerV2View: '0x25eCA04532C085F77Ea6CE92C94E9e69896686E6',
247
254
  MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
248
255
  },
249
256
  [NETWORKS.optimism.chainId]: {
@@ -375,7 +382,6 @@ export const actionAddresses = {
375
382
  ChangeProxyOwner: '0x1947a44d3717a47556175d64fdc208619aa08874',
376
383
  PermitToken: '0x57c8ae94a5A11dA33e0518054102488b604628D0',
377
384
  HandleAuth: '0x18a90e6db79199ace00140631ef931e0bd97837c',
378
- ToggleSub: '0x5F16C0a08d52b67fc73706c494F7535Dd3382b58',
379
385
  // Flashloan
380
386
  FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
381
387
  FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',