@defisaver/sdk 1.1.1 → 1.1.2-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.
Files changed (42) hide show
  1. package/esm/src/actions/llamalend/LlamaLendBoostAction.d.ts +8 -0
  2. package/esm/src/actions/llamalend/LlamaLendBoostAction.js +18 -0
  3. package/esm/src/actions/llamalend/LlamaLendCreateAction.d.ts +2 -2
  4. package/esm/src/actions/llamalend/LlamaLendCreateAction.js +2 -3
  5. package/esm/src/actions/llamalend/LlamaLendGetDebtAction.d.ts +8 -0
  6. package/esm/src/actions/llamalend/LlamaLendGetDebtAction.js +13 -0
  7. package/esm/src/actions/llamalend/LlamaLendLevCreateAction.d.ts +12 -0
  8. package/esm/src/actions/llamalend/LlamaLendLevCreateAction.js +41 -0
  9. package/esm/src/actions/llamalend/LlamaLendPaybackAction.d.ts +2 -10
  10. package/esm/src/actions/llamalend/LlamaLendPaybackAction.js +2 -11
  11. package/esm/src/actions/llamalend/LlamaLendRepayAction.d.ts +8 -0
  12. package/esm/src/actions/llamalend/LlamaLendRepayAction.js +20 -0
  13. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.d.ts +2 -2
  14. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.js +2 -3
  15. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.d.ts +8 -0
  16. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.js +25 -0
  17. package/esm/src/actions/llamalend/LlamaLendSupplyAction.d.ts +2 -2
  18. package/esm/src/actions/llamalend/LlamaLendSupplyAction.js +2 -3
  19. package/esm/src/actions/llamalend/index.d.ts +5 -0
  20. package/esm/src/actions/llamalend/index.js +5 -0
  21. package/esm/src/addresses.d.ts +26 -6
  22. package/esm/src/addresses.js +17 -0
  23. package/esm/src/index.d.ts +104 -24
  24. package/esm/src/utils/index.d.ts +1 -2
  25. package/esm/src/utils/index.js +1 -2
  26. package/package.json +1 -1
  27. package/src/actions/llamalend/LlamaLendBoostAction.ts +26 -0
  28. package/src/actions/llamalend/LlamaLendCreateAction.ts +3 -2
  29. package/src/actions/llamalend/LlamaLendGetDebtAction.ts +21 -0
  30. package/src/actions/llamalend/LlamaLendLevCreateAction.ts +39 -0
  31. package/src/actions/llamalend/LlamaLendPaybackAction.ts +2 -10
  32. package/src/actions/llamalend/LlamaLendRepayAction.ts +28 -0
  33. package/src/actions/llamalend/LlamaLendSelfLiquidateAction.ts +3 -2
  34. package/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.ts +33 -0
  35. package/src/actions/llamalend/LlamaLendSupplyAction.ts +2 -2
  36. package/src/actions/llamalend/index.ts +6 -1
  37. package/src/addresses.ts +18 -0
  38. package/src/utils/index.ts +0 -2
  39. package/umd/index.js +227 -118
  40. package/esm/src/utils/llamalend-utils.d.ts +0 -10
  41. package/esm/src/utils/llamalend-utils.js +0 -10
  42. package/src/utils/llamalend-utils.ts +0 -11
@@ -0,0 +1,8 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256, uint32 } from '../../types';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export declare class LlamaLendBoostAction extends Action {
7
+ constructor(controller: EthAddress, controllerId: uint256, exchangeOrder: Array<any>, gasUsed: uint32);
8
+ }
@@ -0,0 +1,18 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export class LlamaLendBoostAction extends Action {
7
+ constructor(controller, controllerId, exchangeOrder, gasUsed) {
8
+ super('LlamaLendBoost', getAddr('LlamaLendBoost'), [
9
+ 'address',
10
+ 'uint256',
11
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
12
+ 'uint32',
13
+ ], [controller, controllerId, exchangeOrder, gasUsed]);
14
+ this.mappableArgs = [
15
+ this.args[0],
16
+ ];
17
+ }
18
+ }
@@ -14,9 +14,9 @@ export declare class LlamaLendCreateAction extends Action {
14
14
  * uint256 debtAmount - Amount of debt asset to borrow
15
15
  * uint256 nBands - Number of bands in which the collateral will be supplied
16
16
  */
17
- constructor(controllerAddress: EthAddress, from: EthAddress, to: EthAddress, collateralAmount: uint256, debtAmount: uint256, nBands: uint256);
17
+ constructor(controllerAddress: EthAddress, from: EthAddress, to: EthAddress, collateralAmount: uint256, debtAmount: uint256, nBands: uint256, debtAsset: EthAddress);
18
18
  getAssetsToApprove(): Promise<{
19
19
  owner: any;
20
- asset: string;
20
+ asset: any;
21
21
  }[]>;
22
22
  }
