@defisaver/sdk 1.2.33 → 1.2.34

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.
@@ -38,4 +38,5 @@ import * as renzo from './renzo';
38
38
  import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
- 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, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, };
41
+ import * as umbrella from './umbrella';
42
+ 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, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, };
@@ -38,4 +38,5 @@ import * as renzo from './renzo';
38
38
  import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
- 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, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, };
41
+ import * as umbrella from './umbrella';
42
+ 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, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, };
@@ -0,0 +1,16 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress } from '../../types';
3
+ /**
4
+ * UmbrellaClaimRewardsAction - Claim rewards from staking in Umbrella staking system
5
+
6
+ *
7
+ * @category Umbrella
8
+ */
9
+ export declare class UmbrellaClaimRewardsAction extends Action {
10
+ /**
11
+ * @param asset The asset to claim rewards from
12
+ * @param to The address to send the rewards to
13
+ * @param rewards The rewards to claim
14
+ */
15
+ constructor(asset: EthAddress, to: EthAddress, rewards: Array<EthAddress>);
16
+ }
@@ -0,0 +1,22 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * UmbrellaClaimRewardsAction - Claim rewards from staking in Umbrella staking system
5
+
6
+ *
7
+ * @category Umbrella
8
+ */
9
+ export class UmbrellaClaimRewardsAction extends Action {
10
+ /**
11
+ * @param asset The asset to claim rewards from
12
+ * @param to The address to send the rewards to
13
+ * @param rewards The rewards to claim
14
+ */
15
+ constructor(asset, to, rewards) {
16
+ super('UmbrellaClaimRewards', getAddr('UmbrellaClaimRewards'), ['address', 'address', 'address[]'], [asset, to, rewards]);
17
+ this.mappableArgs = [
18
+ this.args[0],
19
+ this.args[1],
20
+ ];
21
+ }
22
+ }
@@ -0,0 +1,18 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * UmbrellaFinalizeUnstakeAction - Finalize un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
5
+ * This action will always unwrap waTokens to aTokens or underlying after un-staking.
6
+ *
7
+ * @category Umbrella
8
+ */
9
+ export declare class UmbrellaFinalizeUnstakeAction extends Action {
10
+ /**
11
+ * @param stkToken The umbrella stake token.
12
+ * @param to The address to which the aToken/underlying or GHO will be transferred
13
+ * @param stkAmount The amount of stkToken shares to burn (max.uint to redeem whole balance, 0 to start cooldown period)
14
+ * @param useATokens Whether to unwrap waTokens to aTokens or underlying (e.g. aUSDC or USDC).
15
+ * @param minAmountOut The minimum amount of aToken/underlying or GHO to be received
16
+ */
17
+ constructor(stkToken: EthAddress, to: EthAddress, stkAmount: uint256, useATokens: boolean, minAmountOut: uint256);
18
+ }
@@ -0,0 +1,31 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { requireAddress } from '../../utils/general';
4
+ /**
5
+ * UmbrellaFinalizeUnstakeAction - Finalize un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
6
+ * This action will always unwrap waTokens to aTokens or underlying after un-staking.
7
+ *
8
+ * @category Umbrella
9
+ */
10
+ export class UmbrellaFinalizeUnstakeAction extends Action {
11
+ /**
12
+ * @param stkToken The umbrella stake token.
13
+ * @param to The address to which the aToken/underlying or GHO will be transferred
14
+ * @param stkAmount The amount of stkToken shares to burn (max.uint to redeem whole balance, 0 to start cooldown period)
15
+ * @param useATokens Whether to unwrap waTokens to aTokens or underlying (e.g. aUSDC or USDC).
16
+ * @param minAmountOut The minimum amount of aToken/underlying or GHO to be received
17
+ */
18
+ constructor(stkToken, to, stkAmount, useATokens, minAmountOut) {
19
+ requireAddress(to);
20
+ if (stkAmount === '0')
21
+ throw new Error('Amount must be greater than 0. If you want to start cooldown period, use UmbrellaStartUnstakeAction');
22
+ super('UmbrellaUnstake', getAddr('UmbrellaUnstake'), ['address', 'address', 'uint256', 'bool', 'uint256'], [stkToken, to, stkAmount, useATokens, minAmountOut]);
23
+ this.mappableArgs = [
24
+ this.args[0],
25
+ this.args[1],
26
+ this.args[2],
27
+ this.args[3],
28
+ this.args[4],
29
+ ];
30
+ }
31
+ }
@@ -0,0 +1,19 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256 } from '../../types';
3
+ /**
4
+ * UmbrellaStakeAction - Stake aTokens/underlying or GHO tokens using Umbrella Stake Token
5
+ * This action will always pull aTokens/underlying for non GHO staking and wrap them into waTokens for staking.
6
+ *
7
+ * @category Umbrella
8
+ */
9
+ export declare class UmbrellaStakeAction extends Action {
10
+ /**
11
+ * @param stkToken The umbrella stake token.
12
+ * @param from The address from which the aToken/underlying or GHO will be pulled.
13
+ * @param to The address to which the stkToken will be transferred
14
+ * @param amount The amount of aToken/underlying or GHO to be staked.
15
+ * @param useATokens Whether to wrap aTokens to waTokens (e.g. aUSDC to waUSDC) before staking.
16
+ * @param minSharesOut The minimum amount of stkToken shares to receive.
17
+ */
18
+ constructor(stkToken: EthAddress, from: EthAddress, to: EthAddress, amount: uint256, useATokens: boolean, minSharesOut: uint256);
19
+ }
@@ -0,0 +1,29 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * UmbrellaStakeAction - Stake aTokens/underlying or GHO tokens using Umbrella Stake Token
5
+ * This action will always pull aTokens/underlying for non GHO staking and wrap them into waTokens for staking.
6
+ *
7
+ * @category Umbrella
8
+ */
9
+ export class UmbrellaStakeAction extends Action {
10
+ /**
11
+ * @param stkToken The umbrella stake token.
12
+ * @param from The address from which the aToken/underlying or GHO will be pulled.
13
+ * @param to The address to which the stkToken will be transferred
14
+ * @param amount The amount of aToken/underlying or GHO to be staked.
15
+ * @param useATokens Whether to wrap aTokens to waTokens (e.g. aUSDC to waUSDC) before staking.
16
+ * @param minSharesOut The minimum amount of stkToken shares to receive.
17
+ */
18
+ constructor(stkToken, from, to, amount, useATokens, minSharesOut) {
19
+ super('UmbrellaStake', getAddr('UmbrellaStake'), ['address', 'address', 'address', 'uint256', 'bool', 'uint256'], [stkToken, from, to, amount, useATokens, minSharesOut]);
20
+ this.mappableArgs = [
21
+ this.args[0],
22
+ this.args[1],
23
+ this.args[2],
24
+ this.args[3],
25
+ this.args[4],
26
+ this.args[5],
27
+ ];
28
+ }
29
+ }
@@ -0,0 +1,13 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress } from '../../types';
3
+ /**
4
+ * UmbrellaStartUnstakeAction - Start un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
5
+ *
6
+ * @category Umbrella
7
+ */
8
+ export declare class UmbrellaStartUnstakeAction extends Action {
9
+ /**
10
+ * @param stkToken The umbrella stake token.
11
+ */
12
+ constructor(stkToken: EthAddress);
13
+ }
@@ -0,0 +1,18 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * UmbrellaStartUnstakeAction - Start un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
5
+ *
6
+ * @category Umbrella
7
+ */
8
+ export class UmbrellaStartUnstakeAction extends Action {
9
+ /**
10
+ * @param stkToken The umbrella stake token.
11
+ */
12
+ constructor(stkToken) {
13
+ super('UmbrellaUnstake', getAddr('UmbrellaUnstake'), ['address', 'address', 'uint256', 'bool', 'uint256'], [stkToken, getAddr('Empty'), '0', false, '0']);
14
+ this.mappableArgs = [
15
+ this.args[0],
16
+ ];
17
+ }
18
+ }
@@ -0,0 +1,4 @@
1
+ export * from './UmbrellaStakeAction';
2
+ export * from './UmbrellaStartUnstakeAction';
3
+ export * from './UmbrellaFinalizeUnstakeAction';
4
+ export * from './UmbrellaClaimRewardsAction';
@@ -0,0 +1,4 @@
1
+ export * from './UmbrellaStakeAction';
2
+ export * from './UmbrellaStartUnstakeAction';
3
+ export * from './UmbrellaFinalizeUnstakeAction';
4
+ export * from './UmbrellaClaimRewardsAction';
@@ -265,6 +265,9 @@ export declare const actionAddresses: {
265
265
  FluidDexPayback: string;
266
266
  FluidDexWithdraw: string;
267
267
  PendleTokenRedeem: string;
268
+ UmbrellaClaimRewards: string;
269
+ UmbrellaStake: string;
270
+ UmbrellaUnstake: string;
268
271
  SFApproveTokens: string;
269
272
  AaveV3DelegateCredit?: undefined;
270
273
  AaveV3RatioTrigger?: undefined;
@@ -541,6 +544,9 @@ export declare const actionAddresses: {
541
544
  FluidDexPayback?: undefined;
542
545
  FluidDexWithdraw?: undefined;
543
546
  PendleTokenRedeem?: undefined;
547
+ UmbrellaClaimRewards?: undefined;
548
+ UmbrellaStake?: undefined;
549
+ UmbrellaUnstake?: undefined;
544
550
  MorphoBlueView?: undefined;
545
551
  } | {
546
552
  DFSSell: string;
@@ -810,6 +816,9 @@ export declare const actionAddresses: {
810
816
  KingClaim?: undefined;
811
817
  FluidClaim?: undefined;
812
818
  PendleTokenRedeem?: undefined;
819
+ UmbrellaClaimRewards?: undefined;
820
+ UmbrellaStake?: undefined;
821
+ UmbrellaUnstake?: undefined;
813
822
  AaveV3DelegateCredit?: undefined;
814
823
  AaveV3RatioTrigger?: undefined;
815
824
  MorphoBlueView?: undefined;
@@ -1081,6 +1090,9 @@ export declare const actionAddresses: {
1081
1090
  FluidDexPayback?: undefined;
1082
1091
  FluidDexWithdraw?: undefined;
1083
1092
  PendleTokenRedeem?: undefined;
1093
+ UmbrellaClaimRewards?: undefined;
1094
+ UmbrellaStake?: undefined;
1095
+ UmbrellaUnstake?: undefined;
1084
1096
  AaveV3DelegateCredit?: undefined;
1085
1097
  AaveV3RatioTrigger?: undefined;
1086
1098
  AaveV3RatioCheck?: undefined;
@@ -73,7 +73,7 @@ export const actionAddresses = {
73
73
  AaveV3ClaimRewards: '0x998A2E9aaE03c11b7A9863C1F59c42A21fcf47D0',
74
74
  AaveV3Borrow: '0x7079ba1Bd00EeFCD2a260BbD6D088230505e3858',
75
75
  AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
76
- AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
76
+ AaveV3View: '0x0CB0170F3413e54405F64d3C23BA3A1D8Bb96D99',
77
77
  AaveV3DelegateWithSig: '0x9253E22Ce4f0AeE541301CF8cC29843f9083a1F4',
78
78
  GhoClaimAAVE: '0xA53060d822cB31AFd5B26D899130a14E8Efc5917',
79
79
  GhoUnstake: '0x3fD02e65B4fb12381946D03815Ff3FF8Ebe2fC63',
@@ -304,6 +304,10 @@ export const actionAddresses = {
304
304
  FluidDexWithdraw: '0x14d5bb8E96fbf7C1f9A8E3EFD0eF5fe6832ff3cd',
305
305
  // pendle
306
306
  PendleTokenRedeem: '0x94682544aCC5f4D82ECB1ab97998baa0e428EA0f',
307
+ // umbrella staking
308
+ UmbrellaClaimRewards: '0xe2c92F323d5e6F088D6195e6a9156817587De5E2',
309
+ UmbrellaStake: '0x3Ce0791050C7cA507F90914Ddf9c357eC2973bbC',
310
+ UmbrellaUnstake: '0xc27634A1D6c5Ed151ebd963Ef35487000C28dc0b',
307
311
  // summer.fi
308
312
  SFApproveTokens: '0x0aC29D44eeC8e8f3b010c2e8FC960957db0c8298',
309
313
  },
@@ -486,7 +490,7 @@ export const actionAddresses = {
486
490
  AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
487
491
  AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
488
492
  AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
489
- AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
493
+ AaveV3View: '0xf140B2904beb743C2f17e0b5f766074212a7e243',
490
494
  AaveV3DelegateWithSig: '0x9e295AFaC75E7843b88a563D119FD953EDf441c2',
491
495
  // CompV3
492
496
  CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
@@ -276,6 +276,9 @@ declare const actionAddressesAllChains: {
276
276
  FluidDexPayback: string;
277
277
  FluidDexWithdraw: string;
278
278
  PendleTokenRedeem: string;
279
+ UmbrellaClaimRewards: string;
280
+ UmbrellaStake: string;
281
+ UmbrellaUnstake: string;
279
282
  SFApproveTokens: string;
280
283
  AaveV3DelegateCredit?: undefined;
281
284
  AaveV3RatioTrigger?: undefined;
@@ -552,6 +555,9 @@ declare const actionAddressesAllChains: {
552
555
  FluidDexPayback?: undefined;
553
556
  FluidDexWithdraw?: undefined;
554
557
  PendleTokenRedeem?: undefined;
558
+ UmbrellaClaimRewards?: undefined;
559
+ UmbrellaStake?: undefined;
560
+ UmbrellaUnstake?: undefined;
555
561
  MorphoBlueView?: undefined;
556
562
  } | {
557
563
  DFSSell: string;
@@ -821,6 +827,9 @@ declare const actionAddressesAllChains: {
821
827
  KingClaim?: undefined;
822
828
  FluidClaim?: undefined;
823
829
  PendleTokenRedeem?: undefined;
830
+ UmbrellaClaimRewards?: undefined;
831
+ UmbrellaStake?: undefined;
832
+ UmbrellaUnstake?: undefined;
824
833
  AaveV3DelegateCredit?: undefined;
825
834
  AaveV3RatioTrigger?: undefined;
826
835
  MorphoBlueView?: undefined;
@@ -1092,6 +1101,9 @@ declare const actionAddressesAllChains: {
1092
1101
  FluidDexPayback?: undefined;
1093
1102
  FluidDexWithdraw?: undefined;
1094
1103
  PendleTokenRedeem?: undefined;
1104
+ UmbrellaClaimRewards?: undefined;
1105
+ UmbrellaStake?: undefined;
1106
+ UmbrellaUnstake?: undefined;
1095
1107
  AaveV3DelegateCredit?: undefined;
1096
1108
  AaveV3RatioTrigger?: undefined;
1097
1109
  AaveV3RatioCheck?: undefined;
@@ -1362,6 +1374,9 @@ declare const actionAddresses: (chainId?: null) => {
1362
1374
  FluidDexPayback: string;
1363
1375
  FluidDexWithdraw: string;
1364
1376
  PendleTokenRedeem: string;
1377
+ UmbrellaClaimRewards: string;
1378
+ UmbrellaStake: string;
1379
+ UmbrellaUnstake: string;
1365
1380
  SFApproveTokens: string;
1366
1381
  AaveV3DelegateCredit?: undefined;
1367
1382
  AaveV3RatioTrigger?: undefined;
@@ -1638,6 +1653,9 @@ declare const actionAddresses: (chainId?: null) => {
1638
1653
  FluidDexPayback?: undefined;
1639
1654
  FluidDexWithdraw?: undefined;
1640
1655
  PendleTokenRedeem?: undefined;
1656
+ UmbrellaClaimRewards?: undefined;
1657
+ UmbrellaStake?: undefined;
1658
+ UmbrellaUnstake?: undefined;
1641
1659
  MorphoBlueView?: undefined;
1642
1660
  } | {
1643
1661
  DFSSell: string;
@@ -1907,6 +1925,9 @@ declare const actionAddresses: (chainId?: null) => {
1907
1925
  KingClaim?: undefined;
1908
1926
  FluidClaim?: undefined;
1909
1927
  PendleTokenRedeem?: undefined;
1928
+ UmbrellaClaimRewards?: undefined;
1929
+ UmbrellaStake?: undefined;
1930
+ UmbrellaUnstake?: undefined;
1910
1931
  AaveV3DelegateCredit?: undefined;
1911
1932
  AaveV3RatioTrigger?: undefined;
1912
1933
  MorphoBlueView?: undefined;
@@ -2178,6 +2199,9 @@ declare const actionAddresses: (chainId?: null) => {
2178
2199
  FluidDexPayback?: undefined;
2179
2200
  FluidDexWithdraw?: undefined;
2180
2201
  PendleTokenRedeem?: undefined;
2202
+ UmbrellaClaimRewards?: undefined;
2203
+ UmbrellaStake?: undefined;
2204
+ UmbrellaUnstake?: undefined;
2181
2205
  AaveV3DelegateCredit?: undefined;
2182
2206
  AaveV3RatioTrigger?: undefined;
2183
2207
  AaveV3RatioCheck?: undefined;
@@ -2591,6 +2615,9 @@ declare const _default: {
2591
2615
  FluidDexPayback: string;
2592
2616
  FluidDexWithdraw: string;
2593
2617
  PendleTokenRedeem: string;
2618
+ UmbrellaClaimRewards: string;
2619
+ UmbrellaStake: string;
2620
+ UmbrellaUnstake: string;
2594
2621
  SFApproveTokens: string;
2595
2622
  AaveV3DelegateCredit?: undefined;
2596
2623
  AaveV3RatioTrigger?: undefined;
@@ -2867,6 +2894,9 @@ declare const _default: {
2867
2894
  FluidDexPayback?: undefined;
2868
2895
  FluidDexWithdraw?: undefined;
2869
2896
  PendleTokenRedeem?: undefined;
2897
+ UmbrellaClaimRewards?: undefined;
2898
+ UmbrellaStake?: undefined;
2899
+ UmbrellaUnstake?: undefined;
2870
2900
  MorphoBlueView?: undefined;
2871
2901
  } | {
2872
2902
  DFSSell: string;
@@ -3136,6 +3166,9 @@ declare const _default: {
3136
3166
  KingClaim?: undefined;
3137
3167
  FluidClaim?: undefined;
3138
3168
  PendleTokenRedeem?: undefined;
3169
+ UmbrellaClaimRewards?: undefined;
3170
+ UmbrellaStake?: undefined;
3171
+ UmbrellaUnstake?: undefined;
3139
3172
  AaveV3DelegateCredit?: undefined;
3140
3173
  AaveV3RatioTrigger?: undefined;
3141
3174
  MorphoBlueView?: undefined;
@@ -3407,6 +3440,9 @@ declare const _default: {
3407
3440
  FluidDexPayback?: undefined;
3408
3441
  FluidDexWithdraw?: undefined;
3409
3442
  PendleTokenRedeem?: undefined;
3443
+ UmbrellaClaimRewards?: undefined;
3444
+ UmbrellaStake?: undefined;
3445
+ UmbrellaUnstake?: undefined;
3410
3446
  AaveV3DelegateCredit?: undefined;
3411
3447
  AaveV3RatioTrigger?: undefined;
3412
3448
  AaveV3RatioCheck?: undefined;
@@ -3677,6 +3713,9 @@ declare const _default: {
3677
3713
  FluidDexPayback: string;
3678
3714
  FluidDexWithdraw: string;
3679
3715
  PendleTokenRedeem: string;
3716
+ UmbrellaClaimRewards: string;
3717
+ UmbrellaStake: string;
3718
+ UmbrellaUnstake: string;
3680
3719
  SFApproveTokens: string;
3681
3720
  AaveV3DelegateCredit?: undefined;
3682
3721
  AaveV3RatioTrigger?: undefined;
@@ -3953,6 +3992,9 @@ declare const _default: {
3953
3992
  FluidDexPayback?: undefined;
3954
3993
  FluidDexWithdraw?: undefined;
3955
3994
  PendleTokenRedeem?: undefined;
3995
+ UmbrellaClaimRewards?: undefined;
3996
+ UmbrellaStake?: undefined;
3997
+ UmbrellaUnstake?: undefined;
3956
3998
  MorphoBlueView?: undefined;
3957
3999
  } | {
3958
4000
  DFSSell: string;
@@ -4222,6 +4264,9 @@ declare const _default: {
4222
4264
  KingClaim?: undefined;
4223
4265
  FluidClaim?: undefined;
4224
4266
  PendleTokenRedeem?: undefined;
4267
+ UmbrellaClaimRewards?: undefined;
4268
+ UmbrellaStake?: undefined;
4269
+ UmbrellaUnstake?: undefined;
4225
4270
  AaveV3DelegateCredit?: undefined;
4226
4271
  AaveV3RatioTrigger?: undefined;
4227
4272
  MorphoBlueView?: undefined;
@@ -4493,6 +4538,9 @@ declare const _default: {
4493
4538
  FluidDexPayback?: undefined;
4494
4539
  FluidDexWithdraw?: undefined;
4495
4540
  PendleTokenRedeem?: undefined;
4541
+ UmbrellaClaimRewards?: undefined;
4542
+ UmbrellaStake?: undefined;
4543
+ UmbrellaUnstake?: undefined;
4496
4544
  AaveV3DelegateCredit?: undefined;
4497
4545
  AaveV3RatioTrigger?: undefined;
4498
4546
  AaveV3RatioCheck?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.2.33",
3
+ "version": "1.2.34",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -23,7 +23,7 @@
23
23
  "license": "ISC",
24
24
  "dependencies": {
25
25
  "@defisaver/eslint-config": "^1.0.0",
26
- "@defisaver/tokens": "^1.6.8",
26
+ "@defisaver/tokens": "^1.6.15",
27
27
  "@ethersproject/address": "^5.0.10",
28
28
  "@ethersproject/solidity": "^5.0.9",
29
29
  "@types/web3-eth-abi": "^1.2.2",
@@ -38,6 +38,7 @@ import * as renzo from './renzo';
38
38
  import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
+ import * as umbrella from './umbrella';
41
42
 
42
43
  export {
43
44
  aave,
@@ -80,4 +81,5 @@ export {
80
81
  etherfi,
81
82
  fluid,
82
83
  pendle,
84
+ umbrella,
83
85
  };
@@ -0,0 +1,33 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress } from '../../types';
4
+
5
+ /**
6
+ * UmbrellaClaimRewardsAction - Claim rewards from staking in Umbrella staking system
7
+
8
+ *
9
+ * @category Umbrella
10
+ */
11
+ export class UmbrellaClaimRewardsAction extends Action {
12
+ /**
13
+ * @param asset The asset to claim rewards from
14
+ * @param to The address to send the rewards to
15
+ * @param rewards The rewards to claim
16
+ */
17
+ constructor(
18
+ asset: EthAddress,
19
+ to: EthAddress,
20
+ rewards: Array<EthAddress>,
21
+ ) {
22
+ super(
23
+ 'UmbrellaClaimRewards',
24
+ getAddr('UmbrellaClaimRewards'),
25
+ ['address', 'address', 'address[]'],
26
+ [asset, to, rewards],
27
+ );
28
+ this.mappableArgs = [
29
+ this.args[0],
30
+ this.args[1],
31
+ ];
32
+ }
33
+ }
@@ -0,0 +1,43 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256 } from '../../types';
4
+ import { requireAddress } from '../../utils/general';
5
+
6
+ /**
7
+ * UmbrellaFinalizeUnstakeAction - Finalize un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
8
+ * This action will always unwrap waTokens to aTokens or underlying after un-staking.
9
+ *
10
+ * @category Umbrella
11
+ */
12
+ export class UmbrellaFinalizeUnstakeAction extends Action {
13
+ /**
14
+ * @param stkToken The umbrella stake token.
15
+ * @param to The address to which the aToken/underlying or GHO will be transferred
16
+ * @param stkAmount The amount of stkToken shares to burn (max.uint to redeem whole balance, 0 to start cooldown period)
17
+ * @param useATokens Whether to unwrap waTokens to aTokens or underlying (e.g. aUSDC or USDC).
18
+ * @param minAmountOut The minimum amount of aToken/underlying or GHO to be received
19
+ */
20
+ constructor(
21
+ stkToken: EthAddress,
22
+ to: EthAddress,
23
+ stkAmount: uint256,
24
+ useATokens: boolean,
25
+ minAmountOut: uint256,
26
+ ) {
27
+ requireAddress(to);
28
+ if (stkAmount === '0') throw new Error('Amount must be greater than 0. If you want to start cooldown period, use UmbrellaStartUnstakeAction');
29
+ super(
30
+ 'UmbrellaUnstake',
31
+ getAddr('UmbrellaUnstake'),
32
+ ['address', 'address', 'uint256', 'bool', 'uint256'],
33
+ [stkToken, to, stkAmount, useATokens, minAmountOut],
34
+ );
35
+ this.mappableArgs = [
36
+ this.args[0],
37
+ this.args[1],
38
+ this.args[2],
39
+ this.args[3],
40
+ this.args[4],
41
+ ];
42
+ }
43
+ }
@@ -0,0 +1,43 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256 } from '../../types';
4
+
5
+ /**
6
+ * UmbrellaStakeAction - Stake aTokens/underlying or GHO tokens using Umbrella Stake Token
7
+ * This action will always pull aTokens/underlying for non GHO staking and wrap them into waTokens for staking.
8
+ *
9
+ * @category Umbrella
10
+ */
11
+ export class UmbrellaStakeAction extends Action {
12
+ /**
13
+ * @param stkToken The umbrella stake token.
14
+ * @param from The address from which the aToken/underlying or GHO will be pulled.
15
+ * @param to The address to which the stkToken will be transferred
16
+ * @param amount The amount of aToken/underlying or GHO to be staked.
17
+ * @param useATokens Whether to wrap aTokens to waTokens (e.g. aUSDC to waUSDC) before staking.
18
+ * @param minSharesOut The minimum amount of stkToken shares to receive.
19
+ */
20
+ constructor(
21
+ stkToken: EthAddress,
22
+ from: EthAddress,
23
+ to: EthAddress,
24
+ amount: uint256,
25
+ useATokens: boolean,
26
+ minSharesOut: uint256,
27
+ ) {
28
+ super(
29
+ 'UmbrellaStake',
30
+ getAddr('UmbrellaStake'),
31
+ ['address', 'address', 'address', 'uint256', 'bool', 'uint256'],
32
+ [stkToken, from, to, amount, useATokens, minSharesOut],
33
+ );
34
+ this.mappableArgs = [
35
+ this.args[0],
36
+ this.args[1],
37
+ this.args[2],
38
+ this.args[3],
39
+ this.args[4],
40
+ this.args[5],
41
+ ];
42
+ }
43
+ }
@@ -0,0 +1,28 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256 } from '../../types';
4
+ import { requireAddress } from '../../utils/general';
5
+
6
+ /**
7
+ * UmbrellaStartUnstakeAction - Start un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
8
+ *
9
+ * @category Umbrella
10
+ */
11
+ export class UmbrellaStartUnstakeAction extends Action {
12
+ /**
13
+ * @param stkToken The umbrella stake token.
14
+ */
15
+ constructor(
16
+ stkToken: EthAddress,
17
+ ) {
18
+ super(
19
+ 'UmbrellaUnstake',
20
+ getAddr('UmbrellaUnstake'),
21
+ ['address', 'address', 'uint256', 'bool', 'uint256'],
22
+ [stkToken, getAddr('Empty'), '0', false, '0'],
23
+ );
24
+ this.mappableArgs = [
25
+ this.args[0],
26
+ ];
27
+ }
28
+ }
@@ -0,0 +1,4 @@
1
+ export * from './UmbrellaStakeAction';
2
+ export * from './UmbrellaStartUnstakeAction';
3
+ export * from './UmbrellaFinalizeUnstakeAction';
4
+ export * from './UmbrellaClaimRewardsAction';
package/src/addresses.ts CHANGED
@@ -80,7 +80,7 @@ export const actionAddresses = {
80
80
  AaveV3ClaimRewards: '0x998A2E9aaE03c11b7A9863C1F59c42A21fcf47D0',
81
81
  AaveV3Borrow: '0x7079ba1Bd00EeFCD2a260BbD6D088230505e3858',
82
82
  AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
83
- AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
83
+ AaveV3View: '0x0CB0170F3413e54405F64d3C23BA3A1D8Bb96D99',
84
84
  AaveV3DelegateWithSig: '0x9253E22Ce4f0AeE541301CF8cC29843f9083a1F4',
85
85
  GhoClaimAAVE: '0xA53060d822cB31AFd5B26D899130a14E8Efc5917',
86
86
  GhoUnstake: '0x3fD02e65B4fb12381946D03815Ff3FF8Ebe2fC63',
@@ -350,6 +350,11 @@ export const actionAddresses = {
350
350
  // pendle
351
351
  PendleTokenRedeem: '0x94682544aCC5f4D82ECB1ab97998baa0e428EA0f',
352
352
 
353
+ // umbrella staking
354
+ UmbrellaClaimRewards: '0xe2c92F323d5e6F088D6195e6a9156817587De5E2',
355
+ UmbrellaStake: '0x3Ce0791050C7cA507F90914Ddf9c357eC2973bbC',
356
+ UmbrellaUnstake: '0xc27634A1D6c5Ed151ebd963Ef35487000C28dc0b',
357
+
353
358
  // summer.fi
354
359
  SFApproveTokens: '0x0aC29D44eeC8e8f3b010c2e8FC960957db0c8298',
355
360
  },
@@ -551,7 +556,7 @@ export const actionAddresses = {
551
556
  AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
552
557
  AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
553
558
  AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
554
- AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
559
+ AaveV3View: '0xf140B2904beb743C2f17e0b5f766074212a7e243',
555
560
  AaveV3DelegateWithSig: '0x9e295AFaC75E7843b88a563D119FD953EDf441c2',
556
561
 
557
562
  // CompV3
package/umd/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  exports["defisaver-sdk"] = factory(require("web3-eth-abi"), require("web3-utils"), require("decimal.js"), require("@defisaver/tokens"), require("@ethersproject/solidity"), require("@ethersproject/address"), require("axios"));
8
8
  else
9
9
  root["defisaver-sdk"] = factory(root["web3-eth-abi"], root["web3-utils"], root["decimal.js"], root["@defisaver/tokens"], root["@ethersproject/solidity"], root["@ethersproject/address"], root["axios"]);
10
- })(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__, __WEBPACK_EXTERNAL_MODULE__426__) => {
10
+ })(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__, __WEBPACK_EXTERNAL_MODULE__431__) => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ([
@@ -1362,7 +1362,7 @@ var actionAddresses = {
1362
1362
  AaveV3ClaimRewards: '0x998A2E9aaE03c11b7A9863C1F59c42A21fcf47D0',
1363
1363
  AaveV3Borrow: '0x7079ba1Bd00EeFCD2a260BbD6D088230505e3858',
1364
1364
  AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
1365
- AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
1365
+ AaveV3View: '0x0CB0170F3413e54405F64d3C23BA3A1D8Bb96D99',
1366
1366
  AaveV3DelegateWithSig: '0x9253E22Ce4f0AeE541301CF8cC29843f9083a1F4',
1367
1367
  GhoClaimAAVE: '0xA53060d822cB31AFd5B26D899130a14E8Efc5917',
1368
1368
  GhoUnstake: '0x3fD02e65B4fb12381946D03815Ff3FF8Ebe2fC63',
@@ -1593,6 +1593,10 @@ var actionAddresses = {
1593
1593
  FluidDexWithdraw: '0x14d5bb8E96fbf7C1f9A8E3EFD0eF5fe6832ff3cd',
1594
1594
  // pendle
1595
1595
  PendleTokenRedeem: '0x94682544aCC5f4D82ECB1ab97998baa0e428EA0f',
1596
+ // umbrella staking
1597
+ UmbrellaClaimRewards: '0xe2c92F323d5e6F088D6195e6a9156817587De5E2',
1598
+ UmbrellaStake: '0x3Ce0791050C7cA507F90914Ddf9c357eC2973bbC',
1599
+ UmbrellaUnstake: '0xc27634A1D6c5Ed151ebd963Ef35487000C28dc0b',
1596
1600
  // summer.fi
1597
1601
  SFApproveTokens: '0x0aC29D44eeC8e8f3b010c2e8FC960957db0c8298'
1598
1602
  },
@@ -1777,7 +1781,7 @@ var actionAddresses = {
1777
1781
  AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
1778
1782
  AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
1779
1783
  AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
1780
- AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
1784
+ AaveV3View: '0xf140B2904beb743C2f17e0b5f766074212a7e243',
1781
1785
  AaveV3DelegateWithSig: '0x9e295AFaC75E7843b88a563D119FD953EDf441c2',
1782
1786
  // CompV3
1783
1787
  CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
@@ -2168,6 +2172,7 @@ __webpack_require__.r(__webpack_exports__);
2168
2172
  /* harmony export */ spark: () => (/* reexport module object */ _spark__WEBPACK_IMPORTED_MODULE_27__),
2169
2173
  /* harmony export */ stkgho: () => (/* reexport module object */ _stkgho__WEBPACK_IMPORTED_MODULE_35__),
2170
2174
  /* harmony export */ summerfi: () => (/* reexport module object */ _summerfi__WEBPACK_IMPORTED_MODULE_29__),
2175
+ /* harmony export */ umbrella: () => (/* reexport module object */ _umbrella__WEBPACK_IMPORTED_MODULE_40__),
2171
2176
  /* harmony export */ uniswap: () => (/* reexport module object */ _uniswap__WEBPACK_IMPORTED_MODULE_5__),
2172
2177
  /* harmony export */ uniswapV3: () => (/* reexport module object */ _uniswapV3__WEBPACK_IMPORTED_MODULE_8__),
2173
2178
  /* harmony export */ yearn: () => (/* reexport module object */ _yearn__WEBPACK_IMPORTED_MODULE_11__)
@@ -2212,6 +2217,8 @@ __webpack_require__.r(__webpack_exports__);
2212
2217
  /* harmony import */ var _etherfi__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(373);
2213
2218
  /* harmony import */ var _fluid__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(377);
2214
2219
  /* harmony import */ var _pendle__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(394);
2220
+ /* harmony import */ var _umbrella__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(396);
2221
+
2215
2222
 
2216
2223
 
2217
2224
 
@@ -15824,6 +15831,153 @@ class PendleTokenRedeemAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
15824
15831
  /* 396 */
15825
15832
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15826
15833
 
15834
+ __webpack_require__.r(__webpack_exports__);
15835
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15836
+ /* harmony export */ UmbrellaClaimRewardsAction: () => (/* reexport safe */ _UmbrellaClaimRewardsAction__WEBPACK_IMPORTED_MODULE_3__.UmbrellaClaimRewardsAction),
15837
+ /* harmony export */ UmbrellaFinalizeUnstakeAction: () => (/* reexport safe */ _UmbrellaFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_2__.UmbrellaFinalizeUnstakeAction),
15838
+ /* harmony export */ UmbrellaStakeAction: () => (/* reexport safe */ _UmbrellaStakeAction__WEBPACK_IMPORTED_MODULE_0__.UmbrellaStakeAction),
15839
+ /* harmony export */ UmbrellaStartUnstakeAction: () => (/* reexport safe */ _UmbrellaStartUnstakeAction__WEBPACK_IMPORTED_MODULE_1__.UmbrellaStartUnstakeAction)
15840
+ /* harmony export */ });
15841
+ /* harmony import */ var _UmbrellaStakeAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(397);
15842
+ /* harmony import */ var _UmbrellaStartUnstakeAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(398);
15843
+ /* harmony import */ var _UmbrellaFinalizeUnstakeAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(399);
15844
+ /* harmony import */ var _UmbrellaClaimRewardsAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(400);
15845
+
15846
+
15847
+
15848
+
15849
+
15850
+ /***/ }),
15851
+ /* 397 */
15852
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15853
+
15854
+ __webpack_require__.r(__webpack_exports__);
15855
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15856
+ /* harmony export */ UmbrellaStakeAction: () => (/* binding */ UmbrellaStakeAction)
15857
+ /* harmony export */ });
15858
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15859
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15860
+
15861
+
15862
+ /**
15863
+ * UmbrellaStakeAction - Stake aTokens/underlying or GHO tokens using Umbrella Stake Token
15864
+ * This action will always pull aTokens/underlying for non GHO staking and wrap them into waTokens for staking.
15865
+ *
15866
+ * @category Umbrella
15867
+ */
15868
+ class UmbrellaStakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15869
+ /**
15870
+ * @param stkToken The umbrella stake token.
15871
+ * @param from The address from which the aToken/underlying or GHO will be pulled.
15872
+ * @param to The address to which the stkToken will be transferred
15873
+ * @param amount The amount of aToken/underlying or GHO to be staked.
15874
+ * @param useATokens Whether to wrap aTokens to waTokens (e.g. aUSDC to waUSDC) before staking.
15875
+ * @param minSharesOut The minimum amount of stkToken shares to receive.
15876
+ */
15877
+ constructor(stkToken, from, to, amount, useATokens, minSharesOut) {
15878
+ super('UmbrellaStake', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('UmbrellaStake'), ['address', 'address', 'address', 'uint256', 'bool', 'uint256'], [stkToken, from, to, amount, useATokens, minSharesOut]);
15879
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4], this.args[5]];
15880
+ }
15881
+ }
15882
+
15883
+ /***/ }),
15884
+ /* 398 */
15885
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15886
+
15887
+ __webpack_require__.r(__webpack_exports__);
15888
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15889
+ /* harmony export */ UmbrellaStartUnstakeAction: () => (/* binding */ UmbrellaStartUnstakeAction)
15890
+ /* harmony export */ });
15891
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15892
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15893
+
15894
+
15895
+ /**
15896
+ * UmbrellaStartUnstakeAction - Start un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
15897
+ *
15898
+ * @category Umbrella
15899
+ */
15900
+ class UmbrellaStartUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15901
+ /**
15902
+ * @param stkToken The umbrella stake token.
15903
+ */
15904
+ constructor(stkToken) {
15905
+ super('UmbrellaUnstake', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('UmbrellaUnstake'), ['address', 'address', 'uint256', 'bool', 'uint256'], [stkToken, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('Empty'), '0', false, '0']);
15906
+ this.mappableArgs = [this.args[0]];
15907
+ }
15908
+ }
15909
+
15910
+ /***/ }),
15911
+ /* 399 */
15912
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15913
+
15914
+ __webpack_require__.r(__webpack_exports__);
15915
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15916
+ /* harmony export */ UmbrellaFinalizeUnstakeAction: () => (/* binding */ UmbrellaFinalizeUnstakeAction)
15917
+ /* harmony export */ });
15918
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15919
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15920
+ /* harmony import */ var _utils_general__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39);
15921
+
15922
+
15923
+
15924
+
15925
+ /**
15926
+ * UmbrellaFinalizeUnstakeAction - Finalize un-staking of aTokens/underlying or GHO tokens using Umbrella Stake Token
15927
+ * This action will always unwrap waTokens to aTokens or underlying after un-staking.
15928
+ *
15929
+ * @category Umbrella
15930
+ */
15931
+ class UmbrellaFinalizeUnstakeAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15932
+ /**
15933
+ * @param stkToken The umbrella stake token.
15934
+ * @param to The address to which the aToken/underlying or GHO will be transferred
15935
+ * @param stkAmount The amount of stkToken shares to burn (max.uint to redeem whole balance, 0 to start cooldown period)
15936
+ * @param useATokens Whether to unwrap waTokens to aTokens or underlying (e.g. aUSDC or USDC).
15937
+ * @param minAmountOut The minimum amount of aToken/underlying or GHO to be received
15938
+ */
15939
+ constructor(stkToken, to, stkAmount, useATokens, minAmountOut) {
15940
+ (0,_utils_general__WEBPACK_IMPORTED_MODULE_2__.requireAddress)(to);
15941
+ if (stkAmount === '0') throw new Error('Amount must be greater than 0. If you want to start cooldown period, use UmbrellaStartUnstakeAction');
15942
+ super('UmbrellaUnstake', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('UmbrellaUnstake'), ['address', 'address', 'uint256', 'bool', 'uint256'], [stkToken, to, stkAmount, useATokens, minAmountOut]);
15943
+ this.mappableArgs = [this.args[0], this.args[1], this.args[2], this.args[3], this.args[4]];
15944
+ }
15945
+ }
15946
+
15947
+ /***/ }),
15948
+ /* 400 */
15949
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15950
+
15951
+ __webpack_require__.r(__webpack_exports__);
15952
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15953
+ /* harmony export */ UmbrellaClaimRewardsAction: () => (/* binding */ UmbrellaClaimRewardsAction)
15954
+ /* harmony export */ });
15955
+ /* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
15956
+ /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
15957
+
15958
+
15959
+ /**
15960
+ * UmbrellaClaimRewardsAction - Claim rewards from staking in Umbrella staking system
15961
+
15962
+ *
15963
+ * @category Umbrella
15964
+ */
15965
+ class UmbrellaClaimRewardsAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15966
+ /**
15967
+ * @param asset The asset to claim rewards from
15968
+ * @param to The address to send the rewards to
15969
+ * @param rewards The rewards to claim
15970
+ */
15971
+ constructor(asset, to, rewards) {
15972
+ super('UmbrellaClaimRewards', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('UmbrellaClaimRewards'), ['address', 'address', 'address[]'], [asset, to, rewards]);
15973
+ this.mappableArgs = [this.args[0], this.args[1]];
15974
+ }
15975
+ }
15976
+
15977
+ /***/ }),
15978
+ /* 401 */
15979
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15980
+
15827
15981
  __webpack_require__.r(__webpack_exports__);
