@defisaver/sdk 1.2.2 → 1.2.3

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.
@@ -29,4 +29,5 @@ import * as spark from './spark';
29
29
  import * as morphoblue from './morpho-blue';
30
30
  import * as llamalend from './llamalend';
31
31
  import * as merkl from './merkl';
32
- export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, llamalend, merkl, };
32
+ import * as sky from './sky';
33
+ export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, llamalend, merkl, sky, };
@@ -29,4 +29,5 @@ import * as spark from './spark';
29
29
  import * as morphoblue from './morpho-blue';
30
30
  import * as llamalend from './llamalend';
31
31
  import * as merkl from './merkl';
32
- export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, llamalend, merkl, };
32
+ import * as sky from './sky';
33
+ export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, llamalend, merkl, sky, };
@@ -0,0 +1,15 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress } from '../../types';
3
+ /**
4
+ * SkyStakeAction
5
+ *
6
+ * @category Sky
7
+ */
8
+ export declare class SkyClaimRewardsAction extends Action {
9
+ /**
10
+ * @param stakingContract
11
+ * @param stakingToken
12
+ * @param to
13
+ */
14
+ constructor(stakingContract: EthAddress, rewardToken: EthAddress, to: EthAddress);
15
+ }
@@ -0,0 +1,22 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * SkyStakeAction
5
+ *
6
+ * @category Sky
7
+ */
8
+ export class SkyClaimRewardsAction extends Action {
9
+ /**
10
+ * @param stakingContract
11
+ * @param stakingToken
12
+ * @param to
13
+ */
14
+ constructor(stakingContract, rewardToken, to) {
15
+ super('SkyClaimRewards', getAddr('SkyClaimRewards'), ['address', 'address', 'address'], [stakingContract, rewardToken, to]);
16
+ this.mappableArgs = [
17
+ this.args[0],
18
+ this.args[1],
19
+ this.args[2],
20
+ ];
21
+ }
22
+ }
@@ -0,0 +1,20 @@
1
+ import { Action } from '../../Action';
2
+ import { uint256, EthAddress } from '../../types';
3
+ /**
4
+ * SkyStakeAction
5
+ *
6
+ * @category Sky
7
+ */
8
+ export declare class SkyStakeAction extends Action {
9
+ /**
10
+ * @param stakingContract
11
+ * @param stakingToken
12
+ * @param amount
13
+ * @param from
14
+ */
15
+ constructor(stakingContract: EthAddress, stakingToken: EthAddress, amount: uint256, from: EthAddress);
16
+ getAssetsToApprove(): Promise<{
17
+ asset: any;
18
+ owner: any;
19
+ }[]>;
20
+ }
@@ -0,0 +1,38 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { Action } from '../../Action';
11
+ import { getAddr } from '../../addresses';
12
+ /**
13
+ * SkyStakeAction
14
+ *
15
+ * @category Sky
16
+ */
17
+ export class SkyStakeAction extends Action {
18
+ /**
19
+ * @param stakingContract
20
+ * @param stakingToken
21
+ * @param amount
22
+ * @param from
23
+ */
24
+ constructor(stakingContract, stakingToken, amount, from) {
25
+ super('SkyStake', getAddr('SkyStake'), ['address', 'address', 'uint256', 'address'], [stakingContract, stakingToken, amount, from]);
26
+ this.mappableArgs = [
27
+ this.args[0],
28
+ this.args[1],
29
+ this.args[2],
30
+ this.args[3],
31
+ ];
32
+ }
33
+ getAssetsToApprove() {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ return [{ asset: this.args[1], owner: this.args[3] }];
36
+ });
37
+ }
38
+ }
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../Action';
2
+ import { uint256, EthAddress } from '../../types';
3
+ /**
4
+ * SkyStakeAction
5
+ *
6
+ * @category Sky
7
+ */
8
+ export declare class SkyUnstakeAction extends Action {
9
+ /**
10
+ * @param stakingContract
11
+ * @param stakingToken
12
+ * @param amount
13
+ * @param to
14
+ */
15
+ constructor(stakingContract: EthAddress, stakingToken: EthAddress, amount: uint256, to: EthAddress);
16
+ }
@@ -0,0 +1,24 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * SkyStakeAction
5
+ *
6
+ * @category Sky
7
+ */
8
+ export class SkyUnstakeAction extends Action {
9
+ /**
10
+ * @param stakingContract
11
+ * @param stakingToken
12
+ * @param amount
13
+ * @param to
14
+ */
15
+ constructor(stakingContract, stakingToken, amount, to) {
16
+ super('SkyUnstake', getAddr('SkyUnstake'), ['address', 'address', 'uint256', 'address'], [stakingContract, stakingToken, amount, to]);
17
+ this.mappableArgs = [
18
+ this.args[0],
19
+ this.args[1],
20
+ this.args[2],
21
+ this.args[3],
22
+ ];
23
+ }
24
+ }
@@ -0,0 +1,3 @@
1
+ export * from './SkyClaimRewardsAction';
2
+ export * from './SkyStakeAction';
3
+ export * from './SkyUnstakeAction';
@@ -0,0 +1,3 @@
1
+ export * from './SkyClaimRewardsAction';
2
+ export * from './SkyStakeAction';
3
+ export * from './SkyUnstakeAction';
@@ -214,6 +214,9 @@ export declare const actionAddresses: {
214
214
  AaveV3RatioTrigger?: undefined;
215
215
  GasFeeTakerL2?: undefined;
216
216
  AaveV3RatioCheck?: undefined;
217
+ SkyStake?: undefined;
218
+ SkyUnstake?: undefined;
219
+ SkyClaimRewards?: undefined;
217
220
  MorphoBlueView?: undefined;
218
221
  } | {
219
222
  DFSSell: string;
@@ -429,6 +432,9 @@ export declare const actionAddresses: {
429
432
  LlamaLendLevCreate?: undefined;
430
433
  LlamaLendSelfLiquidateWithColl?: undefined;
431
434
  MerklClaim?: undefined;
435
+ SkyStake?: undefined;
436
+ SkyUnstake?: undefined;
437
+ SkyClaimRewards?: undefined;
432
438
  MorphoBlueView?: undefined;
433
439
  } | {
434
440
  DFSSell: string;
@@ -446,6 +452,9 @@ export declare const actionAddresses: {
446
452
  ChangeProxyOwner: string;
447
453
  PermitToken: string;
448
454
  HandleAuth: string;
455
+ SkyStake: string;
456
+ SkyUnstake: string;
457
+ SkyClaimRewards: string;
449
458
  AaveV3ATokenPayback: string;
450
459
  AaveV3Borrow: string;
451
460
  AaveV3CollateralSwitch: string;
@@ -860,6 +869,9 @@ export declare const actionAddresses: {
860
869
  AaveV3RatioTrigger?: undefined;
861
870
  GasFeeTakerL2?: undefined;
862
871
  AaveV3RatioCheck?: undefined;
872
+ SkyStake?: undefined;
873
+ SkyUnstake?: undefined;
874
+ SkyClaimRewards?: undefined;
863
875
  };
864
876
  };
865
877
  export declare const otherAddresses: {
@@ -307,10 +307,14 @@ export const actionAddresses = {
307
307
  ApproveToken: '0x01058999F5Ac434EF48DFB5Cd942c57A7661787B',
308
308
  ToggleSub: '0x71015226EADFd4aC887fB56556F64338e352439b',
309
309
  TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
310
- TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
310
+ TokenizedVaultAdapter: '0x30aB8926FBE6c3aeEf52aFC575E54FAD3ae84a24',
311
311
  ChangeProxyOwner: '0x29F66A5fcB601c806E7156f29FDEC771BdC9c08d',
312
312
  PermitToken: '0x2E5E7a691092C158bb8341b936eF24FCcA6c0e00',
313
313
  HandleAuth: '0xbfcab1339e1a56a0a836cbca6457eaf71f148fcb',
314
+ // sky
315
+ SkyStake: '0x5803C399EE9f887C8b81075E4C185c448361c235',
316
+ SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
317
+ SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
314
318
  // aave v3
315
319
  AaveV3ATokenPayback: '0x261906e5E0D0D38D9cBb5c10dB9c4031aabdf8C1',
316
320
  AaveV3Borrow: '0x5786809DA660dB613994460F096F19fcd19eD4c9',
@@ -225,6 +225,9 @@ declare const actionAddressesAllChains: {
225
225
  AaveV3RatioTrigger?: undefined;
226
226
  GasFeeTakerL2?: undefined;
227
227
  AaveV3RatioCheck?: undefined;
228
+ SkyStake?: undefined;
229
+ SkyUnstake?: undefined;
230
+ SkyClaimRewards?: undefined;
228
231
  MorphoBlueView?: undefined;
229
232
  } | {
230
233
  DFSSell: string;
@@ -440,6 +443,9 @@ declare const actionAddressesAllChains: {
440
443
  LlamaLendLevCreate?: undefined;
441
444
  LlamaLendSelfLiquidateWithColl?: undefined;
442
445
  MerklClaim?: undefined;
446
+ SkyStake?: undefined;
447
+ SkyUnstake?: undefined;
448
+ SkyClaimRewards?: undefined;
443
449
  MorphoBlueView?: undefined;
444
450
  } | {
445
451
  DFSSell: string;
@@ -457,6 +463,9 @@ declare const actionAddressesAllChains: {
457
463
  ChangeProxyOwner: string;
458
464
  PermitToken: string;
459
465
  HandleAuth: string;
466
+ SkyStake: string;
467
+ SkyUnstake: string;
468
+ SkyClaimRewards: string;
460
469
  AaveV3ATokenPayback: string;
461
470
  AaveV3Borrow: string;
462
471
  AaveV3CollateralSwitch: string;
@@ -871,6 +880,9 @@ declare const actionAddressesAllChains: {
871
880
  AaveV3RatioTrigger?: undefined;
872
881
  GasFeeTakerL2?: undefined;
873
882
  AaveV3RatioCheck?: undefined;
883
+ SkyStake?: undefined;
884
+ SkyUnstake?: undefined;
885
+ SkyClaimRewards?: undefined;
874
886
  };
875
887
  };
876
888
  declare const actionAddresses: (chainId?: null) => {
@@ -1087,6 +1099,9 @@ declare const actionAddresses: (chainId?: null) => {
1087
1099
  AaveV3RatioTrigger?: undefined;
1088
1100
  GasFeeTakerL2?: undefined;
1089
1101
  AaveV3RatioCheck?: undefined;
1102
+ SkyStake?: undefined;
1103
+ SkyUnstake?: undefined;
1104
+ SkyClaimRewards?: undefined;
1090
1105
  MorphoBlueView?: undefined;
1091
1106
  } | {
1092
1107
  DFSSell: string;
@@ -1302,6 +1317,9 @@ declare const actionAddresses: (chainId?: null) => {
1302
1317
  LlamaLendLevCreate?: undefined;
1303
1318
  LlamaLendSelfLiquidateWithColl?: undefined;
1304
1319
  MerklClaim?: undefined;
1320
+ SkyStake?: undefined;
1321
+ SkyUnstake?: undefined;
1322
+ SkyClaimRewards?: undefined;
1305
1323
  MorphoBlueView?: undefined;
1306
1324
  } | {
1307
1325
  DFSSell: string;
@@ -1319,6 +1337,9 @@ declare const actionAddresses: (chainId?: null) => {
1319
1337
  ChangeProxyOwner: string;
1320
1338
  PermitToken: string;
1321
1339
  HandleAuth: string;
1340
+ SkyStake: string;
1341
+ SkyUnstake: string;
1342
+ SkyClaimRewards: string;
1322
1343
  AaveV3ATokenPayback: string;
1323
1344
  AaveV3Borrow: string;
1324
1345
  AaveV3CollateralSwitch: string;
@@ -1733,6 +1754,9 @@ declare const actionAddresses: (chainId?: null) => {
1733
1754
  AaveV3RatioTrigger?: undefined;
1734
1755
  GasFeeTakerL2?: undefined;
1735
1756
  AaveV3RatioCheck?: undefined;
1757
+ SkyStake?: undefined;
1758
+ SkyUnstake?: undefined;
1759
+ SkyClaimRewards?: undefined;
1736
1760
  };
1737
1761
  declare const otherAddressesAllChains: {
1738
1762
  [x: number]: {
@@ -2092,6 +2116,9 @@ declare const _default: {
2092
2116
  AaveV3RatioTrigger?: undefined;
2093
2117
  GasFeeTakerL2?: undefined;
2094
2118
  AaveV3RatioCheck?: undefined;
2119
+ SkyStake?: undefined;
2120
+ SkyUnstake?: undefined;
2121
+ SkyClaimRewards?: undefined;
2095
2122
  MorphoBlueView?: undefined;
2096
2123
  } | {
2097
2124
  DFSSell: string;
@@ -2307,6 +2334,9 @@ declare const _default: {
2307
2334
  LlamaLendLevCreate?: undefined;
2308
2335
  LlamaLendSelfLiquidateWithColl?: undefined;
2309
2336
  MerklClaim?: undefined;
2337
+ SkyStake?: undefined;
2338
+ SkyUnstake?: undefined;
2339
+ SkyClaimRewards?: undefined;
2310
2340
  MorphoBlueView?: undefined;
2311
2341
  } | {
2312
2342
  DFSSell: string;
@@ -2324,6 +2354,9 @@ declare const _default: {
2324
2354
  ChangeProxyOwner: string;
2325
2355
  PermitToken: string;
2326
2356
  HandleAuth: string;
2357
+ SkyStake: string;
2358
+ SkyUnstake: string;
2359
+ SkyClaimRewards: string;
2327
2360
  AaveV3ATokenPayback: string;
2328
2361
  AaveV3Borrow: string;
2329
2362
  AaveV3CollateralSwitch: string;
@@ -2738,6 +2771,9 @@ declare const _default: {
2738
2771
  AaveV3RatioTrigger?: undefined;
2739
2772
  GasFeeTakerL2?: undefined;
2740
2773
  AaveV3RatioCheck?: undefined;
2774
+ SkyStake?: undefined;
2775
+ SkyUnstake?: undefined;
2776
+ SkyClaimRewards?: undefined;
2741
2777
  };
2742
2778
  actionAddressesAllChains: {
2743
2779
  [x: number]: {
@@ -2954,6 +2990,9 @@ declare const _default: {
2954
2990
  AaveV3RatioTrigger?: undefined;
2955
2991
  GasFeeTakerL2?: undefined;
2956
2992
  AaveV3RatioCheck?: undefined;
2993
+ SkyStake?: undefined;
2994
+ SkyUnstake?: undefined;
2995
+ SkyClaimRewards?: undefined;
2957
2996
  MorphoBlueView?: undefined;
2958
2997
  } | {
2959
2998
  DFSSell: string;
@@ -3169,6 +3208,9 @@ declare const _default: {
3169
3208
  LlamaLendLevCreate?: undefined;
3170
3209
  LlamaLendSelfLiquidateWithColl?: undefined;
3171
3210
  MerklClaim?: undefined;
3211
+ SkyStake?: undefined;
3212
+ SkyUnstake?: undefined;
3213
+ SkyClaimRewards?: undefined;
3172
3214
  MorphoBlueView?: undefined;
3173
3215
  } | {
3174
3216
  DFSSell: string;
@@ -3186,6 +3228,9 @@ declare const _default: {
3186
3228
  ChangeProxyOwner: string;
3187
3229
  PermitToken: string;
3188
3230
  HandleAuth: string;
3231
+ SkyStake: string;
3232
+ SkyUnstake: string;
3233
+ SkyClaimRewards: string;
3189
3234
  AaveV3ATokenPayback: string;
3190
3235
  AaveV3Borrow: string;
3191
3236
  AaveV3CollateralSwitch: string;
@@ -3600,6 +3645,9 @@ declare const _default: {
3600
3645
  AaveV3RatioTrigger?: undefined;
3601
3646
  GasFeeTakerL2?: undefined;
3602
3647
  AaveV3RatioCheck?: undefined;
3648
+ SkyStake?: undefined;
3649
+ SkyUnstake?: undefined;
3650
+ SkyClaimRewards?: undefined;
3603
3651
  };
3604
3652
  };
3605
3653
  otherAddresses: (chainId?: null) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -29,6 +29,7 @@ import * as spark from './spark';
29
29
  import * as morphoblue from './morpho-blue';
30
30
  import * as llamalend from './llamalend';
31
31
  import * as merkl from './merkl';
32
+ import * as sky from './sky';
32
33
 
33
34
  export {
34
35
  aave,
@@ -62,4 +63,5 @@ export {
62
63
  morphoblue,
63
64
  llamalend,
64
65
  merkl,
66
+ sky,
65
67
  };
@@ -0,0 +1,25 @@
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
+ import { uint256, EthAddress } from '../../types';
4
+ import { getAddr } from '../../addresses';
5
+
6
+ /**
7
+ * SkyStakeAction
8
+ *
9
+ * @category Sky
10
+ */
11
+ export class SkyClaimRewardsAction extends Action {
12
+ /**
13
+ * @param stakingContract
14
+ * @param stakingToken
15
+ * @param to
16
+ */
17
+ constructor(stakingContract:EthAddress, rewardToken:EthAddress, to:EthAddress) {
18
+ super('SkyClaimRewards', getAddr('SkyClaimRewards'), ['address', 'address', 'address'], [stakingContract, rewardToken, to]);
19
+ this.mappableArgs = [
20
+ this.args[0],
21
+ this.args[1],
22
+ this.args[2],
23
+ ];
24
+ }
25
+ }
@@ -0,0 +1,31 @@
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
+ import { uint256, EthAddress } from '../../types';
4
+ import { getAddr } from '../../addresses';
5
+
6
+ /**
7
+ * SkyStakeAction
8
+ *
9
+ * @category Sky
10
+ */
11
+ export class SkyStakeAction extends Action {
12
+ /**
13
+ * @param stakingContract
14
+ * @param stakingToken
15
+ * @param amount
16
+ * @param from
17
+ */
18
+ constructor(stakingContract:EthAddress, stakingToken:EthAddress, amount:uint256, from:EthAddress) {
19
+ super('SkyStake', getAddr('SkyStake'), ['address', 'address', 'uint256', 'address'], [stakingContract, stakingToken, amount, from]);
20
+ this.mappableArgs = [
21
+ this.args[0],
22
+ this.args[1],
23
+ this.args[2],
24
+ this.args[3],
25
+ ];
26
+ }
27
+
28
+ async getAssetsToApprove() {
29
+ return [{ asset: this.args[1], owner: this.args[3] }];
30
+ }
31
+ }
@@ -0,0 +1,27 @@
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
+ import { uint256, EthAddress } from '../../types';
4
+ import { getAddr } from '../../addresses';
5
+
6
+ /**
7
+ * SkyStakeAction
8
+ *
9
+ * @category Sky
10
+ */
11
+ export class SkyUnstakeAction extends Action {
12
+ /**
13
+ * @param stakingContract
14
+ * @param stakingToken
15
+ * @param amount
16
+ * @param to
17
+ */
18
+ constructor(stakingContract:EthAddress, stakingToken:EthAddress, amount:uint256, to:EthAddress) {
19
+ super('SkyUnstake', getAddr('SkyUnstake'), ['address', 'address', 'uint256', 'address'], [stakingContract, stakingToken, amount, to]);
20
+ this.mappableArgs = [
21
+ this.args[0],
22
+ this.args[1],
23
+ this.args[2],
24
+ this.args[3],
25
+ ];
26
+ }
27
+ }
@@ -0,0 +1,3 @@
1
+ export * from './SkyClaimRewardsAction';
2
+ export * from './SkyStakeAction';
3
+ export * from './SkyUnstakeAction';
package/src/addresses.ts CHANGED
@@ -353,11 +353,16 @@ export const actionAddresses = {
353
353
  ApproveToken: '0x01058999F5Ac434EF48DFB5Cd942c57A7661787B',
354
354
  ToggleSub: '0x71015226EADFd4aC887fB56556F64338e352439b',
355
355
  TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
356
- TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
356
+ TokenizedVaultAdapter: '0x30aB8926FBE6c3aeEf52aFC575E54FAD3ae84a24',
357
357
  ChangeProxyOwner: '0x29F66A5fcB601c806E7156f29FDEC771BdC9c08d',
358
358
  PermitToken: '0x2E5E7a691092C158bb8341b936eF24FCcA6c0e00',
359
359
  HandleAuth: '0xbfcab1339e1a56a0a836cbca6457eaf71f148fcb',
360
360
 
361
+ // sky
362
+ SkyStake: '0x5803C399EE9f887C8b81075E4C185c448361c235',
363
+ SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
364
+ SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
365
+
361
366
  // aave v3
362
367
  AaveV3ATokenPayback: '0x261906e5E0D0D38D9cBb5c10dB9c4031aabdf8C1',
363
368
  AaveV3Borrow: '0x5786809DA660dB613994460F096F19fcd19eD4c9',
package/umd/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  exports["defisaver-sdk"] = factory(require("web3-eth-abi"), require("web3-utils"), require("decimal.js"), require("@defisaver/tokens"), require("@ethersproject/solidity"), require("@ethersproject/address"), require("axios"));
8
8
  else
9
9
  root["defisaver-sdk"] = factory(root["web3-eth-abi"], root["web3-utils"], root["decimal.js"], root["@defisaver/tokens"], root["@ethersproject/solidity"], root["@ethersproject/address"], root["axios"]);
10
- })(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__134__, __WEBPACK_EXTERNAL_MODULE__135__, __WEBPACK_EXTERNAL_MODULE__345__) => {
10
+ })(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__134__, __WEBPACK_EXTERNAL_MODULE__135__, __WEBPACK_EXTERNAL_MODULE__349__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ([
@@ -1596,10 +1596,14 @@ var actionAddresses = {
1596
1596
  ApproveToken: '0x01058999F5Ac434EF48DFB5Cd942c57A7661787B',
1597
1597
  ToggleSub: '0x71015226EADFd4aC887fB56556F64338e352439b',
1598
1598
  TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
1599
- TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
1599
+ TokenizedVaultAdapter: '0x30aB8926FBE6c3aeEf52aFC575E54FAD3ae84a24',
1600
1600
  ChangeProxyOwner: '0x29F66A5fcB601c806E7156f29FDEC771BdC9c08d',
1601
1601
  PermitToken: '0x2E5E7a691092C158bb8341b936eF24FCcA6c0e00',
1602
1602
  HandleAuth: '0xbfcab1339e1a56a0a836cbca6457eaf71f148fcb',
1603
+ // sky
1604
+ SkyStake: '0x5803C399EE9f887C8b81075E4C185c448361c235',
1605
+ SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
1606
+ SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
1603
1607
  // aave v3
1604
1608
  AaveV3ATokenPayback: '0x261906e5E0D0D38D9cBb5c10dB9c4031aabdf8C1',
1605
1609
  AaveV3Borrow: '0x5786809DA660dB613994460F096F19fcd19eD4c9',
@@ -2050,6 +2054,7 @@ __webpack_require__.r(__webpack_exports__);
2050
2054
  /* harmony export */ mstable: () => (/* reexport module object */ _mstable__WEBPACK_IMPORTED_MODULE_17__),
2051
2055
  /* harmony export */ rari: () => (/* reexport module object */ _rari__WEBPACK_IMPORTED_MODULE_18__),
2052
2056
  /* harmony export */ reflexer: () => (/* reexport module object */ _reflexer__WEBPACK_IMPORTED_MODULE_6__),
2057
+ /* harmony export */ sky: () => (/* reexport module object */ _sky__WEBPACK_IMPORTED_MODULE_31__),
2053
2058
  /* harmony export */ spark: () => (/* reexport module object */ _spark__WEBPACK_IMPORTED_MODULE_27__),
2054
2059
  /* harmony export */ uniswap: () => (/* reexport module object */ _uniswap__WEBPACK_IMPORTED_MODULE_5__),
2055
2060
  /* harmony export */ uniswapV3: () => (/* reexport module object */ _uniswapV3__WEBPACK_IMPORTED_MODULE_8__),
@@ -2086,6 +2091,8 @@ __webpack_require__.r(__webpack_exports__);
2086
2091
  /* harmony import */ var _morpho_blue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(297);
2087
2092
  /* harmony import */ var _llamalend__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(306);
2088
2093
  /* harmony import */ var _merkl__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(318);
2094
+ /* harmony import */ var _sky__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(320);
2095
+
2089
2096
 
2090
2097
 
2091
2098
 
@@ -12979,6 +12986,126 @@ class MerklClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
12979
12986
  /* 320 */
12980
12987
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
12981
12988
 
12989
+ __webpack_require__.r(__webpack_exports__);
12990
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12991
+ /* harmony export */ SkyClaimRewardsAction: () => (/* reexport safe */ _SkyClaimRewardsAction__WEBPACK_IMPORTED_MODULE_0__.SkyClaimRewardsAction),
12992
+ /* harmony export */ SkyStakeAction: () => (/* reexport safe */ _SkyStakeAction__WEBPACK_IMPORTED_MODULE_1__.SkyStakeAction),
12993
+ /* harmony export */ SkyUnstakeAction: () => (/* reexport safe */ _SkyUnstakeAction__WEBPACK_IMPORTED_MODULE_2__.SkyUnstakeAction)
12994
+ /* harmony export */ });
12995
+ /* harmony import */ var _SkyClaimRewardsAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(321);
12996
+ /* harmony import */ var _SkyStakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(322);
12997
+ /* harmony import */ var _SkyUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(323);
12998
+
12999
+
13000
+
13001
+
13002
+ /***/ }),
13003
+ /* 321 */
13004
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13005
+
13006
+ __webpack_require__.r(__webpack_exports__);
13007
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13008
+ /* harmony export */ SkyClaimRewardsAction: () => (/* binding */ SkyClaimRewardsAction)
13009
+ /* harmony export */ });
13010
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
13011
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
13012
+
13013
+
13014
+
13015
+ /**
13016
+ * SkyStakeAction
13017
+ *
13018
+ * @category Sky
13019
+ */
13020
+ class SkyClaimRewardsAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13021
+ /**
13022
+ * @param stakingContract
13023
+ * @param stakingToken
13024
+ * @param to
13025
+ */
13026
+ constructor(stakingContract, rewardToken, to) {
13027
+ super('SkyClaimRewards', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('SkyClaimRewards'), ['address', 'address', 'address'], [stakingContract, rewardToken, to]);
13028
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
13029
+ }
13030
+ }
13031
+
13032
+ /***/ }),
13033
+ /* 322 */
13034
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13035
+
13036
+ __webpack_require__.r(__webpack_exports__);
13037
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13038
+ /* harmony export */ SkyStakeAction: () => (/* binding */ SkyStakeAction)
13039
+ /* harmony export */ });
13040
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
13041
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
13042
+ 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); } }
13043
+ 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); }); }; }
13044
+
13045
+
13046
+
13047
+ /**
13048
+ * SkyStakeAction
13049
+ *
13050
+ * @category Sky
13051
+ */
13052
+ class SkyStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13053
+ /**
13054
+ * @param stakingContract
13055
+ * @param stakingToken
13056
+ * @param amount
13057
+ * @param from
13058
+ */
13059
+ constructor(stakingContract, stakingToken, amount, from) {
13060
+ super('SkyStake', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('SkyStake'), ['address', 'address', 'uint256', 'address'], [stakingContract, stakingToken, amount, from]);
13061
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3]];
13062
+ }
13063
+ getAssetsToApprove() {
13064
+ var _this = this;
13065
+ return _asyncToGenerator(function* () {
13066
+ return [{
13067
+ asset: _this.args[1],
13068
+ owner: _this.args[3]
13069
+ }];
13070
+ })();
13071
+ }
13072
+ }
13073
+
13074
+ /***/ }),
13075
+ /* 323 */
13076
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13077
+
13078
+ __webpack_require__.r(__webpack_exports__);
13079
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13080
+ /* harmony export */ SkyUnstakeAction: () => (/* binding */ SkyUnstakeAction)
13081
+ /* harmony export */ });
13082
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
13083
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
13084
+
13085
+
13086
+
13087
+ /**
13088
+ * SkyStakeAction
13089
+ *
13090
+ * @category Sky
13091
+ */
13092
+ class SkyUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13093
+ /**
13094
+ * @param stakingContract
13095
+ * @param stakingToken
13096
+ * @param amount
13097
+ * @param to
13098
+ */
13099
+ constructor(stakingContract, stakingToken, amount, to) {
13100
+ super('SkyUnstake', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('SkyUnstake'), ['address', 'address', 'uint256', 'address'], [stakingContract, stakingToken, amount, to]);
13101
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3]];
13102
+ }
13103
+ }
13104
+
13105
+ /***/ }),
13106
+ /* 324 */
13107
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13108
+
12982
13109
  __webpack_require__.r(__webpack_exports__);