@@ -10,7 +10,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { Action } from '../../Action';
11
11
  import { requireAddress } from '../../utils/general';
12
12
  import { getAddr } from '../../addresses';
13
- import { controllerToCollateralAssetMap } from '../../utils/llamalend-utils';
14
13
  /**
15
14
  * LlamaLendCreateAction - Action that creates a llamalend position on behalf of proxy
16
15
  *
@@ -26,7 +25,7 @@ export class LlamaLendCreateAction extends Action {
26
25
  * uint256 nBands - Number of bands in which the collateral will be supplied
27
26
  */
28
27
  /// @dev both collateralAmount and debtAmount must be non-zero and can be maxUint
29
- constructor(controllerAddress, from, to, collateralAmount, debtAmount, nBands) {
28
+ constructor(controllerAddress, from, to, collateralAmount, debtAmount, nBands, debtAsset) {
30
29
  requireAddress(to);
31
30
  super('LlamaLendCreate', getAddr('LlamaLendCreate'), ['address', 'address', 'address', 'uint256', 'uint256', 'uint256'], [controllerAddress, from, to, collateralAmount, debtAmount, nBands]);
32
31
  this.mappableArgs = [
@@ -37,7 +36,7 @@ export class LlamaLendCreateAction extends Action {
37
36
  return __awaiter(this, void 0, void 0, function* () {
38
37
  return [{
39
38
  owner: this.args[1],
40
- asset: controllerToCollateralAssetMap[this.args[0]],
39
+ asset: this.args[6],
41
40
  }];
42
41
  });
43
42
  }
@@ -0,0 +1,8 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress } from '../../types';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export declare class LlamaLendGetDebtAction extends Action {
7
+ constructor(controllerAddr: EthAddress, debtor: EthAddress);
8
+ }
@@ -0,0 +1,13 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export class LlamaLendGetDebtAction extends Action {
7
+ constructor(controllerAddr, debtor) {
8
+ super('LlamaLendGetDebt', getAddr('LlamaLendGetDebt'), [
9
+ 'address',
10
+ 'address',
11
+ ], [controllerAddr, debtor]);
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256, uint32 } from '../../types';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export declare class LlamaLendLevCreateAction extends Action {
7
+ constructor(controller: EthAddress, controllerId: uint256, from: EthAddress, collAmount: uint256, nBands: uint256, exchangeOrder: Array<any>, gasUsed: uint32);
8
+ getAssetsToApprove(): Promise<{
9
+ owner: any;
10
+ asset: any;
11
+ }[]>;
12
+ }
@@ -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 { Action } from '../../Action';
11
+ import { getAddr } from '../../addresses';
12
+ /**
13
+ * @category LlamaLend
14
+ */
15
+ export class LlamaLendLevCreateAction extends Action {
16
+ constructor(controller, controllerId, from, collAmount, nBands, exchangeOrder, gasUsed) {
17
+ super('LlamaLendLevCreate', getAddr('LlamaLendLevCreate'), [
18
+ 'address',
19
+ 'uint256',
20
+ 'address',
21
+ 'uint256',
22
+ 'uint256',
23
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
24
+ 'uint32',
25
+ ], [controller, controllerId, from, collAmount, nBands, exchangeOrder, gasUsed]);
26
+ this.mappableArgs = [
27
+ this.args[0],
28
+ this.args[1],
29
+ this.args[2],
30
+ this.args[3],
31
+ ];
32
+ }
33
+ getAssetsToApprove() {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ return [{
36
+ owner: this.args[1],
37
+ asset: this.args[5][1],
38
+ }];
39
+ });
40
+ }
41
+ }
@@ -6,17 +6,9 @@ import { EthAddress, uint256, int256 } from '../../types';
6
6
  * @category LlamaLend
7
7
  */
8
8
  export declare class LlamaLendPaybackAction extends Action {
9
- /**
10
- * address controllerAddress - Address of the llamalend market controller
11
- * address from - Address from which to pull debt asset, will default to proxy
12
- * address onBehalfOf - Address for which we are paying back debt, will default to proxy
13
- * address to - Address that will receive the debt asset and collateral asset if close, will default to proxy
14
- * uint256 debtAmount - Amount of debt asset to payback
15
- * int256 maxActiveBand - Don't allow active band to be higher than this (to prevent front-running the repay)
16
- */
17
- constructor(controllerAddress: EthAddress, from: EthAddress, onBehalfOf: EthAddress, to: EthAddress, debtAmount: uint256, maxActiveBand: int256);
9
+ constructor(controllerAddress: EthAddress, from: EthAddress, onBehalfOf: EthAddress, to: EthAddress, debtAmount: uint256, maxActiveBand: int256, debtAsset: EthAddress);
18
10
  getAssetsToApprove(): Promise<{
19
11
  owner: any;
20
- asset: string;
12
+ asset: any;
21
13
  }[]>;
22
14
  }
@@ -9,24 +9,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  };
10
10
  import { Action } from '../../Action';