15828
15982
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15829
15983
  /* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
@@ -15854,33 +16008,33 @@ __webpack_require__.r(__webpack_exports__);
15854
16008
  /* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
15855
16009
  /* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
15856
16010
  /* harmony export */ });
15857
- /* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(397);
15858
- /* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(398);
15859
- /* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(399);
15860
- /* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(400);
15861
- /* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(401);
15862
- /* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(402);
15863
- /* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(403);
15864
- /* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(404);
15865
- /* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(405);
15866
- /* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(406);
15867
- /* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(407);
15868
- /* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(408);
15869
- /* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(409);
15870
- /* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(410);
15871
- /* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(411);
15872
- /* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(412);
15873
- /* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(413);
15874
- /* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(414);
15875
- /* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(415);
15876
- /* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(416);
15877
- /* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(417);
15878
- /* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(418);
15879
- /* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(419);
15880
- /* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(420);
15881
- /* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(421);
15882
- /* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(422);
15883
- /* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(423);
16011
+ /* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(402);
16012
+ /* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(403);
16013
+ /* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(404);
16014
+ /* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(405);
16015
+ /* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(406);
16016
+ /* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(407);
16017
+ /* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(408);
16018
+ /* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(409);
16019
+ /* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(410);
16020
+ /* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(411);
16021
+ /* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(412);
16022
+ /* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(413);
16023
+ /* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(414);
16024
+ /* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(415);
16025
+ /* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(416);
16026
+ /* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(417);
16027
+ /* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(418);
16028
+ /* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(419);
16029
+ /* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(420);
16030
+ /* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(421);
16031
+ /* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(422);
16032
+ /* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(423);
16033
+ /* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(424);
16034
+ /* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(425);
16035
+ /* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(426);
16036
+ /* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(427);
16037
+ /* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(428);
15884
16038
 
15885
16039
 
15886
16040
 
@@ -15910,7 +16064,7 @@ __webpack_require__.r(__webpack_exports__);
15910
16064
 
15911
16065
 
15912
16066
  /***/ }),
