@defisaver/sdk 1.1.1 → 1.1.2-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/src/actions/llamalend/LlamaLendBoostAction.d.ts +8 -0
- package/esm/src/actions/llamalend/LlamaLendBoostAction.js +18 -0
- package/esm/src/actions/llamalend/LlamaLendCreateAction.d.ts +2 -2
- package/esm/src/actions/llamalend/LlamaLendCreateAction.js +2 -3
- package/esm/src/actions/llamalend/LlamaLendGetDebtAction.d.ts +8 -0
- package/esm/src/actions/llamalend/LlamaLendGetDebtAction.js +13 -0
- package/esm/src/actions/llamalend/LlamaLendLevCreateAction.d.ts +12 -0
- package/esm/src/actions/llamalend/LlamaLendLevCreateAction.js +41 -0
- package/esm/src/actions/llamalend/LlamaLendPaybackAction.d.ts +2 -10
- package/esm/src/actions/llamalend/LlamaLendPaybackAction.js +2 -11
- package/esm/src/actions/llamalend/LlamaLendRepayAction.d.ts +8 -0
- package/esm/src/actions/llamalend/LlamaLendRepayAction.js +20 -0
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.d.ts +2 -2
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.js +2 -3
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.d.ts +8 -0
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.js +25 -0
- package/esm/src/actions/llamalend/LlamaLendSupplyAction.d.ts +2 -2
- package/esm/src/actions/llamalend/LlamaLendSupplyAction.js +2 -3
- package/esm/src/actions/llamalend/index.d.ts +5 -0
- package/esm/src/actions/llamalend/index.js +5 -0
- package/esm/src/addresses.d.ts +26 -6
- package/esm/src/addresses.js +17 -0
- package/esm/src/index.d.ts +104 -24
- package/esm/src/utils/index.d.ts +1 -2
- package/esm/src/utils/index.js +1 -2
- package/package.json +1 -1
- package/src/actions/llamalend/LlamaLendBoostAction.ts +26 -0
- package/src/actions/llamalend/LlamaLendCreateAction.ts +3 -2
- package/src/actions/llamalend/LlamaLendGetDebtAction.ts +21 -0
- package/src/actions/llamalend/LlamaLendLevCreateAction.ts +39 -0
- package/src/actions/llamalend/LlamaLendPaybackAction.ts +2 -10
- package/src/actions/llamalend/LlamaLendRepayAction.ts +28 -0
- package/src/actions/llamalend/LlamaLendSelfLiquidateAction.ts +3 -2
- package/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.ts +33 -0
- package/src/actions/llamalend/LlamaLendSupplyAction.ts +2 -2
- package/src/actions/llamalend/index.ts +6 -1
- package/src/addresses.ts +18 -0
- package/src/utils/index.ts +0 -2
- package/umd/index.js +227 -118
- package/esm/src/utils/llamalend-utils.d.ts +0 -10
- package/esm/src/utils/llamalend-utils.js +0 -10
- package/src/utils/llamalend-utils.ts +0 -11
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__130__, __WEBPACK_EXTERNAL_MODULE__131__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__130__, __WEBPACK_EXTERNAL_MODULE__131__, __WEBPACK_EXTERNAL_MODULE__339__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -1482,6 +1482,11 @@ var actionAddresses = {
|
|
|
1482
1482
|
LlamaLendWithdraw: '0x2593Da3c4110C531541424e9e847cd7905894C52',
|
|
1483
1483
|
LlamaLendPayback: '0x5b506b7a0117dbcd086632575da599bb603eb602',
|
|
1484
1484
|
LlamaLendSelfLiquidate: '0xe4944e0e46177300fa4c351ef72b95b9655e8394',
|
|
1485
|
+
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
1486
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
1487
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
1488
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
1489
|
+
LlamaLendSelfLiquidateWithColl: '0xc20460aabdb89e55c2d29067e031d170f2fb10e5',
|
|
1485
1490
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5'
|
|
1486
1491
|
},
|
|
1487
1492
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
@@ -1575,7 +1580,19 @@ var actionAddresses = {
|
|
|
1575
1580
|
UniMintV3: '0x7AC778fB7CaB7D368f37d6E7CE3c293077969331',
|
|
1576
1581
|
UniSupplyV3: '0x55675C6041A33EE9BDd796Edaa0f098AC7F3534f',
|
|
1577
1582
|
UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
|
|
1578
|
-
UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5'
|
|
1583
|
+
UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
|
|
1584
|
+
// llamalend
|
|
1585
|
+
LlamaLendCreate: '0xaf14226ad0d782c71d3acf94ad02d6a39c89ec79',
|
|
1586
|
+
LlamaLendSupply: '0x8f0814709d6d8b7c4b3021f7cb80e08476bc6959',
|
|
1587
|
+
LlamaLendBorrow: '0x4948135f8b3a8f3b51fbd1050f5d0f755accb8e7',
|
|
1588
|
+
LlamaLendWithdraw: '0xd7a80e7a2296d75cd1eebc2f0de0cebd14fbe117',
|
|
1589
|
+
LlamaLendPayback: '0x21e05ffb9cf729630b5a9c2f01ff3b41f38be48c',
|
|
1590
|
+
LlamaLendSelfLiquidate: '0xc9fd91f932d903023e887e4e4af0a298e10529a8',
|
|
1591
|
+
LlamaLendGetDebt: '0x81c01f08b8fc4487501c88404ed17ebc17764f9c',
|
|
1592
|
+
LlamaLendBoost: '0xc52a3af27696f8cf999463f3455e23440a376f8d',
|
|
1593
|
+
LlamaLendRepay: '0x320fdfa922ee33c1cc8a042ada855c9dfe9bed06',
|
|
1594
|
+
LlamaLendLevCreate: '0xe5cbdcbe494246c21851eea0642ff0791f95cc86',
|
|
1595
|
+
LlamaLendSelfLiquidateWithColl: '0x4faef2cd1680ea00f9398a0525c536b2466a887b'
|
|
1579
1596
|
},
|
|
1580
1597
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1581
1598
|
// Basic
|
|
@@ -1998,7 +2015,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1998
2015
|
/* harmony import */ var _spark__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(280);
|
|
1999
2016
|
/* harmony import */ var _morpho_blue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(291);
|
|
2000
2017
|
/* harmony import */ var _llamalend__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(300);
|
|
2001
|
-
/* harmony import */ var _merkl__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
|
|
2018
|
+
/* harmony import */ var _merkl__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(312);
|
|
2002
2019
|
|
|
2003
2020
|
|
|
2004
2021
|
|
|
@@ -12162,19 +12179,34 @@ class MorphoBlueSetAuthWithSigAction extends _Action__WEBPACK_IMPORTED_MODULE_0_
|
|
|
12162
12179
|
|
|
12163
12180
|
__webpack_require__.r(__webpack_exports__);
|
|
12164
12181
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12182
|
+
/* harmony export */ "LlamaLendBoostAction": () => (/* reexport safe */ _LlamaLendBoostAction__WEBPACK_IMPORTED_MODULE_8__.LlamaLendBoostAction),
|
|
12165
12183
|
/* harmony export */ "LlamaLendBorrowAction": () => (/* reexport safe */ _LlamaLendBorrowAction__WEBPACK_IMPORTED_MODULE_0__.LlamaLendBorrowAction),
|
|
12166
12184
|
/* harmony export */ "LlamaLendCreateAction": () => (/* reexport safe */ _LlamaLendCreateAction__WEBPACK_IMPORTED_MODULE_3__.LlamaLendCreateAction),
|
|
12185
|
+
/* harmony export */ "LlamaLendGetDebtAction": () => (/* reexport safe */ _LlamaLendGetDebtAction__WEBPACK_IMPORTED_MODULE_6__.LlamaLendGetDebtAction),
|
|
12186
|
+
/* harmony export */ "LlamaLendLevCreateAction": () => (/* reexport safe */ _LlamaLendLevCreateAction__WEBPACK_IMPORTED_MODULE_7__.LlamaLendLevCreateAction),
|
|
12167
12187
|
/* harmony export */ "LlamaLendPaybackAction": () => (/* reexport safe */ _LlamaLendPaybackAction__WEBPACK_IMPORTED_MODULE_4__.LlamaLendPaybackAction),
|
|
12188
|
+
/* harmony export */ "LlamaLendRepayAction": () => (/* reexport safe */ _LlamaLendRepayAction__WEBPACK_IMPORTED_MODULE_9__.LlamaLendRepayAction),
|
|
12168
12189
|
/* harmony export */ "LlamaLendSelfLiquidateAction": () => (/* reexport safe */ _LlamaLendSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_5__.LlamaLendSelfLiquidateAction),
|
|
12190
|
+
/* harmony export */ "LlamaLendSelfLiquidateWithCollAction": () => (/* reexport safe */ _LlamaLendSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_10__.LlamaLendSelfLiquidateWithCollAction),
|
|
12169
12191
|
/* harmony export */ "LlamaLendSupplyAction": () => (/* reexport safe */ _LlamaLendSupplyAction__WEBPACK_IMPORTED_MODULE_2__.LlamaLendSupplyAction),
|
|
12170
12192
|
/* harmony export */ "LlamaLendWithdrawAction": () => (/* reexport safe */ _LlamaLendWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.LlamaLendWithdrawAction)
|
|
12171
12193
|
/* harmony export */ });
|
|
12172
12194
|
/* harmony import */ var _LlamaLendBorrowAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(301);
|
|
12173
12195
|
/* harmony import */ var _LlamaLendWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(302);
|
|
12174
12196
|
/* harmony import */ var _LlamaLendSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(303);
|
|
12175
|
-
/* harmony import */ var _LlamaLendCreateAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
12176
|
-
/* harmony import */ var _LlamaLendPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
12177
|
-
/* harmony import */ var _LlamaLendSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
12197
|
+
/* harmony import */ var _LlamaLendCreateAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(304);
|
|
12198
|
+
/* harmony import */ var _LlamaLendPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(305);
|
|
12199
|
+
/* harmony import */ var _LlamaLendSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(306);
|
|
12200
|
+
/* harmony import */ var _LlamaLendGetDebtAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(307);
|
|
12201
|
+
/* harmony import */ var _LlamaLendLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(308);
|
|
12202
|
+
/* harmony import */ var _LlamaLendBoostAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(309);
|
|
12203
|
+
/* harmony import */ var _LlamaLendRepayAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(310);
|
|
12204
|
+
/* harmony import */ var _LlamaLendSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(311);
|
|
12205
|
+
|
|
12206
|
+
|
|
12207
|
+
|
|
12208
|
+
|
|
12209
|
+
|
|
12178
12210
|
|
|
12179
12211
|
|
|
12180
12212
|
|
|
@@ -12254,13 +12286,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12254
12286
|
/* harmony export */ });
|
|
12255
12287
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12256
12288
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12257
|
-
/* harmony import */ var _utils_llamalend_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(304);
|
|
12258
12289
|
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); } }
|
|
12259
12290
|
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); }); }; }
|
|
12260
12291
|
|
|
12261
12292
|
|
|
12262
|
-
|
|
12263
|
-
|
|
12264
12293
|
/**
|
|
12265
12294
|
* LlamaLendSupplyAction - Action that supplies collateral to a llamalend position
|
|
12266
12295
|
*
|
|
@@ -12274,7 +12303,7 @@ class LlamaLendSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12274
12303
|
* uint256 collateralAmount - Amount of collateral asset to supply
|
|
12275
12304
|
*/
|
|
12276
12305
|
/// @dev collateralAmount must be non-zero, can be maxUint
|
|
12277
|
-
constructor(controllerAddress, from, onBehalfOf, collateralAmount) {
|
|
12306
|
+
constructor(controllerAddress, from, onBehalfOf, collateralAmount, collAsset) {
|
|
12278
12307
|
super('LlamaLendSupply', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendSupply'), ['address', 'address', 'address', 'uint256'], [controllerAddress, from, onBehalfOf, collateralAmount]);
|
|
12279
12308
|
this.mappableArgs = [...this.args];
|
|
12280
12309
|
}
|
|
@@ -12283,7 +12312,7 @@ class LlamaLendSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12283
12312
|
return _asyncToGenerator(function* () {
|
|
12284
12313
|
return [{
|
|
12285
12314
|
owner: _this.args[1],
|
|
12286
|
-
asset:
|
|
12315
|
+
asset: _this.args[4]
|
|
12287
12316
|
}];
|
|
12288
12317
|
})();
|
|
12289
12318
|
}
|
|
@@ -12293,26 +12322,6 @@ class LlamaLendSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12293
12322
|
/* 304 */
|
|
12294
12323
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12295
12324
|
|
|
12296
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12297
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12298
|
-
/* harmony export */ "controllerToCollateralAssetMap": () => (/* binding */ controllerToCollateralAssetMap),
|
|
12299
|
-
/* harmony export */ "controllerToDebtAssetMap": () => (/* binding */ controllerToDebtAssetMap)
|
|
12300
|
-
/* harmony export */ });
|
|
12301
|
-
var controllerToCollateralAssetMap = {
|
|
12302
|
-
'0x5E657c5227A596a860621C5551c9735d8f4A8BE3': '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0',
|
|
12303
|
-
'0x7443944962D04720f8c220C0D25f56F869d6EfD4': '0xD533a949740bb3306d119CC777fa900bA034cd52',
|
|
12304
|
-
'0x43fc0f246F952ff12B757341A91cF4040711dDE9': '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E'
|
|
12305
|
-
};
|
|
12306
|
-
var controllerToDebtAssetMap = {
|
|
12307
|
-
'0x5E657c5227A596a860621C5551c9735d8f4A8BE3': '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E',
|
|
12308
|
-
'0x7443944962D04720f8c220C0D25f56F869d6EfD4': '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E',
|
|
12309
|
-
'0x43fc0f246F952ff12B757341A91cF4040711dDE9': '0xD533a949740bb3306d119CC777fa900bA034cd52'
|
|
12310
|
-
};
|
|
12311
|
-
|
|
12312
|
-
/***/ }),
|
|
12313
|
-
/* 305 */
|
|
12314
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12315
|
-
|
|
12316
12325
|
__webpack_require__.r(__webpack_exports__);
|
|
12317
12326
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12318
12327
|
/* harmony export */ "LlamaLendCreateAction": () => (/* binding */ LlamaLendCreateAction)
|
|
@@ -12320,14 +12329,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12320
12329
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12321
12330
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
12322
12331
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
12323
|
-
/* harmony import */ var _utils_llamalend_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(304);
|
|
12324
12332
|
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); } }
|
|
12325
12333
|
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); }); }; }
|
|
12326
12334
|
|
|
12327
12335
|
|
|
12328
12336
|
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
12337
|
/**
|
|
12332
12338
|
* LlamaLendCreateAction - Action that creates a llamalend position on behalf of proxy
|
|
12333
12339
|
*
|
|
@@ -12343,7 +12349,7 @@ class LlamaLendCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12343
12349
|
* uint256 nBands - Number of bands in which the collateral will be supplied
|
|
12344
12350
|
*/
|
|
12345
12351
|
/// @dev both collateralAmount and debtAmount must be non-zero and can be maxUint
|
|
12346
|
-
constructor(controllerAddress, from, to, collateralAmount, debtAmount, nBands) {
|
|
12352
|
+
constructor(controllerAddress, from, to, collateralAmount, debtAmount, nBands, debtAsset) {
|
|
12347
12353
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(to);
|
|
12348
12354
|
super('LlamaLendCreate', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('LlamaLendCreate'), ['address', 'address', 'address', 'uint256', 'uint256', 'uint256'], [controllerAddress, from, to, collateralAmount, debtAmount, nBands]);
|
|
12349
12355
|
this.mappableArgs = [...this.args];
|
|
@@ -12353,14 +12359,14 @@ class LlamaLendCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12353
12359
|
return _asyncToGenerator(function* () {
|
|
12354
12360
|
return [{
|
|
12355
12361
|
owner: _this.args[1],
|
|
12356
|
-
asset:
|
|
12362
|
+
asset: _this.args[6]
|
|
12357
12363
|
}];
|
|
12358
12364
|
})();
|
|
12359
12365
|
}
|
|
12360
12366
|
}
|
|
12361
12367
|
|
|
12362
12368
|
/***/ }),
|
|
12363
|
-
/*
|
|
12369
|
+
/* 305 */
|
|
12364
12370
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12365
12371
|
|
|
12366
12372
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12369,30 +12375,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12369
12375
|
/* harmony export */ });
|
|
12370
12376
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12371
12377
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12372
|
-
/* harmony import */ var _utils_llamalend_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(304);
|
|
12373
12378
|
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); } }
|
|
12374
12379
|
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); }); }; }
|
|
12375
12380
|
|
|
12376
12381
|
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
12382
|
/**
|
|
12380
12383
|
* LlamaLendPaybackAction - Action that pays back debt asset to a llamalend position
|
|
12381
12384
|
*
|
|
12382
12385
|
* @category LlamaLend
|
|
12383
12386
|
*/
|
|
12384
12387
|
class LlamaLendPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12385
|
-
/**
|
|
12386
|
-
* address controllerAddress - Address of the llamalend market controller
|
|
12387
|
-
* address from - Address from which to pull debt asset, will default to proxy
|
|
12388
|
-
* address onBehalfOf - Address for which we are paying back debt, will default to proxy
|
|
12389
|
-
* address to - Address that will receive the debt asset and collateral asset if close, will default to proxy
|
|
12390
|
-
* uint256 debtAmount - Amount of debt asset to payback
|
|
12391
|
-
* int256 maxActiveBand - Don't allow active band to be higher than this (to prevent front-running the repay)
|
|
12392
|
-
*/
|
|
12393
12388
|
/// @dev debtAmount must be non-zero
|
|
12394
12389
|
/// @dev if debtAmount >= debt will repay whole debt and close the position, transfering collateral
|
|
12395
|
-
constructor(controllerAddress, from, onBehalfOf, to, debtAmount, maxActiveBand) {
|
|
12390
|
+
constructor(controllerAddress, from, onBehalfOf, to, debtAmount, maxActiveBand, debtAsset) {
|
|
12396
12391
|
super('LlamaLendPayback', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendPayback'), ['address', 'address', 'address', 'address', 'uint256', 'int256'], [controllerAddress, from, onBehalfOf, to, debtAmount, maxActiveBand]);
|
|
12397
12392
|
this.mappableArgs = [...this.args];
|
|
12398
12393
|
}
|
|
@@ -12401,14 +12396,14 @@ class LlamaLendPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12401
12396
|
return _asyncToGenerator(function* () {
|
|
12402
12397
|
return [{
|
|
12403
12398
|
owner: _this.args[1],
|
|
12404
|
-
asset:
|
|
12399
|
+
asset: _this.args[6]
|
|
12405
12400
|
}];
|
|
12406
12401
|
})();
|
|
12407
12402
|
}
|
|
12408
12403
|
}
|
|
12409
12404
|
|
|
12410
12405
|
/***/ }),
|
|
12411
|
-
/*
|
|
12406
|
+
/* 306 */
|
|
12412
12407
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12413
12408
|
|
|
12414
12409
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12417,13 +12412,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12417
12412
|
/* harmony export */ });
|
|
12418
12413
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12419
12414
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12420
|
-
/* harmony import */ var _utils_llamalend_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(304);
|
|
12421
12415
|
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); } }
|
|
12422
12416
|
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); }); }; }
|
|
12423
12417
|
|
|
12424
12418
|
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
12419
|
/**
|
|
12428
12420
|
*
|
|
12429
12421
|
* @category LlamaLend
|
|
@@ -12435,7 +12427,7 @@ class LlamaLendSelfLiquidateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
12435
12427
|
@param from Address from which to pull debt asset if needed
|
|
12436
12428
|
@param to Address that will receive the debt asset and collateral asset
|
|
12437
12429
|
*/
|
|
12438
|
-
constructor(controllerAddress, minDebtAssetExpected, from, to) {
|
|
12430
|
+
constructor(controllerAddress, minDebtAssetExpected, from, to, debtAsset) {
|
|
12439
12431
|
super('LlamaLendSelfLiquidate', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendSelfLiquidate'), ['address', 'uint256', 'address', 'address'], [controllerAddress, minDebtAssetExpected, from, to]);
|
|
12440
12432
|
this.mappableArgs = [...this.args];
|
|
12441
12433
|
}
|
|
@@ -12444,27 +12436,147 @@ class LlamaLendSelfLiquidateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
12444
12436
|
return _asyncToGenerator(function* () {
|
|
12445
12437
|
return [{
|
|
12446
12438
|
owner: _this.args[2],
|
|
12447
|
-
asset:
|
|
12439
|
+
asset: _this.args[4]
|
|
12448
12440
|
}];
|
|
12449
12441
|
})();
|
|
12450
12442
|
}
|
|
12451
12443
|
}
|
|
12452
12444
|
|
|
12445
|
+
/***/ }),
|
|
12446
|
+
/* 307 */
|
|
12447
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12448
|
+
|
|
12449
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12450
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12451
|
+
/* harmony export */ "LlamaLendGetDebtAction": () => (/* binding */ LlamaLendGetDebtAction)
|
|
12452
|
+
/* harmony export */ });
|
|
12453
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12454
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12455
|
+
|
|
12456
|
+
|
|
12457
|
+
/**
|
|
12458
|
+
* @category LlamaLend
|
|
12459
|
+
*/
|
|
12460
|
+
class LlamaLendGetDebtAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12461
|
+
constructor(controllerAddr, debtor) {
|
|
12462
|
+
super('LlamaLendGetDebt', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendGetDebt'), ['address', 'address'], [controllerAddr, debtor]);
|
|
12463
|
+
}
|
|
12464
|
+
}
|
|
12465
|
+
|
|
12453
12466
|
/***/ }),
|
|
12454
12467
|
/* 308 */
|
|
12455
12468
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12456
12469
|
|
|
12457
12470
|
__webpack_require__.r(__webpack_exports__);
|
|
12458
12471
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12459
|
-
/* harmony export */ "
|
|
12472
|
+
/* harmony export */ "LlamaLendLevCreateAction": () => (/* binding */ LlamaLendLevCreateAction)
|
|
12460
12473
|
/* harmony export */ });
|
|
12461
|
-
/* harmony import */ var
|
|
12474
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12475
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12476
|
+
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); } }
|
|
12477
|
+
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); }); }; }
|
|
12462
12478
|
|
|
12463
12479
|
|
|
12480
|
+
/**
|
|
12481
|
+
* @category LlamaLend
|
|
12482
|
+
*/
|
|
12483
|
+
class LlamaLendLevCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12484
|
+
constructor(controller, controllerId, from, collAmount, nBands, exchangeOrder, gasUsed) {
|
|
12485
|
+
super('LlamaLendLevCreate', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendLevCreate'), ['address', 'uint256', 'address', 'uint256', 'uint256', ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'uint32'], [controller, controllerId, from, collAmount, nBands, exchangeOrder, gasUsed]);
|
|
12486
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3]];
|
|
12487
|
+
}
|
|
12488
|
+
getAssetsToApprove() {
|
|
12489
|
+
var _this = this;
|
|
12490
|
+
return _asyncToGenerator(function* () {
|
|
12491
|
+
return [{
|
|
12492
|
+
owner: _this.args[1],
|
|
12493
|
+
asset: _this.args[5][1]
|
|
12494
|
+
}];
|
|
12495
|
+
})();
|
|
12496
|
+
}
|
|
12497
|
+
}
|
|
12498
|
+
|
|
12464
12499
|
/***/ }),
|
|
12465
12500
|
/* 309 */
|
|
12466
12501
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12467
12502
|
|
|
12503
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12504
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12505
|
+
/* harmony export */ "LlamaLendBoostAction": () => (/* binding */ LlamaLendBoostAction)
|
|
12506
|
+
/* harmony export */ });
|
|
12507
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12508
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12509
|
+
|
|
12510
|
+
|
|
12511
|
+
/**
|
|
12512
|
+
* @category LlamaLend
|
|
12513
|
+
*/
|
|
12514
|
+
class LlamaLendBoostAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12515
|
+
constructor(controller, controllerId, exchangeOrder, gasUsed) {
|
|
12516
|
+
super('LlamaLendBoost', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendBoost'), ['address', 'uint256', ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'uint32'], [controller, controllerId, exchangeOrder, gasUsed]);
|
|
12517
|
+
this.mappableArgs = [this.args[0]];
|
|
12518
|
+
}
|
|
12519
|
+
}
|
|
12520
|
+
|
|
12521
|
+
/***/ }),
|
|
12522
|
+
/* 310 */
|
|
12523
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12524
|
+
|
|
12525
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12526
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12527
|
+
/* harmony export */ "LlamaLendRepayAction": () => (/* binding */ LlamaLendRepayAction)
|
|
12528
|
+
/* harmony export */ });
|
|
12529
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12530
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12531
|
+
|
|
12532
|
+
|
|
12533
|
+
/**
|
|
12534
|
+
* @category LlamaLend
|
|
12535
|
+
*/
|
|
12536
|
+
class LlamaLendRepayAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12537
|
+
constructor(controller, controllerId, exchangeOrder, to, gasUsed) {
|
|
12538
|
+
super('LlamaLendRepay', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendRepay'), ['address', 'uint256', ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'address', 'uint32'], [controller, controllerId, exchangeOrder, to, gasUsed]);
|
|
12539
|
+
this.mappableArgs = [this.args[0], this.args[2]];
|
|
12540
|
+
}
|
|
12541
|
+
}
|
|
12542
|
+
|
|
12543
|
+
/***/ }),
|
|
12544
|
+
/* 311 */
|
|
12545
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12546
|
+
|
|
12547
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12548
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12549
|
+
/* harmony export */ "LlamaLendSelfLiquidateWithCollAction": () => (/* binding */ LlamaLendSelfLiquidateWithCollAction)
|
|
12550
|
+
/* harmony export */ });
|
|
12551
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12552
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12553
|
+
|
|
12554
|
+
|
|
12555
|
+
/**
|
|
12556
|
+
* @category LlamaLend
|
|
12557
|
+
*/
|
|
12558
|
+
class LlamaLendSelfLiquidateWithCollAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12559
|
+
constructor(controller, controllerId, percentage, minCrvUsdExpected, exchangeOrder, to, sellAllCollateral, gasUsed) {
|
|
12560
|
+
super('LlamaLendSelfLiquidateWithColl', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LlamaLendSelfLiquidateWithColl'), ['address', 'uint256', 'uint256', 'uint256', ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'address', 'bool', 'uint32'], [controller, controllerId, percentage, minCrvUsdExpected, exchangeOrder, to, sellAllCollateral, gasUsed]);
|
|
12561
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[4]];
|
|
12562
|
+
}
|
|
12563
|
+
}
|
|
12564
|
+
|
|
12565
|
+
/***/ }),
|
|
12566
|
+
/* 312 */
|
|
12567
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12568
|
+
|
|
12569
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12570
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12571
|
+
/* harmony export */ "MerklClaimAction": () => (/* reexport safe */ _MerklClaimAction__WEBPACK_IMPORTED_MODULE_0__.MerklClaimAction)
|
|
12572
|
+
/* harmony export */ });
|
|
12573
|
+
/* harmony import */ var _MerklClaimAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(313);
|
|
12574
|
+
|
|
12575
|
+
|
|
12576
|
+
/***/ }),
|
|
12577
|
+
/* 313 */
|
|
12578
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12579
|
+
|
|
12468
12580
|
__webpack_require__.r(__webpack_exports__);
|
|
12469
12581
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12470
12582
|
/* harmony export */ "MerklClaimAction": () => (/* binding */ MerklClaimAction)
|
|
@@ -12494,7 +12606,7 @@ class MerklClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12494
12606
|
}
|
|
12495
12607
|
|
|
12496
12608
|
/***/ }),
|
|
12497
|
-
/*
|
|
12609
|
+
/* 314 */
|
|
12498
12610
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12499
12611
|
|
|
12500
12612
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12522,28 +12634,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12522
12634
|
/* harmony export */ "TrailingStopTrigger": () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
12523
12635
|
/* harmony export */ "UniV3CurrentTickTrigger": () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
12524
12636
|
/* harmony export */ });
|
|
12525
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
12526
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
12527
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
12528
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
12529
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
12530
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
12531
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
12532
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
12533
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
12534
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
12535
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
12536
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
12537
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
12538
|
-
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
12539
|
-
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
12540
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
12541
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
12542
|
-
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
12543
|
-
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
12544
|
-
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
12545
|
-
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
12546
|
-
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
12637
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(315);
|
|
12638
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(316);
|
|
12639
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(317);
|
|
12640
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(318);
|
|
12641
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(319);
|
|
12642
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(320);
|
|
12643
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(321);
|
|
12644
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(322);
|
|
12645
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(323);
|
|
12646
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(324);
|
|
12647
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(325);
|
|
12648
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(326);
|
|
12649
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(327);
|
|
12650
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(328);
|
|
12651
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(329);
|
|
12652
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(330);
|
|
12653
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(331);
|
|
12654
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(332);
|
|
12655
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(333);
|
|
12656
|
+
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(334);
|
|
12657
|
+
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(335);
|
|
12658
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(336);
|
|
12547
12659
|
|
|
12548
12660
|
|
|
12549
12661
|
|
|
@@ -12568,7 +12680,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12568
12680
|
|
|
12569
12681
|
|
|
12570
12682
|
/***/ }),
|
|
12571
|
-
/*
|
|
12683
|
+
/* 315 */
|
|
12572
12684
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12573
12685
|
|
|
12574
12686
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12591,7 +12703,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12591
12703
|
}
|
|
12592
12704
|
|
|
12593
12705
|
/***/ }),
|
|
12594
|
-
/*
|
|
12706
|
+
/* 316 */
|
|
12595
12707
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12596
12708
|
|
|
12597
12709
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12614,7 +12726,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12614
12726
|
}
|
|
12615
12727
|
|
|
12616
12728
|
/***/ }),
|
|
12617
|
-
/*
|
|
12729
|
+
/* 317 */
|
|
12618
12730
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12619
12731
|
|
|
12620
12732
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12637,7 +12749,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
12637
12749
|
}
|
|
12638
12750
|
|
|
12639
12751
|
/***/ }),
|
|
12640
|
-
/*
|
|
12752
|
+
/* 318 */
|
|
12641
12753
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12642
12754
|
|
|
12643
12755
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12660,7 +12772,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12660
12772
|
}
|
|
12661
12773
|
|
|
12662
12774
|
/***/ }),
|
|
12663
|
-
/*
|
|
12775
|
+
/* 319 */
|
|
12664
12776
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12665
12777
|
|
|
12666
12778
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12683,7 +12795,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12683
12795
|
}
|
|
12684
12796
|
|
|
12685
12797
|
/***/ }),
|
|
12686
|
-
/*
|
|
12798
|
+
/* 320 */
|
|
12687
12799
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12688
12800
|
|
|
12689
12801
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12706,7 +12818,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12706
12818
|
}
|
|
12707
12819
|
|
|
12708
12820
|
/***/ }),
|
|
12709
|
-
/*
|
|
12821
|
+
/* 321 */
|
|
12710
12822
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12711
12823
|
|
|
12712
12824
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12729,7 +12841,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12729
12841
|
}
|
|
12730
12842
|
|
|
12731
12843
|
/***/ }),
|
|
12732
|
-
/*
|
|
12844
|
+
/* 322 */
|
|
12733
12845
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12734
12846
|
|
|
12735
12847
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12752,7 +12864,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12752
12864
|
}
|
|
12753
12865
|
|
|
12754
12866
|
/***/ }),
|
|
12755
|
-
/*
|
|
12867
|
+
/* 323 */
|
|
12756
12868
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12757
12869
|
|
|
12758
12870
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12775,7 +12887,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12775
12887
|
}
|
|
12776
12888
|
|
|
12777
12889
|
/***/ }),
|
|
12778
|
-
/*
|
|
12890
|
+
/* 324 */
|
|
12779
12891
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12780
12892
|
|
|
12781
12893
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12798,7 +12910,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12798
12910
|
}
|
|
12799
12911
|
|
|
12800
12912
|
/***/ }),
|
|
12801
|
-
/*
|
|
12913
|
+
/* 325 */
|
|
12802
12914
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12803
12915
|
|
|
12804
12916
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12821,7 +12933,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12821
12933
|
}
|
|
12822
12934
|
|
|
12823
12935
|
/***/ }),
|
|
12824
|
-
/*
|
|
12936
|
+
/* 326 */
|
|
12825
12937
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12826
12938
|
|
|
12827
12939
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12844,7 +12956,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12844
12956
|
}
|
|
12845
12957
|
|
|
12846
12958
|
/***/ }),
|
|
12847
|
-
/*
|
|
12959
|
+
/* 327 */
|
|
12848
12960
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12849
12961
|
|
|
12850
12962
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12867,7 +12979,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
12867
12979
|
}
|
|
12868
12980
|
|
|
12869
12981
|
/***/ }),
|
|
12870
|
-
/*
|
|
12982
|
+
/* 328 */
|
|
12871
12983
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12872
12984
|
|
|
12873
12985
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12890,7 +13002,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12890
13002
|
}
|
|
12891
13003
|
|
|
12892
13004
|
/***/ }),
|
|
12893
|
-
/*
|
|
13005
|
+
/* 329 */
|
|
12894
13006
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12895
13007
|
|
|
12896
13008
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12913,7 +13025,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
12913
13025
|
}
|
|
12914
13026
|
|
|
12915
13027
|
/***/ }),
|
|
12916
|
-
/*
|
|
13028
|
+
/* 330 */
|
|
12917
13029
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12918
13030
|
|
|
12919
13031
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12936,7 +13048,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
12936
13048
|
}
|
|
12937
13049
|
|
|
12938
13050
|
/***/ }),
|
|
12939
|
-
/*
|
|
13051
|
+
/* 331 */
|
|
12940
13052
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12941
13053
|
|
|
12942
13054
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12959,7 +13071,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
12959
13071
|
}
|
|
12960
13072
|
|
|
12961
13073
|
/***/ }),
|
|
12962
|
-
/*
|
|
13074
|
+
/* 332 */
|
|
12963
13075
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12964
13076
|
|
|
12965
13077
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -12982,7 +13094,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
12982
13094
|
}
|
|
12983
13095
|
|
|
12984
13096
|
/***/ }),
|
|
12985
|
-
/*
|
|
13097
|
+
/* 333 */
|
|
12986
13098
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12987
13099
|
|
|
12988
13100
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13005,7 +13117,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
13005
13117
|
}
|
|
13006
13118
|
|
|
13007
13119
|
/***/ }),
|
|
13008
|
-
/*
|
|
13120
|
+
/* 334 */
|
|
13009
13121
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13010
13122
|
|
|
13011
13123
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13028,7 +13140,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
13028
13140
|
}
|
|
13029
13141
|
|
|
13030
13142
|
/***/ }),
|
|
13031
|
-
/*
|
|
13143
|
+
/* 335 */
|
|
13032
13144
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13033
13145
|
|
|
13034
13146
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13051,7 +13163,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
13051
13163
|
}
|
|
13052
13164
|
|
|
13053
13165
|
/***/ }),
|
|
13054
|
-
/*
|
|
13166
|
+
/* 336 */
|
|
13055
13167
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13056
13168
|
|
|
13057
13169
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13074,7 +13186,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
13074
13186
|
}
|
|
13075
13187
|
|
|
13076
13188
|
/***/ }),
|
|
13077
|
-
/*
|
|
13189
|
+
/* 337 */
|
|
13078
13190
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13079
13191
|
|
|
13080
13192
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13083,22 +13195,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13083
13195
|
/* harmony export */ "convexUtils": () => (/* reexport module object */ _convex_utils__WEBPACK_IMPORTED_MODULE_3__),
|
|
13084
13196
|
/* harmony export */ "curveUtils": () => (/* reexport module object */ _curve_utils__WEBPACK_IMPORTED_MODULE_5__),
|
|
13085
13197
|
/* harmony export */ "curveusdUtils": () => (/* reexport module object */ _curveusd_utils__WEBPACK_IMPORTED_MODULE_6__),
|
|
13086
|
-
/* harmony export */ "llamaLenUtils": () => (/* reexport module object */ _llamalend_utils__WEBPACK_IMPORTED_MODULE_8__),
|
|
13087
13198
|
/* harmony export */ "mstableAssetPairs": () => (/* reexport safe */ _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
13088
13199
|
/* harmony export */ "uniswapLP": () => (/* reexport module object */ _uniswapLP__WEBPACK_IMPORTED_MODULE_1__),
|
|
13089
13200
|
/* harmony export */ "uniswapV3LP": () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
13090
13201
|
/* harmony export */ "zeroExExchange": () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
13091
13202
|
/* harmony export */ });
|
|
13092
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13203
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(338);
|
|
13093
13204
|
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(129);
|
|
13094
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
13205
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(340);
|
|
13095
13206
|
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(228);
|
|
13096
13207
|
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(209);
|
|
13097
13208
|
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(195);
|
|
13098
13209
|
/* harmony import */ var _curveusd_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(269);
|
|
13099
13210
|
/* harmony import */ var _basic_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(93);
|
|
13100
|
-
/* harmony import */ var _llamalend_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(304);
|
|
13101
|
-
|
|
13102
13211
|
|
|
13103
13212
|
|
|
13104
13213
|
|
|
@@ -13110,7 +13219,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13110
13219
|
|
|
13111
13220
|
|
|
13112
13221
|
/***/ }),
|
|
13113
|
-
/*
|
|
13222
|
+
/* 338 */
|
|
13114
13223
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13115
13224
|
|
|
13116
13225
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -13121,7 +13230,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13121
13230
|
/* harmony export */ });
|
|
13122
13231
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
13123
13232
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
13124
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13233
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(339);
|
|
13125
13234
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
13126
13235
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
13127
13236
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -13324,20 +13433,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
13324
13433
|
}();
|
|
13325
13434
|
|
|
13326
13435
|
/***/ }),
|
|
13327
|
-
/*
|
|
13436
|
+
/* 339 */
|
|
13328
13437
|
/***/ ((module) => {
|
|
13329
13438
|
|
|
13330
|
-
module.exports =
|
|
13439
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__339__;
|
|
13331
13440
|
|
|
13332
13441
|
/***/ }),
|
|
13333
|
-
/*
|
|
13442
|
+
/* 340 */
|
|
13334
13443
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13335
13444
|
|
|
13336
13445
|
__webpack_require__.r(__webpack_exports__);
|
|
13337
13446
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13338
13447
|
/* harmony export */ "getAssetAddrByTokenId": () => (/* binding */ getAssetAddrByTokenId)
|
|
13339
13448
|
/* harmony export */ });
|
|
13340
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13449
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(341);
|
|
13341
13450
|
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); } }
|
|
13342
13451
|
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); }); }; }
|
|
13343
13452
|
/**
|
|
@@ -13362,7 +13471,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
13362
13471
|
}();
|
|
13363
13472
|
|
|
13364
13473
|
/***/ }),
|
|
13365
|
-
/*
|
|
13474
|
+
/* 341 */
|
|
13366
13475
|
/***/ ((module) => {
|
|
13367
13476
|
|
|
13368
13477
|
module.exports = 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"}]');
|
|
@@ -13466,8 +13575,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13466
13575
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
13467
13576
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
13468
13577
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
13469
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
13470
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
13578
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(314);
|
|
13579
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(337);
|
|
13471
13580
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
13472
13581
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
13473
13582
|
/* Export types here */
|