11
11
  import { getAddr } from '../../addresses';
12
- import { controllerToDebtAssetMap } from '../../utils/llamalend-utils';
13
12
  /**
14
13
  * LlamaLendPaybackAction - Action that pays back debt asset to a llamalend position
15
14
  *
16
15
  * @category LlamaLend
17
16
  */
18
17
  export class LlamaLendPaybackAction extends Action {
19
- /**
20
- * address controllerAddress - Address of the llamalend market controller
21
- * address from - Address from which to pull debt asset, will default to proxy
22
- * address onBehalfOf - Address for which we are paying back debt, will default to proxy
23
- * address to - Address that will receive the debt asset and collateral asset if close, will default to proxy
24
- * uint256 debtAmount - Amount of debt asset to payback
25
- * int256 maxActiveBand - Don't allow active band to be higher than this (to prevent front-running the repay)
26
- */
27
18
  /// @dev debtAmount must be non-zero
28
19
  /// @dev if debtAmount >= debt will repay whole debt and close the position, transfering collateral
29
- constructor(controllerAddress, from, onBehalfOf, to, debtAmount, maxActiveBand) {
20
+ constructor(controllerAddress, from, onBehalfOf, to, debtAmount, maxActiveBand, debtAsset) {
30
21
  super('LlamaLendPayback', getAddr('LlamaLendPayback'), ['address', 'address', 'address', 'address', 'uint256', 'int256'], [controllerAddress, from, onBehalfOf, to, debtAmount, maxActiveBand]);
31
22
  this.mappableArgs = [
32
23
  ...this.args,
@@ -36,7 +27,7 @@ export class LlamaLendPaybackAction extends Action {
36
27
  return __awaiter(this, void 0, void 0, function* () {
37
28
  return [{
38
29
  owner: this.args[1],
39
- asset: controllerToDebtAssetMap[this.args[0]],
30
+ asset: this.args[6],
40
31
  }];
41
32
  });
42
33
  }
@@ -0,0 +1,8 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256, uint32 } from '../../types';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export declare class LlamaLendRepayAction extends Action {
7
+ constructor(controller: EthAddress, controllerId: uint256, exchangeOrder: Array<any>, to: EthAddress, gasUsed: uint32);
8
+ }
@@ -0,0 +1,20 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export class LlamaLendRepayAction extends Action {
7
+ constructor(controller, controllerId, exchangeOrder, to, gasUsed) {
8
+ super('LlamaLendRepay', getAddr('LlamaLendRepay'), [
9
+ 'address',
10
+ 'uint256',
11
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
12
+ 'address',
13
+ 'uint32',
14
+ ], [controller, controllerId, exchangeOrder, to, gasUsed]);
15
+ this.mappableArgs = [
16
+ this.args[0],
17
+ this.args[2],
18
+ ];
19
+ }
20
+ }
@@ -11,9 +11,9 @@ export declare class LlamaLendSelfLiquidateAction extends Action {
11
11
  @param from Address from which to pull debt asset if needed
12
12
  @param to Address that will receive the debt asset and collateral asset
13
13
  */
14
- constructor(controllerAddress: EthAddress, minDebtAssetExpected: uint256, from: EthAddress, to: EthAddress);
14
+ constructor(controllerAddress: EthAddress, minDebtAssetExpected: uint256, from: EthAddress, to: EthAddress, debtAsset: EthAddress);
15
15
  getAssetsToApprove(): Promise<{
16
16
  owner: any;
17
- asset: string;
17
+ asset: any;
18
18
  }[]>;
19
19
  }
@@ -9,7 +9,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  };
10
10
  import { Action } from '../../Action';
11
11
  import { getAddr } from '../../addresses';
12
- import { controllerToDebtAssetMap } from '../../utils/llamalend-utils';
13
12
  /**
14
13
  *
15
14
  * @category LlamaLend
@@ -21,7 +20,7 @@ export class LlamaLendSelfLiquidateAction extends Action {
21
20
  @param from Address from which to pull debt asset if needed
22
21
  @param to Address that will receive the debt asset and collateral asset
23
22
  */
24
- constructor(controllerAddress, minDebtAssetExpected, from, to) {
23
+ constructor(controllerAddress, minDebtAssetExpected, from, to, debtAsset) {
25
24
  super('LlamaLendSelfLiquidate', getAddr('LlamaLendSelfLiquidate'), ['address', 'uint256', 'address', 'address'], [controllerAddress, minDebtAssetExpected, from, to]);
26
25
  this.mappableArgs = [
27
26
  ...this.args,
@@ -31,7 +30,7 @@ export class LlamaLendSelfLiquidateAction extends Action {
31
30
  return __awaiter(this, void 0, void 0, function* () {
32
31
  return [{
33
32
  owner: this.args[2],
34
- asset: controllerToDebtAssetMap[this.args[0]],
33
+ asset: this.args[4],
35
34
  }];
36
35
  });
37
36
  }
@@ -0,0 +1,8 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256, uint32 } from '../../types';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export declare class LlamaLendSelfLiquidateWithCollAction extends Action {
7
+ constructor(controller: EthAddress, controllerId: uint256, percentage: uint256, minCrvUsdExpected: uint256, exchangeOrder: Array<any>, to: EthAddress, sellAllCollateral: boolean, gasUsed: uint32);
8
+ }
@@ -0,0 +1,25 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * @category LlamaLend
5
+ */
6
+ export class LlamaLendSelfLiquidateWithCollAction extends Action {
7
+ constructor(controller, controllerId, percentage, minCrvUsdExpected, exchangeOrder, to, sellAllCollateral, gasUsed) {
8
+ super('LlamaLendSelfLiquidateWithColl', getAddr('LlamaLendSelfLiquidateWithColl'), [
9
+ 'address',
10
+ 'uint256',
11
+ 'uint256',
12
+ 'uint256',
13
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
14
+ 'address',
15
+ 'bool',
16
+ 'uint32',
17
+ ], [controller, controllerId, percentage, minCrvUsdExpected, exchangeOrder, to, sellAllCollateral, gasUsed]);
18
+ this.mappableArgs = [
19
+ this.args[0],
20
+ this.args[1],
21
+ this.args[2],
22
+ this.args[4],
23
+ ];
24
+ }
25
+ }
@@ -12,9 +12,9 @@ export declare class LlamaLendSupplyAction extends Action {
12
12
  * address onBehalfOf - Address for which we are supplying, will default to proxy
13
13
  * uint256 collateralAmount - Amount of collateral asset to supply
14
14
  */
15
- constructor(controllerAddress: EthAddress, from: EthAddress, onBehalfOf: EthAddress, collateralAmount: uint256);
15
+ constructor(controllerAddress: EthAddress, from: EthAddress, onBehalfOf: EthAddress, collateralAmount: uint256, collAsset: EthAddress);
16
16
  getAssetsToApprove(): Promise<{
17
17
  owner: any;
18
- asset: string;
18
+ asset: any;
19
19
  }[]>;
20
20
  }
@@ -9,7 +9,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  };
10
10
  import { Action } from '../../Action';
11
11
  import { getAddr } from '../../addresses';
12
- import { controllerToCollateralAssetMap } from '../../utils/llamalend-utils';
13
12
  /**
14
13
  * LlamaLendSupplyAction - Action that supplies collateral to a llamalend position
15
14
  *
@@ -23,7 +22,7 @@ export class LlamaLendSupplyAction extends Action {
23
22
  * uint256 collateralAmount - Amount of collateral asset to supply
24
23
  */
25
24
  /// @dev collateralAmount must be non-zero, can be maxUint
26
- constructor(controllerAddress, from, onBehalfOf, collateralAmount) {
25
+ constructor(controllerAddress, from, onBehalfOf, collateralAmount, collAsset) {
27
26
  super('LlamaLendSupply', getAddr('LlamaLendSupply'), ['address', 'address', 'address', 'uint256'], [controllerAddress, from, onBehalfOf, collateralAmount]);
28
27
  this.mappableArgs = [
29
28
  ...this.args,
@@ -33,7 +32,7 @@ export class LlamaLendSupplyAction extends Action {
33
32
  return __awaiter(this, void 0, void 0, function* () {
34
33
  return [{
35
34
  owner: this.args[1],
36
- asset: controllerToCollateralAssetMap[this.args[0]],
35
+ asset: this.args[4],
37
36
  }];
38
37
  });
39
38
  }
@@ -4,3 +4,8 @@ export * from './LlamaLendSupplyAction';
4
4
  export * from './LlamaLendCreateAction';
5
5
  export * from './LlamaLendPaybackAction';
6
6
  export * from './LlamaLendSelfLiquidateAction';
7
+ export * from './LlamaLendGetDebtAction';
8
+ export * from './LlamaLendLevCreateAction';
9
+ export * from './LlamaLendBoostAction';
10
+ export * from './LlamaLendRepayAction';
11
+ export * from './LlamaLendSelfLiquidateWithCollAction';
@@ -4,3 +4,8 @@ export * from './LlamaLendSupplyAction';
4
4
  export * from './LlamaLendCreateAction';
5
5
  export * from './LlamaLendPaybackAction';
6
6
  export * from './LlamaLendSelfLiquidateAction';
7
+ export * from './LlamaLendGetDebtAction';
8
+ export * from './LlamaLendLevCreateAction';
9
+ export * from './LlamaLendBoostAction';
10
+ export * from './LlamaLendRepayAction';
11
+ export * from './LlamaLendSelfLiquidateWithCollAction';
@@ -200,6 +200,11 @@ export declare const actionAddresses: {
200
200
  LlamaLendWithdraw: string;
201
201
  LlamaLendPayback: string;
202
202
  LlamaLendSelfLiquidate: string;
203
+ LlamaLendGetDebt: string;
204
+ LlamaLendBoost: string;
205
+ LlamaLendRepay: string;
206
+ LlamaLendLevCreate: string;
207
+ LlamaLendSelfLiquidateWithColl: string;
203
208
  MerklClaim: string;
204
209
  AaveV3DelegateCredit?: undefined;
205
210
  AaveV3RatioTrigger?: undefined;
@@ -409,6 +414,11 @@ export declare const actionAddresses: {
409
414
  LlamaLendWithdraw?: undefined;
410
415
  LlamaLendPayback?: undefined;
411
416
  LlamaLendSelfLiquidate?: undefined;
417
+ LlamaLendGetDebt?: undefined;
418
+ LlamaLendBoost?: undefined;
419
+ LlamaLendRepay?: undefined;
420
+ LlamaLendLevCreate?: undefined;
421
+ LlamaLendSelfLiquidateWithColl?: undefined;
412
422
  MerklClaim?: undefined;
413
423
  } | {
414
424
  DFSSell: string;
@@ -452,6 +462,17 @@ export declare const actionAddresses: {
452
462
  UniSupplyV3: string;
453
463
  UniWithdrawV3: string;
454
464
  UniCreatePoolV3: string;
465
+ LlamaLendCreate: string;
466
+ LlamaLendSupply: string;
467
+ LlamaLendBorrow: string;
468
+ LlamaLendWithdraw: string;
469
+ LlamaLendPayback: string;
470
+ LlamaLendSelfLiquidate: string;
471
+ LlamaLendGetDebt: string;
472
+ LlamaLendBoost: string;
473
+ LlamaLendRepay: string;
474
+ LlamaLendLevCreate: string;
475
+ LlamaLendSelfLiquidateWithColl: string;
455
476
  AutomationV2Unsub?: undefined;
456
477
  UpdateSub?: undefined;
457
478
  TransferNFT?: undefined;
@@ -606,12 +627,6 @@ export declare const actionAddresses: {
606
627
  MorphoBluePayback?: undefined;
607
628
  MorphoBlueSetAuth?: undefined;
608
629
  MorphoBlueSetAuthWithSig?: undefined;
609
- LlamaLendCreate?: undefined;
610
- LlamaLendSupply?: undefined;
611
- LlamaLendBorrow?: undefined;
612
- LlamaLendWithdraw?: undefined;
613
- LlamaLendPayback?: undefined;
614
- LlamaLendSelfLiquidate?: undefined;
615
630
  MerklClaim?: undefined;
616
631
  AaveV3DelegateCredit?: undefined;
617
632
  AaveV3RatioTrigger?: undefined;
@@ -815,6 +830,11 @@ export declare const actionAddresses: {
815
830
  LlamaLendWithdraw?: undefined;
816
831
  LlamaLendPayback?: undefined;
817
832
  LlamaLendSelfLiquidate?: undefined;
833
+ LlamaLendGetDebt?: undefined;
834
+ LlamaLendBoost?: undefined;
835
+ LlamaLendRepay?: undefined;
836
+ LlamaLendLevCreate?: undefined;
837
+ LlamaLendSelfLiquidateWithColl?: undefined;
818
838
  MerklClaim?: undefined;
819
839
  AaveV3DelegateCredit?: undefined;
820
840
  AaveV3RatioTrigger?: undefined;
@@ -231,6 +231,11 @@ export const actionAddresses = {
231
231
  LlamaLendWithdraw: '0x2593Da3c4110C531541424e9e847cd7905894C52',
232
232
  LlamaLendPayback: '0x5b506b7a0117dbcd086632575da599bb603eb602',
233
233
  LlamaLendSelfLiquidate: '0xe4944e0e46177300fa4c351ef72b95b9655e8394',
234
+ LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
235
+ LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
236
+ LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
237
+ LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
238
+ LlamaLendSelfLiquidateWithColl: '0xc20460aabdb89e55c2d29067e031d170f2fb10e5',
234
239
  MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
235
240
  },
236
241
  [NETWORKS.optimism.chainId]: {
@@ -323,6 +328,18 @@ export const actionAddresses = {
323
328
  UniSupplyV3: '0x55675C6041A33EE9BDd796Edaa0f098AC7F3534f',
324
329
  UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
325
330
  UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
331
+ // llamalend
332
+ LlamaLendCreate: '0xaf14226ad0d782c71d3acf94ad02d6a39c89ec79',
333
+ LlamaLendSupply: '0x8f0814709d6d8b7c4b3021f7cb80e08476bc6959',
334
+ LlamaLendBorrow: '0x4948135f8b3a8f3b51fbd1050f5d0f755accb8e7',
335
+ LlamaLendWithdraw: '0xd7a80e7a2296d75cd1eebc2f0de0cebd14fbe117',
336
+ LlamaLendPayback: '0x21e05ffb9cf729630b5a9c2f01ff3b41f38be48c',
337
+ LlamaLendSelfLiquidate: '0xc9fd91f932d903023e887e4e4af0a298e10529a8',
338
+ LlamaLendGetDebt: '0x81c01f08b8fc4487501c88404ed17ebc17764f9c',
339
+ LlamaLendBoost: '0xc52a3af27696f8cf999463f3455e23440a376f8d',
340
+ LlamaLendRepay: '0x320fdfa922ee33c1cc8a042ada855c9dfe9bed06',
341
+ LlamaLendLevCreate: '0xe5cbdcbe494246c21851eea0642ff0791f95cc86',
342
+ LlamaLendSelfLiquidateWithColl: '0x4faef2cd1680ea00f9398a0525c536b2466a887b',
326
343
  },
327
344
  [NETWORKS.base.chainId]: {
328
345
  // Basic