15913
- /* 397 */
16067
+ /* 402 */
15914
16068
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15915
16069
 
15916
16070
  __webpack_require__.r(__webpack_exports__);
@@ -15933,7 +16087,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
15933
16087
  }
15934
16088
 
15935
16089
  /***/ }),
15936
- /* 398 */
16090
+ /* 403 */
15937
16091
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15938
16092
 
15939
16093
  __webpack_require__.r(__webpack_exports__);
@@ -15956,7 +16110,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
15956
16110
  }
15957
16111
 
15958
16112
  /***/ }),
15959
- /* 399 */
16113
+ /* 404 */
15960
16114
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15961
16115
 
15962
16116
  __webpack_require__.r(__webpack_exports__);
@@ -15979,7 +16133,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
15979
16133
  }
15980
16134
 
15981
16135
  /***/ }),
15982
- /* 400 */
16136
+ /* 405 */
15983
16137
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
15984
16138
 
15985
16139
  __webpack_require__.r(__webpack_exports__);
@@ -16002,7 +16156,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16002
16156
  }
16003
16157
 
16004
16158
  /***/ }),
16005
- /* 401 */
16159
+ /* 406 */
16006
16160
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16007
16161
 
16008
16162
  __webpack_require__.r(__webpack_exports__);
@@ -16025,7 +16179,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16025
16179
  }
