@defisaver/sdk 1.2.28 → 1.2.30

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.
Files changed (45) hide show
  1. package/esm/src/actions/fluid/FluidDexOpenAction.d.ts +20 -0
  2. package/esm/src/actions/fluid/FluidDexOpenAction.js +45 -0
  3. package/esm/src/actions/fluid/FluidDexRegularBorrowAction.d.ts +17 -0
  4. package/esm/src/actions/fluid/FluidDexRegularBorrowAction.js +36 -0
  5. package/esm/src/actions/fluid/FluidDexRegularPaybackAction.d.ts +16 -0
  6. package/esm/src/actions/fluid/FluidDexRegularPaybackAction.js +34 -0
  7. package/esm/src/actions/fluid/FluidDexRegularSupplyAction.d.ts +16 -0
  8. package/esm/src/actions/fluid/FluidDexRegularSupplyAction.js +33 -0
  9. package/esm/src/actions/fluid/FluidDexRegularWithdrawAction.d.ts +17 -0
  10. package/esm/src/actions/fluid/FluidDexRegularWithdrawAction.js +37 -0
  11. package/esm/src/actions/fluid/FluidDexSmartCollSupplyAction.d.ts +16 -0
  12. package/esm/src/actions/fluid/FluidDexSmartCollSupplyAction.js +33 -0
  13. package/esm/src/actions/fluid/FluidDexSmartCollWithdrawAction.d.ts +17 -0
  14. package/esm/src/actions/fluid/FluidDexSmartCollWithdrawAction.js +37 -0
  15. package/esm/src/actions/fluid/FluidDexSmartDebtBorrowAction.d.ts +17 -0
  16. package/esm/src/actions/fluid/FluidDexSmartDebtBorrowAction.js +36 -0
  17. package/esm/src/actions/fluid/FluidDexSmartDebtPaybackAction.d.ts +16 -0
  18. package/esm/src/actions/fluid/FluidDexSmartDebtPaybackAction.js +34 -0
  19. package/esm/src/actions/fluid/index.d.ts +9 -0
  20. package/esm/src/actions/fluid/index.js +9 -0
  21. package/esm/src/actions/index.d.ts +2 -1
  22. package/esm/src/actions/index.js +2 -1
  23. package/esm/src/actions/pendle/PendleTokenRedeemAction.d.ts +24 -0
  24. package/esm/src/actions/pendle/PendleTokenRedeemAction.js +44 -0
  25. package/esm/src/actions/pendle/index.d.ts +1 -0
  26. package/esm/src/actions/pendle/index.js +1 -0
  27. package/esm/src/addresses.d.ts +24 -0
  28. package/esm/src/addresses.js +16 -3
  29. package/esm/src/index.d.ts +96 -0
  30. package/package.json +2 -2
  31. package/src/actions/fluid/FluidDexOpenAction.ts +61 -0
  32. package/src/actions/fluid/FluidDexRegularBorrowAction.ts +49 -0
  33. package/src/actions/fluid/FluidDexRegularPaybackAction.ts +46 -0
  34. package/src/actions/fluid/FluidDexRegularSupplyAction.ts +45 -0
  35. package/src/actions/fluid/FluidDexRegularWithdrawAction.ts +50 -0
  36. package/src/actions/fluid/FluidDexSmartCollSupplyAction.ts +45 -0
  37. package/src/actions/fluid/FluidDexSmartCollWithdrawAction.ts +50 -0
  38. package/src/actions/fluid/FluidDexSmartDebtBorrowAction.ts +49 -0
  39. package/src/actions/fluid/FluidDexSmartDebtPaybackAction.ts +46 -0
  40. package/src/actions/fluid/index.ts +11 -1
  41. package/src/actions/index.ts +2 -0
  42. package/src/actions/pendle/PendleTokenRedeemAction.ts +51 -0
  43. package/src/actions/pendle/index.ts +1 -0
  44. package/src/addresses.ts +17 -3
  45. package/umd/index.js +453 -72
package/umd/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  exports["defisaver-sdk"] = factory(require("web3-eth-abi"), require("web3-utils"), require("decimal.js"), require("@defisaver/tokens"), require("@ethersproject/solidity"), require("@ethersproject/address"), require("axios"));
8
8
  else
9
9
  root["defisaver-sdk"] = factory(root["web3-eth-abi"], root["web3-utils"], root["decimal.js"], root["@defisaver/tokens"], root["@ethersproject/solidity"], root["@ethersproject/address"], root["axios"]);
