@defisaver/automation-sdk 2.0.8 → 2.1.0
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/.env +4 -0
- package/esm/automation/private/LegacyAutomation.js +9 -3
- package/esm/automation/private/StrategiesAutomation.d.ts +4 -0
- package/esm/automation/private/StrategiesAutomation.js +29 -4
- package/esm/services/strategiesService.js +37 -6
- package/esm/services/strategiesService.test.js +3 -2
- package/esm/services/utils.d.ts +1 -0
- package/esm/services/utils.js +5 -1
- package/esm/services/utils.test.js +13 -0
- package/esm/types/index.d.ts +6 -2
- package/package.json +4 -4
- package/src/automation/private/LegacyAutomation.ts +14 -4
- package/src/automation/private/StrategiesAutomation.ts +40 -6
- package/src/services/strategiesService.test.ts +3 -2
- package/src/services/strategiesService.ts +67 -9
- package/src/services/utils.test.ts +17 -1
- package/src/services/utils.ts +4 -0
- package/src/types/index.ts +7 -2
- package/umd/index.js +824 -462
package/umd/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["defisaver-sdk"] = factory(require("decimal.js"), require("web3-utils"), require("web3-eth-abi"), require("@defisaver/tokens"), require("@ethersproject/solidity"), require("@ethersproject/address"), require("axios"));
|
|
8
8
|
else
|
|
9
9
|
root["defisaver-sdk"] = factory(root["decimal.js"], root["web3-utils"], root["web3-eth-abi"], root["@defisaver/tokens"], root["@ethersproject/solidity"], root["@ethersproject/address"], root["axios"]);
|
|
10
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__18__, __WEBPACK_EXTERNAL_MODULE__19__, __WEBPACK_EXTERNAL_MODULE__20__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__18__, __WEBPACK_EXTERNAL_MODULE__19__, __WEBPACK_EXTERNAL_MODULE__20__, __WEBPACK_EXTERNAL_MODULE__149__, __WEBPACK_EXTERNAL_MODULE__150__, __WEBPACK_EXTERNAL_MODULE__314__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ([
|
|
13
13
|
/* 0 */,
|
|
@@ -905,6 +905,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
905
905
|
/* harmony export */ compareSubHashes: () => (/* binding */ compareSubHashes),
|
|
906
906
|
/* harmony export */ encodeSubId: () => (/* binding */ encodeSubId),
|
|
907
907
|
/* harmony export */ ethToWeth: () => (/* binding */ ethToWeth),
|
|
908
|
+
/* harmony export */ getPositionId: () => (/* binding */ getPositionId),
|
|
908
909
|
/* harmony export */ getRatioStateInfoForAaveCloseStrategy: () => (/* binding */ getRatioStateInfoForAaveCloseStrategy),
|
|
909
910
|
/* harmony export */ isAddress: () => (/* binding */ isAddress),
|
|
910
911
|
/* harmony export */ isDefined: () => (/* binding */ isDefined),
|
|
@@ -1008,6 +1009,12 @@ function getRatioStateInfoForAaveCloseStrategy(currentRatioState, collAsset, deb
|
|
|
1008
1009
|
ratioState
|
|
1009
1010
|
};
|
|
1010
1011
|
}
|
|
1012
|
+
function getPositionId() {
|
|
1013
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
1014
|
+
args[_key2] = arguments[_key2];
|
|
1015
|
+
}
|
|
1016
|
+
return args.map(arg => arg.toString().toLowerCase().split(' ').join('_')).join('-');
|
|
1017
|
+
}
|
|
1011
1018
|
|
|
1012
1019
|
/***/ }),
|
|
1013
1020
|
/* 18 */
|
|
@@ -1039,11 +1046,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1039
1046
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1040
1047
|
/* harmony export */ "default": () => (/* binding */ LegacyAutomation)
|
|
1041
1048
|
/* harmony export */ });
|
|
1042
|
-
/* harmony import */ var
|
|
1043
|
-
/* harmony import */ var
|
|
1044
|
-
/* harmony import */ var
|
|
1045
|
-
/* harmony import */ var
|
|
1046
|
-
/* harmony import */ var
|
|
1049
|
+
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1050
|
+
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1051
|
+
/* harmony import */ var _services_contractService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
|
|
1052
|
+
/* harmony import */ var _services_ethereumService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
|
|
1053
|
+
/* harmony import */ var _services_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17);
|
|
1054
|
+
/* harmony import */ var _Automation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
|
|
1055
|
+
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
1047
1056
|
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; }
|
|
1048
1057
|
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; }
|
|
1049
1058
|
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); } }
|
|
@@ -1056,10 +1065,11 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
|
1056
1065
|
|
|
1057
1066
|
|
|
1058
1067
|
|
|
1059
|
-
|
|
1068
|
+
|
|
1069
|
+
class LegacyAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_4__["default"] {
|
|
1060
1070
|
constructor(args) {
|
|
1061
1071
|
super();
|
|
1062
|
-
_defineProperty(this, "chainId",
|
|
1072
|
+
_defineProperty(this, "chainId", _types_enums__WEBPACK_IMPORTED_MODULE_5__.ChainId.Ethereum);
|
|
1063
1073
|
_defineProperty(this, "web3", void 0);
|
|
1064
1074
|
_defineProperty(this, "monitorAddress", void 0);
|
|
1065
1075
|
_defineProperty(this, "subscriptionsContract", void 0);
|
|
@@ -1069,21 +1079,21 @@ class LegacyAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_3__["default
|
|
|
1069
1079
|
this.subscriptionsContract = args.subscriptionsJson;
|
|
1070
1080
|
this.monitorAddress = args.monitorAddress;
|
|
1071
1081
|
this.protocol = args.protocol;
|
|
1072
|
-
this.authCheckerContract = (0,
|
|
1082
|
+
this.authCheckerContract = (0,_services_contractService__WEBPACK_IMPORTED_MODULE_1__.makeAuthCheckerContract)(this.web3, this.chainId);
|
|
1073
1083
|
this.assertLegacy();
|
|
1074
1084
|
}
|
|
1075
1085
|
assertSubscriptionContract() {
|
|
1076
|
-
if ((0,
|
|
1086
|
+
if ((0,_services_utils__WEBPACK_IMPORTED_MODULE_3__.isUndefined)(this.subscriptionsContract)) {
|
|
1077
1087
|
throw new Error("Assertion for property 'subscriptionsContract' failed. \nGot: '".concat(this.subscriptionsContract, "."));
|
|
1078
1088
|
}
|
|
1079
1089
|
}
|
|
1080
1090
|
assertProtocol() {
|
|
1081
|
-
if ((0,
|
|
1091
|
+
if ((0,_services_utils__WEBPACK_IMPORTED_MODULE_3__.isUndefined)(this.protocol)) {
|
|
1082
1092
|
throw new Error("Assertion for property 'protocol' failed. \nGot: '".concat(this.protocol, "."));
|
|
1083
1093
|
}
|
|
1084
1094
|
}
|
|
1085
1095
|
assertMonitorAddress() {
|
|
1086
|
-
if (!(0,
|
|
1096
|
+
if (!(0,_services_utils__WEBPACK_IMPORTED_MODULE_3__.isAddress)(this.monitorAddress)) {
|
|
1087
1097
|
throw new Error("Assertion for property 'monitorAddress' failed. \nGot: '".concat(this.monitorAddress, "."));
|
|
1088
1098
|
}
|
|
1089
1099
|
}
|
|
@@ -1105,18 +1115,18 @@ class LegacyAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_3__["default
|
|
|
1105
1115
|
var authCheckerContract = _this2.authCheckerContract;
|
|
1106
1116
|
var defaultOptions = {
|
|
1107
1117
|
target: authCheckerContract.address,
|
|
1108
|
-
abiItem: (0,
|
|
1118
|
+
abiItem: (0,_services_contractService__WEBPACK_IMPORTED_MODULE_1__.getAbiItem)(authCheckerContract.abi, 'canCall')
|
|
1109
1119
|
};
|
|
1110
1120
|
var multicallCalls = addresses.map(addr => _objectSpread(_objectSpread({}, defaultOptions), {}, {
|
|
1111
1121
|
params: [caller, addr, '0x1cff79cd']
|
|
1112
1122
|
}));
|
|
1113
|
-
return (yield (0,
|
|
1123
|
+
return (yield (0,_services_ethereumService__WEBPACK_IMPORTED_MODULE_2__.multicall)(_this2.web3, _this2.chainId, multicallCalls)).map(res => res[0]);
|
|
1114
1124
|
})();
|
|
1115
1125
|
}
|
|
1116
1126
|
|
|
1117
1127
|
// Aave and Compound use 'user' for property name
|
|
1118
1128
|
getOwnerPropName() {
|
|
1119
|
-
return this.protocol.id ===
|
|
1129
|
+
return this.protocol.id === _types_enums__WEBPACK_IMPORTED_MODULE_5__.ProtocolIdentifiers.LegacyAutomation.MakerDAO ? 'owner' : 'user';
|
|
1120
1130
|
}
|
|
1121
1131
|
_getSubscriptions(addresses, options) {
|
|
1122
1132
|
var _this3 = this;
|
|
@@ -1135,14 +1145,15 @@ class LegacyAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_3__["default
|
|
|
1135
1145
|
getParsedSubscriptions(addresses, options) {
|
|
1136
1146
|
var _this4 = this;
|
|
1137
1147
|
return _asyncToGenerator(function* () {
|
|
1148
|
+
// Legacy automation was disabled on block 18213086
|
|
1149
|
+
if (!(options !== null && options !== void 0 && options.fromBlock) || (options === null || options === void 0 ? void 0 : options.fromBlock) === 'latest' || (options === null || options === void 0 ? void 0 : options.fromBlock) === 'pending' || options !== null && options !== void 0 && options.fromBlock && new (decimal_js__WEBPACK_IMPORTED_MODULE_0___default())(options === null || options === void 0 ? void 0 : options.fromBlock.toString()).lt(18213086)) {
|
|
1150
|
+
return [];
|
|
1151
|
+
}
|
|
1138
1152
|
var subscriptions = yield _this4._getSubscriptions(addresses, options);
|
|
1139
|
-
|
|
1140
|
-
// @ts-ignore
|
|
1141
1153
|
return subscriptions.map(sub => ({
|
|
1142
1154
|
chainId: _this4.chainId,
|
|
1143
1155
|
owner: sub[_this4.getOwnerPropName()],
|
|
1144
|
-
isEnabled:
|
|
1145
|
-
// Legacy automation was disabled on block 18213086
|
|
1156
|
+
isEnabled: true,
|
|
1146
1157
|
protocol: _this4.protocol,
|
|
1147
1158
|
specific: _objectSpread({}, sub),
|
|
1148
1159
|
strategy: {
|
|
@@ -1377,11 +1388,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1377
1388
|
/* harmony export */ });
|
|
1378
1389
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1379
1390
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1380
|
-
/* harmony import */ var
|
|
1381
|
-
/* harmony import */ var
|
|
1382
|
-
/* harmony import */ var
|
|
1383
|
-
/* harmony import */ var
|
|
1384
|
-
/* harmony import */ var
|
|
1391
|
+
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
|
|
1392
|
+
/* harmony import */ var _services_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
|
|
1393
|
+
/* harmony import */ var _services_contractService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16);
|
|
1394
|
+
/* harmony import */ var _services_ethereumService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
|
|
1395
|
+
/* harmony import */ var _services_strategiesService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28);
|
|
1396
|
+
/* harmony import */ var _Automation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(23);
|
|
1385
1397
|
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; }
|
|
1386
1398
|
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; }
|
|
1387
1399
|
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); } }
|
|
@@ -1395,7 +1407,8 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
|
1395
1407
|
|
|
1396
1408
|
|
|
1397
1409
|
|
|
1398
|
-
|
|
1410
|
+
|
|
1411
|
+
class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_6__["default"] {
|
|
1399
1412
|
constructor(args) {
|
|
1400
1413
|
super();
|
|
1401
1414
|
_defineProperty(this, "chainId", void 0);
|
|
@@ -1406,14 +1419,14 @@ class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_5__["def
|
|
|
1406
1419
|
this.web3 = args.provider;
|
|
1407
1420
|
this.web3Fork = args.providerFork;
|
|
1408
1421
|
this.chainId = args.chainId;
|
|
1409
|
-
this.subStorageContract = (0,
|
|
1410
|
-
this.subStorageContractFork = this.web3Fork ? (0,
|
|
1422
|
+
this.subStorageContract = (0,_services_contractService__WEBPACK_IMPORTED_MODULE_3__.makeSubStorageContract)(this.web3, this.chainId);
|
|
1423
|
+
this.subStorageContractFork = this.web3Fork ? (0,_services_contractService__WEBPACK_IMPORTED_MODULE_3__.makeSubStorageContract)(this.web3Fork, this.chainId) : null;
|
|
1411
1424
|
this.assert();
|
|
1412
1425
|
}
|
|
1413
1426
|
getEventFromSubStorage(event, options) {
|
|
1414
1427
|
var _this = this;
|
|
1415
1428
|
return _asyncToGenerator(function* () {
|
|
1416
|
-
return (0,
|
|
1429
|
+
return (0,_services_ethereumService__WEBPACK_IMPORTED_MODULE_4__.getEventsFromContract)(_this.subStorageContract, _this.subStorageContractFork, event, options);
|
|
1417
1430
|
})();
|
|
1418
1431
|
}
|
|
1419
1432
|
getStrategiesSubs(subIds) {
|
|
@@ -1426,20 +1439,20 @@ class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_5__["def
|
|
|
1426
1439
|
if (_this2.web3Fork && _this2.subStorageContractFork) {
|
|
1427
1440
|
options = {
|
|
1428
1441
|
target: _this2.subStorageContractFork.address,
|
|
1429
|
-
abiItem: (0,
|
|
1442
|
+
abiItem: (0,_services_contractService__WEBPACK_IMPORTED_MODULE_3__.getAbiItem)(_this2.subStorageContractFork.abi, 'strategiesSubs')
|
|
1430
1443
|
};
|
|
1431
1444
|
web3 = _this2.web3Fork;
|
|
1432
1445
|
} else {
|
|
1433
1446
|
options = {
|
|
1434
1447
|
target: _this2.subStorageContract.address,
|
|
1435
|
-
abiItem: (0,
|
|
1448
|
+
abiItem: (0,_services_contractService__WEBPACK_IMPORTED_MODULE_3__.getAbiItem)(_this2.subStorageContract.abi, 'strategiesSubs')
|
|
1436
1449
|
};
|
|
1437
1450
|
web3 = _this2.web3;
|
|
1438
1451
|
}
|
|
1439
1452
|
var multicallCalls = subIds.map(subId => _objectSpread(_objectSpread({}, options), {}, {
|
|
1440
1453
|
params: [subId]
|
|
1441
1454
|
}));
|
|
1442
|
-
return (0,
|
|
1455
|
+
return (0,_services_ethereumService__WEBPACK_IMPORTED_MODULE_4__.multicall)(web3, _this2.chainId, multicallCalls, fromBlock);
|
|
1443
1456
|
})();
|
|
1444
1457
|
}
|
|
1445
1458
|
getSubscriptionEventsFromSubStorage(options) {
|
|
@@ -1457,12 +1470,32 @@ class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_5__["def
|
|
|
1457
1470
|
})();
|
|
1458
1471
|
}
|
|
1459
1472
|
getParsedSubscriptions(parseData) {
|
|
1460
|
-
return (0,
|
|
1473
|
+
return (0,_services_strategiesService__WEBPACK_IMPORTED_MODULE_5__.parseStrategiesAutomatedPosition)(parseData);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* @description Removes expired Limit Order subscriptions
|
|
1478
|
+
*/
|
|
1479
|
+
removeExpiredSubscriptions(subscriptions) {
|
|
1480
|
+
return subscriptions.filter(subscription => {
|
|
1481
|
+
if (!subscription) {
|
|
1482
|
+
return true;
|
|
1483
|
+
}
|
|
1484
|
+
var {
|
|
1485
|
+
protocol,
|
|
1486
|
+
strategy,
|
|
1487
|
+
strategyData
|
|
1488
|
+
} = subscription;
|
|
1489
|
+
if (protocol.id === _types_enums__WEBPACK_IMPORTED_MODULE_1__.ProtocolIdentifiers.StrategiesAutomation.Exchange && strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_1__.Strategies.Identifiers.LimitOrder) {
|
|
1490
|
+
return new (decimal_js__WEBPACK_IMPORTED_MODULE_0___default())(strategyData.decoded.triggerData.goodUntil).gt(new (decimal_js__WEBPACK_IMPORTED_MODULE_0___default())(Date.now()).div(1000));
|
|
1491
|
+
}
|
|
1492
|
+
return true;
|
|
1493
|
+
});
|
|
1461
1494
|
}
|
|
1462
1495
|
_getSubscriptions(addresses, options) {
|
|
1463
1496
|
var _this5 = this;
|
|
1464
1497
|
return _asyncToGenerator(function* () {
|
|
1465
|
-
var _options = _objectSpread(_objectSpread({}, (0,
|
|
1498
|
+
var _options = _objectSpread(_objectSpread({}, (0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.addToObjectIf)((0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.isDefined)(options), options)), (0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.addToObjectIf)((0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.isDefined)(addresses), {
|
|
1466
1499
|
filter: {
|
|
1467
1500
|
proxy: addresses
|
|
1468
1501
|
}
|
|
@@ -1471,14 +1504,21 @@ class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_5__["def
|
|
|
1471
1504
|
|
|
1472
1505
|
var subscriptions = [];
|
|
1473
1506
|
if (subscriptionEvents) {
|
|
1474
|
-
// @ts-ignore
|
|
1475
1507
|
var strategiesSubs = yield _this5.getStrategiesSubs(subscriptionEvents.map(e => e.returnValues.subId), _options.toBlock);
|
|
1508
|
+
if (_options.enabledOnly) {
|
|
1509
|
+
var filteredSubscriptionEvents = [];
|
|
1510
|
+
strategiesSubs = strategiesSubs.filter((sub, index) => {
|
|
1511
|
+
if (sub !== null && sub !== void 0 && sub.isEnabled) filteredSubscriptionEvents.push(subscriptionEvents[index]);
|
|
1512
|
+
return sub === null || sub === void 0 ? void 0 : sub.isEnabled;
|
|
1513
|
+
});
|
|
1514
|
+
subscriptionEvents = filteredSubscriptionEvents;
|
|
1515
|
+
}
|
|
1476
1516
|
subscriptions = yield Promise.all(strategiesSubs.map( /*#__PURE__*/function () {
|
|
1477
1517
|
var _ref = _asyncToGenerator(function* (sub, index) {
|
|
1478
1518
|
var latestUpdate = subscriptionEvents[index].returnValues;
|
|
1479
1519
|
if (latestUpdate.subHash !== (sub === null || sub === void 0 ? void 0 : sub.strategySubHash)) {
|
|
1480
1520
|
var _updates;
|
|
1481
|
-
var updates = yield _this5.getUpdateDataEventsFromSubStorage(_objectSpread(_objectSpread({}, (0,
|
|
1521
|
+
var updates = yield _this5.getUpdateDataEventsFromSubStorage(_objectSpread(_objectSpread({}, (0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.addToObjectIf)(!!_options, _options)), {}, {
|
|
1482
1522
|
filter: {
|
|
1483
1523
|
subId: latestUpdate.subId
|
|
1484
1524
|
}
|
|
@@ -1499,16 +1539,16 @@ class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_5__["def
|
|
|
1499
1539
|
if (options !== null && options !== void 0 && options.mergeWithSameId) {
|
|
1500
1540
|
subscriptions = subscriptions.reduce((list, current) => {
|
|
1501
1541
|
var copyList = [...list];
|
|
1502
|
-
if ((0,
|
|
1542
|
+
if ((0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.isDefined)(current)) {
|
|
1503
1543
|
if (current.specific.mergeWithSameId) {
|
|
1504
1544
|
var mergePairIndex = copyList.findIndex(s => s && s.specific.mergeWithSameId && s.owner === current.owner && s.strategy.strategyId === current.strategy.strategyId && s.protocol.id === current.protocol.id);
|
|
1505
1545
|
if (mergePairIndex !== -1) {
|
|
1506
1546
|
var mergePair = copyList[mergePairIndex];
|
|
1507
|
-
if ((0,
|
|
1547
|
+
if ((0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.isDefined)(mergePair)) {
|
|
1508
1548
|
copyList[mergePairIndex] = _objectSpread(_objectSpread(_objectSpread({}, mergePair), current), {}, {
|
|
1509
1549
|
// @ts-ignore
|
|
1510
1550
|
blockNumber: decimal_js__WEBPACK_IMPORTED_MODULE_0___default().max(mergePair.blockNumber, current.blockNumber).toNumber(),
|
|
1511
|
-
subIds: (0,
|
|
1551
|
+
subIds: (0,_services_utils__WEBPACK_IMPORTED_MODULE_2__.isDefined)(mergePair.subIds) ? [...mergePair.subIds, current.subId] : undefined,
|
|
1512
1552
|
isEnabled: mergePair.isEnabled || current.isEnabled,
|
|
1513
1553
|
subId: mergePair.subId,
|
|
1514
1554
|
specific: _objectSpread(_objectSpread(_objectSpread({}, mergePair.specific), current.specific), {}, {
|
|
@@ -1529,7 +1569,7 @@ class StrategiesAutomation extends _Automation__WEBPACK_IMPORTED_MODULE_5__["def
|
|
|
1529
1569
|
}, []);
|
|
1530
1570
|
}
|
|
1531
1571
|
}
|
|
1532
|
-
return subscriptions;
|
|
1572
|
+
return _options.unexpiredOnly ? _this5.removeExpiredSubscriptions(subscriptions) : subscriptions;
|
|
1533
1573
|
})();
|
|
1534
1574
|
}
|
|
1535
1575
|
getSubscriptions(options) {
|
|
@@ -1563,7 +1603,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1563
1603
|
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5);
|
|
1564
1604
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(17);
|
|
1565
1605
|
/* harmony import */ var _subDataService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(30);
|
|
1566
|
-
/* harmony import */ var _triggerService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
1606
|
+
/* harmony import */ var _triggerService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(317);
|
|
1567
1607
|
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; }
|
|
1568
1608
|
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; }
|
|
1569
1609
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -1576,6 +1616,14 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
|
1576
1616
|
|
|
1577
1617
|
|
|
1578
1618
|
|
|
1619
|
+
var SPARK_MARKET_ADDRESSES = {
|
|
1620
|
+
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.ChainId.Ethereum]: '0x02C3eA4e34C0cBd694D2adFa2c690EECbC1793eE'
|
|
1621
|
+
};
|
|
1622
|
+
var AAVE_V3_MARKET_ADDRESSES = {
|
|
1623
|
+
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.ChainId.Ethereum]: '0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e',
|
|
1624
|
+
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.ChainId.Optimism]: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb',
|
|
1625
|
+
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.ChainId.Arbitrum]: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'
|
|
1626
|
+
};
|
|
1579
1627
|
function parseMakerSavingsLiqProtection(position, parseData) {
|
|
1580
1628
|
var _position = (0,lodash__WEBPACK_IMPORTED_MODULE_1__.cloneDeep)(position);
|
|
1581
1629
|
var {
|
|
@@ -1585,6 +1633,7 @@ function parseMakerSavingsLiqProtection(position, parseData) {
|
|
|
1585
1633
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.makerRepayFromSavingsSubData.decode(subStruct.subData);
|
|
1586
1634
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1587
1635
|
_position.strategyData.decoded.subData = subData;
|
|
1636
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, subData.vaultId);
|
|
1588
1637
|
_position.specific = {
|
|
1589
1638
|
triggerRepayRatio: Number(triggerData.ratio),
|
|
1590
1639
|
targetRepayRatio: Number(subData.targetRatio),
|
|
@@ -1602,6 +1651,7 @@ function parseMakerCloseOnPrice(position, parseData) {
|
|
|
1602
1651
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.makerCloseSubData.decode(subStruct.subData);
|
|
1603
1652
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1604
1653
|
_position.strategyData.decoded.subData = subData;
|
|
1654
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, subData.vaultId);
|
|
1605
1655
|
var isTakeProfit = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.isRatioStateOver)(Number(triggerData.state));
|
|
1606
1656
|
_position.strategy.strategyId = isTakeProfit ? _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.IdOverrides.TakeProfit : _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.IdOverrides.StopLoss;
|
|
1607
1657
|
_position.specific = {
|
|
@@ -1619,6 +1669,7 @@ function parseMakerTrailingStop(position, parseData) {
|
|
|
1619
1669
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.makerCloseSubData.decode(subStruct.subData);
|
|
1620
1670
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1621
1671
|
_position.strategyData.decoded.subData = subData;
|
|
1672
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, subData.vaultId);
|
|
1622
1673
|
_position.strategy.strategyId = _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.IdOverrides.TrailingStop;
|
|
1623
1674
|
_position.specific = {
|
|
1624
1675
|
triggerPercentage: Number(triggerData.triggerPercentage),
|
|
@@ -1640,6 +1691,7 @@ function parseMakerLeverageManagement(position, parseData) {
|
|
|
1640
1691
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.makerLeverageManagementSubData.decode(subStruct.subData);
|
|
1641
1692
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1642
1693
|
_position.strategyData.decoded.subData = subData;
|
|
1694
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, subData.vaultId);
|
|
1643
1695
|
var isRepay = _position.strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay;
|
|
1644
1696
|
if (isRepay) {
|
|
1645
1697
|
_position.specific = {
|
|
@@ -1669,6 +1721,7 @@ function parseLiquityCloseOnPrice(position, parseData) {
|
|
|
1669
1721
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityCloseSubData.decode(subStruct.subData);
|
|
1670
1722
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1671
1723
|
_position.strategyData.decoded.subData = subData;
|
|
1724
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
1672
1725
|
var isTakeProfit = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.isRatioStateOver)(Number(triggerData.state));
|
|
1673
1726
|
_position.strategy.strategyId = isTakeProfit ? _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.IdOverrides.TakeProfit : _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.IdOverrides.StopLoss;
|
|
1674
1727
|
_position.specific = {
|
|
@@ -1686,6 +1739,7 @@ function parseLiquityTrailingStop(position, parseData) {
|
|
|
1686
1739
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityCloseSubData.decode(subStruct.subData);
|
|
1687
1740
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1688
1741
|
_position.strategyData.decoded.subData = subData;
|
|
1742
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
1689
1743
|
_position.strategy.strategyId = _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.IdOverrides.TrailingStop;
|
|
1690
1744
|
_position.specific = {
|
|
1691
1745
|
triggerPercentage: Number(triggerData.triggerPercentage),
|
|
@@ -1707,6 +1761,7 @@ function parseAaveV2LeverageManagement(position, parseData) {
|
|
|
1707
1761
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.aaveV2LeverageManagementSubData.decode(subStruct.subData);
|
|
1708
1762
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1709
1763
|
_position.strategyData.decoded.subData = subData;
|
|
1764
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, triggerData.market);
|
|
1710
1765
|
var isRepay = _position.strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay;
|
|
1711
1766
|
if (isRepay) {
|
|
1712
1767
|
_position.specific = {
|
|
@@ -1740,6 +1795,7 @@ function parseAaveV3LeverageManagement(position, parseData) {
|
|
|
1740
1795
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.aaveV3LeverageManagementSubData.decode(subStruct.subData);
|
|
1741
1796
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1742
1797
|
_position.strategyData.decoded.subData = subData;
|
|
1798
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, triggerData.market);
|
|
1743
1799
|
var isRepay = _position.strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay;
|
|
1744
1800
|
if (isRepay) {
|
|
1745
1801
|
_position.specific = {
|
|
@@ -1773,6 +1829,7 @@ function parseMorphoAaveV2LeverageManagement(position, parseData) {
|
|
|
1773
1829
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.morphoAaveV2LeverageManagementSubData.decode(subStruct.subData);
|
|
1774
1830
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1775
1831
|
_position.strategyData.decoded.subData = subData;
|
|
1832
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
1776
1833
|
var isRepay = _position.strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay;
|
|
1777
1834
|
if (isRepay) {
|
|
1778
1835
|
_position.specific = {
|
|
@@ -1802,6 +1859,7 @@ function parseAaveV3CloseOnPrice(position, parseData) {
|
|
|
1802
1859
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.aaveV3QuotePriceSubData.decode(subStruct.subData);
|
|
1803
1860
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1804
1861
|
_position.strategyData.decoded.subData = subData;
|
|
1862
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, AAVE_V3_MARKET_ADDRESSES[_position.chainId]);
|
|
1805
1863
|
_position.specific = {
|
|
1806
1864
|
collAsset: subData.collAsset,
|
|
1807
1865
|
collAssetId: subData.collAssetId,
|
|
@@ -1827,6 +1885,7 @@ function parseAaveV3CloseOnPriceWithMaximumGasPrice(position, parseData) {
|
|
|
1827
1885
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.aaveV3QuotePriceSubData.decode(subStruct.subData);
|
|
1828
1886
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1829
1887
|
_position.strategyData.decoded.subData = subData;
|
|
1888
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, AAVE_V3_MARKET_ADDRESSES[_position.chainId]);
|
|
1830
1889
|
_position.specific = {
|
|
1831
1890
|
collAsset: subData.collAsset,
|
|
1832
1891
|
collAssetId: subData.collAssetId,
|
|
@@ -1857,7 +1916,8 @@ function parseCompoundV2LeverageManagement(position, parseData) {
|
|
|
1857
1916
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.compoundV2LeverageManagementSubData.decode(subStruct.subData);
|
|
1858
1917
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1859
1918
|
_position.strategyData.decoded.subData = subData;
|
|
1860
|
-
_position.owner = triggerData.owner;
|
|
1919
|
+
_position.owner = triggerData.owner.toLowerCase();
|
|
1920
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
1861
1921
|
var isRepay = [_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay, _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.EoaRepay].includes(_position.strategy.strategyId);
|
|
1862
1922
|
if (isRepay) {
|
|
1863
1923
|
_position.specific = {
|
|
@@ -1891,7 +1951,8 @@ function parseCompoundV3LeverageManagement(position, parseData) {
|
|
|
1891
1951
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.compoundV3LeverageManagementSubData.decode(subStruct.subData);
|
|
1892
1952
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1893
1953
|
_position.strategyData.decoded.subData = subData;
|
|
1894
|
-
_position.owner = triggerData.owner;
|
|
1954
|
+
_position.owner = triggerData.owner.toLowerCase();
|
|
1955
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, triggerData.market);
|
|
1895
1956
|
var isRepay = [_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay, _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.EoaRepay].includes(_position.strategy.strategyId);
|
|
1896
1957
|
if (isRepay) {
|
|
1897
1958
|
_position.specific = {
|
|
@@ -1920,6 +1981,7 @@ function parseChickenBondsRebond(position, parseData) {
|
|
|
1920
1981
|
} = parseData.subscriptionEventData;
|
|
1921
1982
|
_position.strategyData.decoded.triggerData = _triggerService__WEBPACK_IMPORTED_MODULE_6__.cBondsRebondTrigger.decode(subStruct.triggerData);
|
|
1922
1983
|
_position.strategyData.decoded.subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.cBondsRebondSubData.decode(subStruct.subData);
|
|
1984
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.strategyData.decoded.triggerData.bondId);
|
|
1923
1985
|
return _position;
|
|
1924
1986
|
}
|
|
1925
1987
|
function parseLiquityBondProtection(position, parseData) {
|
|
@@ -1928,8 +1990,9 @@ function parseLiquityBondProtection(position, parseData) {
|
|
|
1928
1990
|
subStruct
|
|
1929
1991
|
} = parseData.subscriptionEventData;
|
|
1930
1992
|
var triggerData = _triggerService__WEBPACK_IMPORTED_MODULE_6__.liquityRatioTrigger.decode(subStruct.triggerData);
|
|
1931
|
-
_position.strategyData.decoded.subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityPaybackUsingChickenBondSubData.decode(subStruct.subData);
|
|
1932
1993
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1994
|
+
_position.strategyData.decoded.subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityPaybackUsingChickenBondSubData.decode(subStruct.subData);
|
|
1995
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
1933
1996
|
_position.specific = {
|
|
1934
1997
|
triggerRepayRatio: Number(triggerData.ratio),
|
|
1935
1998
|
targetRepayRatio: Infinity,
|
|
@@ -1945,6 +2008,7 @@ function parseExchangeDca(position, parseData, chainId) {
|
|
|
1945
2008
|
} = parseData.subscriptionEventData;
|
|
1946
2009
|
_position.strategyData.decoded.triggerData = _triggerService__WEBPACK_IMPORTED_MODULE_6__.exchangeTimestampTrigger.decode(subStruct.triggerData);
|
|
1947
2010
|
_position.strategyData.decoded.subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.exchangeDcaSubData.decode(subStruct.subData, chainId);
|
|
2011
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, Math.random());
|
|
1948
2012
|
return _position;
|
|
1949
2013
|
}
|
|
1950
2014
|
function parseExchangeLimitOrder(position, parseData, chainId) {
|
|
@@ -1956,6 +2020,7 @@ function parseExchangeLimitOrder(position, parseData, chainId) {
|
|
|
1956
2020
|
var fromTokenDecimals = (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfoByAddress)(_position.strategyData.decoded.subData.fromToken, chainId).decimals;
|
|
1957
2021
|
var toTokenDecimals = (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfoByAddress)(_position.strategyData.decoded.subData.toToken, chainId).decimals;
|
|
1958
2022
|
_position.strategyData.decoded.triggerData = _triggerService__WEBPACK_IMPORTED_MODULE_6__.exchangeOffchainPriceTrigger.decode(subStruct.triggerData, fromTokenDecimals, toTokenDecimals);
|
|
2023
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, Math.random());
|
|
1959
2024
|
return _position;
|
|
1960
2025
|
}
|
|
1961
2026
|
function parseLiquityLeverageManagement(position, parseData) {
|
|
@@ -1971,6 +2036,7 @@ function parseLiquityLeverageManagement(position, parseData) {
|
|
|
1971
2036
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityLeverageManagementSubData.decode(subStruct.subData);
|
|
1972
2037
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
1973
2038
|
_position.strategyData.decoded.subData = subData;
|
|
2039
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
1974
2040
|
var isRepay = _position.strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay;
|
|
1975
2041
|
if (isRepay) {
|
|
1976
2042
|
_position.specific = {
|
|
@@ -2004,6 +2070,7 @@ function parseSparkLeverageManagement(position, parseData) {
|
|
|
2004
2070
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.sparkLeverageManagementSubData.decode(subStruct.subData);
|
|
2005
2071
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
2006
2072
|
_position.strategyData.decoded.subData = subData;
|
|
2073
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, triggerData.market);
|
|
2007
2074
|
var isRepay = _position.strategy.strategyId === _types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay;
|
|
2008
2075
|
if (isRepay) {
|
|
2009
2076
|
_position.specific = {
|
|
@@ -2033,6 +2100,7 @@ function parseSparkCloseOnPrice(position, parseData) {
|
|
|
2033
2100
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.sparkQuotePriceSubData.decode(subStruct.subData);
|
|
2034
2101
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
2035
2102
|
_position.strategyData.decoded.subData = subData;
|
|
2103
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner, SPARK_MARKET_ADDRESSES[_position.chainId]);
|
|
2036
2104
|
_position.specific = {
|
|
2037
2105
|
collAsset: subData.collAsset,
|
|
2038
2106
|
collAssetId: subData.collAssetId,
|
|
@@ -2058,6 +2126,7 @@ function parseLiquitySavingsLiqProtection(position, parseData) {
|
|
|
2058
2126
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityRepayFromSavingsSubData.decode(subStruct.subData);
|
|
2059
2127
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
2060
2128
|
_position.strategyData.decoded.subData = subData;
|
|
2129
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
2061
2130
|
_position.specific = {
|
|
2062
2131
|
triggerRepayRatio: triggerData.ratio,
|
|
2063
2132
|
targetRepayRatio: subData.targetRatio,
|
|
@@ -2066,7 +2135,7 @@ function parseLiquitySavingsLiqProtection(position, parseData) {
|
|
|
2066
2135
|
};
|
|
2067
2136
|
return _position;
|
|
2068
2137
|
}
|
|
2069
|
-
function
|
|
2138
|
+
function parseLiquityDebtInFrontRepay(position, parseData) {
|
|
2070
2139
|
var _position = (0,lodash__WEBPACK_IMPORTED_MODULE_1__.cloneDeep)(position);
|
|
2071
2140
|
var {
|
|
2072
2141
|
subStruct
|
|
@@ -2075,6 +2144,7 @@ function parseDebtInFrontRepay(position, parseData) {
|
|
|
2075
2144
|
var subData = _subDataService__WEBPACK_IMPORTED_MODULE_5__.liquityDebtInFrontRepaySubData.decode(subStruct.subData);
|
|
2076
2145
|
_position.strategyData.decoded.triggerData = triggerData;
|
|
2077
2146
|
_position.strategyData.decoded.subData = subData;
|
|
2147
|
+
_position.positionId = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getPositionId)(_position.chainId, _position.protocol.id, _position.owner);
|
|
2078
2148
|
_position.specific = {
|
|
2079
2149
|
debtInFrontMin: triggerData.debtInFrontMin,
|
|
2080
2150
|
targetRepayRatioIncrease: subData.targetRatioIncrease
|
|
@@ -2099,7 +2169,7 @@ var parsingMethodsMapping = {
|
|
|
2099
2169
|
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Boost]: parseLiquityLeverageManagement,
|
|
2100
2170
|
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.SavingsDsrPayback]: parseLiquitySavingsLiqProtection,
|
|
2101
2171
|
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.SavingsDsrSupply]: parseLiquitySavingsLiqProtection,
|
|
2102
|
-
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.DebtInFrontRepay]:
|
|
2172
|
+
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.DebtInFrontRepay]: parseLiquityDebtInFrontRepay
|
|
2103
2173
|
},
|
|
2104
2174
|
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.ProtocolIdentifiers.StrategiesAutomation.AaveV2]: {
|
|
2105
2175
|
[_types_enums__WEBPACK_IMPORTED_MODULE_3__.Strategies.Identifiers.Repay]: parseAaveV2LeverageManagement,
|
|
@@ -2168,8 +2238,9 @@ function parseStrategiesAutomatedPosition(parseData) {
|
|
|
2168
2238
|
chainId,
|
|
2169
2239
|
subHash,
|
|
2170
2240
|
blockNumber,
|
|
2241
|
+
positionId: 'positionId parsing not implemented.',
|
|
2171
2242
|
subId: Number(subId),
|
|
2172
|
-
owner: proxy,
|
|
2243
|
+
owner: proxy.toLowerCase(),
|
|
2173
2244
|
protocol: _objectSpread({}, strategyOrBundleInfo.protocol),
|
|
2174
2245
|
strategy: _objectSpread({
|
|
2175
2246
|
isBundle: subStruct.isBundle
|
|
@@ -19832,8 +19903,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19832
19903
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56);
|
|
19833
19904
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(57);
|
|
19834
19905
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(62);
|
|
19835
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
19836
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
19906
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(296);
|
|
19907
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(312);
|
|
19837
19908
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(33);
|
|
19838
19909
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54);
|
|
19839
19910
|
/* Export methods, classes and other here */
|
|
@@ -20154,6 +20225,14 @@ const NETWORKS = {
|
|
|
20154
20225
|
rpcUrls: ['https://arb1.arbitrum.io/rpc'],
|
|
20155
20226
|
nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
|
|
20156
20227
|
},
|
|
20228
|
+
base: {
|
|
20229
|
+
chainId: 8453,
|
|
20230
|
+
chainName: 'Base',
|
|
20231
|
+
blockExplorerUrls: ['https://basescan.io/'],
|
|
20232
|
+
iconUrls: ['https://bridge.base.org/icons/base.svg'],
|
|
20233
|
+
rpcUrls: [],
|
|
20234
|
+
nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
|
|
20235
|
+
},
|
|
20157
20236
|
};
|
|
20158
20237
|
/**
|
|
20159
20238
|
*
|
|
@@ -20938,7 +21017,7 @@ class Recipe {
|
|
|
20938
21017
|
}
|
|
20939
21018
|
}
|
|
20940
21019
|
}
|
|
20941
|
-
return uniqueAssetOwnerPairs.filter(({
|
|
21020
|
+
return uniqueAssetOwnerPairs.filter(({ asset }) => !_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__.utils.compare(asset, (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__.getAssetInfo)('ETH').address));
|
|
20942
21021
|
});
|
|
20943
21022
|
}
|
|
20944
21023
|
/**
|
|
@@ -21047,6 +21126,7 @@ const actionAddresses = {
|
|
|
21047
21126
|
AaveCollateralSwitch: '0xFf5dfF1B90bd5Aa6E12768AB497dB90cc9DE6F5d',
|
|
21048
21127
|
AaveUnstake: '0x2FE4024e350cD2c64D2fd0Db5d16F5cE54Ca0E09',
|
|
21049
21128
|
AaveClaimAAVE: '0xd52855bD011F3D87565f9040DdE2A59fB1b27b15',
|
|
21129
|
+
AaveClaimStkAave: '0x5Dcd9Dc0185a6Ab07a31e5284D16Ce9f0A79Ce99',
|
|
21050
21130
|
// aave v3
|
|
21051
21131
|
AaveV3Withdraw: '0x9D4e4b26A5E2e6Dad30C5d95F5cE78A8310F04C2',
|
|
21052
21132
|
AaveV3SwapBorrowRateMode: '0x630F530Ac523C935cf2528E62D0A06F8900C5b1B',
|
|
@@ -21079,6 +21159,7 @@ const actionAddresses = {
|
|
|
21079
21159
|
SparkSupply: '0x9e1d7AAA55D83D36d55BF11cAe4d922aF52B6eF0',
|
|
21080
21160
|
SparkSwapBorrowRateMode: '0x71B0687C7ec0286dc3cfb715fe97249604aC898f',
|
|
21081
21161
|
SparkWithdraw: '0x1e3187D89e79B5c411D710E0fdF2709517852600',
|
|
21162
|
+
SparkDelegateCredit: '0x0000000000000000000000000000000000000000',
|
|
21082
21163
|
// compound
|
|
21083
21164
|
CompBorrow: '0x8495579BF6Ae848f7E59686536F834f1d2CCd79C',
|
|
21084
21165
|
CompClaim: '0x81F488cF7A0128A9DB5e7207042cCAB1CB0ac902',
|
|
@@ -21188,6 +21269,7 @@ const actionAddresses = {
|
|
|
21188
21269
|
CurveUsdCreate: '0x715B40970dac1cfAf0bB85C4Fe64921b44b3f73e',
|
|
21189
21270
|
CurveUsdPayback: '0xbcAd628159ab0f3d7F391dBb4c3553aFCD61CA80',
|
|
21190
21271
|
CurveUsdSupply: '0xa55B3CE5ae7E59002f53b2153ABe326823ccCDE2',
|
|
21272
|
+
CurveUsdAdjust: '0x6f69A7d0B1BE7602381d9cCE6B29F05B9D0b85e6',
|
|
21191
21273
|
CurveUsdWithdraw: '0x54B8D984fc79B000D7B6F6E0f52CD054E965120f',
|
|
21192
21274
|
CurveUsdLevCreate: '0x8B5ACd4ce0a43327aaDfc5c42be029898e242393',
|
|
21193
21275
|
CurveUsdRepay: '0xDaDFC60207C17be005ECf2B03f3B31885D22F908',
|
|
@@ -21202,6 +21284,7 @@ const actionAddresses = {
|
|
|
21202
21284
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
21203
21285
|
SendToken: '0xEbA499702856f1EFda2546e9fEFC1319A3b40538',
|
|
21204
21286
|
PullToken: '0x392579E020a688068422A925c85f28bFD12a7EBB',
|
|
21287
|
+
ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
|
|
21205
21288
|
SendTokenAndUnwrap: '0x8000174366066923D554cb466e190258A6FF3b1f',
|
|
21206
21289
|
ToggleSub: '0x988C5C24AE6348404196267e19962f36961CAc29',
|
|
21207
21290
|
TokenBalance: '0xC6FF5b01f7c7b35b6e093fF70D2332B361C5Be5A',
|
|
@@ -21216,6 +21299,7 @@ const actionAddresses = {
|
|
|
21216
21299
|
AaveV3SwapBorrowRateMode: '0xB8f0243b492f0e80feF5315Ba8692e7635481845',
|
|
21217
21300
|
AaveV3Withdraw: '0xf19d045f6cFc04A5Ee5E0e8837b565b9f276e3F7',
|
|
21218
21301
|
AaveV3ClaimRewards: '0xBE8e8cea67085F869C1C0040fD52F9F3115E962e',
|
|
21302
|
+
AaveV3DelegateCredit: '0x0000000000000000000000000000000000000000',
|
|
21219
21303
|
// flashloan
|
|
21220
21304
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
21221
21305
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
@@ -21265,6 +21349,38 @@ const actionAddresses = {
|
|
|
21265
21349
|
UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
|
|
21266
21350
|
UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
|
|
21267
21351
|
},
|
|
21352
|
+
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
21353
|
+
// Basic
|
|
21354
|
+
DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
|
|
21355
|
+
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
21356
|
+
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
21357
|
+
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
21358
|
+
PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
|
|
21359
|
+
TokenBalance: '0xc44bcE580B1b3339fE9272D3bC3d6566083ea59C',
|
|
21360
|
+
// Flashloan
|
|
21361
|
+
FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
21362
|
+
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
21363
|
+
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
21364
|
+
// AaveV3
|
|
21365
|
+
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
21366
|
+
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
21367
|
+
AaveV3Supply: '0x741FcFC1D708CEA0d845Fd04de51022b6d00e060',
|
|
21368
|
+
AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
|
|
21369
|
+
AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
|
|
21370
|
+
AaveV3CollateralSwitch: '0xFdfeA6469c537b19A334726E01621810bc49B929',
|
|
21371
|
+
AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
|
|
21372
|
+
AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
|
|
21373
|
+
AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
|
|
21374
|
+
AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
|
|
21375
|
+
// CompV3
|
|
21376
|
+
CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
|
|
21377
|
+
CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
|
|
21378
|
+
CompV3Claim: '0xD51F6C1c9bE837E5fd93e31214AeCaFde753E90e',
|
|
21379
|
+
CompV3Payback: '0x73c627b48cb7c2b319E496fc55535Db6eD2c3445',
|
|
21380
|
+
CompV3Supply: '0x94b63bf925C2Ab17F7df6914E110E969cC36A93e',
|
|
21381
|
+
CompV3Transfer: '0xdCAF9C6Bccc062Bc1b8704AA37005897FeA257a0',
|
|
21382
|
+
CompV3Withdraw: '0x8543133c3827D29b67D2b012101f463c870C1790',
|
|
21383
|
+
},
|
|
21268
21384
|
};
|
|
21269
21385
|
const otherAddresses = {
|
|
21270
21386
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
|
|
@@ -21306,6 +21422,15 @@ const otherAddresses = {
|
|
|
21306
21422
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
21307
21423
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
21308
21424
|
},
|
|
21425
|
+
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
21426
|
+
RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
|
|
21427
|
+
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
21428
|
+
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
21429
|
+
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|
|
21430
|
+
AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
|
|
21431
|
+
DefisaverLogger: '0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A',
|
|
21432
|
+
Empty: '0x0000000000000000000000000000000000000000',
|
|
21433
|
+
},
|
|
21309
21434
|
};
|
|
21310
21435
|
/**
|
|
21311
21436
|
*
|
|
@@ -21595,29 +21720,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21595
21720
|
/* harmony import */ var _aave__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78);
|
|
21596
21721
|
/* harmony import */ var _compound__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88);
|
|
21597
21722
|
/* harmony import */ var _basic__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96);
|
|
21598
|
-
/* harmony import */ var _flashloan__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
21599
|
-
/* harmony import */ var _uniswap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
21600
|
-
/* harmony import */ var _reflexer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
21601
|
-
/* harmony import */ var _dydx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
21602
|
-
/* harmony import */ var _uniswapV3__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
21603
|
-
/* harmony import */ var _checkers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
21604
|
-
/* harmony import */ var _liquity__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
21605
|
-
/* harmony import */ var _yearn__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
21606
|
-
/* harmony import */ var _lido__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
21607
|
-
/* harmony import */ var _insta__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
21608
|
-
/* harmony import */ var _balancer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
21609
|
-
/* harmony import */ var _curve__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
21610
|
-
/* harmony import */ var _guni__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
21611
|
-
/* harmony import */ var _mstable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
21612
|
-
/* harmony import */ var _rari__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
21613
|
-
/* harmony import */ var _aaveV3__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
21614
|
-
/* harmony import */ var _convex__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
21615
|
-
/* harmony import */ var _chickenBonds__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
21616
|
-
/* harmony import */ var _compoundV3__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
21617
|
-
/* harmony import */ var _morpho__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
|
|
21618
|
-
/* harmony import */ var _bprotocol__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
|
21619
|
-
/* harmony import */ var _curveusd__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
|
|
21620
|
-
/* harmony import */ var _spark__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
|
|
21723
|
+
/* harmony import */ var _flashloan__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(123);
|
|
21724
|
+
/* harmony import */ var _uniswap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(145);
|
|
21725
|
+
/* harmony import */ var _reflexer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(151);
|
|
21726
|
+
/* harmony import */ var _dydx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(160);
|
|
21727
|
+
/* harmony import */ var _uniswapV3__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(162);
|
|
21728
|
+
/* harmony import */ var _checkers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(168);
|
|
21729
|
+
/* harmony import */ var _liquity__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(174);
|
|
21730
|
+
/* harmony import */ var _yearn__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(191);
|
|
21731
|
+
/* harmony import */ var _lido__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(194);
|
|
21732
|
+
/* harmony import */ var _insta__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(198);
|
|
21733
|
+
/* harmony import */ var _balancer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(200);
|
|
21734
|
+
/* harmony import */ var _curve__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(204);
|
|
21735
|
+
/* harmony import */ var _guni__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(216);
|
|
21736
|
+
/* harmony import */ var _mstable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(219);
|
|
21737
|
+
/* harmony import */ var _rari__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(224);
|
|
21738
|
+
/* harmony import */ var _aaveV3__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(227);
|
|
21739
|
+
/* harmony import */ var _convex__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(238);
|
|
21740
|
+
/* harmony import */ var _chickenBonds__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(244);
|
|
21741
|
+
/* harmony import */ var _compoundV3__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(252);
|
|
21742
|
+
/* harmony import */ var _morpho__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(260);
|
|
21743
|
+
/* harmony import */ var _bprotocol__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(270);
|
|
21744
|
+
/* harmony import */ var _curveusd__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(273);
|
|
21745
|
+
/* harmony import */ var _spark__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(285);
|
|
21621
21746
|
|
|
21622
21747
|
|
|
21623
21748
|
|
|
@@ -22139,9 +22264,9 @@ class MakerBoostCompositeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
22139
22264
|
this.args[0],
|
|
22140
22265
|
this.args[1],
|
|
22141
22266
|
this.args[4],
|
|
22142
|
-
this.args[
|
|
22143
|
-
this.args[
|
|
22144
|
-
this.args[
|
|
22267
|
+
this.args[7][0],
|
|
22268
|
+
this.args[7][1],
|
|
22269
|
+
this.args[7][2],
|
|
22145
22270
|
];
|
|
22146
22271
|
}
|
|
22147
22272
|
}
|
|
@@ -22200,9 +22325,9 @@ class MakerRepayCompositeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
22200
22325
|
this.args[0],
|
|
22201
22326
|
this.args[1],
|
|
22202
22327
|
this.args[4],
|
|
22203
|
-
this.args[
|
|
22204
|
-
this.args[
|
|
22205
|
-
this.args[
|
|
22328
|
+
this.args[7][0],
|
|
22329
|
+
this.args[7][1],
|
|
22330
|
+
this.args[7][2],
|
|
22206
22331
|
];
|
|
22207
22332
|
}
|
|
22208
22333
|
}
|
|
@@ -22983,6 +23108,7 @@ class CompoundGetDebtAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
22983
23108
|
"use strict";
|
|
22984
23109
|
__webpack_require__.r(__webpack_exports__);
|
|
22985
23110
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23111
|
+
/* harmony export */ ApproveTokenAction: () => (/* reexport safe */ _ApproveTokenAction__WEBPACK_IMPORTED_MODULE_24__.ApproveTokenAction),
|
|
22986
23112
|
/* harmony export */ AutomationV2Unsub: () => (/* reexport safe */ _AutomationV2Unsub__WEBPACK_IMPORTED_MODULE_10__.AutomationV2Unsub),
|
|
22987
23113
|
/* harmony export */ ChangeProxyOwnerAction: () => (/* reexport safe */ _ChangeProxyOwnerAction__WEBPACK_IMPORTED_MODULE_8__.ChangeProxyOwnerAction),
|
|
22988
23114
|
/* harmony export */ CreateSubAction: () => (/* reexport safe */ _CreateSubAction__WEBPACK_IMPORTED_MODULE_17__.CreateSubAction),
|
|
@@ -23032,6 +23158,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23032
23158
|
/* harmony import */ var _TokenizedVaultAdapterMintAction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(119);
|
|
23033
23159
|
/* harmony import */ var _TokenizedVaultAdapterRedeemAction__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(120);
|
|
23034
23160
|
/* harmony import */ var _TokenizedVaultAdapterWithdrawAction__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(121);
|
|
23161
|
+
/* harmony import */ var _ApproveTokenAction__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(122);
|
|
23162
|
+
|
|
23035
23163
|
|
|
23036
23164
|
|
|
23037
23165
|
|
|
@@ -24059,6 +24187,57 @@ class TokenizedVaultAdapterWithdrawAction extends _Action__WEBPACK_IMPORTED_MODU
|
|
|
24059
24187
|
/* 122 */
|
|
24060
24188
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24061
24189
|
|
|
24190
|
+
"use strict";
|
|
24191
|
+
__webpack_require__.r(__webpack_exports__);
|
|
24192
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24193
|
+
/* harmony export */ ApproveTokenAction: () => (/* binding */ ApproveTokenAction)
|
|
24194
|
+
/* harmony export */ });
|
|
24195
|
+
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(66);
|
|
24196
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32);
|
|
24197
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
|
24198
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
24199
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
24200
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24201
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
24202
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
24203
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
24204
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24205
|
+
});
|
|
24206
|
+
};
|
|
24207
|
+
|
|
24208
|
+
|
|
24209
|
+
|
|
24210
|
+
/**
|
|
24211
|
+
* Approve a spender to pull tokens from DSProxy
|
|
24212
|
+
*
|
|
24213
|
+
* @category BasicActions
|
|
24214
|
+
*/
|
|
24215
|
+
class ApproveTokenAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
24216
|
+
/**
|
|
24217
|
+
* @param token Token address
|
|
24218
|
+
* @param spender Address getting allowance to pull tokens from proxy
|
|
24219
|
+
* @param amount Allowance amount
|
|
24220
|
+
*/
|
|
24221
|
+
constructor(token, spender, amount) {
|
|
24222
|
+
(0,_utils_general__WEBPACK_IMPORTED_MODULE_0__.requireAddress)(spender);
|
|
24223
|
+
super('ApproveToken', (0,_addresses__WEBPACK_IMPORTED_MODULE_2__.getAddr)('ApproveToken'), [
|
|
24224
|
+
'address',
|
|
24225
|
+
'address',
|
|
24226
|
+
'uint',
|
|
24227
|
+
], [token, spender, amount]);
|
|
24228
|
+
}
|
|
24229
|
+
getAssetsToApprove() {
|
|
24230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24231
|
+
return [];
|
|
24232
|
+
});
|
|
24233
|
+
}
|
|
24234
|
+
}
|
|
24235
|
+
|
|
24236
|
+
|
|
24237
|
+
/***/ }),
|
|
24238
|
+
/* 123 */
|
|
24239
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24240
|
+
|
|
24062
24241
|
"use strict";
|
|
24063
24242
|
__webpack_require__.r(__webpack_exports__);
|
|
24064
24243
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -24084,27 +24263,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24084
24263
|
/* harmony export */ UniV3FlashLoanAction: () => (/* reexport safe */ _UniV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_17__.UniV3FlashLoanAction),
|
|
24085
24264
|
/* harmony export */ UniV3FlashLoanPaybackAction: () => (/* reexport safe */ _UniV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_18__.UniV3FlashLoanPaybackAction)
|
|
24086
24265
|
/* harmony export */ });
|
|
24087
|
-
/* harmony import */ var _DyDxFlashLoanAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
24088
|
-
/* harmony import */ var _DyDxFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
24089
|
-
/* harmony import */ var _AaveV2FlashLoanAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
24090
|
-
/* harmony import */ var _AaveV2FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
24091
|
-
/* harmony import */ var _AaveV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
24092
|
-
/* harmony import */ var _AaveV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
24093
|
-
/* harmony import */ var _AaveV3FlashLoanNoFeeAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
24094
|
-
/* harmony import */ var _AaveV3FlashLoanNoFeePaybackAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
24095
|
-
/* harmony import */ var _SparkFlashLoanAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
24096
|
-
/* harmony import */ var _SparkFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
24097
|
-
/* harmony import */ var _MakerFlashLoanAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
24098
|
-
/* harmony import */ var _MakerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
24099
|
-
/* harmony import */ var _BalancerFlashLoanAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
24100
|
-
/* harmony import */ var _BalancerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
24101
|
-
/* harmony import */ var _EulerFlashLoanAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
24102
|
-
/* harmony import */ var _EulerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
24103
|
-
/* harmony import */ var _FLAction__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
24104
|
-
/* harmony import */ var _UniV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
24105
|
-
/* harmony import */ var _UniV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
24106
|
-
/* harmony import */ var _GhoFlashLoanAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
24107
|
-
/* harmony import */ var _GhoFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
24266
|
+
/* harmony import */ var _DyDxFlashLoanAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(124);
|
|
24267
|
+
/* harmony import */ var _DyDxFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(125);
|
|
24268
|
+
/* harmony import */ var _AaveV2FlashLoanAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(126);
|
|
24269
|
+
/* harmony import */ var _AaveV2FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(127);
|
|
24270
|
+
/* harmony import */ var _AaveV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(128);
|
|
24271
|
+
/* harmony import */ var _AaveV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(129);
|
|
24272
|
+
/* harmony import */ var _AaveV3FlashLoanNoFeeAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(130);
|
|
24273
|
+
/* harmony import */ var _AaveV3FlashLoanNoFeePaybackAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(131);
|
|
24274
|
+
/* harmony import */ var _SparkFlashLoanAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(132);
|
|
24275
|
+
/* harmony import */ var _SparkFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(133);
|
|
24276
|
+
/* harmony import */ var _MakerFlashLoanAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(134);
|
|
24277
|
+
/* harmony import */ var _MakerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(135);
|
|
24278
|
+
/* harmony import */ var _BalancerFlashLoanAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(136);
|
|
24279
|
+
/* harmony import */ var _BalancerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(137);
|
|
24280
|
+
/* harmony import */ var _EulerFlashLoanAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(138);
|
|
24281
|
+
/* harmony import */ var _EulerFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(139);
|
|
24282
|
+
/* harmony import */ var _FLAction__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(140);
|
|
24283
|
+
/* harmony import */ var _UniV3FlashLoanAction__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(141);
|
|
24284
|
+
/* harmony import */ var _UniV3FlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(142);
|
|
24285
|
+
/* harmony import */ var _GhoFlashLoanAction__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(143);
|
|
24286
|
+
/* harmony import */ var _GhoFlashLoanPaybackAction__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(144);
|
|
24108
24287
|
|
|
24109
24288
|
|
|
24110
24289
|
|
|
@@ -24129,7 +24308,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24129
24308
|
|
|
24130
24309
|
|
|
24131
24310
|
/***/ }),
|
|
24132
|
-
/*
|
|
24311
|
+
/* 124 */
|
|
24133
24312
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24134
24313
|
|
|
24135
24314
|
"use strict";
|
|
@@ -24160,7 +24339,7 @@ class DyDxFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
24160
24339
|
|
|
24161
24340
|
|
|
24162
24341
|
/***/ }),
|
|
24163
|
-
/*
|
|
24342
|
+
/* 125 */
|
|
24164
24343
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24165
24344
|
|
|
24166
24345
|
"use strict";
|
|
@@ -24189,7 +24368,7 @@ class DyDxFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Sen
|
|
|
24189
24368
|
|
|
24190
24369
|
|
|
24191
24370
|
/***/ }),
|
|
24192
|
-
/*
|
|
24371
|
+
/* 126 */
|
|
24193
24372
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24194
24373
|
|
|
24195
24374
|
"use strict";
|
|
@@ -24222,7 +24401,7 @@ class AaveV2FlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
24222
24401
|
|
|
24223
24402
|
|
|
24224
24403
|
/***/ }),
|
|
24225
|
-
/*
|
|
24404
|
+
/* 127 */
|
|
24226
24405
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24227
24406
|
|
|
24228
24407
|
"use strict";
|
|
@@ -24251,7 +24430,7 @@ class AaveV2FlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.S
|
|
|
24251
24430
|
|
|
24252
24431
|
|
|
24253
24432
|
/***/ }),
|
|
24254
|
-
/*
|
|
24433
|
+
/* 128 */
|
|
24255
24434
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24256
24435
|
|
|
24257
24436
|
"use strict";
|
|
@@ -24284,7 +24463,7 @@ class AaveV3FlashLoanAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
24284
24463
|
|
|
24285
24464
|
|
|
24286
24465
|
/***/ }),
|
|
24287
|
-
/*
|
|
24466
|
+
/* 129 */
|
|
24288
24467
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24289
24468
|
|
|
24290
24469
|
"use strict";
|
|
@@ -24313,7 +24492,7 @@ class AaveV3FlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.S
|
|
|
24313
24492
|
|
|
24314
24493
|
|
|
24315
24494
|
/***/ }),
|
|
24316
|
-
/*
|
|
24495
|
+
/* 130 */
|
|
24317
24496
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24318
24497
|
|
|
24319
24498
|
"use strict";
|
|
@@ -24346,7 +24525,7 @@ class AaveV3FlashLoanNoFeeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_
|
|
|
24346
24525
|
|
|
24347
24526
|
|
|
24348
24527
|
/***/ }),
|
|
24349
|
-
/*
|
|
24528
|
+
/* 131 */
|
|
24350
24529
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24351
24530
|
|
|
24352
24531
|
"use strict";
|
|
@@ -24375,7 +24554,7 @@ class AaveV3FlashLoanNoFeePaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_
|
|
|
24375
24554
|
|
|
24376
24555
|
|
|
24377
24556
|
/***/ }),
|
|
24378
|
-
/*
|
|
24557
|
+
/* 132 */
|
|
24379
24558
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24380
24559
|
|
|
24381
24560
|
"use strict";
|
|
@@ -24408,7 +24587,7 @@ class SparkFlashLoanAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
24408
24587
|
|
|
24409
24588
|
|
|
24410
24589
|
/***/ }),
|
|
24411
|
-
/*
|
|
24590
|
+
/* 133 */
|
|
24412
24591
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24413
24592
|
|
|
24414
24593
|
"use strict";
|
|
@@ -24437,7 +24616,7 @@ class SparkFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
24437
24616
|
|
|
24438
24617
|
|
|
24439
24618
|
/***/ }),
|
|
24440
|
-
/*
|
|
24619
|
+
/* 134 */
|
|
24441
24620
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24442
24621
|
|
|
24443
24622
|
"use strict";
|
|
@@ -24467,7 +24646,7 @@ class MakerFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
24467
24646
|
|
|
24468
24647
|
|
|
24469
24648
|
/***/ }),
|
|
24470
|
-
/*
|
|
24649
|
+
/* 135 */
|
|
24471
24650
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24472
24651
|
|
|
24473
24652
|
"use strict";
|
|
@@ -24495,7 +24674,7 @@ class MakerFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
24495
24674
|
|
|
24496
24675
|
|
|
24497
24676
|
/***/ }),
|
|
24498
|
-
/*
|
|
24677
|
+
/* 136 */
|
|
24499
24678
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24500
24679
|
|
|
24501
24680
|
"use strict";
|
|
@@ -24526,7 +24705,7 @@ class BalancerFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
24526
24705
|
|
|
24527
24706
|
|
|
24528
24707
|
/***/ }),
|
|
24529
|
-
/*
|
|
24708
|
+
/* 137 */
|
|
24530
24709
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24531
24710
|
|
|
24532
24711
|
"use strict";
|
|
@@ -24555,7 +24734,7 @@ class BalancerFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__
|
|
|
24555
24734
|
|
|
24556
24735
|
|
|
24557
24736
|
/***/ }),
|
|
24558
|
-
/*
|
|
24737
|
+
/* 138 */
|
|
24559
24738
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24560
24739
|
|
|
24561
24740
|
"use strict";
|
|
@@ -24586,7 +24765,7 @@ class EulerFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
24586
24765
|
|
|
24587
24766
|
|
|
24588
24767
|
/***/ }),
|
|
24589
|
-
/*
|
|
24768
|
+
/* 139 */
|
|
24590
24769
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24591
24770
|
|
|
24592
24771
|
"use strict";
|
|
@@ -24615,7 +24794,7 @@ class EulerFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
24615
24794
|
|
|
24616
24795
|
|
|
24617
24796
|
/***/ }),
|
|
24618
|
-
/*
|
|
24797
|
+
/* 140 */
|
|
24619
24798
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24620
24799
|
|
|
24621
24800
|
"use strict";
|
|
@@ -24682,7 +24861,7 @@ _FLAction_instances = new WeakSet(), _FLAction_handleArgs = function _FLAction_h
|
|
|
24682
24861
|
|
|
24683
24862
|
|
|
24684
24863
|
/***/ }),
|
|
24685
|
-
/*
|
|
24864
|
+
/* 141 */
|
|
24686
24865
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24687
24866
|
|
|
24688
24867
|
"use strict";
|
|
@@ -24716,7 +24895,7 @@ class UniV3FlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
24716
24895
|
|
|
24717
24896
|
|
|
24718
24897
|
/***/ }),
|
|
24719
|
-
/*
|
|
24898
|
+
/* 142 */
|
|
24720
24899
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24721
24900
|
|
|
24722
24901
|
"use strict";
|
|
@@ -24747,7 +24926,7 @@ class UniV3FlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Se
|
|
|
24747
24926
|
|
|
24748
24927
|
|
|
24749
24928
|
/***/ }),
|
|
24750
|
-
/*
|
|
24929
|
+
/* 143 */
|
|
24751
24930
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24752
24931
|
|
|
24753
24932
|
"use strict";
|
|
@@ -24777,7 +24956,7 @@ class GhoFlashLoanAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
24777
24956
|
|
|
24778
24957
|
|
|
24779
24958
|
/***/ }),
|
|
24780
|
-
/*
|
|
24959
|
+
/* 144 */
|
|
24781
24960
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24782
24961
|
|
|
24783
24962
|
"use strict";
|
|
@@ -24805,7 +24984,7 @@ class GhoFlashLoanPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.Send
|
|
|
24805
24984
|
|
|
24806
24985
|
|
|
24807
24986
|
/***/ }),
|
|
24808
|
-
/*
|
|
24987
|
+
/* 145 */
|
|
24809
24988
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24810
24989
|
|
|
24811
24990
|
"use strict";
|
|
@@ -24814,14 +24993,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24814
24993
|
/* harmony export */ UniswapSupplyAction: () => (/* reexport safe */ _UniswapSupplyAction__WEBPACK_IMPORTED_MODULE_0__.UniswapSupplyAction),
|
|
24815
24994
|
/* harmony export */ UniswapWithdrawAction: () => (/* reexport safe */ _UniswapWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.UniswapWithdrawAction)
|
|
24816
24995
|
/* harmony export */ });
|
|
24817
|
-
/* harmony import */ var _UniswapSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
24818
|
-
/* harmony import */ var _UniswapWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
24996
|
+
/* harmony import */ var _UniswapSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(146);
|
|
24997
|
+
/* harmony import */ var _UniswapWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(147);
|
|
24819
24998
|
|
|
24820
24999
|
|
|
24821
25000
|
|
|
24822
25001
|
|
|
24823
25002
|
/***/ }),
|
|
24824
|
-
/*
|
|
25003
|
+
/* 146 */
|
|
24825
25004
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24826
25005
|
|
|
24827
25006
|
"use strict";
|
|
@@ -24902,7 +25081,7 @@ class UniswapSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
24902
25081
|
|
|
24903
25082
|
|
|
24904
25083
|
/***/ }),
|
|
24905
|
-
/*
|
|
25084
|
+
/* 147 */
|
|
24906
25085
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24907
25086
|
|
|
24908
25087
|
"use strict";
|
|
@@ -24911,7 +25090,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24911
25090
|
/* harmony export */ UniswapWithdrawAction: () => (/* binding */ UniswapWithdrawAction)
|
|
24912
25091
|
/* harmony export */ });
|
|
24913
25092
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
24914
|
-
/* harmony import */ var _utils_uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
25093
|
+
/* harmony import */ var _utils_uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(148);
|
|
24915
25094
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
|
24916
25095
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66);
|
|
24917
25096
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
@@ -24973,7 +25152,7 @@ class UniswapWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
24973
25152
|
|
|
24974
25153
|
|
|
24975
25154
|
/***/ }),
|
|
24976
|
-
/*
|
|
25155
|
+
/* 148 */
|
|
24977
25156
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24978
25157
|
|
|
24979
25158
|
"use strict";
|
|
@@ -24982,9 +25161,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24982
25161
|
/* harmony export */ getPoolAddressByAddresses: () => (/* binding */ getPoolAddressByAddresses),
|
|
24983
25162
|
/* harmony export */ getPoolAddressBySymbols: () => (/* binding */ getPoolAddressBySymbols)
|
|
24984
25163
|
/* harmony export */ });
|
|
24985
|
-
/* harmony import */ var _ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
25164
|
+
/* harmony import */ var _ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(149);
|
|
24986
25165
|
/* harmony import */ var _ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ethersproject_solidity__WEBPACK_IMPORTED_MODULE_0__);
|
|
24987
|
-
/* harmony import */ var _ethersproject_address__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
25166
|
+
/* harmony import */ var _ethersproject_address__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(150);
|
|
24988
25167
|
/* harmony import */ var _ethersproject_address__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_ethersproject_address__WEBPACK_IMPORTED_MODULE_1__);
|
|
24989
25168
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20);
|
|
24990
25169
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -25023,21 +25202,21 @@ const getPoolAddressBySymbols = (symbolA, symbolB) => getPoolAddressByAddresses(
|
|
|
25023
25202
|
|
|
25024
25203
|
|
|
25025
25204
|
/***/ }),
|
|
25026
|
-
/*
|
|
25205
|
+
/* 149 */
|
|
25027
25206
|
/***/ ((module) => {
|
|
25028
25207
|
|
|
25029
25208
|
"use strict";
|
|
25030
|
-
module.exports =
|
|
25209
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__149__;
|
|
25031
25210
|
|
|
25032
25211
|
/***/ }),
|
|
25033
|
-
/*
|
|
25212
|
+
/* 150 */
|
|
25034
25213
|
/***/ ((module) => {
|
|
25035
25214
|
|
|
25036
25215
|
"use strict";
|
|
25037
|
-
module.exports =
|
|
25216
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__150__;
|
|
25038
25217
|
|
|
25039
25218
|
/***/ }),
|
|
25040
|
-
/*
|
|
25219
|
+
/* 151 */
|
|
25041
25220
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25042
25221
|
|
|
25043
25222
|
"use strict";
|
|
@@ -25052,14 +25231,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25052
25231
|
/* harmony export */ ReflexerSupplyAction: () => (/* reexport safe */ _ReflexerSupplyAction__WEBPACK_IMPORTED_MODULE_2__.ReflexerSupplyAction),
|
|
25053
25232
|
/* harmony export */ ReflexerWithdrawAction: () => (/* reexport safe */ _ReflexerWithdrawAction__WEBPACK_IMPORTED_MODULE_4__.ReflexerWithdrawAction)
|
|
25054
25233
|
/* harmony export */ });
|
|
25055
|
-
/* harmony import */ var _ReflexerOpenSafeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
25056
|
-
/* harmony import */ var _ReflexerGenerateAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
25057
|
-
/* harmony import */ var _ReflexerSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
25058
|
-
/* harmony import */ var _ReflexerPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
25059
|
-
/* harmony import */ var _ReflexerWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
25060
|
-
/* harmony import */ var _ReflexerNativeUniV2SaviourDepositAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
25061
|
-
/* harmony import */ var _ReflexerNativeUniV2SaviourWithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
25062
|
-
/* harmony import */ var _ReflexerNativeUniV2SaviourGetReservesAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
25234
|
+
/* harmony import */ var _ReflexerOpenSafeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(152);
|
|
25235
|
+
/* harmony import */ var _ReflexerGenerateAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(153);
|
|
25236
|
+
/* harmony import */ var _ReflexerSupplyAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(154);
|
|
25237
|
+
/* harmony import */ var _ReflexerPaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(155);
|
|
25238
|
+
/* harmony import */ var _ReflexerWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(156);
|
|
25239
|
+
/* harmony import */ var _ReflexerNativeUniV2SaviourDepositAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(157);
|
|
25240
|
+
/* harmony import */ var _ReflexerNativeUniV2SaviourWithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(158);
|
|
25241
|
+
/* harmony import */ var _ReflexerNativeUniV2SaviourGetReservesAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(159);
|
|
25063
25242
|
|
|
25064
25243
|
|
|
25065
25244
|
|
|
@@ -25071,7 +25250,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25071
25250
|
|
|
25072
25251
|
|
|
25073
25252
|
/***/ }),
|
|
25074
|
-
/*
|
|
25253
|
+
/* 152 */
|
|
25075
25254
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25076
25255
|
|
|
25077
25256
|
"use strict";
|
|
@@ -25099,7 +25278,7 @@ class ReflexerOpenSafeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
25099
25278
|
|
|
25100
25279
|
|
|
25101
25280
|
/***/ }),
|
|
25102
|
-
/*
|
|
25281
|
+
/* 153 */
|
|
25103
25282
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25104
25283
|
|
|
25105
25284
|
"use strict";
|
|
@@ -25132,7 +25311,7 @@ class ReflexerGenerateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
25132
25311
|
|
|
25133
25312
|
|
|
25134
25313
|
/***/ }),
|
|
25135
|
-
/*
|
|
25314
|
+
/* 154 */
|
|
25136
25315
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25137
25316
|
|
|
25138
25317
|
"use strict";
|
|
@@ -25191,7 +25370,7 @@ class ReflexerSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
25191
25370
|
|
|
25192
25371
|
|
|
25193
25372
|
/***/ }),
|
|
25194
|
-
/*
|
|
25373
|
+
/* 155 */
|
|
25195
25374
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25196
25375
|
|
|
25197
25376
|
"use strict";
|
|
@@ -25238,7 +25417,7 @@ class ReflexerPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
25238
25417
|
|
|
25239
25418
|
|
|
25240
25419
|
/***/ }),
|
|
25241
|
-
/*
|
|
25420
|
+
/* 156 */
|
|
25242
25421
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25243
25422
|
|
|
25244
25423
|
"use strict";
|
|
@@ -25272,7 +25451,7 @@ class ReflexerWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
25272
25451
|
|
|
25273
25452
|
|
|
25274
25453
|
/***/ }),
|
|
25275
|
-
/*
|
|
25454
|
+
/* 157 */
|
|
25276
25455
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25277
25456
|
|
|
25278
25457
|
"use strict";
|
|
@@ -25322,7 +25501,7 @@ class ReflexerNativeUniV2SaviourDepositAction extends _Action__WEBPACK_IMPORTED_
|
|
|
25322
25501
|
|
|
25323
25502
|
|
|
25324
25503
|
/***/ }),
|
|
25325
|
-
/*
|
|
25504
|
+
/* 158 */
|
|
25326
25505
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25327
25506
|
|
|
25328
25507
|
"use strict";
|
|
@@ -25359,7 +25538,7 @@ class ReflexerNativeUniV2SaviourWithdrawAction extends _Action__WEBPACK_IMPORTED
|
|
|
25359
25538
|
|
|
25360
25539
|
|
|
25361
25540
|
/***/ }),
|
|
25362
|
-
/*
|
|
25541
|
+
/* 159 */
|
|
25363
25542
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25364
25543
|
|
|
25365
25544
|
"use strict";
|
|
@@ -25394,7 +25573,7 @@ class ReflexerNativeUniV2SaviourGetReservesAction extends _Action__WEBPACK_IMPOR
|
|
|
25394
25573
|
|
|
25395
25574
|
|
|
25396
25575
|
/***/ }),
|
|
25397
|
-
/*
|
|
25576
|
+
/* 160 */
|
|
25398
25577
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25399
25578
|
|
|
25400
25579
|
"use strict";
|
|
@@ -25402,12 +25581,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25402
25581
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25403
25582
|
/* harmony export */ DyDxWithdrawAction: () => (/* reexport safe */ _DyDxWithdrawAction__WEBPACK_IMPORTED_MODULE_0__.DyDxWithdrawAction)
|
|
25404
25583
|
/* harmony export */ });
|
|
25405
|
-
/* harmony import */ var _DyDxWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
25584
|
+
/* harmony import */ var _DyDxWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(161);
|
|
25406
25585
|
|
|
25407
25586
|
|
|
25408
25587
|
|
|
25409
25588
|
/***/ }),
|
|
25410
|
-
/*
|
|
25589
|
+
/* 161 */
|
|
25411
25590
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25412
25591
|
|
|
25413
25592
|
"use strict";
|
|
@@ -25440,7 +25619,7 @@ class DyDxWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
25440
25619
|
|
|
25441
25620
|
|
|
25442
25621
|
/***/ }),
|
|
25443
|
-
/*
|
|
25622
|
+
/* 162 */
|
|
25444
25623
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25445
25624
|
|
|
25446
25625
|
"use strict";
|
|
@@ -25452,11 +25631,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25452
25631
|
/* harmony export */ UniswapV3SupplyAction: () => (/* reexport safe */ _UniswapV3SupplyAction__WEBPACK_IMPORTED_MODULE_1__.UniswapV3SupplyAction),
|
|
25453
25632
|
/* harmony export */ UniswapV3WithdrawAction: () => (/* reexport safe */ _UniswapV3WithdrawAction__WEBPACK_IMPORTED_MODULE_2__.UniswapV3WithdrawAction)
|
|
25454
25633
|
/* harmony export */ });
|
|
25455
|
-
/* harmony import */ var _UniswapV3MintAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
25456
|
-
/* harmony import */ var _UniswapV3SupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
25457
|
-
/* harmony import */ var _UniswapV3WithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
25458
|
-
/* harmony import */ var _UniswapV3CollectAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
25459
|
-
/* harmony import */ var _UniswapV3CreatePoolAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
25634
|
+
/* harmony import */ var _UniswapV3MintAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(163);
|
|
25635
|
+
/* harmony import */ var _UniswapV3SupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(164);
|
|
25636
|
+
/* harmony import */ var _UniswapV3WithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(165);
|
|
25637
|
+
/* harmony import */ var _UniswapV3CollectAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(166);
|
|
25638
|
+
/* harmony import */ var _UniswapV3CreatePoolAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(167);
|
|
25460
25639
|
|
|
25461
25640
|
|
|
25462
25641
|
|
|
@@ -25465,7 +25644,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25465
25644
|
|
|
25466
25645
|
|
|
25467
25646
|
/***/ }),
|
|
25468
|
-
/*
|
|
25647
|
+
/* 163 */
|
|
25469
25648
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25470
25649
|
|
|
25471
25650
|
"use strict";
|
|
@@ -25548,7 +25727,7 @@ class UniswapV3MintAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
25548
25727
|
|
|
25549
25728
|
|
|
25550
25729
|
/***/ }),
|
|
25551
|
-
/*
|
|
25730
|
+
/* 164 */
|
|
25552
25731
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25553
25732
|
|
|
25554
25733
|
"use strict";
|
|
@@ -25623,7 +25802,7 @@ class UniswapV3SupplyAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.A
|
|
|
25623
25802
|
|
|
25624
25803
|
|
|
25625
25804
|
/***/ }),
|
|
25626
|
-
/*
|
|
25805
|
+
/* 165 */
|
|
25627
25806
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25628
25807
|
|
|
25629
25808
|
"use strict";
|
|
@@ -25695,7 +25874,7 @@ class UniswapV3WithdrawAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__
|
|
|
25695
25874
|
|
|
25696
25875
|
|
|
25697
25876
|
/***/ }),
|
|
25698
|
-
/*
|
|
25877
|
+
/* 166 */
|
|
25699
25878
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25700
25879
|
|
|
25701
25880
|
"use strict";
|
|
@@ -25755,7 +25934,7 @@ class UniswapV3CollectAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
25755
25934
|
|
|
25756
25935
|
|
|
25757
25936
|
/***/ }),
|
|
25758
|
-
/*
|
|
25937
|
+
/* 167 */
|
|
25759
25938
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25760
25939
|
|
|
25761
25940
|
"use strict";
|
|
@@ -25840,7 +26019,7 @@ class UniswapV3CreatePoolAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1
|
|
|
25840
26019
|
|
|
25841
26020
|
|
|
25842
26021
|
/***/ }),
|
|
25843
|
-
/*
|
|
26022
|
+
/* 168 */
|
|
25844
26023
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25845
26024
|
|
|
25846
26025
|
"use strict";
|
|
@@ -25852,11 +26031,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25852
26031
|
/* harmony export */ MakerRatioCheckAction: () => (/* reexport safe */ _MakerRatioCheckAction__WEBPACK_IMPORTED_MODULE_0__.MakerRatioCheckAction),
|
|
25853
26032
|
/* harmony export */ SparkRatioCheckAction: () => (/* reexport safe */ _SparkRatioCheckAction__WEBPACK_IMPORTED_MODULE_4__.SparkRatioCheckAction)
|
|
25854
26033
|
/* harmony export */ });
|
|
25855
|
-
/* harmony import */ var _MakerRatioCheckAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
25856
|
-
/* harmony import */ var _AaveV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
25857
|
-
/* harmony import */ var _CompoundV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
25858
|
-
/* harmony import */ var _LiquityRatioCheckAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
25859
|
-
/* harmony import */ var _SparkRatioCheckAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
26034
|
+
/* harmony import */ var _MakerRatioCheckAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(169);
|
|
26035
|
+
/* harmony import */ var _AaveV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(170);
|
|
26036
|
+
/* harmony import */ var _CompoundV3RatioCheckAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(171);
|
|
26037
|
+
/* harmony import */ var _LiquityRatioCheckAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(172);
|
|
26038
|
+
/* harmony import */ var _SparkRatioCheckAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(173);
|
|
25860
26039
|
|
|
25861
26040
|
|
|
25862
26041
|
|
|
@@ -25865,7 +26044,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25865
26044
|
|
|
25866
26045
|
|
|
25867
26046
|
/***/ }),
|
|
25868
|
-
/*
|
|
26047
|
+
/* 169 */
|
|
25869
26048
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25870
26049
|
|
|
25871
26050
|
"use strict";
|
|
@@ -25903,7 +26082,7 @@ class MakerRatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
25903
26082
|
|
|
25904
26083
|
|
|
25905
26084
|
/***/ }),
|
|
25906
|
-
/*
|
|
26085
|
+
/* 170 */
|
|
25907
26086
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25908
26087
|
|
|
25909
26088
|
"use strict";
|
|
@@ -25936,7 +26115,7 @@ class AaveV3RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
25936
26115
|
|
|
25937
26116
|
|
|
25938
26117
|
/***/ }),
|
|
25939
|
-
/*
|
|
26118
|
+
/* 171 */
|
|
25940
26119
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25941
26120
|
|
|
25942
26121
|
"use strict";
|
|
@@ -25973,7 +26152,7 @@ class CompoundV3RatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
25973
26152
|
|
|
25974
26153
|
|
|
25975
26154
|
/***/ }),
|
|
25976
|
-
/*
|
|
26155
|
+
/* 172 */
|
|
25977
26156
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25978
26157
|
|
|
25979
26158
|
"use strict";
|
|
@@ -26006,7 +26185,7 @@ class LiquityRatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
26006
26185
|
|
|
26007
26186
|
|
|
26008
26187
|
/***/ }),
|
|
26009
|
-
/*
|
|
26188
|
+
/* 173 */
|
|
26010
26189
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26011
26190
|
|
|
26012
26191
|
"use strict";
|
|
@@ -26039,7 +26218,7 @@ class SparkRatioCheckAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
26039
26218
|
|
|
26040
26219
|
|
|
26041
26220
|
/***/ }),
|
|
26042
|
-
/*
|
|
26221
|
+
/* 174 */
|
|
26043
26222
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26044
26223
|
|
|
26045
26224
|
"use strict";
|
|
@@ -26062,22 +26241,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26062
26241
|
/* harmony export */ LiquityUnstakeAction: () => (/* reexport safe */ _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_11__.LiquityUnstakeAction),
|
|
26063
26242
|
/* harmony export */ LiquityWithdrawAction: () => (/* reexport safe */ _LiquityWithdrawAction__WEBPACK_IMPORTED_MODULE_4__.LiquityWithdrawAction)
|
|
26064
26243
|
/* harmony export */ });
|
|
26065
|
-
/* harmony import */ var _LiquityOpenAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
26066
|
-
/* harmony import */ var _LiquityBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
26067
|
-
/* harmony import */ var _LiquityPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
26068
|
-
/* harmony import */ var _LiquitySupplyAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
26069
|
-
/* harmony import */ var _LiquityWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
26070
|
-
/* harmony import */ var _LiquityCloseAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
26071
|
-
/* harmony import */ var _LiquityClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
26072
|
-
/* harmony import */ var _LiquityRedeemAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
26073
|
-
/* harmony import */ var _LiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
26074
|
-
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
26075
|
-
/* harmony import */ var _LiquityStakeAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
26076
|
-
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
26077
|
-
/* harmony import */ var _LiquityEthGainToTroveAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
26078
|
-
/* harmony import */ var _LiquityClaimSPRewardsAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
26079
|
-
/* harmony import */ var _LiquityClaimStakingRewardsAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
26080
|
-
/* harmony import */ var _LiquityAdjustAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
26244
|
+
/* harmony import */ var _LiquityOpenAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(175);
|
|
26245
|
+
/* harmony import */ var _LiquityBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(176);
|
|
26246
|
+
/* harmony import */ var _LiquityPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(177);
|
|
26247
|
+
/* harmony import */ var _LiquitySupplyAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(178);
|
|
26248
|
+
/* harmony import */ var _LiquityWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(179);
|
|
26249
|
+
/* harmony import */ var _LiquityCloseAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(180);
|
|
26250
|
+
/* harmony import */ var _LiquityClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(181);
|
|
26251
|
+
/* harmony import */ var _LiquityRedeemAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(182);
|
|
26252
|
+
/* harmony import */ var _LiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(183);
|
|
26253
|
+
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(184);
|
|
26254
|
+
/* harmony import */ var _LiquityStakeAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(185);
|
|
26255
|
+
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(186);
|
|
26256
|
+
/* harmony import */ var _LiquityEthGainToTroveAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(187);
|
|
26257
|
+
/* harmony import */ var _LiquityClaimSPRewardsAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(188);
|
|
26258
|
+
/* harmony import */ var _LiquityClaimStakingRewardsAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(189);
|
|
26259
|
+
/* harmony import */ var _LiquityAdjustAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(190);
|
|
26081
26260
|
|
|
26082
26261
|
|
|
26083
26262
|
|
|
@@ -26097,7 +26276,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26097
26276
|
|
|
26098
26277
|
|
|
26099
26278
|
/***/ }),
|
|
26100
|
-
/*
|
|
26279
|
+
/* 175 */
|
|
26101
26280
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26102
26281
|
|
|
26103
26282
|
"use strict";
|
|
@@ -26159,7 +26338,7 @@ class LiquityOpenAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26159
26338
|
|
|
26160
26339
|
|
|
26161
26340
|
/***/ }),
|
|
26162
|
-
/*
|
|
26341
|
+
/* 176 */
|
|
26163
26342
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26164
26343
|
|
|
26165
26344
|
"use strict";
|
|
@@ -26199,7 +26378,7 @@ class LiquityBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
26199
26378
|
|
|
26200
26379
|
|
|
26201
26380
|
/***/ }),
|
|
26202
|
-
/*
|
|
26381
|
+
/* 177 */
|
|
26203
26382
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26204
26383
|
|
|
26205
26384
|
"use strict";
|
|
@@ -26254,7 +26433,7 @@ class LiquityPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26254
26433
|
|
|
26255
26434
|
|
|
26256
26435
|
/***/ }),
|
|
26257
|
-
/*
|
|
26436
|
+
/* 178 */
|
|
26258
26437
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26259
26438
|
|
|
26260
26439
|
"use strict";
|
|
@@ -26309,7 +26488,7 @@ class LiquitySupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26309
26488
|
|
|
26310
26489
|
|
|
26311
26490
|
/***/ }),
|
|
26312
|
-
/*
|
|
26491
|
+
/* 179 */
|
|
26313
26492
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26314
26493
|
|
|
26315
26494
|
"use strict";
|
|
@@ -26347,7 +26526,7 @@ class LiquityWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
26347
26526
|
|
|
26348
26527
|
|
|
26349
26528
|
/***/ }),
|
|
26350
|
-
/*
|
|
26529
|
+
/* 180 */
|
|
26351
26530
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26352
26531
|
|
|
26353
26532
|
"use strict";
|
|
@@ -26401,7 +26580,7 @@ class LiquityCloseAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26401
26580
|
|
|
26402
26581
|
|
|
26403
26582
|
/***/ }),
|
|
26404
|
-
/*
|
|
26583
|
+
/* 181 */
|
|
26405
26584
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26406
26585
|
|
|
26407
26586
|
"use strict";
|
|
@@ -26435,7 +26614,7 @@ class LiquityClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
26435
26614
|
|
|
26436
26615
|
|
|
26437
26616
|
/***/ }),
|
|
26438
|
-
/*
|
|
26617
|
+
/* 182 */
|
|
26439
26618
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26440
26619
|
|
|
26441
26620
|
"use strict";
|
|
@@ -26498,7 +26677,7 @@ class LiquityRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26498
26677
|
|
|
26499
26678
|
|
|
26500
26679
|
/***/ }),
|
|
26501
|
-
/*
|
|
26680
|
+
/* 183 */
|
|
26502
26681
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26503
26682
|
|
|
26504
26683
|
"use strict";
|
|
@@ -26557,7 +26736,7 @@ class LiquitySPDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
26557
26736
|
|
|
26558
26737
|
|
|
26559
26738
|
/***/ }),
|
|
26560
|
-
/*
|
|
26739
|
+
/* 184 */
|
|
26561
26740
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26562
26741
|
|
|
26563
26742
|
"use strict";
|
|
@@ -26599,7 +26778,7 @@ class LiquitySPWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
26599
26778
|
|
|
26600
26779
|
|
|
26601
26780
|
/***/ }),
|
|
26602
|
-
/*
|
|
26781
|
+
/* 185 */
|
|
26603
26782
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26604
26783
|
|
|
26605
26784
|
"use strict";
|
|
@@ -26658,7 +26837,7 @@ class LiquityStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26658
26837
|
|
|
26659
26838
|
|
|
26660
26839
|
/***/ }),
|
|
26661
|
-
/*
|
|
26840
|
+
/* 186 */
|
|
26662
26841
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26663
26842
|
|
|
26664
26843
|
"use strict";
|
|
@@ -26700,7 +26879,7 @@ class LiquityUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
26700
26879
|
|
|
26701
26880
|
|
|
26702
26881
|
/***/ }),
|
|
26703
|
-
/*
|
|
26882
|
+
/* 187 */
|
|
26704
26883
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26705
26884
|
|
|
26706
26885
|
"use strict";
|
|
@@ -26736,7 +26915,7 @@ class LiquityEthGainToTroveAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
26736
26915
|
|
|
26737
26916
|
|
|
26738
26917
|
/***/ }),
|
|
26739
|
-
/*
|
|
26918
|
+
/* 188 */
|
|
26740
26919
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26741
26920
|
|
|
26742
26921
|
"use strict";
|
|
@@ -26744,7 +26923,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26744
26923
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26745
26924
|
/* harmony export */ LiquityClaimSPRewardsAction: () => (/* binding */ LiquityClaimSPRewardsAction)
|
|
26746
26925
|
/* harmony export */ });
|
|
26747
|
-
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
26926
|
+
/* harmony import */ var _LiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(184);
|
|
26748
26927
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
26749
26928
|
|
|
26750
26929
|
|
|
@@ -26767,7 +26946,7 @@ class LiquityClaimSPRewardsAction extends _LiquitySPWithdrawAction__WEBPACK_IMPO
|
|
|
26767
26946
|
|
|
26768
26947
|
|
|
26769
26948
|
/***/ }),
|
|
26770
|
-
/*
|
|
26949
|
+
/* 189 */
|
|
26771
26950
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26772
26951
|
|
|
26773
26952
|
"use strict";
|
|
@@ -26775,7 +26954,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26775
26954
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26776
26955
|
/* harmony export */ LiquityClaimStakingRewardsAction: () => (/* binding */ LiquityClaimStakingRewardsAction)
|
|
26777
26956
|
/* harmony export */ });
|
|
26778
|
-
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
26957
|
+
/* harmony import */ var _LiquityUnstakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(186);
|
|
26779
26958
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
26780
26959
|
|
|
26781
26960
|
|
|
@@ -26798,7 +26977,7 @@ class LiquityClaimStakingRewardsAction extends _LiquityUnstakeAction__WEBPACK_IM
|
|
|
26798
26977
|
|
|
26799
26978
|
|
|
26800
26979
|
/***/ }),
|
|
26801
|
-
/*
|
|
26980
|
+
/* 190 */
|
|
26802
26981
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26803
26982
|
|
|
26804
26983
|
"use strict";
|
|
@@ -26846,7 +27025,7 @@ class LiquityAdjustAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
26846
27025
|
|
|
26847
27026
|
|
|
26848
27027
|
/***/ }),
|
|
26849
|
-
/*
|
|
27028
|
+
/* 191 */
|
|
26850
27029
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26851
27030
|
|
|
26852
27031
|
"use strict";
|
|
@@ -26855,14 +27034,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26855
27034
|
/* harmony export */ YearnSupplyAction: () => (/* reexport safe */ _YearnSupplyAction__WEBPACK_IMPORTED_MODULE_0__.YearnSupplyAction),
|
|
26856
27035
|
/* harmony export */ YearnWithdrawAction: () => (/* reexport safe */ _YearnWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.YearnWithdrawAction)
|
|
26857
27036
|
/* harmony export */ });
|
|
26858
|
-
/* harmony import */ var _YearnSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
26859
|
-
/* harmony import */ var _YearnWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
27037
|
+
/* harmony import */ var _YearnSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(192);
|
|
27038
|
+
/* harmony import */ var _YearnWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(193);
|
|
26860
27039
|
|
|
26861
27040
|
|
|
26862
27041
|
|
|
26863
27042
|
|
|
26864
27043
|
/***/ }),
|
|
26865
|
-
/*
|
|
27044
|
+
/* 192 */
|
|
26866
27045
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26867
27046
|
|
|
26868
27047
|
"use strict";
|
|
@@ -26921,7 +27100,7 @@ class YearnSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26921
27100
|
|
|
26922
27101
|
|
|
26923
27102
|
/***/ }),
|
|
26924
|
-
/*
|
|
27103
|
+
/* 193 */
|
|
26925
27104
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26926
27105
|
|
|
26927
27106
|
"use strict";
|
|
@@ -26980,7 +27159,7 @@ class YearnWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
26980
27159
|
|
|
26981
27160
|
|
|
26982
27161
|
/***/ }),
|
|
26983
|
-
/*
|
|
27162
|
+
/* 194 */
|
|
26984
27163
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26985
27164
|
|
|
26986
27165
|
"use strict";
|
|
@@ -26990,16 +27169,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26990
27169
|
/* harmony export */ LidoUnwrapAction: () => (/* reexport safe */ _LidoUnwrapAction__WEBPACK_IMPORTED_MODULE_2__.LidoUnwrapAction),
|
|
26991
27170
|
/* harmony export */ LidoWrapAction: () => (/* reexport safe */ _LidoWrapAction__WEBPACK_IMPORTED_MODULE_1__.LidoWrapAction)
|
|
26992
27171
|
/* harmony export */ });
|
|
26993
|
-
/* harmony import */ var _LidoStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
26994
|
-
/* harmony import */ var _LidoWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
26995
|
-
/* harmony import */ var _LidoUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
27172
|
+
/* harmony import */ var _LidoStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(195);
|
|
27173
|
+
/* harmony import */ var _LidoWrapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(196);
|
|
27174
|
+
/* harmony import */ var _LidoUnwrapAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(197);
|
|
26996
27175
|
|
|
26997
27176
|
|
|
26998
27177
|
|
|
26999
27178
|
|
|
27000
27179
|
|
|
27001
27180
|
/***/ }),
|
|
27002
|
-
/*
|
|
27181
|
+
/* 195 */
|
|
27003
27182
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27004
27183
|
|
|
27005
27184
|
"use strict";
|
|
@@ -27049,7 +27228,7 @@ class LidoStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
27049
27228
|
|
|
27050
27229
|
|
|
27051
27230
|
/***/ }),
|
|
27052
|
-
/*
|
|
27231
|
+
/* 196 */
|
|
27053
27232
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27054
27233
|
|
|
27055
27234
|
"use strict";
|
|
@@ -27108,7 +27287,7 @@ class LidoWrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
27108
27287
|
|
|
27109
27288
|
|
|
27110
27289
|
/***/ }),
|
|
27111
|
-
/*
|
|
27290
|
+
/* 197 */
|
|
27112
27291
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27113
27292
|
|
|
27114
27293
|
"use strict";
|
|
@@ -27155,7 +27334,7 @@ class LidoUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
27155
27334
|
|
|
27156
27335
|
|
|
27157
27336
|
/***/ }),
|
|
27158
|
-
/*
|
|
27337
|
+
/* 198 */
|
|
27159
27338
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27160
27339
|
|
|
27161
27340
|
"use strict";
|
|
@@ -27163,12 +27342,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27163
27342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27164
27343
|
/* harmony export */ InstPullTokensAction: () => (/* reexport safe */ _InstPullTokensAction__WEBPACK_IMPORTED_MODULE_0__.InstPullTokensAction)
|
|
27165
27344
|
/* harmony export */ });
|
|
27166
|
-
/* harmony import */ var _InstPullTokensAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
27345
|
+
/* harmony import */ var _InstPullTokensAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(199);
|
|
27167
27346
|
|
|
27168
27347
|
|
|
27169
27348
|
|
|
27170
27349
|
/***/ }),
|
|
27171
|
-
/*
|
|
27350
|
+
/* 199 */
|
|
27172
27351
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27173
27352
|
|
|
27174
27353
|
"use strict";
|
|
@@ -27218,7 +27397,7 @@ class InstPullTokensAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
27218
27397
|
|
|
27219
27398
|
|
|
27220
27399
|
/***/ }),
|
|
27221
|
-
/*
|
|
27400
|
+
/* 200 */
|
|
27222
27401
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27223
27402
|
|
|
27224
27403
|
"use strict";
|
|
@@ -27228,16 +27407,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27228
27407
|
/* harmony export */ BalancerV2SupplyAction: () => (/* reexport safe */ _BalancerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__.BalancerV2SupplyAction),
|
|
27229
27408
|
/* harmony export */ BalancerV2WithdrawAction: () => (/* reexport safe */ _BalancerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__.BalancerV2WithdrawAction)
|
|
27230
27409
|
/* harmony export */ });
|
|
27231
|
-
/* harmony import */ var _BalancerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
27232
|
-
/* harmony import */ var _BalancerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
27233
|
-
/* harmony import */ var _BalancerV2ClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
27410
|
+
/* harmony import */ var _BalancerV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(201);
|
|
27411
|
+
/* harmony import */ var _BalancerV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(202);
|
|
27412
|
+
/* harmony import */ var _BalancerV2ClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(203);
|
|
27234
27413
|
|
|
27235
27414
|
|
|
27236
27415
|
|
|
27237
27416
|
|
|
27238
27417
|
|
|
27239
27418
|
/***/ }),
|
|
27240
|
-
/*
|
|
27419
|
+
/* 201 */
|
|
27241
27420
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27242
27421
|
|
|
27243
27422
|
"use strict";
|
|
@@ -27303,7 +27482,7 @@ class BalancerV2SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
27303
27482
|
|
|
27304
27483
|
|
|
27305
27484
|
/***/ }),
|
|
27306
|
-
/*
|
|
27485
|
+
/* 202 */
|
|
27307
27486
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27308
27487
|
|
|
27309
27488
|
"use strict";
|
|
@@ -27373,7 +27552,7 @@ class BalancerV2WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
27373
27552
|
|
|
27374
27553
|
|
|
27375
27554
|
/***/ }),
|
|
27376
|
-
/*
|
|
27555
|
+
/* 203 */
|
|
27377
27556
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27378
27557
|
|
|
27379
27558
|
"use strict";
|
|
@@ -27436,7 +27615,7 @@ class BalancerV2ClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
27436
27615
|
|
|
27437
27616
|
|
|
27438
27617
|
/***/ }),
|
|
27439
|
-
/*
|
|
27618
|
+
/* 204 */
|
|
27440
27619
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27441
27620
|
|
|
27442
27621
|
"use strict";
|
|
@@ -27452,15 +27631,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27452
27631
|
/* harmony export */ CurveSwapAction: () => (/* reexport safe */ _CurveSwapAction__WEBPACK_IMPORTED_MODULE_0__.CurveSwapAction),
|
|
27453
27632
|
/* harmony export */ CurveWithdrawAction: () => (/* reexport safe */ _CurveWithdrawAction__WEBPACK_IMPORTED_MODULE_2__.CurveWithdrawAction)
|
|
27454
27633
|
/* harmony export */ });
|
|
27455
|
-
/* harmony import */ var _CurveSwapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
27456
|
-
/* harmony import */ var _CurveDepositAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
27457
|
-
/* harmony import */ var _CurveWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
27458
|
-
/* harmony import */ var _CurveGaugeDepositAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
27459
|
-
/* harmony import */ var _CurveGaugeWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
27460
|
-
/* harmony import */ var _CurveMintCrvAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
27461
|
-
/* harmony import */ var _CurveClaimFeesAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
27462
|
-
/* harmony import */ var _CurveStethPoolDepositAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
27463
|
-
/* harmony import */ var _CurveStethPoolWithdrawAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
27634
|
+
/* harmony import */ var _CurveSwapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
|
27635
|
+
/* harmony import */ var _CurveDepositAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(206);
|
|
27636
|
+
/* harmony import */ var _CurveWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(209);
|
|
27637
|
+
/* harmony import */ var _CurveGaugeDepositAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(210);
|
|
27638
|
+
/* harmony import */ var _CurveGaugeWithdrawAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(211);
|
|
27639
|
+
/* harmony import */ var _CurveMintCrvAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(212);
|
|
27640
|
+
/* harmony import */ var _CurveClaimFeesAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(213);
|
|
27641
|
+
/* harmony import */ var _CurveStethPoolDepositAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(214);
|
|
27642
|
+
/* harmony import */ var _CurveStethPoolWithdrawAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(215);
|
|
27464
27643
|
|
|
27465
27644
|
|
|
27466
27645
|
|
|
@@ -27473,7 +27652,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27473
27652
|
|
|
27474
27653
|
|
|
27475
27654
|
/***/ }),
|
|
27476
|
-
/*
|
|
27655
|
+
/* 205 */
|
|
27477
27656
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27478
27657
|
|
|
27479
27658
|
"use strict";
|
|
@@ -27530,7 +27709,7 @@ class CurveSwapAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
27530
27709
|
|
|
27531
27710
|
|
|
27532
27711
|
/***/ }),
|
|
27533
|
-
/*
|
|
27712
|
+
/* 206 */
|
|
27534
27713
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27535
27714
|
|
|
27536
27715
|
"use strict";
|
|
@@ -27543,7 +27722,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27543
27722
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32);
|
|
27544
27723
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(66);
|
|
27545
27724
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54);
|
|
27546
|
-
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
27725
|
+
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(207);
|
|
27547
27726
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27548
27727
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27549
27728
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -27625,7 +27804,7 @@ class CurveDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
27625
27804
|
|
|
27626
27805
|
|
|
27627
27806
|
/***/ }),
|
|
27628
|
-
/*
|
|
27807
|
+
/* 207 */
|
|
27629
27808
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27630
27809
|
|
|
27631
27810
|
"use strict";
|
|
@@ -27634,7 +27813,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27634
27813
|
/* harmony export */ makeFlags: () => (/* binding */ makeFlags),
|
|
27635
27814
|
/* harmony export */ poolInfo: () => (/* reexport default export from named module */ _curvePoolInfo_json__WEBPACK_IMPORTED_MODULE_0__)
|
|
27636
27815
|
/* harmony export */ });
|
|
27637
|
-
/* harmony import */ var _curvePoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
27816
|
+
/* harmony import */ var _curvePoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(208);
|
|
27638
27817
|
|
|
27639
27818
|
|
|
27640
27819
|
/**
|
|
@@ -27645,14 +27824,14 @@ const makeFlags = (depositTargetType, explicitUnderlying, withdrawExact, removeO
|
|
|
27645
27824
|
|
|
27646
27825
|
|
|
27647
27826
|
/***/ }),
|
|
27648
|
-
/*
|
|
27827
|
+
/* 208 */
|
|
27649
27828
|
/***/ ((module) => {
|
|
27650
27829
|
|
|
27651
27830
|
"use strict";
|
|
27652
27831
|
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]}]');
|
|
27653
27832
|
|
|
27654
27833
|
/***/ }),
|
|
27655
|
-
/*
|
|
27834
|
+
/* 209 */
|
|
27656
27835
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27657
27836
|
|
|
27658
27837
|
"use strict";
|
|
@@ -27663,7 +27842,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27663
27842
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
27664
27843
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
27665
27844
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
|
27666
|
-
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
27845
|
+
/* harmony import */ var _utils_curve_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(207);
|
|
27667
27846
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
27668
27847
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27669
27848
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -27740,7 +27919,7 @@ class CurveWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
27740
27919
|
|
|
27741
27920
|
|
|
27742
27921
|
/***/ }),
|
|
27743
|
-
/*
|
|
27922
|
+
/* 210 */
|
|
27744
27923
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27745
27924
|
|
|
27746
27925
|
"use strict";
|
|
@@ -27794,7 +27973,7 @@ class CurveGaugeDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
27794
27973
|
|
|
27795
27974
|
|
|
27796
27975
|
/***/ }),
|
|
27797
|
-
/*
|
|
27976
|
+
/* 211 */
|
|
27798
27977
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27799
27978
|
|
|
27800
27979
|
"use strict";
|
|
@@ -27830,7 +28009,7 @@ class CurveGaugeWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
27830
28009
|
|
|
27831
28010
|
|
|
27832
28011
|
/***/ }),
|
|
27833
|
-
/*
|
|
28012
|
+
/* 212 */
|
|
27834
28013
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27835
28014
|
|
|
27836
28015
|
"use strict";
|
|
@@ -27863,7 +28042,7 @@ class CurveMintCrvAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
27863
28042
|
|
|
27864
28043
|
|
|
27865
28044
|
/***/ }),
|
|
27866
|
-
/*
|
|
28045
|
+
/* 213 */
|
|
27867
28046
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27868
28047
|
|
|
27869
28048
|
"use strict";
|
|
@@ -27899,7 +28078,7 @@ class CurveClaimFeesAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
27899
28078
|
|
|
27900
28079
|
|
|
27901
28080
|
/***/ }),
|
|
27902
|
-
/*
|
|
28081
|
+
/* 214 */
|
|
27903
28082
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27904
28083
|
|
|
27905
28084
|
"use strict";
|
|
@@ -27940,7 +28119,7 @@ class CurveStethPoolDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
27940
28119
|
|
|
27941
28120
|
|
|
27942
28121
|
/***/ }),
|
|
27943
|
-
/*
|
|
28122
|
+
/* 215 */
|
|
27944
28123
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27945
28124
|
|
|
27946
28125
|
"use strict";
|
|
@@ -27982,7 +28161,7 @@ class CurveStethPoolWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
27982
28161
|
|
|
27983
28162
|
|
|
27984
28163
|
/***/ }),
|
|
27985
|
-
/*
|
|
28164
|
+
/* 216 */
|
|
27986
28165
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27987
28166
|
|
|
27988
28167
|
"use strict";
|
|
@@ -27991,14 +28170,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27991
28170
|
/* harmony export */ GUniDeposit: () => (/* reexport safe */ _GUniDeposit__WEBPACK_IMPORTED_MODULE_0__.GUniDeposit),
|
|
27992
28171
|
/* harmony export */ GUniWithdraw: () => (/* reexport safe */ _GUniWithdraw__WEBPACK_IMPORTED_MODULE_1__.GUniWithdraw)
|
|
27993
28172
|
/* harmony export */ });
|
|
27994
|
-
/* harmony import */ var _GUniDeposit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
27995
|
-
/* harmony import */ var _GUniWithdraw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
28173
|
+
/* harmony import */ var _GUniDeposit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(217);
|
|
28174
|
+
/* harmony import */ var _GUniWithdraw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(218);
|
|
27996
28175
|
|
|
27997
28176
|
|
|
27998
28177
|
|
|
27999
28178
|
|
|
28000
28179
|
/***/ }),
|
|
28001
|
-
/*
|
|
28180
|
+
/* 217 */
|
|
28002
28181
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28003
28182
|
|
|
28004
28183
|
"use strict";
|
|
@@ -28059,7 +28238,7 @@ class GUniDeposit extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
28059
28238
|
|
|
28060
28239
|
|
|
28061
28240
|
/***/ }),
|
|
28062
|
-
/*
|
|
28241
|
+
/* 218 */
|
|
28063
28242
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28064
28243
|
|
|
28065
28244
|
"use strict";
|
|
@@ -28112,7 +28291,7 @@ class GUniWithdraw extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
28112
28291
|
|
|
28113
28292
|
|
|
28114
28293
|
/***/ }),
|
|
28115
|
-
/*
|
|
28294
|
+
/* 219 */
|
|
28116
28295
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28117
28296
|
|
|
28118
28297
|
"use strict";
|
|
@@ -28122,16 +28301,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28122
28301
|
/* harmony export */ MStableDepositAction: () => (/* reexport safe */ _MStableDepositAction__WEBPACK_IMPORTED_MODULE_0__.MStableDepositAction),
|
|
28123
28302
|
/* harmony export */ MStableWithdrawAction: () => (/* reexport safe */ _MStableWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.MStableWithdrawAction)
|
|
28124
28303
|
/* harmony export */ });
|
|
28125
|
-
/* harmony import */ var _MStableDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
28126
|
-
/* harmony import */ var _MStableWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
28127
|
-
/* harmony import */ var _MStableClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
28304
|
+
/* harmony import */ var _MStableDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(220);
|
|
28305
|
+
/* harmony import */ var _MStableWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(222);
|
|
28306
|
+
/* harmony import */ var _MStableClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(223);
|
|
28128
28307
|
|
|
28129
28308
|
|
|
28130
28309
|
|
|
28131
28310
|
|
|
28132
28311
|
|
|
28133
28312
|
/***/ }),
|
|
28134
|
-
/*
|
|
28313
|
+
/* 220 */
|
|
28135
28314
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28136
28315
|
|
|
28137
28316
|
"use strict";
|
|
@@ -28142,7 +28321,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28142
28321
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
28143
28322
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
28144
28323
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
|
28145
|
-
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
28324
|
+
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(221);
|
|
28146
28325
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
28147
28326
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
28148
28327
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -28221,7 +28400,7 @@ class MStableDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
28221
28400
|
|
|
28222
28401
|
|
|
28223
28402
|
/***/ }),
|
|
28224
|
-
/*
|
|
28403
|
+
/* 221 */
|
|
28225
28404
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28226
28405
|
|
|
28227
28406
|
"use strict";
|
|
@@ -28240,7 +28419,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28240
28419
|
|
|
28241
28420
|
|
|
28242
28421
|
/***/ }),
|
|
28243
|
-
/*
|
|
28422
|
+
/* 222 */
|
|
28244
28423
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28245
28424
|
|
|
28246
28425
|
"use strict";
|
|
@@ -28251,7 +28430,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28251
28430
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
28252
28431
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
28253
28432
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
|
28254
|
-
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
28433
|
+
/* harmony import */ var _utils_mstableAssetPairs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(221);
|
|
28255
28434
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
28256
28435
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
28257
28436
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -28329,7 +28508,7 @@ class MStableWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
28329
28508
|
|
|
28330
28509
|
|
|
28331
28510
|
/***/ }),
|
|
28332
|
-
/*
|
|
28511
|
+
/* 223 */
|
|
28333
28512
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28334
28513
|
|
|
28335
28514
|
"use strict";
|
|
@@ -28368,7 +28547,7 @@ class MStableClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
28368
28547
|
|
|
28369
28548
|
|
|
28370
28549
|
/***/ }),
|
|
28371
|
-
/*
|
|
28550
|
+
/* 224 */
|
|
28372
28551
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28373
28552
|
|
|
28374
28553
|
"use strict";
|
|
@@ -28377,14 +28556,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28377
28556
|
/* harmony export */ RariDepositAction: () => (/* reexport safe */ _RariDepositAction__WEBPACK_IMPORTED_MODULE_0__.RariDepositAction),
|
|
28378
28557
|
/* harmony export */ RariWithdrawAction: () => (/* reexport safe */ _RariWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.RariWithdrawAction)
|
|
28379
28558
|
/* harmony export */ });
|
|
28380
|
-
/* harmony import */ var _RariDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
28381
|
-
/* harmony import */ var _RariWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
28559
|
+
/* harmony import */ var _RariDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(225);
|
|
28560
|
+
/* harmony import */ var _RariWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(226);
|
|
28382
28561
|
|
|
28383
28562
|
|
|
28384
28563
|
|
|
28385
28564
|
|
|
28386
28565
|
/***/ }),
|
|
28387
|
-
/*
|
|
28566
|
+
/* 225 */
|
|
28388
28567
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28389
28568
|
|
|
28390
28569
|
"use strict";
|
|
@@ -28439,7 +28618,7 @@ class RariDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
28439
28618
|
|
|
28440
28619
|
|
|
28441
28620
|
/***/ }),
|
|
28442
|
-
/*
|
|
28621
|
+
/* 226 */
|
|
28443
28622
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28444
28623
|
|
|
28445
28624
|
"use strict";
|
|
@@ -28496,7 +28675,7 @@ class RariWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
28496
28675
|
|
|
28497
28676
|
|
|
28498
28677
|
/***/ }),
|
|
28499
|
-
/*
|
|
28678
|
+
/* 227 */
|
|
28500
28679
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28501
28680
|
|
|
28502
28681
|
"use strict";
|
|
@@ -28506,21 +28685,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28506
28685
|
/* harmony export */ AaveV3BorrowAction: () => (/* reexport safe */ _AaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__.AaveV3BorrowAction),
|
|
28507
28686
|
/* harmony export */ AaveV3ClaimRewardsAction: () => (/* reexport safe */ _AaveV3ClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__.AaveV3ClaimRewardsAction),
|
|
28508
28687
|
/* harmony export */ AaveV3CollateralSwitchAction: () => (/* reexport safe */ _AaveV3CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__.AaveV3CollateralSwitchAction),
|
|
28688
|
+
/* harmony export */ AaveV3DelegateCredit: () => (/* reexport safe */ _AaveV3DelegateCredit__WEBPACK_IMPORTED_MODULE_9__.AaveV3DelegateCredit),
|
|
28509
28689
|
/* harmony export */ AaveV3PaybackAction: () => (/* reexport safe */ _AaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__.AaveV3PaybackAction),
|
|
28510
28690
|
/* harmony export */ AaveV3SetEModeAction: () => (/* reexport safe */ _AaveV3SetEModeAction__WEBPACK_IMPORTED_MODULE_4__.AaveV3SetEModeAction),
|
|
28511
28691
|
/* harmony export */ AaveV3SupplyAction: () => (/* reexport safe */ _AaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__.AaveV3SupplyAction),
|
|
28512
28692
|
/* harmony export */ AaveV3SwapBorrowRateModeAction: () => (/* reexport safe */ _AaveV3SwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__.AaveV3SwapBorrowRateModeAction),
|
|
28513
28693
|
/* harmony export */ AaveV3WithdrawAction: () => (/* reexport safe */ _AaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__.AaveV3WithdrawAction)
|
|
28514
28694
|
/* harmony export */ });
|
|
28515
|
-
/* harmony import */ var _AaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
28516
|
-
/* harmony import */ var _AaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
28517
|
-
/* harmony import */ var _AaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
28518
|
-
/* harmony import */ var _AaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
28519
|
-
/* harmony import */ var _AaveV3SetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
28520
|
-
/* harmony import */ var _AaveV3ATokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
28521
|
-
/* harmony import */ var _AaveV3CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
28522
|
-
/* harmony import */ var _AaveV3ClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
28523
|
-
/* harmony import */ var _AaveV3SwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
28695
|
+
/* harmony import */ var _AaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(228);
|
|
28696
|
+
/* harmony import */ var _AaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(229);
|
|
28697
|
+
/* harmony import */ var _AaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(230);
|
|
28698
|
+
/* harmony import */ var _AaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(231);
|
|
28699
|
+
/* harmony import */ var _AaveV3SetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(232);
|
|
28700
|
+
/* harmony import */ var _AaveV3ATokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(233);
|
|
28701
|
+
/* harmony import */ var _AaveV3CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(234);
|
|
28702
|
+
/* harmony import */ var _AaveV3ClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(235);
|
|
28703
|
+
/* harmony import */ var _AaveV3SwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(236);
|
|
28704
|
+
/* harmony import */ var _AaveV3DelegateCredit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(237);
|
|
28705
|
+
|
|
28524
28706
|
|
|
28525
28707
|
|
|
28526
28708
|
|
|
@@ -28533,7 +28715,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28533
28715
|
|
|
28534
28716
|
|
|
28535
28717
|
/***/ }),
|
|
28536
|
-
/*
|
|
28718
|
+
/* 228 */
|
|
28537
28719
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28538
28720
|
|
|
28539
28721
|
"use strict";
|
|
@@ -28625,7 +28807,7 @@ class AaveV3SupplyAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
28625
28807
|
|
|
28626
28808
|
|
|
28627
28809
|
/***/ }),
|
|
28628
|
-
/*
|
|
28810
|
+
/* 229 */
|
|
28629
28811
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28630
28812
|
|
|
28631
28813
|
"use strict";
|
|
@@ -28698,7 +28880,7 @@ class AaveV3BorrowAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
28698
28880
|
|
|
28699
28881
|
|
|
28700
28882
|
/***/ }),
|
|
28701
|
-
/*
|
|
28883
|
+
/* 230 */
|
|
28702
28884
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28703
28885
|
|
|
28704
28886
|
"use strict";
|
|
@@ -28790,7 +28972,7 @@ class AaveV3PaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
28790
28972
|
|
|
28791
28973
|
|
|
28792
28974
|
/***/ }),
|
|
28793
|
-
/*
|
|
28975
|
+
/* 231 */
|
|
28794
28976
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28795
28977
|
|
|
28796
28978
|
"use strict";
|
|
@@ -28849,7 +29031,7 @@ class AaveV3WithdrawAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
28849
29031
|
|
|
28850
29032
|
|
|
28851
29033
|
/***/ }),
|
|
28852
|
-
/*
|
|
29034
|
+
/* 232 */
|
|
28853
29035
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28854
29036
|
|
|
28855
29037
|
"use strict";
|
|
@@ -28895,7 +29077,7 @@ class AaveV3SetEModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
28895
29077
|
|
|
28896
29078
|
|
|
28897
29079
|
/***/ }),
|
|
28898
|
-
/*
|
|
29080
|
+
/* 233 */
|
|
28899
29081
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28900
29082
|
|
|
28901
29083
|
"use strict";
|
|
@@ -28974,7 +29156,7 @@ class AaveV3ATokenPaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1
|
|
|
28974
29156
|
|
|
28975
29157
|
|
|
28976
29158
|
/***/ }),
|
|
28977
|
-
/*
|
|
29159
|
+
/* 234 */
|
|
28978
29160
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28979
29161
|
|
|
28980
29162
|
"use strict";
|
|
@@ -29026,7 +29208,7 @@ class AaveV3CollateralSwitchAction extends _ActionWithL2__WEBPACK_IMPORTED_MODUL
|
|
|
29026
29208
|
|
|
29027
29209
|
|
|
29028
29210
|
/***/ }),
|
|
29029
|
-
/*
|
|
29211
|
+
/* 235 */
|
|
29030
29212
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29031
29213
|
|
|
29032
29214
|
"use strict";
|
|
@@ -29080,7 +29262,7 @@ class AaveV3ClaimRewardsAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0_
|
|
|
29080
29262
|
|
|
29081
29263
|
|
|
29082
29264
|
/***/ }),
|
|
29083
|
-
/*
|
|
29265
|
+
/* 236 */
|
|
29084
29266
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29085
29267
|
|
|
29086
29268
|
"use strict";
|
|
@@ -29131,7 +29313,67 @@ class AaveV3SwapBorrowRateModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MOD
|
|
|
29131
29313
|
|
|
29132
29314
|
|
|
29133
29315
|
/***/ }),
|
|
29134
|
-
/*
|
|
29316
|
+
/* 237 */
|
|
29317
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29318
|
+
|
|
29319
|
+
"use strict";
|
|
29320
|
+
__webpack_require__.r(__webpack_exports__);
|
|
29321
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29322
|
+
/* harmony export */ AaveV3DelegateCredit: () => (/* binding */ AaveV3DelegateCredit)
|
|
29323
|
+
/* harmony export */ });
|
|
29324
|
+
/* harmony import */ var _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
|
|
29325
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
29326
|
+
|
|
29327
|
+
|
|
29328
|
+
/**
|
|
29329
|
+
* AaveV3DelegateCredit - Delegate credit
|
|
29330
|
+
*
|
|
29331
|
+
* @category AaveV3
|
|
29332
|
+
*/
|
|
29333
|
+
class AaveV3DelegateCredit extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.ActionWithL2 {
|
|
29334
|
+
/**
|
|
29335
|
+
* @param useOnDefaultMarket If this is true it defaults to the hardcoded market in contract
|
|
29336
|
+
* @param market Address provider for specific market
|
|
29337
|
+
* @param amount Amount of tokens to be payed back
|
|
29338
|
+
* @param rateMode Type of borrow debt [Stable: 1, Variable: 2]
|
|
29339
|
+
* @param assetId The id of the token to be borrowed
|
|
29340
|
+
* @param delegatee The id of the underlying asset to be repaid
|
|
29341
|
+
*/
|
|
29342
|
+
constructor(useOnDefaultMarket, market, amount, rateMode, assetId, delegatee) {
|
|
29343
|
+
super('AaveV3DelegateCredit', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV3DelegateCredit'), ['uint256', 'address', 'uint16', 'uint8', 'bool', 'address'], [amount, delegatee, assetId, rateMode, useOnDefaultMarket, market]);
|
|
29344
|
+
this.mappableArgs = [
|
|
29345
|
+
this.args[0],
|
|
29346
|
+
this.args[1],
|
|
29347
|
+
this.args[2],
|
|
29348
|
+
this.args[3],
|
|
29349
|
+
this.args[4],
|
|
29350
|
+
this.args[5],
|
|
29351
|
+
];
|
|
29352
|
+
}
|
|
29353
|
+
encodeInputs() {
|
|
29354
|
+
// executeActionDirectL2
|
|
29355
|
+
let encodedInput = '0x2895f3aa';
|
|
29356
|
+
// amount
|
|
29357
|
+
encodedInput = encodedInput.concat(this.numberToBytes32(this.args[0]));
|
|
29358
|
+
// delegatee
|
|
29359
|
+
encodedInput = encodedInput.concat(this.addressToBytes20(this.args[1]));
|
|
29360
|
+
// assetId
|
|
29361
|
+
encodedInput = encodedInput.concat(this.numberToBytes2(this.args[2]));
|
|
29362
|
+
// rateMode
|
|
29363
|
+
encodedInput = encodedInput.concat(this.numberToBytes1(this.args[3]));
|
|
29364
|
+
// useDefaultMarket
|
|
29365
|
+
encodedInput = encodedInput.concat(this.boolToBytes1(this.args[4]));
|
|
29366
|
+
if (!this.args[4]) {
|
|
29367
|
+
// market
|
|
29368
|
+
encodedInput = encodedInput.concat(this.addressToBytes20(this.args[5]));
|
|
29369
|
+
}
|
|
29370
|
+
return encodedInput;
|
|
29371
|
+
}
|
|
29372
|
+
}
|
|
29373
|
+
|
|
29374
|
+
|
|
29375
|
+
/***/ }),
|
|
29376
|
+
/* 238 */
|
|
29135
29377
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29136
29378
|
|
|
29137
29379
|
"use strict";
|
|
@@ -29141,16 +29383,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29141
29383
|
/* harmony export */ ConvexDepositAction: () => (/* reexport safe */ _ConvexDepositAction__WEBPACK_IMPORTED_MODULE_0__.ConvexDepositAction),
|
|
29142
29384
|
/* harmony export */ ConvexWithdrawAction: () => (/* reexport safe */ _ConvexWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.ConvexWithdrawAction)
|
|
29143
29385
|
/* harmony export */ });
|
|
29144
|
-
/* harmony import */ var _ConvexDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
29145
|
-
/* harmony import */ var _ConvexWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
29146
|
-
/* harmony import */ var _ConvexClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
29386
|
+
/* harmony import */ var _ConvexDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(239);
|
|
29387
|
+
/* harmony import */ var _ConvexWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(242);
|
|
29388
|
+
/* harmony import */ var _ConvexClaimAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(243);
|
|
29147
29389
|
|
|
29148
29390
|
|
|
29149
29391
|
|
|
29150
29392
|
|
|
29151
29393
|
|
|
29152
29394
|
/***/ }),
|
|
29153
|
-
/*
|
|
29395
|
+
/* 239 */
|
|
29154
29396
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29155
29397
|
|
|
29156
29398
|
"use strict";
|
|
@@ -29160,7 +29402,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29160
29402
|
/* harmony export */ });
|
|
29161
29403
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
29162
29404
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
29163
|
-
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
29405
|
+
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(240);
|
|
29164
29406
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66);
|
|
29165
29407
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29166
29408
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -29231,7 +29473,7 @@ class ConvexDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29231
29473
|
|
|
29232
29474
|
|
|
29233
29475
|
/***/ }),
|
|
29234
|
-
/*
|
|
29476
|
+
/* 240 */
|
|
29235
29477
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29236
29478
|
|
|
29237
29479
|
"use strict";
|
|
@@ -29242,7 +29484,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29242
29484
|
/* harmony export */ getConvexPool: () => (/* binding */ getConvexPool),
|
|
29243
29485
|
/* harmony export */ poolInfo: () => (/* reexport default export from named module */ _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__)
|
|
29244
29486
|
/* harmony export */ });
|
|
29245
|
-
/* harmony import */ var _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
29487
|
+
/* harmony import */ var _convexPoolInfo_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(241);
|
|
29246
29488
|
|
|
29247
29489
|
|
|
29248
29490
|
/** Deposit options. */
|
|
@@ -29262,14 +29504,14 @@ const getConvexPool = (curveLpToken) => _convexPoolInfo_json__WEBPACK_IMPORTED_M
|
|
|
29262
29504
|
|
|
29263
29505
|
|
|
29264
29506
|
/***/ }),
|
|
29265
|
-
/*
|
|
29507
|
+
/* 241 */
|
|
29266
29508
|
/***/ ((module) => {
|
|
29267
29509
|
|
|
29268
29510
|
"use strict";
|
|
29269
29511
|
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":[]}]');
|
|
29270
29512
|
|
|
29271
29513
|
/***/ }),
|
|
29272
|
-
/*
|
|
29514
|
+
/* 242 */
|
|
29273
29515
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29274
29516
|
|
|
29275
29517
|
"use strict";
|
|
@@ -29279,7 +29521,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29279
29521
|
/* harmony export */ });
|
|
29280
29522
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
29281
29523
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
29282
|
-
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
29524
|
+
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(240);
|
|
29283
29525
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66);
|
|
29284
29526
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29285
29527
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -29347,7 +29589,7 @@ class ConvexWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29347
29589
|
|
|
29348
29590
|
|
|
29349
29591
|
/***/ }),
|
|
29350
|
-
/*
|
|
29592
|
+
/* 243 */
|
|
29351
29593
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29352
29594
|
|
|
29353
29595
|
"use strict";
|
|
@@ -29357,7 +29599,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29357
29599
|
/* harmony export */ });
|
|
29358
29600
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
29359
29601
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
29360
|
-
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
29602
|
+
/* harmony import */ var _utils_convex_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(240);
|
|
29361
29603
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(66);
|
|
29362
29604
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29363
29605
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -29421,7 +29663,7 @@ class ConvexClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29421
29663
|
|
|
29422
29664
|
|
|
29423
29665
|
/***/ }),
|
|
29424
|
-
/*
|
|
29666
|
+
/* 244 */
|
|
29425
29667
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29426
29668
|
|
|
29427
29669
|
"use strict";
|
|
@@ -29435,13 +29677,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29435
29677
|
/* harmony export */ CBUpdateRebondSubAction: () => (/* reexport safe */ _CBUpdateRebondSubAction__WEBPACK_IMPORTED_MODULE_4__.CBUpdateRebondSubAction),
|
|
29436
29678
|
/* harmony export */ FetchBondIdAction: () => (/* reexport safe */ _FetchBondIdAction__WEBPACK_IMPORTED_MODULE_5__.FetchBondIdAction)
|
|
29437
29679
|
/* harmony export */ });
|
|
29438
|
-
/* harmony import */ var _CBCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
29439
|
-
/* harmony import */ var _CBChickenInAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
29440
|
-
/* harmony import */ var _CBChickenOutAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
29441
|
-
/* harmony import */ var _CBRedeemAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
29442
|
-
/* harmony import */ var _CBUpdateRebondSubAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
29443
|
-
/* harmony import */ var _FetchBondIdAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
29444
|
-
/* harmony import */ var _CBCreateRebondSubAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
29680
|
+
/* harmony import */ var _CBCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(245);
|
|
29681
|
+
/* harmony import */ var _CBChickenInAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(246);
|
|
29682
|
+
/* harmony import */ var _CBChickenOutAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(247);
|
|
29683
|
+
/* harmony import */ var _CBRedeemAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(248);
|
|
29684
|
+
/* harmony import */ var _CBUpdateRebondSubAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(249);
|
|
29685
|
+
/* harmony import */ var _FetchBondIdAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(250);
|
|
29686
|
+
/* harmony import */ var _CBCreateRebondSubAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(251);
|
|
29445
29687
|
|
|
29446
29688
|
|
|
29447
29689
|
|
|
@@ -29452,7 +29694,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29452
29694
|
|
|
29453
29695
|
|
|
29454
29696
|
/***/ }),
|
|
29455
|
-
/*
|
|
29697
|
+
/* 245 */
|
|
29456
29698
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29457
29699
|
|
|
29458
29700
|
"use strict";
|
|
@@ -29498,7 +29740,7 @@ class CBCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29498
29740
|
|
|
29499
29741
|
|
|
29500
29742
|
/***/ }),
|
|
29501
|
-
/*
|
|
29743
|
+
/* 246 */
|
|
29502
29744
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29503
29745
|
|
|
29504
29746
|
"use strict";
|
|
@@ -29530,7 +29772,7 @@ class CBChickenInAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29530
29772
|
|
|
29531
29773
|
|
|
29532
29774
|
/***/ }),
|
|
29533
|
-
/*
|
|
29775
|
+
/* 247 */
|
|
29534
29776
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29535
29777
|
|
|
29536
29778
|
"use strict";
|
|
@@ -29563,7 +29805,7 @@ class CBChickenOutAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29563
29805
|
|
|
29564
29806
|
|
|
29565
29807
|
/***/ }),
|
|
29566
|
-
/*
|
|
29808
|
+
/* 248 */
|
|
29567
29809
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29568
29810
|
|
|
29569
29811
|
"use strict";
|
|
@@ -29612,7 +29854,7 @@ class CBRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29612
29854
|
|
|
29613
29855
|
|
|
29614
29856
|
/***/ }),
|
|
29615
|
-
/*
|
|
29857
|
+
/* 249 */
|
|
29616
29858
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29617
29859
|
|
|
29618
29860
|
"use strict";
|
|
@@ -29641,7 +29883,7 @@ class CBUpdateRebondSubAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
29641
29883
|
|
|
29642
29884
|
|
|
29643
29885
|
/***/ }),
|
|
29644
|
-
/*
|
|
29886
|
+
/* 250 */
|
|
29645
29887
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29646
29888
|
|
|
29647
29889
|
"use strict";
|
|
@@ -29675,7 +29917,7 @@ class FetchBondIdAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
29675
29917
|
|
|
29676
29918
|
|
|
29677
29919
|
/***/ }),
|
|
29678
|
-
/*
|
|
29920
|
+
/* 251 */
|
|
29679
29921
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29680
29922
|
|
|
29681
29923
|
"use strict";
|
|
@@ -29706,7 +29948,7 @@ class CBCreateRebondSubAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
29706
29948
|
|
|
29707
29949
|
|
|
29708
29950
|
/***/ }),
|
|
29709
|
-
/*
|
|
29951
|
+
/* 252 */
|
|
29710
29952
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29711
29953
|
|
|
29712
29954
|
"use strict";
|
|
@@ -29720,13 +29962,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29720
29962
|
/* harmony export */ CompoundV3TransferAction: () => (/* reexport safe */ _CompoundV3TransferAction__WEBPACK_IMPORTED_MODULE_6__.CompoundV3TransferAction),
|
|
29721
29963
|
/* harmony export */ CompoundV3WithdrawAction: () => (/* reexport safe */ _CompoundV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__.CompoundV3WithdrawAction)
|
|
29722
29964
|
/* harmony export */ });
|
|
29723
|
-
/* harmony import */ var _CompoundV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
29724
|
-
/* harmony import */ var _CompoundV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
29725
|
-
/* harmony import */ var _CompoundV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
29726
|
-
/* harmony import */ var _CompoundV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
29727
|
-
/* harmony import */ var _CompoundV3ClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
29728
|
-
/* harmony import */ var _CompoundV3AllowAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
29729
|
-
/* harmony import */ var _CompoundV3TransferAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
29965
|
+
/* harmony import */ var _CompoundV3SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(253);
|
|
29966
|
+
/* harmony import */ var _CompoundV3BorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(254);
|
|
29967
|
+
/* harmony import */ var _CompoundV3PaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(255);
|
|
29968
|
+
/* harmony import */ var _CompoundV3WithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(256);
|
|
29969
|
+
/* harmony import */ var _CompoundV3ClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(257);
|
|
29970
|
+
/* harmony import */ var _CompoundV3AllowAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(258);
|
|
29971
|
+
/* harmony import */ var _CompoundV3TransferAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(259);
|
|
29730
29972
|
|
|
29731
29973
|
|
|
29732
29974
|
|
|
@@ -29737,7 +29979,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29737
29979
|
|
|
29738
29980
|
|
|
29739
29981
|
/***/ }),
|
|
29740
|
-
/*
|
|
29982
|
+
/* 253 */
|
|
29741
29983
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29742
29984
|
|
|
29743
29985
|
"use strict";
|
|
@@ -29789,7 +30031,7 @@ class CompoundV3SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
29789
30031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29790
30032
|
const asset = (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfoByAddress)(this.tokenForApproval);
|
|
29791
30033
|
if (asset.symbol !== 'ETH')
|
|
29792
|
-
return [{ asset: this.tokenForApproval, owner: this.args[
|
|
30034
|
+
return [{ asset: this.tokenForApproval, owner: this.args[3] }];
|
|
29793
30035
|
return [];
|
|
29794
30036
|
});
|
|
29795
30037
|
}
|
|
@@ -29797,7 +30039,7 @@ class CompoundV3SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
29797
30039
|
|
|
29798
30040
|
|
|
29799
30041
|
/***/ }),
|
|
29800
|
-
/*
|
|
30042
|
+
/* 254 */
|
|
29801
30043
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29802
30044
|
|
|
29803
30045
|
"use strict";
|
|
@@ -29837,7 +30079,7 @@ class CompoundV3BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
29837
30079
|
|
|
29838
30080
|
|
|
29839
30081
|
/***/ }),
|
|
29840
|
-
/*
|
|
30082
|
+
/* 255 */
|
|
29841
30083
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29842
30084
|
|
|
29843
30085
|
"use strict";
|
|
@@ -29901,7 +30143,7 @@ class CompoundV3PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Actio
|
|
|
29901
30143
|
|
|
29902
30144
|
|
|
29903
30145
|
/***/ }),
|
|
29904
|
-
/*
|
|
30146
|
+
/* 256 */
|
|
29905
30147
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29906
30148
|
|
|
29907
30149
|
"use strict";
|
|
@@ -29944,7 +30186,7 @@ class CompoundV3WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
29944
30186
|
|
|
29945
30187
|
|
|
29946
30188
|
/***/ }),
|
|
29947
|
-
/*
|
|
30189
|
+
/* 257 */
|
|
29948
30190
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29949
30191
|
|
|
29950
30192
|
"use strict";
|
|
@@ -29985,7 +30227,7 @@ class CompoundV3ClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
29985
30227
|
|
|
29986
30228
|
|
|
29987
30229
|
/***/ }),
|
|
29988
|
-
/*
|
|
30230
|
+
/* 258 */
|
|
29989
30231
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29990
30232
|
|
|
29991
30233
|
"use strict";
|
|
@@ -30023,7 +30265,7 @@ class CompoundV3AllowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
30023
30265
|
|
|
30024
30266
|
|
|
30025
30267
|
/***/ }),
|
|
30026
|
-
/*
|
|
30268
|
+
/* 259 */
|
|
30027
30269
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30028
30270
|
|
|
30029
30271
|
"use strict";
|
|
@@ -30067,7 +30309,7 @@ class CompoundV3TransferAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
30067
30309
|
|
|
30068
30310
|
|
|
30069
30311
|
/***/ }),
|
|
30070
|
-
/*
|
|
30312
|
+
/* 260 */
|
|
30071
30313
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30072
30314
|
|
|
30073
30315
|
"use strict";
|
|
@@ -30083,15 +30325,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30083
30325
|
/* harmony export */ MorphoAaveV3WithdrawAction: () => (/* reexport safe */ _aaveV3_MorphoAaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_6__.MorphoAaveV3WithdrawAction),
|
|
30084
30326
|
/* harmony export */ MorphoClaimAction: () => (/* reexport safe */ _MorphoClaimAction__WEBPACK_IMPORTED_MODULE_4__.MorphoClaimAction)
|
|
30085
30327
|
/* harmony export */ });
|
|
30086
|
-
/* harmony import */ var _MorphoAaveV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
30087
|
-
/* harmony import */ var _MorphoAaveV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
30088
|
-
/* harmony import */ var _MorphoAaveV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
30089
|
-
/* harmony import */ var _MorphoAaveV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
30090
|
-
/* harmony import */ var _MorphoClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
30091
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
30092
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
30093
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
30094
|
-
/* harmony import */ var _aaveV3_MorphoAaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
30328
|
+
/* harmony import */ var _MorphoAaveV2SupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(261);
|
|
30329
|
+
/* harmony import */ var _MorphoAaveV2WithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(262);
|
|
30330
|
+
/* harmony import */ var _MorphoAaveV2BorrowAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(263);
|
|
30331
|
+
/* harmony import */ var _MorphoAaveV2PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(264);
|
|
30332
|
+
/* harmony import */ var _MorphoClaimAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(265);
|
|
30333
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3SupplyAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(266);
|
|
30334
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3WithdrawAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(267);
|
|
30335
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3BorrowAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(268);
|
|
30336
|
+
/* harmony import */ var _aaveV3_MorphoAaveV3PaybackAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(269);
|
|
30095
30337
|
|
|
30096
30338
|
|
|
30097
30339
|
|
|
@@ -30104,7 +30346,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30104
30346
|
|
|
30105
30347
|
|
|
30106
30348
|
/***/ }),
|
|
30107
|
-
/*
|
|
30349
|
+
/* 261 */
|
|
30108
30350
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30109
30351
|
|
|
30110
30352
|
"use strict";
|
|
@@ -30162,7 +30404,7 @@ class MorphoAaveV2SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
30162
30404
|
|
|
30163
30405
|
|
|
30164
30406
|
/***/ }),
|
|
30165
|
-
/*
|
|
30407
|
+
/* 262 */
|
|
30166
30408
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30167
30409
|
|
|
30168
30410
|
"use strict";
|
|
@@ -30197,7 +30439,7 @@ class MorphoAaveV2WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
30197
30439
|
|
|
30198
30440
|
|
|
30199
30441
|
/***/ }),
|
|
30200
|
-
/*
|
|
30442
|
+
/* 263 */
|
|
30201
30443
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30202
30444
|
|
|
30203
30445
|
"use strict";
|
|
@@ -30233,7 +30475,7 @@ class MorphoAaveV2BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
30233
30475
|
|
|
30234
30476
|
|
|
30235
30477
|
/***/ }),
|
|
30236
|
-
/*
|
|
30478
|
+
/* 264 */
|
|
30237
30479
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30238
30480
|
|
|
30239
30481
|
"use strict";
|
|
@@ -30290,7 +30532,7 @@ class MorphoAaveV2PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
30290
30532
|
|
|
30291
30533
|
|
|
30292
30534
|
/***/ }),
|
|
30293
|
-
/*
|
|
30535
|
+
/* 265 */
|
|
30294
30536
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30295
30537
|
|
|
30296
30538
|
"use strict";
|
|
@@ -30323,7 +30565,7 @@ class MorphoClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
30323
30565
|
|
|
30324
30566
|
|
|
30325
30567
|
/***/ }),
|
|
30326
|
-
/*
|
|
30568
|
+
/* 266 */
|
|
30327
30569
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30328
30570
|
|
|
30329
30571
|
"use strict";
|
|
@@ -30385,7 +30627,7 @@ class MorphoAaveV3SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
30385
30627
|
|
|
30386
30628
|
|
|
30387
30629
|
/***/ }),
|
|
30388
|
-
/*
|
|
30630
|
+
/* 267 */
|
|
30389
30631
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30390
30632
|
|
|
30391
30633
|
"use strict";
|
|
@@ -30427,7 +30669,7 @@ class MorphoAaveV3WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
30427
30669
|
|
|
30428
30670
|
|
|
30429
30671
|
/***/ }),
|
|
30430
|
-
/*
|
|
30672
|
+
/* 268 */
|
|
30431
30673
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30432
30674
|
|
|
30433
30675
|
"use strict";
|
|
@@ -30467,7 +30709,7 @@ class MorphoAaveV3BorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
30467
30709
|
|
|
30468
30710
|
|
|
30469
30711
|
/***/ }),
|
|
30470
|
-
/*
|
|
30712
|
+
/* 269 */
|
|
30471
30713
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30472
30714
|
|
|
30473
30715
|
"use strict";
|
|
@@ -30526,7 +30768,7 @@ class MorphoAaveV3PaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Act
|
|
|
30526
30768
|
|
|
30527
30769
|
|
|
30528
30770
|
/***/ }),
|
|
30529
|
-
/*
|
|
30771
|
+
/* 270 */
|
|
30530
30772
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30531
30773
|
|
|
30532
30774
|
"use strict";
|
|
@@ -30535,14 +30777,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30535
30777
|
/* harmony export */ BprotocolLiquitySPDepositAction: () => (/* reexport safe */ _BprotocolLiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_0__.BprotocolLiquitySPDepositAction),
|
|
30536
30778
|
/* harmony export */ BprotocolLiquitySPWithdrawAction: () => (/* reexport safe */ _BprotocolLiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_1__.BprotocolLiquitySPWithdrawAction)
|
|
30537
30779
|
/* harmony export */ });
|
|
30538
|
-
/* harmony import */ var _BprotocolLiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
30539
|
-
/* harmony import */ var _BprotocolLiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
30780
|
+
/* harmony import */ var _BprotocolLiquitySPDepositAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(271);
|
|
30781
|
+
/* harmony import */ var _BprotocolLiquitySPWithdrawAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(272);
|
|
30540
30782
|
|
|
30541
30783
|
|
|
30542
30784
|
|
|
30543
30785
|
|
|
30544
30786
|
/***/ }),
|
|
30545
|
-
/*
|
|
30787
|
+
/* 271 */
|
|
30546
30788
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30547
30789
|
|
|
30548
30790
|
"use strict";
|
|
@@ -30596,7 +30838,7 @@ class BprotocolLiquitySPDepositAction extends _Action__WEBPACK_IMPORTED_MODULE_1
|
|
|
30596
30838
|
|
|
30597
30839
|
|
|
30598
30840
|
/***/ }),
|
|
30599
|
-
/*
|
|
30841
|
+
/* 272 */
|
|
30600
30842
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30601
30843
|
|
|
30602
30844
|
"use strict";
|
|
@@ -30633,12 +30875,13 @@ class BprotocolLiquitySPWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_
|
|
|
30633
30875
|
|
|
30634
30876
|
|
|
30635
30877
|
/***/ }),
|
|
30636
|
-
/*
|
|
30878
|
+
/* 273 */
|
|
30637
30879
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30638
30880
|
|
|
30639
30881
|
"use strict";
|
|
30640
30882
|
__webpack_require__.r(__webpack_exports__);
|
|
30641
30883
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
30884
|
+
/* harmony export */ CurveUsdAdjustAction: () => (/* reexport safe */ _CurveUsdAdjustAction__WEBPACK_IMPORTED_MODULE_9__.CurveUsdAdjustAction),
|
|
30642
30885
|
/* harmony export */ CurveUsdBorrowAction: () => (/* reexport safe */ _CurveUsdBorrowAction__WEBPACK_IMPORTED_MODULE_3__.CurveUsdBorrowAction),
|
|
30643
30886
|
/* harmony export */ CurveUsdCreateAction: () => (/* reexport safe */ _CurveUsdCreateAction__WEBPACK_IMPORTED_MODULE_0__.CurveUsdCreateAction),
|
|
30644
30887
|
/* harmony export */ CurveUsdLevCreateAction: () => (/* reexport safe */ _CurveUsdLevCreateAction__WEBPACK_IMPORTED_MODULE_7__.CurveUsdLevCreateAction),
|
|
@@ -30649,15 +30892,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30649
30892
|
/* harmony export */ CurveUsdSupplyAction: () => (/* reexport safe */ _CurveUsdSupplyAction__WEBPACK_IMPORTED_MODULE_1__.CurveUsdSupplyAction),
|
|
30650
30893
|
/* harmony export */ CurveUsdWithdrawAction: () => (/* reexport safe */ _CurveUsdWithdrawAction__WEBPACK_IMPORTED_MODULE_2__.CurveUsdWithdrawAction)
|
|
30651
30894
|
/* harmony export */ });
|
|
30652
|
-
/* harmony import */ var _CurveUsdCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
30653
|
-
/* harmony import */ var _CurveUsdSupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
30654
|
-
/* harmony import */ var _CurveUsdWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
30655
|
-
/* harmony import */ var _CurveUsdBorrowAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
30656
|
-
/* harmony import */ var _CurveUsdPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
30657
|
-
/* harmony import */ var _CurveUsdRepayAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
30658
|
-
/* harmony import */ var _CurveUsdSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
30659
|
-
/* harmony import */ var _CurveUsdLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
30660
|
-
/* harmony import */ var _CurveUsdSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
30895
|
+
/* harmony import */ var _CurveUsdCreateAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(274);
|
|
30896
|
+
/* harmony import */ var _CurveUsdSupplyAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(276);
|
|
30897
|
+
/* harmony import */ var _CurveUsdWithdrawAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(277);
|
|
30898
|
+
/* harmony import */ var _CurveUsdBorrowAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(278);
|
|
30899
|
+
/* harmony import */ var _CurveUsdPaybackAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(279);
|
|
30900
|
+
/* harmony import */ var _CurveUsdRepayAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(280);
|
|
30901
|
+
/* harmony import */ var _CurveUsdSelfLiquidateAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(281);
|
|
30902
|
+
/* harmony import */ var _CurveUsdLevCreateAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(282);
|
|
30903
|
+
/* harmony import */ var _CurveUsdSelfLiquidateWithCollAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(283);
|
|
30904
|
+
/* harmony import */ var _CurveUsdAdjustAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(284);
|
|
30905
|
+
|
|
30661
30906
|
|
|
30662
30907
|
|
|
30663
30908
|
|
|
@@ -30670,7 +30915,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30670
30915
|
|
|
30671
30916
|
|
|
30672
30917
|
/***/ }),
|
|
30673
|
-
/*
|
|
30918
|
+
/* 274 */
|
|
30674
30919
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30675
30920
|
|
|
30676
30921
|
"use strict";
|
|
@@ -30681,7 +30926,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30681
30926
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
30682
30927
|
/* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
30683
30928
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54);
|
|
30684
|
-
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
30929
|
+
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(275);
|
|
30685
30930
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30686
30931
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30687
30932
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -30729,7 +30974,7 @@ class CurveUsdCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
30729
30974
|
|
|
30730
30975
|
|
|
30731
30976
|
/***/ }),
|
|
30732
|
-
/*
|
|
30977
|
+
/* 275 */
|
|
30733
30978
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30734
30979
|
|
|
30735
30980
|
"use strict";
|
|
@@ -30741,12 +30986,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30741
30986
|
/* harmony export */ });
|
|
30742
30987
|
/// @dev debtAvailableBlock is only used in v3-contracts repo
|
|
30743
30988
|
const curveusdMarkets = {
|
|
30744
|
-
wstETH: { controllerAddress: '
|
|
30989
|
+
wstETH: { controllerAddress: '0x100daa78fc509db39ef7d04de0c1abd299f4c6ce', debtAvailableBlock: 17487165 },
|
|
30745
30990
|
WBTC: { controllerAddress: '0x4e59541306910ad6dc1dac0ac9dfb29bd9f15c67', debtAvailableBlock: 17563176 },
|
|
30746
30991
|
WETH: { controllerAddress: '0xa920de414ea4ab66b97da1bfe9e6eca7d4219635', debtAvailableBlock: 17563176 },
|
|
30747
30992
|
};
|
|
30748
30993
|
const controllerToAssetMap = {
|
|
30749
|
-
'
|
|
30994
|
+
'0x100daa78fc509db39ef7d04de0c1abd299f4c6ce': '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0',
|
|
30750
30995
|
'0x4e59541306910ad6dc1dac0ac9dfb29bd9f15c67': '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
30751
30996
|
'0xa920de414ea4ab66b97da1bfe9e6eca7d4219635': '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
30752
30997
|
};
|
|
@@ -30754,7 +30999,7 @@ const controllerFactoryAddress = '0xC9332fdCB1C491Dcc683bAe86Fe3cb70360738BC';
|
|
|
30754
30999
|
|
|
30755
31000
|
|
|
30756
31001
|
/***/ }),
|
|
30757
|
-
/*
|
|
31002
|
+
/* 276 */
|
|
30758
31003
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30759
31004
|
|
|
30760
31005
|
"use strict";
|
|
@@ -30764,7 +31009,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30764
31009
|
/* harmony export */ });
|
|
30765
31010
|
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
30766
31011
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
30767
|
-
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
31012
|
+
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(275);
|
|
30768
31013
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30769
31014
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30770
31015
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -30808,7 +31053,7 @@ class CurveUsdSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
30808
31053
|
|
|
30809
31054
|
|
|
30810
31055
|
/***/ }),
|
|
30811
|
-
/*
|
|
31056
|
+
/* 277 */
|
|
30812
31057
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30813
31058
|
|
|
30814
31059
|
"use strict";
|
|
@@ -30843,7 +31088,7 @@ class CurveUsdWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
30843
31088
|
|
|
30844
31089
|
|
|
30845
31090
|
/***/ }),
|
|
30846
|
-
/*
|
|
31091
|
+
/* 278 */
|
|
30847
31092
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30848
31093
|
|
|
30849
31094
|
"use strict";
|
|
@@ -30878,7 +31123,7 @@ class CurveUsdBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
30878
31123
|
|
|
30879
31124
|
|
|
30880
31125
|
/***/ }),
|
|
30881
|
-
/*
|
|
31126
|
+
/* 279 */
|
|
30882
31127
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30883
31128
|
|
|
30884
31129
|
"use strict";
|
|
@@ -30936,7 +31181,7 @@ class CurveUsdPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
30936
31181
|
|
|
30937
31182
|
|
|
30938
31183
|
/***/ }),
|
|
30939
|
-
/*
|
|
31184
|
+
/* 280 */
|
|
30940
31185
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30941
31186
|
|
|
30942
31187
|
"use strict";
|
|
@@ -30963,7 +31208,7 @@ class CurveUsdRepayAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
30963
31208
|
|
|
30964
31209
|
|
|
30965
31210
|
/***/ }),
|
|
30966
|
-
/*
|
|
31211
|
+
/* 281 */
|
|
30967
31212
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30968
31213
|
|
|
30969
31214
|
"use strict";
|
|
@@ -31007,7 +31252,7 @@ class CurveUsdSelfLiquidateAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.A
|
|
|
31007
31252
|
getAssetsToApprove() {
|
|
31008
31253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31009
31254
|
return [{
|
|
31010
|
-
owner: this.args[
|
|
31255
|
+
owner: this.args[2],
|
|
31011
31256
|
asset: (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfo)('crvUSD').address,
|
|
31012
31257
|
}];
|
|
31013
31258
|
});
|
|
@@ -31016,7 +31261,7 @@ class CurveUsdSelfLiquidateAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.A
|
|
|
31016
31261
|
|
|
31017
31262
|
|
|
31018
31263
|
/***/ }),
|
|
31019
|
-
/*
|
|
31264
|
+
/* 282 */
|
|
31020
31265
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31021
31266
|
|
|
31022
31267
|
"use strict";
|
|
@@ -31046,7 +31291,7 @@ class CurveUsdLevCreateAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
31046
31291
|
|
|
31047
31292
|
|
|
31048
31293
|
/***/ }),
|
|
31049
|
-
/*
|
|
31294
|
+
/* 283 */
|
|
31050
31295
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31051
31296
|
|
|
31052
31297
|
"use strict";
|
|
@@ -31076,7 +31321,61 @@ class CurveUsdSelfLiquidateWithCollAction extends _Action__WEBPACK_IMPORTED_MODU
|
|
|
31076
31321
|
|
|
31077
31322
|
|
|
31078
31323
|
/***/ }),
|
|
31079
|
-
/*
|
|
31324
|
+
/* 284 */
|
|
31325
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31326
|
+
|
|
31327
|
+
"use strict";
|
|
31328
|
+
__webpack_require__.r(__webpack_exports__);
|
|
31329
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
31330
|
+
/* harmony export */ CurveUsdAdjustAction: () => (/* binding */ CurveUsdAdjustAction)
|
|
31331
|
+
/* harmony export */ });
|
|
31332
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
|
31333
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
31334
|
+
/* harmony import */ var _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(275);
|
|
31335
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31336
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31337
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31338
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
31339
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
31340
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31341
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31342
|
+
});
|
|
31343
|
+
};
|
|
31344
|
+
|
|
31345
|
+
|
|
31346
|
+
|
|
31347
|
+
/**
|
|
31348
|
+
* CurveUsdAdjustAction - Action that supplies collateral to a curveusd position and borrows more crvUSD
|
|
31349
|
+
*
|
|
31350
|
+
* @category CurveUsd
|
|
31351
|
+
*/
|
|
31352
|
+
class CurveUsdAdjustAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
31353
|
+
/**
|
|
31354
|
+
* address controllerAddress - Address of the curveusd market controller
|
|
31355
|
+
* address from - Address from which to pull collateral asset, will default to proxy
|
|
31356
|
+
* address to - Address which will receive borrowed crvUSD
|
|
31357
|
+
* uint256 supplyAmount - Amount of collateral asset to supply (can be zero, can be max.uint)
|
|
31358
|
+
* uint256 borrowAmount - Amount of debt asset to borrow (must be non-zero)
|
|
31359
|
+
*/
|
|
31360
|
+
constructor(controllerAddress, from, to, supplyAmount, borrowAmount) {
|
|
31361
|
+
super('CurveUsdAdjust', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('CurveUsdAdjust'), ['address', 'address', 'address', 'uint256', 'uint256'], [controllerAddress, from, to, supplyAmount, borrowAmount]);
|
|
31362
|
+
this.mappableArgs = [
|
|
31363
|
+
...this.args,
|
|
31364
|
+
];
|
|
31365
|
+
}
|
|
31366
|
+
getAssetsToApprove() {
|
|
31367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31368
|
+
return [{
|
|
31369
|
+
owner: this.args[1],
|
|
31370
|
+
asset: _utils_curveusd_utils__WEBPACK_IMPORTED_MODULE_2__.controllerToAssetMap[this.args[0]],
|
|
31371
|
+
}];
|
|
31372
|
+
});
|
|
31373
|
+
}
|
|
31374
|
+
}
|
|
31375
|
+
|
|
31376
|
+
|
|
31377
|
+
/***/ }),
|
|
31378
|
+
/* 285 */
|
|
31080
31379
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31081
31380
|
|
|
31082
31381
|
"use strict";
|
|
@@ -31085,6 +31384,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31085
31384
|
/* harmony export */ SparkBorrowAction: () => (/* reexport safe */ _SparkBorrowAction__WEBPACK_IMPORTED_MODULE_1__.SparkBorrowAction),
|
|
31086
31385
|
/* harmony export */ SparkClaimRewardsAction: () => (/* reexport safe */ _SparkClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__.SparkClaimRewardsAction),
|
|
31087
31386
|
/* harmony export */ SparkCollateralSwitchAction: () => (/* reexport safe */ _SparkCollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__.SparkCollateralSwitchAction),
|
|
31387
|
+
/* harmony export */ SparkDelegateCredit: () => (/* reexport safe */ _SparkDelegateCredit__WEBPACK_IMPORTED_MODULE_9__.SparkDelegateCredit),
|
|
31088
31388
|
/* harmony export */ SparkPaybackAction: () => (/* reexport safe */ _SparkPaybackAction__WEBPACK_IMPORTED_MODULE_2__.SparkPaybackAction),
|
|
31089
31389
|
/* harmony export */ SparkSetEModeAction: () => (/* reexport safe */ _SparkSetEModeAction__WEBPACK_IMPORTED_MODULE_4__.SparkSetEModeAction),
|
|
31090
31390
|
/* harmony export */ SparkSpTokenPaybackAction: () => (/* reexport safe */ _SparkSpTokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__.SparkSpTokenPaybackAction),
|
|
@@ -31092,15 +31392,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31092
31392
|
/* harmony export */ SparkSwapBorrowRateModeAction: () => (/* reexport safe */ _SparkSwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__.SparkSwapBorrowRateModeAction),
|
|
31093
31393
|
/* harmony export */ SparkWithdrawAction: () => (/* reexport safe */ _SparkWithdrawAction__WEBPACK_IMPORTED_MODULE_3__.SparkWithdrawAction)
|
|
31094
31394
|
/* harmony export */ });
|
|
31095
|
-
/* harmony import */ var _SparkSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
31096
|
-
/* harmony import */ var _SparkBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
31097
|
-
/* harmony import */ var _SparkPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
31098
|
-
/* harmony import */ var _SparkWithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
31099
|
-
/* harmony import */ var _SparkSetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
31100
|
-
/* harmony import */ var _SparkSpTokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
31101
|
-
/* harmony import */ var _SparkCollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
31102
|
-
/* harmony import */ var _SparkClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
31103
|
-
/* harmony import */ var _SparkSwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
31395
|
+
/* harmony import */ var _SparkSupplyAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(286);
|
|
31396
|
+
/* harmony import */ var _SparkBorrowAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(287);
|
|
31397
|
+
/* harmony import */ var _SparkPaybackAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(288);
|
|
31398
|
+
/* harmony import */ var _SparkWithdrawAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(289);
|
|
31399
|
+
/* harmony import */ var _SparkSetEModeAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(290);
|
|
31400
|
+
/* harmony import */ var _SparkSpTokenPaybackAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(291);
|
|
31401
|
+
/* harmony import */ var _SparkCollateralSwitchAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(292);
|
|
31402
|
+
/* harmony import */ var _SparkClaimRewardsAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(293);
|
|
31403
|
+
/* harmony import */ var _SparkSwapBorrowRateModeAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(294);
|
|
31404
|
+
/* harmony import */ var _SparkDelegateCredit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(295);
|
|
31405
|
+
|
|
31104
31406
|
|
|
31105
31407
|
|
|
31106
31408
|
|
|
@@ -31113,7 +31415,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31113
31415
|
|
|
31114
31416
|
|
|
31115
31417
|
/***/ }),
|
|
31116
|
-
/*
|
|
31418
|
+
/* 286 */
|
|
31117
31419
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31118
31420
|
|
|
31119
31421
|
"use strict";
|
|
@@ -31205,7 +31507,7 @@ class SparkSupplyAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Actio
|
|
|
31205
31507
|
|
|
31206
31508
|
|
|
31207
31509
|
/***/ }),
|
|
31208
|
-
/*
|
|
31510
|
+
/* 287 */
|
|
31209
31511
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31210
31512
|
|
|
31211
31513
|
"use strict";
|
|
@@ -31278,7 +31580,7 @@ class SparkBorrowAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
31278
31580
|
|
|
31279
31581
|
|
|
31280
31582
|
/***/ }),
|
|
31281
|
-
/*
|
|
31583
|
+
/* 288 */
|
|
31282
31584
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31283
31585
|
|
|
31284
31586
|
"use strict";
|
|
@@ -31370,7 +31672,7 @@ class SparkPaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1__.Acti
|
|
|
31370
31672
|
|
|
31371
31673
|
|
|
31372
31674
|
/***/ }),
|
|
31373
|
-
/*
|
|
31675
|
+
/* 289 */
|
|
31374
31676
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31375
31677
|
|
|
31376
31678
|
"use strict";
|
|
@@ -31429,7 +31731,7 @@ class SparkWithdrawAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
31429
31731
|
|
|
31430
31732
|
|
|
31431
31733
|
/***/ }),
|
|
31432
|
-
/*
|
|
31734
|
+
/* 290 */
|
|
31433
31735
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31434
31736
|
|
|
31435
31737
|
"use strict";
|
|
@@ -31475,7 +31777,7 @@ class SparkSetEModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.Act
|
|
|
31475
31777
|
|
|
31476
31778
|
|
|
31477
31779
|
/***/ }),
|
|
31478
|
-
/*
|
|
31780
|
+
/* 291 */
|
|
31479
31781
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31480
31782
|
|
|
31481
31783
|
"use strict";
|
|
@@ -31554,7 +31856,7 @@ class SparkSpTokenPaybackAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_1
|
|
|
31554
31856
|
|
|
31555
31857
|
|
|
31556
31858
|
/***/ }),
|
|
31557
|
-
/*
|
|
31859
|
+
/* 292 */
|
|
31558
31860
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31559
31861
|
|
|
31560
31862
|
"use strict";
|
|
@@ -31606,7 +31908,7 @@ class SparkCollateralSwitchAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE
|
|
|
31606
31908
|
|
|
31607
31909
|
|
|
31608
31910
|
/***/ }),
|
|
31609
|
-
/*
|
|
31911
|
+
/* 293 */
|
|
31610
31912
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31611
31913
|
|
|
31612
31914
|
"use strict";
|
|
@@ -31660,7 +31962,7 @@ class SparkClaimRewardsAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__
|
|
|
31660
31962
|
|
|
31661
31963
|
|
|
31662
31964
|
/***/ }),
|
|
31663
|
-
/*
|
|
31965
|
+
/* 294 */
|
|
31664
31966
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31665
31967
|
|
|
31666
31968
|
"use strict";
|
|
@@ -31711,7 +32013,67 @@ class SparkSwapBorrowRateModeAction extends _ActionWithL2__WEBPACK_IMPORTED_MODU
|
|
|
31711
32013
|
|
|
31712
32014
|
|
|
31713
32015
|
/***/ }),
|
|
31714
|
-
/*
|
|
32016
|
+
/* 295 */
|
|
32017
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32018
|
+
|
|
32019
|
+
"use strict";
|
|
32020
|
+
__webpack_require__.r(__webpack_exports__);
|
|
32021
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
32022
|
+
/* harmony export */ SparkDelegateCredit: () => (/* binding */ SparkDelegateCredit)
|
|
32023
|
+
/* harmony export */ });
|
|
32024
|
+
/* harmony import */ var _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
|
|
32025
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
32026
|
+
|
|
32027
|
+
|
|
32028
|
+
/**
|
|
32029
|
+
* SparkDelegateCredit - Delegate credit
|
|
32030
|
+
*
|
|
32031
|
+
* @category Spark
|
|
32032
|
+
*/
|
|
32033
|
+
class SparkDelegateCredit extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_0__.ActionWithL2 {
|
|
32034
|
+
/**
|
|
32035
|
+
* @param useOnDefaultMarket If this is true it defaults to the hardcoded market in contract
|
|
32036
|
+
* @param market Address provider for specific market
|
|
32037
|
+
* @param amount Amount of tokens to be payed back
|
|
32038
|
+
* @param rateMode Type of borrow debt [Stable: 1, Variable: 2]
|
|
32039
|
+
* @param assetId The id of the token to be borrowed
|
|
32040
|
+
* @param delegatee The id of the underlying asset to be repaid
|
|
32041
|
+
*/
|
|
32042
|
+
constructor(useOnDefaultMarket, market, amount, rateMode, assetId, delegatee) {
|
|
32043
|
+
super('SparkDelegateCredit', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('SparkDelegateCredit'), ['uint256', 'address', 'uint16', 'uint8', 'bool', 'address'], [amount, delegatee, assetId, rateMode, useOnDefaultMarket, market]);
|
|
32044
|
+
this.mappableArgs = [
|
|
32045
|
+
this.args[0],
|
|
32046
|
+
this.args[1],
|
|
32047
|
+
this.args[2],
|
|
32048
|
+
this.args[3],
|
|
32049
|
+
this.args[4],
|
|
32050
|
+
this.args[5],
|
|
32051
|
+
];
|
|
32052
|
+
}
|
|
32053
|
+
encodeInputs() {
|
|
32054
|
+
// executeActionDirectL2
|
|
32055
|
+
let encodedInput = '0x2895f3aa';
|
|
32056
|
+
// amount
|
|
32057
|
+
encodedInput = encodedInput.concat(this.numberToBytes32(this.args[0]));
|
|
32058
|
+
// delegatee
|
|
32059
|
+
encodedInput = encodedInput.concat(this.addressToBytes20(this.args[1]));
|
|
32060
|
+
// assetId
|
|
32061
|
+
encodedInput = encodedInput.concat(this.numberToBytes2(this.args[2]));
|
|
32062
|
+
// rateMode
|
|
32063
|
+
encodedInput = encodedInput.concat(this.numberToBytes1(this.args[3]));
|
|
32064
|
+
// useDefaultMarket
|
|
32065
|
+
encodedInput = encodedInput.concat(this.boolToBytes1(this.args[4]));
|
|
32066
|
+
if (!this.args[4]) {
|
|
32067
|
+
// market
|
|
32068
|
+
encodedInput = encodedInput.concat(this.addressToBytes20(this.args[5]));
|
|
32069
|
+
}
|
|
32070
|
+
return encodedInput;
|
|
32071
|
+
}
|
|
32072
|
+
}
|
|
32073
|
+
|
|
32074
|
+
|
|
32075
|
+
/***/ }),
|
|
32076
|
+
/* 296 */
|
|
31715
32077
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31716
32078
|
|
|
31717
32079
|
"use strict";
|
|
@@ -31733,21 +32095,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31733
32095
|
/* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
31734
32096
|
/* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
31735
32097
|
/* harmony export */ });
|
|
31736
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
31737
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
31738
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
31739
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
31740
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
31741
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
31742
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
31743
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
31744
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
31745
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
31746
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
31747
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
31748
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
31749
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
31750
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
32098
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(297);
|
|
32099
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(298);
|
|
32100
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(299);
|
|
32101
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(300);
|
|
32102
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(301);
|
|
32103
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(302);
|
|
32104
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(303);
|
|
32105
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(304);
|
|
32106
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(305);
|
|
32107
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(306);
|
|
32108
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(307);
|
|
32109
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(308);
|
|
32110
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(309);
|
|
32111
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(310);
|
|
32112
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(311);
|
|
31751
32113
|
|
|
31752
32114
|
|
|
31753
32115
|
|
|
@@ -31766,7 +32128,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31766
32128
|
|
|
31767
32129
|
|
|
31768
32130
|
/***/ }),
|
|
31769
|
-
/*
|
|
32131
|
+
/* 297 */
|
|
31770
32132
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31771
32133
|
|
|
31772
32134
|
"use strict";
|
|
@@ -31791,7 +32153,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31791
32153
|
|
|
31792
32154
|
|
|
31793
32155
|
/***/ }),
|
|
31794
|
-
/*
|
|
32156
|
+
/* 298 */
|
|
31795
32157
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31796
32158
|
|
|
31797
32159
|
"use strict";
|
|
@@ -31816,7 +32178,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
31816
32178
|
|
|
31817
32179
|
|
|
31818
32180
|
/***/ }),
|
|
31819
|
-
/*
|
|
32181
|
+
/* 299 */
|
|
31820
32182
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31821
32183
|
|
|
31822
32184
|
"use strict";
|
|
@@ -31841,7 +32203,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
31841
32203
|
|
|
31842
32204
|
|
|
31843
32205
|
/***/ }),
|
|
31844
|
-
/*
|
|
32206
|
+
/* 300 */
|
|
31845
32207
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31846
32208
|
|
|
31847
32209
|
"use strict";
|
|
@@ -31866,7 +32228,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31866
32228
|
|
|
31867
32229
|
|
|
31868
32230
|
/***/ }),
|
|
31869
|
-
/*
|
|
32231
|
+
/* 301 */
|
|
31870
32232
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31871
32233
|
|
|
31872
32234
|
"use strict";
|
|
@@ -31891,7 +32253,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31891
32253
|
|
|
31892
32254
|
|
|
31893
32255
|
/***/ }),
|
|
31894
|
-
/*
|
|
32256
|
+
/* 302 */
|
|
31895
32257
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31896
32258
|
|
|
31897
32259
|
"use strict";
|
|
@@ -31916,7 +32278,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31916
32278
|
|
|
31917
32279
|
|
|
31918
32280
|
/***/ }),
|
|
31919
|
-
/*
|
|
32281
|
+
/* 303 */
|
|
31920
32282
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31921
32283
|
|
|
31922
32284
|
"use strict";
|
|
@@ -31941,7 +32303,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31941
32303
|
|
|
31942
32304
|
|
|
31943
32305
|
/***/ }),
|
|
31944
|
-
/*
|
|
32306
|
+
/* 304 */
|
|
31945
32307
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31946
32308
|
|
|
31947
32309
|
"use strict";
|
|
@@ -31966,7 +32328,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31966
32328
|
|
|
31967
32329
|
|
|
31968
32330
|
/***/ }),
|
|
31969
|
-
/*
|
|
32331
|
+
/* 305 */
|
|
31970
32332
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31971
32333
|
|
|
31972
32334
|
"use strict";
|
|
@@ -31991,7 +32353,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
31991
32353
|
|
|
31992
32354
|
|
|
31993
32355
|
/***/ }),
|
|
31994
|
-
/*
|
|
32356
|
+
/* 306 */
|
|
31995
32357
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31996
32358
|
|
|
31997
32359
|
"use strict";
|
|
@@ -32016,7 +32378,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
32016
32378
|
|
|
32017
32379
|
|
|
32018
32380
|
/***/ }),
|
|
32019
|
-
/*
|
|
32381
|
+
/* 307 */
|
|
32020
32382
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32021
32383
|
|
|
32022
32384
|
"use strict";
|
|
@@ -32041,7 +32403,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
32041
32403
|
|
|
32042
32404
|
|
|
32043
32405
|
/***/ }),
|
|
32044
|
-
/*
|
|
32406
|
+
/* 308 */
|
|
32045
32407
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32046
32408
|
|
|
32047
32409
|
"use strict";
|
|
@@ -32066,7 +32428,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
32066
32428
|
|
|
32067
32429
|
|
|
32068
32430
|
/***/ }),
|
|
32069
|
-
/*
|
|
32431
|
+
/* 309 */
|
|
32070
32432
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32071
32433
|
|
|
32072
32434
|
"use strict";
|
|
@@ -32091,7 +32453,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
32091
32453
|
|
|
32092
32454
|
|
|
32093
32455
|
/***/ }),
|
|
32094
|
-
/*
|
|
32456
|
+
/* 310 */
|
|
32095
32457
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32096
32458
|
|
|
32097
32459
|
"use strict";
|
|
@@ -32116,7 +32478,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
32116
32478
|
|
|
32117
32479
|
|
|
32118
32480
|
/***/ }),
|
|
32119
|
-
/*
|
|
32481
|
+
/* 311 */
|
|
32120
32482
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32121
32483
|
|
|
32122
32484
|
"use strict";
|
|
@@ -32141,7 +32503,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
32141
32503
|
|
|
32142
32504
|
|
|
32143
32505
|
/***/ }),
|
|
32144
|
-
/*
|
|
32506
|
+
/* 312 */
|
|
32145
32507
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32146
32508
|
|
|
32147
32509
|
"use strict";
|
|
@@ -32156,13 +32518,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32156
32518
|
/* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
32157
32519
|
/* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
32158
32520
|
/* harmony export */ });
|
|
32159
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
32160
|
-
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
32161
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
32162
|
-
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
32163
|
-
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
32164
|
-
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
32165
|
-
/* harmony import */ var _curveusd_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
32521
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(313);
|
|
32522
|
+
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(148);
|
|
32523
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(315);
|
|
32524
|
+
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(240);
|
|
32525
|
+
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(221);
|
|
32526
|
+
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(207);
|
|
32527
|
+
/* harmony import */ var _curveusd_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(275);
|
|
32166
32528
|
/* harmony import */ var _basic_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(118);
|
|
32167
32529
|
|
|
32168
32530
|
|
|
@@ -32176,7 +32538,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32176
32538
|
|
|
32177
32539
|
|
|
32178
32540
|
/***/ }),
|
|
32179
|
-
/*
|
|
32541
|
+
/* 313 */
|
|
32180
32542
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32181
32543
|
|
|
32182
32544
|
"use strict";
|
|
@@ -32188,7 +32550,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32188
32550
|
/* harmony export */ });
|
|
32189
32551
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
32190
32552
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
32191
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
32553
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
32192
32554
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
32193
32555
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20);
|
|
32194
32556
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -32366,14 +32728,14 @@ const createSellAction = (sellAmount, sellToken, buyToken, expectedPrice, accept
|
|
|
32366
32728
|
|
|
32367
32729
|
|
|
32368
32730
|
/***/ }),
|
|
32369
|
-
/*
|
|
32731
|
+
/* 314 */
|
|
32370
32732
|
/***/ ((module) => {
|
|
32371
32733
|
|
|
32372
32734
|
"use strict";
|
|
32373
|
-
module.exports =
|
|
32735
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__314__;
|
|
32374
32736
|
|
|
32375
32737
|
/***/ }),
|
|
32376
|
-
/*
|
|
32738
|
+
/* 315 */
|
|
32377
32739
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32378
32740
|
|
|
32379
32741
|
"use strict";
|
|
@@ -32381,7 +32743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32381
32743
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
32382
32744
|
/* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
|
|
32383
32745
|
/* harmony export */ });
|
|
32384
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
32746
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(316);
|
|
32385
32747
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
32386
32748
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32387
32749
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -32408,14 +32770,14 @@ const getAssetAddrByTokenId = (web3, tokenId) => __awaiter(void 0, void 0, void
|
|
|
32408
32770
|
|
|
32409
32771
|
|
|
32410
32772
|
/***/ }),
|
|
32411
|
-
/*
|
|
32773
|
+
/* 316 */
|
|
32412
32774
|
/***/ ((module) => {
|
|
32413
32775
|
|
|
32414
32776
|
"use strict";
|
|
32415
32777
|
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"}]');
|
|
32416
32778
|
|
|
32417
32779
|
/***/ }),
|
|
32418
|
-
/*
|
|
32780
|
+
/* 317 */
|
|
32419
32781
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32420
32782
|
|
|
32421
32783
|
"use strict";
|
|
@@ -32768,7 +33130,7 @@ var curveUsdSoftLiquidationTrigger = {
|
|
|
32768
33130
|
};
|
|
32769
33131
|
|
|
32770
33132
|
/***/ }),
|
|
32771
|
-
/*
|
|
33133
|
+
/* 318 */
|
|
32772
33134
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32773
33135
|
|
|
32774
33136
|
"use strict";
|
|
@@ -32794,7 +33156,7 @@ class OptimismStrategies extends _private_StrategiesAutomation__WEBPACK_IMPORTED
|
|
|
32794
33156
|
}
|
|
32795
33157
|
|
|
32796
33158
|
/***/ }),
|
|
32797
|
-
/*
|
|
33159
|
+
/* 319 */
|
|
32798
33160
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32799
33161
|
|
|
32800
33162
|
"use strict";
|
|
@@ -32820,7 +33182,7 @@ class ArbitrumStrategies extends _private_StrategiesAutomation__WEBPACK_IMPORTED
|
|
|
32820
33182
|
}
|
|
32821
33183
|
|
|
32822
33184
|
/***/ }),
|
|
32823
|
-
/*
|
|
33185
|
+
/* 320 */
|
|
32824
33186
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
32825
33187
|
|
|
32826
33188
|
"use strict";
|
|
@@ -32844,7 +33206,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32844
33206
|
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
|
|
32845
33207
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
32846
33208
|
/* harmony import */ var _subDataService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
32847
|
-
/* harmony import */ var _triggerService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
33209
|
+
/* harmony import */ var _triggerService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(317);
|
|
32848
33210
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(17);
|
|
32849
33211
|
|
|
32850
33212
|
|
|
@@ -33176,11 +33538,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33176
33538
|
/* harmony import */ var _automation_public_legacy_LegacyAaveAutomation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
|
|
33177
33539
|
/* harmony import */ var _automation_public_legacy_LegacyCompoundAutomation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25);
|
|
33178
33540
|
/* harmony import */ var _automation_public_EthereumStrategies__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26);
|
|
33179
|
-
/* harmony import */ var _automation_public_OptimismStrategies__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
33180
|
-
/* harmony import */ var _automation_public_ArbitrumStrategies__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
33181
|
-
/* harmony import */ var _services_triggerService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
33541
|
+
/* harmony import */ var _automation_public_OptimismStrategies__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(318);
|
|
33542
|
+
/* harmony import */ var _automation_public_ArbitrumStrategies__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(319);
|
|
33543
|
+
/* harmony import */ var _services_triggerService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(317);
|
|
33182
33544
|
/* harmony import */ var _services_subDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(30);
|
|
33183
|
-
/* harmony import */ var _services_strategySubService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
33545
|
+
/* harmony import */ var _services_strategySubService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(320);
|
|
33184
33546
|
/* harmony import */ var _services_strategiesService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(28);
|
|
33185
33547
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(4);
|
|
33186
33548
|
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5);
|