16026
16180
 
16027
16181
  /***/ }),
16028
- /* 402 */
16182
+ /* 407 */
16029
16183
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16030
16184
 
16031
16185
  __webpack_require__.r(__webpack_exports__);
@@ -16048,7 +16202,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16048
16202
  }
16049
16203
 
16050
16204
  /***/ }),
16051
- /* 403 */
16205
+ /* 408 */
16052
16206
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16053
16207
 
16054
16208
  __webpack_require__.r(__webpack_exports__);
@@ -16071,7 +16225,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16071
16225
  }
16072
16226
 
16073
16227
  /***/ }),
16074
- /* 404 */
16228
+ /* 409 */
16075
16229
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16076
16230
 
16077
16231
  __webpack_require__.r(__webpack_exports__);
@@ -16094,7 +16248,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16094
16248
  }
16095
16249
 
16096
16250
  /***/ }),
16097
- /* 405 */
16251
+ /* 410 */
16098
16252
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16099
16253
 
16100
16254
  __webpack_require__.r(__webpack_exports__);
@@ -16117,7 +16271,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16117
16271
  }
16118
16272
 
16119
16273
  /***/ }),
16120
- /* 406 */
16274
+ /* 411 */
16121
16275
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16122
16276
 
16123
16277
  __webpack_require__.r(__webpack_exports__);
