@defisaver/sdk 1.2.2 → 1.2.4

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';
@@ -23,6 +23,9 @@ export declare const actionAddresses: {
23
23
  StarknetClaim: string;
24
24
  HandleAuth: string;
25
25
  DFSSell: string;
26
+ SkyStake: string;
27
+ SkyUnstake: string;
28
+ SkyClaimRewards: string;
26
29
  McdGenerate: string;
27
30
  McdGive: string;
28
31
  McdMerge: string;
@@ -268,6 +271,9 @@ export declare const actionAddresses: {
268
271
  SDaiWrap?: undefined;
269
272
  SDaiUnwrap?: undefined;
270
273
  StarknetClaim?: undefined;
274
+ SkyStake?: undefined;
275
+ SkyUnstake?: undefined;
276
+ SkyClaimRewards?: undefined;
271
277
  McdGenerate?: undefined;
272
278
  McdGive?: undefined;
273
279
  McdMerge?: undefined;
@@ -493,6 +499,9 @@ export declare const actionAddresses: {
493
499
  SDaiWrap?: undefined;
494
500
  SDaiUnwrap?: undefined;
495
501
  StarknetClaim?: undefined;
502
+ SkyStake?: undefined;
503
+ SkyUnstake?: undefined;
504
+ SkyClaimRewards?: undefined;
496
505
  McdGenerate?: undefined;
497
506
  McdGive?: undefined;
498
507
  McdMerge?: undefined;
@@ -700,6 +709,9 @@ export declare const actionAddresses: {
700
709
  SDaiUnwrap?: undefined;
701
710
  TokenizedVaultAdapter?: undefined;
702
711
  StarknetClaim?: undefined;
712
+ SkyStake?: undefined;
713
+ SkyUnstake?: undefined;
714
+ SkyClaimRewards?: undefined;
703
715
  McdGenerate?: undefined;
704
716
  McdGive?: undefined;
705
717
  McdMerge?: undefined;
@@ -19,12 +19,16 @@ export const actionAddresses = {
19
19
  ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
20
20
  SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
21
21
  SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
22
- TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
22
+ TokenizedVaultAdapter: '0x30aB8926FBE6c3aeEf52aFC575E54FAD3ae84a24',
23
23
  PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
24
24
  StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
25
25
  HandleAuth: '0xfc2e2b37c73d5d43cf5fcbd80a4049b620d60eba',
26
26
  // exchange
27
27
  DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
28
+ // sky
29
+ SkyStake: '0x5803C399EE9f887C8b81075E4C185c448361c235',
30
+ SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
31
+ SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
28
32
  // maker
29
33
  McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
30
34
  McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
@@ -34,6 +34,9 @@ declare const actionAddressesAllChains: {
34
34
  StarknetClaim: string;
35
35
  HandleAuth: string;
36
36
  DFSSell: string;
37
+ SkyStake: string;
38
+ SkyUnstake: string;
39
+ SkyClaimRewards: string;
37
40
  McdGenerate: string;
38
41
  McdGive: string;
39
42
  McdMerge: string;
@@ -279,6 +282,9 @@ declare const actionAddressesAllChains: {
279
282
  SDaiWrap?: undefined;
280
283
  SDaiUnwrap?: undefined;
281
284
  StarknetClaim?: undefined;
285
+ SkyStake?: undefined;
286
+ SkyUnstake?: undefined;
287
+ SkyClaimRewards?: undefined;
282
288
  McdGenerate?: undefined;
283
289
  McdGive?: undefined;
284
290
  McdMerge?: undefined;
@@ -504,6 +510,9 @@ declare const actionAddressesAllChains: {
504
510
  SDaiWrap?: undefined;
505
511
  SDaiUnwrap?: undefined;
506
512
  StarknetClaim?: undefined;
513
+ SkyStake?: undefined;
514
+ SkyUnstake?: undefined;
515
+ SkyClaimRewards?: undefined;
507
516
  McdGenerate?: undefined;
508
517
  McdGive?: undefined;
509
518
  McdMerge?: undefined;
@@ -711,6 +720,9 @@ declare const actionAddressesAllChains: {
711
720
  SDaiUnwrap?: undefined;
712
721
  TokenizedVaultAdapter?: undefined;
713
722
  StarknetClaim?: undefined;
723
+ SkyStake?: undefined;
724
+ SkyUnstake?: undefined;
725
+ SkyClaimRewards?: undefined;
714
726
  McdGenerate?: undefined;
715
727
  McdGive?: undefined;
716
728
  McdMerge?: undefined;
@@ -896,6 +908,9 @@ declare const actionAddresses: (chainId?: null) => {
896
908
  StarknetClaim: string;
897
909
  HandleAuth: string;
898
910
  DFSSell: string;
911
+ SkyStake: string;
912
+ SkyUnstake: string;
913
+ SkyClaimRewards: string;
899
914
  McdGenerate: string;
900
915
  McdGive: string;
901
916
  McdMerge: string;
@@ -1141,6 +1156,9 @@ declare const actionAddresses: (chainId?: null) => {
1141
1156
  SDaiWrap?: undefined;
1142
1157
  SDaiUnwrap?: undefined;
1143
1158
  StarknetClaim?: undefined;
1159
+ SkyStake?: undefined;
1160
+ SkyUnstake?: undefined;
1161
+ SkyClaimRewards?: undefined;
1144
1162
  McdGenerate?: undefined;
1145
1163
  McdGive?: undefined;
1146
1164
  McdMerge?: undefined;
@@ -1366,6 +1384,9 @@ declare const actionAddresses: (chainId?: null) => {
1366
1384
  SDaiWrap?: undefined;
1367
1385
  SDaiUnwrap?: undefined;
1368
1386
  StarknetClaim?: undefined;
1387
+ SkyStake?: undefined;
1388
+ SkyUnstake?: undefined;
1389
+ SkyClaimRewards?: undefined;
1369
1390
  McdGenerate?: undefined;
1370
1391
  McdGive?: undefined;
1371
1392
  McdMerge?: undefined;
@@ -1573,6 +1594,9 @@ declare const actionAddresses: (chainId?: null) => {
1573
1594
  SDaiUnwrap?: undefined;
1574
1595
  TokenizedVaultAdapter?: undefined;
1575
1596
  StarknetClaim?: undefined;
1597
+ SkyStake?: undefined;
1598
+ SkyUnstake?: undefined;
1599
+ SkyClaimRewards?: undefined;
1576
1600
  McdGenerate?: undefined;
1577
1601
  McdGive?: undefined;
1578
1602
  McdMerge?: undefined;
@@ -1901,6 +1925,9 @@ declare const _default: {
1901
1925
  StarknetClaim: string;
1902
1926
  HandleAuth: string;
1903
1927
  DFSSell: string;
1928
+ SkyStake: string;
1929
+ SkyUnstake: string;
1930
+ SkyClaimRewards: string;
1904
1931
  McdGenerate: string;
1905
1932
  McdGive: string;
1906
1933
  McdMerge: string;
@@ -2146,6 +2173,9 @@ declare const _default: {
2146
2173
  SDaiWrap?: undefined;
2147
2174
  SDaiUnwrap?: undefined;
2148
2175
  StarknetClaim?: undefined;
2176
+ SkyStake?: undefined;
2177
+ SkyUnstake?: undefined;
2178
+ SkyClaimRewards?: undefined;
2149
2179
  McdGenerate?: undefined;
2150
2180
  McdGive?: undefined;
2151
2181
  McdMerge?: undefined;
@@ -2371,6 +2401,9 @@ declare const _default: {
2371
2401
  SDaiWrap?: undefined;
2372
2402
  SDaiUnwrap?: undefined;
2373
2403
  StarknetClaim?: undefined;
2404
+ SkyStake?: undefined;
2405
+ SkyUnstake?: undefined;
2406
+ SkyClaimRewards?: undefined;
2374
2407
  McdGenerate?: undefined;
2375
2408
  McdGive?: undefined;
2376
2409
  McdMerge?: undefined;
@@ -2578,6 +2611,9 @@ declare const _default: {
2578
2611
  SDaiUnwrap?: undefined;
2579
2612
  TokenizedVaultAdapter?: undefined;
2580
2613
  StarknetClaim?: undefined;
2614
+ SkyStake?: undefined;
2615
+ SkyUnstake?: undefined;
2616
+ SkyClaimRewards?: undefined;
2581
2617
  McdGenerate?: undefined;
2582
2618
  McdGive?: undefined;
2583
2619
  McdMerge?: undefined;
@@ -2763,6 +2799,9 @@ declare const _default: {
2763
2799
  StarknetClaim: string;
2764
2800
  HandleAuth: string;
2765
2801
  DFSSell: string;
2802
+ SkyStake: string;
2803
+ SkyUnstake: string;
2804
+ SkyClaimRewards: string;
2766
2805
  McdGenerate: string;
2767
2806
  McdGive: string;
2768
2807
  McdMerge: string;
@@ -3008,6 +3047,9 @@ declare const _default: {
3008
3047
  SDaiWrap?: undefined;
3009
3048
  SDaiUnwrap?: undefined;
3010
3049
  StarknetClaim?: undefined;
3050
+ SkyStake?: undefined;
3051
+ SkyUnstake?: undefined;
3052
+ SkyClaimRewards?: undefined;
3011
3053
  McdGenerate?: undefined;
3012
3054
  McdGive?: undefined;
3013
3055
  McdMerge?: undefined;
@@ -3233,6 +3275,9 @@ declare const _default: {
3233
3275
  SDaiWrap?: undefined;
3234
3276
  SDaiUnwrap?: undefined;
3235
3277
  StarknetClaim?: undefined;
3278
+ SkyStake?: undefined;
3279
+ SkyUnstake?: undefined;
3280
+ SkyClaimRewards?: undefined;
3236
3281
  McdGenerate?: undefined;
3237
3282
  McdGive?: undefined;
3238
3283
  McdMerge?: undefined;
@@ -3440,6 +3485,9 @@ declare const _default: {
3440
3485
  SDaiUnwrap?: undefined;
3441
3486
  TokenizedVaultAdapter?: undefined;
3442
3487
  StarknetClaim?: undefined;
3488
+ SkyStake?: undefined;
3489
+ SkyUnstake?: undefined;
3490
+ SkyClaimRewards?: undefined;
3443
3491
  McdGenerate?: undefined;
3444
3492
  McdGive?: undefined;
3445
3493
  McdMerge?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
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
@@ -21,7 +21,7 @@ export const actionAddresses = {
21
21
  ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
22
22
  SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
23
23
  SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
24
- TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
24
+ TokenizedVaultAdapter: '0x30aB8926FBE6c3aeEf52aFC575E54FAD3ae84a24',
25
25
  PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
26
26
  StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
27
27
  HandleAuth: '0xfc2e2b37c73d5d43cf5fcbd80a4049b620d60eba',
@@ -29,6 +29,11 @@ export const actionAddresses = {
29
29
  // exchange
30
30
  DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
31
31
 
32
+ // sky
33
+ SkyStake: '0x5803C399EE9f887C8b81075E4C185c448361c235',
34
+ SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
35
+ SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
36
+
32
37
  // maker
33
38
  McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
34
39
  McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
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__ = ([
@@ -1308,12 +1308,16 @@ var actionAddresses = {
1308
1308
  ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
1309
1309
  SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
1310
1310
  SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
1311
- TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
1311
+ TokenizedVaultAdapter: '0x30aB8926FBE6c3aeEf52aFC575E54FAD3ae84a24',
1312
1312
  PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
1313
1313
  StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
1314
1314
  HandleAuth: '0xfc2e2b37c73d5d43cf5fcbd80a4049b620d60eba',
1315
1315
  // exchange
1316
1316
  DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
1317
+ // sky
1318
+ SkyStake: '0x5803C399EE9f887C8b81075E4C185c448361c235',
1319
+ SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
1320
+ SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
1317
1321
  // maker
1318
1322
  McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
1319
1323
  McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
@@ -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 */