12983
13110
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12984
13111
  /* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
@@ -13004,28 +13131,28 @@ __webpack_require__.r(__webpack_exports__);
13004
13131
  /* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
13005
13132
  /* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
13006
13133
  /* harmony export */ });
13007
- /* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(321);
13008
- /* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(322);
13009
- /* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(323);
13010
- /* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(324);
13011
- /* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(325);
13012
- /* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(326);
13013
- /* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(327);
13014
- /* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(328);
13015
- /* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(329);
13016
- /* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(330);
13017
- /* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(331);
13018
- /* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(332);
13019
- /* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(333);
13020
- /* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(334);
13021
- /* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(335);
13022
- /* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(336);
13023
- /* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(337);
13024
- /* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(338);
13025
- /* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(339);
13026
- /* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(340);
13027
- /* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(341);
13028
- /* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(342);
13134
+ /* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(325);
13135
+ /* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(326);
13136
+ /* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(327);
13137
+ /* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(328);
13138
+ /* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(329);
13139
+ /* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(330);
13140
+ /* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(331);
13141
+ /* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(332);
13142
+ /* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(333);
13143
+ /* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(334);
13144
+ /* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(335);
13145
+ /* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(336);
13146
+ /* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(337);
13147
+ /* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(338);
13148
+ /* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(339);
13149
+ /* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(340);
13150
+ /* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(341);
13151
+ /* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(342);
13152
+ /* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(343);
13153
+ /* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(344);
13154
+ /* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(345);
13155
+ /* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(346);
13029
13156
 
13030
13157
 
13031
13158
 
@@ -13050,7 +13177,7 @@ __webpack_require__.r(__webpack_exports__);
13050
13177
 
13051
13178
 
13052
13179
  /***/ }),