@@ -16140,7 +16294,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16140
16294
  }
16141
16295
 
16142
16296
  /***/ }),
16143
- /* 407 */
16297
+ /* 412 */
16144
16298
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16145
16299
 
16146
16300
  __webpack_require__.r(__webpack_exports__);
@@ -16163,7 +16317,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16163
16317
  }
16164
16318
 
16165
16319
  /***/ }),
16166
- /* 408 */
16320
+ /* 413 */
16167
16321
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16168
16322
 
16169
16323
  __webpack_require__.r(__webpack_exports__);
@@ -16186,7 +16340,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16186
16340
  }
16187
16341
 
16188
16342
  /***/ }),
16189
- /* 409 */
16343
+ /* 414 */
16190
16344
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16191
16345
 
16192
16346
  __webpack_require__.r(__webpack_exports__);
@@ -16209,7 +16363,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
16209
16363
  }
16210
16364
 
16211
16365
  /***/ }),
16212
- /* 410 */
16366
+ /* 415 */
16213
16367
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16214
16368
 
16215
16369
  __webpack_require__.r(__webpack_exports__);
@@ -16232,7 +16386,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16232
16386
  }
16233
16387
 
16234
16388
  /***/ }),
16235
- /* 411 */
16389
+ /* 416 */
16236
16390
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16237
16391
 
