@defisaver/sdk 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/src/actions/curveusd/CurveUsdLevCreateAction.d.ts +2 -2
- package/esm/src/actions/curveusd/CurveUsdLevCreateAction.js +2 -2
- package/esm/src/actions/curveusd/CurveUsdRepayAction.d.ts +2 -2
- package/esm/src/actions/curveusd/CurveUsdRepayAction.js +2 -2
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.d.ts +2 -2
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.js +2 -2
- package/esm/src/addresses.js +4 -4
- package/esm/src/types.d.ts +2 -1
- package/package.json +1 -1
- package/src/actions/curveusd/CurveUsdLevCreateAction.ts +11 -3
- package/src/actions/curveusd/CurveUsdRepayAction.ts +9 -3
- package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.ts +11 -3
- package/src/addresses.ts +4 -4
- package/src/types.ts +2 -1
- package/umd/index.js +10 -10
- package/yarn-error.log +0 -3976
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Action } from '../../Action';
|
|
2
|
-
import { EthAddress, uint256, bytes } from '../../types';
|
|
2
|
+
import { EthAddress, uint256, uint32, bytes } 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);
|
|
8
|
+
constructor(controllerAddress: EthAddress, collateralAmount: uint256, debtAmount: uint256, minAmount: uint256, nBands: uint256, from: EthAddress, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint32, useSteth: Boolean);
|
|
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) {
|
|
9
|
+
constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth) {
|
|
10
10
|
requireAddress(from);
|
|
11
|
-
super('CurveUsdLevCreate', getAddr('CurveUsdLevCreate'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes'], [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData]);
|
|
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]);
|
|
12
12
|
this.mappableArgs = [
|
|
13
13
|
...this.args,
|
|
14
14
|
];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Action } from '../../Action';
|
|
2
|
-
import { EthAddress, uint256, bytes } from '../../types';
|
|
2
|
+
import { EthAddress, uint256, uint32, bytes } 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);
|
|
8
|
+
constructor(controllerAddress: EthAddress, collAmount: uint256, to: EthAddress, minAmount: uint256, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint32, useSteth: Boolean);
|
|
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) {
|
|
9
|
-
super('CurveUsdRepay', getAddr('CurveUsdRepay'), ['address', 'uint256', 'address', 'uint256', 'bytes'], [controllerAddress, collAmount, to, minAmount, additionData]);
|
|
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]);
|
|
10
10
|
this.mappableArgs = [
|
|
11
11
|
...this.args,
|
|
12
12
|
];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Action } from '../../Action';
|
|
2
|
-
import { EthAddress, uint256, bytes } from '../../types';
|
|
2
|
+
import { EthAddress, uint256, uint32, bytes } 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);
|
|
8
|
+
constructor(controllerAddress: EthAddress, percentage: uint256, minCrvUsdExpected: uint256, swapAmount: uint256, minAmount: uint256, to: EthAddress, additionData: bytes, gasUsed: uint32, dfsFeeDivider: uint32, useSteth: Boolean);
|
|
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) {
|
|
9
|
+
constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth) {
|
|
10
10
|
requireAddress(to);
|
|
11
|
-
super('CurveUsdSelfLiquidateWithColl', getAddr('CurveUsdSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes'], [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData]);
|
|
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]);
|
|
12
12
|
this.mappableArgs = [
|
|
13
13
|
...this.args,
|
|
14
14
|
];
|
package/esm/src/addresses.js
CHANGED
|
@@ -174,11 +174,11 @@ export const actionAddresses = {
|
|
|
174
174
|
CurveUsdPayback: '0x14A9dab0BAF6f48e8ffaf612D0604fEa549e27Ff',
|
|
175
175
|
CurveUsdSupply: '0xEf146C22be5A51F2D777c05623a781ED51c2702b',
|
|
176
176
|
CurveUsdWithdraw: '0xD9c1Ae50138ad34C02973AA9E437d0A864c0F6D8',
|
|
177
|
-
CurveUsdLevCreate: '
|
|
178
|
-
CurveUsdRepay: '
|
|
179
|
-
CurveUsdSwapper: '
|
|
177
|
+
CurveUsdLevCreate: '0x16ff60eE7Fa1583397BE6fce3332e97eCC0c344F',
|
|
178
|
+
CurveUsdRepay: '0x7DBd7F0DC5f68b6B0c097551EB0D5673317ab9Bd',
|
|
179
|
+
CurveUsdSwapper: '0x6233F57401b2b82Ccc5f8bDD90D3598fbc80C1DB',
|
|
180
180
|
CurveUsdSelfLiquidate: '0xB05a411734d05f0124d0Aea9Ebb932Bf25C06533',
|
|
181
|
-
CurveUsdSelfLiquidateWithColl: '
|
|
181
|
+
CurveUsdSelfLiquidateWithColl: '0x49342d76aC5004EAa15fE80CcCae240f39C5563c',
|
|
182
182
|
},
|
|
183
183
|
[NETWORKS.optimism.chainId]: {
|
|
184
184
|
DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
|
package/esm/src/types.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ type EthAddress = string;
|
|
|
32
32
|
type bytes32 = string;
|
|
33
33
|
type bytes = string | Array<any>;
|
|
34
34
|
type uint256 = string;
|
|
35
|
+
type uint32 = string;
|
|
35
36
|
type uint160 = string;
|
|
36
37
|
type uint128 = string;
|
|
37
38
|
type uint80 = string;
|
|
@@ -41,4 +42,4 @@ type uint16 = string;
|
|
|
41
42
|
type uint8 = string;
|
|
42
43
|
type int256 = string;
|
|
43
44
|
type int24 = string;
|
|
44
|
-
export { AccessList, AccessListItem, AccessLists, Config, Network, Networks, EthAddress, bytes32, bytes, uint256, uint160, uint128, uint80, uint64, uint24, uint16, uint8, int256, int24, };
|
|
45
|
+
export { AccessList, AccessListItem, AccessLists, Config, Network, Networks, EthAddress, bytes32, bytes, uint256, uint160, uint32, uint128, uint80, uint64, uint24, uint16, uint8, int256, int24, };
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Action } from '../../Action';
|
|
2
2
|
import { requireAddress } from '../../utils/general';
|
|
3
3
|
import { getAddr } from '../../addresses';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
EthAddress,
|
|
6
|
+
uint256,
|
|
7
|
+
uint32,
|
|
8
|
+
bytes,
|
|
9
|
+
} from '../../types';
|
|
5
10
|
|
|
6
11
|
/**
|
|
7
12
|
*
|
|
@@ -16,13 +21,16 @@ export class CurveUsdLevCreateAction extends Action {
|
|
|
16
21
|
nBands: uint256,
|
|
17
22
|
from: EthAddress,
|
|
18
23
|
additionData: bytes,
|
|
24
|
+
gasUsed: uint32,
|
|
25
|
+
dfsFeeDivider: uint32,
|
|
26
|
+
useSteth: Boolean,
|
|
19
27
|
) {
|
|
20
28
|
requireAddress(from);
|
|
21
29
|
super(
|
|
22
30
|
'CurveUsdLevCreate',
|
|
23
31
|
getAddr('CurveUsdLevCreate'),
|
|
24
|
-
['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes'],
|
|
25
|
-
[controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData],
|
|
32
|
+
['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'],
|
|
33
|
+
[controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth],
|
|
26
34
|
);
|
|
27
35
|
|
|
28
36
|
this.mappableArgs = [
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Action } from '../../Action';
|
|
2
2
|
import { getAddr } from '../../addresses';
|
|
3
3
|
import {
|
|
4
|
-
EthAddress,
|
|
4
|
+
EthAddress,
|
|
5
|
+
uint256,
|
|
6
|
+
uint32,
|
|
7
|
+
bytes,
|
|
5
8
|
} from '../../types';
|
|
6
9
|
|
|
7
10
|
/**
|
|
@@ -15,12 +18,15 @@ export class CurveUsdRepayAction extends Action {
|
|
|
15
18
|
to: EthAddress,
|
|
16
19
|
minAmount: uint256,
|
|
17
20
|
additionData: bytes,
|
|
21
|
+
gasUsed: uint32,
|
|
22
|
+
dfsFeeDivider: uint32,
|
|
23
|
+
useSteth: Boolean,
|
|
18
24
|
) {
|
|
19
25
|
super(
|
|
20
26
|
'CurveUsdRepay',
|
|
21
27
|
getAddr('CurveUsdRepay'),
|
|
22
|
-
['address', 'uint256', 'address', 'uint256', 'bytes'],
|
|
23
|
-
[controllerAddress, collAmount, to, minAmount, additionData],
|
|
28
|
+
['address', 'uint256', 'address', 'uint256', 'bytes', 'uint32', 'uint32', 'bool'],
|
|
29
|
+
[controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth],
|
|
24
30
|
);
|
|
25
31
|
|
|
26
32
|
this.mappableArgs = [
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Action } from '../../Action';
|
|
2
2
|
import { requireAddress } from '../../utils/general';
|
|
3
3
|
import { getAddr } from '../../addresses';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
EthAddress,
|
|
6
|
+
uint256,
|
|
7
|
+
uint32,
|
|
8
|
+
bytes,
|
|
9
|
+
} from '../../types';
|
|
5
10
|
|
|
6
11
|
/**
|
|
7
12
|
*
|
|
@@ -16,13 +21,16 @@ export class CurveUsdSelfLiquidateWithCollAction extends Action {
|
|
|
16
21
|
minAmount: uint256,
|
|
17
22
|
to: EthAddress,
|
|
18
23
|
additionData: bytes,
|
|
24
|
+
gasUsed: uint32,
|
|
25
|
+
dfsFeeDivider: uint32,
|
|
26
|
+
useSteth: Boolean,
|
|
19
27
|
) {
|
|
20
28
|
requireAddress(to);
|
|
21
29
|
super(
|
|
22
30
|
'CurveUsdSelfLiquidateWithColl',
|
|
23
31
|
getAddr('CurveUsdSelfLiquidateWithColl'),
|
|
24
|
-
['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes'],
|
|
25
|
-
[controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData],
|
|
32
|
+
['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes', 'uint32', 'uint32', 'bool'],
|
|
33
|
+
[controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth],
|
|
26
34
|
);
|
|
27
35
|
|
|
28
36
|
this.mappableArgs = [
|
package/src/addresses.ts
CHANGED
|
@@ -207,11 +207,11 @@ export const actionAddresses = {
|
|
|
207
207
|
CurveUsdPayback: '0x14A9dab0BAF6f48e8ffaf612D0604fEa549e27Ff',
|
|
208
208
|
CurveUsdSupply: '0xEf146C22be5A51F2D777c05623a781ED51c2702b',
|
|
209
209
|
CurveUsdWithdraw: '0xD9c1Ae50138ad34C02973AA9E437d0A864c0F6D8',
|
|
210
|
-
CurveUsdLevCreate: '
|
|
211
|
-
CurveUsdRepay: '
|
|
212
|
-
CurveUsdSwapper: '
|
|
210
|
+
CurveUsdLevCreate: '0x16ff60eE7Fa1583397BE6fce3332e97eCC0c344F',
|
|
211
|
+
CurveUsdRepay: '0x7DBd7F0DC5f68b6B0c097551EB0D5673317ab9Bd',
|
|
212
|
+
CurveUsdSwapper: '0x6233F57401b2b82Ccc5f8bDD90D3598fbc80C1DB',
|
|
213
213
|
CurveUsdSelfLiquidate: '0xB05a411734d05f0124d0Aea9Ebb932Bf25C06533',
|
|
214
|
-
CurveUsdSelfLiquidateWithColl: '
|
|
214
|
+
CurveUsdSelfLiquidateWithColl: '0x49342d76aC5004EAa15fE80CcCae240f39C5563c',
|
|
215
215
|
},
|
|
216
216
|
[NETWORKS.optimism.chainId]: {
|
|
217
217
|
DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
|
package/src/types.ts
CHANGED
|
@@ -35,6 +35,7 @@ type EthAddress = string;
|
|
|
35
35
|
type bytes32 = string;
|
|
36
36
|
type bytes = string | Array<any>;
|
|
37
37
|
type uint256 = string;
|
|
38
|
+
type uint32 = string;
|
|
38
39
|
type uint160 = string;
|
|
39
40
|
type uint128 = string;
|
|
40
41
|
type uint80 = string;
|
|
@@ -46,5 +47,5 @@ type int256 = string;
|
|
|
46
47
|
type int24 = string;
|
|
47
48
|
|
|
48
49
|
export {
|
|
49
|
-
AccessList, AccessListItem, AccessLists, Config, Network, Networks, EthAddress, bytes32, bytes, uint256, uint160, uint128, uint80, uint64, uint24, uint16, uint8, int256, int24,
|
|
50
|
+
AccessList, AccessListItem, AccessLists, Config, Network, Networks, EthAddress, bytes32, bytes, uint256, uint160, uint32, uint128, uint80, uint64, uint24, uint16, uint8, int256, int24,
|
|
50
51
|
};
|
package/umd/index.js
CHANGED
|
@@ -1418,11 +1418,11 @@ var actionAddresses = {
|
|
|
1418
1418
|
CurveUsdPayback: '0x14A9dab0BAF6f48e8ffaf612D0604fEa549e27Ff',
|
|
1419
1419
|
CurveUsdSupply: '0xEf146C22be5A51F2D777c05623a781ED51c2702b',
|
|
1420
1420
|
CurveUsdWithdraw: '0xD9c1Ae50138ad34C02973AA9E437d0A864c0F6D8',
|
|
1421
|
-
CurveUsdLevCreate: '
|
|
1422
|
-
CurveUsdRepay: '
|
|
1423
|
-
CurveUsdSwapper: '
|
|
1421
|
+
CurveUsdLevCreate: '0x16ff60eE7Fa1583397BE6fce3332e97eCC0c344F',
|
|
1422
|
+
CurveUsdRepay: '0x7DBd7F0DC5f68b6B0c097551EB0D5673317ab9Bd',
|
|
1423
|
+
CurveUsdSwapper: '0x6233F57401b2b82Ccc5f8bDD90D3598fbc80C1DB',
|
|
1424
1424
|
CurveUsdSelfLiquidate: '0xB05a411734d05f0124d0Aea9Ebb932Bf25C06533',
|
|
1425
|
-
CurveUsdSelfLiquidateWithColl: '
|
|
1425
|
+
CurveUsdSelfLiquidateWithColl: '0x49342d76aC5004EAa15fE80CcCae240f39C5563c'
|
|
1426
1426
|
},
|
|
1427
1427
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1428
1428
|
DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
|
|
@@ -9382,8 +9382,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9382
9382
|
* @category CurveUsd
|
|
9383
9383
|
*/
|
|
9384
9384
|
class CurveUsdRepayAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
9385
|
-
constructor(controllerAddress, collAmount, to, minAmount, additionData) {
|
|
9386
|
-
super('CurveUsdRepay', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdRepay'), ['address', 'uint256', 'address', 'uint256', 'bytes'], [controllerAddress, collAmount, to, minAmount, additionData]);
|
|
9385
|
+
constructor(controllerAddress, collAmount, to, minAmount, additionData, gasUsed, dfsFeeDivider, useSteth) {
|
|
9386
|
+
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]);
|
|
9387
9387
|
this.mappableArgs = [...this.args];
|
|
9388
9388
|
}
|
|
9389
9389
|
}
|
|
@@ -9450,9 +9450,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9450
9450
|
* @category CurveUsd
|
|
9451
9451
|
*/
|
|
9452
9452
|
class CurveUsdLevCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
9453
|
-
constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData) {
|
|
9453
|
+
constructor(controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData, gasUsed, dfsFeeDivider, useSteth) {
|
|
9454
9454
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(from);
|
|
9455
|
-
super('CurveUsdLevCreate', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('CurveUsdLevCreate'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes'], [controllerAddress, collateralAmount, debtAmount, minAmount, nBands, from, additionData]);
|
|
9455
|
+
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]);
|
|
9456
9456
|
this.mappableArgs = [...this.args];
|
|
9457
9457
|
}
|
|
9458
9458
|
}
|
|
@@ -9476,9 +9476,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9476
9476
|
* @category CurveUsd
|
|
9477
9477
|
*/
|
|
9478
9478
|
class CurveUsdSelfLiquidateWithCollAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
9479
|
-
constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData) {
|
|
9479
|
+
constructor(controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData, gasUsed, dfsFeeDivider, useSteth) {
|
|
9480
9480
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(to);
|
|
9481
|
-
super('CurveUsdSelfLiquidateWithColl', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('CurveUsdSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'bytes'], [controllerAddress, percentage, minCrvUsdExpected, swapAmount, minAmount, to, additionData]);
|
|
9481
|
+
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]);
|
|
9482
9482
|
this.mappableArgs = [...this.args];
|
|
9483
9483
|
}
|
|
9484
9484
|
}
|