10
- })(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__, __WEBPACK_EXTERNAL_MODULE__412__) => {
10
+ })(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__, __WEBPACK_EXTERNAL_MODULE__423__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ([
@@ -1582,8 +1582,14 @@ var actionAddresses = {
1582
1582
  FluidVaultT1Payback: '0xa7A4B84D38CD33F9901922687db24B8aE14f2455',
1583
1583
  FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
1584
1584
  FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
1585
- FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724',
1586
- FluidClaim: '0x0bC0aeF7702C204DEF308994C84D8fBce676dB47'
1585
+ FluidView: '0xc8df052bD7A8d76a34c09e758Dff3c6298C0115c',
1586
+ FluidClaim: '0x0bC0aeF7702C204DEF308994C84D8fBce676dB47',
1587
+ // fluid dex actions
1588
+ FluidDexOpen: '0x071e1369E1c9030Aa1a089bDE2F72797a14FE3b3',
1589
+ FluidDexSupply: '0xB3BE39850d8939Cceb4Fc49c415c428548FA9f9C',
1590
+ FluidDexBorrow: '0x3fa8EF6DA8f5b2BaAee77493a3A3dA68a7Aa75f3',
1591
+ FluidDexPayback: '0xD733BD32F4AAEe92a983E2021B85ca5d31236FA0',
1592
+ FluidDexWithdraw: '0x14d5bb8E96fbf7C1f9A8E3EFD0eF5fe6832ff3cd'
1587
1593
  },
1588
1594
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
1589
1595
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
@@ -1716,7 +1722,12 @@ var actionAddresses = {
1716
1722
  FluidVaultT1Payback: '0x226c871E0a27B12065c9128b8e7440b054b59155',
1717
1723
  FluidVaultT1Withdraw: '0xc13d93227d97197e5F1751d0a3e80c1080A5fa2B',
1718
1724
  FluidVaultT1Supply: '0xBCF0Dc5bb2C4434AD07369207904F5900d391b0B',
1719
- FluidView: '0x2d51BB6Ac5c1eC8DD6432e1FF980fC864B626e01'
1725
+ FluidView: '0xf9e6d5568887ac8eC6fA33B7eefD2A176A958e71',
1726
+ FluidDexOpen: '0xA456f13d358B8B93bE6778be3244111E267C0AaC',
1727
+ FluidDexSupply: '0x3E49c4f914E01e5612719a7B4965e4FAfb324762',
1728
+ FluidDexBorrow: '0x8626b70CDf64e557fDdcFbcb783833Dc314d95F4',
1729
+ FluidDexPayback: '0xA9B46Da016F22cf9F8841A30881bB88E2Ad5CA94',
1730
+ FluidDexWithdraw: '0x076D5434793798b153298bF70b014f5E6145aB2E'
1720
1731
  },
1721
1732
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
1722
1733
  // Basic
@@ -1786,8 +1797,10 @@ var actionAddresses = {
1786
1797
  FluidVaultT1Payback: '0xA65daAa4FB4Fe9feaDF25bf2C062c3Faa2b02e5D',
1787
1798
  FluidVaultT1Withdraw: '0x26bE6a2EdE97aE826ed9DA8Fb79428037fe55cEB',
1788
1799
  FluidVaultT1Supply: '0x028ACA45244d4897ff80ef65ed0b735Bb0D4B0A5',
1789
- FluidView: '0x5835CaDbA8843CD6d6d55782908351E9c74221aD',
1790
- TokenizedVaultAdapter: '0x88cf6cfa51b6f771570f6df450edf1c886212d3e'
1800
+ FluidView: '0x6cd4D6af4F292817eA2A2311F099dF26cd015028',
1801
+ TokenizedVaultAdapter: '0x88cf6cfa51b6f771570f6df450edf1c886212d3e',
1802
+ // pendle
1803
+ PendleTokenRedeem: '0x94682544aCC5f4D82ECB1ab97998baa0e428EA0f'
1791
1804
  }
1792
1805
  };
1793
1806
  var otherAddresses = {
@@ -2138,6 +2151,7 @@ __webpack_require__.r(__webpack_exports__);
2138
2151
  /* harmony export */ morpho: () => (/* reexport module object */ _morpho__WEBPACK_IMPORTED_MODULE_23__),
2139
2152
  /* harmony export */ morphoblue: () => (/* reexport module object */ _morpho_blue__WEBPACK_IMPORTED_MODULE_28__),
2140
2153
  /* harmony export */ mstable: () => (/* reexport module object */ _mstable__WEBPACK_IMPORTED_MODULE_17__),
2154
+ /* harmony export */ pendle: () => (/* reexport module object */ _pendle__WEBPACK_IMPORTED_MODULE_38__),
2141
2155
  /* harmony export */ rari: () => (/* reexport module object */ _rari__WEBPACK_IMPORTED_MODULE_18__),
2142
2156
  /* harmony export */ reflexer: () => (/* reexport module object */ _reflexer__WEBPACK_IMPORTED_MODULE_6__),
2143
2157
  /* harmony export */ renzo: () => (/* reexport module object */ _renzo__WEBPACK_IMPORTED_MODULE_35__),
@@ -2186,6 +2200,8 @@ __webpack_require__.r(__webpack_exports__);
2186
2200
  /* harmony import */ var _renzo__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(368);
2187
2201
  /* harmony import */ var _etherfi__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(370);
2188
2202
  /* harmony import */ var _fluid__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(374);
2203
+ /* harmony import */ var _pendle__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(391);
2204
+
2189
2205
 
2190
2206
 
2191
2207
 
@@ -15029,6 +15045,15 @@ class EtherFiUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
15029
15045
  __webpack_require__.r(__webpack_exports__);
15030
15046
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15031
15047
  /* harmony export */ FluidClaimAction: () => (/* reexport safe */ _FluidClaimAction__WEBPACK_IMPORTED_MODULE_6__.FluidClaimAction),
15048
+ /* harmony export */ FluidDexOpenAction: () => (/* reexport safe */ _FluidDexOpenAction__WEBPACK_IMPORTED_MODULE_7__.FluidDexOpenAction),
15049
+ /* harmony export */ FluidDexRegularBorrowAction: () => (/* reexport safe */ _FluidDexRegularBorrowAction__WEBPACK_IMPORTED_MODULE_8__.FluidDexRegularBorrowAction),
15050
+ /* harmony export */ FluidDexRegularPaybackAction: () => (/* reexport safe */ _FluidDexRegularPaybackAction__WEBPACK_IMPORTED_MODULE_10__.FluidDexRegularPaybackAction),
15051
+ /* harmony export */ FluidDexRegularSupplyAction: () => (/* reexport safe */ _FluidDexRegularSupplyAction__WEBPACK_IMPORTED_MODULE_9__.FluidDexRegularSupplyAction),
15052
+ /* harmony export */ FluidDexRegularWithdrawAction: () => (/* reexport safe */ _FluidDexRegularWithdrawAction__WEBPACK_IMPORTED_MODULE_11__.FluidDexRegularWithdrawAction),
15053
+ /* harmony export */ FluidDexSmartCollSupplyAction: () => (/* reexport safe */ _FluidDexSmartCollSupplyAction__WEBPACK_IMPORTED_MODULE_12__.FluidDexSmartCollSupplyAction),
15054
+ /* harmony export */ FluidDexSmartCollWithdrawAction: () => (/* reexport safe */ _FluidDexSmartCollWithdrawAction__WEBPACK_IMPORTED_MODULE_13__.FluidDexSmartCollWithdrawAction),
15055
+ /* harmony export */ FluidDexSmartDebtBorrowAction: () => (/* reexport safe */ _FluidDexSmartDebtBorrowAction__WEBPACK_IMPORTED_MODULE_14__.FluidDexSmartDebtBorrowAction),
15056
+ /* harmony export */ FluidDexSmartDebtPaybackAction: () => (/* reexport safe */ _FluidDexSmartDebtPaybackAction__WEBPACK_IMPORTED_MODULE_15__.FluidDexSmartDebtPaybackAction),
15032
15057
  /* harmony export */ FluidVaultT1AdjustAction: () => (/* reexport safe */ _FluidVaultT1AdjustAction__WEBPACK_IMPORTED_MODULE_1__.FluidVaultT1AdjustAction),
15033
15058
  /* harmony export */ FluidVaultT1BorrowAction: () => (/* reexport safe */ _FluidVaultT1BorrowAction__WEBPACK_IMPORTED_MODULE_2__.FluidVaultT1BorrowAction),
15034
15059
  /* harmony export */ FluidVaultT1OpenAction: () => (/* reexport safe */ _FluidVaultT1OpenAction__WEBPACK_IMPORTED_MODULE_0__.FluidVaultT1OpenAction),
@@ -15043,6 +15068,24 @@ __webpack_require__.r(__webpack_exports__);
15043
15068
  /* harmony import */ var _FluidVaultT1SupplyAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(379);
15044
15069
  /* harmony import */ var _FluidVaultT1WithdrawAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(380);
15045
15070
  /* harmony import */ var _FluidClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(381);
15071
+ /* harmony import */ var _FluidDexOpenAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(382);
15072
+ /* harmony import */ var _FluidDexRegularBorrowAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(383);
15073
+ /* harmony import */ var _FluidDexRegularSupplyAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(384);
15074
+ /* harmony import */ var _FluidDexRegularPaybackAction__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(385);
15075
+ /* harmony import */ var _FluidDexRegularWithdrawAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(386);
15076
+ /* harmony import */ var _FluidDexSmartCollSupplyAction__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(387);
15077
+ /* harmony import */ var _FluidDexSmartCollWithdrawAction__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(388);
15078
+ /* harmony import */ var _FluidDexSmartDebtBorrowAction__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(389);
15079
+ /* harmony import */ var _FluidDexSmartDebtPaybackAction__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(390);
15080
+
15081
+
15082
+
15083
+
15084
+
15085
+
15086
+
15087
+
15088
+
15046
15089
 
15047
15090
 
15048
15091
 
@@ -15355,6 +15398,344 @@ class FluidClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15355
15398
  /* 382 */
15356
15399
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15357
15400
 
15401
+ __webpack_require__.r(__webpack_exports__);
15402
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15403
+ /* harmony export */ FluidDexOpenAction: () => (/* binding */ FluidDexOpenAction)
15404
+ /* harmony export */ });
15405
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15406
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15407
+
15408
+
15409
+ /**
15410
+ * FluidDexOpenAction - Open a new position in the Fluid DEX vault.
15411
+ *
15412
+ * @category Fluid
15413
+ */
15414
+ class FluidDexOpenAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15415
+ /**
15416
+ * @param vault The address of the Fluid DEX vault.
15417
+ * @param from Address to pull the collateral from.
15418
+ * @param to Address to send the borrowed assets to.
15419
+ * @param supplyAmount Amount of collateral to deposit. Used if vault is T3.
15420
+ * @param supplyVariableData Variable data for supply action. Used if vault is T2 or T4.
15421
+ * @param borrowAmount Amount of debt to borrow. Used if vault is T2.
15422
+ * @param borrowVariableData Variable data for borrow action. Used if vault is T3 or T4.
15423
+ * @param wrapBorrowedEth Whether to wrap the borrowed ETH into WETH if one of the borrowed assets is ETH.
15424
+ */
15425
+ constructor(vault, from, to, supplyAmount, supplyVariableData, borrowAmount, borrowVariableData, wrapBorrowedEth) {
15426
+ super('FluidDexOpen', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexOpen'), ['address', 'address', 'address', 'uint256', ['uint256', 'uint256', 'uint256'], 'uint256', ['uint256', 'uint256', 'uint256'], 'bool'], [vault, from, to, supplyAmount, supplyVariableData, borrowAmount, borrowVariableData, wrapBorrowedEth]);
15427
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[5], this.args[6][0], this.args[6][1], this.args[6][2], this.args[7]];
15428
+ }
15429
+ }
15430
+
15431
+ /***/ }),
15432
+ /* 383 */
15433
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15434
+
15435
+ __webpack_require__.r(__webpack_exports__);
15436
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15437
+ /* harmony export */ FluidDexRegularBorrowAction: () => (/* binding */ FluidDexRegularBorrowAction)
15438
+ /* harmony export */ });
15439
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15440
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15441
+
15442
+
15443
+ /**
15444
+ * FluidDexRegularBorrowAction - Borrow assets from the Fluid DEX T2 vault.
15445
+ *
15446
+ * @category Fluid
15447
+ */
15448
+ class FluidDexRegularBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15449
+ /**
15450
+ * @param vault The address of the Fluid DEX vault.
15451
+ * @param to Address to send the borrowed assets to.
15452
+ * @param nftId The NFT ID of the position.
15453
+ * @param borrowAmount Amount of debt to borrow
15454
+ * @param wrapBorrowedEth Whether to wrap the borrowed ETH into WETH if one of the borrowed assets is ETH.
15455
+ */
15456
+ constructor(vault, to, nftId, borrowAmount, wrapBorrowedEth) {
15457
+ super('FluidDexBorrow', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexBorrow'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256'], 'bool'], [vault, to, nftId, borrowAmount, ['0', '0', '0'], wrapBorrowedEth]);
15458
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[5]];
15459
+ }
15460
+ }
15461
+
15462
+ /***/ }),
15463
+ /* 384 */
15464
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15465
+
15466
+ __webpack_require__.r(__webpack_exports__);
15467
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15468
+ /* harmony export */ FluidDexRegularSupplyAction: () => (/* binding */ FluidDexRegularSupplyAction)
15469
+ /* harmony export */ });
15470
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15471
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15472
+
15473
+
15474
+ /**
15475
+ * FluidDexRegularSupplyAction - Supply collateral to the Fluid DEX T3 vault.
15476
+ *
15477
+ * @category Fluid
15478
+ */
15479
+ class FluidDexRegularSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15480
+ /**
15481
+ * @param vault The address of the Fluid DEX vault.
15482
+ * @param from Address to pull the collateral from.
15483
+ * @param nftId The NFT ID of the position.
15484
+ * @param supplyAmount Amount of collateral to deposit.
15485
+ */
15486
+ constructor(vault, from, nftId, supplyAmount) {
15487
+ super('FluidDexSupply', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexSupply'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256']], [vault, from, nftId, supplyAmount, ['0', '0', '0']]);
15488
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2]];
15489
+ }
15490
+ }
15491
+
15492
+ /***/ }),
15493
+ /* 385 */
15494
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15495
+
15496
+ __webpack_require__.r(__webpack_exports__);
15497
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15498
+ /* harmony export */ FluidDexRegularPaybackAction: () => (/* binding */ FluidDexRegularPaybackAction)
15499
+ /* harmony export */ });
15500
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15501
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15502
+
15503
+
15504
+ /**
15505
+ * FluidDexRegularPaybackAction - Payback debt on the Fluid DEX T2 vault.
15506
+ *
15507
+ * @category Fluid
15508
+ */
15509
+ class FluidDexRegularPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15510
+ /**
15511
+ * @param vault The address of the Fluid DEX vault.
15512
+ * @param from Address to pull the debt tokens from.
15513
+ * @param nftId The NFT ID of the position.
15514
+ * @param paybackAmount The amount of debt to payback.
15515
+ */
15516
+ constructor(vault, from, nftId, paybackAmount) {
15517
+ super('FluidDexPayback', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexPayback'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256', 'uint256']], [vault, from, nftId, paybackAmount, ['0', '0', '0', '0']]);
15518
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[4][3]];
15519
+ }
15520
+ }
15521
+
15522
+ /***/ }),
15523
+ /* 386 */
15524
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15525
+
15526
+ __webpack_require__.r(__webpack_exports__);
15527
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15528
+ /* harmony export */ FluidDexRegularWithdrawAction: () => (/* binding */ FluidDexRegularWithdrawAction)
15529
+ /* harmony export */ });
15530
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15531
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15532
+
15533
+
15534
+ /**
15535
+ * FluidDexRegularWithdrawAction - Withdraw assets from the Fluid DEX T3 vault.
15536
+ *
15537
+ * @category Fluid
15538
+ */
15539
+ class FluidDexRegularWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15540
+ /**
15541
+ * @param vault The address of the Fluid DEX vault.
15542
+ * @param to Address to send the withdrawn assets to.
15543
+ * @param nftId The NFT ID of the position.
15544
+ * @param withdrawAmount Amount of collateral to withdraw.
15545
+ * @param wrapWithdrawnEth Whether to wrap the withdrawn ETH into WETH if one of the withdrawn assets is ETH.
15546
+ */
15547
+ constructor(vault, to, nftId, withdrawAmount, wrapWithdrawnEth) {
15548
+ super('FluidDexWithdraw', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexWithdraw'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256', 'uint256'], 'bool'], [vault, to, nftId, withdrawAmount, ['0', '0', '0', '0'], wrapWithdrawnEth]);
15549
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[4][3], this.args[5]];
15550
+ }
15551
+ }
15552
+
15553
+ /***/ }),
15554
+ /* 387 */
15555
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15556
+
15557
+ __webpack_require__.r(__webpack_exports__);
15558
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15559
+ /* harmony export */ FluidDexSmartCollSupplyAction: () => (/* binding */ FluidDexSmartCollSupplyAction)
15560
+ /* harmony export */ });
15561
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15562
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15563
+
15564
+
15565
+ /**
15566
+ * FluidDexSmartCollSupplyAction - Supply collateral to the Fluid DEX with smart collateral (T2, T4).
15567
+ *
15568
+ * @category Fluid
15569
+ */
15570
+ class FluidDexSmartCollSupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15571
+ /**
15572
+ * @param vault The address of the Fluid DEX vault.
15573
+ * @param from Address to pull the collateral from.
15574
+ * @param nftId The NFT ID of the position.
15575
+ * @param supplyVariableData Variable data for supply action
15576
+ */
15577
+ constructor(vault, from, nftId, supplyVariableData) {
15578
+ super('FluidDexSupply', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexSupply'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256']], [vault, from, nftId, '0', supplyVariableData]);
15579
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2]];
15580
+ }
15581
+ }
15582
+
15583
+ /***/ }),
15584
+ /* 388 */
15585
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15586
+
15587
+ __webpack_require__.r(__webpack_exports__);
15588
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15589
+ /* harmony export */ FluidDexSmartCollWithdrawAction: () => (/* binding */ FluidDexSmartCollWithdrawAction)
15590
+ /* harmony export */ });
15591
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15592
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15593
+
15594
+
15595
+ /**
15596
+ * FluidDexSmartCollWithdrawAction - Withdraw assets from the Fluid DEX with smart collateral (T2, T4).
15597
+ *
15598
+ * @category Fluid
15599
+ */
15600
+ class FluidDexSmartCollWithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15601
+ /**
15602
+ * @param vault The address of the Fluid DEX vault.
15603
+ * @param to Address to send the withdrawn assets to.
15604
+ * @param nftId The NFT ID of the position.
15605
+ * @param withdrawVariableData Variable data for withdraw action.
15606
+ * @param wrapWithdrawnEth Whether to wrap the withdrawn ETH into WETH if one of the withdrawn assets is ETH.
15607
+ */
15608
+ constructor(vault, to, nftId, withdrawVariableData, wrapWithdrawnEth) {
15609
+ super('FluidDexWithdraw', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexWithdraw'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256', 'uint256'], 'bool'], [vault, to, nftId, '0', withdrawVariableData, wrapWithdrawnEth]);
15610
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[4][3], this.args[5]];
15611
+ }
15612
+ }
15613
+
15614
+ /***/ }),
15615
+ /* 389 */
15616
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15617
+
15618
+ __webpack_require__.r(__webpack_exports__);
15619
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15620
+ /* harmony export */ FluidDexSmartDebtBorrowAction: () => (/* binding */ FluidDexSmartDebtBorrowAction)
15621
+ /* harmony export */ });
15622
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15623
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15624
+
15625
+
15626
+ /**
15627
+ * FluidDexSmartDebtBorrowAction - Borrow assets from the Fluid DEX with smart debt (T3, T4).
15628
+ *
15629
+ * @category Fluid
15630
+ */
15631
+ class FluidDexSmartDebtBorrowAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15632
+ /**
15633
+ * @param vault The address of the Fluid DEX vault.
15634
+ * @param to Address to send the borrowed assets to.
15635
+ * @param nftId The NFT ID of the position.
15636
+ * @param borrowVariableData Variable data for borrow action.
15637
+ * @param wrapBorrowedEth Whether to wrap the borrowed ETH into WETH if one of the borrowed assets is ETH.
15638
+ */
15639
+ constructor(vault, to, nftId, borrowVariableData, wrapBorrowedEth) {
15640
+ super('FluidDexBorrow', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexBorrow'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256'], 'bool'], [vault, to, nftId, '0', borrowVariableData, wrapBorrowedEth]);
15641
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[5]];
15642
+ }
15643
+ }
15644
+
15645
+ /***/ }),
15646
+ /* 390 */
15647
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15648
+
15649
+ __webpack_require__.r(__webpack_exports__);
15650
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15651
+ /* harmony export */ FluidDexSmartDebtPaybackAction: () => (/* binding */ FluidDexSmartDebtPaybackAction)
15652
+ /* harmony export */ });
15653
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15654
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15655
+
15656
+
15657
+ /**
15658
+ * FluidDexSmartDebtPaybackAction - Payback debt on the Fluid DEX with smart debt (T3, T4).
15659
+ *
15660
+ * @category Fluid
15661
+ */
15662
+ class FluidDexSmartDebtPaybackAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15663
+ /**
15664
+ * @param vault The address of the Fluid DEX vault.
15665
+ * @param from Address to pull the debt tokens from.
15666
+ * @param nftId The NFT ID of the position.
15667
+ * @param paybackVariableData Variable data for payback action.
15668
+ */
15669
+ constructor(vault, from, nftId, paybackVariableData) {
15670
+ super('FluidDexPayback', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidDexPayback'), ['address', 'address', 'uint256', 'uint256', ['uint256', 'uint256', 'uint256', 'uint256']], [vault, from, nftId, '0', paybackVariableData]);
15671
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4][0], this.args[4][1], this.args[4][2], this.args[4][3]];
15672
+ }
15673
+ }
15674
+
15675
+ /***/ }),
15676
+ /* 391 */
15677
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15678
+
15679
+ __webpack_require__.r(__webpack_exports__);
15680
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15681
+ /* harmony export */ PendleTokenRedeemAction: () => (/* reexport safe */ _PendleTokenRedeemAction__WEBPACK_IMPORTED_MODULE_0__.PendleTokenRedeemAction)
15682
+ /* harmony export */ });
15683
+ /* harmony import */ var _PendleTokenRedeemAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(392);
15684
+
15685
+
15686
+ /***/ }),
15687
+ /* 392 */
15688
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15689
+
15690
+ __webpack_require__.r(__webpack_exports__);
15691
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15692
+ /* harmony export */ PendleTokenRedeemAction: () => (/* binding */ PendleTokenRedeemAction)
15693
+ /* harmony export */ });
15694
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15695
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15696
+ 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); } }
15697
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
15698
+ 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; }
15699
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
15700
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15701
+
15702
+
15703
+ /**
15704
+ * PendleTokenRedeemAction - Redeem PT tokens for underlying tokens
15705
+ *
15706
+ * @category Pendle
15707
+ */
15708
+ class PendleTokenRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15709
+ /**
15710
+ * @param market The address of the Pendle market
15711
+ * @param underlyingToken The address of the underlying token
15712
+ * @param ptToken The address of the PT token
15713
+ * @param from The address from where the PT tokens will be pulled
15714
+ * @param to The address of the recipient to receive the underlying tokens
15715
+ * @param ptAmount The amount of PT tokens to redeem
15716
+ * @param minAmountOut The minimum amount of underlying tokens to receive
15717
+ */
15718
+ constructor(market, underlyingToken, ptToken, from, to, ptAmount, minAmountOut) {
15719
+ super('PendleTokenRedeem', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('PendleTokenRedeem'), ['address', 'address', 'address', 'address', 'uint256', 'uint256'], [market, underlyingToken, from, to, ptAmount, minAmountOut]);
15720
+ _defineProperty(this, "tokenForApproval", void 0);
15721
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4], this.args[5]];
15722
+ this.tokenForApproval = ptToken;
15723
+ }
15724
+ getAssetsToApprove() {
15725
+ var _this = this;
15726
+ return _asyncToGenerator(function* () {
15727
+ return [{
15728
+ asset: _this.tokenForApproval,
15729
+ owner: _this.args[2]
15730
+ }];
15731
+ })();
15732
+ }
15733
+ }
15734
+
15735
+ /***/ }),
15736
+ /* 393 */
15737
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15738
+
15358
15739
  __webpack_require__.r(__webpack_exports__);
