@defisaver/sdk 1.2.9-dev-morpho → 1.2.9-dev-ether-fi
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/etherfi/EtherFiStakeAction.d.ts +20 -0
- package/esm/src/actions/etherfi/EtherFiStakeAction.js +41 -0
- package/esm/src/actions/etherfi/EtherFiUnwrapAction.d.ts +19 -0
- package/esm/src/actions/etherfi/EtherFiUnwrapAction.js +39 -0
- package/esm/src/actions/etherfi/EtherFiWrapAction.d.ts +19 -0
- package/esm/src/actions/etherfi/EtherFiWrapAction.js +39 -0
- package/esm/src/actions/etherfi/index.d.ts +3 -0
- package/esm/src/actions/etherfi/index.js +3 -0
- package/esm/src/actions/index.d.ts +2 -1
- package/esm/src/actions/index.js +2 -1
- package/esm/src/actions/morpho-blue/index.d.ts +0 -1
- package/esm/src/actions/morpho-blue/index.js +0 -1
- package/esm/src/addresses.d.ts +12 -4
- package/esm/src/addresses.js +5 -2
- package/esm/src/index.d.ts +48 -16
- package/package.json +1 -1
- package/src/actions/etherfi/EtherFiStakeAction.ts +38 -0
- package/src/actions/etherfi/EtherFiUnwrapAction.ts +31 -0
- package/src/actions/etherfi/EtherFiWrapAction.ts +36 -0
- package/src/actions/etherfi/index.ts +3 -0
- package/src/actions/index.ts +2 -0
- package/src/actions/morpho-blue/index.ts +1 -2
- package/src/addresses.ts +6 -2
- package/test/actions/etherFi/EtherFiStakeAction.js +66 -0
- package/test/actions/etherFi/EtherFiUnwrapAction.js +35 -0
- package/test/actions/etherFi/EtherFiWrapAction.js +35 -0
- package/umd/index.js +287 -153
- package/esm/src/actions/morpho-blue/MorphoTokenWrapAction.d.ts +0 -14
- package/esm/src/actions/morpho-blue/MorphoTokenWrapAction.js +0 -20
- package/src/actions/morpho-blue/MorphoTokenWrapAction.ts +0 -23
- package/test/actions/morpho-blue/MorphoTokenWrapAction.js +0 -37
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__134__, __WEBPACK_EXTERNAL_MODULE__135__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__134__, __WEBPACK_EXTERNAL_MODULE__135__, __WEBPACK_EXTERNAL_MODULE__367__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -1369,7 +1369,7 @@ var actionAddresses = {
|
|
|
1369
1369
|
LSVBorrow: '0x7dFB434527Fdb39854156cDBa9bF4799E36E7e82',
|
|
1370
1370
|
LSVSupply: '0x984c00DC098c98bed1CDfe2Ed786Fe1443da6671',
|
|
1371
1371
|
LSVPayback: '0x10749CE97583dBcEb54a083386CC8438C4e0FE65',
|
|
1372
|
-
LSVSell: '
|
|
1372
|
+
LSVSell: '0x10B748Dc504C2515Bb6A9e23CB2F686090b6c584',
|
|
1373
1373
|
// morpho aave v2
|
|
1374
1374
|
MorphoAaveV2Borrow: '0xa85C3E41Bf9F75a381927e1Aa9b00f77C4631109',
|
|
1375
1375
|
MorphoAaveV2Payback: '0x5dd0E0835acbb08aa4A4599d70fB2d93969fa7b7',
|
|
@@ -1523,7 +1523,6 @@ var actionAddresses = {
|
|
|
1523
1523
|
MorphoBluePayback: '0x9f437E5F705E02d77adC2e72C34926978776b085',
|
|
1524
1524
|
MorphoBlueSetAuth: '0xf30935e20c6357c7bcecd5e58ad6de26d54b9f64',
|
|
1525
1525
|
MorphoBlueSetAuthWithSig: '0xE2d5fCDBf73BAd24A0FCAf6B2733933A98021808',
|
|
1526
|
-
MorphoTokenWrap: '0x0000000000000000000000000000000000000000',
|
|
1527
1526
|
// llamalend
|
|
1528
1527
|
LlamaLendCreate: '0x4349be191ea63173eD98b7fC1b0DeC1ef9Bc6c11',
|
|
1529
1528
|
LlamaLendSupply: '0x1900eF943bD1b038c58d9F35C3825F119F9BB730',
|
|
@@ -1543,7 +1542,11 @@ var actionAddresses = {
|
|
|
1543
1542
|
EulerV2Payback: '0x738b1df6b6962D8795Bda5bc5EFCd8b0B8c74d01',
|
|
1544
1543
|
EulerV2CollateralSwitch: '0x38950b50Fb38aC19D06e8CE5AAE632D6dF1EEb1a',
|
|
1545
1544
|
EulerV2View: '0x8932E46Ecf96b5Fe033F5e27Ab6dC755Cb668967',
|
|
1546
|
-
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5'
|
|
1545
|
+
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
1546
|
+
// etherFi
|
|
1547
|
+
EtherFiStake: '0x8D9cDA62DC7Bf75f687c6C8729ABB51ac82E20d5',
|
|
1548
|
+
EtherFiWrap: '0x2b10B000292745099Deb15304A247c0816bd8b73',
|
|
1549
|
+
EtherFiUnwrap: '0xDd5F7bf1009Edc3EE55AfcD70D417968bf4647C6'
|
|
1547
1550
|
},
|
|
1548
1551
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1549
1552
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -2047,6 +2050,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2047
2050
|
/* harmony export */ curve: () => (/* reexport module object */ _curve__WEBPACK_IMPORTED_MODULE_15__),
|
|
2048
2051
|
/* harmony export */ curveusd: () => (/* reexport module object */ _curveusd__WEBPACK_IMPORTED_MODULE_26__),
|
|
2049
2052
|
/* harmony export */ dydx: () => (/* reexport module object */ _dydx__WEBPACK_IMPORTED_MODULE_7__),
|
|
2053
|
+
/* harmony export */ etherfi: () => (/* reexport module object */ _etherfi__WEBPACK_IMPORTED_MODULE_34__),
|
|
2050
2054
|
/* harmony export */ eulerV2: () => (/* reexport module object */ _eulerV2__WEBPACK_IMPORTED_MODULE_31__),
|
|
2051
2055
|
/* harmony export */ flashloan: () => (/* reexport module object */ _flashloan__WEBPACK_IMPORTED_MODULE_4__),
|
|
2052
2056
|
/* harmony export */ guni: () => (/* reexport module object */ _guni__WEBPACK_IMPORTED_MODULE_16__),
|
|
@@ -2098,11 +2102,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2098
2102
|
/* harmony import */ var _curveusd__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(273);
|
|
2099
2103
|
/* harmony import */ var _spark__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(286);
|
|
2100
2104
|
/* harmony import */ var _morpho_blue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(298);
|
|
2101
|
-
/* harmony import */ var _llamalend__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
|
|
2102
|
-
/* harmony import */ var _merkl__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
|
|
2103
|
-
/* harmony import */ var _eulerV2__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
|
|
2104
|
-
/* harmony import */ var _sky__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
|
|
2105
|
-
/* harmony import */ var _stkgho__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
|
|
2105
|
+
/* harmony import */ var _llamalend__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(307);
|
|
2106
|
+
/* harmony import */ var _merkl__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(319);
|
|
2107
|
+
/* harmony import */ var _eulerV2__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(321);
|
|
2108
|
+
/* harmony import */ var _sky__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(330);
|
|
2109
|
+
/* harmony import */ var _stkgho__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(334);
|
|
2110
|
+
/* harmony import */ var _etherfi__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(338);
|
|
2111
|
+
|
|
2106
2112
|
|
|
2107
2113
|
|
|
2108
2114
|
|
|
@@ -12267,8 +12273,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12267
12273
|
/* harmony export */ MorphoBlueSupplyAction: () => (/* reexport safe */ _MorphoBlueSupplyAction__WEBPACK_IMPORTED_MODULE_0__.MorphoBlueSupplyAction),
|
|
12268
12274
|
/* harmony export */ MorphoBlueSupplyCollateralAction: () => (/* reexport safe */ _MorphoBlueSupplyCollateralAction__WEBPACK_IMPORTED_MODULE_1__.MorphoBlueSupplyCollateralAction),
|
|
12269
12275
|
/* harmony export */ MorphoBlueWithdrawAction: () => (/* reexport safe */ _MorphoBlueWithdrawAction__WEBPACK_IMPORTED_MODULE_5__.MorphoBlueWithdrawAction),
|
|
12270
|
-
/* harmony export */ MorphoBlueWithdrawCollateralAction: () => (/* reexport safe */ _MorphoBlueWithdrawCollateralAction__WEBPACK_IMPORTED_MODULE_4__.MorphoBlueWithdrawCollateralAction)
|
|
12271
|
-
/* harmony export */ MorphoTokenWrapAction: () => (/* reexport safe */ _MorphoTokenWrapAction__WEBPACK_IMPORTED_MODULE_8__.MorphoTokenWrapAction)
|
|
12276
|
+
/* harmony export */ MorphoBlueWithdrawCollateralAction: () => (/* reexport safe */ _MorphoBlueWithdrawCollateralAction__WEBPACK_IMPORTED_MODULE_4__.MorphoBlueWithdrawCollateralAction)
|
|
12272
12277
|
/* harmony export */ });
|
|
12273
12278
|
/* harmony import */ var _MorphoBlueSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(299);
|
|
12274
12279
|
/* harmony import */ var _MorphoBlueSupplyCollateralAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(300);
|
|
@@ -12278,8 +12283,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12278
12283
|
/* harmony import */ var _MorphoBlueWithdrawAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(304);
|
|
12279
12284
|
/* harmony import */ var _MorphoBlueSetAuthAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(305);
|
|
12280
12285
|
/* harmony import */ var _MorphoBlueSetAuthWithSigAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(306);
|
|
12281
|
-
/* harmony import */ var _MorphoTokenWrapAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(307);
|
|
12282
|
-
|
|
12283
12286
|
|
|
12284
12287
|
|
|
12285
12288
|
|
|
@@ -12603,34 +12606,6 @@ class MorphoBlueSetAuthWithSigAction extends _Action__WEBPACK_IMPORTED_MODULE_0_
|
|
|
12603
12606
|
/* 307 */
|
|
12604
12607
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12605
12608
|
|
|
12606
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12607
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12608
|
-
/* harmony export */ MorphoTokenWrapAction: () => (/* binding */ MorphoTokenWrapAction)
|
|
12609
|
-
/* harmony export */ });
|
|
12610
|
-
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12611
|
-
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
/**
|
|
12615
|
-
* MorphoTokenWrapAction - Wraps Legacy MORPHO token on wallet to new Wrapped MORPHO token
|
|
12616
|
-
*
|
|
12617
|
-
* @category Morpho
|
|
12618
|
-
*/
|
|
12619
|
-
class MorphoTokenWrapAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12620
|
-
/**
|
|
12621
|
-
* @param to - The address to which to send the new Wrapped MORPHO tokens
|
|
12622
|
-
* @param amount - The amount of Legacy MORPHO tokens to wrap, if type(uint256).max wraps whole wallet balance
|
|
12623
|
-
*/
|
|
12624
|
-
constructor(to, amount) {
|
|
12625
|
-
super('MorphoTokenWrap', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoTokenWrap'), ['address', 'uint256'], [to, amount]);
|
|
12626
|
-
this.mappableArgs = [this.args[0], this.args[1]];
|
|
12627
|
-
}
|
|
12628
|
-
}
|
|
12629
|
-
|
|
12630
|
-
/***/ }),
|
|
12631
|
-
/* 308 */
|
|
12632
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12633
|
-
|
|
12634
12609
|
__webpack_require__.r(__webpack_exports__);
|
|
12635
12610
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12636
12611
|
/* harmony export */ LlamaLendBoostAction: () => (/* reexport safe */ _LlamaLendBoostAction__WEBPACK_IMPORTED_MODULE_8__.LlamaLendBoostAction),
|
|
@@ -12645,17 +12620,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12645
12620
|
/* harmony export */ LlamaLendSupplyAction: () => (/* reexport safe */ _LlamaLendSupplyAction__WEBPACK_IMPORTED_MODULE_2__.LlamaLendSupplyAction),
|
|
12646
12621
|
/* harmony export */ LlamaLendWithdrawAction: () => (/* reexport safe */ _LlamaLendWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.LlamaLendWithdrawAction)
|
|
12647
12622
|
/* harmony export */ });
|
|
12648
|
-
/* harmony import */ var _LlamaLendBorrowAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
12649
|
-
/* harmony import */ var _LlamaLendWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
12650
|
-
/* harmony import */ var _LlamaLendSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
12651
|
-
/* harmony import */ var _LlamaLendCreateAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
12652
|
-
/* harmony import */ var _LlamaLendPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
12653
|
-
/* harmony import */ var _LlamaLendSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
12654
|
-
/* harmony import */ var _LlamaLendGetDebtAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
12655
|
-
/* harmony import */ var _LlamaLendLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
12656
|
-
/* harmony import */ var _LlamaLendBoostAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
12657
|
-
/* harmony import */ var _LlamaLendRepayAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
12658
|
-
/* harmony import */ var _LlamaLendSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
12623
|
+
/* harmony import */ var _LlamaLendBorrowAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(308);
|
|
12624
|
+
/* harmony import */ var _LlamaLendWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(309);
|
|
12625
|
+
/* harmony import */ var _LlamaLendSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(310);
|
|
12626
|
+
/* harmony import */ var _LlamaLendCreateAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(311);
|
|
12627
|
+
/* harmony import */ var _LlamaLendPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(312);
|
|
12628
|
+
/* harmony import */ var _LlamaLendSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(313);
|
|
12629
|
+
/* harmony import */ var _LlamaLendGetDebtAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(314);
|
|
12630
|
+
/* harmony import */ var _LlamaLendLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(315);
|
|
12631
|
+
/* harmony import */ var _LlamaLendBoostAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(316);
|
|
12632
|
+
/* harmony import */ var _LlamaLendRepayAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(317);
|
|
12633
|
+
/* harmony import */ var _LlamaLendSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(318);
|
|
12659
12634
|
|
|
12660
12635
|
|
|
12661
12636
|
|
|
@@ -12669,7 +12644,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12669
12644
|
|
|
12670
12645
|
|
|
12671
12646
|
/***/ }),
|
|
12672
|
-
/*
|
|
12647
|
+
/* 308 */
|
|
12673
12648
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12674
12649
|
|
|
12675
12650
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12700,7 +12675,7 @@ class LlamaLendBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12700
12675
|
}
|
|
12701
12676
|
|
|
12702
12677
|
/***/ }),
|
|
12703
|
-
/*
|
|
12678
|
+
/* 309 */
|
|
12704
12679
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12705
12680
|
|
|
12706
12681
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12731,7 +12706,7 @@ class LlamaLendWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
12731
12706
|
}
|
|
12732
12707
|
|
|
12733
12708
|
/***/ }),
|
|
12734
|
-
/*
|
|
12709
|
+
/* 310 */
|
|
12735
12710
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12736
12711
|
|
|
12737
12712
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12773,7 +12748,7 @@ class LlamaLendSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12773
12748
|
}
|
|
12774
12749
|
|
|
12775
12750
|
/***/ }),
|
|
12776
|
-
/*
|
|
12751
|
+
/* 311 */
|
|
12777
12752
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12778
12753
|
|
|
12779
12754
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12820,7 +12795,7 @@ class LlamaLendCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12820
12795
|
}
|
|
12821
12796
|
|
|
12822
12797
|
/***/ }),
|
|
12823
|
-
/*
|
|
12798
|
+
/* 312 */
|
|
12824
12799
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12825
12800
|
|
|
12826
12801
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12857,7 +12832,7 @@ class LlamaLendPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12857
12832
|
}
|
|
12858
12833
|
|
|
12859
12834
|
/***/ }),
|
|
12860
|
-
/*
|
|
12835
|
+
/* 313 */
|
|
12861
12836
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12862
12837
|
|
|
12863
12838
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12897,7 +12872,7 @@ class LlamaLendSelfLiquidateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
12897
12872
|
}
|
|
12898
12873
|
|
|
12899
12874
|
/***/ }),
|
|
12900
|
-
/*
|
|
12875
|
+
/* 314 */
|
|
12901
12876
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12902
12877
|
|
|
12903
12878
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12918,7 +12893,7 @@ class LlamaLendGetDebtAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12918
12893
|
}
|
|
12919
12894
|
|
|
12920
12895
|
/***/ }),
|
|
12921
|
-
/*
|
|
12896
|
+
/* 315 */
|
|
12922
12897
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12923
12898
|
|
|
12924
12899
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12951,7 +12926,7 @@ class LlamaLendLevCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
12951
12926
|
}
|
|
12952
12927
|
|
|
12953
12928
|
/***/ }),
|
|
12954
|
-
/*
|
|
12929
|
+
/* 316 */
|
|
12955
12930
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12956
12931
|
|
|
12957
12932
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12973,7 +12948,7 @@ class LlamaLendBoostAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12973
12948
|
}
|
|
12974
12949
|
|
|
12975
12950
|
/***/ }),
|
|
12976
|
-
/*
|
|
12951
|
+
/* 317 */
|
|
12977
12952
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12978
12953
|
|
|
12979
12954
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12995,7 +12970,7 @@ class LlamaLendRepayAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12995
12970
|
}
|
|
12996
12971
|
|
|
12997
12972
|
/***/ }),
|
|
12998
|
-
/*
|
|
12973
|
+
/* 318 */
|
|
12999
12974
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13000
12975
|
|
|
13001
12976
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13017,18 +12992,18 @@ class LlamaLendSelfLiquidateWithCollAction extends _Action__WEBPACK_IMPORTED_MOD
|
|
|
13017
12992
|
}
|
|
13018
12993
|
|
|
13019
12994
|
/***/ }),
|
|
13020
|
-
/*
|
|
12995
|
+
/* 319 */
|
|
13021
12996
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13022
12997
|
|
|
13023
12998
|
__webpack_require__.r(__webpack_exports__);
|
|
13024
12999
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13025
13000
|
/* harmony export */ MerklClaimAction: () => (/* reexport safe */ _MerklClaimAction__WEBPACK_IMPORTED_MODULE_0__.MerklClaimAction)
|
|
13026
13001
|
/* harmony export */ });
|
|
13027
|
-
/* harmony import */ var _MerklClaimAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13002
|
+
/* harmony import */ var _MerklClaimAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(320);
|
|
13028
13003
|
|
|
13029
13004
|
|
|
13030
13005
|
/***/ }),
|
|
13031
|
-
/*
|
|
13006
|
+
/* 320 */
|
|
13032
13007
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13033
13008
|
|
|
13034
13009
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13060,7 +13035,7 @@ class MerklClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13060
13035
|
}
|
|
13061
13036
|
|
|
13062
13037
|
/***/ }),
|
|
13063
|
-
/*
|
|
13038
|
+
/* 321 */
|
|
13064
13039
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13065
13040
|
|
|
13066
13041
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13074,14 +13049,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13074
13049
|
/* harmony export */ EulerV2SupplyAction: () => (/* reexport safe */ _EulerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__.EulerV2SupplyAction),
|
|
13075
13050
|
/* harmony export */ EulerV2WithdrawAction: () => (/* reexport safe */ _EulerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__.EulerV2WithdrawAction)
|
|
13076
13051
|
/* harmony export */ });
|
|
13077
|
-
/* harmony import */ var _EulerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13078
|
-
/* harmony import */ var _EulerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13079
|
-
/* harmony import */ var _EulerV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
13080
|
-
/* harmony import */ var _EulerV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
13081
|
-
/* harmony import */ var _EulerV2PaybackWithSharesAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
13082
|
-
/* harmony import */ var _EulerV2PullDebtAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
13083
|
-
/* harmony import */ var _EulerV2ReorderCollateralsAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
13084
|
-
/* harmony import */ var _EulerV2CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
13052
|
+
/* harmony import */ var _EulerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(322);
|
|
13053
|
+
/* harmony import */ var _EulerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(323);
|
|
13054
|
+
/* harmony import */ var _EulerV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(324);
|
|
13055
|
+
/* harmony import */ var _EulerV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(325);
|
|
13056
|
+
/* harmony import */ var _EulerV2PaybackWithSharesAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(326);
|
|
13057
|
+
/* harmony import */ var _EulerV2PullDebtAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(327);
|
|
13058
|
+
/* harmony import */ var _EulerV2ReorderCollateralsAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(328);
|
|
13059
|
+
/* harmony import */ var _EulerV2CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(329);
|
|
13085
13060
|
|
|
13086
13061
|
|
|
13087
13062
|
|
|
@@ -13092,7 +13067,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13092
13067
|
|
|
13093
13068
|
|
|
13094
13069
|
/***/ }),
|
|
13095
|
-
/*
|
|
13070
|
+
/* 322 */
|
|
13096
13071
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13097
13072
|
|
|
13098
13073
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13140,7 +13115,7 @@ class EulerV2SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13140
13115
|
}
|
|
13141
13116
|
|
|
13142
13117
|
/***/ }),
|
|
13143
|
-
/*
|
|
13118
|
+
/* 323 */
|
|
13144
13119
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13145
13120
|
|
|
13146
13121
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13170,7 +13145,7 @@ class EulerV2WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
13170
13145
|
}
|
|
13171
13146
|
|
|
13172
13147
|
/***/ }),
|
|
13173
|
-
/*
|
|
13148
|
+
/* 324 */
|
|
13174
13149
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13175
13150
|
|
|
13176
13151
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13200,7 +13175,7 @@ class EulerV2BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13200
13175
|
}
|
|
13201
13176
|
|
|
13202
13177
|
/***/ }),
|
|
13203
|
-
/*
|
|
13178
|
+
/* 325 */
|
|
13204
13179
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13205
13180
|
|
|
13206
13181
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13247,7 +13222,7 @@ class EulerV2PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13247
13222
|
}
|
|
13248
13223
|
|
|
13249
13224
|
/***/ }),
|
|
13250
|
-
/*
|
|
13225
|
+
/* 326 */
|
|
13251
13226
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13252
13227
|
|
|
13253
13228
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13277,7 +13252,7 @@ class EulerV2PaybackWithSharesAction extends _Action__WEBPACK_IMPORTED_MODULE_0_
|
|
|
13277
13252
|
}
|
|
13278
13253
|
|
|
13279
13254
|
/***/ }),
|
|
13280
|
-
/*
|
|
13255
|
+
/* 327 */
|
|
13281
13256
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13282
13257
|
|
|
13283
13258
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13307,7 +13282,7 @@ class EulerV2PullDebtAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
13307
13282
|
}
|
|
13308
13283
|
|
|
13309
13284
|
/***/ }),
|
|
13310
|
-
/*
|
|
13285
|
+
/* 328 */
|
|
13311
13286
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13312
13287
|
|
|
13313
13288
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13335,7 +13310,7 @@ class EulerV2ReorderCollateralsAction extends _Action__WEBPACK_IMPORTED_MODULE_0
|
|
|
13335
13310
|
}
|
|
13336
13311
|
|
|
13337
13312
|
/***/ }),
|
|
13338
|
-
/*
|
|
13313
|
+
/* 329 */
|
|
13339
13314
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13340
13315
|
|
|
13341
13316
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13364,7 +13339,7 @@ class EulerV2CollateralSwitchAction extends _Action__WEBPACK_IMPORTED_MODULE_0__
|
|
|
13364
13339
|
}
|
|
13365
13340
|
|
|
13366
13341
|
/***/ }),
|
|
13367
|
-
/*
|
|
13342
|
+
/* 330 */
|
|
13368
13343
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13369
13344
|
|
|
13370
13345
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13373,15 +13348,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13373
13348
|
/* harmony export */ SkyStakeAction: () => (/* reexport safe */ _SkyStakeAction__WEBPACK_IMPORTED_MODULE_1__.SkyStakeAction),
|
|
13374
13349
|
/* harmony export */ SkyUnstakeAction: () => (/* reexport safe */ _SkyUnstakeAction__WEBPACK_IMPORTED_MODULE_2__.SkyUnstakeAction)
|
|
13375
13350
|
/* harmony export */ });
|
|
13376
|
-
/* harmony import */ var _SkyClaimRewardsAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13377
|
-
/* harmony import */ var _SkyStakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13378
|
-
/* harmony import */ var _SkyUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
13351
|
+
/* harmony import */ var _SkyClaimRewardsAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(331);
|
|
13352
|
+
/* harmony import */ var _SkyStakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(332);
|
|
13353
|
+
/* harmony import */ var _SkyUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(333);
|
|
13379
13354
|
|
|
13380
13355
|
|
|
13381
13356
|
|
|
13382
13357
|
|
|
13383
13358
|
/***/ }),
|
|
13384
|
-
/*
|
|
13359
|
+
/* 331 */
|
|
13385
13360
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13386
13361
|
|
|
13387
13362
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13411,7 +13386,7 @@ class SkyClaimRewardsAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
13411
13386
|
}
|
|
13412
13387
|
|
|
13413
13388
|
/***/ }),
|
|
13414
|
-
/*
|
|
13389
|
+
/* 332 */
|
|
13415
13390
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13416
13391
|
|
|
13417
13392
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13453,7 +13428,7 @@ class SkyStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13453
13428
|
}
|
|
13454
13429
|
|
|
13455
13430
|
/***/ }),
|
|
13456
|
-
/*
|
|
13431
|
+
/* 333 */
|
|
13457
13432
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13458
13433
|
|
|
13459
13434
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13484,7 +13459,7 @@ class SkyUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13484
13459
|
}
|
|
13485
13460
|
|
|
13486
13461
|
/***/ }),
|
|
13487
|
-
/*
|
|
13462
|
+
/* 334 */
|
|
13488
13463
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13489
13464
|
|
|
13490
13465
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13493,15 +13468,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13493
13468
|
/* harmony export */ GhoFinalizeUnstakeAction: () => (/* reexport safe */ _GhoFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_1__.GhoFinalizeUnstakeAction),
|
|
13494
13469
|
/* harmony export */ GhoStartUnstakeAction: () => (/* reexport safe */ _GhoStartUnstakeAction__WEBPACK_IMPORTED_MODULE_2__.GhoStartUnstakeAction)
|
|
13495
13470
|
/* harmony export */ });
|
|
13496
|
-
/* harmony import */ var _GhoClaimAAVEAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13497
|
-
/* harmony import */ var _GhoFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13498
|
-
/* harmony import */ var _GhoStartUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
13471
|
+
/* harmony import */ var _GhoClaimAAVEAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(335);
|
|
13472
|
+
/* harmony import */ var _GhoFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(336);
|
|
13473
|
+
/* harmony import */ var _GhoStartUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(337);
|
|
13499
13474
|
|
|
13500
13475
|
|
|
13501
13476
|
|
|
13502
13477
|
|
|
13503
13478
|
/***/ }),
|
|
13504
|
-
/*
|
|
13479
|
+
/* 335 */
|
|
13505
13480
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13506
13481
|
|
|
13507
13482
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13532,7 +13507,7 @@ class GhoClaimAAVEAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13532
13507
|
}
|
|
13533
13508
|
|
|
13534
13509
|
/***/ }),
|
|
13535
|
-
/*
|
|
13510
|
+
/* 336 */
|
|
13536
13511
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13537
13512
|
|
|
13538
13513
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13563,7 +13538,7 @@ class GhoFinalizeUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
13563
13538
|
}
|
|
13564
13539
|
|
|
13565
13540
|
/***/ }),
|
|
13566
|
-
/*
|
|
13541
|
+
/* 337 */
|
|
13567
13542
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13568
13543
|
|
|
13569
13544
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13586,10 +13561,169 @@ class GhoStartUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
13586
13561
|
}
|
|
13587
13562
|
}
|
|
13588
13563
|
|
|
13564
|
+
/***/ }),
|
|
13565
|
+
/* 338 */
|
|
13566
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13567
|
+
|
|
13568
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13569
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13570
|
+
/* harmony export */ EtherFiStakeAction: () => (/* reexport safe */ _EtherFiStakeAction__WEBPACK_IMPORTED_MODULE_0__.EtherFiStakeAction),
|
|
13571
|
+
/* harmony export */ EtherFiUnwrapAction: () => (/* reexport safe */ _EtherFiUnwrapAction__WEBPACK_IMPORTED_MODULE_2__.EtherFiUnwrapAction),
|
|
13572
|
+
/* harmony export */ EtherFiWrapAction: () => (/* reexport safe */ _EtherFiWrapAction__WEBPACK_IMPORTED_MODULE_1__.EtherFiWrapAction)
|
|
13573
|
+
/* harmony export */ });
|
|
13574
|
+
/* harmony import */ var _EtherFiStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(339);
|
|
13575
|
+
/* harmony import */ var _EtherFiWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(340);
|
|
13576
|
+
/* harmony import */ var _EtherFiUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(341);
|
|
13577
|
+
|
|
13578
|
+
|
|
13579
|
+
|
|
13580
|
+
|
|
13589
13581
|
/***/ }),
|
|
13590
13582
|
/* 339 */
|
|
13591
13583
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13592
13584
|
|
|
13585
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13586
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13587
|
+
/* harmony export */ EtherFiStakeAction: () => (/* binding */ EtherFiStakeAction)
|
|
13588
|
+
/* harmony export */ });
|
|
13589
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
|
|
13590
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
13591
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
13592
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
13593
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
13594
|
+
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); } }
|
|
13595
|
+
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); }); }; }
|
|
13596
|
+
|
|
13597
|
+
|
|
13598
|
+
|
|
13599
|
+
|
|
13600
|
+
|
|
13601
|
+
/**
|
|
13602
|
+
* EtherFiStakeAction - Receives WETH, transforms it to ETH then sends it to EtherFi staking contract receiving eETH in return or weETH if wrapping is enabled
|
|
13603
|
+
*
|
|
13604
|
+
* @category EtherFi
|
|
13605
|
+
*/
|
|
13606
|
+
class EtherFiStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
13607
|
+
/**
|
|
13608
|
+
* @param amount - amount of WETH to pull
|
|
13609
|
+
* @param from - address from which to pull WETH from
|
|
13610
|
+
* @param to - address where received eETH will be sent to
|
|
13611
|
+
* @param shouldWrap - true if received eETH should be wrapped to weETH
|
|
13612
|
+
*/
|
|
13613
|
+
constructor(amount, from, to, shouldWrap) {
|
|
13614
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_3__.requireAddress)(to);
|
|
13615
|
+
super('EtherFiStake', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('EtherFiStake'), ['uint256', 'address', 'address', 'bool'], [amount, from, to, shouldWrap]);
|
|
13616
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3]];
|
|
13617
|
+
}
|
|
13618
|
+
getAssetsToApprove() {
|
|
13619
|
+
var _this = this;
|
|
13620
|
+
return _asyncToGenerator(function* () {
|
|
13621
|
+
return [{
|
|
13622
|
+
asset: (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfo)('WETH').address,
|
|
13623
|
+
owner: _this.args[1]
|
|
13624
|
+
}];
|
|
13625
|
+
})();
|
|
13626
|
+
}
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13629
|
+
/***/ }),
|
|
13630
|
+
/* 340 */
|
|
13631
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13632
|
+
|
|
13633
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13634
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13635
|
+
/* harmony export */ EtherFiWrapAction: () => (/* binding */ EtherFiWrapAction)
|
|
13636
|
+
/* harmony export */ });
|
|
13637
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
|
|
13638
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
13639
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
13640
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
13641
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
13642
|
+
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); } }
|
|
13643
|
+
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); }); }; }
|
|
13644
|
+
|
|
13645
|
+
|
|
13646
|
+
|
|
13647
|
+
|
|
13648
|
+
|
|
13649
|
+
/**
|
|
13650
|
+
* EtherFiWrapAction - Wraps eETH into Wrapped eETH (weETH)
|
|
13651
|
+
*
|
|
13652
|
+
* @category EtherFi
|
|
13653
|
+
*/
|
|
13654
|
+
class EtherFiWrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
13655
|
+
/**
|
|
13656
|
+
* @param amount - amount of eETH to pull
|
|
13657
|
+
* @param from - address from which to pull eETH from
|
|
13658
|
+
* @param to - address where received weETH will be sent to
|
|
13659
|
+
*/
|
|
13660
|
+
constructor(amount, from, to) {
|
|
13661
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_3__.requireAddress)(to);
|
|
13662
|
+
super('EtherFiWrap', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('EtherFiWrap'), ['uint256', 'address', 'address'], [amount, from, to]);
|
|
13663
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
13664
|
+
}
|
|
13665
|
+
getAssetsToApprove() {
|
|
13666
|
+
var _this = this;
|
|
13667
|
+
return _asyncToGenerator(function* () {
|
|
13668
|
+
return [{
|
|
13669
|
+
asset: (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfo)('eETH').address,
|
|
13670
|
+
owner: _this.args[1]
|
|
13671
|
+
}];
|
|
13672
|
+
})();
|
|
13673
|
+
}
|
|
13674
|
+
}
|
|
13675
|
+
|
|
13676
|
+
/***/ }),
|
|
13677
|
+
/* 341 */
|
|
13678
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13679
|
+
|
|
13680
|
+
__webpack_require__.r(__webpack_exports__);
|
|
13681
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13682
|
+
/* harmony export */ EtherFiUnwrapAction: () => (/* binding */ EtherFiUnwrapAction)
|
|
13683
|
+
/* harmony export */ });
|
|
13684
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
|
|
13685
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__);
|
|
13686
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
13687
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
13688
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
13689
|
+
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); } }
|
|
13690
|
+
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); }); }; }
|
|
13691
|
+
|
|
13692
|
+
|
|
13693
|
+
|
|
13694
|
+
|
|
13695
|
+
|
|
13696
|
+
/**
|
|
13697
|
+
* EtherFiUnwrapAction - Unwrap weETH and receive eETH
|
|
13698
|
+
*
|
|
13699
|
+
* @category EtherFi
|
|
13700
|
+
*/
|
|
13701
|
+
class EtherFiUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
13702
|
+
/**
|
|
13703
|
+
* @param amount - amount of weETH to pull
|
|
13704
|
+
* @param from - address from which to pull weETH from
|
|
13705
|
+
* @param to - address where received eETH will be sent to
|
|
13706
|
+
*/
|
|
13707
|
+
constructor(amount, from, to) {
|
|
13708
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_3__.requireAddress)(to);
|
|
13709
|
+
super('EtherFiUnwrap', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('EtherFiUnwrap'), ['uint256', 'address', 'address'], [amount, from, to]);
|
|
13710
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
13711
|
+
}
|
|
13712
|
+
getAssetsToApprove() {
|
|
13713
|
+
var _this = this;
|
|
13714
|
+
return _asyncToGenerator(function* () {
|
|
13715
|
+
return [{
|
|
13716
|
+
asset: (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfo)('weETH').address,
|
|
13717
|
+
owner: _this.args[1]
|
|
13718
|
+
}];
|
|
13719
|
+
})();
|
|
13720
|
+
}
|
|
13721
|
+
}
|
|
13722
|
+
|
|
13723
|
+
/***/ }),
|
|
13724
|
+
/* 342 */
|
|
13725
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13726
|
+
|
|
13593
13727
|
__webpack_require__.r(__webpack_exports__);
|
|
13594
13728
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13595
13729
|
/* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
|
|
@@ -13615,28 +13749,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13615
13749
|
/* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
13616
13750
|
/* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
13617
13751
|
/* harmony export */ });
|
|
13618
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13619
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13620
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
13621
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
13622
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
13623
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
13624
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
13625
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
13626
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
13627
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
13628
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
13629
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
13630
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
13631
|
-
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
13632
|
-
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
13633
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
13634
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
13635
|
-
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
13636
|
-
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
13637
|
-
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
13638
|
-
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
13639
|
-
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
13752
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(343);
|
|
13753
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(344);
|
|
13754
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(345);
|
|
13755
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(346);
|
|
13756
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(347);
|
|
13757
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(348);
|
|
13758
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(349);
|
|
13759
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(350);
|
|
13760
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(351);
|
|
13761
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(352);
|
|
13762
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(353);
|
|
13763
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(354);
|
|
13764
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(355);
|
|
13765
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(356);
|
|
13766
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(357);
|
|
13767
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(358);
|
|
13768
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(359);
|
|
13769
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(360);
|
|
13770
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(361);
|
|
13771
|
+
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(362);
|
|
13772
|
+
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(363);
|
|
13773
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(364);
|
|
13640
13774
|
|
|
13641
13775
|
|
|
13642
13776
|
|
|
@@ -13661,7 +13795,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13661
13795
|
|
|
13662
13796
|
|
|
13663
13797
|
/***/ }),
|
|
13664
|
-
/*
|
|
13798
|
+
/* 343 */
|
|
13665
13799
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13666
13800
|
|
|
13667
13801
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13684,7 +13818,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13684
13818
|
}
|
|
13685
13819
|
|
|
13686
13820
|
/***/ }),
|
|
13687
|
-
/*
|
|
13821
|
+
/* 344 */
|
|
13688
13822
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13689
13823
|
|
|
13690
13824
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13707,7 +13841,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
13707
13841
|
}
|
|
13708
13842
|
|
|
13709
13843
|
/***/ }),
|
|
13710
|
-
/*
|
|
13844
|
+
/* 345 */
|
|
13711
13845
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13712
13846
|
|
|
13713
13847
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13730,7 +13864,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
13730
13864
|
}
|
|
13731
13865
|
|
|
13732
13866
|
/***/ }),
|
|
13733
|
-
/*
|
|
13867
|
+
/* 346 */
|
|
13734
13868
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13735
13869
|
|
|
13736
13870
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13753,7 +13887,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13753
13887
|
}
|
|
13754
13888
|
|
|
13755
13889
|
/***/ }),
|
|
13756
|
-
/*
|
|
13890
|
+
/* 347 */
|
|
13757
13891
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13758
13892
|
|
|
13759
13893
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13776,7 +13910,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13776
13910
|
}
|
|
13777
13911
|
|
|
13778
13912
|
/***/ }),
|
|
13779
|
-
/*
|
|
13913
|
+
/* 348 */
|
|
13780
13914
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13781
13915
|
|
|
13782
13916
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13799,7 +13933,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13799
13933
|
}
|
|
13800
13934
|
|
|
13801
13935
|
/***/ }),
|
|
13802
|
-
/*
|
|
13936
|
+
/* 349 */
|
|
13803
13937
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13804
13938
|
|
|
13805
13939
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13822,7 +13956,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13822
13956
|
}
|
|
13823
13957
|
|
|
13824
13958
|
/***/ }),
|
|
13825
|
-
/*
|
|
13959
|
+
/* 350 */
|
|
13826
13960
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13827
13961
|
|
|
13828
13962
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13845,7 +13979,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13845
13979
|
}
|
|
13846
13980
|
|
|
13847
13981
|
/***/ }),
|
|
13848
|
-
/*
|
|
13982
|
+
/* 351 */
|
|
13849
13983
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13850
13984
|
|
|
13851
13985
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13868,7 +14002,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13868
14002
|
}
|
|
13869
14003
|
|
|
13870
14004
|
/***/ }),
|
|
13871
|
-
/*
|
|
14005
|
+
/* 352 */
|
|
13872
14006
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13873
14007
|
|
|
13874
14008
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13891,7 +14025,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13891
14025
|
}
|
|
13892
14026
|
|
|
13893
14027
|
/***/ }),
|
|
13894
|
-
/*
|
|
14028
|
+
/* 353 */
|
|
13895
14029
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13896
14030
|
|
|
13897
14031
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13914,7 +14048,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13914
14048
|
}
|
|
13915
14049
|
|
|
13916
14050
|
/***/ }),
|
|
13917
|
-
/*
|
|
14051
|
+
/* 354 */
|
|
13918
14052
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13919
14053
|
|
|
13920
14054
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13937,7 +14071,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13937
14071
|
}
|
|
13938
14072
|
|
|
13939
14073
|
/***/ }),
|
|
13940
|
-
/*
|
|
14074
|
+
/* 355 */
|
|
13941
14075
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13942
14076
|
|
|
13943
14077
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13960,7 +14094,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
13960
14094
|
}
|
|
13961
14095
|
|
|
13962
14096
|
/***/ }),
|
|
13963
|
-
/*
|
|
14097
|
+
/* 356 */
|
|
13964
14098
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13965
14099
|
|
|
13966
14100
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13983,7 +14117,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13983
14117
|
}
|
|
13984
14118
|
|
|
13985
14119
|
/***/ }),
|
|
13986
|
-
/*
|
|
14120
|
+
/* 357 */
|
|
13987
14121
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13988
14122
|
|
|
13989
14123
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14006,7 +14140,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
14006
14140
|
}
|
|
14007
14141
|
|
|
14008
14142
|
/***/ }),
|
|
14009
|
-
/*
|
|
14143
|
+
/* 358 */
|
|
14010
14144
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14011
14145
|
|
|
14012
14146
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14029,7 +14163,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
14029
14163
|
}
|
|
14030
14164
|
|
|
14031
14165
|
/***/ }),
|
|
14032
|
-
/*
|
|
14166
|
+
/* 359 */
|
|
14033
14167
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14034
14168
|
|
|
14035
14169
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14052,7 +14186,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
14052
14186
|
}
|
|
14053
14187
|
|
|
14054
14188
|
/***/ }),
|
|
14055
|
-
/*
|
|
14189
|
+
/* 360 */
|
|
14056
14190
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14057
14191
|
|
|
14058
14192
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14075,7 +14209,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
14075
14209
|
}
|
|
14076
14210
|
|
|
14077
14211
|
/***/ }),
|
|
14078
|
-
/*
|
|
14212
|
+
/* 361 */
|
|
14079
14213
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14080
14214
|
|
|
14081
14215
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14098,7 +14232,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
14098
14232
|
}
|
|
14099
14233
|
|
|
14100
14234
|
/***/ }),
|
|
14101
|
-
/*
|
|
14235
|
+
/* 362 */
|
|
14102
14236
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14103
14237
|
|
|
14104
14238
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14121,7 +14255,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
14121
14255
|
}
|
|
14122
14256
|
|
|
14123
14257
|
/***/ }),
|
|
14124
|
-
/*
|
|
14258
|
+
/* 363 */
|
|
14125
14259
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14126
14260
|
|
|
14127
14261
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14144,7 +14278,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
14144
14278
|
}
|
|
14145
14279
|
|
|
14146
14280
|
/***/ }),
|
|
14147
|
-
/*
|
|
14281
|
+
/* 364 */
|
|
14148
14282
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14149
14283
|
|
|
14150
14284
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14167,7 +14301,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
14167
14301
|
}
|
|
14168
14302
|
|
|
14169
14303
|
/***/ }),
|
|
14170
|
-
/*
|
|
14304
|
+
/* 365 */
|
|
14171
14305
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14172
14306
|
|
|
14173
14307
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14181,9 +14315,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14181
14315
|
/* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
14182
14316
|
/* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
14183
14317
|
/* harmony export */ });
|
|
14184
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14318
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(366);
|
|
14185
14319
|
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(133);
|
|
14186
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
14320
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(368);
|
|
14187
14321
|
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(234);
|
|
14188
14322
|
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(214);
|
|
14189
14323
|
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(200);
|
|
@@ -14200,7 +14334,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14200
14334
|
|
|
14201
14335
|
|
|
14202
14336
|
/***/ }),
|
|
14203
|
-
/*
|
|
14337
|
+
/* 366 */
|
|
14204
14338
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14205
14339
|
|
|
14206
14340
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -14211,7 +14345,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14211
14345
|
/* harmony export */ });
|
|
14212
14346
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
14213
14347
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
14214
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
14348
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(367);
|
|
14215
14349
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
14216
14350
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
14217
14351
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -14413,20 +14547,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
14413
14547
|
}();
|
|
14414
14548
|
|
|
14415
14549
|
/***/ }),
|
|
14416
|
-
/*
|
|
14550
|
+
/* 367 */
|
|
14417
14551
|
/***/ ((module) => {
|
|
14418
14552
|
|
|
14419
|
-
module.exports =
|
|
14553
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__367__;
|
|
14420
14554
|
|
|
14421
14555
|
/***/ }),
|
|
14422
|
-
/*
|
|
14556
|
+
/* 368 */
|
|
14423
14557
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14424
14558
|
|
|
14425
14559
|
__webpack_require__.r(__webpack_exports__);
|
|
14426
14560
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14427
14561
|
/* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
|
|
14428
14562
|
/* harmony export */ });
|
|
14429
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14563
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(369);
|
|
14430
14564
|
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); } }
|
|
14431
14565
|
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); }); }; }
|
|
14432
14566
|
/**
|
|
@@ -14451,7 +14585,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
14451
14585
|
}();
|
|
14452
14586
|
|
|
14453
14587
|
/***/ }),
|
|
14454
|
-
/*
|
|
14588
|
+
/* 369 */
|
|
14455
14589
|
/***/ ((module) => {
|
|
14456
14590
|
|
|
14457
14591
|
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"}]');
|
|
@@ -14555,8 +14689,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14555
14689
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
14556
14690
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
14557
14691
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
14558
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
14559
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
14692
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(342);
|
|
14693
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(365);
|
|
14560
14694
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
14561
14695
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
14562
14696
|
/* Export types here */
|