@defisaver/sdk 1.0.61 → 1.0.63-dev-1
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/Action.d.ts +2 -2
- package/esm/src/actions/aave/AaveBorrowAction.js +8 -0
- package/esm/src/actions/basic/ApproveTokenAction.js +5 -0
- package/esm/src/actions/basic/ExecuteSafeTxAction.d.ts +23 -0
- package/esm/src/actions/basic/ExecuteSafeTxAction.js +60 -0
- package/esm/src/actions/basic/LSVSellAction.d.ts +23 -0
- package/esm/src/actions/basic/LSVSellAction.js +61 -0
- package/esm/src/actions/basic/LimitSellAction.d.ts +24 -0
- package/esm/src/actions/basic/LimitSellAction.js +63 -0
- package/esm/src/actions/basic/RemoveTokenApprovalAction.d.ts +15 -0
- package/esm/src/actions/basic/RemoveTokenApprovalAction.js +42 -0
- package/esm/src/actions/basic/index.d.ts +5 -1
- package/esm/src/actions/basic/index.js +5 -1
- package/esm/src/actions/checkers/AaveV2RatioCheckAction.d.ts +14 -0
- package/esm/src/actions/checkers/AaveV2RatioCheckAction.js +20 -0
- package/esm/src/actions/checkers/CompoundV2RatioCheckAction.d.ts +14 -0
- package/esm/src/actions/checkers/CompoundV2RatioCheckAction.js +20 -0
- package/esm/src/actions/checkers/CurveUsdCollRatioCheck.d.ts +15 -0
- package/esm/src/actions/checkers/CurveUsdCollRatioCheck.js +22 -0
- package/esm/src/actions/checkers/index.d.ts +4 -1
- package/esm/src/actions/checkers/index.js +4 -1
- package/esm/src/actions/curveusd/CurveUsdGetDebtAction.d.ts +8 -0
- package/esm/src/actions/curveusd/CurveUsdGetDebtAction.js +13 -0
- package/esm/src/actions/curveusd/index.d.ts +1 -0
- package/esm/src/actions/curveusd/index.js +1 -0
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.d.ts +18 -0
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.js +28 -0
- package/esm/src/actions/flashloan/FLAction.js +3 -0
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.d.ts +16 -0
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.js +18 -0
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.d.ts +14 -0
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.js +16 -0
- package/esm/src/actions/flashloan/index.d.ts +3 -0
- package/esm/src/actions/flashloan/index.js +3 -0
- package/esm/src/actions/index.d.ts +3 -1
- package/esm/src/actions/index.js +3 -1
- package/esm/src/actions/lsv/LSVBorrowAction.d.ts +14 -0
- package/esm/src/actions/lsv/LSVBorrowAction.js +19 -0
- package/esm/src/actions/lsv/LSVPaybackAction.d.ts +13 -0
- package/esm/src/actions/lsv/LSVPaybackAction.js +18 -0
- package/esm/src/actions/lsv/LSVSupplyAction.d.ts +15 -0
- package/esm/src/actions/lsv/LSVSupplyAction.js +21 -0
- package/esm/src/actions/lsv/LSVWithdrawAction.d.ts +15 -0
- package/esm/src/actions/lsv/LSVWithdrawAction.js +21 -0
- package/esm/src/actions/lsv/index.d.ts +4 -0
- package/esm/src/actions/lsv/index.js +4 -0
- package/esm/src/actions/maker/MakerGiveAction.d.ts +1 -2
- package/esm/src/actions/maker/MakerGiveAction.js +2 -3
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.d.ts +14 -0
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.js +24 -0
- package/esm/src/actions/morpho/index.d.ts +1 -0
- package/esm/src/actions/morpho/index.js +1 -0
- package/esm/src/actions/morpho-blue/MorphoBlueBorrowAction.d.ts +21 -0
- package/esm/src/actions/morpho-blue/MorphoBlueBorrowAction.js +46 -0
- package/esm/src/actions/morpho-blue/MorphoBluePaybackAction.d.ts +24 -0
- package/esm/src/actions/morpho-blue/MorphoBluePaybackAction.js +46 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthAction.d.ts +12 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthAction.js +18 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.d.ts +12 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.js +21 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyAction.d.ts +24 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyAction.js +46 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.d.ts +24 -0
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.js +46 -0
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawAction.d.ts +21 -0
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawAction.js +46 -0
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.d.ts +21 -0
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.js +46 -0
- package/esm/src/actions/morpho-blue/index.d.ts +8 -0
- package/esm/src/actions/morpho-blue/index.js +8 -0
- package/esm/src/addresses.d.ts +79 -3
- package/esm/src/addresses.js +24 -3
- package/esm/src/index.d.ts +316 -12
- package/esm/src/triggers/AaveV2RatioTrigger.d.ts +10 -0
- package/esm/src/triggers/AaveV2RatioTrigger.js +12 -0
- package/esm/src/triggers/CurveUsdCollRatioTrigger.d.ts +10 -0
- package/esm/src/triggers/CurveUsdCollRatioTrigger.js +12 -0
- package/esm/src/triggers/OffchainPriceTrigger.d.ts +10 -0
- package/esm/src/triggers/OffchainPriceTrigger.js +12 -0
- package/esm/src/triggers/index.d.ts +3 -0
- package/esm/src/triggers/index.js +3 -0
- package/esm/src/types.d.ts +20 -20
- package/esm/src/utils/curveusd-utils.d.ts +10 -0
- package/esm/src/utils/curveusd-utils.js +7 -3
- package/package.json +1 -1
- package/src/actions/aave/AaveBorrowAction.ts +9 -0
- package/src/actions/basic/ApproveTokenAction.ts +5 -0
- package/src/actions/basic/ExecuteSafeTxAction.ts +85 -0
- package/src/actions/basic/LSVSellAction.ts +61 -0
- package/src/actions/basic/LimitSellAction.ts +63 -0
- package/src/actions/basic/RemoveTokenApprovalAction.ts +39 -0
- package/src/actions/basic/index.ts +5 -1
- package/src/actions/checkers/AaveV2RatioCheckAction.ts +23 -0
- package/src/actions/checkers/CompoundV2RatioCheckAction.ts +23 -0
- package/src/actions/checkers/CurveUsdCollRatioCheck.ts +25 -0
- package/src/actions/checkers/index.ts +4 -1
- package/src/actions/curveusd/CurveUsdGetDebtAction.ts +21 -0
- package/src/actions/curveusd/index.ts +2 -1
- package/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.ts +35 -0
- package/src/actions/flashloan/FLAction.ts +3 -0
- package/src/actions/flashloan/MorphoBlueFlashLoanAction.ts +25 -0
- package/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.ts +18 -0
- package/src/actions/flashloan/index.ts +4 -1
- package/src/actions/index.ts +4 -0
- package/src/actions/lsv/LSVBorrowAction.ts +21 -0
- package/src/actions/lsv/LSVPaybackAction.ts +20 -0
- package/src/actions/lsv/LSVSupplyAction.ts +23 -0
- package/src/actions/lsv/LSVWithdrawAction.ts +23 -0
- package/src/actions/lsv/index.ts +4 -0
- package/src/actions/maker/MakerGiveAction.ts +2 -3
- package/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.ts +32 -0
- package/src/actions/morpho/index.ts +1 -0
- package/src/actions/morpho-blue/MorphoBlueBorrowAction.ts +54 -0
- package/src/actions/morpho-blue/MorphoBluePaybackAction.ts +54 -0
- package/src/actions/morpho-blue/MorphoBlueSetAuthAction.ts +25 -0
- package/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.ts +39 -0
- package/src/actions/morpho-blue/MorphoBlueSupplyAction.ts +54 -0
- package/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.ts +54 -0
- package/src/actions/morpho-blue/MorphoBlueWithdrawAction.ts +54 -0
- package/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.ts +54 -0
- package/src/actions/morpho-blue/index.ts +8 -0
- package/src/addresses.ts +26 -3
- package/src/triggers/AaveV2RatioTrigger.ts +14 -0
- package/src/triggers/CurveUsdCollRatioTrigger.ts +14 -0
- package/src/triggers/OffchainPriceTrigger.ts +14 -0
- package/src/triggers/index.ts +4 -0
- package/src/utils/basic-utils.ts +1 -1
- package/src/utils/curveusd-utils.ts +7 -3
- package/umd/index.js +1627 -584
- package/yarn-error.log +0 -3976
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__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__129__, __WEBPACK_EXTERNAL_MODULE__130__, __WEBPACK_EXTERNAL_MODULE__320__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -30,9 +30,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
30
30
|
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); }); }; }
|
|
31
31
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
32
32
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
33
|
-
function _defineProperty(obj, key, value) {
|
|
34
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
35
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
33
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
36
34
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
37
35
|
|
|
38
36
|
|
|
@@ -418,9 +416,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
418
416
|
/* harmony import */ var _UtilsAccessLists__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(24);
|
|
419
417
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
420
418
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
421
|
-
function _defineProperty(obj, key, value) {
|
|
422
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
423
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
419
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
424
420
|
|
|
425
421
|
|
|
426
422
|
|
|
@@ -1080,9 +1076,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
1080
1076
|
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); }); }; }
|
|
1081
1077
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
1082
1078
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
1083
|
-
function _defineProperty(obj, key, value) {
|
|
1084
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
1085
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1079
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1086
1080
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
1087
1081
|
|
|
1088
1082
|
|
|
@@ -1169,7 +1163,7 @@ class Recipe {
|
|
|
1169
1163
|
var uniqueAssetOwnerPairs = [];
|
|
1170
1164
|
var assetOwnerPairs = yield Promise.all(_this.actions.map(a => a.getAssetsToApprove()));
|
|
1171
1165
|
for (var pairsPerAction of assetOwnerPairs) {
|
|
1172
|
-
var _loop = function
|
|
1166
|
+
var _loop = function _loop(pair) {
|
|
1173
1167
|
var isNft = !pair.asset;
|
|
1174
1168
|
if (!uniqueAssetOwnerPairs.find(_pair => _pair.owner === pair.owner && (isNft ? _pair.tokenId === pair.tokenId : _pair.asset === pair.asset))) {
|
|
1175
1169
|
if (isNft) {
|
|
@@ -1189,7 +1183,7 @@ class Recipe {
|
|
|
1189
1183
|
}
|
|
1190
1184
|
};
|
|
1191
1185
|
for (var pair of pairsPerAction) {
|
|
1192
|
-
|
|
1186
|
+
_loop(pair);
|
|
1193
1187
|
}
|
|
1194
1188
|
}
|
|
1195
1189
|
return uniqueAssetOwnerPairs.filter(_ref2 => {
|
|
@@ -1272,11 +1266,12 @@ var actionAddresses = {
|
|
|
1272
1266
|
UpdateSub: '0xF6Cb8f7e61a64075ec8FAC3f298745605E543233',
|
|
1273
1267
|
TransferNFT: '0x861e893E1796F81248e75F06C0b09Abdc8fe2f6F',
|
|
1274
1268
|
CreateSub: '0x7308e88BB21B934478E75bB6A2143b8cfDFf2961',
|
|
1269
|
+
ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
|
|
1275
1270
|
SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
|
|
1276
1271
|
SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
|
|
1277
1272
|
TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
|
|
1278
1273
|
// exchange
|
|
1279
|
-
DFSSell: '
|
|
1274
|
+
DFSSell: '0x561013c605A17f5dC5b738C8a3fF9c5F33DbC3d8',
|
|
1280
1275
|
// maker
|
|
1281
1276
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
1282
1277
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -1318,6 +1313,12 @@ var actionAddresses = {
|
|
|
1318
1313
|
AaveV3Borrow: '0x7079ba1Bd00EeFCD2a260BbD6D088230505e3858',
|
|
1319
1314
|
AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
|
|
1320
1315
|
AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
|
|
1316
|
+
// LSV action
|
|
1317
|
+
LSVWithdraw: '0x0A4Ef5ADf759064b546441a50109eCbC2528A455',
|
|
1318
|
+
LSVBorrow: '0x7dFB434527Fdb39854156cDBa9bF4799E36E7e82',
|
|
1319
|
+
LSVSupply: '0x984c00DC098c98bed1CDfe2Ed786Fe1443da6671',
|
|
1320
|
+
LSVPayback: '0x10749CE97583dBcEb54a083386CC8438C4e0FE65',
|
|
1321
|
+
LSVSell: '0x0c1bb9A39d4A0EF4215Ade19Ce4F954E8419Dfd7',
|
|
1321
1322
|
// morpho aave v2
|
|
1322
1323
|
MorphoAaveV2Borrow: '0xa85C3E41Bf9F75a381927e1Aa9b00f77C4631109',
|
|
1323
1324
|
MorphoAaveV2Payback: '0x5dd0E0835acbb08aa4A4599d70fB2d93969fa7b7',
|
|
@@ -1329,6 +1330,7 @@ var actionAddresses = {
|
|
|
1329
1330
|
MorphoAaveV3Payback: '0x36b8b968c81D97cBfAa642e206b634A6f378d287',
|
|
1330
1331
|
MorphoAaveV3Supply: '0x51fA8FBc6F0aDEfe2FBA06104FCA39f5beD69291',
|
|
1331
1332
|
MorphoAaveV3Withdraw: '0xdc3e74C4cD577275296ceFE36A3D082223AfF206',
|
|
1333
|
+
MorphoAaveV3SetManager: '0x1082AE0565504E3617BD5b6E80f91B59b81a82D9',
|
|
1332
1334
|
// spark
|
|
1333
1335
|
SparkBorrow: '0x3E2C366065bA0f6f9936C2C6A802D72F250b27AA',
|
|
1334
1336
|
SparkClaimRewards: '0x9C3E31f42a46676785C72401cD4F2287b355b003',
|
|
@@ -1351,14 +1353,16 @@ var actionAddresses = {
|
|
|
1351
1353
|
// flashloan
|
|
1352
1354
|
FLAaveV2: '0xEA55576383C96A69B3E8beD51Ce0d0294001bc5F',
|
|
1353
1355
|
FLAaveV3NoFee: '0xd9D8e68717Ce24CCbf162868aaad7E38d81b05d1',
|
|
1356
|
+
FLAaveV3CarryDebt: '0x7BdD8ACE8a48B7032Df68B7f53E0D6D9Ea9411A7',
|
|
1354
1357
|
FLAaveV3: '0x5021d70aB7D757D61E0230c472ff89b8B2B8705e',
|
|
1355
1358
|
FLDyDx: '0x08AC78B418fCB0DDF1096533856A757C28d430d7',
|
|
1356
1359
|
FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
|
|
1357
1360
|
FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
|
|
1358
1361
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
1359
|
-
FLAction: '
|
|
1362
|
+
FLAction: '0x2b10B000292745099Deb15304A247c0816bd8b73',
|
|
1360
1363
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
1361
1364
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
1365
|
+
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
1362
1366
|
// uniswap
|
|
1363
1367
|
UniSupply: '0x9935e12F0218E61c27D7f23eAC9A9D6881a078eC',
|
|
1364
1368
|
UniWithdraw: '0xf8bb8F68b0A45DC315F3f7602a60cfb274B00951',
|
|
@@ -1455,7 +1459,18 @@ var actionAddresses = {
|
|
|
1455
1459
|
CurveUsdRepay: '0xd12785e4834C1421fC7B64ca57d64E886e39b80F',
|
|
1456
1460
|
CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
|
|
1457
1461
|
CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
|
|
1458
|
-
CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF'
|
|
1462
|
+
CurveUsdSelfLiquidateWithColl: '0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF',
|
|
1463
|
+
CurveUsdGetDebt: '0x3Bb41d3f300dA758780fe7696bb4fB93cD7172fB',
|
|
1464
|
+
CurveUsdCollRatioTrigger: '0xFCc610809b735BB13E583c5E46595457083D2b0c',
|
|
1465
|
+
CurveUsdCollRatioCheck: '0x8c65f37ca216de1625886431249be13ead051388',
|
|
1466
|
+
MorphoBlueSupply: '0x1D0F6027Eeb118dEc06055735eE840E3Fe3E6f9a',
|
|
1467
|
+
MorphoBlueSupplyCollateral: '0x1cdAC5D4b207e8DBd308504BbedD5D1BD19D26ac',
|
|
1468
|
+
MorphoBlueWithdraw: '0xE97c7D2838D068C967B7c40080e09A08B9b11fca',
|
|
1469
|
+
MorphoBlueWithdrawCollateral: '0xF339F5272E48f9b2c074dcCF7e169259465A4872',
|
|
1470
|
+
MorphoBlueBorrow: '0xcc05A3e06DA9Bd2827C7e86a96C63EAda3935AA0',
|
|
1471
|
+
MorphoBluePayback: '0x9f437E5F705E02d77adC2e72C34926978776b085',
|
|
1472
|
+
MorphoBlueSetAuth: '0xf30935e20c6357c7bcecd5e58ad6de26d54b9f64',
|
|
1473
|
+
MorphoBlueSetAuthWithSig: '0xE2d5fCDBf73BAd24A0FCAf6B2733933A98021808'
|
|
1459
1474
|
},
|
|
1460
1475
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1461
1476
|
DFSSell: '0xC6c601fcAa870efd26C624F8c65fbc54cBe533b1',
|
|
@@ -1572,7 +1587,7 @@ var actionAddresses = {
|
|
|
1572
1587
|
};
|
|
1573
1588
|
var otherAddresses = {
|
|
1574
1589
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
|
|
1575
|
-
RecipeExecutor: '
|
|
1590
|
+
RecipeExecutor: '0x10B748Dc504C2515Bb6A9e23CB2F686090b6c584',
|
|
1576
1591
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
1577
1592
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
1578
1593
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -1655,9 +1670,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1655
1670
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1656
1671
|
/* harmony export */ "Strategy": () => (/* binding */ Strategy)
|
|
1657
1672
|
/* harmony export */ });
|
|
1658
|
-
function _defineProperty(obj, key, value) {
|
|
1659
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
1660
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1673
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1661
1674
|
/**
|
|
1662
1675
|
*
|
|
1663
1676
|
* @category Base Classes
|
|
@@ -1727,9 +1740,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
1727
1740
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1728
1741
|
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); } }
|
|
1729
1742
|
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); }); }; }
|
|
1730
|
-
function _defineProperty(obj, key, value) {
|
|
1731
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
1732
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1743
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1733
1744
|
|
|
1734
1745
|
|
|
1735
1746
|
|
|
@@ -1737,6 +1748,7 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
|
1737
1748
|
|
|
1738
1749
|
|
|
1739
1750
|
// reports error but it works ?????
|
|
1751
|
+
|
|
1740
1752
|
/**
|
|
1741
1753
|
*
|
|
1742
1754
|
* @category Base Classes
|
|
@@ -1903,19 +1915,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1903
1915
|
/* harmony export */ "compoundV3": () => (/* reexport module object */ _compoundV3__WEBPACK_IMPORTED_MODULE_22__),
|
|
1904
1916
|
/* harmony export */ "convex": () => (/* reexport module object */ _convex__WEBPACK_IMPORTED_MODULE_20__),
|
|
1905
1917
|
/* harmony export */ "curve": () => (/* reexport module object */ _curve__WEBPACK_IMPORTED_MODULE_15__),
|
|
1906
|
-
/* harmony export */ "curveusd": () => (/* reexport module object */
|
|
1918
|
+
/* harmony export */ "curveusd": () => (/* reexport module object */ _curveusd__WEBPACK_IMPORTED_MODULE_26__),
|
|
1907
1919
|
/* harmony export */ "dydx": () => (/* reexport module object */ _dydx__WEBPACK_IMPORTED_MODULE_7__),
|
|
1908
1920
|
/* harmony export */ "flashloan": () => (/* reexport module object */ _flashloan__WEBPACK_IMPORTED_MODULE_4__),
|
|
1909
1921
|
/* harmony export */ "guni": () => (/* reexport module object */ _guni__WEBPACK_IMPORTED_MODULE_16__),
|
|
1910
1922
|
/* harmony export */ "insta": () => (/* reexport module object */ _insta__WEBPACK_IMPORTED_MODULE_13__),
|
|
1911
1923
|
/* harmony export */ "lido": () => (/* reexport module object */ _lido__WEBPACK_IMPORTED_MODULE_12__),
|
|
1912
1924
|
/* harmony export */ "liquity": () => (/* reexport module object */ _liquity__WEBPACK_IMPORTED_MODULE_10__),
|
|
1925
|
+
/* harmony export */ "lsv": () => (/* reexport module object */ _lsv__WEBPACK_IMPORTED_MODULE_25__),
|
|
1913
1926
|
/* harmony export */ "maker": () => (/* reexport module object */ _maker__WEBPACK_IMPORTED_MODULE_0__),
|
|
1914
1927
|
/* harmony export */ "morpho": () => (/* reexport module object */ _morpho__WEBPACK_IMPORTED_MODULE_23__),
|
|
1928
|
+
/* harmony export */ "morphoblue": () => (/* reexport module object */ _morpho_blue__WEBPACK_IMPORTED_MODULE_28__),
|
|
1915
1929
|
/* harmony export */ "mstable": () => (/* reexport module object */ _mstable__WEBPACK_IMPORTED_MODULE_17__),
|
|
1916
1930
|
/* harmony export */ "rari": () => (/* reexport module object */ _rari__WEBPACK_IMPORTED_MODULE_18__),
|
|
1917
1931
|
/* harmony export */ "reflexer": () => (/* reexport module object */ _reflexer__WEBPACK_IMPORTED_MODULE_6__),
|
|
1918
|
-
/* harmony export */ "spark": () => (/* reexport module object */
|
|
1932
|
+
/* harmony export */ "spark": () => (/* reexport module object */ _spark__WEBPACK_IMPORTED_MODULE_27__),
|
|
1919
1933
|
/* harmony export */ "uniswap": () => (/* reexport module object */ _uniswap__WEBPACK_IMPORTED_MODULE_5__),
|
|
1920
1934
|
/* harmony export */ "uniswapV3": () => (/* reexport module object */ _uniswapV3__WEBPACK_IMPORTED_MODULE_8__),
|
|
1921
1935
|
/* harmony export */ "yearn": () => (/* reexport module object */ _yearn__WEBPACK_IMPORTED_MODULE_11__)
|
|
@@ -1924,29 +1938,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1924
1938
|
/* harmony import */ var _aave__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51);
|
|
1925
1939
|
/* harmony import */ var _compound__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(61);
|
|
1926
1940
|
/* harmony import */ var _basic__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69);
|
|
1927
|
-
/* harmony import */ var _flashloan__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
1928
|
-
/* harmony import */ var _uniswap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
1929
|
-
/* harmony import */ var _reflexer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
1930
|
-
/* harmony import */ var _dydx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
1931
|
-
/* harmony import */ var _uniswapV3__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
1932
|
-
/* harmony import */ var _checkers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
1933
|
-
/* harmony import */ var _liquity__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
1934
|
-
/* harmony import */ var _yearn__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
1935
|
-
/* harmony import */ var _lido__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
1936
|
-
/* harmony import */ var _insta__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
1937
|
-
/* harmony import */ var _balancer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
1938
|
-
/* harmony import */ var _curve__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
1939
|
-
/* harmony import */ var _guni__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
1940
|
-
/* harmony import */ var _mstable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
1941
|
-
/* harmony import */ var _rari__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
1942
|
-
/* harmony import */ var _aaveV3__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
1943
|
-
/* harmony import */ var _convex__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
1944
|
-
/* harmony import */ var _chickenBonds__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
1945
|
-
/* harmony import */ var _compoundV3__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
1946
|
-
/* harmony import */ var _morpho__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
|
|
1947
|
-
/* harmony import */ var _bprotocol__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
|
1948
|
-
/* harmony import */ var
|
|
1949
|
-
/* harmony import */ var
|
|
1941
|
+
/* harmony import */ var _flashloan__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(100);
|
|
1942
|
+
/* harmony import */ var _uniswap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(125);
|
|
1943
|
+
/* harmony import */ var _reflexer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(131);
|
|
1944
|
+
/* harmony import */ var _dydx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(140);
|
|
1945
|
+
/* harmony import */ var _uniswapV3__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(142);
|
|
1946
|
+
/* harmony import */ var _checkers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(148);
|
|
1947
|
+
/* harmony import */ var _liquity__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(159);
|
|
1948
|
+
/* harmony import */ var _yearn__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(176);
|
|
1949
|
+
/* harmony import */ var _lido__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(179);
|
|
1950
|
+
/* harmony import */ var _insta__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(183);
|
|
1951
|
+
/* harmony import */ var _balancer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(185);
|
|
1952
|
+
/* harmony import */ var _curve__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(189);
|
|
1953
|
+
/* harmony import */ var _guni__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(201);
|
|
1954
|
+
/* harmony import */ var _mstable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(204);
|
|
1955
|
+
/* harmony import */ var _rari__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(209);
|
|
1956
|
+
/* harmony import */ var _aaveV3__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(212);
|
|
1957
|
+
/* harmony import */ var _convex__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(223);
|
|
1958
|
+
/* harmony import */ var _chickenBonds__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(229);
|
|
1959
|
+
/* harmony import */ var _compoundV3__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(237);
|
|
1960
|
+
/* harmony import */ var _morpho__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(245);
|
|
1961
|
+
/* harmony import */ var _bprotocol__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(256);
|
|
1962
|
+
/* harmony import */ var _lsv__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(259);
|
|
1963
|
+
/* harmony import */ var _curveusd__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(264);
|
|
1964
|
+
/* harmony import */ var _spark__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(277);
|
|
1965
|
+
/* harmony import */ var _morpho_blue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(288);
|
|
1966
|
+
|
|
1967
|
+
|
|
1950
1968
|
|
|
1951
1969
|
|
|
1952
1970
|
|
|
@@ -2279,13 +2297,12 @@ class MakerGiveAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
2279
2297
|
/**
|
|
2280
2298
|
* @param vaultId
|
|
2281
2299
|
* @param newOwner
|
|
2282
|
-
* @param createProxy
|
|
2283
2300
|
* @param mcdManager
|
|
2284
2301
|
*/
|
|
2285
|
-
constructor(vaultId, newOwner
|
|
2286
|
-
var mcdManager = arguments.length >
|
|
2302
|
+
constructor(vaultId, newOwner) {
|
|
2303
|
+
var mcdManager = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('McdCdpManager');
|
|
2287
2304
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(newOwner);
|
|
2288
|
-
super('McdGive', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('McdGive'), ['uint256', 'address', '
|
|
2305
|
+
super('McdGive', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('McdGive'), ['uint256', 'address', 'address'], [vaultId, newOwner, mcdManager]);
|
|
2289
2306
|
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
2290
2307
|
}
|
|
2291
2308
|
}
|
|
@@ -2590,6 +2607,7 @@ class AaveBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
2590
2607
|
var onBehalf = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('Empty');
|
|
2591
2608
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_1__.requireAddress)(to);
|
|
2592
2609
|
super('AaveBorrow', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('AaveBorrow'), ['address', 'address', 'uint256', 'uint256', 'address', 'address'], [market, tokenAddr, amount, rateMode, to, onBehalf]);
|
|
2610
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4], this.args[5]];
|
|
2593
2611
|
}
|
|
2594
2612
|
}
|
|
2595
2613
|
|
|
@@ -3143,15 +3161,19 @@ class CompoundGetDebtAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
3143
3161
|
|
|
3144
3162
|
__webpack_require__.r(__webpack_exports__);
|
|
3145
3163
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3146
|
-
/* harmony export */ "ApproveTokenAction": () => (/* reexport safe */
|
|
3164
|
+
/* harmony export */ "ApproveTokenAction": () => (/* reexport safe */ _ApproveTokenAction__WEBPACK_IMPORTED_MODULE_19__.ApproveTokenAction),
|
|
3147
3165
|
/* harmony export */ "AutomationV2Unsub": () => (/* reexport safe */ _AutomationV2Unsub__WEBPACK_IMPORTED_MODULE_10__.AutomationV2Unsub),
|
|
3148
3166
|
/* harmony export */ "ChangeProxyOwnerAction": () => (/* reexport safe */ _ChangeProxyOwnerAction__WEBPACK_IMPORTED_MODULE_8__.ChangeProxyOwnerAction),
|
|
3149
3167
|
/* harmony export */ "CreateSubAction": () => (/* reexport safe */ _CreateSubAction__WEBPACK_IMPORTED_MODULE_17__.CreateSubAction),
|
|
3168
|
+
/* harmony export */ "ExecuteSafeTxAction": () => (/* reexport safe */ _ExecuteSafeTxAction__WEBPACK_IMPORTED_MODULE_27__.ExecuteSafeTxAction),
|
|
3150
3169
|
/* harmony export */ "GasFeeAction": () => (/* reexport safe */ _GasFeeAction__WEBPACK_IMPORTED_MODULE_11__.GasFeeAction),
|
|
3151
3170
|
/* harmony export */ "GasFeeActionL2": () => (/* reexport safe */ _GasFeeActionL2__WEBPACK_IMPORTED_MODULE_14__.GasFeeActionL2),
|
|
3171
|
+
/* harmony export */ "LSVSellAction": () => (/* reexport safe */ _LSVSellAction__WEBPACK_IMPORTED_MODULE_18__.LSVSellAction),
|
|
3172
|
+
/* harmony export */ "LimitSellAction": () => (/* reexport safe */ _LimitSellAction__WEBPACK_IMPORTED_MODULE_26__.LimitSellAction),
|
|
3152
3173
|
/* harmony export */ "PullTokenAction": () => (/* reexport safe */ _PullTokenAction__WEBPACK_IMPORTED_MODULE_3__.PullTokenAction),
|
|
3153
|
-
/* harmony export */ "
|
|
3154
|
-
/* harmony export */ "
|
|
3174
|
+
/* harmony export */ "RemoveTokenApprovalAction": () => (/* reexport safe */ _RemoveTokenApprovalAction__WEBPACK_IMPORTED_MODULE_28__.RemoveTokenApprovalAction),
|
|
3175
|
+
/* harmony export */ "SDaiUnwrapAction": () => (/* reexport safe */ _SDaiUnwrapAction__WEBPACK_IMPORTED_MODULE_21__.SDaiUnwrapAction),
|
|
3176
|
+
/* harmony export */ "SDaiWrapAction": () => (/* reexport safe */ _SDaiWrapAction__WEBPACK_IMPORTED_MODULE_20__.SDaiWrapAction),
|
|
3155
3177
|
/* harmony export */ "SellAction": () => (/* reexport safe */ _SellAction__WEBPACK_IMPORTED_MODULE_0__.SellAction),
|
|
3156
3178
|
/* harmony export */ "SendTokenAction": () => (/* reexport safe */ _SendTokenAction__WEBPACK_IMPORTED_MODULE_1__.SendTokenAction),
|
|
3157
3179
|
/* harmony export */ "SendTokenAndUnwrapAction": () => (/* reexport safe */ _SendTokenAndUnwrapAction__WEBPACK_IMPORTED_MODULE_2__.SendTokenAndUnwrapAction),
|
|
@@ -3160,10 +3182,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3160
3182
|
/* harmony export */ "SumInputsAction": () => (/* reexport safe */ _SumInputsAction__WEBPACK_IMPORTED_MODULE_6__.SumInputsAction),
|
|
3161
3183
|
/* harmony export */ "ToggleSubAction": () => (/* reexport safe */ _ToggleSubAction__WEBPACK_IMPORTED_MODULE_13__.ToggleSubAction),
|
|
3162
3184
|
/* harmony export */ "TokenBalanceAction": () => (/* reexport safe */ _TokenBalanceAction__WEBPACK_IMPORTED_MODULE_9__.TokenBalanceAction),
|
|
3163
|
-
/* harmony export */ "TokenizedVaultAdapterDepositAction": () => (/* reexport safe */
|
|
3164
|
-
/* harmony export */ "TokenizedVaultAdapterMintAction": () => (/* reexport safe */
|
|
3165
|
-
/* harmony export */ "TokenizedVaultAdapterRedeemAction": () => (/* reexport safe */
|
|
3166
|
-
/* harmony export */ "TokenizedVaultAdapterWithdrawAction": () => (/* reexport safe */
|
|
3185
|
+
/* harmony export */ "TokenizedVaultAdapterDepositAction": () => (/* reexport safe */ _TokenizedVaultAdapterDepositAction__WEBPACK_IMPORTED_MODULE_22__.TokenizedVaultAdapterDepositAction),
|
|
3186
|
+
/* harmony export */ "TokenizedVaultAdapterMintAction": () => (/* reexport safe */ _TokenizedVaultAdapterMintAction__WEBPACK_IMPORTED_MODULE_23__.TokenizedVaultAdapterMintAction),
|
|
3187
|
+
/* harmony export */ "TokenizedVaultAdapterRedeemAction": () => (/* reexport safe */ _TokenizedVaultAdapterRedeemAction__WEBPACK_IMPORTED_MODULE_24__.TokenizedVaultAdapterRedeemAction),
|
|
3188
|
+
/* harmony export */ "TokenizedVaultAdapterWithdrawAction": () => (/* reexport safe */ _TokenizedVaultAdapterWithdrawAction__WEBPACK_IMPORTED_MODULE_25__.TokenizedVaultAdapterWithdrawAction),
|
|
3167
3189
|
/* harmony export */ "TransferNFTAction": () => (/* reexport safe */ _TransferNFTAction__WEBPACK_IMPORTED_MODULE_15__.TransferNFTAction),
|
|
3168
3190
|
/* harmony export */ "UnwrapEthAction": () => (/* reexport safe */ _UnwrapEthAction__WEBPACK_IMPORTED_MODULE_5__.UnwrapEthAction),
|
|
3169
3191
|
/* harmony export */ "UpdateSubAction": () => (/* reexport safe */ _UpdateSubAction__WEBPACK_IMPORTED_MODULE_12__.UpdateSubAction),
|
|
@@ -3187,13 +3209,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3187
3209
|
/* harmony import */ var _TransferNFTAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(85);
|
|
3188
3210
|
/* harmony import */ var _SendTokensAction__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(86);
|
|
3189
3211
|
/* harmony import */ var _CreateSubAction__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(87);
|
|
3190
|
-
/* harmony import */ var
|
|
3191
|
-
/* harmony import */ var
|
|
3192
|
-
/* harmony import */ var
|
|
3193
|
-
/* harmony import */ var
|
|
3194
|
-
/* harmony import */ var
|
|
3195
|
-
/* harmony import */ var
|
|
3196
|
-
/* harmony import */ var
|
|
3212
|
+
/* harmony import */ var _LSVSellAction__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(88);
|
|
3213
|
+
/* harmony import */ var _ApproveTokenAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(89);
|
|
3214
|
+
/* harmony import */ var _SDaiWrapAction__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(90);
|
|
3215
|
+
/* harmony import */ var _SDaiUnwrapAction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(91);
|
|
3216
|
+
/* harmony import */ var _TokenizedVaultAdapterDepositAction__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(92);
|
|
3217
|
+
/* harmony import */ var _TokenizedVaultAdapterMintAction__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(94);
|
|
3218
|
+
/* harmony import */ var _TokenizedVaultAdapterRedeemAction__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(95);
|
|
3219
|
+
/* harmony import */ var _TokenizedVaultAdapterWithdrawAction__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(96);
|
|
3220
|
+
/* harmony import */ var _LimitSellAction__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(97);
|
|
3221
|
+
/* harmony import */ var _ExecuteSafeTxAction__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(98);
|
|
3222
|
+
/* harmony import */ var _RemoveTokenApprovalAction__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(99);
|
|
3223
|
+
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3197
3227
|
|
|
3198
3228
|
|
|
3199
3229
|
|
|
@@ -3238,9 +3268,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3238
3268
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27);
|
|
3239
3269
|
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); } }
|
|
3240
3270
|
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); }); }; }
|
|
3241
|
-
function _defineProperty(obj, key, value) {
|
|
3242
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3243
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
3271
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3244
3272
|
|
|
3245
3273
|
|
|
3246
3274
|
|
|
@@ -3815,6 +3843,118 @@ class CreateSubAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
3815
3843
|
/* 88 */
|
|
3816
3844
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3817
3845
|
|
|
3846
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3847
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3848
|
+
/* harmony export */ "LSVSellAction": () => (/* binding */ LSVSellAction)
|
|
3849
|
+
/* harmony export */ });
|
|
3850
|
+
/* harmony import */ var web3_eth_abi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
3851
|
+
/* harmony import */ var web3_eth_abi__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(web3_eth_abi__WEBPACK_IMPORTED_MODULE_0__);
|
|
3852
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
3853
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_1__);
|
|
3854
|
+
/* harmony import */ var _abis_Action_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
3855
|
+
/* harmony import */ var _ActionWithL2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25);
|
|
3856
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(39);
|
|
3857
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27);
|
|
3858
|
+
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); } }
|
|
3859
|
+
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); }); }; }
|
|
3860
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3861
|
+
|
|
3862
|
+
|
|
3863
|
+
|
|
3864
|
+
|
|
3865
|
+
|
|
3866
|
+
|
|
3867
|
+
/**
|
|
3868
|
+
* Sells token on DeFi Saver exchange aggregator without fee
|
|
3869
|
+
*
|
|
3870
|
+
* @category BasicActions
|
|
3871
|
+
*/
|
|
3872
|
+
class LSVSellAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_3__.ActionWithL2 {
|
|
3873
|
+
/**
|
|
3874
|
+
* @param exchangeOrder Standard DFS Exchange data
|
|
3875
|
+
* @param from Order sender
|
|
3876
|
+
* @param to Order recipient
|
|
3877
|
+
* @param protocolFee 0x fee (amount of ETH in Wei)
|
|
3878
|
+
*/
|
|
3879
|
+
constructor(exchangeOrder, from, to) {
|
|
3880
|
+
var protocolFee = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '0';
|
|
3881
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_4__.requireAddress)(to);
|
|
3882
|
+
super('LSVSell', (0,_addresses__WEBPACK_IMPORTED_MODULE_5__.getAddr)('LSVSell'), [['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'address', 'address'], [exchangeOrder, from, to]);
|
|
3883
|
+
_defineProperty(this, "protocolFee", void 0);
|
|
3884
|
+
this.protocolFee = protocolFee;
|
|
3885
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[1], this.args[2]];
|
|
3886
|
+
}
|
|
3887
|
+
encodeInputs() {
|
|
3888
|
+
var executeActionDirectAbi = _abis_Action_json__WEBPACK_IMPORTED_MODULE_2__.find(_ref => {
|
|
3889
|
+
var {
|
|
3890
|
+
name
|
|
3891
|
+
} = _ref;
|
|
3892
|
+
return name === 'executeActionDirect';
|
|
3893
|
+
});
|
|
3894
|
+
return web3_eth_abi__WEBPACK_IMPORTED_MODULE_0___default().encodeFunctionCall(executeActionDirectAbi, this._encodeForCall());
|
|
3895
|
+
}
|
|
3896
|
+
getAssetsToApprove() {
|
|
3897
|
+
var _this = this;
|
|
3898
|
+
return _asyncToGenerator(function* () {
|
|
3899
|
+
var asset = (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_1__.getAssetInfoByAddress)(_this.args[0][0]);
|
|
3900
|
+
if (asset.symbol !== 'ETH') return [{
|
|
3901
|
+
asset: _this.args[0][0],
|
|
3902
|
+
owner: _this.args[1]
|
|
3903
|
+
}];
|
|
3904
|
+
return [];
|
|
3905
|
+
})();
|
|
3906
|
+
}
|
|
3907
|
+
getEthValue() {
|
|
3908
|
+
var _this2 = this;
|
|
3909
|
+
return _asyncToGenerator(function* () {
|
|
3910
|
+
return _this2.protocolFee || '0';
|
|
3911
|
+
})();
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
/***/ }),
|
|
3916
|
+
/* 89 */
|
|
3917
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3918
|
+
|
|
3919
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3920
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3921
|
+
/* harmony export */ "ApproveTokenAction": () => (/* binding */ ApproveTokenAction)
|
|
3922
|
+
/* harmony export */ });
|
|
3923
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39);
|
|
3924
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
3925
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
3926
|
+
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); } }
|
|
3927
|
+
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); }); }; }
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
|
|
3931
|
+
/**
|
|
3932
|
+
* Approve a spender to pull tokens from DSProxy
|
|
3933
|
+
*
|
|
3934
|
+
* @category BasicActions
|
|
3935
|
+
*/
|
|
3936
|
+
class ApproveTokenAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
3937
|
+
/**
|
|
3938
|
+
* @param token Token address
|
|
3939
|
+
* @param spender Address getting allowance to pull tokens from proxy
|
|
3940
|
+
* @param amount Allowance amount
|
|
3941
|
+
*/
|
|
3942
|
+
constructor(token, spender, amount) {
|
|
3943
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_0__.requireAddress)(spender);
|
|
3944
|
+
super('ApproveToken', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('ApproveToken'), ['address', 'address', 'uint'], [token, spender, amount]);
|
|
3945
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
3946
|
+
}
|
|
3947
|
+
getAssetsToApprove() {
|
|
3948
|
+
return _asyncToGenerator(function* () {
|
|
3949
|
+
return [];
|
|
3950
|
+
})();
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
/***/ }),
|
|
3955
|
+
/* 90 */
|
|
3956
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3957
|
+
|
|
3818
3958
|
__webpack_require__.r(__webpack_exports__);
|
|
3819
3959
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3820
3960
|
/* harmony export */ "SDaiWrapAction": () => (/* binding */ SDaiWrapAction)
|
|
@@ -3861,7 +4001,7 @@ class SDaiWrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
3861
4001
|
}
|
|
3862
4002
|
|
|
3863
4003
|
/***/ }),
|
|
3864
|
-
/*
|
|
4004
|
+
/* 91 */
|
|
3865
4005
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3866
4006
|
|
|
3867
4007
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -3910,7 +4050,7 @@ class SDaiUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
3910
4050
|
}
|
|
3911
4051
|
|
|
3912
4052
|
/***/ }),
|
|
3913
|
-
/*
|
|
4053
|
+
/* 92 */
|
|
3914
4054
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3915
4055
|
|
|
3916
4056
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -3919,7 +4059,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3919
4059
|
/* harmony export */ });
|
|
3920
4060
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
3921
4061
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
3922
|
-
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
4062
|
+
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93);
|
|
3923
4063
|
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); } }
|
|
3924
4064
|
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); }); }; }
|
|
3925
4065
|
|
|
@@ -3955,23 +4095,23 @@ class TokenizedVaultAdapterDepositAction extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
3955
4095
|
}
|
|
3956
4096
|
|
|
3957
4097
|
/***/ }),
|
|
3958
|
-
/*
|
|
4098
|
+
/* 93 */
|
|
3959
4099
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3960
4100
|
|
|
3961
4101
|
__webpack_require__.r(__webpack_exports__);
|
|
3962
4102
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3963
4103
|
/* harmony export */ "TokenizedVaultOperationId": () => (/* binding */ TokenizedVaultOperationId)
|
|
3964
4104
|
/* harmony export */ });
|
|
3965
|
-
var TokenizedVaultOperationId
|
|
4105
|
+
var TokenizedVaultOperationId;
|
|
4106
|
+
(function (TokenizedVaultOperationId) {
|
|
3966
4107
|
TokenizedVaultOperationId[TokenizedVaultOperationId["DEPOSIT"] = 0] = "DEPOSIT";
|
|
3967
4108
|
TokenizedVaultOperationId[TokenizedVaultOperationId["MINT"] = 1] = "MINT";
|
|
3968
4109
|
TokenizedVaultOperationId[TokenizedVaultOperationId["WITHDRAW"] = 2] = "WITHDRAW";
|
|
3969
4110
|
TokenizedVaultOperationId[TokenizedVaultOperationId["REDEEM"] = 3] = "REDEEM";
|
|
3970
|
-
|
|
3971
|
-
}({});
|
|
4111
|
+
})(TokenizedVaultOperationId || (TokenizedVaultOperationId = {}));
|
|
3972
4112
|
|
|
3973
4113
|
/***/ }),
|
|
3974
|
-
/*
|
|
4114
|
+
/* 94 */
|
|
3975
4115
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3976
4116
|
|
|
3977
4117
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -3980,7 +4120,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3980
4120
|
/* harmony export */ });
|
|
3981
4121
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
3982
4122
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
3983
|
-
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
4123
|
+
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93);
|
|
3984
4124
|
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); } }
|
|
3985
4125
|
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); }); }; }
|
|
3986
4126
|
|
|
@@ -4016,7 +4156,7 @@ class TokenizedVaultAdapterMintAction extends _Action__WEBPACK_IMPORTED_MODULE_0
|
|
|
4016
4156
|
}
|
|
4017
4157
|
|
|
4018
4158
|
/***/ }),
|
|
4019
|
-
/*
|
|
4159
|
+
/* 95 */
|
|
4020
4160
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4021
4161
|
|
|
4022
4162
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4025,7 +4165,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4025
4165
|
/* harmony export */ });
|
|
4026
4166
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
4027
4167
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
4028
|
-
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
4168
|
+
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93);
|
|
4029
4169
|
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); } }
|
|
4030
4170
|
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); }); }; }
|
|
4031
4171
|
|
|
@@ -4059,7 +4199,7 @@ class TokenizedVaultAdapterRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE
|
|
|
4059
4199
|
}
|
|
4060
4200
|
|
|
4061
4201
|
/***/ }),
|
|
4062
|
-
/*
|
|
4202
|
+
/* 96 */
|
|
4063
4203
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4064
4204
|
|
|
4065
4205
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4068,7 +4208,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4068
4208
|
/* harmony export */ });
|
|
4069
4209
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
4070
4210
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
4071
|
-
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
4211
|
+
/* harmony import */ var _utils_basic_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(93);
|
|
4072
4212
|
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); } }
|
|
4073
4213
|
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); }); }; }
|
|
4074
4214
|
|
|
@@ -4102,12 +4242,123 @@ class TokenizedVaultAdapterWithdrawAction extends _Action__WEBPACK_IMPORTED_MODU
|
|
|
4102
4242
|
}
|
|
4103
4243
|
|
|
4104
4244
|
/***/ }),
|
|
4105
|
-
/*
|
|
4245
|
+
/* 97 */
|
|
4106
4246
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4107
4247
|
|
|
4108
4248
|
__webpack_require__.r(__webpack_exports__);
|
|
4109
4249
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4110
|
-
/* harmony export */ "
|
|
4250
|
+
/* harmony export */ "LimitSellAction": () => (/* binding */ LimitSellAction)
|
|
4251
|
+
/* harmony export */ });
|
|
4252
|
+
/* harmony import */ var web3_eth_abi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4253
|
+
/* harmony import */ var web3_eth_abi__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(web3_eth_abi__WEBPACK_IMPORTED_MODULE_0__);
|
|
4254
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
|
|
4255
|
+
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_1__);
|
|
4256
|
+
/* harmony import */ var _abis_Action_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
4257
|
+
/* harmony import */ var _ActionWithL2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25);
|
|
4258
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(39);
|
|
4259
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27);
|
|
4260
|
+
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); } }
|
|
4261
|
+
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); }); }; }
|
|
4262
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4263
|
+
|
|
4264
|
+
|
|
4265
|
+
|
|
4266
|
+
|
|
4267
|
+
|
|
4268
|
+
|
|
4269
|
+
/**
|
|
4270
|
+
* Limit sell action used as part of the LimitSell Strategy
|
|
4271
|
+
*
|
|
4272
|
+
* @category BasicActions
|
|
4273
|
+
*/
|
|
4274
|
+
class LimitSellAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_3__.ActionWithL2 {
|
|
4275
|
+
/**
|
|
4276
|
+
* @param exchangeOrder Standard DFS Exchange data
|
|
4277
|
+
* @param from Order sender
|
|
4278
|
+
* @param to Order recipient
|
|
4279
|
+
* @param gasUsed Amount of gas spent as part of the strategy
|
|
4280
|
+
* @param protocolFee 0x fee (amount of ETH in Wei)
|
|
4281
|
+
*/
|
|
4282
|
+
constructor(exchangeOrder, from, to, gasUsed) {
|
|
4283
|
+
var protocolFee = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '0';
|
|
4284
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_4__.requireAddress)(to);
|
|
4285
|
+
super('LimitSell', (0,_addresses__WEBPACK_IMPORTED_MODULE_5__.getAddr)('LimitSell'), [['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'address', 'address', 'uint256'], [exchangeOrder, from, to, gasUsed]);
|
|
4286
|
+
_defineProperty(this, "protocolFee", void 0);
|
|
4287
|
+
this.protocolFee = protocolFee;
|
|
4288
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[1], this.args[2]];
|
|
4289
|
+
}
|
|
4290
|
+
encodeInputs() {
|
|
4291
|
+
var executeActionDirectAbi = _abis_Action_json__WEBPACK_IMPORTED_MODULE_2__.find(_ref => {
|
|
4292
|
+
var {
|
|
4293
|
+
name
|
|
4294
|
+
} = _ref;
|
|
4295
|
+
return name === 'executeActionDirect';
|
|
4296
|
+
});
|
|
4297
|
+
return web3_eth_abi__WEBPACK_IMPORTED_MODULE_0___default().encodeFunctionCall(executeActionDirectAbi, this._encodeForCall());
|
|
4298
|
+
}
|
|
4299
|
+
getAssetsToApprove() {
|
|
4300
|
+
var _this = this;
|
|
4301
|
+
return _asyncToGenerator(function* () {
|
|
4302
|
+
var asset = (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_1__.getAssetInfoByAddress)(_this.args[0][0]);
|
|
4303
|
+
if (asset.symbol !== 'ETH') return [{
|
|
4304
|
+
asset: _this.args[0][0],
|
|
4305
|
+
owner: _this.args[1]
|
|
4306
|
+
}];
|
|
4307
|
+
return [];
|
|
4308
|
+
})();
|
|
4309
|
+
}
|
|
4310
|
+
getEthValue() {
|
|
4311
|
+
var _this2 = this;
|
|
4312
|
+
return _asyncToGenerator(function* () {
|
|
4313
|
+
return _this2.protocolFee || '0';
|
|
4314
|
+
})();
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
/***/ }),
|
|
4319
|
+
/* 98 */
|
|
4320
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4321
|
+
|
|
4322
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4323
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4324
|
+
/* harmony export */ "ExecuteSafeTxAction": () => (/* binding */ ExecuteSafeTxAction)
|
|
4325
|
+
/* harmony export */ });
|
|
4326
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
4327
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
4328
|
+
|
|
4329
|
+
|
|
4330
|
+
/**
|
|
4331
|
+
* ExecuteSafeTxAction - Execute Safe transaction
|
|
4332
|
+
*
|
|
4333
|
+
* @category BasicActions
|
|
4334
|
+
*/
|
|
4335
|
+
class ExecuteSafeTxAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
4336
|
+
/**
|
|
4337
|
+
* @param safe Address of the Safe wallet
|
|
4338
|
+
* @param to Destination address of Safe transaction
|
|
4339
|
+
* @param value Ether value of Safe transaction
|
|
4340
|
+
* @param data Data payload of Safe transaction
|
|
4341
|
+
* @param operation Operation type of Safe transaction. 0 = call, 1 = delegateCall
|
|
4342
|
+
* @param safeTxGas Gas that should be used for the Safe transaction
|
|
4343
|
+
* @param baseGas Gas costs that are independent of the transaction execution(e.g. base transaction fee, signature check, payment of the refund)
|
|
4344
|
+
* @param gasPrice Gas price that should be used for the payment calculation
|
|
4345
|
+
* @param gasToken Token address (or 0 if ETH) that is used for the payment
|
|
4346
|
+
* @param refundReceiver Address of receiver of gas payment (or 0 if tx.origin
|
|
4347
|
+
* @param signatures Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})
|
|
4348
|
+
*/
|
|
4349
|
+
constructor(safe, to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures) {
|
|
4350
|
+
super('ExecuteSafeTx', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('ExecuteSafeTx'), ['address', 'address', 'uint256', 'bytes', 'uint8', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes'], [safe, to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, signatures]);
|
|
4351
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[4], this.args[5], this.args[6], this.args[7], this.args[8], this.args[9]];
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4354
|
+
|
|
4355
|
+
/***/ }),
|
|
4356
|
+
/* 99 */
|
|
4357
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4358
|
+
|
|
4359
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4360
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4361
|
+
/* harmony export */ "RemoveTokenApprovalAction": () => (/* binding */ RemoveTokenApprovalAction)
|
|
4111
4362
|
/* harmony export */ });
|
|
4112
4363
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39);
|
|
4113
4364
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
@@ -4118,19 +4369,19 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
4118
4369
|
|
|
4119
4370
|
|
|
4120
4371
|
/**
|
|
4121
|
-
*
|
|
4372
|
+
* Remove approval for a spender to pull tokens from user wallet
|
|
4122
4373
|
*
|
|
4123
4374
|
* @category BasicActions
|
|
4124
4375
|
*/
|
|
4125
|
-
class
|
|
4376
|
+
class RemoveTokenApprovalAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
4126
4377
|
/**
|
|
4127
4378
|
* @param token Token address
|
|
4128
|
-
* @param spender
|
|
4129
|
-
* @param amount Allowance amount
|
|
4379
|
+
* @param spender Spender address
|
|
4130
4380
|
*/
|
|
4131
|
-
constructor(token, spender
|
|
4381
|
+
constructor(token, spender) {
|
|
4132
4382
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_0__.requireAddress)(spender);
|
|
4133
|
-
super('
|
|
4383
|
+
super('RemoveTokenApproval', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('RemoveTokenApproval'), ['address', 'address'], [token, spender]);
|
|
4384
|
+
this.mappableArgs = [this.args[0], this.args[1]];
|
|
4134
4385
|
}
|
|
4135
4386
|
getAssetsToApprove() {
|
|
4136
4387
|
return _asyncToGenerator(function* () {
|
|
@@ -4140,7 +4391,7 @@ class ApproveTokenAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
4140
4391
|
}
|
|
4141
4392
|
|
|
4142
4393
|
/***/ }),
|
|
4143
|
-
/*
|
|
4394
|
+
/* 100 */
|
|
4144
4395
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4145
4396
|
|
|
4146
4397
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4148,46 +4399,55 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4148
4399
|
/* harmony export */ "AaveV2FlashLoanAction": () => (/* reexport safe */ _AaveV2FlashLoanAction__WEBPACK_IMPORTED_MODULE_2__.AaveV2FlashLoanAction),
|
|
4149
4400
|
/* harmony export */ "AaveV2FlashLoanPaybackAction": () => (/* reexport safe */ _AaveV2FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_3__.AaveV2FlashLoanPaybackAction),
|
|
4150
4401
|
/* harmony export */ "AaveV3FlashLoanAction": () => (/* reexport safe */ _AaveV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_4__.AaveV3FlashLoanAction),
|
|
4402
|
+
/* harmony export */ "AaveV3FlashLoanCarryDebtAction": () => (/* reexport safe */ _AaveV3FlashLoanCarryDebtAction__WEBPACK_IMPORTED_MODULE_8__.AaveV3FlashLoanCarryDebtAction),
|
|
4151
4403
|
/* harmony export */ "AaveV3FlashLoanNoFeeAction": () => (/* reexport safe */ _AaveV3FlashLoanNoFeeAction__WEBPACK_IMPORTED_MODULE_6__.AaveV3FlashLoanNoFeeAction),
|
|
4152
4404
|
/* harmony export */ "AaveV3FlashLoanNoFeePaybackAction": () => (/* reexport safe */ _AaveV3FlashLoanNoFeePaybackAction__WEBPACK_IMPORTED_MODULE_7__.AaveV3FlashLoanNoFeePaybackAction),
|
|
4153
4405
|
/* harmony export */ "AaveV3FlashLoanPaybackAction": () => (/* reexport safe */ _AaveV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_5__.AaveV3FlashLoanPaybackAction),
|
|
4154
|
-
/* harmony export */ "BalancerFlashLoanAction": () => (/* reexport safe */
|
|
4155
|
-
/* harmony export */ "BalancerFlashLoanPaybackAction": () => (/* reexport safe */
|
|
4406
|
+
/* harmony export */ "BalancerFlashLoanAction": () => (/* reexport safe */ _BalancerFlashLoanAction__WEBPACK_IMPORTED_MODULE_13__.BalancerFlashLoanAction),
|
|
4407
|
+
/* harmony export */ "BalancerFlashLoanPaybackAction": () => (/* reexport safe */ _BalancerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_14__.BalancerFlashLoanPaybackAction),
|
|
4156
4408
|
/* harmony export */ "DyDxFlashLoanAction": () => (/* reexport safe */ _DyDxFlashLoanAction__WEBPACK_IMPORTED_MODULE_0__.DyDxFlashLoanAction),
|
|
4157
4409
|
/* harmony export */ "DyDxFlashLoanPaybackAction": () => (/* reexport safe */ _DyDxFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_1__.DyDxFlashLoanPaybackAction),
|
|
4158
|
-
/* harmony export */ "EulerFlashLoanAction": () => (/* reexport safe */
|
|
4159
|
-
/* harmony export */ "EulerFlashLoanPaybackAction": () => (/* reexport safe */
|
|
4160
|
-
/* harmony export */ "FLAction": () => (/* reexport safe */
|
|
4161
|
-
/* harmony export */ "GhoFlashLoanAction": () => (/* reexport safe */
|
|
4162
|
-
/* harmony export */ "GhoFlashLoanPaybackAction": () => (/* reexport safe */
|
|
4163
|
-
/* harmony export */ "MakerFlashLoanAction": () => (/* reexport safe */
|
|
4164
|
-
/* harmony export */ "MakerFlashLoanPaybackAction": () => (/* reexport safe */
|
|
4165
|
-
/* harmony export */ "
|
|
4166
|
-
/* harmony export */ "
|
|
4167
|
-
/* harmony export */ "
|
|
4168
|
-
/* harmony export */ "
|
|
4410
|
+
/* harmony export */ "EulerFlashLoanAction": () => (/* reexport safe */ _EulerFlashLoanAction__WEBPACK_IMPORTED_MODULE_15__.EulerFlashLoanAction),
|
|
4411
|
+
/* harmony export */ "EulerFlashLoanPaybackAction": () => (/* reexport safe */ _EulerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_16__.EulerFlashLoanPaybackAction),
|
|
4412
|
+
/* harmony export */ "FLAction": () => (/* reexport safe */ _FLAction__WEBPACK_IMPORTED_MODULE_17__.FLAction),
|
|
4413
|
+
/* harmony export */ "GhoFlashLoanAction": () => (/* reexport safe */ _GhoFlashLoanAction__WEBPACK_IMPORTED_MODULE_20__.GhoFlashLoanAction),
|
|
4414
|
+
/* harmony export */ "GhoFlashLoanPaybackAction": () => (/* reexport safe */ _GhoFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_21__.GhoFlashLoanPaybackAction),
|
|
4415
|
+
/* harmony export */ "MakerFlashLoanAction": () => (/* reexport safe */ _MakerFlashLoanAction__WEBPACK_IMPORTED_MODULE_11__.MakerFlashLoanAction),
|
|
4416
|
+
/* harmony export */ "MakerFlashLoanPaybackAction": () => (/* reexport safe */ _MakerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_12__.MakerFlashLoanPaybackAction),
|
|
4417
|
+
/* harmony export */ "MorphoBlueFlashLoanAction": () => (/* reexport safe */ _MorphoBlueFlashLoanAction__WEBPACK_IMPORTED_MODULE_22__.MorphoBlueFlashLoanAction),
|
|
4418
|
+
/* harmony export */ "MorphoBlueFlashLoanPaybackAction": () => (/* reexport safe */ _MorphoBlueFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_23__.MorphoBlueFlashLoanPaybackAction),
|
|
4419
|
+
/* harmony export */ "SparkFlashLoanAction": () => (/* reexport safe */ _SparkFlashLoanAction__WEBPACK_IMPORTED_MODULE_9__.SparkFlashLoanAction),
|
|
4420
|
+
/* harmony export */ "SparkFlashLoanPaybackAction": () => (/* reexport safe */ _SparkFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_10__.SparkFlashLoanPaybackAction),
|
|
4421
|
+
/* harmony export */ "UniV3FlashLoanAction": () => (/* reexport safe */ _UniV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_18__.UniV3FlashLoanAction),
|
|
4422
|
+
/* harmony export */ "UniV3FlashLoanPaybackAction": () => (/* reexport safe */ _UniV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_19__.UniV3FlashLoanPaybackAction)
|
|
4169
4423
|
/* harmony export */ });
|
|
4170
|
-
/* harmony import */ var _DyDxFlashLoanAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
4171
|
-
/* harmony import */ var _DyDxFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
4172
|
-
/* harmony import */ var _AaveV2FlashLoanAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
4173
|
-
/* harmony import */ var _AaveV2FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
4174
|
-
/* harmony import */ var _AaveV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
4175
|
-
/* harmony import */ var _AaveV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
4176
|
-
/* harmony import */ var _AaveV3FlashLoanNoFeeAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
4177
|
-
/* harmony import */ var _AaveV3FlashLoanNoFeePaybackAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
4178
|
-
/* harmony import */ var
|
|
4179
|
-
/* harmony import */ var
|
|
4180
|
-
/* harmony import */ var
|
|
4181
|
-
/* harmony import */ var
|
|
4182
|
-
/* harmony import */ var
|
|
4183
|
-
/* harmony import */ var
|
|
4184
|
-
/* harmony import */ var
|
|
4185
|
-
/* harmony import */ var
|
|
4186
|
-
/* harmony import */ var
|
|
4187
|
-
/* harmony import */ var
|
|
4188
|
-
/* harmony import */ var
|
|
4189
|
-
/* harmony import */ var
|
|
4190
|
-
/* harmony import */ var
|
|
4424
|
+
/* harmony import */ var _DyDxFlashLoanAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(101);
|
|
4425
|
+
/* harmony import */ var _DyDxFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(102);
|
|
4426
|
+
/* harmony import */ var _AaveV2FlashLoanAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(103);
|
|
4427
|
+
/* harmony import */ var _AaveV2FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(104);
|
|
4428
|
+
/* harmony import */ var _AaveV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(105);
|
|
4429
|
+
/* harmony import */ var _AaveV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(106);
|
|
4430
|
+
/* harmony import */ var _AaveV3FlashLoanNoFeeAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(107);
|
|
4431
|
+
/* harmony import */ var _AaveV3FlashLoanNoFeePaybackAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(108);
|
|
4432
|
+
/* harmony import */ var _AaveV3FlashLoanCarryDebtAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(109);
|
|
4433
|
+
/* harmony import */ var _SparkFlashLoanAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(110);
|
|
4434
|
+
/* harmony import */ var _SparkFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(111);
|
|
4435
|
+
/* harmony import */ var _MakerFlashLoanAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(112);
|
|
4436
|
+
/* harmony import */ var _MakerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(113);
|
|
4437
|
+
/* harmony import */ var _BalancerFlashLoanAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(114);
|
|
4438
|
+
/* harmony import */ var _BalancerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(115);
|
|
4439
|
+
/* harmony import */ var _EulerFlashLoanAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(116);
|
|
4440
|
+
/* harmony import */ var _EulerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(117);
|
|
4441
|
+
/* harmony import */ var _FLAction__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(118);
|
|
4442
|
+
/* harmony import */ var _UniV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(119);
|
|
4443
|
+
/* harmony import */ var _UniV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(120);
|
|
4444
|
+
/* harmony import */ var _GhoFlashLoanAction__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(121);
|
|
4445
|
+
/* harmony import */ var _GhoFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(122);
|
|
4446
|
+
/* harmony import */ var _MorphoBlueFlashLoanAction__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(123);
|
|
4447
|
+
/* harmony import */ var _MorphoBlueFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(124);
|
|
4448
|
+
|
|
4449
|
+
|
|
4450
|
+
|
|
4191
4451
|
|
|
4192
4452
|
|
|
4193
4453
|
|
|
@@ -4211,7 +4471,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4211
4471
|
|
|
4212
4472
|
|
|
4213
4473
|
/***/ }),
|
|
4214
|
-
/*
|
|
4474
|
+
/* 101 */
|
|
4215
4475
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4216
4476
|
|
|
4217
4477
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4242,7 +4502,7 @@ class DyDxFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
4242
4502
|
}
|
|
4243
4503
|
|
|
4244
4504
|
/***/ }),
|
|
4245
|
-
/*
|
|
4505
|
+
/* 102 */
|
|
4246
4506
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4247
4507
|
|
|
4248
4508
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4269,7 +4529,7 @@ class DyDxFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Sen
|
|
|
4269
4529
|
}
|
|
4270
4530
|
|
|
4271
4531
|
/***/ }),
|
|
4272
|
-
/*
|
|
4532
|
+
/* 103 */
|
|
4273
4533
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4274
4534
|
|
|
4275
4535
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4302,7 +4562,7 @@ class AaveV2FlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
4302
4562
|
}
|
|
4303
4563
|
|
|
4304
4564
|
/***/ }),
|
|
4305
|
-
/*
|
|
4565
|
+
/* 104 */
|
|
4306
4566
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4307
4567
|
|
|
4308
4568
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4329,7 +4589,7 @@ class AaveV2FlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.S
|
|
|
4329
4589
|
}
|
|
4330
4590
|
|
|
4331
4591
|
/***/ }),
|
|
4332
|
-
/*
|
|
4592
|
+
/* 105 */
|
|
4333
4593
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4334
4594
|
|
|
4335
4595
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4362,7 +4622,7 @@ class AaveV3FlashLoanAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
4362
4622
|
}
|
|
4363
4623
|
|
|
4364
4624
|
/***/ }),
|
|
4365
|
-
/*
|
|
4625
|
+
/* 106 */
|
|
4366
4626
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4367
4627
|
|
|
4368
4628
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4389,7 +4649,7 @@ class AaveV3FlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.S
|
|
|
4389
4649
|
}
|
|
4390
4650
|
|
|
4391
4651
|
/***/ }),
|
|
4392
|
-
/*
|
|
4652
|
+
/* 107 */
|
|
4393
4653
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4394
4654
|
|
|
4395
4655
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4422,7 +4682,7 @@ class AaveV3FlashLoanNoFeeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_
|
|
|
4422
4682
|
}
|
|
4423
4683
|
|
|
4424
4684
|
/***/ }),
|
|
4425
|
-
/*
|
|
4685
|
+
/* 108 */
|
|
4426
4686
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4427
4687
|
|
|
4428
4688
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4449,23 +4709,23 @@ class AaveV3FlashLoanNoFeePaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_
|
|
|
4449
4709
|
}
|
|
4450
4710
|
|
|
4451
4711
|
/***/ }),
|
|
4452
|
-
/*
|
|
4712
|
+
/* 109 */
|
|
4453
4713
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4454
4714
|
|
|
4455
4715
|
__webpack_require__.r(__webpack_exports__);
|
|
4456
4716
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4457
|
-
/* harmony export */ "
|
|
4717
|
+
/* harmony export */ "AaveV3FlashLoanCarryDebtAction": () => (/* binding */ AaveV3FlashLoanCarryDebtAction)
|
|
4458
4718
|
/* harmony export */ });
|
|
4459
4719
|
/* harmony import */ var _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
|
4460
4720
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
4461
4721
|
|
|
4462
4722
|
|
|
4463
4723
|
/**
|
|
4464
|
-
* Gets a flashloan from
|
|
4724
|
+
* Gets a flashloan from Aave v3 and opens a debt position instead of repaying
|
|
4465
4725
|
*
|
|
4466
4726
|
* @category Flashloans
|
|
4467
4727
|
*/
|
|
4468
|
-
class
|
|
4728
|
+
class AaveV3FlashLoanCarryDebtAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.ActionWithL2 {
|
|
4469
4729
|
/**
|
|
4470
4730
|
* @param loanAmounts
|
|
4471
4731
|
* @param tokens
|
|
@@ -4477,12 +4737,53 @@ class SparkFlashLoanAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
4477
4737
|
constructor(tokens, loanAmounts, modes, loanPayer) {
|
|
4478
4738
|
var flParamGetterAddr = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('Empty');
|
|
4479
4739
|
var flParamGetterData = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];
|
|
4480
|
-
super('
|
|
4740
|
+
super('FLAaveV3CarryDebt', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLAaveV3CarryDebt'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [tokens, loanAmounts, modes, loanPayer, flParamGetterAddr, flParamGetterData, []]);
|
|
4741
|
+
if (tokens.length !== modes.length || tokens.length !== loanAmounts.length) {
|
|
4742
|
+
throw new Error('Arrays must be of the same length');
|
|
4743
|
+
}
|
|
4744
|
+
modes.forEach(mode => {
|
|
4745
|
+
if (mode.toString() !== '1' && mode.toString() !== '2') {
|
|
4746
|
+
throw new Error('Invalid borrow mode set');
|
|
4747
|
+
}
|
|
4748
|
+
});
|
|
4481
4749
|
}
|
|
4482
4750
|
}
|
|
4483
4751
|
|
|
4484
4752
|
/***/ }),
|
|
4485
|
-
/*
|
|
4753
|
+
/* 110 */
|
|
4754
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4755
|
+
|
|
4756
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4757
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4758
|
+
/* harmony export */ "SparkFlashLoanAction": () => (/* binding */ SparkFlashLoanAction)
|
|
4759
|
+
/* harmony export */ });
|
|
4760
|
+
/* harmony import */ var _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
|
4761
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
4762
|
+
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* Gets a flashloan from Spark with fee enabled
|
|
4766
|
+
*
|
|
4767
|
+
* @category Flashloans
|
|
4768
|
+
*/
|
|
4769
|
+
class SparkFlashLoanAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.ActionWithL2 {
|
|
4770
|
+
/**
|
|
4771
|
+
* @param loanAmounts
|
|
4772
|
+
* @param tokens
|
|
4773
|
+
* @param modes
|
|
4774
|
+
* @param loanPayer
|
|
4775
|
+
* @param flParamGetterAddr
|
|
4776
|
+
* @param flParamGetterData
|
|
4777
|
+
*/
|
|
4778
|
+
constructor(tokens, loanAmounts, modes, loanPayer) {
|
|
4779
|
+
var flParamGetterAddr = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('Empty');
|
|
4780
|
+
var flParamGetterData = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];
|
|
4781
|
+
super('FLSpark', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLSpark'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [tokens, loanAmounts, modes, loanPayer, flParamGetterAddr, flParamGetterData, []]);
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4785
|
+
/***/ }),
|
|
4786
|
+
/* 111 */
|
|
4486
4787
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4487
4788
|
|
|
4488
4789
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4509,7 +4810,7 @@ class SparkFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
4509
4810
|
}
|
|
4510
4811
|
|
|
4511
4812
|
/***/ }),
|
|
4512
|
-
/*
|
|
4813
|
+
/* 112 */
|
|
4513
4814
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4514
4815
|
|
|
4515
4816
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4539,7 +4840,7 @@ class MakerFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
4539
4840
|
}
|
|
4540
4841
|
|
|
4541
4842
|
/***/ }),
|
|
4542
|
-
/*
|
|
4843
|
+
/* 113 */
|
|
4543
4844
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4544
4845
|
|
|
4545
4846
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4565,7 +4866,7 @@ class MakerFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
4565
4866
|
}
|
|
4566
4867
|
|
|
4567
4868
|
/***/ }),
|
|
4568
|
-
/*
|
|
4869
|
+
/* 114 */
|
|
4569
4870
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4570
4871
|
|
|
4571
4872
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4596,7 +4897,7 @@ class BalancerFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
4596
4897
|
}
|
|
4597
4898
|
|
|
4598
4899
|
/***/ }),
|
|
4599
|
-
/*
|
|
4900
|
+
/* 115 */
|
|
4600
4901
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4601
4902
|
|
|
4602
4903
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4623,7 +4924,7 @@ class BalancerFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__
|
|
|
4623
4924
|
}
|
|
4624
4925
|
|
|
4625
4926
|
/***/ }),
|
|
4626
|
-
/*
|
|
4927
|
+
/* 116 */
|
|
4627
4928
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4628
4929
|
|
|
4629
4930
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4654,7 +4955,7 @@ class EulerFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
4654
4955
|
}
|
|
4655
4956
|
|
|
4656
4957
|
/***/ }),
|
|
4657
|
-
/*
|
|
4958
|
+
/* 117 */
|
|
4658
4959
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4659
4960
|
|
|
4660
4961
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4681,7 +4982,7 @@ class EulerFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
4681
4982
|
}
|
|
4682
4983
|
|
|
4683
4984
|
/***/ }),
|
|
4684
|
-
/*
|
|
4985
|
+
/* 118 */
|
|
4685
4986
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4686
4987
|
|
|
4687
4988
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4703,11 +5004,12 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(
|
|
|
4703
5004
|
*/
|
|
4704
5005
|
var _handleArgs = /*#__PURE__*/new WeakSet();
|
|
4705
5006
|
class FLAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
5007
|
+
/**
|
|
5008
|
+
* @param specificFLAction - FL Action to be used
|
|
5009
|
+
*/
|
|
5010
|
+
|
|
4706
5011
|
constructor(_specificFLAction) {
|
|
4707
5012
|
super('FLAction', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLAction'), [], []);
|
|
4708
|
-
/**
|
|
4709
|
-
* @param specificFLAction - FL Action to be used
|
|
4710
|
-
*/
|
|
4711
5013
|
_classPrivateMethodInitSpec(this, _handleArgs);
|
|
4712
5014
|
this.paramTypes = ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'];
|
|
4713
5015
|
this.args = _classPrivateMethodGet(this, _handleArgs, _handleArgs2).call(this, _specificFLAction);
|
|
@@ -4736,11 +5038,14 @@ function _handleArgs2(specificFLAction) {
|
|
|
4736
5038
|
if (specificFLAction.constructor.name === 'SparkFlashLoanAction') {
|
|
4737
5039
|
argsToReturn[5] = [7];
|
|
4738
5040
|
}
|
|
5041
|
+
if (specificFLAction.constructor.name === 'MorphoBlueFlashLoanAction') {
|
|
5042
|
+
argsToReturn[5] = [8];
|
|
5043
|
+
}
|
|
4739
5044
|
return argsToReturn;
|
|
4740
5045
|
}
|
|
4741
5046
|
|
|
4742
5047
|
/***/ }),
|
|
4743
|
-
/*
|
|
5048
|
+
/* 119 */
|
|
4744
5049
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4745
5050
|
|
|
4746
5051
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4774,7 +5079,7 @@ class UniV3FlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
4774
5079
|
}
|
|
4775
5080
|
|
|
4776
5081
|
/***/ }),
|
|
4777
|
-
/*
|
|
5082
|
+
/* 120 */
|
|
4778
5083
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4779
5084
|
|
|
4780
5085
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4804,7 +5109,7 @@ class UniV3FlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
4804
5109
|
}
|
|
4805
5110
|
|
|
4806
5111
|
/***/ }),
|
|
4807
|
-
/*
|
|
5112
|
+
/* 121 */
|
|
4808
5113
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4809
5114
|
|
|
4810
5115
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4834,7 +5139,7 @@ class GhoFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
4834
5139
|
}
|
|
4835
5140
|
|
|
4836
5141
|
/***/ }),
|
|
4837
|
-
/*
|
|
5142
|
+
/* 122 */
|
|
4838
5143
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4839
5144
|
|
|
4840
5145
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4860,7 +5165,65 @@ class GhoFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Send
|
|
|
4860
5165
|
}
|
|
4861
5166
|
|
|
4862
5167
|
/***/ }),
|
|
4863
|
-
/*
|
|
5168
|
+
/* 123 */
|
|
5169
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5170
|
+
|
|
5171
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5172
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5173
|
+
/* harmony export */ "MorphoBlueFlashLoanAction": () => (/* binding */ MorphoBlueFlashLoanAction)
|
|
5174
|
+
/* harmony export */ });
|
|
5175
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
5176
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
/**
|
|
5180
|
+
* Gets a flashloan from MorphoBlue
|
|
5181
|
+
*
|
|
5182
|
+
* @category Flashloans
|
|
5183
|
+
*/
|
|
5184
|
+
class MorphoBlueFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
5185
|
+
/**
|
|
5186
|
+
* @param token
|
|
5187
|
+
* @param amount
|
|
5188
|
+
* @param flParamGetterAddr
|
|
5189
|
+
* @param flParamGetterData
|
|
5190
|
+
*/
|
|
5191
|
+
constructor(token, amount) {
|
|
5192
|
+
var flParamGetterAddr = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('Empty');
|
|
5193
|
+
var flParamGetterData = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
5194
|
+
super('FLMorphoBlue', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLMorphoBlue'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [[token], [amount], [], (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('Empty'), flParamGetterAddr, flParamGetterData, []]);
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
/***/ }),
|
|
5199
|
+
/* 124 */
|
|
5200
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5201
|
+
|
|
5202
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5203
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5204
|
+
/* harmony export */ "MorphoBlueFlashLoanPaybackAction": () => (/* binding */ MorphoBlueFlashLoanPaybackAction)
|
|
5205
|
+
/* harmony export */ });
|
|
5206
|
+
/* harmony import */ var _basic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69);
|
|
5207
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
5208
|
+
|
|
5209
|
+
|
|
5210
|
+
/**
|
|
5211
|
+
* Pays back a flashloan from MorphoBlue
|
|
5212
|
+
*
|
|
5213
|
+
* @category Flashloans
|
|
5214
|
+
*/
|
|
5215
|
+
class MorphoBlueFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.SendTokenAction {
|
|
5216
|
+
/**
|
|
5217
|
+
* @param loanAmount
|
|
5218
|
+
* @param tokenAddr
|
|
5219
|
+
*/
|
|
5220
|
+
constructor(loanAmount, tokenAddr) {
|
|
5221
|
+
super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLMorphoBlue'), loanAmount);
|
|
5222
|
+
}
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5225
|
+
/***/ }),
|
|
5226
|
+
/* 125 */
|
|
4864
5227
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4865
5228
|
|
|
4866
5229
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4868,13 +5231,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4868
5231
|
/* harmony export */ "UniswapSupplyAction": () => (/* reexport safe */ _UniswapSupplyAction__WEBPACK_IMPORTED_MODULE_0__.UniswapSupplyAction),
|
|
4869
5232
|
/* harmony export */ "UniswapWithdrawAction": () => (/* reexport safe */ _UniswapWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.UniswapWithdrawAction)
|
|
4870
5233
|
/* harmony export */ });
|
|
4871
|
-
/* harmony import */ var _UniswapSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
4872
|
-
/* harmony import */ var _UniswapWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5234
|
+
/* harmony import */ var _UniswapSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(126);
|
|
5235
|
+
/* harmony import */ var _UniswapWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(127);
|
|
4873
5236
|
|
|
4874
5237
|
|
|
4875
5238
|
|
|
4876
5239
|
/***/ }),
|
|
4877
|
-
/*
|
|
5240
|
+
/* 126 */
|
|
4878
5241
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4879
5242
|
|
|
4880
5243
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4937,7 +5300,7 @@ class UniswapSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
4937
5300
|
}
|
|
4938
5301
|
|
|
4939
5302
|
/***/ }),
|
|
4940
|
-
/*
|
|
5303
|
+
/* 127 */
|
|
4941
5304
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4942
5305
|
|
|
4943
5306
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4945,7 +5308,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4945
5308
|
/* harmony export */ "UniswapWithdrawAction": () => (/* binding */ UniswapWithdrawAction)
|
|
4946
5309
|
/* harmony export */ });
|
|
4947
5310
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
4948
|
-
/* harmony import */ var _utils_uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5311
|
+
/* harmony import */ var _utils_uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(128);
|
|
4949
5312
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
4950
5313
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
4951
5314
|
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); } }
|
|
@@ -4990,7 +5353,7 @@ class UniswapWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
4990
5353
|
}
|
|
4991
5354
|
|
|
4992
5355
|
/***/ }),
|
|
4993
|
-
/*
|
|
5356
|
+
/* 128 */
|
|
4994
5357
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4995
5358
|
|
|
4996
5359
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4998,9 +5361,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4998
5361
|
/* harmony export */ "getPoolAddressByAddresses": () => (/* binding */ getPoolAddressByAddresses),
|
|
4999
5362
|
/* harmony export */ "getPoolAddressBySymbols": () => (/* binding */ getPoolAddressBySymbols)
|
|
5000
5363
|
/* harmony export */ });
|
|
5001
|
-
/* harmony import */ var _ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5364
|
+
/* harmony import */ var _ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(129);
|
|
5002
5365
|
/* harmony import */ var _ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0__);
|
|
5003
|
-
/* harmony import */ var _ethersproject_address__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5366
|
+
/* harmony import */ var _ethersproject_address__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(130);
|
|
5004
5367
|
/* harmony import */ var _ethersproject_address__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_ethersproject_address__WEBPACK_IMPORTED_MODULE_1__);
|
|
5005
5368
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
5006
5369
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -5041,19 +5404,19 @@ var getPoolAddressByAddresses = (tokenA, tokenB) => {
|
|
|
5041
5404
|
var getPoolAddressBySymbols = (symbolA, symbolB) => getPoolAddressByAddresses((0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__.getAssetInfo)(symbolA.replace(/^ETH$/, 'WETH')).address, (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__.getAssetInfo)(symbolB.replace(/^ETH$/, 'WETH')).address);
|
|
5042
5405
|
|
|
5043
5406
|
/***/ }),
|
|
5044
|
-
/*
|
|
5407
|
+
/* 129 */
|
|
5045
5408
|
/***/ ((module) => {
|
|
5046
5409
|
|
|
5047
|
-
module.exports =
|
|
5410
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__129__;
|
|
5048
5411
|
|
|
5049
5412
|
/***/ }),
|
|
5050
|
-
/*
|
|
5413
|
+
/* 130 */
|
|
5051
5414
|
/***/ ((module) => {
|
|
5052
5415
|
|
|
5053
|
-
module.exports =
|
|
5416
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__130__;
|
|
5054
5417
|
|
|
5055
5418
|
/***/ }),
|
|
5056
|
-
/*
|
|
5419
|
+
/* 131 */
|
|
5057
5420
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5058
5421
|
|
|
5059
5422
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5067,14 +5430,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5067
5430
|
/* harmony export */ "ReflexerSupplyAction": () => (/* reexport safe */ _ReflexerSupplyAction__WEBPACK_IMPORTED_MODULE_2__.ReflexerSupplyAction),
|
|
5068
5431
|
/* harmony export */ "ReflexerWithdrawAction": () => (/* reexport safe */ _ReflexerWithdrawAction__WEBPACK_IMPORTED_MODULE_4__.ReflexerWithdrawAction)
|
|
5069
5432
|
/* harmony export */ });
|
|
5070
|
-
/* harmony import */ var _ReflexerOpenSafeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5071
|
-
/* harmony import */ var _ReflexerGenerateAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5072
|
-
/* harmony import */ var _ReflexerSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
5073
|
-
/* harmony import */ var _ReflexerPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
5074
|
-
/* harmony import */ var _ReflexerWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
5075
|
-
/* harmony import */ var _ReflexerNativeUniV2SaviourDepositAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
5076
|
-
/* harmony import */ var _ReflexerNativeUniV2SaviourWithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
5077
|
-
/* harmony import */ var _ReflexerNativeUniV2SaviourGetReservesAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
5433
|
+
/* harmony import */ var _ReflexerOpenSafeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(132);
|
|
5434
|
+
/* harmony import */ var _ReflexerGenerateAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(133);
|
|
5435
|
+
/* harmony import */ var _ReflexerSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(134);
|
|
5436
|
+
/* harmony import */ var _ReflexerPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(135);
|
|
5437
|
+
/* harmony import */ var _ReflexerWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(136);
|
|
5438
|
+
/* harmony import */ var _ReflexerNativeUniV2SaviourDepositAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(137);
|
|
5439
|
+
/* harmony import */ var _ReflexerNativeUniV2SaviourWithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(138);
|
|
5440
|
+
/* harmony import */ var _ReflexerNativeUniV2SaviourGetReservesAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(139);
|
|
5078
5441
|
|
|
5079
5442
|
|
|
5080
5443
|
|
|
@@ -5085,7 +5448,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5085
5448
|
|
|
5086
5449
|
|
|
5087
5450
|
/***/ }),
|
|
5088
|
-
/*
|
|
5451
|
+
/* 132 */
|
|
5089
5452
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5090
5453
|
|
|
5091
5454
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5111,7 +5474,7 @@ class ReflexerOpenSafeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
5111
5474
|
}
|
|
5112
5475
|
|
|
5113
5476
|
/***/ }),
|
|
5114
|
-
/*
|
|
5477
|
+
/* 133 */
|
|
5115
5478
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5116
5479
|
|
|
5117
5480
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5142,7 +5505,7 @@ class ReflexerGenerateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
5142
5505
|
}
|
|
5143
5506
|
|
|
5144
5507
|
/***/ }),
|
|
5145
|
-
/*
|
|
5508
|
+
/* 134 */
|
|
5146
5509
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5147
5510
|
|
|
5148
5511
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5196,7 +5559,7 @@ class ReflexerSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
5196
5559
|
}
|
|
5197
5560
|
|
|
5198
5561
|
/***/ }),
|
|
5199
|
-
/*
|
|
5562
|
+
/* 135 */
|
|
5200
5563
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5201
5564
|
|
|
5202
5565
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5239,7 +5602,7 @@ class ReflexerPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
5239
5602
|
}
|
|
5240
5603
|
|
|
5241
5604
|
/***/ }),
|
|
5242
|
-
/*
|
|
5605
|
+
/* 136 */
|
|
5243
5606
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5244
5607
|
|
|
5245
5608
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5272,7 +5635,7 @@ class ReflexerWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
5272
5635
|
}
|
|
5273
5636
|
|
|
5274
5637
|
/***/ }),
|
|
5275
|
-
/*
|
|
5638
|
+
/* 137 */
|
|
5276
5639
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5277
5640
|
|
|
5278
5641
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5314,7 +5677,7 @@ class ReflexerNativeUniV2SaviourDepositAction extends _Action__WEBPACK_IMPORTED_
|
|
|
5314
5677
|
}
|
|
5315
5678
|
|
|
5316
5679
|
/***/ }),
|
|
5317
|
-
/*
|
|
5680
|
+
/* 138 */
|
|
5318
5681
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5319
5682
|
|
|
5320
5683
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5346,7 +5709,7 @@ class ReflexerNativeUniV2SaviourWithdrawAction extends _Action__WEBPACK_IMPORTED
|
|
|
5346
5709
|
}
|
|
5347
5710
|
|
|
5348
5711
|
/***/ }),
|
|
5349
|
-
/*
|
|
5712
|
+
/* 139 */
|
|
5350
5713
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5351
5714
|
|
|
5352
5715
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5378,18 +5741,18 @@ class ReflexerNativeUniV2SaviourGetReservesAction extends _Action__WEBPACK_IMPOR
|
|
|
5378
5741
|
}
|
|
5379
5742
|
|
|
5380
5743
|
/***/ }),
|
|
5381
|
-
/*
|
|
5744
|
+
/* 140 */
|
|
5382
5745
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5383
5746
|
|
|
5384
5747
|
__webpack_require__.r(__webpack_exports__);
|
|
5385
5748
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5386
5749
|
/* harmony export */ "DyDxWithdrawAction": () => (/* reexport safe */ _DyDxWithdrawAction__WEBPACK_IMPORTED_MODULE_0__.DyDxWithdrawAction)
|
|
5387
5750
|
/* harmony export */ });
|
|
5388
|
-
/* harmony import */ var _DyDxWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5751
|
+
/* harmony import */ var _DyDxWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(141);
|
|
5389
5752
|
|
|
5390
5753
|
|
|
5391
5754
|
/***/ }),
|
|
5392
|
-
/*
|
|
5755
|
+
/* 141 */
|
|
5393
5756
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5394
5757
|
|
|
5395
5758
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5420,7 +5783,7 @@ class DyDxWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
5420
5783
|
}
|
|
5421
5784
|
|
|
5422
5785
|
/***/ }),
|
|
5423
|
-
/*
|
|
5786
|
+
/* 142 */
|
|
5424
5787
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5425
5788
|
|
|
5426
5789
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5431,11 +5794,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5431
5794
|
/* harmony export */ "UniswapV3SupplyAction": () => (/* reexport safe */ _UniswapV3SupplyAction__WEBPACK_IMPORTED_MODULE_1__.UniswapV3SupplyAction),
|
|
5432
5795
|
/* harmony export */ "UniswapV3WithdrawAction": () => (/* reexport safe */ _UniswapV3WithdrawAction__WEBPACK_IMPORTED_MODULE_2__.UniswapV3WithdrawAction)
|
|
5433
5796
|
/* harmony export */ });
|
|
5434
|
-
/* harmony import */ var _UniswapV3MintAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5435
|
-
/* harmony import */ var _UniswapV3SupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5436
|
-
/* harmony import */ var _UniswapV3WithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
5437
|
-
/* harmony import */ var _UniswapV3CollectAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
5438
|
-
/* harmony import */ var _UniswapV3CreatePoolAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
5797
|
+
/* harmony import */ var _UniswapV3MintAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(143);
|
|
5798
|
+
/* harmony import */ var _UniswapV3SupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(144);
|
|
5799
|
+
/* harmony import */ var _UniswapV3WithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(145);
|
|
5800
|
+
/* harmony import */ var _UniswapV3CollectAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(146);
|
|
5801
|
+
/* harmony import */ var _UniswapV3CreatePoolAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(147);
|
|
5439
5802
|
|
|
5440
5803
|
|
|
5441
5804
|
|
|
@@ -5443,7 +5806,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5443
5806
|
|
|
5444
5807
|
|
|
5445
5808
|
/***/ }),
|
|
5446
|
-
/*
|
|
5809
|
+
/* 143 */
|
|
5447
5810
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5448
5811
|
|
|
5449
5812
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5509,7 +5872,7 @@ class UniswapV3MintAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
5509
5872
|
}
|
|
5510
5873
|
|
|
5511
5874
|
/***/ }),
|
|
5512
|
-
/*
|
|
5875
|
+
/* 144 */
|
|
5513
5876
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5514
5877
|
|
|
5515
5878
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5569,7 +5932,7 @@ class UniswapV3SupplyAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.A
|
|
|
5569
5932
|
}
|
|
5570
5933
|
|
|
5571
5934
|
/***/ }),
|
|
5572
|
-
/*
|
|
5935
|
+
/* 145 */
|
|
5573
5936
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5574
5937
|
|
|
5575
5938
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5581,9 +5944,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5581
5944
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39);
|
|
5582
5945
|
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); } }
|
|
5583
5946
|
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); }); }; }
|
|
5584
|
-
function _defineProperty(obj, key, value) {
|
|
5585
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
5586
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5947
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5587
5948
|
|
|
5588
5949
|
|
|
5589
5950
|
|
|
@@ -5626,7 +5987,7 @@ class UniswapV3WithdrawAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__
|
|
|
5626
5987
|
}
|
|
5627
5988
|
|
|
5628
5989
|
/***/ }),
|
|
5629
|
-
/*
|
|
5990
|
+
/* 146 */
|
|
5630
5991
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5631
5992
|
|
|
5632
5993
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5637,9 +5998,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5637
5998
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
5638
5999
|
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); } }
|
|
5639
6000
|
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); }); }; }
|
|
5640
|
-
function _defineProperty(obj, key, value) {
|
|
5641
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
5642
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6001
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5643
6002
|
|
|
5644
6003
|
|
|
5645
6004
|
/**
|
|
@@ -5675,7 +6034,7 @@ class UniswapV3CollectAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
5675
6034
|
}
|
|
5676
6035
|
|
|
5677
6036
|
/***/ }),
|
|
5678
|
-
/*
|
|
6037
|
+
/* 147 */
|
|
5679
6038
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5680
6039
|
|
|
5681
6040
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5742,26 +6101,35 @@ class UniswapV3CreatePoolAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1
|
|
|
5742
6101
|
}
|
|
5743
6102
|
|
|
5744
6103
|
/***/ }),
|
|
5745
|
-
/*
|
|
6104
|
+
/* 148 */
|
|
5746
6105
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5747
6106
|
|
|
5748
6107
|
__webpack_require__.r(__webpack_exports__);
|
|
5749
6108
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6109
|
+
/* harmony export */ "AaveV2RatioCheckAction": () => (/* reexport safe */ _AaveV2RatioCheckAction__WEBPACK_IMPORTED_MODULE_4__.AaveV2RatioCheckAction),
|
|
5750
6110
|
/* harmony export */ "AaveV3RatioCheckAction": () => (/* reexport safe */ _AaveV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_1__.AaveV3RatioCheckAction),
|
|
6111
|
+
/* harmony export */ "CompoundV2RatioCheckAction": () => (/* reexport safe */ _CompoundV2RatioCheckAction__WEBPACK_IMPORTED_MODULE_5__.CompoundV2RatioCheckAction),
|
|
5751
6112
|
/* harmony export */ "CompoundV3RatioCheckAction": () => (/* reexport safe */ _CompoundV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_2__.CompoundV3RatioCheckAction),
|
|
5752
|
-
/* harmony export */ "
|
|
5753
|
-
/* harmony export */ "
|
|
6113
|
+
/* harmony export */ "CurveUsdCollRatioCheck": () => (/* reexport safe */ _CurveUsdCollRatioCheck__WEBPACK_IMPORTED_MODULE_9__.CurveUsdCollRatioCheck),
|
|
6114
|
+
/* harmony export */ "LiquityRatioCheckAction": () => (/* reexport safe */ _LiquityRatioCheckAction__WEBPACK_IMPORTED_MODULE_3__.LiquityRatioCheckAction),
|
|
6115
|
+
/* harmony export */ "LiquityRatioIncreaseCheckAction": () => (/* reexport safe */ _LiquityRatioIncreaseCheckAction__WEBPACK_IMPORTED_MODULE_8__.LiquityRatioIncreaseCheckAction),
|
|
5754
6116
|
/* harmony export */ "MakerRatioCheckAction": () => (/* reexport safe */ _MakerRatioCheckAction__WEBPACK_IMPORTED_MODULE_0__.MakerRatioCheckAction),
|
|
5755
|
-
/* harmony export */ "MorphoAaveV2RatioCheckAction": () => (/* reexport safe */
|
|
5756
|
-
/* harmony export */ "SparkRatioCheckAction": () => (/* reexport safe */
|
|
6117
|
+
/* harmony export */ "MorphoAaveV2RatioCheckAction": () => (/* reexport safe */ _MorphoAaveV2RatioCheckAction__WEBPACK_IMPORTED_MODULE_6__.MorphoAaveV2RatioCheckAction),
|
|
6118
|
+
/* harmony export */ "SparkRatioCheckAction": () => (/* reexport safe */ _SparkRatioCheckAction__WEBPACK_IMPORTED_MODULE_7__.SparkRatioCheckAction)
|
|
5757
6119
|
/* harmony export */ });
|
|
5758
|
-
/* harmony import */ var _MakerRatioCheckAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5759
|
-
/* harmony import */ var _AaveV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5760
|
-
/* harmony import */ var _CompoundV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
5761
|
-
/* harmony import */ var
|
|
5762
|
-
/* harmony import */ var
|
|
5763
|
-
/* harmony import */ var
|
|
5764
|
-
/* harmony import */ var
|
|
6120
|
+
/* harmony import */ var _MakerRatioCheckAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(149);
|
|
6121
|
+
/* harmony import */ var _AaveV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(150);
|
|
6122
|
+
/* harmony import */ var _CompoundV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(151);
|
|
6123
|
+
/* harmony import */ var _LiquityRatioCheckAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(152);
|
|
6124
|
+
/* harmony import */ var _AaveV2RatioCheckAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(153);
|
|
6125
|
+
/* harmony import */ var _CompoundV2RatioCheckAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(154);
|
|
6126
|
+
/* harmony import */ var _MorphoAaveV2RatioCheckAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(155);
|
|
6127
|
+
/* harmony import */ var _SparkRatioCheckAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(156);
|
|
6128
|
+
/* harmony import */ var _LiquityRatioIncreaseCheckAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(157);
|
|
6129
|
+
/* harmony import */ var _CurveUsdCollRatioCheck__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(158);
|
|
6130
|
+
|
|
6131
|
+
|
|
6132
|
+
|
|
5765
6133
|
|
|
5766
6134
|
|
|
5767
6135
|
|
|
@@ -5771,7 +6139,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5771
6139
|
|
|
5772
6140
|
|
|
5773
6141
|
/***/ }),
|
|
5774
|
-
/*
|
|
6142
|
+
/* 149 */
|
|
5775
6143
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5776
6144
|
|
|
5777
6145
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5802,7 +6170,7 @@ class MakerRatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
5802
6170
|
}
|
|
5803
6171
|
|
|
5804
6172
|
/***/ }),
|
|
5805
|
-
/*
|
|
6173
|
+
/* 150 */
|
|
5806
6174
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5807
6175
|
|
|
5808
6176
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5830,7 +6198,7 @@ class AaveV3RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
5830
6198
|
}
|
|
5831
6199
|
|
|
5832
6200
|
/***/ }),
|
|
5833
|
-
/*
|
|
6201
|
+
/* 151 */
|
|
5834
6202
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5835
6203
|
|
|
5836
6204
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5860,64 +6228,120 @@ class CompoundV3RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
5860
6228
|
}
|
|
5861
6229
|
|
|
5862
6230
|
/***/ }),
|
|
5863
|
-
/*
|
|
6231
|
+
/* 152 */
|
|
5864
6232
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5865
6233
|
|
|
5866
6234
|
__webpack_require__.r(__webpack_exports__);
|
|
5867
6235
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5868
|
-
/* harmony export */ "
|
|
6236
|
+
/* harmony export */ "LiquityRatioCheckAction": () => (/* binding */ LiquityRatioCheckAction)
|
|
5869
6237
|
/* harmony export */ });
|
|
5870
6238
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
5871
6239
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
5872
6240
|
|
|
5873
6241
|
|
|
5874
6242
|
/**
|
|
5875
|
-
*
|
|
6243
|
+
* LiquityRatioCheckAction - Checks liquity ratio for user position and reverts if faulty
|
|
5876
6244
|
*
|
|
5877
6245
|
* @category Checkers
|
|
5878
6246
|
*/
|
|
5879
|
-
class
|
|
6247
|
+
class LiquityRatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
5880
6248
|
/**
|
|
5881
6249
|
* @param ratioState If it should lower/higher
|
|
5882
6250
|
* @param targetRatio The ratio user want to be at
|
|
5883
|
-
* @param user Address of the user we are checking the ratio for (default to proxy)
|
|
5884
6251
|
*/
|
|
5885
|
-
constructor(ratioState, targetRatio
|
|
5886
|
-
super('
|
|
5887
|
-
this.mappableArgs = [this.args[0], this.args[1]
|
|
6252
|
+
constructor(ratioState, targetRatio) {
|
|
6253
|
+
super('LiquityRatioCheck', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LiquityRatioCheck'), ['uint8', 'uint256'], [ratioState, targetRatio]);
|
|
6254
|
+
this.mappableArgs = [this.args[0], this.args[1]];
|
|
5888
6255
|
}
|
|
5889
6256
|
}
|
|
5890
6257
|
|
|
5891
6258
|
/***/ }),
|
|
5892
|
-
/*
|
|
6259
|
+
/* 153 */
|
|
5893
6260
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5894
6261
|
|
|
5895
6262
|
__webpack_require__.r(__webpack_exports__);
|
|
5896
6263
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5897
|
-
/* harmony export */ "
|
|
6264
|
+
/* harmony export */ "AaveV2RatioCheckAction": () => (/* binding */ AaveV2RatioCheckAction)
|
|
5898
6265
|
/* harmony export */ });
|
|
5899
6266
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
5900
6267
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
5901
6268
|
|
|
5902
6269
|
|
|
5903
6270
|
/**
|
|
5904
|
-
*
|
|
6271
|
+
* AaveV2RatioCheckAction - Checks aave 2 ratio for users proxy position and reverts if faulty
|
|
5905
6272
|
*
|
|
5906
6273
|
* @category Checkers
|
|
5907
6274
|
*/
|
|
5908
|
-
class
|
|
6275
|
+
class AaveV2RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
5909
6276
|
/**
|
|
5910
6277
|
* @param ratioState If it should lower/higher
|
|
5911
6278
|
* @param targetRatio The ratio user want to be at
|
|
5912
6279
|
*/
|
|
5913
6280
|
constructor(ratioState, targetRatio) {
|
|
5914
|
-
super('
|
|
6281
|
+
super('AaveV2RatioCheck', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV2RatioCheck'), ['uint8', 'uint256'], [ratioState, targetRatio]);
|
|
5915
6282
|
this.mappableArgs = [this.args[0], this.args[1]];
|
|
5916
6283
|
}
|
|
5917
6284
|
}
|
|
5918
6285
|
|
|
5919
6286
|
/***/ }),
|
|
5920
|
-
/*
|
|
6287
|
+
/* 154 */
|
|
6288
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6289
|
+
|
|
6290
|
+
__webpack_require__.r(__webpack_exports__);
|
|
6291
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6292
|
+
/* harmony export */ "CompoundV2RatioCheckAction": () => (/* binding */ CompoundV2RatioCheckAction)
|
|
6293
|
+
/* harmony export */ });
|
|
6294
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
6295
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
6296
|
+
|
|
6297
|
+
|
|
6298
|
+
/**
|
|
6299
|
+
* CompoundV2RatioCheckAction - Checks comp V2 ratio for user position and reverts if faulty
|
|
6300
|
+
*
|
|
6301
|
+
* @category Checkers
|
|
6302
|
+
*/
|
|
6303
|
+
class CompoundV2RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
6304
|
+
/**
|
|
6305
|
+
* @param ratioState If it should lower/higher
|
|
6306
|
+
* @param targetRatio The ratio user want to be at
|
|
6307
|
+
*/
|
|
6308
|
+
constructor(ratioState, targetRatio) {
|
|
6309
|
+
super('CompV2RatioCheck', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CompV2RatioCheck'), ['uint8', 'uint256'], [ratioState, targetRatio]);
|
|
6310
|
+
this.mappableArgs = [this.args[0], this.args[1]];
|
|
6311
|
+
}
|
|
6312
|
+
}
|
|
6313
|
+
|
|
6314
|
+
/***/ }),
|
|
6315
|
+
/* 155 */
|
|
6316
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6317
|
+
|
|
6318
|
+
__webpack_require__.r(__webpack_exports__);
|
|
6319
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6320
|
+
/* harmony export */ "MorphoAaveV2RatioCheckAction": () => (/* binding */ MorphoAaveV2RatioCheckAction)
|
|
6321
|
+
/* harmony export */ });
|
|
6322
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
6323
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
6324
|
+
|
|
6325
|
+
|
|
6326
|
+
/**
|
|
6327
|
+
* MorphoAaveV2RatioCheckAction - Checks Morpho-AaveV2 ratio for user position and reverts if faulty
|
|
6328
|
+
*
|
|
6329
|
+
* @category Checkers
|
|
6330
|
+
*/
|
|
6331
|
+
class MorphoAaveV2RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
6332
|
+
/**
|
|
6333
|
+
* @param ratioState If it should lower/higher
|
|
6334
|
+
* @param targetRatio The ratio user want to be at
|
|
6335
|
+
* @param user Address of the user we are checking the ratio for (default to proxy)
|
|
6336
|
+
*/
|
|
6337
|
+
constructor(ratioState, targetRatio, user) {
|
|
6338
|
+
super('MorphoAaveV2RatioCheck', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoAaveV2RatioCheck'), ['uint8', 'uint256', 'address'], [ratioState, targetRatio, user]);
|
|
6339
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
6340
|
+
}
|
|
6341
|
+
}
|
|
6342
|
+
|
|
6343
|
+
/***/ }),
|
|
6344
|
+
/* 156 */
|
|
5921
6345
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5922
6346
|
|
|
5923
6347
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5945,7 +6369,7 @@ class SparkRatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
5945
6369
|
}
|
|
5946
6370
|
|
|
5947
6371
|
/***/ }),
|
|
5948
|
-
/*
|
|
6372
|
+
/* 157 */
|
|
5949
6373
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5950
6374
|
|
|
5951
6375
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5972,20 +6396,49 @@ class LiquityRatioIncreaseCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0
|
|
|
5972
6396
|
}
|
|
5973
6397
|
|
|
5974
6398
|
/***/ }),
|
|
5975
|
-
/*
|
|
6399
|
+
/* 158 */
|
|
5976
6400
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5977
6401
|
|
|
5978
6402
|
__webpack_require__.r(__webpack_exports__);
|
|
5979
6403
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5980
|
-
/* harmony export */ "
|
|
5981
|
-
/* harmony export */
|
|
5982
|
-
/* harmony
|
|
5983
|
-
/* harmony
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
6404
|
+
/* harmony export */ "CurveUsdCollRatioCheck": () => (/* binding */ CurveUsdCollRatioCheck)
|
|
6405
|
+
/* harmony export */ });
|
|
6406
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
6407
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
6408
|
+
|
|
6409
|
+
|
|
6410
|
+
/**
|
|
6411
|
+
* CurveUsdCollRatioCheck - Checks curveusd coll ratio for user position and reverts if faulty
|
|
6412
|
+
*
|
|
6413
|
+
* @category Checkers
|
|
6414
|
+
*/
|
|
6415
|
+
class CurveUsdCollRatioCheck extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
6416
|
+
/**
|
|
6417
|
+
* @param ratioState If it should lower/higher
|
|
6418
|
+
* @param targetRatio The ratio user want to be at
|
|
6419
|
+
* @param controllerAddr
|
|
6420
|
+
*/
|
|
6421
|
+
constructor(ratioState, targetRatio, controllerAddr) {
|
|
6422
|
+
super('CurveUsdCollRatioCheck', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdCollRatioCheck'), ['uint8', 'uint256', 'address'], [ratioState, targetRatio, controllerAddr]);
|
|
6423
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6426
|
+
|
|
6427
|
+
/***/ }),
|
|
6428
|
+
/* 159 */
|
|
6429
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6430
|
+
|
|
6431
|
+
__webpack_require__.r(__webpack_exports__);
|
|
6432
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6433
|
+
/* harmony export */ "LiquityAdjustAction": () => (/* reexport safe */ _LiquityAdjustAction__WEBPACK_IMPORTED_MODULE_15__.LiquityAdjustAction),
|
|
6434
|
+
/* harmony export */ "LiquityBorrowAction": () => (/* reexport safe */ _LiquityBorrowAction__WEBPACK_IMPORTED_MODULE_1__.LiquityBorrowAction),
|
|
6435
|
+
/* harmony export */ "LiquityClaimAction": () => (/* reexport safe */ _LiquityClaimAction__WEBPACK_IMPORTED_MODULE_6__.LiquityClaimAction),
|
|
6436
|
+
/* harmony export */ "LiquityClaimSPRewardsAction": () => (/* reexport safe */ _LiquityClaimSPRewardsAction__WEBPACK_IMPORTED_MODULE_13__.LiquityClaimSPRewardsAction),
|
|
6437
|
+
/* harmony export */ "LiquityClaimStakingRewardsAction": () => (/* reexport safe */ _LiquityClaimStakingRewardsAction__WEBPACK_IMPORTED_MODULE_14__.LiquityClaimStakingRewardsAction),
|
|
6438
|
+
/* harmony export */ "LiquityCloseAction": () => (/* reexport safe */ _LiquityCloseAction__WEBPACK_IMPORTED_MODULE_5__.LiquityCloseAction),
|
|
6439
|
+
/* harmony export */ "LiquityEthGainToTroveAction": () => (/* reexport safe */ _LiquityEthGainToTroveAction__WEBPACK_IMPORTED_MODULE_12__.LiquityEthGainToTroveAction),
|
|
6440
|
+
/* harmony export */ "LiquityOpenAction": () => (/* reexport safe */ _LiquityOpenAction__WEBPACK_IMPORTED_MODULE_0__.LiquityOpenAction),
|
|
6441
|
+
/* harmony export */ "LiquityPaybackAction": () => (/* reexport safe */ _LiquityPaybackAction__WEBPACK_IMPORTED_MODULE_2__.LiquityPaybackAction),
|
|
5989
6442
|
/* harmony export */ "LiquityRedeemAction": () => (/* reexport safe */ _LiquityRedeemAction__WEBPACK_IMPORTED_MODULE_7__.LiquityRedeemAction),
|
|
5990
6443
|
/* harmony export */ "LiquitySPDepositAction": () => (/* reexport safe */ _LiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_8__.LiquitySPDepositAction),
|
|
5991
6444
|
/* harmony export */ "LiquitySPWithdrawAction": () => (/* reexport safe */ _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_9__.LiquitySPWithdrawAction),
|
|
@@ -5994,22 +6447,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5994
6447
|
/* harmony export */ "LiquityUnstakeAction": () => (/* reexport safe */ _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_11__.LiquityUnstakeAction),
|
|
5995
6448
|
/* harmony export */ "LiquityWithdrawAction": () => (/* reexport safe */ _LiquityWithdrawAction__WEBPACK_IMPORTED_MODULE_4__.LiquityWithdrawAction)
|
|
5996
6449
|
/* harmony export */ });
|
|
5997
|
-
/* harmony import */ var _LiquityOpenAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5998
|
-
/* harmony import */ var _LiquityBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
5999
|
-
/* harmony import */ var _LiquityPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
6000
|
-
/* harmony import */ var _LiquitySupplyAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
6001
|
-
/* harmony import */ var _LiquityWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
6002
|
-
/* harmony import */ var _LiquityCloseAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
6003
|
-
/* harmony import */ var _LiquityClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
6004
|
-
/* harmony import */ var _LiquityRedeemAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
6005
|
-
/* harmony import */ var _LiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
6006
|
-
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
6007
|
-
/* harmony import */ var _LiquityStakeAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
6008
|
-
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
6009
|
-
/* harmony import */ var _LiquityEthGainToTroveAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
6010
|
-
/* harmony import */ var _LiquityClaimSPRewardsAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
6011
|
-
/* harmony import */ var _LiquityClaimStakingRewardsAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
6012
|
-
/* harmony import */ var _LiquityAdjustAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
6450
|
+
/* harmony import */ var _LiquityOpenAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(160);
|
|
6451
|
+
/* harmony import */ var _LiquityBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(161);
|
|
6452
|
+
/* harmony import */ var _LiquityPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(162);
|
|
6453
|
+
/* harmony import */ var _LiquitySupplyAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(163);
|
|
6454
|
+
/* harmony import */ var _LiquityWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(164);
|
|
6455
|
+
/* harmony import */ var _LiquityCloseAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(165);
|
|
6456
|
+
/* harmony import */ var _LiquityClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(166);
|
|
6457
|
+
/* harmony import */ var _LiquityRedeemAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(167);
|
|
6458
|
+
/* harmony import */ var _LiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(168);
|
|
6459
|
+
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(169);
|
|
6460
|
+
/* harmony import */ var _LiquityStakeAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(170);
|
|
6461
|
+
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(171);
|
|
6462
|
+
/* harmony import */ var _LiquityEthGainToTroveAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(172);
|
|
6463
|
+
/* harmony import */ var _LiquityClaimSPRewardsAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(173);
|
|
6464
|
+
/* harmony import */ var _LiquityClaimStakingRewardsAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(174);
|
|
6465
|
+
/* harmony import */ var _LiquityAdjustAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(175);
|
|
6013
6466
|
|
|
6014
6467
|
|
|
6015
6468
|
|
|
@@ -6028,7 +6481,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6028
6481
|
|
|
6029
6482
|
|
|
6030
6483
|
/***/ }),
|
|
6031
|
-
/*
|
|
6484
|
+
/* 160 */
|
|
6032
6485
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6033
6486
|
|
|
6034
6487
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6079,7 +6532,7 @@ class LiquityOpenAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6079
6532
|
}
|
|
6080
6533
|
|
|
6081
6534
|
/***/ }),
|
|
6082
|
-
/*
|
|
6535
|
+
/* 161 */
|
|
6083
6536
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6084
6537
|
|
|
6085
6538
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6113,7 +6566,7 @@ class LiquityBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
6113
6566
|
}
|
|
6114
6567
|
|
|
6115
6568
|
/***/ }),
|
|
6116
|
-
/*
|
|
6569
|
+
/* 162 */
|
|
6117
6570
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6118
6571
|
|
|
6119
6572
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6160,7 +6613,7 @@ class LiquityPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6160
6613
|
}
|
|
6161
6614
|
|
|
6162
6615
|
/***/ }),
|
|
6163
|
-
/*
|
|
6616
|
+
/* 163 */
|
|
6164
6617
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6165
6618
|
|
|
6166
6619
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6207,7 +6660,7 @@ class LiquitySupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6207
6660
|
}
|
|
6208
6661
|
|
|
6209
6662
|
/***/ }),
|
|
6210
|
-
/*
|
|
6663
|
+
/* 164 */
|
|
6211
6664
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6212
6665
|
|
|
6213
6666
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6240,7 +6693,7 @@ class LiquityWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
6240
6693
|
}
|
|
6241
6694
|
|
|
6242
6695
|
/***/ }),
|
|
6243
|
-
/*
|
|
6696
|
+
/* 165 */
|
|
6244
6697
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6245
6698
|
|
|
6246
6699
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6286,7 +6739,7 @@ class LiquityCloseAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6286
6739
|
}
|
|
6287
6740
|
|
|
6288
6741
|
/***/ }),
|
|
6289
|
-
/*
|
|
6742
|
+
/* 166 */
|
|
6290
6743
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6291
6744
|
|
|
6292
6745
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6316,7 +6769,7 @@ class LiquityClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
6316
6769
|
}
|
|
6317
6770
|
|
|
6318
6771
|
/***/ }),
|
|
6319
|
-
/*
|
|
6772
|
+
/* 167 */
|
|
6320
6773
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6321
6774
|
|
|
6322
6775
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6369,7 +6822,7 @@ class LiquityRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6369
6822
|
}
|
|
6370
6823
|
|
|
6371
6824
|
/***/ }),
|
|
6372
|
-
/*
|
|
6825
|
+
/* 168 */
|
|
6373
6826
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6374
6827
|
|
|
6375
6828
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6418,7 +6871,7 @@ class LiquitySPDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
6418
6871
|
}
|
|
6419
6872
|
|
|
6420
6873
|
/***/ }),
|
|
6421
|
-
/*
|
|
6874
|
+
/* 169 */
|
|
6422
6875
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6423
6876
|
|
|
6424
6877
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6453,7 +6906,7 @@ class LiquitySPWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
6453
6906
|
}
|
|
6454
6907
|
|
|
6455
6908
|
/***/ }),
|
|
6456
|
-
/*
|
|
6909
|
+
/* 170 */
|
|
6457
6910
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6458
6911
|
|
|
6459
6912
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6502,7 +6955,7 @@ class LiquityStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6502
6955
|
}
|
|
6503
6956
|
|
|
6504
6957
|
/***/ }),
|
|
6505
|
-
/*
|
|
6958
|
+
/* 171 */
|
|
6506
6959
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6507
6960
|
|
|
6508
6961
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6537,7 +6990,7 @@ class LiquityUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
6537
6990
|
}
|
|
6538
6991
|
|
|
6539
6992
|
/***/ }),
|
|
6540
|
-
/*
|
|
6993
|
+
/* 172 */
|
|
6541
6994
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6542
6995
|
|
|
6543
6996
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6569,14 +7022,14 @@ class LiquityEthGainToTroveAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
6569
7022
|
}
|
|
6570
7023
|
|
|
6571
7024
|
/***/ }),
|
|
6572
|
-
/*
|
|
7025
|
+
/* 173 */
|
|
6573
7026
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6574
7027
|
|
|
6575
7028
|
__webpack_require__.r(__webpack_exports__);
|
|
6576
7029
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6577
7030
|
/* harmony export */ "LiquityClaimSPRewardsAction": () => (/* binding */ LiquityClaimSPRewardsAction)
|
|
6578
7031
|
/* harmony export */ });
|
|
6579
|
-
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7032
|
+
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(169);
|
|
6580
7033
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
6581
7034
|
|
|
6582
7035
|
|
|
@@ -6598,14 +7051,14 @@ class LiquityClaimSPRewardsAction extends _LiquitySPWithdrawAction__WEBPACK_IMPO
|
|
|
6598
7051
|
}
|
|
6599
7052
|
|
|
6600
7053
|
/***/ }),
|
|
6601
|
-
/*
|
|
7054
|
+
/* 174 */
|
|
6602
7055
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6603
7056
|
|
|
6604
7057
|
__webpack_require__.r(__webpack_exports__);
|
|
6605
7058
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6606
7059
|
/* harmony export */ "LiquityClaimStakingRewardsAction": () => (/* binding */ LiquityClaimStakingRewardsAction)
|
|
6607
7060
|
/* harmony export */ });
|
|
6608
|
-
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7061
|
+
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(171);
|
|
6609
7062
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
6610
7063
|
|
|
6611
7064
|
|
|
@@ -6627,7 +7080,7 @@ class LiquityClaimStakingRewardsAction extends _LiquityUnstakeAction__WEBPACK_IM
|
|
|
6627
7080
|
}
|
|
6628
7081
|
|
|
6629
7082
|
/***/ }),
|
|
6630
|
-
/*
|
|
7083
|
+
/* 175 */
|
|
6631
7084
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6632
7085
|
|
|
6633
7086
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6666,7 +7119,7 @@ class LiquityAdjustAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
6666
7119
|
}
|
|
6667
7120
|
|
|
6668
7121
|
/***/ }),
|
|
6669
|
-
/*
|
|
7122
|
+
/* 176 */
|
|
6670
7123
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6671
7124
|
|
|
6672
7125
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6674,13 +7127,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6674
7127
|
/* harmony export */ "YearnSupplyAction": () => (/* reexport safe */ _YearnSupplyAction__WEBPACK_IMPORTED_MODULE_0__.YearnSupplyAction),
|
|
6675
7128
|
/* harmony export */ "YearnWithdrawAction": () => (/* reexport safe */ _YearnWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.YearnWithdrawAction)
|
|
6676
7129
|
/* harmony export */ });
|
|
6677
|
-
/* harmony import */ var _YearnSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
6678
|
-
/* harmony import */ var _YearnWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
7130
|
+
/* harmony import */ var _YearnSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(177);
|
|
7131
|
+
/* harmony import */ var _YearnWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(178);
|
|
6679
7132
|
|
|
6680
7133
|
|
|
6681
7134
|
|
|
6682
7135
|
/***/ }),
|
|
6683
|
-
/*
|
|
7136
|
+
/* 177 */
|
|
6684
7137
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6685
7138
|
|
|
6686
7139
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6731,7 +7184,7 @@ class YearnSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6731
7184
|
}
|
|
6732
7185
|
|
|
6733
7186
|
/***/ }),
|
|
6734
|
-
/*
|
|
7187
|
+
/* 178 */
|
|
6735
7188
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6736
7189
|
|
|
6737
7190
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6782,7 +7235,7 @@ class YearnWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6782
7235
|
}
|
|
6783
7236
|
|
|
6784
7237
|
/***/ }),
|
|
6785
|
-
/*
|
|
7238
|
+
/* 179 */
|
|
6786
7239
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6787
7240
|
|
|
6788
7241
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6791,15 +7244,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6791
7244
|
/* harmony export */ "LidoUnwrapAction": () => (/* reexport safe */ _LidoUnwrapAction__WEBPACK_IMPORTED_MODULE_2__.LidoUnwrapAction),
|
|
6792
7245
|
/* harmony export */ "LidoWrapAction": () => (/* reexport safe */ _LidoWrapAction__WEBPACK_IMPORTED_MODULE_1__.LidoWrapAction)
|
|
6793
7246
|
/* harmony export */ });
|
|
6794
|
-
/* harmony import */ var _LidoStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
6795
|
-
/* harmony import */ var _LidoWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
6796
|
-
/* harmony import */ var _LidoUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
7247
|
+
/* harmony import */ var _LidoStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(180);
|
|
7248
|
+
/* harmony import */ var _LidoWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(181);
|
|
7249
|
+
/* harmony import */ var _LidoUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(182);
|
|
6797
7250
|
|
|
6798
7251
|
|
|
6799
7252
|
|
|
6800
7253
|
|
|
6801
7254
|
/***/ }),
|
|
6802
|
-
/*
|
|
7255
|
+
/* 180 */
|
|
6803
7256
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6804
7257
|
|
|
6805
7258
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6845,7 +7298,7 @@ class LidoStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6845
7298
|
}
|
|
6846
7299
|
|
|
6847
7300
|
/***/ }),
|
|
6848
|
-
/*
|
|
7301
|
+
/* 181 */
|
|
6849
7302
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6850
7303
|
|
|
6851
7304
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6899,7 +7352,7 @@ class LidoWrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
6899
7352
|
}
|
|
6900
7353
|
|
|
6901
7354
|
/***/ }),
|
|
6902
|
-
/*
|
|
7355
|
+
/* 182 */
|
|
6903
7356
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6904
7357
|
|
|
6905
7358
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6942,18 +7395,18 @@ class LidoUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
6942
7395
|
}
|
|
6943
7396
|
|
|
6944
7397
|
/***/ }),
|
|
6945
|
-
/*
|
|
7398
|
+
/* 183 */
|
|
6946
7399
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6947
7400
|
|
|
6948
7401
|
__webpack_require__.r(__webpack_exports__);
|
|
6949
7402
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6950
7403
|
/* harmony export */ "InstPullTokensAction": () => (/* reexport safe */ _InstPullTokensAction__WEBPACK_IMPORTED_MODULE_0__.InstPullTokensAction)
|
|
6951
7404
|
/* harmony export */ });
|
|
6952
|
-
/* harmony import */ var _InstPullTokensAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7405
|
+
/* harmony import */ var _InstPullTokensAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184);
|
|
6953
7406
|
|
|
6954
7407
|
|
|
6955
7408
|
/***/ }),
|
|
6956
|
-
/*
|
|
7409
|
+
/* 184 */
|
|
6957
7410
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6958
7411
|
|
|
6959
7412
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6996,7 +7449,7 @@ class InstPullTokensAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
6996
7449
|
}
|
|
6997
7450
|
|
|
6998
7451
|
/***/ }),
|
|
6999
|
-
/*
|
|
7452
|
+
/* 185 */
|
|
7000
7453
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7001
7454
|
|
|
7002
7455
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7005,15 +7458,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7005
7458
|
/* harmony export */ "BalancerV2SupplyAction": () => (/* reexport safe */ _BalancerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__.BalancerV2SupplyAction),
|
|
7006
7459
|
/* harmony export */ "BalancerV2WithdrawAction": () => (/* reexport safe */ _BalancerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__.BalancerV2WithdrawAction)
|
|
7007
7460
|
/* harmony export */ });
|
|
7008
|
-
/* harmony import */ var _BalancerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7009
|
-
/* harmony import */ var _BalancerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
7010
|
-
/* harmony import */ var _BalancerV2ClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
7461
|
+
/* harmony import */ var _BalancerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(186);
|
|
7462
|
+
/* harmony import */ var _BalancerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(187);
|
|
7463
|
+
/* harmony import */ var _BalancerV2ClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(188);
|
|
7011
7464
|
|
|
7012
7465
|
|
|
7013
7466
|
|
|
7014
7467
|
|
|
7015
7468
|
/***/ }),
|
|
7016
|
-
/*
|
|
7469
|
+
/* 186 */
|
|
7017
7470
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7018
7471
|
|
|
7019
7472
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7065,7 +7518,7 @@ class BalancerV2SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
7065
7518
|
}
|
|
7066
7519
|
|
|
7067
7520
|
/***/ }),
|
|
7068
|
-
/*
|
|
7521
|
+
/* 187 */
|
|
7069
7522
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7070
7523
|
|
|
7071
7524
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7077,9 +7530,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7077
7530
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
7078
7531
|
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); } }
|
|
7079
7532
|
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); }); }; }
|
|
7080
|
-
function _defineProperty(obj, key, value) {
|
|
7081
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
7082
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7533
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7083
7534
|
|
|
7084
7535
|
|
|
7085
7536
|
|
|
@@ -7123,7 +7574,7 @@ class BalancerV2WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
7123
7574
|
}
|
|
7124
7575
|
|
|
7125
7576
|
/***/ }),
|
|
7126
|
-
/*
|
|
7577
|
+
/* 188 */
|
|
7127
7578
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7128
7579
|
|
|
7129
7580
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7172,7 +7623,7 @@ class BalancerV2ClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
7172
7623
|
}
|
|
7173
7624
|
|
|
7174
7625
|
/***/ }),
|
|
7175
|
-
/*
|
|
7626
|
+
/* 189 */
|
|
7176
7627
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7177
7628
|
|
|
7178
7629
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7187,15 +7638,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7187
7638
|
/* harmony export */ "CurveSwapAction": () => (/* reexport safe */ _CurveSwapAction__WEBPACK_IMPORTED_MODULE_0__.CurveSwapAction),
|
|
7188
7639
|
/* harmony export */ "CurveWithdrawAction": () => (/* reexport safe */ _CurveWithdrawAction__WEBPACK_IMPORTED_MODULE_2__.CurveWithdrawAction)
|
|
7189
7640
|
/* harmony export */ });
|
|
7190
|
-
/* harmony import */ var _CurveSwapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7191
|
-
/* harmony import */ var _CurveDepositAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
7192
|
-
/* harmony import */ var _CurveWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
7193
|
-
/* harmony import */ var _CurveGaugeDepositAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
7194
|
-
/* harmony import */ var _CurveGaugeWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
7195
|
-
/* harmony import */ var _CurveMintCrvAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
7196
|
-
/* harmony import */ var _CurveClaimFeesAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
7197
|
-
/* harmony import */ var _CurveStethPoolDepositAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
7198
|
-
/* harmony import */ var _CurveStethPoolWithdrawAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
7641
|
+
/* harmony import */ var _CurveSwapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(190);
|
|
7642
|
+
/* harmony import */ var _CurveDepositAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(191);
|
|
7643
|
+
/* harmony import */ var _CurveWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(194);
|
|
7644
|
+
/* harmony import */ var _CurveGaugeDepositAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(195);
|
|
7645
|
+
/* harmony import */ var _CurveGaugeWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(196);
|
|
7646
|
+
/* harmony import */ var _CurveMintCrvAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(197);
|
|
7647
|
+
/* harmony import */ var _CurveClaimFeesAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(198);
|
|
7648
|
+
/* harmony import */ var _CurveStethPoolDepositAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(199);
|
|
7649
|
+
/* harmony import */ var _CurveStethPoolWithdrawAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(200);
|
|
7199
7650
|
|
|
7200
7651
|
|
|
7201
7652
|
|
|
@@ -7207,7 +7658,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7207
7658
|
|
|
7208
7659
|
|
|
7209
7660
|
/***/ }),
|
|
7210
|
-
/*
|
|
7661
|
+
/* 190 */
|
|
7211
7662
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7212
7663
|
|
|
7213
7664
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7254,7 +7705,7 @@ class CurveSwapAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7254
7705
|
}
|
|
7255
7706
|
|
|
7256
7707
|
/***/ }),
|
|
7257
|
-
/*
|
|
7708
|
+
/* 191 */
|
|
7258
7709
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7259
7710
|
|
|
7260
7711
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7266,12 +7717,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7266
7717
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
7267
7718
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39);
|
|
7268
7719
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27);
|
|
7269
|
-
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
7720
|
+
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(192);
|
|
7270
7721
|
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); } }
|
|
7271
7722
|
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); }); }; }
|
|
7272
|
-
function _defineProperty(obj, key, value) {
|
|
7273
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
7274
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7723
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7275
7724
|
|
|
7276
7725
|
|
|
7277
7726
|
|
|
@@ -7329,7 +7778,7 @@ class CurveDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
7329
7778
|
}
|
|
7330
7779
|
|
|
7331
7780
|
/***/ }),
|
|
7332
|
-
/*
|
|
7781
|
+
/* 192 */
|
|
7333
7782
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7334
7783
|
|
|
7335
7784
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7337,7 +7786,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7337
7786
|
/* harmony export */ "makeFlags": () => (/* binding */ makeFlags),
|
|
7338
7787
|
/* harmony export */ "poolInfo": () => (/* reexport default export from named module */ _curvePoolInfo_json__WEBPACK_IMPORTED_MODULE_0__)
|
|
7339
7788
|
/* harmony export */ });
|
|
7340
|
-
/* harmony import */ var _curvePoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7789
|
+
/* harmony import */ var _curvePoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(193);
|
|
7341
7790
|
|
|
7342
7791
|
|
|
7343
7792
|
|
|
@@ -7350,13 +7799,13 @@ var makeFlags = (depositTargetType, explicitUnderlying, withdrawExact, removeOne
|
|
|
7350
7799
|
) => depositTargetType | explicitUnderlying << 2 | withdrawExact << 3 | removeOneCoin << 4;
|
|
7351
7800
|
|
|
7352
7801
|
/***/ }),
|
|
7353
|
-
/*
|
|
7802
|
+
/* 193 */
|
|
7354
7803
|
/***/ ((module) => {
|
|
7355
7804
|
|
|
7356
7805
|
module.exports = JSON.parse('[{"name":"susd","swapAddr":"0xA5407eAE9Ba41422680e2e00537571bcC53efBfD","depositContract":"0xFCBa3E75865d2d561BE8D220616520c171F12851","nCoins":4,"coins":["0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7","0x57Ab1ec28D129707052df4dF418D58a2D46d5f51"],"decimals":[18,6,6,18],"underlyingCoins":["0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7","0x57Ab1ec28D129707052df4dF418D58a2D46d5f51"],"underlyingDecimals":[18,6,6,18],"isMeta":false,"lpToken":"0xC25a3A3b969415c80451098fa907EC722572917F","gauges":["0xA90996896660DEcC6E997655E065b23788857849"],"gaugeTypes":[0],"zapType":1},{"name":"compound","swapAddr":"0xA2B47E3D5c44877cca798226B7B8118F9BFb7A56","depositContract":"0xeB21209ae4C2c9FF2a86ACA31E123764A3B6Bc06","nCoins":2,"coins":["0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643","0x39AA39c021dfbaE8faC545936693aC917d5E7563"],"decimals":[8,8],"underlyingCoins":["0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"underlyingDecimals":[18,6],"isMeta":false,"lpToken":"0x845838DF265Dcd2c412A1Dc9e959c7d08537f8a2","gauges":["0x7ca5b0a2910B33e9759DC7dDB0413949071D7575"],"gaugeTypes":[0],"zapType":1},{"underlyingFlag":true,"name":"aave","swapAddr":"0xDeBF20617708857ebe4F679508E7b7863a8A8EeE","nCoins":3,"coins":["0x028171bCA77440897B824Ca71D1c56caC55b68A3","0xBcca60bB61934080951369a648Fb03DF4F96263C","0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811"],"decimals":[18,6,6],"underlyingCoins":["0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"],"underlyingDecimals":[18,6,6],"isMeta":false,"lpToken":"0xFd2a8fA60Abd58Efe3EeE34dd494cD491dC14900","gauges":["0xd662908ADA2Ea1916B3318327A97eB18aD588b5d"],"gaugeTypes":[0]},{"name":"steth","swapAddr":"0xDC24316b9AE028F1497c275EB9192a3Ea0f67022","nCoins":2,"coins":["0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84"],"decimals":[18,18],"underlyingCoins":["0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84"],"underlyingDecimals":[18,18],"isMeta":false,"lpToken":"0x06325440D014e39736583c165C2963BA99fAf14E","gauges":["0x182B723a58739a9c974cFDB385ceaDb237453c28"],"gaugeTypes":[0]},{"name":"3pool","swapAddr":"0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7","nCoins":3,"coins":["0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"],"decimals":[18,6,6],"underlyingCoins":["0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"],"underlyingDecimals":[18,6,6],"isMeta":false,"lpToken":"0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490","gauges":["0xbFcF63294aD7105dEa65aA58F8AE5BE2D9d0952A"],"gaugeTypes":[0]},{"name":"musd","swapAddr":"0x8474DdbE98F5aA3179B3B3F5942D724aFcdec9f6","depositContract":"0x803A2B40c5a9BB2B86DD630B274Fa2A9202874C2","nCoins":2,"coins":["0xe2f2a5C287993345a840Db3B0845fbC70f5935a5","0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"],"decimals":[18,18],"underlyingCoins":["0xe2f2a5C287993345a840Db3B0845fbC70f5935a5","0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"],"underlyingDecimals":[18,18,6,6],"isMeta":true,"lpToken":"0x1AEf73d49Dedc4b1778d0706583995958Dc862e6","gauges":["0x5f626c30EC1215f4EdCc9982265E8b1F411D1352"],"gaugeTypes":[0],"zapType":0},{"name":"lusd","swapAddr":"0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA","depositContract":"0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA","devComment":"it would follow logic that the depositContract should be the 3pool zap but because of the smart contract logic it is overridden here","nCoins":2,"coins":["0x5f98805A4E8be255a32880FDeC7F6728C6568bA0","0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"],"decimals":[18,18],"underlyingCoins":["0x5f98805A4E8be255a32880FDeC7F6728C6568bA0","0x6B175474E89094C44Da98b954EedeAC495271d0F","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"],"underlyingDecimals":[18,18,6,6],"isMeta":true,"lpToken":"0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA","gauges":["0x9B8519A9a00100720CCdC8a120fBeD319cA47a14"],"gaugeTypes":[0],"zapType":2},{"name":"reth","isFactory":true,"swapAddr":"0x0f3159811670c117c372428D4E69AC32325e4D0F","nCoins":2,"coins":["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xae78736Cd615f374D3085123A210448E74Fc6393"],"decimals":[18,18],"underlyingCoins":["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xae78736Cd615f374D3085123A210448E74Fc6393"],"underlyingDecimals":[18,18],"isMeta":false,"lpToken":"0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C","gauges":["0x9d4D981d8a9066f5db8532A5816543dE8819d4A8"],"gaugeTypes":[0]},{"name":"cbeth","isFactory":true,"swapAddr":"0x5FAE7E604FC3e24fd43A72867ceBaC94c65b404A","nCoins":2,"coins":["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xBe9895146f7AF43049ca1c1AE358B0541Ea49704"],"decimals":[18,18],"underlyingCoins":["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xBe9895146f7AF43049ca1c1AE358B0541Ea49704"],"underlyingDecimals":[18,18],"isMeta":false,"lpToken":"0x5b6C539b224014A09B3388e51CaAA8e354c959C8","gauges":["0xAd96E10123Fa34a01cf2314C42D75150849C9295"],"gaugeTypes":[0]}]');
|
|
7357
7806
|
|
|
7358
7807
|
/***/ }),
|
|
7359
|
-
/*
|
|
7808
|
+
/* 194 */
|
|
7360
7809
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7361
7810
|
|
|
7362
7811
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7366,12 +7815,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7366
7815
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
7367
7816
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
7368
7817
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
7369
|
-
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
7818
|
+
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(192);
|
|
7370
7819
|
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); } }
|
|
7371
7820
|
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); }); }; }
|
|
7372
|
-
function _defineProperty(obj, key, value) {
|
|
7373
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
7374
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7821
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7375
7822
|
|
|
7376
7823
|
|
|
7377
7824
|
|
|
@@ -7427,7 +7874,7 @@ class CurveWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7427
7874
|
}
|
|
7428
7875
|
|
|
7429
7876
|
/***/ }),
|
|
7430
|
-
/*
|
|
7877
|
+
/* 195 */
|
|
7431
7878
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7432
7879
|
|
|
7433
7880
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7472,7 +7919,7 @@ class CurveGaugeDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
7472
7919
|
}
|
|
7473
7920
|
|
|
7474
7921
|
/***/ }),
|
|
7475
|
-
/*
|
|
7922
|
+
/* 196 */
|
|
7476
7923
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7477
7924
|
|
|
7478
7925
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7503,7 +7950,7 @@ class CurveGaugeWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
7503
7950
|
}
|
|
7504
7951
|
|
|
7505
7952
|
/***/ }),
|
|
7506
|
-
/*
|
|
7953
|
+
/* 197 */
|
|
7507
7954
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7508
7955
|
|
|
7509
7956
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7532,7 +7979,7 @@ class CurveMintCrvAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7532
7979
|
}
|
|
7533
7980
|
|
|
7534
7981
|
/***/ }),
|
|
7535
|
-
/*
|
|
7982
|
+
/* 198 */
|
|
7536
7983
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7537
7984
|
|
|
7538
7985
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7563,7 +8010,7 @@ class CurveClaimFeesAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7563
8010
|
}
|
|
7564
8011
|
|
|
7565
8012
|
/***/ }),
|
|
7566
|
-
/*
|
|
8013
|
+
/* 199 */
|
|
7567
8014
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7568
8015
|
|
|
7569
8016
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7596,7 +8043,7 @@ class CurveStethPoolDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
7596
8043
|
}
|
|
7597
8044
|
|
|
7598
8045
|
/***/ }),
|
|
7599
|
-
/*
|
|
8046
|
+
/* 200 */
|
|
7600
8047
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7601
8048
|
|
|
7602
8049
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7630,7 +8077,7 @@ class CurveStethPoolWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
7630
8077
|
}
|
|
7631
8078
|
|
|
7632
8079
|
/***/ }),
|
|
7633
|
-
/*
|
|
8080
|
+
/* 201 */
|
|
7634
8081
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7635
8082
|
|
|
7636
8083
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7638,13 +8085,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7638
8085
|
/* harmony export */ "GUniDeposit": () => (/* reexport safe */ _GUniDeposit__WEBPACK_IMPORTED_MODULE_0__.GUniDeposit),
|
|
7639
8086
|
/* harmony export */ "GUniWithdraw": () => (/* reexport safe */ _GUniWithdraw__WEBPACK_IMPORTED_MODULE_1__.GUniWithdraw)
|
|
7640
8087
|
/* harmony export */ });
|
|
7641
|
-
/* harmony import */ var _GUniDeposit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7642
|
-
/* harmony import */ var _GUniWithdraw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
8088
|
+
/* harmony import */ var _GUniDeposit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(202);
|
|
8089
|
+
/* harmony import */ var _GUniWithdraw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(203);
|
|
7643
8090
|
|
|
7644
8091
|
|
|
7645
8092
|
|
|
7646
8093
|
/***/ }),
|
|
7647
|
-
/*
|
|
8094
|
+
/* 202 */
|
|
7648
8095
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7649
8096
|
|
|
7650
8097
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7699,7 +8146,7 @@ class GUniDeposit extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7699
8146
|
}
|
|
7700
8147
|
|
|
7701
8148
|
/***/ }),
|
|
7702
|
-
/*
|
|
8149
|
+
/* 203 */
|
|
7703
8150
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7704
8151
|
|
|
7705
8152
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7746,7 +8193,7 @@ class GUniWithdraw extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7746
8193
|
}
|
|
7747
8194
|
|
|
7748
8195
|
/***/ }),
|
|
7749
|
-
/*
|
|
8196
|
+
/* 204 */
|
|
7750
8197
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7751
8198
|
|
|
7752
8199
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7755,15 +8202,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7755
8202
|
/* harmony export */ "MStableDepositAction": () => (/* reexport safe */ _MStableDepositAction__WEBPACK_IMPORTED_MODULE_0__.MStableDepositAction),
|
|
7756
8203
|
/* harmony export */ "MStableWithdrawAction": () => (/* reexport safe */ _MStableWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.MStableWithdrawAction)
|
|
7757
8204
|
/* harmony export */ });
|
|
7758
|
-
/* harmony import */ var _MStableDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7759
|
-
/* harmony import */ var _MStableWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
7760
|
-
/* harmony import */ var _MStableClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
8205
|
+
/* harmony import */ var _MStableDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
|
8206
|
+
/* harmony import */ var _MStableWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(207);
|
|
8207
|
+
/* harmony import */ var _MStableClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(208);
|
|
7761
8208
|
|
|
7762
8209
|
|
|
7763
8210
|
|
|
7764
8211
|
|
|
7765
8212
|
/***/ }),
|
|
7766
|
-
/*
|
|
8213
|
+
/* 205 */
|
|
7767
8214
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7768
8215
|
|
|
7769
8216
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7773,7 +8220,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7773
8220
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
7774
8221
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
7775
8222
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
7776
|
-
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
8223
|
+
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(206);
|
|
7777
8224
|
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); } }
|
|
7778
8225
|
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); }); }; }
|
|
7779
8226
|
|
|
@@ -7838,7 +8285,7 @@ class MStableDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7838
8285
|
}
|
|
7839
8286
|
|
|
7840
8287
|
/***/ }),
|
|
7841
|
-
/*
|
|
8288
|
+
/* 206 */
|
|
7842
8289
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7843
8290
|
|
|
7844
8291
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7855,7 +8302,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7855
8302
|
});
|
|
7856
8303
|
|
|
7857
8304
|
/***/ }),
|
|
7858
|
-
/*
|
|
8305
|
+
/* 207 */
|
|
7859
8306
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7860
8307
|
|
|
7861
8308
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7865,7 +8312,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7865
8312
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
7866
8313
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
7867
8314
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
7868
|
-
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
8315
|
+
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(206);
|
|
7869
8316
|
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); } }
|
|
7870
8317
|
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); }); }; }
|
|
7871
8318
|
|
|
@@ -7929,7 +8376,7 @@ class MStableWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
7929
8376
|
}
|
|
7930
8377
|
|
|
7931
8378
|
/***/ }),
|
|
7932
|
-
/*
|
|
8379
|
+
/* 208 */
|
|
7933
8380
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7934
8381
|
|
|
7935
8382
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7963,7 +8410,7 @@ class MStableClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
7963
8410
|
}
|
|
7964
8411
|
|
|
7965
8412
|
/***/ }),
|
|
7966
|
-
/*
|
|
8413
|
+
/* 209 */
|
|
7967
8414
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7968
8415
|
|
|
7969
8416
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7971,13 +8418,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7971
8418
|
/* harmony export */ "RariDepositAction": () => (/* reexport safe */ _RariDepositAction__WEBPACK_IMPORTED_MODULE_0__.RariDepositAction),
|
|
7972
8419
|
/* harmony export */ "RariWithdrawAction": () => (/* reexport safe */ _RariWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.RariWithdrawAction)
|
|
7973
8420
|
/* harmony export */ });
|
|
7974
|
-
/* harmony import */ var _RariDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
7975
|
-
/* harmony import */ var _RariWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
8421
|
+
/* harmony import */ var _RariDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(210);
|
|
8422
|
+
/* harmony import */ var _RariWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(211);
|
|
7976
8423
|
|
|
7977
8424
|
|
|
7978
8425
|
|
|
7979
8426
|
/***/ }),
|
|
7980
|
-
/*
|
|
8427
|
+
/* 210 */
|
|
7981
8428
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7982
8429
|
|
|
7983
8430
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8023,7 +8470,7 @@ class RariDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
8023
8470
|
}
|
|
8024
8471
|
|
|
8025
8472
|
/***/ }),
|
|
8026
|
-
/*
|
|
8473
|
+
/* 211 */
|
|
8027
8474
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8028
8475
|
|
|
8029
8476
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8070,7 +8517,7 @@ class RariWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
8070
8517
|
}
|
|
8071
8518
|
|
|
8072
8519
|
/***/ }),
|
|
8073
|
-
/*
|
|
8520
|
+
/* 212 */
|
|
8074
8521
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8075
8522
|
|
|
8076
8523
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8086,16 +8533,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8086
8533
|
/* harmony export */ "AaveV3SwapBorrowRateModeAction": () => (/* reexport safe */ _AaveV3SwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__.AaveV3SwapBorrowRateModeAction),
|
|
8087
8534
|
/* harmony export */ "AaveV3WithdrawAction": () => (/* reexport safe */ _AaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__.AaveV3WithdrawAction)
|
|
8088
8535
|
/* harmony export */ });
|
|
8089
|
-
/* harmony import */ var _AaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
8090
|
-
/* harmony import */ var _AaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
8091
|
-
/* harmony import */ var _AaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
8092
|
-
/* harmony import */ var _AaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
8093
|
-
/* harmony import */ var _AaveV3SetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
8094
|
-
/* harmony import */ var _AaveV3ATokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
8095
|
-
/* harmony import */ var _AaveV3CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
8096
|
-
/* harmony import */ var _AaveV3ClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
8097
|
-
/* harmony import */ var _AaveV3SwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
8098
|
-
/* harmony import */ var _AaveV3DelegateCredit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
8536
|
+
/* harmony import */ var _AaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(213);
|
|
8537
|
+
/* harmony import */ var _AaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(214);
|
|
8538
|
+
/* harmony import */ var _AaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(215);
|
|
8539
|
+
/* harmony import */ var _AaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(216);
|
|
8540
|
+
/* harmony import */ var _AaveV3SetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(217);
|
|
8541
|
+
/* harmony import */ var _AaveV3ATokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(218);
|
|
8542
|
+
/* harmony import */ var _AaveV3CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(219);
|
|
8543
|
+
/* harmony import */ var _AaveV3ClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(220);
|
|
8544
|
+
/* harmony import */ var _AaveV3SwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(221);
|
|
8545
|
+
/* harmony import */ var _AaveV3DelegateCredit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(222);
|
|
8099
8546
|
|
|
8100
8547
|
|
|
8101
8548
|
|
|
@@ -8108,7 +8555,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8108
8555
|
|
|
8109
8556
|
|
|
8110
8557
|
/***/ }),
|
|
8111
|
-
/*
|
|
8558
|
+
/* 213 */
|
|
8112
8559
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8113
8560
|
|
|
8114
8561
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8121,9 +8568,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8121
8568
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
8122
8569
|
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); } }
|
|
8123
8570
|
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); }); }; }
|
|
8124
|
-
function _defineProperty(obj, key, value) {
|
|
8125
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8126
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8571
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8127
8572
|
|
|
8128
8573
|
|
|
8129
8574
|
|
|
@@ -8190,7 +8635,7 @@ class AaveV3SupplyAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
8190
8635
|
}
|
|
8191
8636
|
|
|
8192
8637
|
/***/ }),
|
|
8193
|
-
/*
|
|
8638
|
+
/* 214 */
|
|
8194
8639
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8195
8640
|
|
|
8196
8641
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8254,7 +8699,7 @@ class AaveV3BorrowAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
8254
8699
|
}
|
|
8255
8700
|
|
|
8256
8701
|
/***/ }),
|
|
8257
|
-
/*
|
|
8702
|
+
/* 215 */
|
|
8258
8703
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8259
8704
|
|
|
8260
8705
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8267,9 +8712,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8267
8712
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
8268
8713
|
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); } }
|
|
8269
8714
|
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); }); }; }
|
|
8270
|
-
function _defineProperty(obj, key, value) {
|
|
8271
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8272
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8715
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8273
8716
|
|
|
8274
8717
|
|
|
8275
8718
|
|
|
@@ -8336,7 +8779,7 @@ class AaveV3PaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
8336
8779
|
}
|
|
8337
8780
|
|
|
8338
8781
|
/***/ }),
|
|
8339
|
-
/*
|
|
8782
|
+
/* 216 */
|
|
8340
8783
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8341
8784
|
|
|
8342
8785
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8388,7 +8831,7 @@ class AaveV3WithdrawAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
8388
8831
|
}
|
|
8389
8832
|
|
|
8390
8833
|
/***/ }),
|
|
8391
|
-
/*
|
|
8834
|
+
/* 217 */
|
|
8392
8835
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8393
8836
|
|
|
8394
8837
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8430,7 +8873,7 @@ class AaveV3SetEModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
8430
8873
|
}
|
|
8431
8874
|
|
|
8432
8875
|
/***/ }),
|
|
8433
|
-
/*
|
|
8876
|
+
/* 218 */
|
|
8434
8877
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8435
8878
|
|
|
8436
8879
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8443,9 +8886,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8443
8886
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
8444
8887
|
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); } }
|
|
8445
8888
|
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); }); }; }
|
|
8446
|
-
function _defineProperty(obj, key, value) {
|
|
8447
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8448
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8889
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8449
8890
|
|
|
8450
8891
|
|
|
8451
8892
|
|
|
@@ -8503,7 +8944,7 @@ class AaveV3ATokenPaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1
|
|
|
8503
8944
|
}
|
|
8504
8945
|
|
|
8505
8946
|
/***/ }),
|
|
8506
|
-
/*
|
|
8947
|
+
/* 219 */
|
|
8507
8948
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8508
8949
|
|
|
8509
8950
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8553,7 +8994,7 @@ class AaveV3CollateralSwitchAction extends _ActionWithL2__WEBPACK_IMPORTED_MODUL
|
|
|
8553
8994
|
}
|
|
8554
8995
|
|
|
8555
8996
|
/***/ }),
|
|
8556
|
-
/*
|
|
8997
|
+
/* 220 */
|
|
8557
8998
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8558
8999
|
|
|
8559
9000
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8606,7 +9047,7 @@ class AaveV3ClaimRewardsAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0_
|
|
|
8606
9047
|
}
|
|
8607
9048
|
|
|
8608
9049
|
/***/ }),
|
|
8609
|
-
/*
|
|
9050
|
+
/* 221 */
|
|
8610
9051
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8611
9052
|
|
|
8612
9053
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8652,7 +9093,7 @@ class AaveV3SwapBorrowRateModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MOD
|
|
|
8652
9093
|
}
|
|
8653
9094
|
|
|
8654
9095
|
/***/ }),
|
|
8655
|
-
/*
|
|
9096
|
+
/* 222 */
|
|
8656
9097
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8657
9098
|
|
|
8658
9099
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8703,7 +9144,7 @@ class AaveV3DelegateCredit extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
8703
9144
|
}
|
|
8704
9145
|
|
|
8705
9146
|
/***/ }),
|
|
8706
|
-
/*
|
|
9147
|
+
/* 223 */
|
|
8707
9148
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8708
9149
|
|
|
8709
9150
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8712,15 +9153,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8712
9153
|
/* harmony export */ "ConvexDepositAction": () => (/* reexport safe */ _ConvexDepositAction__WEBPACK_IMPORTED_MODULE_0__.ConvexDepositAction),
|
|
8713
9154
|
/* harmony export */ "ConvexWithdrawAction": () => (/* reexport safe */ _ConvexWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.ConvexWithdrawAction)
|
|
8714
9155
|
/* harmony export */ });
|
|
8715
|
-
/* harmony import */ var _ConvexDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
8716
|
-
/* harmony import */ var _ConvexWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
8717
|
-
/* harmony import */ var _ConvexClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
9156
|
+
/* harmony import */ var _ConvexDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(224);
|
|
9157
|
+
/* harmony import */ var _ConvexWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(227);
|
|
9158
|
+
/* harmony import */ var _ConvexClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(228);
|
|
8718
9159
|
|
|
8719
9160
|
|
|
8720
9161
|
|
|
8721
9162
|
|
|
8722
9163
|
/***/ }),
|
|
8723
|
-
/*
|
|
9164
|
+
/* 224 */
|
|
8724
9165
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8725
9166
|
|
|
8726
9167
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8729,13 +9170,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8729
9170
|
/* harmony export */ });
|
|
8730
9171
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
8731
9172
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
8732
|
-
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
9173
|
+
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(225);
|
|
8733
9174
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
8734
9175
|
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); } }
|
|
8735
9176
|
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); }); }; }
|
|
8736
|
-
function _defineProperty(obj, key, value) {
|
|
8737
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8738
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9177
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8739
9178
|
|
|
8740
9179
|
|
|
8741
9180
|
|
|
@@ -8780,7 +9219,7 @@ class ConvexDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
8780
9219
|
}
|
|
8781
9220
|
|
|
8782
9221
|
/***/ }),
|
|
8783
|
-
/*
|
|
9222
|
+
/* 225 */
|
|
8784
9223
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8785
9224
|
|
|
8786
9225
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8790,7 +9229,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8790
9229
|
/* harmony export */ "getConvexPool": () => (/* binding */ getConvexPool),
|
|
8791
9230
|
/* harmony export */ "poolInfo": () => (/* reexport default export from named module */ _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__)
|
|
8792
9231
|
/* harmony export */ });
|
|
8793
|
-
/* harmony import */ var _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
9232
|
+
/* harmony import */ var _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(226);
|
|
8794
9233
|
|
|
8795
9234
|
|
|
8796
9235
|
|
|
@@ -8812,13 +9251,13 @@ var WithdrawOption = {
|
|
|
8812
9251
|
var getConvexPool = curveLpToken => _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__.find(e => e.lpToken === curveLpToken);
|
|
8813
9252
|
|
|
8814
9253
|
/***/ }),
|
|
8815
|
-
/*
|
|
9254
|
+
/* 226 */
|
|
8816
9255
|
/***/ ((module) => {
|
|
8817
9256
|
|
|
8818
9257
|
module.exports = JSON.parse('[{"pid":0,"lpToken":"0x845838DF265Dcd2c412A1Dc9e959c7d08537f8a2","token":"0x32512Bee3848bfcBb7bEAf647aa697a100f3b706","gauge":"0x7ca5b0a2910B33e9759DC7dDB0413949071D7575","crvRewards":"0xf34DFF761145FF0B05e917811d488B441F33a968","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":1,"lpToken":"0x9fC689CCaDa600B6DF723D9E47D84d76664a1F23","token":"0xA1c3492b71938E144ad8bE4c2fB6810b01A43dD8","gauge":"0xBC89cd85491d81C6AD2954E6d0362Ee29fCa8F53","crvRewards":"0x8B55351ea358e5Eda371575B031ee24F462d503e","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":2,"lpToken":"0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8","token":"0x0928F6753880A03628eB0be07b77992c8af37874","gauge":"0xFA712EE4788C042e2B7BB55E6cb8ec569C4530c1","crvRewards":"0xd802a8351A76ED5eCd89A7502Ca615F2225A585d","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":3,"lpToken":"0x3B3Ac5386837Dc563660FB6a0937DFAa5924333B","token":"0x59bB786F222d3f0f00B0dA31B799Fff80D552940","gauge":"0x69Fb7c45726cfE2baDeE8317005d3F94bE838840","crvRewards":"0x602c4cD53a715D8a7cf648540FAb0d3a2d546560","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":4,"lpToken":"0xC25a3A3b969415c80451098fa907EC722572917F","token":"0x11D200ef1409cecA8D6d23e6496550f707772F11","gauge":"0xA90996896660DEcC6E997655E065b23788857849","crvRewards":"0x22eE18aca7F3Ee920D01F25dA85840D12d98E8Ca","stash":"0xD2f2B9504Ef708b9f3Bc53f1525353bAaE1B17e4","shutdown":false,"extraRewards":[{"pool":"0x81fce3e10d12da6c7266a1a169c4c96813435263","token":"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f"}]},{"pid":5,"lpToken":"0xD905e2eaeBe188fc92179b6350807D8bd91Db0D8","token":"0x2eA94b0d3349A284488ACF2934E494b2f58ef647","gauge":"0x64E3C23bfc40722d3B649844055F1D51c1ac041d","crvRewards":"0xe3DaafC8C14147d5B4A7a56F0BfdED240158e51e","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":6,"lpToken":"0x49849C98ae39Fff122806C06791Fa73784FB3675","token":"0x74b79021Ea6De3f0D1731fb8BdfF6eE7DF10b8Ae","gauge":"0xB1F2cdeC61db658F091671F5f199635aEF202CAC","crvRewards":"0x8E299C62EeD737a5d5a53539dF37b5356a27b07D","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":7,"lpToken":"0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3","token":"0xbA723E335eC2939D52a2efcA2a8199cb4CB93cC3","gauge":"0x705350c4BcD35c9441419DdD5d2f097d7a55410F","crvRewards":"0xd727A5A6D1C7b31Ff9Db4Db4d24045B7dF0CFF93","stash":"0x7B3EE538398829c96E4B187216c7aB2946A620C4","shutdown":false,"extraRewards":[{"pool":"0x7c41906df8395af4387fa79b85c845069f88eec3","token":"0x330416c863f2acce7af9c9314b422d24c672534a"}]},{"pid":8,"lpToken":"0xb19059ebb43466C323583928285a49f558E572Fd","token":"0x33c00bF8CFDf42929E0884d230A55F963221f8f3","gauge":"0x4c18E409Dc8619bFb6a1cB56D114C3f592E0aE79","crvRewards":"0x618BD6cBA676a46958c63700C04318c84a7b7c0A","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":9,"lpToken":"0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490","token":"0x30D9410ED1D5DA1F6C8391af5338C93ab8d4035C","gauge":"0xbFcF63294aD7105dEa65aA58F8AE5BE2D9d0952A","crvRewards":"0x689440f2Ff927E1f24c72F1087E1FAF471eCe1c8","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":10,"lpToken":"0xD2967f45c4f384DEEa880F807Be904762a3DeA07","token":"0x15c2471ef46Fa721990730cfa526BcFb45574576","gauge":"0xC5cfaDA84E902aD92DD40194f0883ad49639b023","crvRewards":"0x7A7bBf95C44b144979360C3300B54A7D34b44985","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":11,"lpToken":"0x5B5CFE992AdAC0C9D48E05854B2d91C73a003858","token":"0xe4de776C0eA0974bfA39B8cbB9491091C8cDc1ff","gauge":"0x2db0E83599a91b508Ac268a6197b8B14F5e72840","crvRewards":"0x353e489311b21355461353fEC2d02B73EF0eDe7f","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":12,"lpToken":"0x97E2768e8E73511cA874545DC5Ff8067eB19B787","token":"0x47941F99F4371CC26637CaEdBbd8Ba5F4bfE5149","gauge":"0xC2b1DF84112619D190193E48148000e3990Bf627","crvRewards":"0xa50e9071aCaD20b31cd2bbe4dAa816882De82BBe","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":13,"lpToken":"0x4f3E8F405CF5aFC05D68142F3783bDfE13811522","token":"0x3689f325E88c2363274E5F3d44b6DaB8f9e1f524","gauge":"0xF98450B5602fa59CC66e1379DFfB6FDDc724CfC4","crvRewards":"0x4a2631d090e8b40bBDe245e687BF09e5e534A239","stash":"0x0000000000000000000000000000000000000000","shutdown":false,"extraRewards":[]},{"pid":14,"lpToken":"0x1AEf73d49Dedc4b1778d0706583995958Dc862e6","token":"0xd34d466233c5195193dF712936049729140DBBd7","gauge":"0x5f626c30EC1215f4EdCc9982265E8b1F411D1352","crvRewards":"0xDBFa6187C79f4fE4Cda20609E75760C5AaE88e52","stash":"0x2eEa402ff31c580630b8545A33EDc00881E6949c","shutdown":false,"extraRewards":[{"pool":"0x93a5c724c4992fcbda6b96f06fa15eb8b5c485b7","token":"0xa3bed4e1c75d00fa6f4e5e6922db7261b5e9acd2"}]},{"pid":15,"lpToken":"0xC2Ee6b0334C261ED60C72f6054450b61B8f18E35","token":"0x8b876C2C02B1f2Ac6Ec207B7f2f06034A4316A87","gauge":"0x4dC4A289a8E33600D8bD4cf5F6313E43a37adec7","crvRewards":"0xedfCCF611D7c40F43e77a1340cE2C29EEEC27205","stash":"0x3a076e8F088bFa7a43e1209B2E460927071e15F2","shutdown":false,"extraRewards":[{"pool":"0x94c259dc4c6df248b0b5d23c055cb7574a587d67","token":"0x8762db106b2c2a0bccb3a80d1ed41273552616e8"}],"noTest":true},{"pid":16,"lpToken":"0x64eda51d3Ad40D56b9dFc5554E06F94e1Dd786Fd","token":"0x36CED690A1516861f26755b978EE62c1157CFFF9","gauge":"0x6828bcF74279eE32f2723eC536c22c51Eed383C6","crvRewards":"0x081A6672f07B615B402e7558a867C97FA080Ce35","stash":"0x21FdcdeBf375e67219c1Bfa266BCfDaA36a2b4Fe","shutdown":false,"extraRewards":[{"pool":"0x2aa030dcb729cf94bc096bd00d377aa719a09371","token":"0x85eee30c52b0b379b046fb0f85f4f3dc3009afec"}]},{"pid":17,"lpToken":"0x3a664Ab939FD8482048609f652f9a0B0677337B9","token":"0x06f4fFa5C3636AaA5C30B3DB97bfd1cd9Ac24A19","gauge":"0xAEA6c312f4b3E04D752946d329693F7293bC2e6D","crvRewards":"0x1992b82A8cCFC8f89785129D6403b13925d6226E","stash":"0x07815651B8F1c5bE84797840543F304b7F1aeC2a","shutdown":false,"extraRewards":[{"pool":"0x666f8eee6fd6839853993977cc86a7a51425673c","token":"0x20c36f062a31865bed8a5b1e512d9a1a20aa333a"}]},{"pid":18,"lpToken":"0xDE5331AC4B3630f94853Ff322B66407e0D6331E8","token":"0x21Cce64289407081744F087950b9DB32906470fC","gauge":"0xd7d147c6Bb90A718c3De8C0568F9B560C79fa416","crvRewards":"0x2d3C90AEB11D1393CA839Afc9587515B1325D77A","stash":"0x930CfB64130a90d42eD37d4616792C9dEB791faf","shutdown":false,"extraRewards":[{"pool":"0xaf138b29205c2246b069ed8f0b213b205fbc14e0","token":"0x89ab32156e46f46d02ade3fecbe5fc4243b9aaed"}]},{"pid":19,"lpToken":"0x410e3E86ef427e30B9235497143881f717d93c2A","token":"0x2E1f902b9067b5fDd7AF29ef05D4fF6212588388","gauge":"0xdFc7AdFa664b08767b735dE28f9E84cd30492aeE","crvRewards":"0x61D741045cCAA5a215cF4E5e55f20E1199B4B843","stash":"0xd852eFBEd0f49a065194ca92c9F305DE6DdCbF35","shutdown":false,"extraRewards":[]},{"pid":20,"lpToken":"0x2fE94ea3d5d4a175184081439753DE15AeF9d614","token":"0xc1C030139eEc070Ed8FD092CC8C273C638A18bBe","gauge":"0x11137B10C210b579405c21A07489e28F3c040AB1","crvRewards":"0xeeeCE77e0bc5e59c77fc408789A9A172A504bD2f","stash":"0x9a669fb0191D977e588b20CdA3C52EDbC6c9926c","shutdown":false,"extraRewards":[{"pool":"0xae97d3766924526084da88ba9b2bd7af989bf6fc","token":"0x3c9d6c1c73b31c837832c72e04d3152f051fc1a9"},{"pool":"0x22a07a6bda1cecbe2a671203e2114d8a170e5529","token":"0xbc19712feb3a26080ebf6f2f7849b417fdd792ca"}]},{"pid":21,"lpToken":"0x94e131324b6054c0D789b190b2dAC504e4361b53","token":"0x67c4f788FEB82FAb27E3007daa3d7b90959D5b89","gauge":"0x3B7020743Bc2A4ca9EaF9D0722d42E20d6935855","crvRewards":"0xd4Be1911F8a0df178d6e7fF5cE39919c273E2B7B","stash":"0x6249fD91fE9FF597399c1B192D5A25Cd22Eba6dd","shutdown":false,"extraRewards":[]},{"pid":22,"lpToken":"0x194eBd173F6cDacE046C53eACcE9B953F28411d1","token":"0xd7E2b9494c529b42Dea53EF6a237C16502E6A927","gauge":"0x90Bb609649E0451E5aD952683D64BD2d1f245840","crvRewards":"0xcB8F69E0064d8cdD29cbEb45A14cf771D904BcD3","stash":"0x007Cc4b4E9d9D088a9ae0e5261995D69e93B8E4C","shutdown":false,"extraRewards":[]},{"pid":23,"lpToken":"0xA3D87FffcE63B53E0d54fAa1cc983B7eB0b74A9c","token":"0xAF1d4C576bF55f6aE493AEebAcC3a227675e5B98","gauge":"0x3C0FFFF15EA30C35d7A85B85c0782D6c94e1d238","crvRewards":"0x192469CadE297D6B21F418cFA8c366b63FFC9f9b","stash":"0x1e6f5B8b4CAc5806D182B33A35d0fFF5F4004e86","shutdown":false,"extraRewards":[]},{"pid":24,"lpToken":"0xFd2a8fA60Abd58Efe3EeE34dd494cD491dC14900","token":"0x23F224C37C3A69A058d86a54D3f561295A93d542","gauge":"0xd662908ADA2Ea1916B3318327A97eB18aD588b5d","crvRewards":"0xE82c1eB4BC6F92f85BF7EB6421ab3b882C3F5a7B","stash":"0x5D4CF00939aa5F7C2cEb10c88615E9bcb0dd67fa","shutdown":false,"extraRewards":[{"pool":"0x00469d388b06127221d6310843a43d079eb2bb18","token":"0x4da27a545c0c5b758a6ba100e3a049001de870f5"}]},{"pid":25,"lpToken":"0x06325440D014e39736583c165C2963BA99fAf14E","token":"0x9518c9063eB0262D791f38d8d6Eb0aca33c63ed0","gauge":"0x182B723a58739a9c974cFDB385ceaDb237453c28","crvRewards":"0x0A760466E1B4621579a82a39CB56Dda2F4E70f03","stash":"0x9710fD4e5CA524f1049EbeD8936c07C81b5EAB9f","shutdown":false,"extraRewards":[{"pool":"0x008aea5036b819b4feaed10b2190fbb3954981e8","token":"0x5a98fcbea516cf06857215779fd812ca3bef1b32"}]},{"pid":26,"lpToken":"0x02d341CcB60fAaf662bC0554d13778015d1b285C","token":"0x09CCD0892b696AB21436e51588a7a7f8b649733d","gauge":"0x462253b8F74B72304c145DB0e4Eebd326B22ca39","crvRewards":"0xF86AE6790654b70727dbE58BF1a863B270317fD0","stash":"0xd2D46004b981FdE1e4D39d0C24E1Be1e93689DD9","shutdown":false,"extraRewards":[{"pool":"0x20165075174b51a2f9efbf7d6d8f3c72bbc63064","token":"0x4da27a545c0c5b758a6ba100e3a049001de870f5"}]},{"pid":27,"lpToken":"0xaA17A236F2bAdc98DDc0Cf999AbB47D47Fc0A6Cf","token":"0x7E96955b66c89B931BBDAf187740Cc0fF2602F21","gauge":"0x6d10ed2cF043E6fcf51A0e7b4C2Af3Fa06695707","crvRewards":"0x8798b81b0261934aa850C8de8622472bfdc143F4","stash":"0x423C444589CE5dB1E6F99820A5f95b3a57976598","shutdown":false,"extraRewards":[{"pool":"0x177252ac74f1d77513971aa85af7009c43ecdee2","token":"0xe0ad1806fd3e7edf6ff52fdb822432e847411033"},{"pool":"0xc095cec98a9f8ad6d2baa282a8e6be246f98bd25","token":"0x8290333cef9e6d528dd5618fb97a76f268f3edd4"}]},{"pid":28,"lpToken":"0x7Eb40E450b9655f4B3cC4259BCC731c63ff55ae6","token":"0x7a5dC1FA2e1B10194bD2e2e9F1A224971A681444","gauge":"0x055be5DDB7A925BfEF3417FC157f53CA77cA7222","crvRewards":"0x24DfFd1949F888F91A0c8341Fc98a3F280a782a8","stash":"0xBE25313c53360780e03233Cc70a4409367EC15aE","shutdown":false,"extraRewards":[{"pool":"0x5f91615268be6b4add646b2560785b8f17dccbb4","token":"0x92e187a03b6cd19cb6af293ba17f2745fd2357d5"}]},{"pid":29,"lpToken":"0x5282a4eF67D9C33135340fB3289cc1711c13638C","token":"0x912EC00eaEbf3820a9B0AC7a5E15F381A1C91f22","gauge":"0xF5194c3325202F456c95c1Cf0cA36f8475C1949F","crvRewards":"0x3E03fFF82F77073cc590b656D42FceB12E4910A8","stash":"0x3aEaAB3eF0b5a484d8A2380215eA0A64d3101A6D","shutdown":false,"extraRewards":[]},{"pid":30,"lpToken":"0xcee60cFa923170e4f8204AE08B4fA6A3F5656F3a","token":"0xD37969740d78C94C648d74671B8BE31eF43c30aB","gauge":"0xFD4D8a17df4C27c1dD245d153ccf4499e806C87D","crvRewards":"0x9700152175dc22E7d1f3245fE3c1D2cfa3602548","stash":"0x63201dc22e52985153E038086c448252d44Bed40","shutdown":false,"extraRewards":[]},{"pid":31,"lpToken":"0xEcd5e75AFb02eFa118AF914515D6521aaBd189F1","token":"0x0A2eA49EB5F9e23058deffD509D13DDd553c2A19","gauge":"0x359FD5d6417aE3D8D6497d9B2e7A890798262BA4","crvRewards":"0x308b48F037AAa75406426dACFACA864ebd88eDbA","stash":"0x12566645C209C1518BD25BdD3B0fd0bAe0910344","shutdown":false,"extraRewards":[]},{"pid":32,"lpToken":"0xd632f22692FaC7611d2AA1C0D552930D43CAEd3B","token":"0xbE0F6478E0E4894CFb14f32855603A083A57c7dA","gauge":"0x72E158d38dbd50A483501c24f792bDAAA3e7D55C","crvRewards":"0xB900EF131301B307dB5eFcbed9DBb50A3e209B2e","stash":"0x10a63847e6cdD2b07e0a22D1f30eB037a72eB790","shutdown":false,"extraRewards":[{"pool":"0xcdec6714eb482f28f4889a0c122868450cdbf0b0","token":"0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0"}]},{"pid":33,"lpToken":"0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA","token":"0xFB9B2f06FDb404Fd3E2278E9A9edc8f252F273d0","gauge":"0x9B8519A9a00100720CCdC8a120fBeD319cA47a14","crvRewards":"0x2ad92A7aE036a038ff02B96c88de868ddf3f8190","stash":"0x06D972728A9d05CA6F27EDc01e20b50A60b1Deed","shutdown":false,"extraRewards":[{"pool":"0x55d59b791f06dc519b176791c4e037e8cf2f6361","token":"0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d"}]},{"pid":34,"lpToken":"0x4807862AA8b2bF68830e4C8dc86D0e9A998e085a","token":"0x02D784f98A312aF3e2771297Feff1Da8273e4F29","gauge":"0xd4B22fEdcA85E684919955061fDf353b9d38389b","crvRewards":"0xbD223812d360C9587921292D0644D18aDb6a2ad0","stash":"0xBE3ED241c90F39cC50450C4937523FCC8d3e9bbc","shutdown":false,"extraRewards":[]},{"pid":35,"lpToken":"0x53a901d48795C58f485cBB38df08FA96a24669D5","token":"0x7ADd8D0E923CB692DF6bC65d96d510f0E2fC37af","gauge":"0x824F13f1a2F29cFEEa81154b46C0fc820677A637","crvRewards":"0x61dB6c2321f784c8fAb8d5eF80f58F27C831dCc8","stash":"0x644C8d1eD4b6aA68738a93C5c13c7fC19e126587","shutdown":false,"extraRewards":[{"pool":"0x681a790debe586a64eea055bf0983cd6629d8359","token":"0xef3a930e1ffffacd2fc13434ac81bd278b0ecc8d"}]},{"pid":36,"lpToken":"0x43b4FdFD4Ff969587185cDB6f0BD875c5Fc83f8c","token":"0xCA3D9F45FfA69ED454E66539298709cb2dB8cA61","gauge":"0x9582C4ADACB3BCE56Fea3e590F05c3ca2fb9C477","crvRewards":"0x02E2151D4F351881017ABdF2DD2b51150841d5B3","stash":"0x521e6EEfDa35f7228f8f83462552bDB41D64d86B","shutdown":false,"extraRewards":[{"pool":"0xd731495bb78a4250bc094686788f3ff890dee0f4","token":"0xdbdb4d16eda451d0503b854cf79d55697f90c8df"}]},{"pid":37,"lpToken":"0xcA3d75aC011BF5aD07a98d02f18225F9bD9A6BDF","token":"0x18684099414dcEF486F4FA5b4e44e6eA53C8c554","gauge":"0x6955a55416a06839309018A8B0cB72c4DDC11f15","crvRewards":"0x5Edced358e6C0B435D53CC30fbE6f5f0833F404F","stash":"0x35e86E54eCb0227fe33382c35E12856cF227E9ce","shutdown":false,"extraRewards":[]},{"pid":38,"lpToken":"0xc4AD29ba4B3c580e6D59105FFf484999997675Ff","token":"0x903C9974aAA431A765e60bC07aF45f0A1B3b61fb","gauge":"0xDeFd8FdD20e0f34115C7018CCfb655796F6B2168","crvRewards":"0x9D5C5E364D81DaB193b72db9E9BE9D8ee669B652","stash":"0xDb1A0Bb8C14Bc7B4eDA5ca95B4A6C6013a7b359D","shutdown":false,"extraRewards":[]},{"pid":39,"lpToken":"0xFD5dB7463a3aB53fD211b4af195c5BCCC1A03890","token":"0x2b2175AC371Ec2900AC39fb87452340F65CC9895","gauge":"0xe8060Ad8971450E624d5289A10017dD30F5dA85F","crvRewards":"0xD814BFC091111E1417a669672144aFFAA081c3CE","stash":"0x353460EACDAaEC993eCdA986440F4c343BBf6c05","shutdown":false,"extraRewards":[]},{"pid":40,"lpToken":"0x5a6A4D54456819380173272A5E8E9B9904BdF41B","token":"0xabB54222c2b77158CC975a2b715a3d703c256F05","gauge":"0xd8b712d29381748dB89c36BCa0138d7c75866ddF","crvRewards":"0xFd5AbF66b003881b88567EB9Ed9c651F14Dc4771","stash":"0xEd3D937A12fEed5298827B3adf05caaFfb0efDda","shutdown":false,"extraRewards":[{"pool":"0x69a92f1656cd2e193797546cfe2eaf32eaccf6f7","token":"0x090185f2135308bad17527004364ebcc2d37e5f6"}]},{"pid":41,"lpToken":"0x9D0464996170c6B9e75eED71c68B99dDEDf279e8","token":"0x8FDF7cabfEc73d5FfD1447867834b4cf39B745B7","gauge":"0x903dA6213a5A12B61c821598154EfAd98C3B20E4","crvRewards":"0x0392321e86F42C2F94FBb0c6853052487db521F0","stash":"0xF025A9FbcaA41E03e7a443716fe2182d13cf80a4","shutdown":false,"extraRewards":[{"pool":"0xbe4dea8e5d1e53fad661610e47501f858f25852d","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":42,"lpToken":"0x8818a9bb44Fbf33502bE7c15c500d0C783B73067","token":"0xF527FF4d2f8D84ec51D31C6F533B8cC78AFf6918","gauge":"0xeFF437A56A22D7dD86C1202A308536ED8C7da7c1","crvRewards":"0xbA8fE590498ed24D330Bb925E69913b1Ac35a81E","stash":"0xc87E93D6138c08a99b581f6dE4424c1e4b71A03F","shutdown":false,"extraRewards":[{"pool":"0x771bc5c888d1b318d0c5b177e4f996d3d5fd3d18","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"},{"pool":"0x8a3f52c2eb02de2d8356a8286c96909352c62b10","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":43,"lpToken":"0xD6Ac1CB9019137a896343Da59dDE6d097F710538","token":"0xe6b9b86a593E6c33fa3F0887753cdC39EA49B246","gauge":"0x63d9f3aB7d0c528797A12a0684E50C397E9e79dC","crvRewards":"0x51a16DA36c79E28dD3C8c0c19214D8aF413984Aa","stash":"0xA335f705e0e33e986Bae79244F2Cd73899932290","shutdown":false,"extraRewards":[{"pool":"0xe689db5d753abc411acb8a3fef226c08acdae13f","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"},{"pool":"0x00a4f5d12e3faa909c53cdcc90968f735633e988","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":44,"lpToken":"0x3F1B0278A9ee595635B61817630cC19DE792f506","token":"0xBec1Fa170974F0B38Eb76D8ca87053AbD5cedffF","gauge":"0x05ca5c01629a8E5845f12ea3A03fF7331932233A","crvRewards":"0xb1Fae59F23CaCe4949Ae734E63E42168aDb0CcB3","stash":"0xCc96f06fa34d934a90089793b27d36801842A599","shutdown":false,"extraRewards":[{"pool":"0x91ad51f0897552ce77f76b44e9a86b4ad2b28c25","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"},{"pool":"0x040a6ae6314e190974ee4839f3c2fbf849ef54eb","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":45,"lpToken":"0x19b080FE1ffA0553469D20Ca36219F17Fcf03859","token":"0x864510e93c38C771adC1B67308cE0b7c4AA1AA9e","gauge":"0x99fb76F75501039089AAC8f20f487bf84E51d76F","crvRewards":"0xCd0559ADb6fAa2fc83aB21Cf4497c3b9b45bB29f","stash":"0x65d3834Ca2F62AB3f484cD50bB8a2Ba784cc69AA","shutdown":false,"extraRewards":[{"pool":"0x21034ccc4f8d07d0cf8998fdd4c45e426540dec1","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"},{"pool":"0xba5ef047ce02cc0096db3bc8ed84aad14291f8a0","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":46,"lpToken":"0x9c2C8910F113181783c249d8F6Aa41b51Cde0f0c","token":"0xcd555A686486160D815C89D92EE69A88E356f34C","gauge":"0x2fA53e8fa5fAdb81f4332C8EcE39Fe62eA2f919E","crvRewards":"0xa5A5905efc55B05059eE247d5CaC6DD6791Cfc33","stash":"0x44789Fa0e02ed06E3cA4A1405CBef7EA2F11D282","shutdown":false,"extraRewards":[{"pool":"0x9d9ebcc8e7b4ef061c0f7bab532d1710b874f789","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"},{"pool":"0x1c86460640457466e2ec86916b4a91ed86ce0d1e","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":47,"lpToken":"0x8461A004b50d321CB22B7d034969cE6803911899","token":"0xAA4e7d24230B1F3AF324C7574ABD5D28525807cA","gauge":"0x1750a3a3d80A3F5333BBe9c4695B0fAd41061ab1","crvRewards":"0x8F18C0AF0d7d511E8Bdc6B3c64926B04EDfE4892","stash":"0xb75b7297f29d5f6211f112D24b1edF9Dc77eD834","shutdown":false,"extraRewards":[{"pool":"0xe3a64e08eebf38b19a3d9fec51d8cd5a8898dd5e","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"},{"pool":"0x93649cd43635bc5f7ad8fa2fa27cb9ae765ec58a","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":48,"lpToken":"0xB15fFb543211b558D40160811e5DcBcd7d5aaac9","token":"0x281C17920DaB8B2Cb3ce631E2D53c8ccE94262B4","gauge":"0xB15fFb543211b558D40160811e5DcBcd7d5aaac9","crvRewards":"0xc3628b8FAaDe10aCeAe88c9b982cE0AAc9bBaaD3","stash":"0x01140351069af98416cC08b16424b9E765436531","shutdown":false,"extraRewards":[],"noTest":true},{"pid":49,"lpToken":"0xC4C319E2D4d66CcA4464C0c2B32c9Bd23ebe784e","token":"0x0BF4C896100801cecFF4ad1e742E5227D67EcD7b","gauge":"0x12dCD9E8D1577b5E4F066d8e7D404404Ef045342","crvRewards":"0x48Bc302d8295FeA1f8c3e7F57D4dDC9981FEE410","stash":"0xfFA249074F7846Ee072e2068A1DEC44eDD802491","shutdown":false,"extraRewards":[{"pool":"0xcec9a6efff1daf52af12beebf87f81bda7b95c0b","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":50,"lpToken":"0x3Fb78e61784C9c637D560eDE23Ad57CA1294c14a","token":"0x3c5208849fa77Aaa98483527f20303cAF25a1Ad8","gauge":"0xD9277b0D007464eFF133622eC0d42081c93Cef02","crvRewards":"0x7CDA2a83D29d7Fc2ccb8F7716b5c1c34781aeb12","stash":"0xb24Ea588066fBEB9610141d4b779d5D9F80A1180","shutdown":false,"extraRewards":[]},{"pid":51,"lpToken":"0x5B3b5DF2BF2B6543f78e053bD91C4Bdd820929f1","token":"0x23e3AAAA5034165cF194F19692b41d801BEB5304","gauge":"0x9AF13a7B1f1Bbf1A2B05c6fBF23ac23A9E573b4E","crvRewards":"0xA689C00F3fd87dD3871C79C73343cd9F7957377E","stash":"0x3f2A3f6ab577B562a193C008686fb81b5eEe6586","shutdown":false,"extraRewards":[{"pool":"0xb9e2e39c9c804a01f1fcb4e86f765774d511d535","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":52,"lpToken":"0x55A8a39bc9694714E2874c1ce77aa1E599461E18","token":"0x766A8D4DE01D3eD575CdEf0587Eaf615eCB46726","gauge":"0xB518f5e3242393d4eC792BD3f44946A3b98d0E48","crvRewards":"0xC62DE533ea77D46f3172516aB6b1000dAf577E89","stash":"0xa69e5023d5Dc71ec5Bf602A5AC80cb0C5078423E","shutdown":false,"extraRewards":[{"pool":"0x27801399d60594bfede955d54c3e85b2f00179c5","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":53,"lpToken":"0xFbdCA68601f835b27790D98bbb8eC7f05FDEaA9B","token":"0xb43ed35B5A3a9544BBEd8039c67AB04AD428deEa","gauge":"0x346C7BB1A7a6A30c8e81c14e90FC2f0FBddc54d8","crvRewards":"0x4F2b8a15d0Dd58c1eB60bd53e966872828519Cee","stash":"0x4fd82224bEa0653215A5d6cAec59689Deb018c46","shutdown":false,"extraRewards":[{"pool":"0xaaf75a94394f6d06e01cce62e2545ceffbfa1e2d","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":54,"lpToken":"0x3D229E1B4faab62F621eF2F6A610961f7BD7b23B","token":"0x18F320B124A80ee2FA491e1438CdA771c3d8c84b","gauge":"0x65CA7Dc5CB661fC58De57B1E1aF404649a27AD35","crvRewards":"0xb0c1B7b83Baae51284B8BbBa02Ec37742440199d","stash":"0x6Ffb6C270D2E9AeEd7654eaEe8A39310e2bB508e","shutdown":false,"extraRewards":[]},{"pid":55,"lpToken":"0x3b6831c0077a1e44ED0a21841C3bC4dC11bCE833","token":"0x410ACa1a116cCc718e9A0BDd8080655a52f1FAC4","gauge":"0x4Fd86Ce7Ecea88F7E0aA78DC12625996Fb3a04bC","crvRewards":"0xD2B756Af4E345A8657C0656C148aDCD3000C97A4","stash":"0x03d1e553667F0cf0A4775069DAA5ed8F125308e8","shutdown":false,"extraRewards":[]},{"pid":56,"lpToken":"0x87650D7bbfC3A9F10587d7778206671719d9910D","token":"0xd1daFC25bf672a52eF9c092258389dC2AD078309","gauge":"0x25f0cE4E2F8dbA112D9b115710AC297F816087CD","crvRewards":"0x7D536a737C13561e0D2Decf1152a653B4e615158","stash":"0x899996778C4e0cae5680d76262E44a2a7a5852A1","shutdown":false,"extraRewards":[{"pool":"0x08ede581d9b9ae55fa7decc4e4331d191bbbf9db","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"},{"pool":"0x8a05801c1512f6018e450b0f69e9ca7b985fcea3","token":"0x8207c1ffc5b6804f6024322ccf34f29c3541ae26"}]},{"pid":57,"lpToken":"0xc270b3B858c335B6BA5D5b10e2Da8a09976005ad","token":"0x918696AB70bF4F9a22497fC73903F3498a885980","gauge":"0xC95bdf13A08A547E4dD9f29B00aB7fF08C5d093d","crvRewards":"0x500E169c15961DE8798Edb52e0f88a8662d30EC5","stash":"0x1aE471f8C3338e826a5f6f47Cdf33b504Da7cD83","shutdown":false,"extraRewards":[]},{"pid":58,"lpToken":"0xBaaa1F5DbA42C3389bDbc2c9D2dE134F5cD0Dc89","token":"0x88c82d9767CC8AF564Da81dDD10741fa9D875682","gauge":"0x16C2beE6f55dAB7F494dBa643fF52ef2D47FBA36","crvRewards":"0x329cb014b562d5d42927cfF0dEdF4c13ab0442EF","stash":"0x755758DcAa6e8072B541863983ADA9c7BDA7c420","shutdown":false,"extraRewards":[{"pool":"0x880c2c5c4ea8cef892a90e3f714eb60144c08c30","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":59,"lpToken":"0xCEAF7747579696A2F0bb206a14210e3c9e6fB269","token":"0x2d2006135e682984a8a2eB74F5C87c2251cC71E9","gauge":"0xb0f5d00e5916c8b8981e99191A1458704B587b2b","crvRewards":"0x7e2b9B5244bcFa5108A76D5E7b507CFD5581AD4A","stash":"0x77Aa721Ba9C1423c5DBce6E0804887eEbD99cd00","shutdown":false,"extraRewards":[{"pool":"0x28a68d9c58086daeb32d5c9297366cc91e50215d","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":60,"lpToken":"0xb9446c4Ef5EBE66268dA6700D26f96273DE3d571","token":"0xC98786A97d667Fe67AAe694BD7949813A73f1BF0","gauge":"0x1E212e054d74ed136256fc5a5DDdB4867c6E003F","crvRewards":"0x4a9b7eDD67f58654a2c33B587f98c5709AC7d482","stash":"0x54aD657aEe30c0f954944f639852d50960689Fa4","shutdown":false,"extraRewards":[{"pool":"0x74835a39fd0e72e142d5e83d514e3ef6e7642220","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"},{"pool":"0xb83eaada3757432f7a894944c3ac154fbdbd8b46","token":"0x31429d1856ad1377a8a0079410b297e1a9e214c2"}]},{"pid":61,"lpToken":"0xEd4064f376cB8d68F770FB1Ff088a3d0F3FF5c4d","token":"0x0Fb8dcdD95e4C48D3dD0eFA4086512f6F8FD4565","gauge":"0x1cEBdB0856dd985fAe9b8fEa2262469360B8a3a6","crvRewards":"0x085A2054c51eA5c91dbF7f90d65e728c0f2A270f","stash":"0x285972e5799cF224c4C6e81E9e47d4ae9EA7CBD3","shutdown":false,"extraRewards":[{"pool":"0xe1ecbb4181378e2346eac90eb5606c01aa08f052","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":62,"lpToken":"0xAA5A67c256e27A5d80712c51971408db3370927D","token":"0xb3E8f3D7Ec208a032178880955f6c877479d1FDd","gauge":"0x8Fa728F393588E8D8dD1ca397E9a710E53fA553a","crvRewards":"0x835f69e58087E5B6bffEf182fe2bf959Fe253c3c","stash":"0xE7c811697ac3dd92cb100882dAc5Bd4183Bab747","shutdown":false,"extraRewards":[]},{"pid":63,"lpToken":"0x6BA5b4e438FA0aAf7C1bD179285aF65d13bD3D90","token":"0x2937Ef019db60C826Fe6141EB300847f85E66956","gauge":"0x66ec719045bBD62db5eBB11184c18237D3Cc2E62","crvRewards":"0x29B91c6CEC4F43aFdb6f6d71FAf1C03d6b712f55","stash":"0xAEA94fC182b7Fe73E25C0C7954FE1d5f5173C0B9","shutdown":false,"extraRewards":[]},{"pid":64,"lpToken":"0x3A283D9c08E8b55966afb64C515f5143cf907611","token":"0x0bC857f97c0554d1d0D602b56F2EEcE682016fBA","gauge":"0x7E1444BA99dcdFfE8fBdb42C02F0005D14f13BE1","crvRewards":"0xb1Fb0BA0676A1fFA83882c7F4805408bA232C1fA","stash":"0x679df29F380F1BEc31657cd6a5638aec4AEA3300","shutdown":false,"extraRewards":[{"pool":"0x834b9147fd23bf131644abc6e557daf99c5cda15","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"}]},{"pid":65,"lpToken":"0x8484673cA7BfF40F82B041916881aeA15ee84834","token":"0x7B00e822F9E05882F9e088655e738F656C99C53A","gauge":"0x1B3E14157ED33F60668f2103bCd5Db39a1573E5B","crvRewards":"0x6cb1933E49C48AE8ec12d39aD7D85695b247deDB","stash":"0x2B7559683B0cC4dbF06CEd4c3AC1B589f7F5a53B","shutdown":false,"extraRewards":[]},{"pid":66,"lpToken":"0x8282BD15dcA2EA2bDf24163E8f2781B30C43A2ef","token":"0xe87f447ef9B76905A25ab8160c7EF66864f4984A","gauge":"0x08380a4999Be1a958E2abbA07968d703C7A3027C","crvRewards":"0xb2f0bB6352417c1Bf017862aC165E67623611aF3","stash":"0x8bf218F98e1f433D083A6313FB49b2e69Cb89148","shutdown":false,"extraRewards":[]},{"pid":67,"lpToken":"0xCb08717451aaE9EF950a2524E33B6DCaBA60147B","token":"0x1766EDBa8CD066e3eB1912D2b8c7E2c59A3D7Ece","gauge":"0x6070fBD4E608ee5391189E7205d70cc4A274c017","crvRewards":"0x3E91E7c822AC8b4b7905d108c3faCF22A3ee5d2c","stash":"0xf9c837b180744F1C2855D3008740ADf1f305dfe5","shutdown":false,"extraRewards":[]},{"pid":68,"lpToken":"0x29059568bB40344487d62f7450E78b8E6C74e0e5","token":"0x73b78A30A1D249D88Ad6CCb80B1e0b357Fb4b5Ea","gauge":"0x05255C5BD33672b9FEA4129C13274D1E6193312d","crvRewards":"0x3207bDc327aB67f182B82948fd3DF757F8771324","stash":"0x24C93C04E1ed12cF15E7f69611d59e3145150ADE","shutdown":false,"extraRewards":[]},{"pid":69,"lpToken":"0x90244F43D548a4f8dFecfAD91a193465B1fad6F7","token":"0x7E72dDA16B916c986972B1c9F3fbfAe67D96D733","gauge":"0x009aCD89535DAbC270C93F9b39D3232105Fef453","crvRewards":"0xAA0e8Ef60BaBda02Ef11c89a061D82b1D61a462C","stash":"0xAC86e1b070b8364D49fA34CDc3e2fA6e98674873","shutdown":false,"extraRewards":[]},{"pid":70,"lpToken":"0xB37D6c07482Bc11cd28a1f11f1a6ad7b66Dec933","token":"0xbAff5309fa5bf4556cddf83BD729A18Dc8058a9f","gauge":"0x38039dD47636154273b287F74C432Cac83Da97e2","crvRewards":"0x769499A7B4093b2AA35E3F3C00B1ab5dc8EF7146","stash":"0x434Bf2F8fdfAD278571e4b46d1628353FaCb0B73","shutdown":false,"extraRewards":[{"pool":"0x92dfd397b6d0b878126f5a5f6f446ae9fc8a8356","token":"0x31429d1856ad1377a8a0079410b297e1a9e214c2"},{"pool":"0x19ba12d57ad7b126de898706aa6dbf7d6dc85ff8","token":"0xedb67ee1b171c4ec66e6c10ec43edbba20fae8e9"}]},{"pid":71,"lpToken":"0x06cb22615BA53E60D67Bf6C341a0fD5E718E1655","token":"0x6b35abd7612270E09244aFdbE3e5cf67f3B4E09F","gauge":"0xdC69D4cB5b86388Fff0b51885677e258883534ae","crvRewards":"0x3133A4428AAC0b4ad96a09845363386ECd289A9c","stash":"0xe842D814EB4Ff3420d6873eBDDE1d9c6ac384fB2","shutdown":false,"extraRewards":[]},{"pid":72,"lpToken":"0xF3A43307DcAFa93275993862Aae628fCB50dC768","token":"0xCB6D873f7BbE57584a9b08380901Dc200Be7CE74","gauge":"0xAB1927160EC7414C6Fa71763E2a9f3D107c126dd","crvRewards":"0xf27AFAD0142393e4b3E5510aBc5fe3743Ad669Cb","stash":"0x4f3AD55D7b884CDC48ADD1e2451A13af17887F26","shutdown":false,"extraRewards":[{"pool":"0xe2585f27bf5aab7756f626d6444ed5fc9154e606","token":"0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b"},{"pool":"0x28120d9d49dbaeb5e34d6b809b842684c482ef27","token":"0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0"}]},{"pid":73,"lpToken":"0x447Ddd4960d9fdBF6af9a790560d0AF76795CB08","token":"0x38C9E856C289594F8E0F095FF396142F19004cdb","gauge":"0x8aD7e0e6EDc61bC48ca0DD07f9021c249044eD30","crvRewards":"0x5c463069b99AfC9333F4dC2203a9f0c6C7658cCc","stash":"0x96Cf7f62b073ddEBf9b4F989586f5c7BC3483b66","shutdown":false,"extraRewards":[]},{"pid":74,"lpToken":"0x137469B55D1f15651BA46A89D0588e97dD0B6562","token":"0xe7f50e96e0FE8285D3B27B3b9A464a2102C9708c","gauge":"0x02246583870b36Be0fEf2819E1d3A771d6C07546","crvRewards":"0x36c7E7F9031647A74687ce46A8e16BcEA84f3865","stash":"0x406868FBFdb61f976C2A76d617259EFB7778860A","shutdown":false,"extraRewards":[]},{"pid":75,"lpToken":"0xE160364FD8407FFc8b163e278300c6C5D18Ff61d","token":"0x6b45b93B4505B5c134262c3985d776D71a20D601","gauge":"0x5AC6886Edd18ED0AD01C0B0910660637c551FBd6","crvRewards":"0x41565A76DC949E57486Ca4550C2e086D95AEfb19","stash":"0xFf4bEA60c48bA9210527F24E28bAC56BACE1f286","shutdown":false,"extraRewards":[]},{"pid":76,"lpToken":"0xbcb91E689114B9Cc865AD7871845C95241Df4105","token":"0x80D68884f425f73395EA0a7476a786De38Ca1306","gauge":"0xb07d00e0eE9b1b2eb9f1B483924155Af7AF0c8Fa","crvRewards":"0xC4d009E61a904BfDf39144295F12870E8305D4d9","stash":"0x2f95d210231aC0eEc91C312F80783bF97133C8Bb","shutdown":false,"extraRewards":[]},{"pid":77,"lpToken":"0xC9467E453620f16b57a34a770C6bceBECe002587","token":"0x518AbdbEe7B2e1D62d3C7435B8FEE56AED7dcE53","gauge":"0xB5efA93d5D23642f970aF41a1ea9A26f19CbD2Eb","crvRewards":"0x589761B61D8d1C8ecc36F3cFE35932670749015a","stash":"0xA8ec0bf38200188DcE8344a8B82d7aAc26A6faF5","shutdown":false,"extraRewards":[]},{"pid":78,"lpToken":"0x2302aaBe69e6E7A1b0Aa23aAC68fcCB8A4D2B460","token":"0x77d869e95a08b6b88f8f87DeEdEd5e9b8bb30B29","gauge":"0x784342E983E9283A7108F20FcA21995534b3fE65","crvRewards":"0xE259d085f55825624bBA8571eD20984c125Ba720","stash":"0x637aC4C86b8b85fbA60e657D1Ba312b3451D7386","shutdown":false,"extraRewards":[],"noTest":true},{"pid":79,"lpToken":"0x1054Ff2ffA34c055a13DCD9E0b4c0cA5b3aecEB9","token":"0x98A0f1541684542Da2455A965dC8CEA1D5f26c24","gauge":"0xE786Df7076AFeECC3faCD841ED4AD20d0F04CF19","crvRewards":"0x8731A63dD6aF83c044F623A89ABD50A8bb5a5022","stash":"0x777C03A0B05e0954F789256E9048ed076f5EbE3d","shutdown":false,"extraRewards":[],"noTest":true},{"pid":154,"lpToken":"0x6c38cE8984a890F5e46e6dF6117C26b3F1EcfC9C","token":"0x96C01B43853bE9E27363B15bE620769437cBa345","gauge":"0x9d4D981d8a9066f5db8532A5816543dE8819d4A8","crvRewards":"0x65C8aa24db76e870DEDfC35701eff84de405D1ba","stash":"0x8A297eFeDE43f47f76014a82D1B910Ee05d83226","extraRewards":[]},{"pid":127,"lpToken":"0x5b6C539b224014A09B3388e51CaAA8e354c959C8","token":"0x06A2C4431FB5dBfECbCbA15154Dd53E374c14292","gauge":"0xAd96E10123Fa34a01cf2314C42D75150849C9295","crvRewards":"0x5d02EcD9B83f1187e92aD5be3d1bd2915CA03699","stash":"0xDdc53D3B91090CD99d87ee1E6108857732fB5E4A","extraRewards":[]}]');
|
|
8819
9258
|
|
|
8820
9259
|
/***/ }),
|
|
8821
|
-
/*
|
|
9260
|
+
/* 227 */
|
|
8822
9261
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8823
9262
|
|
|
8824
9263
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8827,13 +9266,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8827
9266
|
/* harmony export */ });
|
|
8828
9267
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
8829
9268
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
8830
|
-
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
9269
|
+
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(225);
|
|
8831
9270
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
8832
9271
|
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); } }
|
|
8833
9272
|
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); }); }; }
|
|
8834
|
-
function _defineProperty(obj, key, value) {
|
|
8835
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8836
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9273
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8837
9274
|
|
|
8838
9275
|
|
|
8839
9276
|
|
|
@@ -8877,7 +9314,7 @@ class ConvexWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
8877
9314
|
}
|
|
8878
9315
|
|
|
8879
9316
|
/***/ }),
|
|
8880
|
-
/*
|
|
9317
|
+
/* 228 */
|
|
8881
9318
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8882
9319
|
|
|
8883
9320
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8886,13 +9323,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8886
9323
|
/* harmony export */ });
|
|
8887
9324
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
8888
9325
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
8889
|
-
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
9326
|
+
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(225);
|
|
8890
9327
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
|
8891
9328
|
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); } }
|
|
8892
9329
|
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); }); }; }
|
|
8893
|
-
function _defineProperty(obj, key, value) {
|
|
8894
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
8895
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9330
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8896
9331
|
|
|
8897
9332
|
|
|
8898
9333
|
|
|
@@ -8934,7 +9369,7 @@ class ConvexClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
8934
9369
|
}
|
|
8935
9370
|
|
|
8936
9371
|
/***/ }),
|
|
8937
|
-
/*
|
|
9372
|
+
/* 229 */
|
|
8938
9373
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8939
9374
|
|
|
8940
9375
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8947,13 +9382,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8947
9382
|
/* harmony export */ "CBUpdateRebondSubAction": () => (/* reexport safe */ _CBUpdateRebondSubAction__WEBPACK_IMPORTED_MODULE_4__.CBUpdateRebondSubAction),
|
|
8948
9383
|
/* harmony export */ "FetchBondIdAction": () => (/* reexport safe */ _FetchBondIdAction__WEBPACK_IMPORTED_MODULE_5__.FetchBondIdAction)
|
|
8949
9384
|
/* harmony export */ });
|
|
8950
|
-
/* harmony import */ var _CBCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
8951
|
-
/* harmony import */ var _CBChickenInAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
8952
|
-
/* harmony import */ var _CBChickenOutAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
8953
|
-
/* harmony import */ var _CBRedeemAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
8954
|
-
/* harmony import */ var _CBUpdateRebondSubAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
8955
|
-
/* harmony import */ var _FetchBondIdAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
8956
|
-
/* harmony import */ var _CBCreateRebondSubAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
9385
|
+
/* harmony import */ var _CBCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(230);
|
|
9386
|
+
/* harmony import */ var _CBChickenInAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(231);
|
|
9387
|
+
/* harmony import */ var _CBChickenOutAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(232);
|
|
9388
|
+
/* harmony import */ var _CBRedeemAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(233);
|
|
9389
|
+
/* harmony import */ var _CBUpdateRebondSubAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(234);
|
|
9390
|
+
/* harmony import */ var _FetchBondIdAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(235);
|
|
9391
|
+
/* harmony import */ var _CBCreateRebondSubAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(236);
|
|
8957
9392
|
|
|
8958
9393
|
|
|
8959
9394
|
|
|
@@ -8963,7 +9398,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8963
9398
|
|
|
8964
9399
|
|
|
8965
9400
|
/***/ }),
|
|
8966
|
-
/*
|
|
9401
|
+
/* 230 */
|
|
8967
9402
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8968
9403
|
|
|
8969
9404
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9004,7 +9439,7 @@ class CBCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
9004
9439
|
}
|
|
9005
9440
|
|
|
9006
9441
|
/***/ }),
|
|
9007
|
-
/*
|
|
9442
|
+
/* 231 */
|
|
9008
9443
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9009
9444
|
|
|
9010
9445
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9034,7 +9469,7 @@ class CBChickenInAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
9034
9469
|
}
|
|
9035
9470
|
|
|
9036
9471
|
/***/ }),
|
|
9037
|
-
/*
|
|
9472
|
+
/* 232 */
|
|
9038
9473
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9039
9474
|
|
|
9040
9475
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9065,7 +9500,7 @@ class CBChickenOutAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
9065
9500
|
}
|
|
9066
9501
|
|
|
9067
9502
|
/***/ }),
|
|
9068
|
-
/*
|
|
9503
|
+
/* 233 */
|
|
9069
9504
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9070
9505
|
|
|
9071
9506
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9109,7 +9544,7 @@ class CBRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
9109
9544
|
}
|
|
9110
9545
|
|
|
9111
9546
|
/***/ }),
|
|
9112
|
-
/*
|
|
9547
|
+
/* 234 */
|
|
9113
9548
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9114
9549
|
|
|
9115
9550
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9136,7 +9571,7 @@ class CBUpdateRebondSubAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
9136
9571
|
}
|
|
9137
9572
|
|
|
9138
9573
|
/***/ }),
|
|
9139
|
-
/*
|
|
9574
|
+
/* 235 */
|
|
9140
9575
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9141
9576
|
|
|
9142
9577
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9165,7 +9600,7 @@ class FetchBondIdAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
9165
9600
|
}
|
|
9166
9601
|
|
|
9167
9602
|
/***/ }),
|
|
9168
|
-
/*
|
|
9603
|
+
/* 236 */
|
|
9169
9604
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9170
9605
|
|
|
9171
9606
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9192,7 +9627,7 @@ class CBCreateRebondSubAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
9192
9627
|
}
|
|
9193
9628
|
|
|
9194
9629
|
/***/ }),
|
|
9195
|
-
/*
|
|
9630
|
+
/* 237 */
|
|
9196
9631
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9197
9632
|
|
|
9198
9633
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9205,13 +9640,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9205
9640
|
/* harmony export */ "CompoundV3TransferAction": () => (/* reexport safe */ _CompoundV3TransferAction__WEBPACK_IMPORTED_MODULE_6__.CompoundV3TransferAction),
|
|
9206
9641
|
/* harmony export */ "CompoundV3WithdrawAction": () => (/* reexport safe */ _CompoundV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__.CompoundV3WithdrawAction)
|
|
9207
9642
|
/* harmony export */ });
|
|
9208
|
-
/* harmony import */ var _CompoundV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
9209
|
-
/* harmony import */ var _CompoundV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
9210
|
-
/* harmony import */ var _CompoundV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
9211
|
-
/* harmony import */ var _CompoundV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
9212
|
-
/* harmony import */ var _CompoundV3ClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
9213
|
-
/* harmony import */ var _CompoundV3AllowAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
9214
|
-
/* harmony import */ var _CompoundV3TransferAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
9643
|
+
/* harmony import */ var _CompoundV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(238);
|
|
9644
|
+
/* harmony import */ var _CompoundV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(239);
|
|
9645
|
+
/* harmony import */ var _CompoundV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(240);
|
|
9646
|
+
/* harmony import */ var _CompoundV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(241);
|
|
9647
|
+
/* harmony import */ var _CompoundV3ClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(242);
|
|
9648
|
+
/* harmony import */ var _CompoundV3AllowAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(243);
|
|
9649
|
+
/* harmony import */ var _CompoundV3TransferAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(244);
|
|
9215
9650
|
|
|
9216
9651
|
|
|
9217
9652
|
|
|
@@ -9221,7 +9656,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9221
9656
|
|
|
9222
9657
|
|
|
9223
9658
|
/***/ }),
|
|
9224
|
-
/*
|
|
9659
|
+
/* 238 */
|
|
9225
9660
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9226
9661
|
|
|
9227
9662
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9234,9 +9669,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9234
9669
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
9235
9670
|
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); } }
|
|
9236
9671
|
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); }); }; }
|
|
9237
|
-
function _defineProperty(obj, key, value) {
|
|
9238
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9239
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9672
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9240
9673
|
|
|
9241
9674
|
|
|
9242
9675
|
|
|
@@ -9273,7 +9706,7 @@ class CompoundV3SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
9273
9706
|
}
|
|
9274
9707
|
|
|
9275
9708
|
/***/ }),
|
|
9276
|
-
/*
|
|
9709
|
+
/* 239 */
|
|
9277
9710
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9278
9711
|
|
|
9279
9712
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9306,7 +9739,7 @@ class CompoundV3BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
9306
9739
|
}
|
|
9307
9740
|
|
|
9308
9741
|
/***/ }),
|
|
9309
|
-
/*
|
|
9742
|
+
/* 240 */
|
|
9310
9743
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9311
9744
|
|
|
9312
9745
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9320,9 +9753,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9320
9753
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27);
|
|
9321
9754
|
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); } }
|
|
9322
9755
|
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); }); }; }
|
|
9323
|
-
function _defineProperty(obj, key, value) {
|
|
9324
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
9325
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9756
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9326
9757
|
|
|
9327
9758
|
|
|
9328
9759
|
|
|
@@ -9363,7 +9794,7 @@ class CompoundV3PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Actio
|
|
|
9363
9794
|
}
|
|
9364
9795
|
|
|
9365
9796
|
/***/ }),
|
|
9366
|
-
/*
|
|
9797
|
+
/* 241 */
|
|
9367
9798
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9368
9799
|
|
|
9369
9800
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9398,7 +9829,7 @@ class CompoundV3WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
9398
9829
|
}
|
|
9399
9830
|
|
|
9400
9831
|
/***/ }),
|
|
9401
|
-
/*
|
|
9832
|
+
/* 242 */
|
|
9402
9833
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9403
9834
|
|
|
9404
9835
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9432,7 +9863,7 @@ class CompoundV3ClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
9432
9863
|
}
|
|
9433
9864
|
|
|
9434
9865
|
/***/ }),
|
|
9435
|
-
/*
|
|
9866
|
+
/* 243 */
|
|
9436
9867
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9437
9868
|
|
|
9438
9869
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9464,7 +9895,7 @@ class CompoundV3AllowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
9464
9895
|
}
|
|
9465
9896
|
|
|
9466
9897
|
/***/ }),
|
|
9467
|
-
/*
|
|
9898
|
+
/* 244 */
|
|
9468
9899
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9469
9900
|
|
|
9470
9901
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9500,7 +9931,7 @@ class CompoundV3TransferAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
9500
9931
|
}
|
|
9501
9932
|
|
|
9502
9933
|
/***/ }),
|
|
9503
|
-
/*
|
|
9934
|
+
/* 245 */
|
|
9504
9935
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9505
9936
|
|
|
9506
9937
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9511,19 +9942,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9511
9942
|
/* harmony export */ "MorphoAaveV2WithdrawAction": () => (/* reexport safe */ _MorphoAaveV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__.MorphoAaveV2WithdrawAction),
|
|
9512
9943
|
/* harmony export */ "MorphoAaveV3BorrowAction": () => (/* reexport safe */ _aaveV3_MorphoAaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_7__.MorphoAaveV3BorrowAction),
|
|
9513
9944
|
/* harmony export */ "MorphoAaveV3PaybackAction": () => (/* reexport safe */ _aaveV3_MorphoAaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_8__.MorphoAaveV3PaybackAction),
|
|
9945
|
+
/* harmony export */ "MorphoAaveV3SetManagerAction": () => (/* reexport safe */ _aaveV3_MorphoAaveV3SetManagerAction__WEBPACK_IMPORTED_MODULE_9__.MorphoAaveV3SetManagerAction),
|
|
9514
9946
|
/* harmony export */ "MorphoAaveV3SupplyAction": () => (/* reexport safe */ _aaveV3_MorphoAaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_5__.MorphoAaveV3SupplyAction),
|
|
9515
9947
|
/* harmony export */ "MorphoAaveV3WithdrawAction": () => (/* reexport safe */ _aaveV3_MorphoAaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_6__.MorphoAaveV3WithdrawAction),
|
|
9516
9948
|
/* harmony export */ "MorphoClaimAction": () => (/* reexport safe */ _MorphoClaimAction__WEBPACK_IMPORTED_MODULE_4__.MorphoClaimAction)
|
|
9517
9949
|
/* harmony export */ });
|
|
9518
|
-
/* harmony import */ var _MorphoAaveV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
9519
|
-
/* harmony import */ var _MorphoAaveV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
9520
|
-
/* harmony import */ var _MorphoAaveV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
9521
|
-
/* harmony import */ var _MorphoAaveV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
9522
|
-
/* harmony import */ var _MorphoClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
9523
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
9524
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
9525
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
9526
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
9950
|
+
/* harmony import */ var _MorphoAaveV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(246);
|
|
9951
|
+
/* harmony import */ var _MorphoAaveV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(247);
|
|
9952
|
+
/* harmony import */ var _MorphoAaveV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(248);
|
|
9953
|
+
/* harmony import */ var _MorphoAaveV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(249);
|
|
9954
|
+
/* harmony import */ var _MorphoClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(250);
|
|
9955
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(251);
|
|
9956
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(252);
|
|
9957
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(253);
|
|
9958
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(254);
|
|
9959
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3SetManagerAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(255);
|
|
9960
|
+
|
|
9527
9961
|
|
|
9528
9962
|
|
|
9529
9963
|
|
|
@@ -9535,7 +9969,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9535
9969
|
|
|
9536
9970
|
|
|
9537
9971
|
/***/ }),
|
|
9538
|
-
/*
|
|
9972
|
+
/* 246 */
|
|
9539
9973
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9540
9974
|
|
|
9541
9975
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9584,7 +10018,7 @@ class MorphoAaveV2SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
9584
10018
|
}
|
|
9585
10019
|
|
|
9586
10020
|
/***/ }),
|
|
9587
|
-
/*
|
|
10021
|
+
/* 247 */
|
|
9588
10022
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9589
10023
|
|
|
9590
10024
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9613,7 +10047,7 @@ class MorphoAaveV2WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
9613
10047
|
}
|
|
9614
10048
|
|
|
9615
10049
|
/***/ }),
|
|
9616
|
-
/*
|
|
10050
|
+
/* 248 */
|
|
9617
10051
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9618
10052
|
|
|
9619
10053
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9644,7 +10078,7 @@ class MorphoAaveV2BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
9644
10078
|
}
|
|
9645
10079
|
|
|
9646
10080
|
/***/ }),
|
|
9647
|
-
/*
|
|
10081
|
+
/* 249 */
|
|
9648
10082
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9649
10083
|
|
|
9650
10084
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9691,7 +10125,7 @@ class MorphoAaveV2PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
9691
10125
|
}
|
|
9692
10126
|
|
|
9693
10127
|
/***/ }),
|
|
9694
|
-
/*
|
|
10128
|
+
/* 250 */
|
|
9695
10129
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9696
10130
|
|
|
9697
10131
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9720,7 +10154,7 @@ class MorphoClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
9720
10154
|
}
|
|
9721
10155
|
|
|
9722
10156
|
/***/ }),
|
|
9723
|
-
/*
|
|
10157
|
+
/* 251 */
|
|
9724
10158
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9725
10159
|
|
|
9726
10160
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9772,7 +10206,7 @@ class MorphoAaveV3SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
9772
10206
|
}
|
|
9773
10207
|
|
|
9774
10208
|
/***/ }),
|
|
9775
|
-
/*
|
|
10209
|
+
/* 252 */
|
|
9776
10210
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9777
10211
|
|
|
9778
10212
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9808,7 +10242,7 @@ class MorphoAaveV3WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
9808
10242
|
}
|
|
9809
10243
|
|
|
9810
10244
|
/***/ }),
|
|
9811
|
-
/*
|
|
10245
|
+
/* 253 */
|
|
9812
10246
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9813
10247
|
|
|
9814
10248
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9842,7 +10276,7 @@ class MorphoAaveV3BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
9842
10276
|
}
|
|
9843
10277
|
|
|
9844
10278
|
/***/ }),
|
|
9845
|
-
/*
|
|
10279
|
+
/* 254 */
|
|
9846
10280
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9847
10281
|
|
|
9848
10282
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9890,7 +10324,35 @@ class MorphoAaveV3PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
9890
10324
|
}
|
|
9891
10325
|
|
|
9892
10326
|
/***/ }),
|
|
9893
|
-
/*
|
|
10327
|
+
/* 255 */
|
|
10328
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10329
|
+
|
|
10330
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10331
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10332
|
+
/* harmony export */ "MorphoAaveV3SetManagerAction": () => (/* binding */ MorphoAaveV3SetManagerAction)
|
|
10333
|
+
/* harmony export */ });
|
|
10334
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10335
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10336
|
+
|
|
10337
|
+
|
|
10338
|
+
/**
|
|
10339
|
+
*
|
|
10340
|
+
* @category MorphoAaveV3
|
|
10341
|
+
*/
|
|
10342
|
+
class MorphoAaveV3SetManagerAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
10343
|
+
/**
|
|
10344
|
+
* @param emodeId
|
|
10345
|
+
* @param manager
|
|
10346
|
+
* @param isAllowed
|
|
10347
|
+
*/
|
|
10348
|
+
constructor(emodeId, manager, isAllowed) {
|
|
10349
|
+
super('MorphoAaveV3SetManager', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoAaveV3SetManager'), ['uint256', 'address', 'bool'], [emodeId, manager, isAllowed]);
|
|
10350
|
+
this.mappableArgs = [this.args[0], this.args[1]];
|
|
10351
|
+
}
|
|
10352
|
+
}
|
|
10353
|
+
|
|
10354
|
+
/***/ }),
|
|
10355
|
+
/* 256 */
|
|
9894
10356
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9895
10357
|
|
|
9896
10358
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9898,13 +10360,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9898
10360
|
/* harmony export */ "BprotocolLiquitySPDepositAction": () => (/* reexport safe */ _BprotocolLiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_0__.BprotocolLiquitySPDepositAction),
|
|
9899
10361
|
/* harmony export */ "BprotocolLiquitySPWithdrawAction": () => (/* reexport safe */ _BprotocolLiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.BprotocolLiquitySPWithdrawAction)
|
|
9900
10362
|
/* harmony export */ });
|
|
9901
|
-
/* harmony import */ var _BprotocolLiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
9902
|
-
/* harmony import */ var _BprotocolLiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
10363
|
+
/* harmony import */ var _BprotocolLiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(257);
|
|
10364
|
+
/* harmony import */ var _BprotocolLiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(258);
|
|
9903
10365
|
|
|
9904
10366
|
|
|
9905
10367
|
|
|
9906
10368
|
/***/ }),
|
|
9907
|
-
/*
|
|
10369
|
+
/* 257 */
|
|
9908
10370
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9909
10371
|
|
|
9910
10372
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9949,7 +10411,7 @@ class BprotocolLiquitySPDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_1
|
|
|
9949
10411
|
}
|
|
9950
10412
|
|
|
9951
10413
|
/***/ }),
|
|
9952
|
-
/*
|
|
10414
|
+
/* 258 */
|
|
9953
10415
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9954
10416
|
|
|
9955
10417
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9980,32 +10442,168 @@ class BprotocolLiquitySPWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_
|
|
|
9980
10442
|
}
|
|
9981
10443
|
|
|
9982
10444
|
/***/ }),
|
|
9983
|
-
/*
|
|
10445
|
+
/* 259 */
|
|
9984
10446
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9985
10447
|
|
|
9986
10448
|
__webpack_require__.r(__webpack_exports__);
|
|
9987
10449
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9988
|
-
/* harmony export */ "
|
|
9989
|
-
/* harmony export */ "
|
|
9990
|
-
/* harmony export */ "
|
|
9991
|
-
/* harmony export */ "
|
|
9992
|
-
/* harmony export */
|
|
10450
|
+
/* harmony export */ "LSVBorrowAction": () => (/* reexport safe */ _LSVBorrowAction__WEBPACK_IMPORTED_MODULE_3__.LSVBorrowAction),
|
|
10451
|
+
/* harmony export */ "LSVPaybackAction": () => (/* reexport safe */ _LSVPaybackAction__WEBPACK_IMPORTED_MODULE_0__.LSVPaybackAction),
|
|
10452
|
+
/* harmony export */ "LSVSupplyAction": () => (/* reexport safe */ _LSVSupplyAction__WEBPACK_IMPORTED_MODULE_2__.LSVSupplyAction),
|
|
10453
|
+
/* harmony export */ "LSVWithdrawAction": () => (/* reexport safe */ _LSVWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.LSVWithdrawAction)
|
|
10454
|
+
/* harmony export */ });
|
|
10455
|
+
/* harmony import */ var _LSVPaybackAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(260);
|
|
10456
|
+
/* harmony import */ var _LSVWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(261);
|
|
10457
|
+
/* harmony import */ var _LSVSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(262);
|
|
10458
|
+
/* harmony import */ var _LSVBorrowAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(263);
|
|
10459
|
+
|
|
10460
|
+
|
|
10461
|
+
|
|
10462
|
+
|
|
10463
|
+
|
|
10464
|
+
/***/ }),
|
|
10465
|
+
/* 260 */
|
|
10466
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10467
|
+
|
|
10468
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10469
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10470
|
+
/* harmony export */ "LSVPaybackAction": () => (/* binding */ LSVPaybackAction)
|
|
10471
|
+
/* harmony export */ });
|
|
10472
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10473
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10474
|
+
|
|
10475
|
+
|
|
10476
|
+
/**
|
|
10477
|
+
*
|
|
10478
|
+
* @category LSV
|
|
10479
|
+
*/
|
|
10480
|
+
class LSVPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
10481
|
+
/**
|
|
10482
|
+
* @param protocol
|
|
10483
|
+
* @param amount
|
|
10484
|
+
*/
|
|
10485
|
+
constructor(protocol, amount) {
|
|
10486
|
+
super('LSVPayback', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LSVPayback'), ['uint256', 'uint256'], [protocol, amount]);
|
|
10487
|
+
this.mappableArgs = [this.args[1]];
|
|
10488
|
+
}
|
|
10489
|
+
}
|
|
10490
|
+
|
|
10491
|
+
/***/ }),
|
|
10492
|
+
/* 261 */
|
|
10493
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10494
|
+
|
|
10495
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10496
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10497
|
+
/* harmony export */ "LSVWithdrawAction": () => (/* binding */ LSVWithdrawAction)
|
|
10498
|
+
/* harmony export */ });
|
|
10499
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10500
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10501
|
+
|
|
10502
|
+
|
|
10503
|
+
/**
|
|
10504
|
+
*
|
|
10505
|
+
* @category LSV
|
|
10506
|
+
*/
|
|
10507
|
+
class LSVWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
10508
|
+
/**
|
|
10509
|
+
* @param protocol
|
|
10510
|
+
* @param token
|
|
10511
|
+
* @param amount
|
|
10512
|
+
* @param isPositionClosing
|
|
10513
|
+
*/
|
|
10514
|
+
constructor(protocol, token, amount, isPositionClosing) {
|
|
10515
|
+
super('LSVWithdraw', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LSVWithdraw'), ['uint256', 'address', 'uint256', 'bool'], [protocol, token, amount, isPositionClosing]);
|
|
10516
|
+
this.mappableArgs = [this.args[1], this.args[2]];
|
|
10517
|
+
}
|
|
10518
|
+
}
|
|
10519
|
+
|
|
10520
|
+
/***/ }),
|
|
10521
|
+
/* 262 */
|
|
10522
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10523
|
+
|
|
10524
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10525
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10526
|
+
/* harmony export */ "LSVSupplyAction": () => (/* binding */ LSVSupplyAction)
|
|
10527
|
+
/* harmony export */ });
|
|
10528
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10529
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10530
|
+
|
|
10531
|
+
|
|
10532
|
+
/**
|
|
10533
|
+
*
|
|
10534
|
+
*
|
|
10535
|
+
* @category LSV
|
|
10536
|
+
*/
|
|
10537
|
+
class LSVSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
10538
|
+
/**
|
|
10539
|
+
* @param protocol
|
|
10540
|
+
* @param token
|
|
10541
|
+
* @param amount
|
|
10542
|
+
*/
|
|
10543
|
+
constructor(protocol, token, amount) {
|
|
10544
|
+
super('LSVSupply', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LSVSupply'), ['uint256', 'address', 'uint256'], [protocol, token, amount]);
|
|
10545
|
+
this.mappableArgs = [this.args[1], this.args[2]];
|
|
10546
|
+
}
|
|
10547
|
+
}
|
|
10548
|
+
|
|
10549
|
+
/***/ }),
|
|
10550
|
+
/* 263 */
|
|
10551
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10552
|
+
|
|
10553
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10554
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10555
|
+
/* harmony export */ "LSVBorrowAction": () => (/* binding */ LSVBorrowAction)
|
|
10556
|
+
/* harmony export */ });
|
|
10557
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10558
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10559
|
+
|
|
10560
|
+
|
|
10561
|
+
/**
|
|
10562
|
+
*
|
|
10563
|
+
*
|
|
10564
|
+
* @category LSV
|
|
10565
|
+
*/
|
|
10566
|
+
class LSVBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
10567
|
+
/**
|
|
10568
|
+
* @param protocol
|
|
10569
|
+
* @param amount
|
|
10570
|
+
*/
|
|
10571
|
+
constructor(protocol, amount) {
|
|
10572
|
+
super('LSVBorrow', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('LSVBorrow'), ['uint256', 'uint256'], [protocol, amount]);
|
|
10573
|
+
this.mappableArgs = [this.args[1]];
|
|
10574
|
+
}
|
|
10575
|
+
}
|
|
10576
|
+
|
|
10577
|
+
/***/ }),
|
|
10578
|
+
/* 264 */
|
|
10579
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10580
|
+
|
|
10581
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10582
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10583
|
+
/* harmony export */ "CurveUsdAdjustAction": () => (/* reexport safe */ _CurveUsdAdjustAction__WEBPACK_IMPORTED_MODULE_9__.CurveUsdAdjustAction),
|
|
10584
|
+
/* harmony export */ "CurveUsdBorrowAction": () => (/* reexport safe */ _CurveUsdBorrowAction__WEBPACK_IMPORTED_MODULE_3__.CurveUsdBorrowAction),
|
|
10585
|
+
/* harmony export */ "CurveUsdCreateAction": () => (/* reexport safe */ _CurveUsdCreateAction__WEBPACK_IMPORTED_MODULE_0__.CurveUsdCreateAction),
|
|
10586
|
+
/* harmony export */ "CurveUsdGetDebtAction": () => (/* reexport safe */ _CurveUsdGetDebtAction__WEBPACK_IMPORTED_MODULE_10__.CurveUsdGetDebtAction),
|
|
10587
|
+
/* harmony export */ "CurveUsdLevCreateAction": () => (/* reexport safe */ _CurveUsdLevCreateAction__WEBPACK_IMPORTED_MODULE_7__.CurveUsdLevCreateAction),
|
|
10588
|
+
/* harmony export */ "CurveUsdPaybackAction": () => (/* reexport safe */ _CurveUsdPaybackAction__WEBPACK_IMPORTED_MODULE_4__.CurveUsdPaybackAction),
|
|
9993
10589
|
/* harmony export */ "CurveUsdRepayAction": () => (/* reexport safe */ _CurveUsdRepayAction__WEBPACK_IMPORTED_MODULE_5__.CurveUsdRepayAction),
|
|
9994
10590
|
/* harmony export */ "CurveUsdSelfLiquidateAction": () => (/* reexport safe */ _CurveUsdSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_6__.CurveUsdSelfLiquidateAction),
|
|
9995
10591
|
/* harmony export */ "CurveUsdSelfLiquidateWithCollAction": () => (/* reexport safe */ _CurveUsdSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_8__.CurveUsdSelfLiquidateWithCollAction),
|
|
9996
10592
|
/* harmony export */ "CurveUsdSupplyAction": () => (/* reexport safe */ _CurveUsdSupplyAction__WEBPACK_IMPORTED_MODULE_1__.CurveUsdSupplyAction),
|
|
9997
10593
|
/* harmony export */ "CurveUsdWithdrawAction": () => (/* reexport safe */ _CurveUsdWithdrawAction__WEBPACK_IMPORTED_MODULE_2__.CurveUsdWithdrawAction)
|
|
9998
10594
|
/* harmony export */ });
|
|
9999
|
-
/* harmony import */ var _CurveUsdCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
10000
|
-
/* harmony import */ var _CurveUsdSupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
10001
|
-
/* harmony import */ var _CurveUsdWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
10002
|
-
/* harmony import */ var _CurveUsdBorrowAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
10003
|
-
/* harmony import */ var _CurveUsdPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
10004
|
-
/* harmony import */ var _CurveUsdRepayAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
10005
|
-
/* harmony import */ var _CurveUsdSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
10006
|
-
/* harmony import */ var _CurveUsdLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
10007
|
-
/* harmony import */ var _CurveUsdSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
10008
|
-
/* harmony import */ var _CurveUsdAdjustAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
10595
|
+
/* harmony import */ var _CurveUsdCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(265);
|
|
10596
|
+
/* harmony import */ var _CurveUsdSupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(267);
|
|
10597
|
+
/* harmony import */ var _CurveUsdWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(268);
|
|
10598
|
+
/* harmony import */ var _CurveUsdBorrowAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(269);
|
|
10599
|
+
/* harmony import */ var _CurveUsdPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(270);
|
|
10600
|
+
/* harmony import */ var _CurveUsdRepayAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(271);
|
|
10601
|
+
/* harmony import */ var _CurveUsdSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(272);
|
|
10602
|
+
/* harmony import */ var _CurveUsdLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(273);
|
|
10603
|
+
/* harmony import */ var _CurveUsdSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(274);
|
|
10604
|
+
/* harmony import */ var _CurveUsdAdjustAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(275);
|
|
10605
|
+
/* harmony import */ var _CurveUsdGetDebtAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(276);
|
|
10606
|
+
|
|
10009
10607
|
|
|
10010
10608
|
|
|
10011
10609
|
|
|
@@ -10018,7 +10616,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10018
10616
|
|
|
10019
10617
|
|
|
10020
10618
|
/***/ }),
|
|
10021
|
-
/*
|
|
10619
|
+
/* 265 */
|
|
10022
10620
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10023
10621
|
|
|
10024
10622
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10028,7 +10626,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10028
10626
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10029
10627
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
|
|
10030
10628
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
10031
|
-
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
10629
|
+
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(266);
|
|
10032
10630
|
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); } }
|
|
10033
10631
|
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); }); }; }
|
|
10034
10632
|
|
|
@@ -10068,7 +10666,7 @@ class CurveUsdCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
10068
10666
|
}
|
|
10069
10667
|
|
|
10070
10668
|
/***/ }),
|
|
10071
|
-
/*
|
|
10669
|
+
/* 266 */
|
|
10072
10670
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10073
10671
|
|
|
10074
10672
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10081,26 +10679,36 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10081
10679
|
var curveusdMarkets = {
|
|
10082
10680
|
wstETH: {
|
|
10083
10681
|
controllerAddress: '0x100daa78fc509db39ef7d04de0c1abd299f4c6ce',
|
|
10084
|
-
debtAvailableBlock:
|
|
10682
|
+
debtAvailableBlock: 18664636
|
|
10085
10683
|
},
|
|
10086
10684
|
WBTC: {
|
|
10087
10685
|
controllerAddress: '0x4e59541306910ad6dc1dac0ac9dfb29bd9f15c67',
|
|
10088
|
-
debtAvailableBlock:
|
|
10686
|
+
debtAvailableBlock: 18664636
|
|
10089
10687
|
},
|
|
10090
10688
|
WETH: {
|
|
10091
10689
|
controllerAddress: '0xa920de414ea4ab66b97da1bfe9e6eca7d4219635',
|
|
10092
|
-
debtAvailableBlock:
|
|
10690
|
+
debtAvailableBlock: 18664636
|
|
10691
|
+
},
|
|
10692
|
+
sfrxETH: {
|
|
10693
|
+
controllerAddress: '0xec0820efafc41d8943ee8de495fc9ba8495b15cf',
|
|
10694
|
+
debtAvailableBlock: 18664636
|
|
10695
|
+
},
|
|
10696
|
+
tBTC: {
|
|
10697
|
+
controllerAddress: '0x1c91da0223c763d2e0173243eadaa0a2ea47e704',
|
|
10698
|
+
debtAvailableBlock: 18664636
|
|
10093
10699
|
}
|
|
10094
10700
|
};
|
|
10095
10701
|
var controllerToAssetMap = {
|
|
10096
10702
|
'0x100daa78fc509db39ef7d04de0c1abd299f4c6ce': '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0',
|
|
10097
10703
|
'0x4e59541306910ad6dc1dac0ac9dfb29bd9f15c67': '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
10098
|
-
'0xa920de414ea4ab66b97da1bfe9e6eca7d4219635': '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'
|
|
10704
|
+
'0xa920de414ea4ab66b97da1bfe9e6eca7d4219635': '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
10705
|
+
'0xec0820efafc41d8943ee8de495fc9ba8495b15cf': '0xac3E018457B222d93114458476f3E3416Abbe38F',
|
|
10706
|
+
'0x1c91da0223c763d2e0173243eadaa0a2ea47e704': '0x18084fbA666a33d37592fA2633fD49a74DD93a88'
|
|
10099
10707
|
};
|
|
10100
10708
|
var controllerFactoryAddress = '0xC9332fdCB1C491Dcc683bAe86Fe3cb70360738BC';
|
|
10101
10709
|
|
|
10102
10710
|
/***/ }),
|
|
10103
|
-
/*
|
|
10711
|
+
/* 267 */
|
|
10104
10712
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10105
10713
|
|
|
10106
10714
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10109,7 +10717,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10109
10717
|
/* harmony export */ });
|
|
10110
10718
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10111
10719
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10112
|
-
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
10720
|
+
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(266);
|
|
10113
10721
|
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); } }
|
|
10114
10722
|
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); }); }; }
|
|
10115
10723
|
|
|
@@ -10145,7 +10753,7 @@ class CurveUsdSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
10145
10753
|
}
|
|
10146
10754
|
|
|
10147
10755
|
/***/ }),
|
|
10148
|
-
/*
|
|
10756
|
+
/* 268 */
|
|
10149
10757
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10150
10758
|
|
|
10151
10759
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10176,7 +10784,7 @@ class CurveUsdWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
10176
10784
|
}
|
|
10177
10785
|
|
|
10178
10786
|
/***/ }),
|
|
10179
|
-
/*
|
|
10787
|
+
/* 269 */
|
|
10180
10788
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10181
10789
|
|
|
10182
10790
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10207,7 +10815,7 @@ class CurveUsdBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
10207
10815
|
}
|
|
10208
10816
|
|
|
10209
10817
|
/***/ }),
|
|
10210
|
-
/*
|
|
10818
|
+
/* 270 */
|
|
10211
10819
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10212
10820
|
|
|
10213
10821
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10255,7 +10863,7 @@ class CurveUsdPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
10255
10863
|
}
|
|
10256
10864
|
|
|
10257
10865
|
/***/ }),
|
|
10258
|
-
/*
|
|
10866
|
+
/* 271 */
|
|
10259
10867
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10260
10868
|
|
|
10261
10869
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10278,7 +10886,7 @@ class CurveUsdRepayAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
10278
10886
|
}
|
|
10279
10887
|
|
|
10280
10888
|
/***/ }),
|
|
10281
|
-
/*
|
|
10889
|
+
/* 272 */
|
|
10282
10890
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10283
10891
|
|
|
10284
10892
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10321,7 +10929,7 @@ class CurveUsdSelfLiquidateAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.A
|
|
|
10321
10929
|
}
|
|
10322
10930
|
|
|
10323
10931
|
/***/ }),
|
|
10324
|
-
/*
|
|
10932
|
+
/* 273 */
|
|
10325
10933
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10326
10934
|
|
|
10327
10935
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10347,7 +10955,7 @@ class CurveUsdLevCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
10347
10955
|
}
|
|
10348
10956
|
|
|
10349
10957
|
/***/ }),
|
|
10350
|
-
/*
|
|
10958
|
+
/* 274 */
|
|
10351
10959
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10352
10960
|
|
|
10353
10961
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10373,7 +10981,7 @@ class CurveUsdSelfLiquidateWithCollAction extends _Action__WEBPACK_IMPORTED_MODU
|
|
|
10373
10981
|
}
|
|
10374
10982
|
|
|
10375
10983
|
/***/ }),
|
|
10376
|
-
/*
|
|
10984
|
+
/* 275 */
|
|
10377
10985
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10378
10986
|
|
|
10379
10987
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10382,7 +10990,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10382
10990
|
/* harmony export */ });
|
|
10383
10991
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
10384
10992
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
10385
|
-
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
10993
|
+
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(266);
|
|
10386
10994
|
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); } }
|
|
10387
10995
|
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); }); }; }
|
|
10388
10996
|
|
|
@@ -10418,7 +11026,28 @@ class CurveUsdAdjustAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
10418
11026
|
}
|
|
10419
11027
|
|
|
10420
11028
|
/***/ }),
|
|
10421
|
-
/*
|
|
11029
|
+
/* 276 */
|
|
11030
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11031
|
+
|
|
11032
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11033
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11034
|
+
/* harmony export */ "CurveUsdGetDebtAction": () => (/* binding */ CurveUsdGetDebtAction)
|
|
11035
|
+
/* harmony export */ });
|
|
11036
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11037
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11038
|
+
|
|
11039
|
+
|
|
11040
|
+
/**
|
|
11041
|
+
* @category CurveUsd
|
|
11042
|
+
*/
|
|
11043
|
+
class CurveUsdGetDebtAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11044
|
+
constructor(controllerAddr, debtor) {
|
|
11045
|
+
super('CurveUsdGetDebt', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdGetDebt'), ['address', 'address'], [controllerAddr, debtor]);
|
|
11046
|
+
}
|
|
11047
|
+
}
|
|
11048
|
+
|
|
11049
|
+
/***/ }),
|
|
11050
|
+
/* 277 */
|
|
10422
11051
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10423
11052
|
|
|
10424
11053
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10434,16 +11063,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10434
11063
|
/* harmony export */ "SparkSwapBorrowRateModeAction": () => (/* reexport safe */ _SparkSwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__.SparkSwapBorrowRateModeAction),
|
|
10435
11064
|
/* harmony export */ "SparkWithdrawAction": () => (/* reexport safe */ _SparkWithdrawAction__WEBPACK_IMPORTED_MODULE_3__.SparkWithdrawAction)
|
|
10436
11065
|
/* harmony export */ });
|
|
10437
|
-
/* harmony import */ var _SparkSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
10438
|
-
/* harmony import */ var _SparkBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
10439
|
-
/* harmony import */ var _SparkPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
10440
|
-
/* harmony import */ var _SparkWithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
10441
|
-
/* harmony import */ var _SparkSetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
10442
|
-
/* harmony import */ var _SparkSpTokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
10443
|
-
/* harmony import */ var _SparkCollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
10444
|
-
/* harmony import */ var _SparkClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
10445
|
-
/* harmony import */ var _SparkSwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
10446
|
-
/* harmony import */ var _SparkDelegateCredit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
11066
|
+
/* harmony import */ var _SparkSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(278);
|
|
11067
|
+
/* harmony import */ var _SparkBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(279);
|
|
11068
|
+
/* harmony import */ var _SparkPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(280);
|
|
11069
|
+
/* harmony import */ var _SparkWithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(281);
|
|
11070
|
+
/* harmony import */ var _SparkSetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(282);
|
|
11071
|
+
/* harmony import */ var _SparkSpTokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(283);
|
|
11072
|
+
/* harmony import */ var _SparkCollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(284);
|
|
11073
|
+
/* harmony import */ var _SparkClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(285);
|
|
11074
|
+
/* harmony import */ var _SparkSwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(286);
|
|
11075
|
+
/* harmony import */ var _SparkDelegateCredit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(287);
|
|
10447
11076
|
|
|
10448
11077
|
|
|
10449
11078
|
|
|
@@ -10456,7 +11085,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10456
11085
|
|
|
10457
11086
|
|
|
10458
11087
|
/***/ }),
|
|
10459
|
-
/*
|
|
11088
|
+
/* 278 */
|
|
10460
11089
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10461
11090
|
|
|
10462
11091
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10469,9 +11098,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10469
11098
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
10470
11099
|
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); } }
|
|
10471
11100
|
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); }); }; }
|
|
10472
|
-
function _defineProperty(obj, key, value) {
|
|
10473
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10474
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11101
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10475
11102
|
|
|
10476
11103
|
|
|
10477
11104
|
|
|
@@ -10538,7 +11165,7 @@ class SparkSupplyAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Actio
|
|
|
10538
11165
|
}
|
|
10539
11166
|
|
|
10540
11167
|
/***/ }),
|
|
10541
|
-
/*
|
|
11168
|
+
/* 279 */
|
|
10542
11169
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10543
11170
|
|
|
10544
11171
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10602,7 +11229,7 @@ class SparkBorrowAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
10602
11229
|
}
|
|
10603
11230
|
|
|
10604
11231
|
/***/ }),
|
|
10605
|
-
/*
|
|
11232
|
+
/* 280 */
|
|
10606
11233
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10607
11234
|
|
|
10608
11235
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10615,9 +11242,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10615
11242
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
10616
11243
|
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); } }
|
|
10617
11244
|
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); }); }; }
|
|
10618
|
-
function _defineProperty(obj, key, value) {
|
|
10619
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10620
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11245
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10621
11246
|
|
|
10622
11247
|
|
|
10623
11248
|
|
|
@@ -10684,7 +11309,7 @@ class SparkPaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
10684
11309
|
}
|
|
10685
11310
|
|
|
10686
11311
|
/***/ }),
|
|
10687
|
-
/*
|
|
11312
|
+
/* 281 */
|
|
10688
11313
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10689
11314
|
|
|
10690
11315
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10736,7 +11361,7 @@ class SparkWithdrawAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
10736
11361
|
}
|
|
10737
11362
|
|
|
10738
11363
|
/***/ }),
|
|
10739
|
-
/*
|
|
11364
|
+
/* 282 */
|
|
10740
11365
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10741
11366
|
|
|
10742
11367
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10778,7 +11403,7 @@ class SparkSetEModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
10778
11403
|
}
|
|
10779
11404
|
|
|
10780
11405
|
/***/ }),
|
|
10781
|
-
/*
|
|
11406
|
+
/* 283 */
|
|
10782
11407
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10783
11408
|
|
|
10784
11409
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10791,9 +11416,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10791
11416
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27);
|
|
10792
11417
|
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); } }
|
|
10793
11418
|
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); }); }; }
|
|
10794
|
-
function _defineProperty(obj, key, value) {
|
|
10795
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
10796
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11419
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10797
11420
|
|
|
10798
11421
|
|
|
10799
11422
|
|
|
@@ -10851,7 +11474,7 @@ class SparkSpTokenPaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1
|
|
|
10851
11474
|
}
|
|
10852
11475
|
|
|
10853
11476
|
/***/ }),
|
|
10854
|
-
/*
|
|
11477
|
+
/* 284 */
|
|
10855
11478
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10856
11479
|
|
|
10857
11480
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10901,7 +11524,7 @@ class SparkCollateralSwitchAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE
|
|
|
10901
11524
|
}
|
|
10902
11525
|
|
|
10903
11526
|
/***/ }),
|
|
10904
|
-
/*
|
|
11527
|
+
/* 285 */
|
|
10905
11528
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10906
11529
|
|
|
10907
11530
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10954,7 +11577,7 @@ class SparkClaimRewardsAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__
|
|
|
10954
11577
|
}
|
|
10955
11578
|
|
|
10956
11579
|
/***/ }),
|
|
10957
|
-
/*
|
|
11580
|
+
/* 286 */
|
|
10958
11581
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10959
11582
|
|
|
10960
11583
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11000,7 +11623,7 @@ class SparkSwapBorrowRateModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODU
|
|
|
11000
11623
|
}
|
|
11001
11624
|
|
|
11002
11625
|
/***/ }),
|
|
11003
|
-
/*
|
|
11626
|
+
/* 287 */
|
|
11004
11627
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11005
11628
|
|
|
11006
11629
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11051,46 +11674,397 @@ class SparkDelegateCredit extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
11051
11674
|
}
|
|
11052
11675
|
|
|
11053
11676
|
/***/ }),
|
|
11054
|
-
/*
|
|
11677
|
+
/* 288 */
|
|
11678
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11679
|
+
|
|
11680
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11681
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11682
|
+
/* harmony export */ "MorphoBlueBorrowAction": () => (/* reexport safe */ _MorphoBlueBorrowAction__WEBPACK_IMPORTED_MODULE_2__.MorphoBlueBorrowAction),
|
|
11683
|
+
/* harmony export */ "MorphoBluePaybackAction": () => (/* reexport safe */ _MorphoBluePaybackAction__WEBPACK_IMPORTED_MODULE_3__.MorphoBluePaybackAction),
|
|
11684
|
+
/* harmony export */ "MorphoBlueSetAuthAction": () => (/* reexport safe */ _MorphoBlueSetAuthAction__WEBPACK_IMPORTED_MODULE_6__.MorphoBlueSetAuthAction),
|
|
11685
|
+
/* harmony export */ "MorphoBlueSetAuthWithSigAction": () => (/* reexport safe */ _MorphoBlueSetAuthWithSigAction__WEBPACK_IMPORTED_MODULE_7__.MorphoBlueSetAuthWithSigAction),
|
|
11686
|
+
/* harmony export */ "MorphoBlueSupplyAction": () => (/* reexport safe */ _MorphoBlueSupplyAction__WEBPACK_IMPORTED_MODULE_0__.MorphoBlueSupplyAction),
|
|
11687
|
+
/* harmony export */ "MorphoBlueSupplyCollateralAction": () => (/* reexport safe */ _MorphoBlueSupplyCollateralAction__WEBPACK_IMPORTED_MODULE_1__.MorphoBlueSupplyCollateralAction),
|
|
11688
|
+
/* harmony export */ "MorphoBlueWithdrawAction": () => (/* reexport safe */ _MorphoBlueWithdrawAction__WEBPACK_IMPORTED_MODULE_5__.MorphoBlueWithdrawAction),
|
|
11689
|
+
/* harmony export */ "MorphoBlueWithdrawCollateralAction": () => (/* reexport safe */ _MorphoBlueWithdrawCollateralAction__WEBPACK_IMPORTED_MODULE_4__.MorphoBlueWithdrawCollateralAction)
|
|
11690
|
+
/* harmony export */ });
|
|
11691
|
+
/* harmony import */ var _MorphoBlueSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(289);
|
|
11692
|
+
/* harmony import */ var _MorphoBlueSupplyCollateralAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(290);
|
|
11693
|
+
/* harmony import */ var _MorphoBlueBorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(291);
|
|
11694
|
+
/* harmony import */ var _MorphoBluePaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(292);
|
|
11695
|
+
/* harmony import */ var _MorphoBlueWithdrawCollateralAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(293);
|
|
11696
|
+
/* harmony import */ var _MorphoBlueWithdrawAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(294);
|
|
11697
|
+
/* harmony import */ var _MorphoBlueSetAuthAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(295);
|
|
11698
|
+
/* harmony import */ var _MorphoBlueSetAuthWithSigAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(296);
|
|
11699
|
+
|
|
11700
|
+
|
|
11701
|
+
|
|
11702
|
+
|
|
11703
|
+
|
|
11704
|
+
|
|
11705
|
+
|
|
11706
|
+
|
|
11707
|
+
|
|
11708
|
+
/***/ }),
|
|
11709
|
+
/* 289 */
|
|
11710
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11711
|
+
|
|
11712
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11713
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11714
|
+
/* harmony export */ "MorphoBlueSupplyAction": () => (/* binding */ MorphoBlueSupplyAction)
|
|
11715
|
+
/* harmony export */ });
|
|
11716
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11717
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11718
|
+
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); } }
|
|
11719
|
+
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); }); }; }
|
|
11720
|
+
|
|
11721
|
+
|
|
11722
|
+
/**
|
|
11723
|
+
* MorphoBlueSupplyAction - Supply token as a lender on MorphoBlue to earn interest
|
|
11724
|
+
*
|
|
11725
|
+
* @category MorphoBlue
|
|
11726
|
+
*/
|
|
11727
|
+
class MorphoBlueSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11728
|
+
/**
|
|
11729
|
+
* @param loanToken - MarketParams loanToken
|
|
11730
|
+
* @param collateralToken - MarketParams collateralToken
|
|
11731
|
+
* @param oracle - MarketParams oracle
|
|
11732
|
+
* @param irm - MarketParams irm
|
|
11733
|
+
* @param lltv - MarketParams lltv
|
|
11734
|
+
* @param supplyAmount - Amount of loanToken to supply
|
|
11735
|
+
* @param from - Address from which to pull tokens
|
|
11736
|
+
* @param onBehalf - on whose behalf to supply the tokens
|
|
11737
|
+
*/
|
|
11738
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, supplyAmount, from, onBehalf) {
|
|
11739
|
+
super('MorphoBlueSupply', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueSupply'), [['address', 'address', 'address', 'address', 'uint256'], 'uint256', 'address', 'address'], [[loanToken, collateralToken, oracle, irm, lltv], supplyAmount, from, onBehalf]);
|
|
11740
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[0][3], this.args[0][4], this.args[1], this.args[2], this.args[3]];
|
|
11741
|
+
}
|
|
11742
|
+
getAssetsToApprove() {
|
|
11743
|
+
var _this = this;
|
|
11744
|
+
return _asyncToGenerator(function* () {
|
|
11745
|
+
return [{
|
|
11746
|
+
asset: _this.args[0][0],
|
|
11747
|
+
owner: _this.args[2]
|
|
11748
|
+
}];
|
|
11749
|
+
})();
|
|
11750
|
+
}
|
|
11751
|
+
}
|
|
11752
|
+
|
|
11753
|
+
/***/ }),
|
|
11754
|
+
/* 290 */
|
|
11755
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11756
|
+
|
|
11757
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11758
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11759
|
+
/* harmony export */ "MorphoBlueSupplyCollateralAction": () => (/* binding */ MorphoBlueSupplyCollateralAction)
|
|
11760
|
+
/* harmony export */ });
|
|
11761
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11762
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11763
|
+
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); } }
|
|
11764
|
+
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); }); }; }
|
|
11765
|
+
|
|
11766
|
+
|
|
11767
|
+
/**
|
|
11768
|
+
* MorphoBlueSupplyCollateralAction - Supply token to use as collateral on MorphoBlue
|
|
11769
|
+
*
|
|
11770
|
+
* @category MorphoBlue
|
|
11771
|
+
*/
|
|
11772
|
+
class MorphoBlueSupplyCollateralAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11773
|
+
/**
|
|
11774
|
+
* @param loanToken - MarketParams loanToken
|
|
11775
|
+
* @param collateralToken - MarketParams collateralToken
|
|
11776
|
+
* @param oracle - MarketParams oracle
|
|
11777
|
+
* @param irm - MarketParams irm
|
|
11778
|
+
* @param lltv - MarketParams lltv
|
|
11779
|
+
* @param supplyAmount - Amount of collateral token to supply
|
|
11780
|
+
* @param from - Address from which to pull tokens
|
|
11781
|
+
* @param onBehalf - On whose behalf to supply tokens as collateral
|
|
11782
|
+
*/
|
|
11783
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, supplyAmount, from, onBehalf) {
|
|
11784
|
+
super('MorphoBlueSupplyCollateral', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueSupplyCollateral'), [['address', 'address', 'address', 'address', 'uint256'], 'uint256', 'address', 'address'], [[loanToken, collateralToken, oracle, irm, lltv], supplyAmount, from, onBehalf]);
|
|
11785
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[0][3], this.args[0][4], this.args[1], this.args[2], this.args[3]];
|
|
11786
|
+
}
|
|
11787
|
+
getAssetsToApprove() {
|
|
11788
|
+
var _this = this;
|
|
11789
|
+
return _asyncToGenerator(function* () {
|
|
11790
|
+
return [{
|
|
11791
|
+
asset: _this.args[0][1],
|
|
11792
|
+
owner: _this.args[2]
|
|
11793
|
+
}];
|
|
11794
|
+
})();
|
|
11795
|
+
}
|
|
11796
|
+
}
|
|
11797
|
+
|
|
11798
|
+
/***/ }),
|
|
11799
|
+
/* 291 */
|
|
11800
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11801
|
+
|
|
11802
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11803
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11804
|
+
/* harmony export */ "MorphoBlueBorrowAction": () => (/* binding */ MorphoBlueBorrowAction)
|
|
11805
|
+
/* harmony export */ });
|
|
11806
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11807
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11808
|
+
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); } }
|
|
11809
|
+
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); }); }; }
|
|
11810
|
+
|
|
11811
|
+
|
|
11812
|
+
/**
|
|
11813
|
+
* MorphoBlueBorrowAction - Borrow a token from MorphoBlue
|
|
11814
|
+
*
|
|
11815
|
+
* @category MorphoBlue
|
|
11816
|
+
*/
|
|
11817
|
+
class MorphoBlueBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11818
|
+
/**
|
|
11819
|
+
* @param loanToken - MarketParams loanToken
|
|
11820
|
+
* @param collateralToken - MarketParams collateralToken
|
|
11821
|
+
* @param oracle - MarketParams oracle
|
|
11822
|
+
* @param irm - MarketParams irm
|
|
11823
|
+
* @param lltv - MarketParams lltv
|
|
11824
|
+
* @param borrowAmount - amount of loanToken to borrow
|
|
11825
|
+
* @param onBehalf - onBehalf of whom to borrow
|
|
11826
|
+
* @param to - address to receive borrowed tokens
|
|
11827
|
+
*/
|
|
11828
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, borrowAmount, onBehalf, to) {
|
|
11829
|
+
super('MorphoBlueBorrow', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueBorrow'), [['address', 'address', 'address', 'address', 'uint256'], 'uint256', 'address', 'address'], [[loanToken, collateralToken, oracle, irm, lltv], borrowAmount, onBehalf, to]);
|
|
11830
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[0][3], this.args[0][4], this.args[1], this.args[2], this.args[3]];
|
|
11831
|
+
}
|
|
11832
|
+
getAssetsToApprove() {
|
|
11833
|
+
return _asyncToGenerator(function* () {
|
|
11834
|
+
return [];
|
|
11835
|
+
})();
|
|
11836
|
+
}
|
|
11837
|
+
}
|
|
11838
|
+
|
|
11839
|
+
/***/ }),
|
|
11840
|
+
/* 292 */
|
|
11841
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11842
|
+
|
|
11843
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11844
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11845
|
+
/* harmony export */ "MorphoBluePaybackAction": () => (/* binding */ MorphoBluePaybackAction)
|
|
11846
|
+
/* harmony export */ });
|
|
11847
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11848
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11849
|
+
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); } }
|
|
11850
|
+
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); }); }; }
|
|
11851
|
+
|
|
11852
|
+
|
|
11853
|
+
/**
|
|
11854
|
+
* MorphoBluePaybackAction - Payback debt on MorphoBlue
|
|
11855
|
+
*
|
|
11856
|
+
* @category MorphoBlue
|
|
11857
|
+
*/
|
|
11858
|
+
class MorphoBluePaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11859
|
+
/**
|
|
11860
|
+
* @param loanToken - MarketParams loanToken
|
|
11861
|
+
* @param collateralToken - MarketParams collateralToken
|
|
11862
|
+
* @param oracle - MarketParams oracle
|
|
11863
|
+
* @param irm - MarketParams irm
|
|
11864
|
+
* @param lltv - MarketParams lltv
|
|
11865
|
+
* @param paybackAmount - Amount of debt to repay (uint.max for full debt repayment)
|
|
11866
|
+
* @param from - Address from which to pull tokens with which to repay debt
|
|
11867
|
+
* @param onBehalf - Position owner whose debt we are paying back
|
|
11868
|
+
*/
|
|
11869
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, paybackAmount, from, onBehalf) {
|
|
11870
|
+
super('MorphoBluePayback', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBluePayback'), [['address', 'address', 'address', 'address', 'uint256'], 'uint256', 'address', 'address'], [[loanToken, collateralToken, oracle, irm, lltv], paybackAmount, from, onBehalf]);
|
|
11871
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[0][3], this.args[0][4], this.args[1], this.args[2], this.args[3]];
|
|
11872
|
+
}
|
|
11873
|
+
getAssetsToApprove() {
|
|
11874
|
+
var _this = this;
|
|
11875
|
+
return _asyncToGenerator(function* () {
|
|
11876
|
+
return [{
|
|
11877
|
+
asset: _this.args[0][0],
|
|
11878
|
+
owner: _this.args[2]
|
|
11879
|
+
}];
|
|
11880
|
+
})();
|
|
11881
|
+
}
|
|
11882
|
+
}
|
|
11883
|
+
|
|
11884
|
+
/***/ }),
|
|
11885
|
+
/* 293 */
|
|
11886
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11887
|
+
|
|
11888
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11889
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11890
|
+
/* harmony export */ "MorphoBlueWithdrawCollateralAction": () => (/* binding */ MorphoBlueWithdrawCollateralAction)
|
|
11891
|
+
/* harmony export */ });
|
|
11892
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11893
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11894
|
+
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); } }
|
|
11895
|
+
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); }); }; }
|
|
11896
|
+
|
|
11897
|
+
|
|
11898
|
+
/**
|
|
11899
|
+
* MorphoBlueWithdrawCollateralAction - Withdraw tokens that are used as collateral on MorphoBlue
|
|
11900
|
+
*
|
|
11901
|
+
* @category MorphoBlue
|
|
11902
|
+
*/
|
|
11903
|
+
class MorphoBlueWithdrawCollateralAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11904
|
+
/**
|
|
11905
|
+
* @param loanToken - MarketParams loanToken
|
|
11906
|
+
* @param collateralToken - MarketParams collateralToken
|
|
11907
|
+
* @param oracle - MarketParams oracle
|
|
11908
|
+
* @param irm - MarketParams irm
|
|
11909
|
+
* @param lltv - MarketParams lltv
|
|
11910
|
+
* @param withdrawAmount - Amount of tokens to withdraw
|
|
11911
|
+
* @param onBehalf - From whose position should we withdraw tokens
|
|
11912
|
+
* @param to - address which will receive withdrawn tokens
|
|
11913
|
+
*/
|
|
11914
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, withdrawAmount, onBehalf, to) {
|
|
11915
|
+
super('MorphoBlueWithdrawCollateral', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueWithdrawCollateral'), [['address', 'address', 'address', 'address', 'uint256'], 'uint256', 'address', 'address'], [[loanToken, collateralToken, oracle, irm, lltv], withdrawAmount, onBehalf, to]);
|
|
11916
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[0][3], this.args[0][4], this.args[1], this.args[2], this.args[3]];
|
|
11917
|
+
}
|
|
11918
|
+
getAssetsToApprove() {
|
|
11919
|
+
return _asyncToGenerator(function* () {
|
|
11920
|
+
return [];
|
|
11921
|
+
})();
|
|
11922
|
+
}
|
|
11923
|
+
}
|
|
11924
|
+
|
|
11925
|
+
/***/ }),
|
|
11926
|
+
/* 294 */
|
|
11927
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11928
|
+
|
|
11929
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11930
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11931
|
+
/* harmony export */ "MorphoBlueWithdrawAction": () => (/* binding */ MorphoBlueWithdrawAction)
|
|
11932
|
+
/* harmony export */ });
|
|
11933
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11934
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11935
|
+
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); } }
|
|
11936
|
+
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); }); }; }
|
|
11937
|
+
|
|
11938
|
+
|
|
11939
|
+
/**
|
|
11940
|
+
* MorphoBlueWithdrawAction - Withdraw interest earning tokens from MorphoBlue
|
|
11941
|
+
*
|
|
11942
|
+
* @category MorphoBlue
|
|
11943
|
+
*/
|
|
11944
|
+
class MorphoBlueWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11945
|
+
/**
|
|
11946
|
+
* @param loanToken - MarketParams loanToken
|
|
11947
|
+
* @param collateralToken - MarketParams collateralToken
|
|
11948
|
+
* @param oracle - MarketParams oracle
|
|
11949
|
+
* @param irm - MarketParams irm
|
|
11950
|
+
* @param lltv - MarketParams lltv
|
|
11951
|
+
* @param withdrawAmount - Amount of tokens to withdraw (uint.max for full withdrawal)
|
|
11952
|
+
* @param onBehalf - From whose position should we withdraw tokens
|
|
11953
|
+
* @param to - address which will receive withdrawn tokens
|
|
11954
|
+
*/
|
|
11955
|
+
constructor(loanToken, collateralToken, oracle, irm, lltv, withdrawAmount, onBehalf, to) {
|
|
11956
|
+
super('MorphoBlueWithdraw', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueWithdraw'), [['address', 'address', 'address', 'address', 'uint256'], 'uint256', 'address', 'address'], [[loanToken, collateralToken, oracle, irm, lltv], withdrawAmount, onBehalf, to]);
|
|
11957
|
+
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[0][3], this.args[0][4], this.args[1], this.args[2], this.args[3]];
|
|
11958
|
+
}
|
|
11959
|
+
getAssetsToApprove() {
|
|
11960
|
+
return _asyncToGenerator(function* () {
|
|
11961
|
+
return [];
|
|
11962
|
+
})();
|
|
11963
|
+
}
|
|
11964
|
+
}
|
|
11965
|
+
|
|
11966
|
+
/***/ }),
|
|
11967
|
+
/* 295 */
|
|
11055
11968
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11056
11969
|
|
|
11057
11970
|
__webpack_require__.r(__webpack_exports__);
|
|
11058
11971
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11972
|
+
/* harmony export */ "MorphoBlueSetAuthAction": () => (/* binding */ MorphoBlueSetAuthAction)
|
|
11973
|
+
/* harmony export */ });
|
|
11974
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
11975
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
11976
|
+
|
|
11977
|
+
|
|
11978
|
+
/**
|
|
11979
|
+
* @category MorphoBlue
|
|
11980
|
+
*/
|
|
11981
|
+
class MorphoBlueSetAuthAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
11982
|
+
/**
|
|
11983
|
+
* @param manager
|
|
11984
|
+
* @param newIsAuthorized
|
|
11985
|
+
*/
|
|
11986
|
+
constructor(manager, newIsAuthorized) {
|
|
11987
|
+
super('MorphoBlueSetAuth', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueSetAuth'), ['address', 'bool'], [manager, newIsAuthorized]);
|
|
11988
|
+
this.mappableArgs = [this.args[0], this.args[1]];
|
|
11989
|
+
}
|
|
11990
|
+
}
|
|
11991
|
+
|
|
11992
|
+
/***/ }),
|
|
11993
|
+
/* 296 */
|
|
11994
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11995
|
+
|
|
11996
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11997
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11998
|
+
/* harmony export */ "MorphoBlueSetAuthWithSigAction": () => (/* binding */ MorphoBlueSetAuthWithSigAction)
|
|
11999
|
+
/* harmony export */ });
|
|
12000
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12001
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12002
|
+
|
|
12003
|
+
|
|
12004
|
+
/**
|
|
12005
|
+
* @category MorphoBlue
|
|
12006
|
+
*/
|
|
12007
|
+
class MorphoBlueSetAuthWithSigAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12008
|
+
/**
|
|
12009
|
+
* @param manager
|
|
12010
|
+
* @param newIsAuthorized
|
|
12011
|
+
*/
|
|
12012
|
+
constructor(authorizer, authorized, isAuthorized, nonce, deadline, v, r, s) {
|
|
12013
|
+
super('MorphoBlueSetAuthWithSig', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueSetAuthWithSig'), [['address', 'address', 'bool', 'uint256', 'uint256'], ['uint8', 'bytes32', 'bytes32']], [[authorizer, authorized, isAuthorized, nonce, deadline], [v, r, s]]);
|
|
12014
|
+
this.mappableArgs = [];
|
|
12015
|
+
}
|
|
12016
|
+
}
|
|
12017
|
+
|
|
12018
|
+
/***/ }),
|
|
12019
|
+
/* 297 */
|
|
12020
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12021
|
+
|
|
12022
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12023
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12024
|
+
/* harmony export */ "AaveV2RatioTrigger": () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
|
|
11059
12025
|
/* harmony export */ "AaveV3QuotePriceTrigger": () => (/* reexport safe */ _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__.AaveV3QuotePriceTrigger),
|
|
11060
12026
|
/* harmony export */ "AaveV3RatioTrigger": () => (/* reexport safe */ _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__.AaveV3RatioTrigger),
|
|
11061
12027
|
/* harmony export */ "CBRebondTrigger": () => (/* reexport safe */ _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__.CBRebondTrigger),
|
|
11062
12028
|
/* harmony export */ "ChainLinkPriceTrigger": () => (/* reexport safe */ _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__.ChainLinkPriceTrigger),
|
|
11063
12029
|
/* harmony export */ "CompV3RatioTrigger": () => (/* reexport safe */ _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__.CompV3RatioTrigger),
|
|
11064
12030
|
/* harmony export */ "CompoundRatioTrigger": () => (/* reexport safe */ _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__.CompoundRatioTrigger),
|
|
12031
|
+
/* harmony export */ "CurveUsdCollRatioTrigger": () => (/* reexport safe */ _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__.CurveUsdCollRatioTrigger),
|
|
11065
12032
|
/* harmony export */ "GasPriceTrigger": () => (/* reexport safe */ _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__.GasPriceTrigger),
|
|
11066
|
-
/* harmony export */ "LiquityDebtInFrontWithLimitTrigger": () => (/* reexport safe */
|
|
12033
|
+
/* harmony export */ "LiquityDebtInFrontWithLimitTrigger": () => (/* reexport safe */ _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__.LiquityDebtInFrontWithLimitTrigger),
|
|
11067
12034
|
/* harmony export */ "LiquityRatioTrigger": () => (/* reexport safe */ _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__.LiquityRatioTrigger),
|
|
11068
12035
|
/* harmony export */ "MakerRatioTrigger": () => (/* reexport safe */ _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__.MakerRatioTrigger),
|
|
11069
|
-
/* harmony export */ "MorphoAaveV2RatioTrigger": () => (/* reexport safe */
|
|
12036
|
+
/* harmony export */ "MorphoAaveV2RatioTrigger": () => (/* reexport safe */ _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__.MorphoAaveV2RatioTrigger),
|
|
12037
|
+
/* harmony export */ "OffchainPriceTrigger": () => (/* reexport safe */ _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_19__.OffchainPriceTrigger),
|
|
11070
12038
|
/* harmony export */ "ReflexerRatioTrigger": () => (/* reexport safe */ _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__.ReflexerRatioTrigger),
|
|
11071
|
-
/* harmony export */ "SparkQuotePriceTrigger": () => (/* reexport safe */
|
|
11072
|
-
/* harmony export */ "SparkRatioTrigger": () => (/* reexport safe */
|
|
12039
|
+
/* harmony export */ "SparkQuotePriceTrigger": () => (/* reexport safe */ _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__.SparkQuotePriceTrigger),
|
|
12040
|
+
/* harmony export */ "SparkRatioTrigger": () => (/* reexport safe */ _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__.SparkRatioTrigger),
|
|
11073
12041
|
/* harmony export */ "TimestampTrigger": () => (/* reexport safe */ _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__.TimestampTrigger),
|
|
11074
12042
|
/* harmony export */ "TrailingStopTrigger": () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
11075
12043
|
/* harmony export */ "UniV3CurrentTickTrigger": () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
11076
12044
|
/* harmony export */ });
|
|
11077
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
11078
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
11079
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
11080
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
11081
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
11082
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
11083
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
11084
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
11085
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
11086
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
11087
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
11088
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
11089
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
11090
|
-
/* harmony import */ var
|
|
11091
|
-
/* harmony import */ var
|
|
11092
|
-
/* harmony import */ var
|
|
11093
|
-
/* harmony import */ var
|
|
12045
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(298);
|
|
12046
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(299);
|
|
12047
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(300);
|
|
12048
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(301);
|
|
12049
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(302);
|
|
12050
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(303);
|
|
12051
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(304);
|
|
12052
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(305);
|
|
12053
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(306);
|
|
12054
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(307);
|
|
12055
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(308);
|
|
12056
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(309);
|
|
12057
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(310);
|
|
12058
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(311);
|
|
12059
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(312);
|
|
12060
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(313);
|
|
12061
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(314);
|
|
12062
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(315);
|
|
12063
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(316);
|
|
12064
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(317);
|
|
12065
|
+
|
|
12066
|
+
|
|
12067
|
+
|
|
11094
12068
|
|
|
11095
12069
|
|
|
11096
12070
|
|
|
@@ -11110,7 +12084,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11110
12084
|
|
|
11111
12085
|
|
|
11112
12086
|
/***/ }),
|
|
11113
|
-
/*
|
|
12087
|
+
/* 298 */
|
|
11114
12088
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11115
12089
|
|
|
11116
12090
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11133,7 +12107,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11133
12107
|
}
|
|
11134
12108
|
|
|
11135
12109
|
/***/ }),
|
|
11136
|
-
/*
|
|
12110
|
+
/* 299 */
|
|
11137
12111
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11138
12112
|
|
|
11139
12113
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11156,7 +12130,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
11156
12130
|
}
|
|
11157
12131
|
|
|
11158
12132
|
/***/ }),
|
|
11159
|
-
/*
|
|
12133
|
+
/* 300 */
|
|
11160
12134
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11161
12135
|
|
|
11162
12136
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11179,7 +12153,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
11179
12153
|
}
|
|
11180
12154
|
|
|
11181
12155
|
/***/ }),
|
|
11182
|
-
/*
|
|
12156
|
+
/* 301 */
|
|
11183
12157
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11184
12158
|
|
|
11185
12159
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11202,7 +12176,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11202
12176
|
}
|
|
11203
12177
|
|
|
11204
12178
|
/***/ }),
|
|
11205
|
-
/*
|
|
12179
|
+
/* 302 */
|
|
11206
12180
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11207
12181
|
|
|
11208
12182
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11225,7 +12199,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11225
12199
|
}
|
|
11226
12200
|
|
|
11227
12201
|
/***/ }),
|
|
11228
|
-
/*
|
|
12202
|
+
/* 303 */
|
|
11229
12203
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11230
12204
|
|
|
11231
12205
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11248,7 +12222,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11248
12222
|
}
|
|
11249
12223
|
|
|
11250
12224
|
/***/ }),
|
|
11251
|
-
/*
|
|
12225
|
+
/* 304 */
|
|
11252
12226
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11253
12227
|
|
|
11254
12228
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11271,7 +12245,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11271
12245
|
}
|
|
11272
12246
|
|
|
11273
12247
|
/***/ }),
|
|
11274
|
-
/*
|
|
12248
|
+
/* 305 */
|
|
11275
12249
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11276
12250
|
|
|
11277
12251
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11294,7 +12268,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11294
12268
|
}
|
|
11295
12269
|
|
|
11296
12270
|
/***/ }),
|
|
11297
|
-
/*
|
|
12271
|
+
/* 306 */
|
|
11298
12272
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11299
12273
|
|
|
11300
12274
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11317,7 +12291,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11317
12291
|
}
|
|
11318
12292
|
|
|
11319
12293
|
/***/ }),
|
|
11320
|
-
/*
|
|
12294
|
+
/* 307 */
|
|
11321
12295
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11322
12296
|
|
|
11323
12297
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11340,7 +12314,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11340
12314
|
}
|
|
11341
12315
|
|
|
11342
12316
|
/***/ }),
|
|
11343
|
-
/*
|
|
12317
|
+
/* 308 */
|
|
11344
12318
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11345
12319
|
|
|
11346
12320
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11363,7 +12337,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11363
12337
|
}
|
|
11364
12338
|
|
|
11365
12339
|
/***/ }),
|
|
11366
|
-
/*
|
|
12340
|
+
/* 309 */
|
|
11367
12341
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11368
12342
|
|
|
11369
12343
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11386,7 +12360,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11386
12360
|
}
|
|
11387
12361
|
|
|
11388
12362
|
/***/ }),
|
|
11389
|
-
/*
|
|
12363
|
+
/* 310 */
|
|
11390
12364
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11391
12365
|
|
|
11392
12366
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11409,7 +12383,30 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
11409
12383
|
}
|
|
11410
12384
|
|
|
11411
12385
|
/***/ }),
|
|
11412
|
-
/*
|
|
12386
|
+
/* 311 */
|
|
12387
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12388
|
+
|
|
12389
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12390
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12391
|
+
/* harmony export */ "AaveV2RatioTrigger": () => (/* binding */ AaveV2RatioTrigger)
|
|
12392
|
+
/* harmony export */ });
|
|
12393
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12394
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12395
|
+
|
|
12396
|
+
|
|
12397
|
+
/**
|
|
12398
|
+
*
|
|
12399
|
+
*
|
|
12400
|
+
* @category Triggers
|
|
12401
|
+
*/
|
|
12402
|
+
class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12403
|
+
constructor(user, market, ratio, state) {
|
|
12404
|
+
super('AaveV2RatioTrigger', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV2RatioTrigger'), [['address', 'address', 'uint256', 'uint8']], [[user, market, ratio, state]]);
|
|
12405
|
+
}
|
|
12406
|
+
}
|
|
12407
|
+
|
|
12408
|
+
/***/ }),
|
|
12409
|
+
/* 312 */
|
|
11413
12410
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11414
12411
|
|
|
11415
12412
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11432,7 +12429,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
11432
12429
|
}
|
|
11433
12430
|
|
|
11434
12431
|
/***/ }),
|
|
11435
|
-
/*
|
|
12432
|
+
/* 313 */
|
|
11436
12433
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11437
12434
|
|
|
11438
12435
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11455,7 +12452,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
11455
12452
|
}
|
|
11456
12453
|
|
|
11457
12454
|
/***/ }),
|
|
11458
|
-
/*
|
|
12455
|
+
/* 314 */
|
|
11459
12456
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11460
12457
|
|
|
11461
12458
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11478,7 +12475,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
11478
12475
|
}
|
|
11479
12476
|
|
|
11480
12477
|
/***/ }),
|
|
11481
|
-
/*
|
|
12478
|
+
/* 315 */
|
|
11482
12479
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11483
12480
|
|
|
11484
12481
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11501,7 +12498,53 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
11501
12498
|
}
|
|
11502
12499
|
|
|
11503
12500
|
/***/ }),
|
|
11504
|
-
/*
|
|
12501
|
+
/* 316 */
|
|
12502
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12503
|
+
|
|
12504
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12505
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12506
|
+
/* harmony export */ "CurveUsdCollRatioTrigger": () => (/* binding */ CurveUsdCollRatioTrigger)
|
|
12507
|
+
/* harmony export */ });
|
|
12508
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12509
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12510
|
+
|
|
12511
|
+
|
|
12512
|
+
/**
|
|
12513
|
+
*
|
|
12514
|
+
*
|
|
12515
|
+
* @category Triggers
|
|
12516
|
+
*/
|
|
12517
|
+
class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12518
|
+
constructor(user, controller, ratio, state) {
|
|
12519
|
+
super('CurveUsdCollRatioTrigger', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdCollRatioTrigger'), [['address', 'address', 'uint256', 'uint8']], [[user, controller, ratio, state]]);
|
|
12520
|
+
}
|
|
12521
|
+
}
|
|
12522
|
+
|
|
12523
|
+
/***/ }),
|
|
12524
|
+
/* 317 */
|
|
12525
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
12526
|
+
|
|
12527
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12528
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12529
|
+
/* harmony export */ "OffchainPriceTrigger": () => (/* binding */ OffchainPriceTrigger)
|
|
12530
|
+
/* harmony export */ });
|
|
12531
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
12532
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
12533
|
+
|
|
12534
|
+
|
|
12535
|
+
/**
|
|
12536
|
+
*
|
|
12537
|
+
*
|
|
12538
|
+
* @category Triggers
|
|
12539
|
+
*/
|
|
12540
|
+
class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
12541
|
+
constructor(limitPrice, limitType) {
|
|
12542
|
+
super('OffchainPriceTrigger', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('OffchainPriceTrigger'), ['uint256', 'uint8'], [limitPrice, limitType]);
|
|
12543
|
+
}
|
|
12544
|
+
}
|
|
12545
|
+
|
|
12546
|
+
/***/ }),
|
|
12547
|
+
/* 318 */
|
|
11505
12548
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11506
12549
|
|
|
11507
12550
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11515,14 +12558,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11515
12558
|
/* harmony export */ "uniswapV3LP": () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
11516
12559
|
/* harmony export */ "zeroExExchange": () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
11517
12560
|
/* harmony export */ });
|
|
11518
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
11519
|
-
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
11520
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
11521
|
-
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
11522
|
-
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
11523
|
-
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
11524
|
-
/* harmony import */ var _curveusd_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
11525
|
-
/* harmony import */ var _basic_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
12561
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(319);
|
|
12562
|
+
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(128);
|
|
12563
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(321);
|
|
12564
|
+
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(225);
|
|
12565
|
+
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(206);
|
|
12566
|
+
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(192);
|
|
12567
|
+
/* harmony import */ var _curveusd_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(266);
|
|
12568
|
+
/* harmony import */ var _basic_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(93);
|
|
11526
12569
|
|
|
11527
12570
|
|
|
11528
12571
|
|
|
@@ -11534,7 +12577,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11534
12577
|
|
|
11535
12578
|
|
|
11536
12579
|
/***/ }),
|
|
11537
|
-
/*
|
|
12580
|
+
/* 319 */
|
|
11538
12581
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11539
12582
|
|
|
11540
12583
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11545,7 +12588,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11545
12588
|
/* harmony export */ });
|
|
11546
12589
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
11547
12590
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
11548
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
12591
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(320);
|
|
11549
12592
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
11550
12593
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
11551
12594
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -11748,20 +12791,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
11748
12791
|
}();
|
|
11749
12792
|
|
|
11750
12793
|
/***/ }),
|
|
11751
|
-
/*
|
|
12794
|
+
/* 320 */
|
|
11752
12795
|
/***/ ((module) => {
|
|
11753
12796
|
|
|
11754
|
-
module.exports =
|
|
12797
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__320__;
|
|
11755
12798
|
|
|
11756
12799
|
/***/ }),
|
|
11757
|
-
/*
|
|
12800
|
+
/* 321 */
|
|
11758
12801
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11759
12802
|
|
|
11760
12803
|
__webpack_require__.r(__webpack_exports__);
|
|
11761
12804
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11762
12805
|
/* harmony export */ "getAssetAddrByTokenId": () => (/* binding */ getAssetAddrByTokenId)
|
|
11763
12806
|
/* harmony export */ });
|
|
11764
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
12807
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(322);
|
|
11765
12808
|
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); } }
|
|
11766
12809
|
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); }); }; }
|
|
11767
12810
|
/**
|
|
@@ -11786,7 +12829,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
11786
12829
|
}();
|
|
11787
12830
|
|
|
11788
12831
|
/***/ }),
|
|
11789
|
-
/*
|
|
12832
|
+
/* 322 */
|
|
11790
12833
|
/***/ ((module) => {
|
|
11791
12834
|
|
|
11792
12835
|
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"}]');
|
|
@@ -11890,8 +12933,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11890
12933
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
11891
12934
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
11892
12935
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
11893
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
11894
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
12936
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(297);
|
|
12937
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(318);
|
|
11895
12938
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
11896
12939
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
11897
12940
|
/* Export types here */
|