15359
15740
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15360
15741
  /* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
@@ -15385,33 +15766,33 @@ __webpack_require__.r(__webpack_exports__);
15385
15766
  /* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
15386
15767
  /* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
15387
15768
  /* harmony export */ });
15388
- /* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(383);
15389
- /* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(384);
15390
- /* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(385);
15391
- /* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(386);
15392
- /* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(387);
15393
- /* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(388);
15394
- /* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(389);
15395
- /* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(390);
15396
- /* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(391);
15397
- /* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(392);
15398
- /* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(393);
15399
- /* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(394);
15400
- /* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(395);
15401
- /* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(396);
15402
- /* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(397);
15403
- /* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(398);
15404
- /* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(399);
15405
- /* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(400);
15406
- /* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(401);
15407
- /* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(402);
15408
- /* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(403);
15409
- /* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(404);
15410
- /* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(405);
15411
- /* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(406);
15412
- /* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(407);
15413
- /* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(408);
15414
- /* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(409);
15769
+ /* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(394);
15770
+ /* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(395);
15771
+ /* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(396);
15772
+ /* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(397);
15773
+ /* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(398);
15774
+ /* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(399);
15775
+ /* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(400);
15776
+ /* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(401);
15777
+ /* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(402);
15778
+ /* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(403);
15779
+ /* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(404);
15780
+ /* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(405);
15781
+ /* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(406);
15782
+ /* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(407);
15783
+ /* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(408);
15784
+ /* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(409);
15785
+ /* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(410);
15786
+ /* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(411);
15787
+ /* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(412);
15788
+ /* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(413);
15789
+ /* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(414);
15790
+ /* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(415);
15791
+ /* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(416);
15792
+ /* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(417);
15793
+ /* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(418);
15794
+ /* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(419);
15795
+ /* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(420);
15415
15796
 
15416
15797
 
15417
15798
 
@@ -15441,7 +15822,7 @@ __webpack_require__.r(__webpack_exports__);
15441
15822
 
15442
15823
 
15443
15824
  /***/ }),