13053
- /* 321 */
13180
+ /* 325 */
13054
13181
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13055
13182
 
13056
13183
  __webpack_require__.r(__webpack_exports__);
@@ -13073,7 +13200,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13073
13200
  }
13074
13201
 
13075
13202
  /***/ }),
13076
- /* 322 */
13203
+ /* 326 */
13077
13204
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13078
13205
 
13079
13206
  __webpack_require__.r(__webpack_exports__);
@@ -13096,7 +13223,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
13096
13223
  }
13097
13224
 
13098
13225
  /***/ }),
13099
- /* 323 */
13226
+ /* 327 */
13100
13227
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13101
13228
 
13102
13229
  __webpack_require__.r(__webpack_exports__);
@@ -13119,7 +13246,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
13119
13246
  }
13120
13247
 
13121
13248
  /***/ }),
13122
- /* 324 */
13249
+ /* 328 */
13123
13250
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13124
13251
 
13125
13252
  __webpack_require__.r(__webpack_exports__);
@@ -13142,7 +13269,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13142
13269
  }
13143
13270
 
13144
13271
  /***/ }),
13145
- /* 325 */
13272
+ /* 329 */
13146
13273
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13147
13274
 
13148
13275
  __webpack_require__.r(__webpack_exports__);
@@ -13165,7 +13292,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13165
13292
  }
