@defisaver/sdk 1.2.27 → 1.2.28
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/liquityV2/LiquityV2CloseLegacyAction.d.ts +20 -0
- package/esm/src/actions/liquityV2/LiquityV2CloseLegacyAction.js +49 -0
- package/esm/src/actions/liquityV2/LiquityV2PaybackLegacyAction.d.ts +20 -0
- package/esm/src/actions/liquityV2/LiquityV2PaybackLegacyAction.js +49 -0
- package/esm/src/actions/liquityV2/index.d.ts +2 -0
- package/esm/src/actions/liquityV2/index.js +2 -0
- package/esm/src/addresses.d.ts +8 -0
- package/esm/src/addresses.js +11 -8
- package/esm/src/index.d.ts +32 -0
- package/package.json +2 -2
- package/src/actions/liquityV2/LiquityV2CloseLegacyAction.ts +52 -0
- package/src/actions/liquityV2/LiquityV2PaybackLegacyAction.ts +52 -0
- package/src/actions/liquityV2/index.ts +3 -1
- package/src/addresses.ts +11 -8
- package/umd/index.js +208 -111
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* LiquityV2CloseLegacyAction - Closes trove on first (legacy) LiquityV2 deployment
|
|
5
|
+
*
|
|
6
|
+
* @category LiquityV2
|
|
7
|
+
*/
|
|
8
|
+
export declare class LiquityV2CloseLegacyAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param market liquity address registry for the market
|
|
11
|
+
* @param from address from which to take the BOLD
|
|
12
|
+
* @param to address to which to send the collateralToken and WETH gas compensation
|
|
13
|
+
* @param troveId id of the trove to close
|
|
14
|
+
*/
|
|
15
|
+
constructor(market: EthAddress, from: EthAddress, to: EthAddress, troveId: string);
|
|
16
|
+
getAssetsToApprove(): Promise<{
|
|
17
|
+
asset: string;
|
|
18
|
+
owner: any;
|
|
19
|
+
}[]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { getAssetInfo } from '@defisaver/tokens';
|
|
11
|
+
import { Action } from '../../Action';
|
|
12
|
+
import { getAddr } from '../../addresses';
|
|
13
|
+
/**
|
|
14
|
+
* LiquityV2CloseLegacyAction - Closes trove on first (legacy) LiquityV2 deployment
|
|
15
|
+
*
|
|
16
|
+
* @category LiquityV2
|
|
17
|
+
*/
|
|
18
|
+
export class LiquityV2CloseLegacyAction extends Action {
|
|
19
|
+
/**
|
|
20
|
+
* @param market liquity address registry for the market
|
|
21
|
+
* @param from address from which to take the BOLD
|
|
22
|
+
* @param to address to which to send the collateralToken and WETH gas compensation
|
|
23
|
+
* @param troveId id of the trove to close
|
|
24
|
+
*/
|
|
25
|
+
constructor(market, from, to, troveId) {
|
|
26
|
+
super('LiquityV2CloseLegacy', getAddr('LiquityV2CloseLegacy'), [
|
|
27
|
+
'address',
|
|
28
|
+
'address',
|
|
29
|
+
'address',
|
|
30
|
+
'uint256',
|
|
31
|
+
], [
|
|
32
|
+
market,
|
|
33
|
+
from,
|
|
34
|
+
to,
|
|
35
|
+
troveId,
|
|
36
|
+
]);
|
|
37
|
+
this.mappableArgs = [
|
|
38
|
+
this.args[0],
|
|
39
|
+
this.args[1],
|
|
40
|
+
this.args[2],
|
|
41
|
+
this.args[3],
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
getAssetsToApprove() {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return [{ asset: getAssetInfo('BOLD Legacy').address, owner: this.args[1] }];
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* LiquityV2PaybackLegacyAction - Pays back BOLD to a trove on first (legacy) LiquityV2 deployment
|
|
5
|
+
*
|
|
6
|
+
* @category LiquityV2
|
|
7
|
+
*/
|
|
8
|
+
export declare class LiquityV2PaybackLegacyAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param market liquity address registry for the market
|
|
11
|
+
* @param from address from which to take the BOLD for payback
|
|
12
|
+
* @param troveId id of the trove to pay back to
|
|
13
|
+
* @param amount BOLD amount to pay back
|
|
14
|
+
*/
|
|
15
|
+
constructor(market: EthAddress, from: EthAddress, troveId: uint256, amount: uint256);
|
|
16
|
+
getAssetsToApprove(): Promise<{
|
|
17
|
+
asset: string;
|
|
18
|
+
owner: any;
|
|
19
|
+
}[]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { getAssetInfo } from '@defisaver/tokens';
|
|
11
|
+
import { Action } from '../../Action';
|
|
12
|
+
import { getAddr } from '../../addresses';
|
|
13
|
+
/**
|
|
14
|
+
* LiquityV2PaybackLegacyAction - Pays back BOLD to a trove on first (legacy) LiquityV2 deployment
|
|
15
|
+
*
|
|
16
|
+
* @category LiquityV2
|
|
17
|
+
*/
|
|
18
|
+
export class LiquityV2PaybackLegacyAction extends Action {
|
|
19
|
+
/**
|
|
20
|
+
* @param market liquity address registry for the market
|
|
21
|
+
* @param from address from which to take the BOLD for payback
|
|
22
|
+
* @param troveId id of the trove to pay back to
|
|
23
|
+
* @param amount BOLD amount to pay back
|
|
24
|
+
*/
|
|
25
|
+
constructor(market, from, troveId, amount) {
|
|
26
|
+
super('LiquityV2PaybackLegacy', getAddr('LiquityV2PaybackLegacy'), [
|
|
27
|
+
'address',
|
|
28
|
+
'address',
|
|
29
|
+
'uint256',
|
|
30
|
+
'uint256',
|
|
31
|
+
], [
|
|
32
|
+
market,
|
|
33
|
+
from,
|
|
34
|
+
troveId,
|
|
35
|
+
amount,
|
|
36
|
+
]);
|
|
37
|
+
this.mappableArgs = [
|
|
38
|
+
this.args[0],
|
|
39
|
+
this.args[1],
|
|
40
|
+
this.args[2],
|
|
41
|
+
this.args[3],
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
getAssetsToApprove() {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return [{ asset: getAssetInfo('BOLD Legacy').address, owner: this.args[1] }];
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -11,3 +11,5 @@ export * from './LiquityV2AdjustAction';
|
|
|
11
11
|
export * from './LiquityV2ClaimAction';
|
|
12
12
|
export * from './LiquityV2AdjustInterestRateAction';
|
|
13
13
|
export * from './LiquityV2AdjustZombieTroveAction';
|
|
14
|
+
export * from './LiquityV2CloseLegacyAction';
|
|
15
|
+
export * from './LiquityV2PaybackLegacyAction';
|
|
@@ -11,3 +11,5 @@ export * from './LiquityV2AdjustAction';
|
|
|
11
11
|
export * from './LiquityV2ClaimAction';
|
|
12
12
|
export * from './LiquityV2AdjustInterestRateAction';
|
|
13
13
|
export * from './LiquityV2AdjustZombieTroveAction';
|
|
14
|
+
export * from './LiquityV2CloseLegacyAction';
|
|
15
|
+
export * from './LiquityV2PaybackLegacyAction';
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -138,6 +138,8 @@ export declare const actionAddresses: {
|
|
|
138
138
|
LiquityClaim: string;
|
|
139
139
|
LiquityRedeem: string;
|
|
140
140
|
LiquityAdjust: string;
|
|
141
|
+
LiquityV2CloseLegacy: string;
|
|
142
|
+
LiquityV2PaybackLegacy: string;
|
|
141
143
|
LiquityV2Open: string;
|
|
142
144
|
LiquityV2Close: string;
|
|
143
145
|
LiquityV2Supply: string;
|
|
@@ -411,6 +413,8 @@ export declare const actionAddresses: {
|
|
|
411
413
|
LiquityClaim?: undefined;
|
|
412
414
|
LiquityRedeem?: undefined;
|
|
413
415
|
LiquityAdjust?: undefined;
|
|
416
|
+
LiquityV2CloseLegacy?: undefined;
|
|
417
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
414
418
|
LiquityV2Open?: undefined;
|
|
415
419
|
LiquityV2Close?: undefined;
|
|
416
420
|
LiquityV2Supply?: undefined;
|
|
@@ -688,6 +692,8 @@ export declare const actionAddresses: {
|
|
|
688
692
|
LiquityClaim?: undefined;
|
|
689
693
|
LiquityRedeem?: undefined;
|
|
690
694
|
LiquityAdjust?: undefined;
|
|
695
|
+
LiquityV2CloseLegacy?: undefined;
|
|
696
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
691
697
|
LiquityV2Open?: undefined;
|
|
692
698
|
LiquityV2Close?: undefined;
|
|
693
699
|
LiquityV2Supply?: undefined;
|
|
@@ -948,6 +954,8 @@ export declare const actionAddresses: {
|
|
|
948
954
|
LiquityClaim?: undefined;
|
|
949
955
|
LiquityRedeem?: undefined;
|
|
950
956
|
LiquityAdjust?: undefined;
|
|
957
|
+
LiquityV2CloseLegacy?: undefined;
|
|
958
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
951
959
|
LiquityV2Open?: undefined;
|
|
952
960
|
LiquityV2Close?: undefined;
|
|
953
961
|
LiquityV2Supply?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -157,20 +157,23 @@ export const actionAddresses = {
|
|
|
157
157
|
LiquityClaim: '0x526735aDcBe5c9059275c5ED2E0574b4a24b875e',
|
|
158
158
|
LiquityRedeem: '0x20B78854658011394C931EF2BF3cEEA2Fe62E7f0',
|
|
159
159
|
LiquityAdjust: '0x0A398f6B97677192A5d5e7Ea8A937383FFf9304c',
|
|
160
|
+
// liquity v2 legacy
|
|
161
|
+
LiquityV2CloseLegacy: '0xBD97F8fCfdb03ca29F0C9baCA7Cb09c5A51E4adE',
|
|
162
|
+
LiquityV2PaybackLegacy: '0x2B51c21a1af1316Af89f0493b2FF5C5D34D4626f',
|
|
160
163
|
// liquity v2
|
|
161
|
-
LiquityV2Open: '
|
|
162
|
-
LiquityV2Close: '
|
|
164
|
+
LiquityV2Open: '0x32491148a6DE3c4D7F8E025721146960373eC5C9',
|
|
165
|
+
LiquityV2Close: '0x4854d11A534224D7bc43455a7084687450020e03',
|
|
163
166
|
LiquityV2Supply: '0x89403Bc80FDb1adbcf4Ea7b6acFB26197E47F2AA',
|
|
164
167
|
LiquityV2Withdraw: '0xDcBd59b7095edC5fd29063873Ec5d62F8BB18E9A',
|
|
165
|
-
LiquityV2Borrow: '
|
|
166
|
-
LiquityV2Payback: '
|
|
168
|
+
LiquityV2Borrow: '0x9198D8bCe49c3E2819653ce350C82Cd009D3E49E',
|
|
169
|
+
LiquityV2Payback: '0x902cebdbF9ed3EC434C2246CDace1c825F0d5110',
|
|
167
170
|
LiquityV2Claim: '0x1b5a0c2573A1692bB183cC5d6f506e108c0599FC',
|
|
168
|
-
LiquityV2Adjust: '
|
|
171
|
+
LiquityV2Adjust: '0x3BbC88f3b75cB898395C9b5AE8D9c2a26744993b',
|
|
169
172
|
LiquityV2AdjustInterestRate: '0x685f0237D8b85B2018278E975a481b0650dE0b54',
|
|
170
|
-
LiquityV2SPDeposit: '
|
|
171
|
-
LiquityV2SPWithdraw: '
|
|
173
|
+
LiquityV2SPDeposit: '0x73FF552646A7D93764Ff8D1F9e7662c422E715ef',
|
|
174
|
+
LiquityV2SPWithdraw: '0x8E8a4213745Ed68b3fce9d1500f563d885D02FDf',
|
|
172
175
|
LiquityV2SPClaimColl: '0x3f783de20C3095bcB999AEA999aF4DF184b6630f',
|
|
173
|
-
LiquityV2AdjustZombieTrove: '
|
|
176
|
+
LiquityV2AdjustZombieTrove: '0x45F5CEe8f89AdBCe4f5B20f38a49402b152ba99e',
|
|
174
177
|
// b.protocol
|
|
175
178
|
BprotocolLiquitySPDeposit: '0x5A0436c7559e37da8cD24B0f66C155a0a2fd6309',
|
|
176
179
|
BprotocolLiquitySPWithdraw: '0x20Ece7CB4463bB1DbA4C4fA800E321A05dfB028B',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -149,6 +149,8 @@ declare const actionAddressesAllChains: {
|
|
|
149
149
|
LiquityClaim: string;
|
|
150
150
|
LiquityRedeem: string;
|
|
151
151
|
LiquityAdjust: string;
|
|
152
|
+
LiquityV2CloseLegacy: string;
|
|
153
|
+
LiquityV2PaybackLegacy: string;
|
|
152
154
|
LiquityV2Open: string;
|
|
153
155
|
LiquityV2Close: string;
|
|
154
156
|
LiquityV2Supply: string;
|
|
@@ -422,6 +424,8 @@ declare const actionAddressesAllChains: {
|
|
|
422
424
|
LiquityClaim?: undefined;
|
|
423
425
|
LiquityRedeem?: undefined;
|
|
424
426
|
LiquityAdjust?: undefined;
|
|
427
|
+
LiquityV2CloseLegacy?: undefined;
|
|
428
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
425
429
|
LiquityV2Open?: undefined;
|
|
426
430
|
LiquityV2Close?: undefined;
|
|
427
431
|
LiquityV2Supply?: undefined;
|
|
@@ -699,6 +703,8 @@ declare const actionAddressesAllChains: {
|
|
|
699
703
|
LiquityClaim?: undefined;
|
|
700
704
|
LiquityRedeem?: undefined;
|
|
701
705
|
LiquityAdjust?: undefined;
|
|
706
|
+
LiquityV2CloseLegacy?: undefined;
|
|
707
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
702
708
|
LiquityV2Open?: undefined;
|
|
703
709
|
LiquityV2Close?: undefined;
|
|
704
710
|
LiquityV2Supply?: undefined;
|
|
@@ -959,6 +965,8 @@ declare const actionAddressesAllChains: {
|
|
|
959
965
|
LiquityClaim?: undefined;
|
|
960
966
|
LiquityRedeem?: undefined;
|
|
961
967
|
LiquityAdjust?: undefined;
|
|
968
|
+
LiquityV2CloseLegacy?: undefined;
|
|
969
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
962
970
|
LiquityV2Open?: undefined;
|
|
963
971
|
LiquityV2Close?: undefined;
|
|
964
972
|
LiquityV2Supply?: undefined;
|
|
@@ -1195,6 +1203,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1195
1203
|
LiquityClaim: string;
|
|
1196
1204
|
LiquityRedeem: string;
|
|
1197
1205
|
LiquityAdjust: string;
|
|
1206
|
+
LiquityV2CloseLegacy: string;
|
|
1207
|
+
LiquityV2PaybackLegacy: string;
|
|
1198
1208
|
LiquityV2Open: string;
|
|
1199
1209
|
LiquityV2Close: string;
|
|
1200
1210
|
LiquityV2Supply: string;
|
|
@@ -1468,6 +1478,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1468
1478
|
LiquityClaim?: undefined;
|
|
1469
1479
|
LiquityRedeem?: undefined;
|
|
1470
1480
|
LiquityAdjust?: undefined;
|
|
1481
|
+
LiquityV2CloseLegacy?: undefined;
|
|
1482
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
1471
1483
|
LiquityV2Open?: undefined;
|
|
1472
1484
|
LiquityV2Close?: undefined;
|
|
1473
1485
|
LiquityV2Supply?: undefined;
|
|
@@ -1745,6 +1757,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1745
1757
|
LiquityClaim?: undefined;
|
|
1746
1758
|
LiquityRedeem?: undefined;
|
|
1747
1759
|
LiquityAdjust?: undefined;
|
|
1760
|
+
LiquityV2CloseLegacy?: undefined;
|
|
1761
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
1748
1762
|
LiquityV2Open?: undefined;
|
|
1749
1763
|
LiquityV2Close?: undefined;
|
|
1750
1764
|
LiquityV2Supply?: undefined;
|
|
@@ -2005,6 +2019,8 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2005
2019
|
LiquityClaim?: undefined;
|
|
2006
2020
|
LiquityRedeem?: undefined;
|
|
2007
2021
|
LiquityAdjust?: undefined;
|
|
2022
|
+
LiquityV2CloseLegacy?: undefined;
|
|
2023
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
2008
2024
|
LiquityV2Open?: undefined;
|
|
2009
2025
|
LiquityV2Close?: undefined;
|
|
2010
2026
|
LiquityV2Supply?: undefined;
|
|
@@ -2384,6 +2400,8 @@ declare const _default: {
|
|
|
2384
2400
|
LiquityClaim: string;
|
|
2385
2401
|
LiquityRedeem: string;
|
|
2386
2402
|
LiquityAdjust: string;
|
|
2403
|
+
LiquityV2CloseLegacy: string;
|
|
2404
|
+
LiquityV2PaybackLegacy: string;
|
|
2387
2405
|
LiquityV2Open: string;
|
|
2388
2406
|
LiquityV2Close: string;
|
|
2389
2407
|
LiquityV2Supply: string;
|
|
@@ -2657,6 +2675,8 @@ declare const _default: {
|
|
|
2657
2675
|
LiquityClaim?: undefined;
|
|
2658
2676
|
LiquityRedeem?: undefined;
|
|
2659
2677
|
LiquityAdjust?: undefined;
|
|
2678
|
+
LiquityV2CloseLegacy?: undefined;
|
|
2679
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
2660
2680
|
LiquityV2Open?: undefined;
|
|
2661
2681
|
LiquityV2Close?: undefined;
|
|
2662
2682
|
LiquityV2Supply?: undefined;
|
|
@@ -2934,6 +2954,8 @@ declare const _default: {
|
|
|
2934
2954
|
LiquityClaim?: undefined;
|
|
2935
2955
|
LiquityRedeem?: undefined;
|
|
2936
2956
|
LiquityAdjust?: undefined;
|
|
2957
|
+
LiquityV2CloseLegacy?: undefined;
|
|
2958
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
2937
2959
|
LiquityV2Open?: undefined;
|
|
2938
2960
|
LiquityV2Close?: undefined;
|
|
2939
2961
|
LiquityV2Supply?: undefined;
|
|
@@ -3194,6 +3216,8 @@ declare const _default: {
|
|
|
3194
3216
|
LiquityClaim?: undefined;
|
|
3195
3217
|
LiquityRedeem?: undefined;
|
|
3196
3218
|
LiquityAdjust?: undefined;
|
|
3219
|
+
LiquityV2CloseLegacy?: undefined;
|
|
3220
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
3197
3221
|
LiquityV2Open?: undefined;
|
|
3198
3222
|
LiquityV2Close?: undefined;
|
|
3199
3223
|
LiquityV2Supply?: undefined;
|
|
@@ -3430,6 +3454,8 @@ declare const _default: {
|
|
|
3430
3454
|
LiquityClaim: string;
|
|
3431
3455
|
LiquityRedeem: string;
|
|
3432
3456
|
LiquityAdjust: string;
|
|
3457
|
+
LiquityV2CloseLegacy: string;
|
|
3458
|
+
LiquityV2PaybackLegacy: string;
|
|
3433
3459
|
LiquityV2Open: string;
|
|
3434
3460
|
LiquityV2Close: string;
|
|
3435
3461
|
LiquityV2Supply: string;
|
|
@@ -3703,6 +3729,8 @@ declare const _default: {
|
|
|
3703
3729
|
LiquityClaim?: undefined;
|
|
3704
3730
|
LiquityRedeem?: undefined;
|
|
3705
3731
|
LiquityAdjust?: undefined;
|
|
3732
|
+
LiquityV2CloseLegacy?: undefined;
|
|
3733
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
3706
3734
|
LiquityV2Open?: undefined;
|
|
3707
3735
|
LiquityV2Close?: undefined;
|
|
3708
3736
|
LiquityV2Supply?: undefined;
|
|
@@ -3980,6 +4008,8 @@ declare const _default: {
|
|
|
3980
4008
|
LiquityClaim?: undefined;
|
|
3981
4009
|
LiquityRedeem?: undefined;
|
|
3982
4010
|
LiquityAdjust?: undefined;
|
|
4011
|
+
LiquityV2CloseLegacy?: undefined;
|
|
4012
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
3983
4013
|
LiquityV2Open?: undefined;
|
|
3984
4014
|
LiquityV2Close?: undefined;
|
|
3985
4015
|
LiquityV2Supply?: undefined;
|
|
@@ -4240,6 +4270,8 @@ declare const _default: {
|
|
|
4240
4270
|
LiquityClaim?: undefined;
|
|
4241
4271
|
LiquityRedeem?: undefined;
|
|
4242
4272
|
LiquityAdjust?: undefined;
|
|
4273
|
+
LiquityV2CloseLegacy?: undefined;
|
|
4274
|
+
LiquityV2PaybackLegacy?: undefined;
|
|
4243
4275
|
LiquityV2Open?: undefined;
|
|
4244
4276
|
LiquityV2Close?: undefined;
|
|
4245
4277
|
LiquityV2Supply?: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defisaver/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.28",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./umd/index.js",
|
|
6
6
|
"module": "./esm/src/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@defisaver/eslint-config": "^1.0.0",
|
|
26
|
-
"@defisaver/tokens": "^1.6.
|
|
26
|
+
"@defisaver/tokens": "^1.6.5",
|
|
27
27
|
"@ethersproject/address": "^5.0.10",
|
|
28
28
|
"@ethersproject/solidity": "^5.0.9",
|
|
29
29
|
"@types/web3-eth-abi": "^1.2.2",
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { getAssetInfo } from '@defisaver/tokens';
|
|
2
|
+
import { Action } from '../../Action';
|
|
3
|
+
import { getAddr } from '../../addresses';
|
|
4
|
+
import { EthAddress } from '../../types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* LiquityV2CloseLegacyAction - Closes trove on first (legacy) LiquityV2 deployment
|
|
8
|
+
*
|
|
9
|
+
* @category LiquityV2
|
|
10
|
+
*/
|
|
11
|
+
export class LiquityV2CloseLegacyAction extends Action {
|
|
12
|
+
/**
|
|
13
|
+
* @param market liquity address registry for the market
|
|
14
|
+
* @param from address from which to take the BOLD
|
|
15
|
+
* @param to address to which to send the collateralToken and WETH gas compensation
|
|
16
|
+
* @param troveId id of the trove to close
|
|
17
|
+
*/
|
|
18
|
+
constructor(
|
|
19
|
+
market: EthAddress,
|
|
20
|
+
from: EthAddress,
|
|
21
|
+
to: EthAddress,
|
|
22
|
+
troveId: string,
|
|
23
|
+
) {
|
|
24
|
+
super(
|
|
25
|
+
'LiquityV2CloseLegacy',
|
|
26
|
+
getAddr('LiquityV2CloseLegacy'),
|
|
27
|
+
[
|
|
28
|
+
'address',
|
|
29
|
+
'address',
|
|
30
|
+
'address',
|
|
31
|
+
'uint256',
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
market,
|
|
35
|
+
from,
|
|
36
|
+
to,
|
|
37
|
+
troveId,
|
|
38
|
+
],
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
this.mappableArgs = [
|
|
42
|
+
this.args[0],
|
|
43
|
+
this.args[1],
|
|
44
|
+
this.args[2],
|
|
45
|
+
this.args[3],
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async getAssetsToApprove() {
|
|
50
|
+
return [{ asset: getAssetInfo('BOLD Legacy').address, owner: this.args[1] }];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { getAssetInfo } from '@defisaver/tokens';
|
|
2
|
+
import { Action } from '../../Action';
|
|
3
|
+
import { getAddr } from '../../addresses';
|
|
4
|
+
import { EthAddress, uint256 } from '../../types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* LiquityV2PaybackLegacyAction - Pays back BOLD to a trove on first (legacy) LiquityV2 deployment
|
|
8
|
+
*
|
|
9
|
+
* @category LiquityV2
|
|
10
|
+
*/
|
|
11
|
+
export class LiquityV2PaybackLegacyAction extends Action {
|
|
12
|
+
/**
|
|
13
|
+
* @param market liquity address registry for the market
|
|
14
|
+
* @param from address from which to take the BOLD for payback
|
|
15
|
+
* @param troveId id of the trove to pay back to
|
|
16
|
+
* @param amount BOLD amount to pay back
|
|
17
|
+
*/
|
|
18
|
+
constructor(
|
|
19
|
+
market: EthAddress,
|
|
20
|
+
from: EthAddress,
|
|
21
|
+
troveId: uint256,
|
|
22
|
+
amount: uint256,
|
|
23
|
+
) {
|
|
24
|
+
super(
|
|
25
|
+
'LiquityV2PaybackLegacy',
|
|
26
|
+
getAddr('LiquityV2PaybackLegacy'),
|
|
27
|
+
[
|
|
28
|
+
'address',
|
|
29
|
+
'address',
|
|
30
|
+
'uint256',
|
|
31
|
+
'uint256',
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
market,
|
|
35
|
+
from,
|
|
36
|
+
troveId,
|
|
37
|
+
amount,
|
|
38
|
+
],
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
this.mappableArgs = [
|
|
42
|
+
this.args[0],
|
|
43
|
+
this.args[1],
|
|
44
|
+
this.args[2],
|
|
45
|
+
this.args[3],
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async getAssetsToApprove() {
|
|
50
|
+
return [{ asset: getAssetInfo('BOLD Legacy').address, owner: this.args[1] }];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -10,4 +10,6 @@ export * from './LiquityV2SPClaimCollAction';
|
|
|
10
10
|
export * from './LiquityV2AdjustAction';
|
|
11
11
|
export * from './LiquityV2ClaimAction';
|
|
12
12
|
export * from './LiquityV2AdjustInterestRateAction';
|
|
13
|
-
export * from './LiquityV2AdjustZombieTroveAction';
|
|
13
|
+
export * from './LiquityV2AdjustZombieTroveAction';
|
|
14
|
+
export * from './LiquityV2CloseLegacyAction';
|
|
15
|
+
export * from './LiquityV2PaybackLegacyAction';
|
package/src/addresses.ts
CHANGED
|
@@ -176,20 +176,23 @@ export const actionAddresses = {
|
|
|
176
176
|
LiquityRedeem: '0x20B78854658011394C931EF2BF3cEEA2Fe62E7f0',
|
|
177
177
|
LiquityAdjust: '0x0A398f6B97677192A5d5e7Ea8A937383FFf9304c',
|
|
178
178
|
|
|
179
|
+
// liquity v2 legacy
|
|
180
|
+
LiquityV2CloseLegacy: '0xBD97F8fCfdb03ca29F0C9baCA7Cb09c5A51E4adE',
|
|
181
|
+
LiquityV2PaybackLegacy: '0x2B51c21a1af1316Af89f0493b2FF5C5D34D4626f',
|
|
179
182
|
// liquity v2
|
|
180
|
-
LiquityV2Open: '
|
|
181
|
-
LiquityV2Close: '
|
|
183
|
+
LiquityV2Open: '0x32491148a6DE3c4D7F8E025721146960373eC5C9',
|
|
184
|
+
LiquityV2Close: '0x4854d11A534224D7bc43455a7084687450020e03',
|
|
182
185
|
LiquityV2Supply: '0x89403Bc80FDb1adbcf4Ea7b6acFB26197E47F2AA',
|
|
183
186
|
LiquityV2Withdraw: '0xDcBd59b7095edC5fd29063873Ec5d62F8BB18E9A',
|
|
184
|
-
LiquityV2Borrow: '
|
|
185
|
-
LiquityV2Payback: '
|
|
187
|
+
LiquityV2Borrow: '0x9198D8bCe49c3E2819653ce350C82Cd009D3E49E',
|
|
188
|
+
LiquityV2Payback: '0x902cebdbF9ed3EC434C2246CDace1c825F0d5110',
|
|
186
189
|
LiquityV2Claim: '0x1b5a0c2573A1692bB183cC5d6f506e108c0599FC',
|
|
187
|
-
LiquityV2Adjust: '
|
|
190
|
+
LiquityV2Adjust: '0x3BbC88f3b75cB898395C9b5AE8D9c2a26744993b',
|
|
188
191
|
LiquityV2AdjustInterestRate: '0x685f0237D8b85B2018278E975a481b0650dE0b54',
|
|
189
|
-
LiquityV2SPDeposit: '
|
|
190
|
-
LiquityV2SPWithdraw: '
|
|
192
|
+
LiquityV2SPDeposit: '0x73FF552646A7D93764Ff8D1F9e7662c422E715ef',
|
|
193
|
+
LiquityV2SPWithdraw: '0x8E8a4213745Ed68b3fce9d1500f563d885D02FDf',
|
|
191
194
|
LiquityV2SPClaimColl: '0x3f783de20C3095bcB999AEA999aF4DF184b6630f',
|
|
192
|
-
LiquityV2AdjustZombieTrove: '
|
|
195
|
+
LiquityV2AdjustZombieTrove: '0x45F5CEe8f89AdBCe4f5B20f38a49402b152ba99e',
|
|
193
196
|
|
|
194
197
|
// b.protocol
|
|
195
198
|
BprotocolLiquitySPDeposit: '0x5A0436c7559e37da8cD24B0f66C155a0a2fd6309',
|
package/umd/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["defisaver-sdk"] = factory(require("web3-eth-abi"), require("web3-utils"), require("decimal.js"), require("@defisaver/tokens"), require("@ethersproject/solidity"), require("@ethersproject/address"), require("axios"));
|
|
8
8
|
else
|
|
9
9
|
root["defisaver-sdk"] = factory(root["web3-eth-abi"], root["web3-utils"], root["decimal.js"], root["@defisaver/tokens"], root["@ethersproject/solidity"], root["@ethersproject/address"], root["axios"]);
|
|
10
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__, __WEBPACK_EXTERNAL_MODULE__412__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -1446,20 +1446,23 @@ var actionAddresses = {
|
|
|
1446
1446
|
LiquityClaim: '0x526735aDcBe5c9059275c5ED2E0574b4a24b875e',
|
|
1447
1447
|
LiquityRedeem: '0x20B78854658011394C931EF2BF3cEEA2Fe62E7f0',
|
|
1448
1448
|
LiquityAdjust: '0x0A398f6B97677192A5d5e7Ea8A937383FFf9304c',
|
|
1449
|
+
// liquity v2 legacy
|
|
1450
|
+
LiquityV2CloseLegacy: '0xBD97F8fCfdb03ca29F0C9baCA7Cb09c5A51E4adE',
|
|
1451
|
+
LiquityV2PaybackLegacy: '0x2B51c21a1af1316Af89f0493b2FF5C5D34D4626f',
|
|
1449
1452
|
// liquity v2
|
|
1450
|
-
LiquityV2Open: '
|
|
1451
|
-
LiquityV2Close: '
|
|
1453
|
+
LiquityV2Open: '0x32491148a6DE3c4D7F8E025721146960373eC5C9',
|
|
1454
|
+
LiquityV2Close: '0x4854d11A534224D7bc43455a7084687450020e03',
|
|
1452
1455
|
LiquityV2Supply: '0x89403Bc80FDb1adbcf4Ea7b6acFB26197E47F2AA',
|
|
1453
1456
|
LiquityV2Withdraw: '0xDcBd59b7095edC5fd29063873Ec5d62F8BB18E9A',
|
|
1454
|
-
LiquityV2Borrow: '
|
|
1455
|
-
LiquityV2Payback: '
|
|
1457
|
+
LiquityV2Borrow: '0x9198D8bCe49c3E2819653ce350C82Cd009D3E49E',
|
|
1458
|
+
LiquityV2Payback: '0x902cebdbF9ed3EC434C2246CDace1c825F0d5110',
|
|
1456
1459
|
LiquityV2Claim: '0x1b5a0c2573A1692bB183cC5d6f506e108c0599FC',
|
|
1457
|
-
LiquityV2Adjust: '
|
|
1460
|
+
LiquityV2Adjust: '0x3BbC88f3b75cB898395C9b5AE8D9c2a26744993b',
|
|
1458
1461
|
LiquityV2AdjustInterestRate: '0x685f0237D8b85B2018278E975a481b0650dE0b54',
|
|
1459
|
-
LiquityV2SPDeposit: '
|
|
1460
|
-
LiquityV2SPWithdraw: '
|
|
1462
|
+
LiquityV2SPDeposit: '0x73FF552646A7D93764Ff8D1F9e7662c422E715ef',
|
|
1463
|
+
LiquityV2SPWithdraw: '0x8E8a4213745Ed68b3fce9d1500f563d885D02FDf',
|
|
1461
1464
|
LiquityV2SPClaimColl: '0x3f783de20C3095bcB999AEA999aF4DF184b6630f',
|
|
1462
|
-
LiquityV2AdjustZombieTrove: '
|
|
1465
|
+
LiquityV2AdjustZombieTrove: '0x45F5CEe8f89AdBCe4f5B20f38a49402b152ba99e',
|
|
1463
1466
|
// b.protocol
|
|
1464
1467
|
BprotocolLiquitySPDeposit: '0x5A0436c7559e37da8cD24B0f66C155a0a2fd6309',
|
|
1465
1468
|
BprotocolLiquitySPWithdraw: '0x20Ece7CB4463bB1DbA4C4fA800E321A05dfB028B',
|
|
@@ -2179,10 +2182,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2179
2182
|
/* harmony import */ var _eulerV2__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(335);
|
|
2180
2183
|
/* harmony import */ var _sky__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(344);
|
|
2181
2184
|
/* harmony import */ var _liquityV2__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(348);
|
|
2182
|
-
/* harmony import */ var _stkgho__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
|
|
2183
|
-
/* harmony import */ var _renzo__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
|
|
2184
|
-
/* harmony import */ var _etherfi__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
|
|
2185
|
-
/* harmony import */ var _fluid__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
|
|
2185
|
+
/* harmony import */ var _stkgho__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(364);
|
|
2186
|
+
/* harmony import */ var _renzo__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(368);
|
|
2187
|
+
/* harmony import */ var _etherfi__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(370);
|
|
2188
|
+
/* harmony import */ var _fluid__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(374);
|
|
2186
2189
|
|
|
2187
2190
|
|
|
2188
2191
|
|
|
@@ -14070,8 +14073,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14070
14073
|
/* harmony export */ LiquityV2BorrowAction: () => (/* reexport safe */ _LiquityV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__.LiquityV2BorrowAction),
|
|
14071
14074
|
/* harmony export */ LiquityV2ClaimAction: () => (/* reexport safe */ _LiquityV2ClaimAction__WEBPACK_IMPORTED_MODULE_10__.LiquityV2ClaimAction),
|
|
14072
14075
|
/* harmony export */ LiquityV2CloseAction: () => (/* reexport safe */ _LiquityV2CloseAction__WEBPACK_IMPORTED_MODULE_1__.LiquityV2CloseAction),
|
|
14076
|
+
/* harmony export */ LiquityV2CloseLegacyAction: () => (/* reexport safe */ _LiquityV2CloseLegacyAction__WEBPACK_IMPORTED_MODULE_13__.LiquityV2CloseLegacyAction),
|
|
14073
14077
|
/* harmony export */ LiquityV2OpenAction: () => (/* reexport safe */ _LiquityV2OpenAction__WEBPACK_IMPORTED_MODULE_0__.LiquityV2OpenAction),
|
|
14074
14078
|
/* harmony export */ LiquityV2PaybackAction: () => (/* reexport safe */ _LiquityV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__.LiquityV2PaybackAction),
|
|
14079
|
+
/* harmony export */ LiquityV2PaybackLegacyAction: () => (/* reexport safe */ _LiquityV2PaybackLegacyAction__WEBPACK_IMPORTED_MODULE_14__.LiquityV2PaybackLegacyAction),
|
|
14075
14080
|
/* harmony export */ LiquityV2SPClaimCollAction: () => (/* reexport safe */ _LiquityV2SPClaimCollAction__WEBPACK_IMPORTED_MODULE_8__.LiquityV2SPClaimCollAction),
|
|
14076
14081
|
/* harmony export */ LiquityV2SPDepositAction: () => (/* reexport safe */ _LiquityV2SPDepositAction__WEBPACK_IMPORTED_MODULE_6__.LiquityV2SPDepositAction),
|
|
14077
14082
|
/* harmony export */ LiquityV2SPWithdrawAction: () => (/* reexport safe */ _LiquityV2SPWithdrawAction__WEBPACK_IMPORTED_MODULE_7__.LiquityV2SPWithdrawAction),
|
|
@@ -14091,6 +14096,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14091
14096
|
/* harmony import */ var _LiquityV2ClaimAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(359);
|
|
14092
14097
|
/* harmony import */ var _LiquityV2AdjustInterestRateAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(360);
|
|
14093
14098
|
/* harmony import */ var _LiquityV2AdjustZombieTroveAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(361);
|
|
14099
|
+
/* harmony import */ var _LiquityV2CloseLegacyAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(362);
|
|
14100
|
+
/* harmony import */ var _LiquityV2PaybackLegacyAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(363);
|
|
14101
|
+
|
|
14102
|
+
|
|
14094
14103
|
|
|
14095
14104
|
|
|
14096
14105
|
|
|
@@ -14609,21 +14618,109 @@ class LiquityV2AdjustZombieTroveAction extends _Action__WEBPACK_IMPORTED_MODULE_
|
|
|
14609
14618
|
/* 362 */
|
|
14610
14619
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14611
14620
|
|
|
14621
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14622
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14623
|
+
/* harmony export */ LiquityV2CloseLegacyAction: () => (/* binding */ LiquityV2CloseLegacyAction)
|
|
14624
|
+
/* harmony export */ });
|
|
14625
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
|
|
14626
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
14627
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
14628
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
14629
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
14630
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
14631
|
+
|
|
14632
|
+
|
|
14633
|
+
|
|
14634
|
+
/**
|
|
14635
|
+
* LiquityV2CloseLegacyAction - Closes trove on first (legacy) LiquityV2 deployment
|
|
14636
|
+
*
|
|
14637
|
+
* @category LiquityV2
|
|
14638
|
+
*/
|
|
14639
|
+
class LiquityV2CloseLegacyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
14640
|
+
/**
|
|
14641
|
+
* @param market liquity address registry for the market
|
|
14642
|
+
* @param from address from which to take the BOLD
|
|
14643
|
+
* @param to address to which to send the collateralToken and WETH gas compensation
|
|
14644
|
+
* @param troveId id of the trove to close
|
|
14645
|
+
*/
|
|
14646
|
+
constructor(market, from, to, troveId) {
|
|
14647
|
+
super('LiquityV2CloseLegacy', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('LiquityV2CloseLegacy'), ['address', 'address', 'address', 'uint256'], [market, from, to, troveId]);
|
|
14648
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3]];
|
|
14649
|
+
}
|
|
14650
|
+
getAssetsToApprove() {
|
|
14651
|
+
var _this = this;
|
|
14652
|
+
return _asyncToGenerator(function* () {
|
|
14653
|
+
return [{
|
|
14654
|
+
asset: (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfo)('BOLD Legacy').address,
|
|
14655
|
+
owner: _this.args[1]
|
|
14656
|
+
}];
|
|
14657
|
+
})();
|
|
14658
|
+
}
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
/***/ }),
|
|
14662
|
+
/* 363 */
|
|
14663
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14664
|
+
|
|
14665
|
+
__webpack_require__.r(__webpack_exports__);
|
|
14666
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14667
|
+
/* harmony export */ LiquityV2PaybackLegacyAction: () => (/* binding */ LiquityV2PaybackLegacyAction)
|
|
14668
|
+
/* harmony export */ });
|
|
14669
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
|
|
14670
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
14671
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
14672
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
14673
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
14674
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
14675
|
+
|
|
14676
|
+
|
|
14677
|
+
|
|
14678
|
+
/**
|
|
14679
|
+
* LiquityV2PaybackLegacyAction - Pays back BOLD to a trove on first (legacy) LiquityV2 deployment
|
|
14680
|
+
*
|
|
14681
|
+
* @category LiquityV2
|
|
14682
|
+
*/
|
|
14683
|
+
class LiquityV2PaybackLegacyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
14684
|
+
/**
|
|
14685
|
+
* @param market liquity address registry for the market
|
|
14686
|
+
* @param from address from which to take the BOLD for payback
|
|
14687
|
+
* @param troveId id of the trove to pay back to
|
|
14688
|
+
* @param amount BOLD amount to pay back
|
|
14689
|
+
*/
|
|
14690
|
+
constructor(market, from, troveId, amount) {
|
|
14691
|
+
super('LiquityV2PaybackLegacy', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('LiquityV2PaybackLegacy'), ['address', 'address', 'uint256', 'uint256'], [market, from, troveId, amount]);
|
|
14692
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3]];
|
|
14693
|
+
}
|
|
14694
|
+
getAssetsToApprove() {
|
|
14695
|
+
var _this = this;
|
|
14696
|
+
return _asyncToGenerator(function* () {
|
|
14697
|
+
return [{
|
|
14698
|
+
asset: (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfo)('BOLD Legacy').address,
|
|
14699
|
+
owner: _this.args[1]
|
|
14700
|
+
}];
|
|
14701
|
+
})();
|
|
14702
|
+
}
|
|
14703
|
+
}
|
|
14704
|
+
|
|
14705
|
+
/***/ }),
|
|
14706
|
+
/* 364 */
|
|
14707
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14708
|
+
|
|
14612
14709
|
__webpack_require__.r(__webpack_exports__);
|
|
14613
14710
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14614
14711
|
/* harmony export */ GhoClaimAAVEAction: () => (/* reexport safe */ _GhoClaimAAVEAction__WEBPACK_IMPORTED_MODULE_0__.GhoClaimAAVEAction),
|
|
14615
14712
|
/* harmony export */ GhoFinalizeUnstakeAction: () => (/* reexport safe */ _GhoFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_1__.GhoFinalizeUnstakeAction),
|
|
14616
14713
|
/* harmony export */ GhoStartUnstakeAction: () => (/* reexport safe */ _GhoStartUnstakeAction__WEBPACK_IMPORTED_MODULE_2__.GhoStartUnstakeAction)
|
|
14617
14714
|
/* harmony export */ });
|
|
14618
|
-
/* harmony import */ var _GhoClaimAAVEAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14619
|
-
/* harmony import */ var _GhoFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
14620
|
-
/* harmony import */ var _GhoStartUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
14715
|
+
/* harmony import */ var _GhoClaimAAVEAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(365);
|
|
14716
|
+
/* harmony import */ var _GhoFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(366);
|
|
14717
|
+
/* harmony import */ var _GhoStartUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(367);
|
|
14621
14718
|
|
|
14622
14719
|
|
|
14623
14720
|
|
|
14624
14721
|
|
|
14625
14722
|
/***/ }),
|
|
14626
|
-
/*
|
|
14723
|
+
/* 365 */
|
|
14627
14724
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14628
14725
|
|
|
14629
14726
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14654,7 +14751,7 @@ class GhoClaimAAVEAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
14654
14751
|
}
|
|
14655
14752
|
|
|
14656
14753
|
/***/ }),
|
|
14657
|
-
/*
|
|
14754
|
+
/* 366 */
|
|
14658
14755
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14659
14756
|
|
|
14660
14757
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14685,7 +14782,7 @@ class GhoFinalizeUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
14685
14782
|
}
|
|
14686
14783
|
|
|
14687
14784
|
/***/ }),
|
|
14688
|
-
/*
|
|
14785
|
+
/* 367 */
|
|
14689
14786
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14690
14787
|
|
|
14691
14788
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14709,18 +14806,18 @@ class GhoStartUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
14709
14806
|
}
|
|
14710
14807
|
|
|
14711
14808
|
/***/ }),
|
|
14712
|
-
/*
|
|
14809
|
+
/* 368 */
|
|
14713
14810
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14714
14811
|
|
|
14715
14812
|
__webpack_require__.r(__webpack_exports__);
|
|
14716
14813
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14717
14814
|
/* harmony export */ RenzoStakeAction: () => (/* reexport safe */ _RenzoStakeAction__WEBPACK_IMPORTED_MODULE_0__.RenzoStakeAction)
|
|
14718
14815
|
/* harmony export */ });
|
|
14719
|
-
/* harmony import */ var _RenzoStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14816
|
+
/* harmony import */ var _RenzoStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(369);
|
|
14720
14817
|
|
|
14721
14818
|
|
|
14722
14819
|
/***/ }),
|
|
14723
|
-
/*
|
|
14820
|
+
/* 369 */
|
|
14724
14821
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14725
14822
|
|
|
14726
14823
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14767,7 +14864,7 @@ class RenzoStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
14767
14864
|
}
|
|
14768
14865
|
|
|
14769
14866
|
/***/ }),
|
|
14770
|
-
/*
|
|
14867
|
+
/* 370 */
|
|
14771
14868
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14772
14869
|
|
|
14773
14870
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14776,15 +14873,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14776
14873
|
/* harmony export */ EtherFiUnwrapAction: () => (/* reexport safe */ _EtherFiUnwrapAction__WEBPACK_IMPORTED_MODULE_2__.EtherFiUnwrapAction),
|
|
14777
14874
|
/* harmony export */ EtherFiWrapAction: () => (/* reexport safe */ _EtherFiWrapAction__WEBPACK_IMPORTED_MODULE_1__.EtherFiWrapAction)
|
|
14778
14875
|
/* harmony export */ });
|
|
14779
|
-
/* harmony import */ var _EtherFiStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14780
|
-
/* harmony import */ var _EtherFiWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
14781
|
-
/* harmony import */ var _EtherFiUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
14876
|
+
/* harmony import */ var _EtherFiStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(371);
|
|
14877
|
+
/* harmony import */ var _EtherFiWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(372);
|
|
14878
|
+
/* harmony import */ var _EtherFiUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(373);
|
|
14782
14879
|
|
|
14783
14880
|
|
|
14784
14881
|
|
|
14785
14882
|
|
|
14786
14883
|
/***/ }),
|
|
14787
|
-
/*
|
|
14884
|
+
/* 371 */
|
|
14788
14885
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14789
14886
|
|
|
14790
14887
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14832,7 +14929,7 @@ class EtherFiStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
14832
14929
|
}
|
|
14833
14930
|
|
|
14834
14931
|
/***/ }),
|
|
14835
|
-
/*
|
|
14932
|
+
/* 372 */
|
|
14836
14933
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14837
14934
|
|
|
14838
14935
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14879,7 +14976,7 @@ class EtherFiWrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
14879
14976
|
}
|
|
14880
14977
|
|
|
14881
14978
|
/***/ }),
|
|
14882
|
-
/*
|
|
14979
|
+
/* 373 */
|
|
14883
14980
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14884
14981
|
|
|
14885
14982
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14926,7 +15023,7 @@ class EtherFiUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
14926
15023
|
}
|
|
14927
15024
|
|
|
14928
15025
|
/***/ }),
|
|
14929
|
-
/*
|
|
15026
|
+
/* 374 */
|
|
14930
15027
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14931
15028
|
|
|
14932
15029
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14939,13 +15036,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14939
15036
|
/* harmony export */ FluidVaultT1SupplyAction: () => (/* reexport safe */ _FluidVaultT1SupplyAction__WEBPACK_IMPORTED_MODULE_4__.FluidVaultT1SupplyAction),
|
|
14940
15037
|
/* harmony export */ FluidVaultT1WithdrawAction: () => (/* reexport safe */ _FluidVaultT1WithdrawAction__WEBPACK_IMPORTED_MODULE_5__.FluidVaultT1WithdrawAction)
|
|
14941
15038
|
/* harmony export */ });
|
|
14942
|
-
/* harmony import */ var _FluidVaultT1OpenAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14943
|
-
/* harmony import */ var _FluidVaultT1AdjustAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
14944
|
-
/* harmony import */ var _FluidVaultT1BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
14945
|
-
/* harmony import */ var _FluidVaultT1PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
14946
|
-
/* harmony import */ var _FluidVaultT1SupplyAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
14947
|
-
/* harmony import */ var _FluidVaultT1WithdrawAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
14948
|
-
/* harmony import */ var _FluidClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
15039
|
+
/* harmony import */ var _FluidVaultT1OpenAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(375);
|
|
15040
|
+
/* harmony import */ var _FluidVaultT1AdjustAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(376);
|
|
15041
|
+
/* harmony import */ var _FluidVaultT1BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(377);
|
|
15042
|
+
/* harmony import */ var _FluidVaultT1PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(378);
|
|
15043
|
+
/* harmony import */ var _FluidVaultT1SupplyAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(379);
|
|
15044
|
+
/* harmony import */ var _FluidVaultT1WithdrawAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(380);
|
|
15045
|
+
/* harmony import */ var _FluidClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(381);
|
|
14949
15046
|
|
|
14950
15047
|
|
|
14951
15048
|
|
|
@@ -14955,7 +15052,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14955
15052
|
|
|
14956
15053
|
|
|
14957
15054
|
/***/ }),
|
|
14958
|
-
/*
|
|
15055
|
+
/* 375 */
|
|
14959
15056
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14960
15057
|
|
|
14961
15058
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15009,7 +15106,7 @@ class FluidVaultT1OpenAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
15009
15106
|
}
|
|
15010
15107
|
|
|
15011
15108
|
/***/ }),
|
|
15012
|
-
/*
|
|
15109
|
+
/* 376 */
|
|
15013
15110
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15014
15111
|
|
|
15015
15112
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15044,7 +15141,7 @@ class FluidVaultT1AdjustAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
15044
15141
|
}
|
|
15045
15142
|
|
|
15046
15143
|
/***/ }),
|
|
15047
|
-
/*
|
|
15144
|
+
/* 377 */
|
|
15048
15145
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15049
15146
|
|
|
15050
15147
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15075,7 +15172,7 @@ class FluidVaultT1BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
15075
15172
|
}
|
|
15076
15173
|
|
|
15077
15174
|
/***/ }),
|
|
15078
|
-
/*
|
|
15175
|
+
/* 378 */
|
|
15079
15176
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15080
15177
|
|
|
15081
15178
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15127,7 +15224,7 @@ class FluidVaultT1PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
15127
15224
|
}
|
|
15128
15225
|
|
|
15129
15226
|
/***/ }),
|
|
15130
|
-
/*
|
|
15227
|
+
/* 379 */
|
|
15131
15228
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15132
15229
|
|
|
15133
15230
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15179,7 +15276,7 @@ class FluidVaultT1SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
15179
15276
|
}
|
|
15180
15277
|
|
|
15181
15278
|
/***/ }),
|
|
15182
|
-
/*
|
|
15279
|
+
/* 380 */
|
|
15183
15280
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15184
15281
|
|
|
15185
15282
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15210,7 +15307,7 @@ class FluidVaultT1WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
15210
15307
|
}
|
|
15211
15308
|
|
|
15212
15309
|
/***/ }),
|
|
15213
|
-
/*
|
|
15310
|
+
/* 381 */
|
|
15214
15311
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15215
15312
|
|
|
15216
15313
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15255,7 +15352,7 @@ class FluidClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15255
15352
|
}
|
|
15256
15353
|
|
|
15257
15354
|
/***/ }),
|
|
15258
|
-
/*
|
|
15355
|
+
/* 382 */
|
|
15259
15356
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15260
15357
|
|
|
15261
15358
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15288,33 +15385,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15288
15385
|
/* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
15289
15386
|
/* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
15290
15387
|
/* harmony export */ });
|
|
15291
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
15292
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
15293
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
15294
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
15295
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
15296
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
15297
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
15298
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
15299
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
15300
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
15301
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
15302
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
15303
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
15304
|
-
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
15305
|
-
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
15306
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
15307
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
15308
|
-
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
15309
|
-
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
15310
|
-
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
15311
|
-
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
15312
|
-
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
15313
|
-
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
15314
|
-
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
|
|
15315
|
-
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
|
15316
|
-
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
|
|
15317
|
-
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
|
|
15388
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(383);
|
|
15389
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(384);
|
|
15390
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(385);
|
|
15391
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(386);
|
|
15392
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(387);
|
|
15393
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(388);
|
|
15394
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(389);
|
|
15395
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(390);
|
|
15396
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(391);
|
|
15397
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(392);
|
|
15398
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(393);
|
|
15399
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(394);
|
|
15400
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(395);
|
|
15401
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(396);
|
|
15402
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(397);
|
|
15403
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(398);
|
|
15404
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(399);
|
|
15405
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(400);
|
|
15406
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(401);
|
|
15407
|
+
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(402);
|
|
15408
|
+
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(403);
|
|
15409
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(404);
|
|
15410
|
+
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(405);
|
|
15411
|
+
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(406);
|
|
15412
|
+
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(407);
|
|
15413
|
+
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(408);
|
|
15414
|
+
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(409);
|
|
15318
15415
|
|
|
15319
15416
|
|
|
15320
15417
|
|
|
@@ -15344,7 +15441,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15344
15441
|
|
|
15345
15442
|
|
|
15346
15443
|
/***/ }),
|
|
15347
|
-
/*
|
|
15444
|
+
/* 383 */
|
|
15348
15445
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15349
15446
|
|
|
15350
15447
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15367,7 +15464,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15367
15464
|
}
|
|
15368
15465
|
|
|
15369
15466
|
/***/ }),
|
|
15370
|
-
/*
|
|
15467
|
+
/* 384 */
|
|
15371
15468
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15372
15469
|
|
|
15373
15470
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15390,7 +15487,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15390
15487
|
}
|
|
15391
15488
|
|
|
15392
15489
|
/***/ }),
|
|
15393
|
-
/*
|
|
15490
|
+
/* 385 */
|
|
15394
15491
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15395
15492
|
|
|
15396
15493
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15413,7 +15510,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
15413
15510
|
}
|
|
15414
15511
|
|
|
15415
15512
|
/***/ }),
|
|
15416
|
-
/*
|
|
15513
|
+
/* 386 */
|
|
15417
15514
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15418
15515
|
|
|
15419
15516
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15436,7 +15533,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15436
15533
|
}
|
|
15437
15534
|
|
|
15438
15535
|
/***/ }),
|
|
15439
|
-
/*
|
|
15536
|
+
/* 387 */
|
|
15440
15537
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15441
15538
|
|
|
15442
15539
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15459,7 +15556,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15459
15556
|
}
|
|
15460
15557
|
|
|
15461
15558
|
/***/ }),
|
|
15462
|
-
/*
|
|
15559
|
+
/* 388 */
|
|
15463
15560
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15464
15561
|
|
|
15465
15562
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15482,7 +15579,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15482
15579
|
}
|
|
15483
15580
|
|
|
15484
15581
|
/***/ }),
|
|
15485
|
-
/*
|
|
15582
|
+
/* 389 */
|
|
15486
15583
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15487
15584
|
|
|
15488
15585
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15505,7 +15602,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15505
15602
|
}
|
|
15506
15603
|
|
|
15507
15604
|
/***/ }),
|
|
15508
|
-
/*
|
|
15605
|
+
/* 390 */
|
|
15509
15606
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15510
15607
|
|
|
15511
15608
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15528,7 +15625,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15528
15625
|
}
|
|
15529
15626
|
|
|
15530
15627
|
/***/ }),
|
|
15531
|
-
/*
|
|
15628
|
+
/* 391 */
|
|
15532
15629
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15533
15630
|
|
|
15534
15631
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15551,7 +15648,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15551
15648
|
}
|
|
15552
15649
|
|
|
15553
15650
|
/***/ }),
|
|
15554
|
-
/*
|
|
15651
|
+
/* 392 */
|
|
15555
15652
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15556
15653
|
|
|
15557
15654
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15574,7 +15671,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15574
15671
|
}
|
|
15575
15672
|
|
|
15576
15673
|
/***/ }),
|
|
15577
|
-
/*
|
|
15674
|
+
/* 393 */
|
|
15578
15675
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15579
15676
|
|
|
15580
15677
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15597,7 +15694,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15597
15694
|
}
|
|
15598
15695
|
|
|
15599
15696
|
/***/ }),
|
|
15600
|
-
/*
|
|
15697
|
+
/* 394 */
|
|
15601
15698
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15602
15699
|
|
|
15603
15700
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15620,7 +15717,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15620
15717
|
}
|
|
15621
15718
|
|
|
15622
15719
|
/***/ }),
|
|
15623
|
-
/*
|
|
15720
|
+
/* 395 */
|
|
15624
15721
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15625
15722
|
|
|
15626
15723
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15643,7 +15740,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
15643
15740
|
}
|
|
15644
15741
|
|
|
15645
15742
|
/***/ }),
|
|
15646
|
-
/*
|
|
15743
|
+
/* 396 */
|
|
15647
15744
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15648
15745
|
|
|
15649
15746
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15666,7 +15763,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15666
15763
|
}
|
|
15667
15764
|
|
|
15668
15765
|
/***/ }),
|
|
15669
|
-
/*
|
|
15766
|
+
/* 397 */
|
|
15670
15767
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15671
15768
|
|
|
15672
15769
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15689,7 +15786,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
15689
15786
|
}
|
|
15690
15787
|
|
|
15691
15788
|
/***/ }),
|
|
15692
|
-
/*
|
|
15789
|
+
/* 398 */
|
|
15693
15790
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15694
15791
|
|
|
15695
15792
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15712,7 +15809,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15712
15809
|
}
|
|
15713
15810
|
|
|
15714
15811
|
/***/ }),
|
|
15715
|
-
/*
|
|
15812
|
+
/* 399 */
|
|
15716
15813
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15717
15814
|
|
|
15718
15815
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15735,7 +15832,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15735
15832
|
}
|
|
15736
15833
|
|
|
15737
15834
|
/***/ }),
|
|
15738
|
-
/*
|
|
15835
|
+
/* 400 */
|
|
15739
15836
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15740
15837
|
|
|
15741
15838
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15758,7 +15855,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
15758
15855
|
}
|
|
15759
15856
|
|
|
15760
15857
|
/***/ }),
|
|
15761
|
-
/*
|
|
15858
|
+
/* 401 */
|
|
15762
15859
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15763
15860
|
|
|
15764
15861
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15781,7 +15878,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
15781
15878
|
}
|
|
15782
15879
|
|
|
15783
15880
|
/***/ }),
|
|
15784
|
-
/*
|
|
15881
|
+
/* 402 */
|
|
15785
15882
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15786
15883
|
|
|
15787
15884
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15804,7 +15901,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
15804
15901
|
}
|
|
15805
15902
|
|
|
15806
15903
|
/***/ }),
|
|
15807
|
-
/*
|
|
15904
|
+
/* 403 */
|
|
15808
15905
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15809
15906
|
|
|
15810
15907
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15827,7 +15924,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15827
15924
|
}
|
|
15828
15925
|
|
|
15829
15926
|
/***/ }),
|
|
15830
|
-
/*
|
|
15927
|
+
/* 404 */
|
|
15831
15928
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15832
15929
|
|
|
15833
15930
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15850,7 +15947,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15850
15947
|
}
|
|
15851
15948
|
|
|
15852
15949
|
/***/ }),
|
|
15853
|
-
/*
|
|
15950
|
+
/* 405 */
|
|
15854
15951
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15855
15952
|
|
|
15856
15953
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15879,7 +15976,7 @@ class MorphoBluePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15879
15976
|
}
|
|
15880
15977
|
|
|
15881
15978
|
/***/ }),
|
|
15882
|
-
/*
|
|
15979
|
+
/* 406 */
|
|
15883
15980
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15884
15981
|
|
|
15885
15982
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15900,7 +15997,7 @@ class LiquityV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15900
15997
|
}
|
|
15901
15998
|
|
|
15902
15999
|
/***/ }),
|
|
15903
|
-
/*
|
|
16000
|
+
/* 407 */
|
|
15904
16001
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15905
16002
|
|
|
15906
16003
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15923,7 +16020,7 @@ class ClosePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15923
16020
|
}
|
|
15924
16021
|
|
|
15925
16022
|
/***/ }),
|
|
15926
|
-
/*
|
|
16023
|
+
/* 408 */
|
|
15927
16024
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15928
16025
|
|
|
15929
16026
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15944,7 +16041,7 @@ class LiquityV2QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
15944
16041
|
}
|
|
15945
16042
|
|
|
15946
16043
|
/***/ }),
|
|
15947
|
-
/*
|
|
16044
|
+
/* 409 */
|
|
15948
16045
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15949
16046
|
|
|
15950
16047
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15967,7 +16064,7 @@ class FluidRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15967
16064
|
}
|
|
15968
16065
|
|
|
15969
16066
|
/***/ }),
|
|
15970
|
-
/*
|
|
16067
|
+
/* 410 */
|
|
15971
16068
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15972
16069
|
|
|
15973
16070
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15981,9 +16078,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15981
16078
|
/* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
15982
16079
|
/* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
15983
16080
|
/* harmony export */ });
|
|
15984
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
16081
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(411);
|
|
15985
16082
|
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(137);
|
|
15986
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
16083
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(413);
|
|
15987
16084
|
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(242);
|
|
15988
16085
|
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(222);
|
|
15989
16086
|
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(208);
|
|
@@ -16000,7 +16097,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16000
16097
|
|
|
16001
16098
|
|
|
16002
16099
|
/***/ }),
|
|
16003
|
-
/*
|
|
16100
|
+
/* 411 */
|
|
16004
16101
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16005
16102
|
|
|
16006
16103
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16011,7 +16108,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16011
16108
|
/* harmony export */ });
|
|
16012
16109
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
16013
16110
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
16014
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
16111
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(412);
|
|
16015
16112
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
16016
16113
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
16017
16114
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -16213,20 +16310,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
16213
16310
|
}();
|
|
16214
16311
|
|
|
16215
16312
|
/***/ }),
|
|
16216
|
-
/*
|
|
16313
|
+
/* 412 */
|
|
16217
16314
|
/***/ ((module) => {
|
|
16218
16315
|
|
|
16219
|
-
module.exports =
|
|
16316
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__412__;
|
|
16220
16317
|
|
|
16221
16318
|
/***/ }),
|
|
16222
|
-
/*
|
|
16319
|
+
/* 413 */
|
|
16223
16320
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16224
16321
|
|
|
16225
16322
|
__webpack_require__.r(__webpack_exports__);
|
|
16226
16323
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16227
16324
|
/* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
|
|
16228
16325
|
/* harmony export */ });
|
|
16229
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
16326
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(414);
|
|
16230
16327
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
16231
16328
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
16232
16329
|
/**
|
|
@@ -16251,7 +16348,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
16251
16348
|
}();
|
|
16252
16349
|
|
|
16253
16350
|
/***/ }),
|
|
16254
|
-
/*
|
|
16351
|
+
/* 414 */
|
|
16255
16352
|
/***/ ((module) => {
|
|
16256
16353
|
|
|
16257
16354
|
module.exports = /*#__PURE__*/JSON.parse('[{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"positions","outputs":[{"name":"nonce","type":"uint96"},{"name":"operator","type":"address"},{"name":"token0","type":"address"},{"name":"token1","type":"address"},{"name":"fee","type":"uint24"},{"name":"tickLower","type":"int24"},{"name":"tickUpper","type":"int24"},{"name":"liquidity","type":"uint128"},{"name":"feeGrowthInside0LastX128","type":"uint256"},{"name":"feeGrowthInside1LastX128","type":"uint256"},{"name":"tokensOwed0","type":"uint128"},{"name":"tokensOwed1","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"}]');
|
|
@@ -16355,8 +16452,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16355
16452
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
16356
16453
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
16357
16454
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
16358
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
16359
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
16455
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(382);
|
|
16456
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(410);
|
|
16360
16457
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
16361
16458
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
16362
16459
|
/* Export types here */
|