15444
- /* 383 */
15825
+ /* 394 */
15445
15826
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15446
15827
 
15447
15828
  __webpack_require__.r(__webpack_exports__);
@@ -15464,7 +15845,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15464
15845
  }
15465
15846
 
15466
15847
  /***/ }),
15467
- /* 384 */
15848
+ /* 395 */
15468
15849
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15469
15850
 
15470
15851
  __webpack_require__.r(__webpack_exports__);
@@ -15487,7 +15868,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
15487
15868
  }
15488
15869
 
15489
15870
  /***/ }),
15490
- /* 385 */
15871
+ /* 396 */
15491
15872
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15492
15873
 
15493
15874
  __webpack_require__.r(__webpack_exports__);
@@ -15510,7 +15891,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
15510
15891
  }
15511
15892
 
15512
15893
  /***/ }),
15513
- /* 386 */
15894
+ /* 397 */
15514
15895
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15515
15896
 
15516
15897
  __webpack_require__.r(__webpack_exports__);
@@ -15533,7 +15914,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15533
15914
  }
15534
15915
 
15535
15916
  /***/ }),
15536
- /* 387 */
15917
+ /* 398 */
15537
15918
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15538
15919
 
15539
15920
  __webpack_require__.r(__webpack_exports__);
@@ -15556,7 +15937,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15556
15937
  }