13166
13293
 
13167
13294
  /***/ }),
13168
- /* 326 */
13295
+ /* 330 */
13169
13296
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13170
13297
 
13171
13298
  __webpack_require__.r(__webpack_exports__);
@@ -13188,7 +13315,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13188
13315
  }
13189
13316
 
13190
13317
  /***/ }),
13191
- /* 327 */
13318
+ /* 331 */
13192
13319
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13193
13320
 
13194
13321
  __webpack_require__.r(__webpack_exports__);
@@ -13211,7 +13338,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13211
13338
  }
13212
13339
 
13213
13340
  /***/ }),
13214
- /* 328 */
13341
+ /* 332 */
13215
13342
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13216
13343
 
13217
13344
  __webpack_require__.r(__webpack_exports__);
@@ -13234,7 +13361,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13234
13361
  }
13235
13362
 
13236
13363
  /***/ }),
13237
- /* 329 */
13364
+ /* 333 */
13238
13365
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13239
13366
 
13240
13367
  __webpack_require__.r(__webpack_exports__);
@@ -13257,7 +13384,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13257
13384
  }
13258
13385
 
13259
13386
  /***/ }),
13260
- /* 330 */
13387
+ /* 334 */
13261
13388
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13262
13389
 
13263
13390
  __webpack_require__.r(__webpack_exports__);