16238
16392
  __webpack_require__.r(__webpack_exports__);
@@ -16255,7 +16409,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
16255
16409
  }
16256
16410
 
16257
16411
  /***/ }),
16258
- /* 412 */
16412
+ /* 417 */
16259
16413
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16260
16414
 
16261
16415
  __webpack_require__.r(__webpack_exports__);
@@ -16278,7 +16432,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16278
16432
  }
16279
16433
 
16280
16434
  /***/ }),
16281
- /* 413 */
16435
+ /* 418 */
16282
16436
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16283
16437
 
16284
16438
  __webpack_require__.r(__webpack_exports__);
@@ -16301,7 +16455,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
16301
16455
  }
16302
16456
 
16303
16457
  /***/ }),
16304
- /* 414 */
16458
+ /* 419 */
16305
16459
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16306
16460
 
16307
16461
  __webpack_require__.r(__webpack_exports__);
@@ -16324,7 +16478,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
16324
16478
  }
16325
16479
 
16326
16480
  /***/ }),
16327
- /* 415 */
16481
+ /* 420 */
16328
16482
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16329
16483
 
16330
16484
  __webpack_require__.r(__webpack_exports__);
@@ -16347,7 +16501,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
16347
16501
  }
16348
16502
 
16349
16503
  /***/ }),