15557
15938
 
15558
15939
  /***/ }),
15559
- /* 388 */
15940
+ /* 399 */
15560
15941
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15561
15942
 
15562
15943
  __webpack_require__.r(__webpack_exports__);
@@ -15579,7 +15960,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15579
15960
  }
15580
15961
 
15581
15962
  /***/ }),
15582
- /* 389 */
15963
+ /* 400 */
15583
15964
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15584
15965
 
15585
15966
  __webpack_require__.r(__webpack_exports__);
@@ -15602,7 +15983,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15602
15983
  }
15603
15984
 
15604
15985
  /***/ }),
15605
- /* 390 */
15986
+ /* 401 */
15606
15987
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15607
15988
 
15608
15989
  __webpack_require__.r(__webpack_exports__);
@@ -15625,7 +16006,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15625
16006
  }
15626
16007
 
15627
16008
  /***/ }),
15628
- /* 391 */
16009
+ /* 402 */
15629
16010
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15630
16011
 
15631
16012
  __webpack_require__.r(__webpack_exports__);
@@ -15648,7 +16029,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15648
16029
  }
15649
16030
 
15650
16031
  /***/ }),
15651
- /* 392 */
16032
+ /* 403 */
15652
16033
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15653
16034
 
15654
16035
  __webpack_require__.r(__webpack_exports__);