@@ -13280,7 +13407,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13280
13407
  }
13281
13408
 
13282
13409
  /***/ }),
13283
- /* 331 */
13410
+ /* 335 */
13284
13411
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13285
13412
 
13286
13413
  __webpack_require__.r(__webpack_exports__);
@@ -13303,7 +13430,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13303
13430
  }
13304
13431
 
13305
13432
  /***/ }),
13306
- /* 332 */
13433
+ /* 336 */
13307
13434
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13308
13435
 
13309
13436
  __webpack_require__.r(__webpack_exports__);
@@ -13326,7 +13453,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13326
13453
  }
13327
13454
 
13328
13455
  /***/ }),
13329
- /* 333 */
13456
+ /* 337 */
13330
13457
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13331
13458
 
13332
13459
  __webpack_require__.r(__webpack_exports__);
@@ -13349,7 +13476,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
13349
13476
  }
13350
13477
 
13351
13478
  /***/ }),
13352
- /* 334 */
13479
+ /* 338 */
13353
13480
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13354
13481
 
13355
13482
  __webpack_require__.r(__webpack_exports__);
@@ -13372,7 +13499,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13372
13499
  }
13373
13500
 
13374
13501
  /***/ }),
13375
- /* 335 */
13502
+ /* 339 */
13376
13503
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13377
13504
 
