@defisaver/sdk 1.0.55 → 1.0.56

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.
@@ -1,9 +1,9 @@
1
1
  import { Action } from '../../Action';
2
- import { EthAddress, uint256, uint32, bytes } from '../../types';
2
+ import { EthAddress, uint256, uint32, bytes, uint24 } from '../../types';
3
3
  /**
4
4
  *
5
5
  * @category CurveUsd
6
6
  */
7
7
  export declare class CurveUsdLevCreateAction extends Action {
8
- constructor(controllerAddress: EthAddress, collateralAmount: uint256, debtAmount: uint256, minAmount: uint256, nBands: uint256, from: EthAddress, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint32, useSteth: Boolean);
8
+ constructor(controllerAddress: EthAddress, collateralAmount: uint256, debtAmount: uint256, minAmount: uint256, nBands: uint256, from: EthAddress, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint24);
9
9
  }
@@ -6,9 +6,9 @@ import { getAddr } from '../../addresses';
6
6
  * @category CurveUsd
7
7
  */
8
8
  export class CurveUsdLevCreateAction extends Action {
9
- constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth) {
9
+ constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider) {
10
10
  requireAddress(from);
11
- super('CurveUsdLevCreate', getAddr('CurveUsdLevCreate'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'], [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth]);
11
+ super('CurveUsdLevCreate', getAddr('CurveUsdLevCreate'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint24'], [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider]);
12
12
  this.mappableArgs = [
13
13
  ...this.args,
14
14
  ];
@@ -1,9 +1,9 @@
1
1
  import { Action } from '../../Action';
2
- import { EthAddress, uint256, uint32, bytes } from '../../types';
2
+ import { EthAddress, uint256, uint32, bytes, uint24 } from '../../types';
3
3
  /**
4
4
  *
5
5
  * @category CurveUsd
6
6
  */
7
7
  export declare class CurveUsdRepayAction extends Action {
8
- constructor(controllerAddress: EthAddress, collAmount: uint256, to: EthAddress, minAmount: uint256, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint32, useSteth: Boolean);
8
+ constructor(controllerAddress: EthAddress, collAmount: uint256, to: EthAddress, minAmount: uint256, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint24);
9
9
  }
@@ -5,8 +5,8 @@ import { getAddr } from '../../addresses';
5
5
  * @category CurveUsd
6
6
  */
7
7
  export class CurveUsdRepayAction extends Action {
8
- constructor(controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth) {
9
- super('CurveUsdRepay', getAddr('CurveUsdRepay'), ['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint32', 'bool'], [controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth]);
8
+ constructor(controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider) {
9
+ super('CurveUsdRepay', getAddr('CurveUsdRepay'), ['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint24'], [controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider]);
10
10
  this.mappableArgs = [
11
11
  ...this.args,
12
12
  ];
@@ -1,9 +1,9 @@
1
1
  import { Action } from '../../Action';
2
- import { EthAddress, uint256, uint32, bytes } from '../../types';
2
+ import { EthAddress, uint256, uint32, bytes, uint24 } from '../../types';
3
3
  /**
4
4
  *
5
5
  * @category CurveUsd
6
6
  */
7
7
  export declare class CurveUsdSelfLiquidateWithCollAction extends Action {
8
- constructor(controllerAddress: EthAddress, percentage: uint256, minCrvUsdExpected: uint256, swapAmount: uint256, minAmount: uint256, to: EthAddress, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint32, useSteth: Boolean);
8
+ constructor(controllerAddress: EthAddress, percentage: uint256, minCrvUsdExpected: uint256, swapAmount: uint256, minAmount: uint256, to: EthAddress, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint24);
9
9
  }
@@ -6,9 +6,9 @@ import { getAddr } from '../../addresses';
6
6
  * @category CurveUsd
7
7
  */
8
8
  export class CurveUsdSelfLiquidateWithCollAction extends Action {
9
- constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth) {
9
+ constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider) {
10
10
  requireAddress(to);
11
- super('CurveUsdSelfLiquidateWithColl', getAddr('CurveUsdSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'], [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth]);
11
+ super('CurveUsdSelfLiquidateWithColl', getAddr('CurveUsdSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint24'], [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider]);
12
12
  this.mappableArgs = [
13
13
  ...this.args,
14
14
  ];
@@ -44,7 +44,6 @@ export declare const actionAddresses: {
44
44
  AaveCollateralSwitch: string;
45
45
  AaveUnstake: string;
46
46
  AaveClaimAAVE: string;
47
- AaveClaimStkAave: string;
48
47
  AaveV3Withdraw: string;
49
48
  AaveV3SwapBorrowRateMode: string;
50
49
  AaveV3Supply: string;
@@ -243,7 +242,6 @@ export declare const actionAddresses: {
243
242
  AaveCollateralSwitch?: undefined;
244
243
  AaveUnstake?: undefined;
245
244
  AaveClaimAAVE?: undefined;
246
- AaveClaimStkAave?: undefined;
247
245
  AaveV3View?: undefined;
248
246
  MorphoAaveV2Borrow?: undefined;
249
247
  MorphoAaveV2Payback?: undefined;
@@ -415,7 +413,6 @@ export declare const actionAddresses: {
415
413
  AaveCollateralSwitch?: undefined;
416
414
  AaveUnstake?: undefined;
417
415
  AaveClaimAAVE?: undefined;
418
- AaveClaimStkAave?: undefined;
419
416
  AaveV3ClaimRewards?: undefined;
420
417
  AaveV3View?: undefined;
421
418
  MorphoAaveV2Borrow?: undefined;
@@ -592,7 +589,6 @@ export declare const actionAddresses: {
592
589
  AaveCollateralSwitch?: undefined;
593
590
  AaveUnstake?: undefined;
594
591
  AaveClaimAAVE?: undefined;
595
- AaveClaimStkAave?: undefined;
596
592
  MorphoAaveV2Borrow?: undefined;
597
593
  MorphoAaveV2Payback?: undefined;
598
594
  MorphoAaveV2Supply?: undefined;
@@ -50,7 +50,6 @@ export const actionAddresses = {
50
50
  AaveCollateralSwitch: '0xFf5dfF1B90bd5Aa6E12768AB497dB90cc9DE6F5d',
51
51
  AaveUnstake: '0x2FE4024e350cD2c64D2fd0Db5d16F5cE54Ca0E09',
52
52
  AaveClaimAAVE: '0xd52855bD011F3D87565f9040DdE2A59fB1b27b15',
53
- AaveClaimStkAave: '0x5Dcd9Dc0185a6Ab07a31e5284D16Ce9f0A79Ce99',
54
53
  // aave v3
55
54
  AaveV3Withdraw: '0x9D4e4b26A5E2e6Dad30C5d95F5cE78A8310F04C2',
56
55
  AaveV3SwapBorrowRateMode: '0x630F530Ac523C935cf2528E62D0A06F8900C5b1B',
@@ -195,11 +194,11 @@ export const actionAddresses = {
195
194
  CurveUsdSupply: '0xa55B3CE5ae7E59002f53b2153ABe326823ccCDE2',
196
195
  CurveUsdAdjust: '0x6f69A7d0B1BE7602381d9cCE6B29F05B9D0b85e6',
197
196
  CurveUsdWithdraw: '0x54B8D984fc79B000D7B6F6E0f52CD054E965120f',
198
- CurveUsdLevCreate: '0x8B5ACd4ce0a43327aaDfc5c42be029898e242393',
199
- CurveUsdRepay: '0xDaDFC60207C17be005ECf2B03f3B31885D22F908',
200
- CurveUsdSwapper: '0xFa2dfE6AF842e3184D305a85d09cfcf220ed4CBd',
197
+ CurveUsdLevCreate: '0xcbd9aFc2b7532b9eeB3A7EC4ea8Bb4320795d9Ad',
198
+ CurveUsdRepay: '0xd12785e4834C1421fC7B64ca57d64E886e39b80F',
199
+ CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
201
200
  CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
202
- CurveUsdSelfLiquidateWithColl: '0x6d02300C1A68c63C60AFD713b744bA750aB33aB0',
201
+ CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF',
203
202
  },
204
203
  [NETWORKS.optimism.chainId]: {
205
204
  DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
@@ -55,7 +55,6 @@ declare const actionAddressesAllChains: {
55
55
  AaveCollateralSwitch: string;
56
56
  AaveUnstake: string;
57
57
  AaveClaimAAVE: string;
58
- AaveClaimStkAave: string;
59
58
  AaveV3Withdraw: string;
60
59
  AaveV3SwapBorrowRateMode: string;
61
60
  AaveV3Supply: string;
@@ -254,7 +253,6 @@ declare const actionAddressesAllChains: {
254
253
  AaveCollateralSwitch?: undefined;
255
254
  AaveUnstake?: undefined;
256
255
  AaveClaimAAVE?: undefined;
257
- AaveClaimStkAave?: undefined;
258
256
  AaveV3View?: undefined;
259
257
  MorphoAaveV2Borrow?: undefined;
260
258
  MorphoAaveV2Payback?: undefined;
@@ -426,7 +424,6 @@ declare const actionAddressesAllChains: {
426
424
  AaveCollateralSwitch?: undefined;
427
425
  AaveUnstake?: undefined;
428
426
  AaveClaimAAVE?: undefined;
429
- AaveClaimStkAave?: undefined;
430
427
  AaveV3ClaimRewards?: undefined;
431
428
  AaveV3View?: undefined;
432
429
  MorphoAaveV2Borrow?: undefined;
@@ -603,7 +600,6 @@ declare const actionAddressesAllChains: {
603
600
  AaveCollateralSwitch?: undefined;
604
601
  AaveUnstake?: undefined;
605
602
  AaveClaimAAVE?: undefined;
606
- AaveClaimStkAave?: undefined;
607
603
  MorphoAaveV2Borrow?: undefined;
608
604
  MorphoAaveV2Payback?: undefined;
609
605
  MorphoAaveV2Supply?: undefined;
@@ -761,7 +757,6 @@ declare const actionAddresses: (chainId?: null) => {
761
757
  AaveCollateralSwitch: string;
762
758
  AaveUnstake: string;
763
759
  AaveClaimAAVE: string;
764
- AaveClaimStkAave: string;
765
760
  AaveV3Withdraw: string;
766
761
  AaveV3SwapBorrowRateMode: string;
767
762
  AaveV3Supply: string;
@@ -960,7 +955,6 @@ declare const actionAddresses: (chainId?: null) => {
960
955
  AaveCollateralSwitch?: undefined;
961
956
  AaveUnstake?: undefined;
962
957
  AaveClaimAAVE?: undefined;
963
- AaveClaimStkAave?: undefined;
964
958
  AaveV3View?: undefined;
965
959
  MorphoAaveV2Borrow?: undefined;
966
960
  MorphoAaveV2Payback?: undefined;
@@ -1132,7 +1126,6 @@ declare const actionAddresses: (chainId?: null) => {
1132
1126
  AaveCollateralSwitch?: undefined;
1133
1127
  AaveUnstake?: undefined;
1134
1128
  AaveClaimAAVE?: undefined;
1135
- AaveClaimStkAave?: undefined;
1136
1129
  AaveV3ClaimRewards?: undefined;
1137
1130
  AaveV3View?: undefined;
1138
1131
  MorphoAaveV2Borrow?: undefined;
@@ -1309,7 +1302,6 @@ declare const actionAddresses: (chainId?: null) => {
1309
1302
  AaveCollateralSwitch?: undefined;
1310
1303
  AaveUnstake?: undefined;
1311
1304
  AaveClaimAAVE?: undefined;
1312
- AaveClaimStkAave?: undefined;
1313
1305
  MorphoAaveV2Borrow?: undefined;
1314
1306
  MorphoAaveV2Payback?: undefined;
1315
1307
  MorphoAaveV2Supply?: undefined;
@@ -1610,7 +1602,6 @@ declare const _default: {
1610
1602
  AaveCollateralSwitch: string;
1611
1603
  AaveUnstake: string;
1612
1604
  AaveClaimAAVE: string;
1613
- AaveClaimStkAave: string;
1614
1605
  AaveV3Withdraw: string;
1615
1606
  AaveV3SwapBorrowRateMode: string;
1616
1607
  AaveV3Supply: string;
@@ -1809,7 +1800,6 @@ declare const _default: {
1809
1800
  AaveCollateralSwitch?: undefined;
1810
1801
  AaveUnstake?: undefined;
1811
1802
  AaveClaimAAVE?: undefined;
1812
- AaveClaimStkAave?: undefined;
1813
1803
  AaveV3View?: undefined;
1814
1804
  MorphoAaveV2Borrow?: undefined;
1815
1805
  MorphoAaveV2Payback?: undefined;
@@ -1981,7 +1971,6 @@ declare const _default: {
1981
1971
  AaveCollateralSwitch?: undefined;
1982
1972
  AaveUnstake?: undefined;
1983
1973
  AaveClaimAAVE?: undefined;
1984
- AaveClaimStkAave?: undefined;
1985
1974
  AaveV3ClaimRewards?: undefined;
1986
1975
  AaveV3View?: undefined;
1987
1976
  MorphoAaveV2Borrow?: undefined;
@@ -2158,7 +2147,6 @@ declare const _default: {
2158
2147
  AaveCollateralSwitch?: undefined;
2159
2148
  AaveUnstake?: undefined;
2160
2149
  AaveClaimAAVE?: undefined;
2161
- AaveClaimStkAave?: undefined;
2162
2150
  MorphoAaveV2Borrow?: undefined;
2163
2151
  MorphoAaveV2Payback?: undefined;
2164
2152
  MorphoAaveV2Supply?: undefined;
@@ -2316,7 +2304,6 @@ declare const _default: {
2316
2304
  AaveCollateralSwitch: string;
2317
2305
  AaveUnstake: string;
2318
2306
  AaveClaimAAVE: string;
2319
- AaveClaimStkAave: string;
2320
2307
  AaveV3Withdraw: string;
2321
2308
  AaveV3SwapBorrowRateMode: string;
2322
2309
  AaveV3Supply: string;
@@ -2515,7 +2502,6 @@ declare const _default: {
2515
2502
  AaveCollateralSwitch?: undefined;
2516
2503
  AaveUnstake?: undefined;
2517
2504
  AaveClaimAAVE?: undefined;
2518
- AaveClaimStkAave?: undefined;
2519
2505
  AaveV3View?: undefined;
2520
2506
  MorphoAaveV2Borrow?: undefined;
2521
2507
  MorphoAaveV2Payback?: undefined;
@@ -2687,7 +2673,6 @@ declare const _default: {
2687
2673
  AaveCollateralSwitch?: undefined;
2688
2674
  AaveUnstake?: undefined;
2689
2675
  AaveClaimAAVE?: undefined;
2690
- AaveClaimStkAave?: undefined;
2691
2676
  AaveV3ClaimRewards?: undefined;
2692
2677
  AaveV3View?: undefined;
2693
2678
  MorphoAaveV2Borrow?: undefined;
@@ -2864,7 +2849,6 @@ declare const _default: {
2864
2849
  AaveCollateralSwitch?: undefined;
2865
2850
  AaveUnstake?: undefined;
2866
2851
  AaveClaimAAVE?: undefined;
2867
- AaveClaimStkAave?: undefined;
2868
2852
  MorphoAaveV2Borrow?: undefined;
2869
2853
  MorphoAaveV2Payback?: undefined;
2870
2854
  MorphoAaveV2Supply?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -20,7 +20,7 @@
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
22
  "@defisaver/eslint-config": "^1.0.0",
23
- "@defisaver/tokens": "^1.5.2",
23
+ "@defisaver/tokens": "^1.5.0",
24
24
  "@ethersproject/address": "^5.0.10",
25
25
  "@ethersproject/solidity": "^5.0.9",
26
26
  "@types/web3-eth-abi": "^1.2.2",
@@ -6,6 +6,7 @@ import {
6
6
  uint256,
7
7
  uint32,
8
8
  bytes,
9
+ uint24,
9
10
  } from '../../types';
10
11
 
11
12
  /**
@@ -22,15 +23,14 @@ export class CurveUsdLevCreateAction extends Action {
22
23
  from: EthAddress,
23
24
  additionData: bytes,
24
25
  gasUsed: uint32,
25
- dfsFeeDivider: uint32,
26
- useSteth: Boolean,
26
+ dfsFeeDivider: uint24,
27
27
  ) {
28
28
  requireAddress(from);
29
29
  super(
30
30
  'CurveUsdLevCreate',
31
31
  getAddr('CurveUsdLevCreate'),
32
- ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'],
33
- [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth],
32
+ ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint24'],
33
+ [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider],
34
34
  );
35
35
 
36
36
  this.mappableArgs = [
@@ -5,6 +5,7 @@ import {
5
5
  uint256,
6
6
  uint32,
7
7
  bytes,
8
+ uint24,
8
9
  } from '../../types';
9
10
 
10
11
  /**
@@ -19,14 +20,13 @@ export class CurveUsdRepayAction extends Action {
19
20
  minAmount: uint256,
20
21
  additionData: bytes,
21
22
  gasUsed: uint32,
22
- dfsFeeDivider: uint32,
23
- useSteth: Boolean,
23
+ dfsFeeDivider: uint24,
24
24
  ) {
25
25
  super(
26
26
  'CurveUsdRepay',
27
27
  getAddr('CurveUsdRepay'),
28
- ['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint32', 'bool'],
29
- [controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth],
28
+ ['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint24'],
29
+ [controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider],
30
30
  );
31
31
 
32
32
  this.mappableArgs = [
@@ -6,6 +6,7 @@ import {
6
6
  uint256,
7
7
  uint32,
8
8
  bytes,
9
+ uint24,
9
10
  } from '../../types';
10
11
 
11
12
  /**
@@ -22,15 +23,14 @@ export class CurveUsdSelfLiquidateWithCollAction extends Action {
22
23
  to: EthAddress,
23
24
  additionData: bytes,
24
25
  gasUsed: uint32,
25
- dfsFeeDivider: uint32,
26
- useSteth: Boolean,
26
+ dfsFeeDivider: uint24,
27
27
  ) {
28
28
  requireAddress(to);
29
29
  super(
30
30
  'CurveUsdSelfLiquidateWithColl',
31
31
  getAddr('CurveUsdSelfLiquidateWithColl'),
32
- ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'],
33
- [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth],
32
+ ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint24'],
33
+ [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider],
34
34
  );
35
35
 
36
36
  this.mappableArgs = [
package/src/addresses.ts CHANGED
@@ -57,7 +57,6 @@ export const actionAddresses = {
57
57
  AaveCollateralSwitch: '0xFf5dfF1B90bd5Aa6E12768AB497dB90cc9DE6F5d',
58
58
  AaveUnstake: '0x2FE4024e350cD2c64D2fd0Db5d16F5cE54Ca0E09',
59
59
  AaveClaimAAVE: '0xd52855bD011F3D87565f9040DdE2A59fB1b27b15',
60
- AaveClaimStkAave: '0x5Dcd9Dc0185a6Ab07a31e5284D16Ce9f0A79Ce99',
61
60
  // aave v3
62
61
  AaveV3Withdraw: '0x9D4e4b26A5E2e6Dad30C5d95F5cE78A8310F04C2',
63
62
  AaveV3SwapBorrowRateMode: '0x630F530Ac523C935cf2528E62D0A06F8900C5b1B',
@@ -229,11 +228,11 @@ export const actionAddresses = {
229
228
  CurveUsdSupply: '0xa55B3CE5ae7E59002f53b2153ABe326823ccCDE2',
230
229
  CurveUsdAdjust: '0x6f69A7d0B1BE7602381d9cCE6B29F05B9D0b85e6',
231
230
  CurveUsdWithdraw: '0x54B8D984fc79B000D7B6F6E0f52CD054E965120f',
232
- CurveUsdLevCreate: '0x8B5ACd4ce0a43327aaDfc5c42be029898e242393',
233
- CurveUsdRepay: '0xDaDFC60207C17be005ECf2B03f3B31885D22F908',
234
- CurveUsdSwapper: '0xFa2dfE6AF842e3184D305a85d09cfcf220ed4CBd',
231
+ CurveUsdLevCreate: '0xcbd9aFc2b7532b9eeB3A7EC4ea8Bb4320795d9Ad',
232
+ CurveUsdRepay: '0xd12785e4834C1421fC7B64ca57d64E886e39b80F',
233
+ CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
235
234
  CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
236
- CurveUsdSelfLiquidateWithColl: '0x6d02300C1A68c63C60AFD713b744bA750aB33aB0',
235
+ CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF',
237
236
  },
238
237
  [NETWORKS.optimism.chainId]: {
239
238
  DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
package/umd/index.js CHANGED
@@ -1306,7 +1306,6 @@ var actionAddresses = {
1306
1306
  AaveCollateralSwitch: '0xFf5dfF1B90bd5Aa6E12768AB497dB90cc9DE6F5d',
1307
1307
  AaveUnstake: '0x2FE4024e350cD2c64D2fd0Db5d16F5cE54Ca0E09',
1308
1308
  AaveClaimAAVE: '0xd52855bD011F3D87565f9040DdE2A59fB1b27b15',
1309
- AaveClaimStkAave: '0x5Dcd9Dc0185a6Ab07a31e5284D16Ce9f0A79Ce99',
1310
1309
  // aave v3
1311
1310
  AaveV3Withdraw: '0x9D4e4b26A5E2e6Dad30C5d95F5cE78A8310F04C2',
1312
1311
  AaveV3SwapBorrowRateMode: '0x630F530Ac523C935cf2528E62D0A06F8900C5b1B',
@@ -1451,11 +1450,11 @@ var actionAddresses = {
1451
1450
  CurveUsdSupply: '0xa55B3CE5ae7E59002f53b2153ABe326823ccCDE2',
1452
1451
  CurveUsdAdjust: '0x6f69A7d0B1BE7602381d9cCE6B29F05B9D0b85e6',
1453
1452
  CurveUsdWithdraw: '0x54B8D984fc79B000D7B6F6E0f52CD054E965120f',
1454
- CurveUsdLevCreate: '0x8B5ACd4ce0a43327aaDfc5c42be029898e242393',
1455
- CurveUsdRepay: '0xDaDFC60207C17be005ECf2B03f3B31885D22F908',
1456
- CurveUsdSwapper: '0xFa2dfE6AF842e3184D305a85d09cfcf220ed4CBd',
1453
+ CurveUsdLevCreate: '0xcbd9aFc2b7532b9eeB3A7EC4ea8Bb4320795d9Ad',
1454
+ CurveUsdRepay: '0xd12785e4834C1421fC7B64ca57d64E886e39b80F',
1455
+ CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
1457
1456
  CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
1458
- CurveUsdSelfLiquidateWithColl: '0x6d02300C1A68c63C60AFD713b744bA750aB33aB0'
1457
+ CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF'
1459
1458
  },
1460
1459
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
1461
1460
  DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
@@ -10200,8 +10199,8 @@ __webpack_require__.r(__webpack_exports__);
10200
10199
  * @category CurveUsd
10201
10200
  */
10202
10201
  class CurveUsdRepayAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
10203
- constructor(controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth) {
10204
- super('CurveUsdRepay', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdRepay'), ['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint32', 'bool'], [controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth]);
10202
+ constructor(controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider) {
10203
+ super('CurveUsdRepay', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdRepay'), ['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint24'], [controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider]);
10205
10204
  this.mappableArgs = [...this.args];
10206
10205
  }
10207
10206
  }
@@ -10268,9 +10267,9 @@ __webpack_require__.r(__webpack_exports__);
10268
10267
  * @category CurveUsd
10269
10268
  */
10270
10269
  class CurveUsdLevCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
10271
- constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth) {
10270
+ constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider) {
10272
10271
  (0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(from);
10273
- super('CurveUsdLevCreate', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('CurveUsdLevCreate'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'], [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth]);
10272
+ super('CurveUsdLevCreate', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('CurveUsdLevCreate'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint24'], [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider]);
10274
10273
  this.mappableArgs = [...this.args];
10275
10274
  }
10276
10275
  }
@@ -10294,9 +10293,9 @@ __webpack_require__.r(__webpack_exports__);
10294
10293
  * @category CurveUsd
10295
10294
  */
10296
10295
  class CurveUsdSelfLiquidateWithCollAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
10297
- constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth) {
10296
+ constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider) {
10298
10297
  (0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(to);
10299
- super('CurveUsdSelfLiquidateWithColl', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('CurveUsdSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'], [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth]);
10298
+ super('CurveUsdSelfLiquidateWithColl', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('CurveUsdSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint24'], [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider]);
10300
10299
  this.mappableArgs = [...this.args];
10301
10300
  }
10302
10301
  }