@@ -15671,7 +16052,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15671
16052
  }
15672
16053
 
15673
16054
  /***/ }),
15674
- /* 393 */
16055
+ /* 404 */
15675
16056
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15676
16057
 
15677
16058
  __webpack_require__.r(__webpack_exports__);
@@ -15694,7 +16075,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15694
16075
  }
15695
16076
 
15696
16077
  /***/ }),
15697
- /* 394 */
16078
+ /* 405 */
15698
16079
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15699
16080
 
15700
16081
  __webpack_require__.r(__webpack_exports__);
@@ -15717,7 +16098,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15717
16098
  }
15718
16099
 
15719
16100
  /***/ }),
15720
- /* 395 */
16101
+ /* 406 */
15721
16102
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15722
16103
 
15723
16104
  __webpack_require__.r(__webpack_exports__);
@@ -15740,7 +16121,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
15740
16121
  }
15741
16122
 
15742
16123
  /***/ }),
15743
- /* 396 */
16124
+ /* 407 */
15744
16125
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15745
16126
 
15746
16127
  __webpack_require__.r(__webpack_exports__);
@@ -15763,7 +16144,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15763
16144
  }
15764
16145
 
15765
16146
  /***/ }),
15766
- /* 397 */
16147
+ /* 408 */
15767
16148
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15768
16149
 