13378
13505
  __webpack_require__.r(__webpack_exports__);
@@ -13395,7 +13522,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
13395
13522
  }
13396
13523
 
13397
13524
  /***/ }),
13398
- /* 336 */
13525
+ /* 340 */
13399
13526
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13400
13527
 
13401
13528
  __webpack_require__.r(__webpack_exports__);
@@ -13418,7 +13545,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13418
13545
  }
13419
13546
 
13420
13547
  /***/ }),
13421
- /* 337 */
13548
+ /* 341 */
13422
13549
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13423
13550
 
13424
13551
  __webpack_require__.r(__webpack_exports__);
@@ -13441,7 +13568,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
13441
13568
  }
13442
13569
 
13443
13570
  /***/ }),
13444
- /* 338 */
13571
+ /* 342 */
13445
13572
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13446
13573
 
13447
13574
  __webpack_require__.r(__webpack_exports__);
@@ -13464,7 +13591,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
13464
13591
  }
13465
13592
 
13466
13593
  /***/ }),
13467
- /* 339 */
13594
+ /* 343 */
13468
13595
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13469
13596
 
13470
13597
  __webpack_require__.r(__webpack_exports__);
@@ -13487,7 +13614,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
13487
13614
  }
13488
13615
 
13489
13616
  /***/ }),