16350
- /* 416 */
16504
+ /* 421 */
16351
16505
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16352
16506
 
16353
16507
  __webpack_require__.r(__webpack_exports__);
@@ -16370,7 +16524,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
16370
16524
  }
16371
16525
 
16372
16526
  /***/ }),
16373
- /* 417 */
16527
+ /* 422 */
16374
16528
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16375
16529
 
16376
16530
  __webpack_require__.r(__webpack_exports__);
@@ -16393,7 +16547,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
16393
16547
  }
16394
16548
 
16395
16549
  /***/ }),
16396
- /* 418 */
16550
+ /* 423 */
16397
16551
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16398
16552
 
16399
16553
  __webpack_require__.r(__webpack_exports__);
@@ -16416,7 +16570,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16416
16570
  }
16417
16571
 
16418
16572
  /***/ }),
16419
- /* 419 */
16573
+ /* 424 */
16420
16574
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16421
16575
 
16422
16576
  __webpack_require__.r(__webpack_exports__);
@@ -16445,7 +16599,7 @@ class MorphoBluePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
16445
16599
  }
16446
16600
 
16447
16601
  /***/ }),
16448
- /* 420 */
16602
+ /* 425 */
16449
16603
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16450
16604
 
16451
16605
  __webpack_require__.r(__webpack_exports__);