15769
16150
  __webpack_require__.r(__webpack_exports__);
@@ -15786,7 +16167,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
15786
16167
  }
15787
16168
 
15788
16169
  /***/ }),
15789
- /* 398 */
16170
+ /* 409 */
15790
16171
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15791
16172
 
15792
16173
  __webpack_require__.r(__webpack_exports__);
@@ -15809,7 +16190,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15809
16190
  }
15810
16191
 
15811
16192
  /***/ }),
15812
- /* 399 */
16193
+ /* 410 */
15813
16194
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15814
16195
 
15815
16196
  __webpack_require__.r(__webpack_exports__);
@@ -15832,7 +16213,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
15832
16213
  }
15833
16214
 
15834
16215
  /***/ }),
15835
- /* 400 */
16216
+ /* 411 */
15836
16217
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15837
16218
 
15838
16219
  __webpack_require__.r(__webpack_exports__);
@@ -15855,7 +16236,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
15855
16236
  }
15856
16237
 
15857
16238
  /***/ }),
15858
- /* 401 */
16239
+ /* 412 */
15859
16240
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15860
16241
 
15861
16242
  __webpack_require__.r(__webpack_exports__);
@@ -15878,7 +16259,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
15878
16259
  }
15879
16260
 
15880
16261
  /***/ }),
15881
- /* 402 */
16262
+ /* 413 */
15882
16263
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15883
16264
 
15884
16265
  __webpack_require__.r(__webpack_exports__);
@@ -15901,7 +16282,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
15901
16282
  }
15902
16283
 
15903
16284
  /***/ }),
15904
- /* 403 */
16285
+ /* 414 */
15905
16286
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15906
16287
 
15907
16288
  __webpack_require__.r(__webpack_exports__);