13490
- /* 340 */
13617
+ /* 344 */
13491
13618
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13492
13619
 
13493
13620
  __webpack_require__.r(__webpack_exports__);
@@ -13510,7 +13637,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
13510
13637
  }
13511
13638
 
13512
13639
  /***/ }),
13513
- /* 341 */
13640
+ /* 345 */
13514
13641
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13515
13642
 
13516
13643
  __webpack_require__.r(__webpack_exports__);
@@ -13533,7 +13660,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
13533
13660
  }
13534
13661
 
13535
13662
  /***/ }),
13536
- /* 342 */
13663
+ /* 346 */
13537
13664
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13538
13665
 
13539
13666
  __webpack_require__.r(__webpack_exports__);
@@ -13556,7 +13683,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
13556
13683
  }
13557
13684
 
13558
13685
  /***/ }),
13559
- /* 343 */
13686
+ /* 347 */
13560
13687
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13561
13688
 
13562
13689
  __webpack_require__.r(__webpack_exports__);
@@ -13570,9 +13697,9 @@ __webpack_require__.r(__webpack_exports__);
13570
13697
  /* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
13571
13698
  /* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
13572
13699
  /* harmony export */ });
13573
- /* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(344);
13700
+ /* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(348);
13574
13701
  /* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(133);
13575
- /* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(346);
13702
+ /* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(350);
13576
13703
  /* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(233);
13577
13704
  /* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(213);
13578
13705
  /* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(199);
@@ -13589,7 +13716,7 @@ __webpack_require__.r(__webpack_exports__);
13589
13716
 
13590
13717
 
13591
13718
  /***/ }),