@@ -16466,7 +16620,7 @@ class LiquityV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
16466
16620
  }
16467
16621
 
16468
16622
  /***/ }),
16469
- /* 421 */
16623
+ /* 426 */
16470
16624
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16471
16625
 
16472
16626
  __webpack_require__.r(__webpack_exports__);
@@ -16489,7 +16643,7 @@ class ClosePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16489
16643
  }
16490
16644
 
16491
16645
  /***/ }),
16492
- /* 422 */
16646
+ /* 427 */
16493
16647
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16494
16648
 
16495
16649
  __webpack_require__.r(__webpack_exports__);
@@ -16510,7 +16664,7 @@ class LiquityV2QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
16510
16664
  }
16511
16665
 
16512
16666
  /***/ }),
16513
- /* 423 */
16667
+ /* 428 */
16514
16668
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16515
16669
 
16516
16670
  __webpack_require__.r(__webpack_exports__);
@@ -16533,7 +16687,7 @@ class FluidRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
16533
16687
  }
16534
16688
 
16535
16689
  /***/ }),
16536
- /* 424 */
16690
+ /* 429 */
16537
16691
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16538
16692
 
16539
16693
  __webpack_require__.r(__webpack_exports__);
@@ -16547,9 +16701,9 @@ __webpack_require__.r(__webpack_exports__);
16547
16701
  /* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
16548
16702
  /* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
16549
16703
  /* harmony export */ });
16550
- /* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(425);
16704
+ /* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(430);
16551
16705
  /* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(137);
16552
- /* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(427);
16706
+ /* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(432);
16553
16707
  /* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(242);
16554
16708
  /* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(222);
16555
16709
  /* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(208);
@@ -16566,7 +16720,7 @@ __webpack_require__.r(__webpack_exports__);
16566
16720
 
16567
16721
 
16568
16722
  /***/ }),
16569
- /* 425 */
16723
+ /* 430 */
16570
16724
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16571
16725
 
16572
16726
  __webpack_require__.r(__webpack_exports__);
@@ -16577,7 +16731,7 @@ __webpack_require__.r(__webpack_exports__);
16577
16731
  /* harmony export */ });
16578
16732
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
16579
16733
  /* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
16580
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(426);
16734
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(431);
16581
16735
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
16582
16736
  /* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
16583
16737
  /* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
@@ -16779,20 +16933,20 @@ var createSellAction = /*#__PURE__*/function () {
16779
16933
  }();
16780
16934
 
16781
16935
  /***/ }),
16782
- /* 426 */
16936
+ /* 431 */
16783
16937
  /***/ ((module) => {
16784
16938
 
16785
- module.exports = __WEBPACK_EXTERNAL_MODULE__426__;
16939
+ module.exports = __WEBPACK_EXTERNAL_MODULE__431__;
16786
16940
 
16787
16941
  /***/ }),
16788
- /* 427 */
16942
+ /* 432 */
16789
16943
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16790
16944
 
16791
16945
  __webpack_require__.r(__webpack_exports__);
16792
16946
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16793
16947
  /* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
16794
16948
  /* harmony export */ });
16795
- /* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(428);
16949
+ /* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(433);
16796
16950
  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); } }
16797
16951
  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); }); }; }
16798
16952
  /**
@@ -16817,7 +16971,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
16817
16971
  }();
16818
16972
 
16819
16973
  /***/ }),
16820
- /* 428 */
16974
+ /* 433 */
16821
16975
  /***/ ((module) => {
16822
16976
 
16823
16977
  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"}]');
@@ -16921,8 +17075,8 @@ __webpack_require__.r(__webpack_exports__);
16921
17075
  /* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
16922
17076
  /* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
16923
17077
  /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
16924
- /* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(396);
16925
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(424);
17078
+ /* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(401);
17079
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(429);
16926
17080
  /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
16927
17081
  /* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
16928
17082
  /* Export types here */