@@ -15924,7 +16305,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
15924
16305
  }
15925
16306
 
15926
16307
  /***/ }),
15927
- /* 404 */
16308
+ /* 415 */
15928
16309
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15929
16310
 
15930
16311
  __webpack_require__.r(__webpack_exports__);
@@ -15947,7 +16328,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15947
16328
  }
15948
16329
 
15949
16330
  /***/ }),
15950
- /* 405 */
16331
+ /* 416 */
15951
16332
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15952
16333
 
15953
16334
  __webpack_require__.r(__webpack_exports__);
@@ -15976,7 +16357,7 @@ class MorphoBluePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
15976
16357
  }
15977
16358
 
15978
16359
  /***/ }),
15979
- /* 406 */
16360
+ /* 417 */
15980
16361
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15981
16362
 
15982
16363
  __webpack_require__.r(__webpack_exports__);
@@ -15997,7 +16378,7 @@ class LiquityV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
15997
16378
  }
15998
16379
 
15999
16380
  /***/ }),
16000
- /* 407 */
16381
+ /* 418 */
16001
16382
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16002
16383
 
16003
16384
  __webpack_require__.r(__webpack_exports__);
@@ -16020,7 +16401,7 @@ class ClosePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16020
16401
  }
16021
16402
 
16022
16403
  /***/ }),
16023
- /* 408 */
16404
+ /* 419 */
16024
16405
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16025
16406
 
16026
16407
  __webpack_require__.r(__webpack_exports__);
@@ -16041,7 +16422,7 @@ class LiquityV2QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
16041
16422
  }
16042
16423
 
16043
16424
  /***/ }),
16044
- /* 409 */
16425
+ /* 420 */
16045
16426
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16046
16427
 
16047
16428
  __webpack_require__.r(__webpack_exports__);
@@ -16064,7 +16445,7 @@ class FluidRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16064
16445
  }
16065
16446
 
16066
16447
  /***/ }),
16067
- /* 410 */
16448
+ /* 421 */
16068
16449
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16069
16450
 
16070
16451
  __webpack_require__.r(__webpack_exports__);
@@ -16078,9 +16459,9 @@ __webpack_require__.r(__webpack_exports__);
16078
16459
  /* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
16079
16460
  /* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
16080
16461
  /* harmony export */ });
16081
- /* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(411);
16462
+ /* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(422);
16082
16463
  /* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(137);
16083
- /* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(413);
16464
+ /* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(424);
16084
16465
  /* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(242);
16085
16466
  /* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(222);
16086
16467
  /* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(208);
@@ -16097,7 +16478,7 @@ __webpack_require__.r(__webpack_exports__);
16097
16478
 
16098
16479
 
16099
16480
  /***/ }),
16100
- /* 411 */
16481
+ /* 422 */
16101
16482
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16102
16483
 
16103
16484
  __webpack_require__.r(__webpack_exports__);
@@ -16108,7 +16489,7 @@ __webpack_require__.r(__webpack_exports__);
16108
16489
  /* harmony export */ });
16109
16490
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
16110
16491
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
16111
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(412);
16492
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(423);
16112
16493
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
16113
16494
  /* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
16114
16495
  /* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
@@ -16310,20 +16691,20 @@ var createSellAction = /*#__PURE__*/function () {
16310
16691
  }();
16311
16692
 
16312
16693
  /***/ }),
16313
- /* 412 */
16694
+ /* 423 */
16314
16695
  /***/ ((module) => {
16315
16696
 
16316
- module.exports = __WEBPACK_EXTERNAL_MODULE__412__;
16697
+ module.exports = __WEBPACK_EXTERNAL_MODULE__423__;
16317
16698
 
16318
16699
  /***/ }),
16319
- /* 413 */
16700
+ /* 424 */
16320
16701
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16321
16702
 
16322
16703
  __webpack_require__.r(__webpack_exports__);
16323
16704
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16324
16705
  /* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
16325
16706
  /* harmony export */ });
16326
- /* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(414);
16707
+ /* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(425);
16327
16708
  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); } }
16328
16709
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
16329
16710
  /**
@@ -16348,7 +16729,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
16348
16729
  }();
16349
16730
 
16350
16731
  /***/ }),
16351
- /* 414 */
16732
+ /* 425 */
16352
16733
  /***/ ((module) => {
16353
16734
 
16354
16735
  module.exports = /*#__PURE__*/JSON.parse('[{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"positions","outputs":[{"name":"nonce","type":"uint96"},{"name":"operator","type":"address"},{"name":"token0","type":"address"},{"name":"token1","type":"address"},{"name":"fee","type":"uint24"},{"name":"tickLower","type":"int24"},{"name":"tickUpper","type":"int24"},{"name":"liquidity","type":"uint128"},{"name":"feeGrowthInside0LastX128","type":"uint256"},{"name":"feeGrowthInside1LastX128","type":"uint256"},{"name":"tokensOwed0","type":"uint128"},{"name":"tokensOwed1","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"}]');
@@ -16452,8 +16833,8 @@ __webpack_require__.r(__webpack_exports__);
16452
16833
  /* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
16453
16834
  /* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
16454
16835
  /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
16455
- /* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(382);
16456
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(410);
16836
+ /* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(393);
16837
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(421);
16457
16838
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
16458
16839
  /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
16459
16840
  /* Export types here */