13592
- /* 344 */
13719
+ /* 348 */
13593
13720
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13594
13721
 
13595
13722
  __webpack_require__.r(__webpack_exports__);
@@ -13600,7 +13727,7 @@ __webpack_require__.r(__webpack_exports__);
13600
13727
  /* harmony export */ });
13601
13728
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
13602
13729
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
13603
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(345);
13730
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(349);
13604
13731
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
13605
13732
  /* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
13606
13733
  /* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
@@ -13802,20 +13929,20 @@ var createSellAction = /*#__PURE__*/function () {
13802
13929
  }();
13803
13930
 
13804
13931
  /***/ }),
13805
- /* 345 */
13932
+ /* 349 */
13806
13933
  /***/ ((module) => {
13807
13934
 
13808
- module.exports = __WEBPACK_EXTERNAL_MODULE__345__;
13935
+ module.exports = __WEBPACK_EXTERNAL_MODULE__349__;
13809
13936
 
13810
13937
  /***/ }),
13811
- /* 346 */
13938
+ /* 350 */
13812
13939
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13813
13940
 
13814
13941
  __webpack_require__.r(__webpack_exports__);
13815
13942
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13816
13943
  /* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
13817
13944
  /* harmony export */ });
13818
- /* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(347);
13945
+ /* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(351);
13819
13946
  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); } }
13820
13947
  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); }); }; }
13821
13948
  /**
@@ -13840,7 +13967,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
13840
13967
  }();
13841
13968
 
13842
13969
  /***/ }),
13843
- /* 347 */
13970
+ /* 351 */
13844
13971
  /***/ ((module) => {
13845
13972
 
13846
13973
  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"}]');
@@ -13944,8 +14071,8 @@ __webpack_require__.r(__webpack_exports__);
13944
14071
  /* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
13945
14072
  /* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
13946
14073
  /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
13947
- /* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(320);
13948
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(343);
14074
+ /* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(324);
14075
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(347);
13949
14076
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
13950
14077
  /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
13951
14078
  /* Export types here */