@defisaver/sdk 1.3.18-aave-v4-1-dev → 1.3.18-aave-v4-2-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/src/actions/aavev4/AaveV4DelegateBorrowWithSigAction.d.ts +14 -0
- package/esm/src/actions/aavev4/AaveV4DelegateBorrowWithSigAction.js +19 -0
- package/esm/src/actions/aavev4/AaveV4DelegateWithdrawWithSigAction.d.ts +14 -0
- package/esm/src/actions/aavev4/AaveV4DelegateWithdrawWithSigAction.js +19 -0
- package/esm/src/actions/aavev4/AaveV4SetUserManagersWithSigAction.d.ts +18 -0
- package/esm/src/actions/aavev4/AaveV4SetUserManagersWithSigAction.js +20 -0
- package/esm/src/actions/aavev4/index.d.ts +3 -0
- package/esm/src/actions/aavev4/index.js +3 -0
- package/esm/src/addresses.d.ts +18 -0
- package/esm/src/addresses.js +3 -0
- package/esm/src/index.d.ts +72 -0
- package/package.json +1 -1
- package/src/actions/aavev4/AaveV4DelegateBorrowWithSigAction.ts +29 -0
- package/src/actions/aavev4/AaveV4DelegateWithdrawWithSigAction.ts +29 -0
- package/src/actions/aavev4/AaveV4SetUserManagersWithSigAction.ts +34 -0
- package/src/actions/aavev4/index.ts +4 -1
- package/src/addresses.ts +3 -0
- package/umd/index.js +183 -86
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { bytes } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4DelegateBorrowWithSigAction -Approves a spender to borrow from the specified reserve using an EIP712-typed intent.
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4
|
|
7
|
+
*/
|
|
8
|
+
export declare class AaveV4DelegateBorrowWithSigAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param permit EIP712-typed intent.
|
|
11
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
12
|
+
*/
|
|
13
|
+
constructor(permit: Array<any>, signature: bytes);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4DelegateBorrowWithSigAction -Approves a spender to borrow from the specified reserve using an EIP712-typed intent.
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4
|
|
7
|
+
*/
|
|
8
|
+
export class AaveV4DelegateBorrowWithSigAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param permit EIP712-typed intent.
|
|
11
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
12
|
+
*/
|
|
13
|
+
constructor(permit, signature) {
|
|
14
|
+
super('AaveV4DelegateBorrowWithSig', getAddr('AaveV4DelegateBorrowWithSig'), [
|
|
15
|
+
['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'],
|
|
16
|
+
'bytes',
|
|
17
|
+
], [permit, signature]);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { bytes } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4DelegateWithdrawWithSigAction - Approves a spender to withdraw from the specified reserve using an EIP712-typed intent.
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4
|
|
7
|
+
*/
|
|
8
|
+
export declare class AaveV4DelegateWithdrawWithSigAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param permit EIP712-typed intent.
|
|
11
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
12
|
+
*/
|
|
13
|
+
constructor(permit: Array<any>, signature: bytes);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4DelegateWithdrawWithSigAction - Approves a spender to withdraw from the specified reserve using an EIP712-typed intent.
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4
|
|
7
|
+
*/
|
|
8
|
+
export class AaveV4DelegateWithdrawWithSigAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param permit EIP712-typed intent.
|
|
11
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
12
|
+
*/
|
|
13
|
+
constructor(permit, signature) {
|
|
14
|
+
super('AaveV4DelegateWithdrawWithSig', getAddr('AaveV4DelegateWithdrawWithSig'), [
|
|
15
|
+
['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'],
|
|
16
|
+
'bytes',
|
|
17
|
+
], [permit, signature]);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, bytes, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4SetUserManagersWithSigAction - Sets user position managers with EIP712-typed signature.
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4
|
|
7
|
+
*/
|
|
8
|
+
export declare class AaveV4SetUserManagersWithSigAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param spoke Address of the spoke.
|
|
11
|
+
* @param onBehalf The address of the user on whose behalf position manager can act.
|
|
12
|
+
* @param nonce The nonce for the signature.
|
|
13
|
+
* @param deadline The deadline for the signature.
|
|
14
|
+
* @param signature The signature bytes.
|
|
15
|
+
* @param updates The array of position manager updates.
|
|
16
|
+
*/
|
|
17
|
+
constructor(spoke: EthAddress, onBehalf: EthAddress, nonce: uint256, deadline: uint256, signature: bytes, updates: Array<[EthAddress, boolean]>);
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4SetUserManagersWithSigAction - Sets user position managers with EIP712-typed signature.
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4
|
|
7
|
+
*/
|
|
8
|
+
export class AaveV4SetUserManagersWithSigAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param spoke Address of the spoke.
|
|
11
|
+
* @param onBehalf The address of the user on whose behalf position manager can act.
|
|
12
|
+
* @param nonce The nonce for the signature.
|
|
13
|
+
* @param deadline The deadline for the signature.
|
|
14
|
+
* @param signature The signature bytes.
|
|
15
|
+
* @param updates The array of position manager updates.
|
|
16
|
+
*/
|
|
17
|
+
constructor(spoke, onBehalf, nonce, deadline, signature, updates) {
|
|
18
|
+
super('AaveV4SetUserManagersWithSig', getAddr('AaveV4SetUserManagersWithSig'), ['address', 'address', 'uint256', 'uint256', 'bytes', 'tuple(address,bool)[]'], [spoke, onBehalf, nonce, deadline, signature, updates]);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -5,3 +5,6 @@ export * from './AaveV4PaybackAction';
|
|
|
5
5
|
export * from './AaveV4CollateralSwitchAction';
|
|
6
6
|
export * from './AaveV4StoreRatioAction';
|
|
7
7
|
export * from './AaveV4RefreshPremiumAction';
|
|
8
|
+
export * from './AaveV4DelegateBorrowWithSigAction';
|
|
9
|
+
export * from './AaveV4DelegateWithdrawWithSigAction';
|
|
10
|
+
export * from './AaveV4SetUserManagersWithSigAction';
|
|
@@ -5,3 +5,6 @@ export * from './AaveV4PaybackAction';
|
|
|
5
5
|
export * from './AaveV4CollateralSwitchAction';
|
|
6
6
|
export * from './AaveV4StoreRatioAction';
|
|
7
7
|
export * from './AaveV4RefreshPremiumAction';
|
|
8
|
+
export * from './AaveV4DelegateBorrowWithSigAction';
|
|
9
|
+
export * from './AaveV4DelegateWithdrawWithSigAction';
|
|
10
|
+
export * from './AaveV4SetUserManagersWithSigAction';
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -283,6 +283,9 @@ export declare const actionAddresses: {
|
|
|
283
283
|
AaveV4Payback: string;
|
|
284
284
|
AaveV4CollateralSwitch: string;
|
|
285
285
|
AaveV4RefreshPremium: string;
|
|
286
|
+
AaveV4SetUserManagersWithSig: string;
|
|
287
|
+
AaveV4DelegateWithdrawWithSig: string;
|
|
288
|
+
AaveV4DelegateBorrowWithSig: string;
|
|
286
289
|
AaveV3DelegateCredit?: undefined;
|
|
287
290
|
AaveV3RatioTrigger?: undefined;
|
|
288
291
|
GasFeeTakerL2?: undefined;
|
|
@@ -575,6 +578,9 @@ export declare const actionAddresses: {
|
|
|
575
578
|
AaveV4Payback?: undefined;
|
|
576
579
|
AaveV4CollateralSwitch?: undefined;
|
|
577
580
|
AaveV4RefreshPremium?: undefined;
|
|
581
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
582
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
583
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
578
584
|
MorphoBlueView?: undefined;
|
|
579
585
|
} | {
|
|
580
586
|
DFSSell: string;
|
|
@@ -862,6 +868,9 @@ export declare const actionAddresses: {
|
|
|
862
868
|
AaveV4Payback?: undefined;
|
|
863
869
|
AaveV4CollateralSwitch?: undefined;
|
|
864
870
|
AaveV4RefreshPremium?: undefined;
|
|
871
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
872
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
873
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
865
874
|
AaveV3DelegateCredit?: undefined;
|
|
866
875
|
AaveV3RatioTrigger?: undefined;
|
|
867
876
|
} | {
|
|
@@ -1149,6 +1158,9 @@ export declare const actionAddresses: {
|
|
|
1149
1158
|
AaveV4Payback?: undefined;
|
|
1150
1159
|
AaveV4CollateralSwitch?: undefined;
|
|
1151
1160
|
AaveV4RefreshPremium?: undefined;
|
|
1161
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
1162
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1163
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1152
1164
|
AaveV3DelegateCredit?: undefined;
|
|
1153
1165
|
AaveV3RatioTrigger?: undefined;
|
|
1154
1166
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1436,6 +1448,9 @@ export declare const actionAddresses: {
|
|
|
1436
1448
|
AaveV4Payback?: undefined;
|
|
1437
1449
|
AaveV4CollateralSwitch?: undefined;
|
|
1438
1450
|
AaveV4RefreshPremium?: undefined;
|
|
1451
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
1452
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1453
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1439
1454
|
AaveV3RatioTrigger?: undefined;
|
|
1440
1455
|
GasFeeTakerL2?: undefined;
|
|
1441
1456
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1724,6 +1739,9 @@ export declare const actionAddresses: {
|
|
|
1724
1739
|
AaveV4Payback?: undefined;
|
|
1725
1740
|
AaveV4CollateralSwitch?: undefined;
|
|
1726
1741
|
AaveV4RefreshPremium?: undefined;
|
|
1742
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
1743
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1744
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1727
1745
|
AaveV3RatioTrigger?: undefined;
|
|
1728
1746
|
GasFeeTakerL2?: undefined;
|
|
1729
1747
|
AaveV3RatioCheck?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -325,6 +325,9 @@ export const actionAddresses = {
|
|
|
325
325
|
AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
|
|
326
326
|
AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
|
|
327
327
|
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
|
|
328
|
+
AaveV4SetUserManagersWithSig: '0xe3459a0fEBc8276c428951125A10f589ea195760',
|
|
329
|
+
AaveV4DelegateWithdrawWithSig: '0xDDCcE054Ea32dc857A2D7Cf87E55310Feb2DD86c',
|
|
330
|
+
AaveV4DelegateBorrowWithSig: '0xdDef60521E4cf82e971D1f1387ab0d5e226D0533',
|
|
328
331
|
},
|
|
329
332
|
[NETWORKS.optimism.chainId]: {
|
|
330
333
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -294,6 +294,9 @@ declare const actionAddressesAllChains: {
|
|
|
294
294
|
AaveV4Payback: string;
|
|
295
295
|
AaveV4CollateralSwitch: string;
|
|
296
296
|
AaveV4RefreshPremium: string;
|
|
297
|
+
AaveV4SetUserManagersWithSig: string;
|
|
298
|
+
AaveV4DelegateWithdrawWithSig: string;
|
|
299
|
+
AaveV4DelegateBorrowWithSig: string;
|
|
297
300
|
AaveV3DelegateCredit?: undefined;
|
|
298
301
|
AaveV3RatioTrigger?: undefined;
|
|
299
302
|
GasFeeTakerL2?: undefined;
|
|
@@ -586,6 +589,9 @@ declare const actionAddressesAllChains: {
|
|
|
586
589
|
AaveV4Payback?: undefined;
|
|
587
590
|
AaveV4CollateralSwitch?: undefined;
|
|
588
591
|
AaveV4RefreshPremium?: undefined;
|
|
592
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
593
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
594
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
589
595
|
MorphoBlueView?: undefined;
|
|
590
596
|
} | {
|
|
591
597
|
DFSSell: string;
|
|
@@ -873,6 +879,9 @@ declare const actionAddressesAllChains: {
|
|
|
873
879
|
AaveV4Payback?: undefined;
|
|
874
880
|
AaveV4CollateralSwitch?: undefined;
|
|
875
881
|
AaveV4RefreshPremium?: undefined;
|
|
882
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
883
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
884
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
876
885
|
AaveV3DelegateCredit?: undefined;
|
|
877
886
|
AaveV3RatioTrigger?: undefined;
|
|
878
887
|
} | {
|
|
@@ -1160,6 +1169,9 @@ declare const actionAddressesAllChains: {
|
|
|
1160
1169
|
AaveV4Payback?: undefined;
|
|
1161
1170
|
AaveV4CollateralSwitch?: undefined;
|
|
1162
1171
|
AaveV4RefreshPremium?: undefined;
|
|
1172
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
1173
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1174
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1163
1175
|
AaveV3DelegateCredit?: undefined;
|
|
1164
1176
|
AaveV3RatioTrigger?: undefined;
|
|
1165
1177
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1447,6 +1459,9 @@ declare const actionAddressesAllChains: {
|
|
|
1447
1459
|
AaveV4Payback?: undefined;
|
|
1448
1460
|
AaveV4CollateralSwitch?: undefined;
|
|
1449
1461
|
AaveV4RefreshPremium?: undefined;
|
|
1462
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
1463
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1464
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1450
1465
|
AaveV3RatioTrigger?: undefined;
|
|
1451
1466
|
GasFeeTakerL2?: undefined;
|
|
1452
1467
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1735,6 +1750,9 @@ declare const actionAddressesAllChains: {
|
|
|
1735
1750
|
AaveV4Payback?: undefined;
|
|
1736
1751
|
AaveV4CollateralSwitch?: undefined;
|
|
1737
1752
|
AaveV4RefreshPremium?: undefined;
|
|
1753
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
1754
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1755
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1738
1756
|
AaveV3RatioTrigger?: undefined;
|
|
1739
1757
|
GasFeeTakerL2?: undefined;
|
|
1740
1758
|
AaveV3RatioCheck?: undefined;
|
|
@@ -2024,6 +2042,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2024
2042
|
AaveV4Payback: string;
|
|
2025
2043
|
AaveV4CollateralSwitch: string;
|
|
2026
2044
|
AaveV4RefreshPremium: string;
|
|
2045
|
+
AaveV4SetUserManagersWithSig: string;
|
|
2046
|
+
AaveV4DelegateWithdrawWithSig: string;
|
|
2047
|
+
AaveV4DelegateBorrowWithSig: string;
|
|
2027
2048
|
AaveV3DelegateCredit?: undefined;
|
|
2028
2049
|
AaveV3RatioTrigger?: undefined;
|
|
2029
2050
|
GasFeeTakerL2?: undefined;
|
|
@@ -2316,6 +2337,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2316
2337
|
AaveV4Payback?: undefined;
|
|
2317
2338
|
AaveV4CollateralSwitch?: undefined;
|
|
2318
2339
|
AaveV4RefreshPremium?: undefined;
|
|
2340
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
2341
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
2342
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
2319
2343
|
MorphoBlueView?: undefined;
|
|
2320
2344
|
} | {
|
|
2321
2345
|
DFSSell: string;
|
|
@@ -2603,6 +2627,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2603
2627
|
AaveV4Payback?: undefined;
|
|
2604
2628
|
AaveV4CollateralSwitch?: undefined;
|
|
2605
2629
|
AaveV4RefreshPremium?: undefined;
|
|
2630
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
2631
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
2632
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
2606
2633
|
AaveV3DelegateCredit?: undefined;
|
|
2607
2634
|
AaveV3RatioTrigger?: undefined;
|
|
2608
2635
|
} | {
|
|
@@ -2890,6 +2917,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2890
2917
|
AaveV4Payback?: undefined;
|
|
2891
2918
|
AaveV4CollateralSwitch?: undefined;
|
|
2892
2919
|
AaveV4RefreshPremium?: undefined;
|
|
2920
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
2921
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
2922
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
2893
2923
|
AaveV3DelegateCredit?: undefined;
|
|
2894
2924
|
AaveV3RatioTrigger?: undefined;
|
|
2895
2925
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3177,6 +3207,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3177
3207
|
AaveV4Payback?: undefined;
|
|
3178
3208
|
AaveV4CollateralSwitch?: undefined;
|
|
3179
3209
|
AaveV4RefreshPremium?: undefined;
|
|
3210
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
3211
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
3212
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
3180
3213
|
AaveV3RatioTrigger?: undefined;
|
|
3181
3214
|
GasFeeTakerL2?: undefined;
|
|
3182
3215
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3465,6 +3498,9 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3465
3498
|
AaveV4Payback?: undefined;
|
|
3466
3499
|
AaveV4CollateralSwitch?: undefined;
|
|
3467
3500
|
AaveV4RefreshPremium?: undefined;
|
|
3501
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
3502
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
3503
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
3468
3504
|
AaveV3RatioTrigger?: undefined;
|
|
3469
3505
|
GasFeeTakerL2?: undefined;
|
|
3470
3506
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3991,6 +4027,9 @@ declare const _default: {
|
|
|
3991
4027
|
AaveV4Payback: string;
|
|
3992
4028
|
AaveV4CollateralSwitch: string;
|
|
3993
4029
|
AaveV4RefreshPremium: string;
|
|
4030
|
+
AaveV4SetUserManagersWithSig: string;
|
|
4031
|
+
AaveV4DelegateWithdrawWithSig: string;
|
|
4032
|
+
AaveV4DelegateBorrowWithSig: string;
|
|
3994
4033
|
AaveV3DelegateCredit?: undefined;
|
|
3995
4034
|
AaveV3RatioTrigger?: undefined;
|
|
3996
4035
|
GasFeeTakerL2?: undefined;
|
|
@@ -4283,6 +4322,9 @@ declare const _default: {
|
|
|
4283
4322
|
AaveV4Payback?: undefined;
|
|
4284
4323
|
AaveV4CollateralSwitch?: undefined;
|
|
4285
4324
|
AaveV4RefreshPremium?: undefined;
|
|
4325
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
4326
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
4327
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
4286
4328
|
MorphoBlueView?: undefined;
|
|
4287
4329
|
} | {
|
|
4288
4330
|
DFSSell: string;
|
|
@@ -4570,6 +4612,9 @@ declare const _default: {
|
|
|
4570
4612
|
AaveV4Payback?: undefined;
|
|
4571
4613
|
AaveV4CollateralSwitch?: undefined;
|
|
4572
4614
|
AaveV4RefreshPremium?: undefined;
|
|
4615
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
4616
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
4617
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
4573
4618
|
AaveV3DelegateCredit?: undefined;
|
|
4574
4619
|
AaveV3RatioTrigger?: undefined;
|
|
4575
4620
|
} | {
|
|
@@ -4857,6 +4902,9 @@ declare const _default: {
|
|
|
4857
4902
|
AaveV4Payback?: undefined;
|
|
4858
4903
|
AaveV4CollateralSwitch?: undefined;
|
|
4859
4904
|
AaveV4RefreshPremium?: undefined;
|
|
4905
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
4906
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
4907
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
4860
4908
|
AaveV3DelegateCredit?: undefined;
|
|
4861
4909
|
AaveV3RatioTrigger?: undefined;
|
|
4862
4910
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5144,6 +5192,9 @@ declare const _default: {
|
|
|
5144
5192
|
AaveV4Payback?: undefined;
|
|
5145
5193
|
AaveV4CollateralSwitch?: undefined;
|
|
5146
5194
|
AaveV4RefreshPremium?: undefined;
|
|
5195
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
5196
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
5197
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
5147
5198
|
AaveV3RatioTrigger?: undefined;
|
|
5148
5199
|
GasFeeTakerL2?: undefined;
|
|
5149
5200
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5432,6 +5483,9 @@ declare const _default: {
|
|
|
5432
5483
|
AaveV4Payback?: undefined;
|
|
5433
5484
|
AaveV4CollateralSwitch?: undefined;
|
|
5434
5485
|
AaveV4RefreshPremium?: undefined;
|
|
5486
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
5487
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
5488
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
5435
5489
|
AaveV3RatioTrigger?: undefined;
|
|
5436
5490
|
GasFeeTakerL2?: undefined;
|
|
5437
5491
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5721,6 +5775,9 @@ declare const _default: {
|
|
|
5721
5775
|
AaveV4Payback: string;
|
|
5722
5776
|
AaveV4CollateralSwitch: string;
|
|
5723
5777
|
AaveV4RefreshPremium: string;
|
|
5778
|
+
AaveV4SetUserManagersWithSig: string;
|
|
5779
|
+
AaveV4DelegateWithdrawWithSig: string;
|
|
5780
|
+
AaveV4DelegateBorrowWithSig: string;
|
|
5724
5781
|
AaveV3DelegateCredit?: undefined;
|
|
5725
5782
|
AaveV3RatioTrigger?: undefined;
|
|
5726
5783
|
GasFeeTakerL2?: undefined;
|
|
@@ -6013,6 +6070,9 @@ declare const _default: {
|
|
|
6013
6070
|
AaveV4Payback?: undefined;
|
|
6014
6071
|
AaveV4CollateralSwitch?: undefined;
|
|
6015
6072
|
AaveV4RefreshPremium?: undefined;
|
|
6073
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
6074
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
6075
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
6016
6076
|
MorphoBlueView?: undefined;
|
|
6017
6077
|
} | {
|
|
6018
6078
|
DFSSell: string;
|
|
@@ -6300,6 +6360,9 @@ declare const _default: {
|
|
|
6300
6360
|
AaveV4Payback?: undefined;
|
|
6301
6361
|
AaveV4CollateralSwitch?: undefined;
|
|
6302
6362
|
AaveV4RefreshPremium?: undefined;
|
|
6363
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
6364
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
6365
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
6303
6366
|
AaveV3DelegateCredit?: undefined;
|
|
6304
6367
|
AaveV3RatioTrigger?: undefined;
|
|
6305
6368
|
} | {
|
|
@@ -6587,6 +6650,9 @@ declare const _default: {
|
|
|
6587
6650
|
AaveV4Payback?: undefined;
|
|
6588
6651
|
AaveV4CollateralSwitch?: undefined;
|
|
6589
6652
|
AaveV4RefreshPremium?: undefined;
|
|
6653
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
6654
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
6655
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
6590
6656
|
AaveV3DelegateCredit?: undefined;
|
|
6591
6657
|
AaveV3RatioTrigger?: undefined;
|
|
6592
6658
|
AaveV3RatioCheck?: undefined;
|
|
@@ -6874,6 +6940,9 @@ declare const _default: {
|
|
|
6874
6940
|
AaveV4Payback?: undefined;
|
|
6875
6941
|
AaveV4CollateralSwitch?: undefined;
|
|
6876
6942
|
AaveV4RefreshPremium?: undefined;
|
|
6943
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
6944
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
6945
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
6877
6946
|
AaveV3RatioTrigger?: undefined;
|
|
6878
6947
|
GasFeeTakerL2?: undefined;
|
|
6879
6948
|
AaveV3RatioCheck?: undefined;
|
|
@@ -7162,6 +7231,9 @@ declare const _default: {
|
|
|
7162
7231
|
AaveV4Payback?: undefined;
|
|
7163
7232
|
AaveV4CollateralSwitch?: undefined;
|
|
7164
7233
|
AaveV4RefreshPremium?: undefined;
|
|
7234
|
+
AaveV4SetUserManagersWithSig?: undefined;
|
|
7235
|
+
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
7236
|
+
AaveV4DelegateBorrowWithSig?: undefined;
|
|
7165
7237
|
AaveV3RatioTrigger?: undefined;
|
|
7166
7238
|
GasFeeTakerL2?: undefined;
|
|
7167
7239
|
AaveV3RatioCheck?: undefined;
|
package/package.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import { bytes } from '../../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AaveV4DelegateBorrowWithSigAction -Approves a spender to borrow from the specified reserve using an EIP712-typed intent.
|
|
7
|
+
*
|
|
8
|
+
* @category AaveV4
|
|
9
|
+
*/
|
|
10
|
+
export class AaveV4DelegateBorrowWithSigAction extends Action {
|
|
11
|
+
/**
|
|
12
|
+
* @param permit EIP712-typed intent.
|
|
13
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
14
|
+
*/
|
|
15
|
+
constructor(
|
|
16
|
+
permit: Array<any>,
|
|
17
|
+
signature: bytes,
|
|
18
|
+
) {
|
|
19
|
+
super(
|
|
20
|
+
'AaveV4DelegateBorrowWithSig',
|
|
21
|
+
getAddr('AaveV4DelegateBorrowWithSig'),
|
|
22
|
+
[
|
|
23
|
+
['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'],
|
|
24
|
+
'bytes',
|
|
25
|
+
],
|
|
26
|
+
[permit, signature],
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import { bytes } from '../../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AaveV4DelegateWithdrawWithSigAction - Approves a spender to withdraw from the specified reserve using an EIP712-typed intent.
|
|
7
|
+
*
|
|
8
|
+
* @category AaveV4
|
|
9
|
+
*/
|
|
10
|
+
export class AaveV4DelegateWithdrawWithSigAction extends Action {
|
|
11
|
+
/**
|
|
12
|
+
* @param permit EIP712-typed intent.
|
|
13
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
14
|
+
*/
|
|
15
|
+
constructor(
|
|
16
|
+
permit: Array<any>,
|
|
17
|
+
signature: bytes,
|
|
18
|
+
) {
|
|
19
|
+
super(
|
|
20
|
+
'AaveV4DelegateWithdrawWithSig',
|
|
21
|
+
getAddr('AaveV4DelegateWithdrawWithSig'),
|
|
22
|
+
[
|
|
23
|
+
['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'],
|
|
24
|
+
'bytes',
|
|
25
|
+
],
|
|
26
|
+
[permit, signature],
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import { EthAddress, bytes, uint256 } from '../../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AaveV4SetUserManagersWithSigAction - Sets user position managers with EIP712-typed signature.
|
|
7
|
+
*
|
|
8
|
+
* @category AaveV4
|
|
9
|
+
*/
|
|
10
|
+
export class AaveV4SetUserManagersWithSigAction extends Action {
|
|
11
|
+
/**
|
|
12
|
+
* @param spoke Address of the spoke.
|
|
13
|
+
* @param onBehalf The address of the user on whose behalf position manager can act.
|
|
14
|
+
* @param nonce The nonce for the signature.
|
|
15
|
+
* @param deadline The deadline for the signature.
|
|
16
|
+
* @param signature The signature bytes.
|
|
17
|
+
* @param updates The array of position manager updates.
|
|
18
|
+
*/
|
|
19
|
+
constructor(
|
|
20
|
+
spoke: EthAddress,
|
|
21
|
+
onBehalf: EthAddress,
|
|
22
|
+
nonce: uint256,
|
|
23
|
+
deadline: uint256,
|
|
24
|
+
signature: bytes,
|
|
25
|
+
updates: Array<[EthAddress, boolean]>,
|
|
26
|
+
) {
|
|
27
|
+
super(
|
|
28
|
+
'AaveV4SetUserManagersWithSig',
|
|
29
|
+
getAddr('AaveV4SetUserManagersWithSig'),
|
|
30
|
+
['address', 'address', 'uint256', 'uint256', 'bytes', 'tuple(address,bool)[]'],
|
|
31
|
+
[spoke, onBehalf, nonce, deadline, signature, updates],
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -4,4 +4,7 @@ export * from './AaveV4BorrowAction';
|
|
|
4
4
|
export * from './AaveV4PaybackAction';
|
|
5
5
|
export * from './AaveV4CollateralSwitchAction';
|
|
6
6
|
export * from './AaveV4StoreRatioAction';
|
|
7
|
-
export * from './AaveV4RefreshPremiumAction';
|
|
7
|
+
export * from './AaveV4RefreshPremiumAction';
|
|
8
|
+
export * from './AaveV4DelegateBorrowWithSigAction';
|
|
9
|
+
export * from './AaveV4DelegateWithdrawWithSigAction';
|
|
10
|
+
export * from './AaveV4SetUserManagersWithSigAction';
|
package/src/addresses.ts
CHANGED
|
@@ -397,6 +397,9 @@ export const actionAddresses = {
|
|
|
397
397
|
AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
|
|
398
398
|
AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
|
|
399
399
|
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
|
|
400
|
+
AaveV4SetUserManagersWithSig: '0xe3459a0fEBc8276c428951125A10f589ea195760',
|
|
401
|
+
AaveV4DelegateWithdrawWithSig: '0xDDCcE054Ea32dc857A2D7Cf87E55310Feb2DD86c',
|
|
402
|
+
AaveV4DelegateBorrowWithSig: '0xdDef60521E4cf82e971D1f1387ab0d5e226D0533',
|
|
400
403
|
},
|
|
401
404
|
[NETWORKS.optimism.chainId]: {
|
|
402
405
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
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__,
|
|
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__461__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -1637,7 +1637,10 @@ var actionAddresses = {
|
|
|
1637
1637
|
AaveV4Borrow: '0xC6C627c63389D8bB7913b55CD62fa451703AD1E1',
|
|
1638
1638
|
AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
|
|
1639
1639
|
AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
|
|
1640
|
-
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426'
|
|
1640
|
+
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
|
|
1641
|
+
AaveV4SetUserManagersWithSig: '0xe3459a0fEBc8276c428951125A10f589ea195760',
|
|
1642
|
+
AaveV4DelegateWithdrawWithSig: '0xDDCcE054Ea32dc857A2D7Cf87E55310Feb2DD86c',
|
|
1643
|
+
AaveV4DelegateBorrowWithSig: '0xdDef60521E4cf82e971D1f1387ab0d5e226D0533'
|
|
1641
1644
|
},
|
|
1642
1645
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1643
1646
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -16494,8 +16497,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16494
16497
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16495
16498
|
/* harmony export */ AaveV4BorrowAction: () => (/* reexport safe */ _AaveV4BorrowAction__WEBPACK_IMPORTED_MODULE_2__.AaveV4BorrowAction),
|
|
16496
16499
|
/* harmony export */ AaveV4CollateralSwitchAction: () => (/* reexport safe */ _AaveV4CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_4__.AaveV4CollateralSwitchAction),
|
|
16500
|
+
/* harmony export */ AaveV4DelegateBorrowWithSigAction: () => (/* reexport safe */ _AaveV4DelegateBorrowWithSigAction__WEBPACK_IMPORTED_MODULE_7__.AaveV4DelegateBorrowWithSigAction),
|
|
16501
|
+
/* harmony export */ AaveV4DelegateWithdrawWithSigAction: () => (/* reexport safe */ _AaveV4DelegateWithdrawWithSigAction__WEBPACK_IMPORTED_MODULE_8__.AaveV4DelegateWithdrawWithSigAction),
|
|
16497
16502
|
/* harmony export */ AaveV4PaybackAction: () => (/* reexport safe */ _AaveV4PaybackAction__WEBPACK_IMPORTED_MODULE_3__.AaveV4PaybackAction),
|
|
16498
16503
|
/* harmony export */ AaveV4RefreshPremiumAction: () => (/* reexport safe */ _AaveV4RefreshPremiumAction__WEBPACK_IMPORTED_MODULE_6__.AaveV4RefreshPremiumAction),
|
|
16504
|
+
/* harmony export */ AaveV4SetUserManagersWithSigAction: () => (/* reexport safe */ _AaveV4SetUserManagersWithSigAction__WEBPACK_IMPORTED_MODULE_9__.AaveV4SetUserManagersWithSigAction),
|
|
16499
16505
|
/* harmony export */ AaveV4StoreRatioAction: () => (/* reexport safe */ _AaveV4StoreRatioAction__WEBPACK_IMPORTED_MODULE_5__.AaveV4StoreRatioAction),
|
|
16500
16506
|
/* harmony export */ AaveV4SupplyAction: () => (/* reexport safe */ _AaveV4SupplyAction__WEBPACK_IMPORTED_MODULE_0__.AaveV4SupplyAction),
|
|
16501
16507
|
/* harmony export */ AaveV4WithdrawAction: () => (/* reexport safe */ _AaveV4WithdrawAction__WEBPACK_IMPORTED_MODULE_1__.AaveV4WithdrawAction)
|
|
@@ -16507,6 +16513,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16507
16513
|
/* harmony import */ var _AaveV4CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(416);
|
|
16508
16514
|
/* harmony import */ var _AaveV4StoreRatioAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(417);
|
|
16509
16515
|
/* harmony import */ var _AaveV4RefreshPremiumAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(418);
|
|
16516
|
+
/* harmony import */ var _AaveV4DelegateBorrowWithSigAction__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(419);
|
|
16517
|
+
/* harmony import */ var _AaveV4DelegateWithdrawWithSigAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(420);
|
|
16518
|
+
/* harmony import */ var _AaveV4SetUserManagersWithSigAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(421);
|
|
16519
|
+
|
|
16520
|
+
|
|
16521
|
+
|
|
16510
16522
|
|
|
16511
16523
|
|
|
16512
16524
|
|
|
@@ -16778,6 +16790,91 @@ class AaveV4RefreshPremiumAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
16778
16790
|
/* 419 */
|
|
16779
16791
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16780
16792
|
|
|
16793
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16794
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16795
|
+
/* harmony export */ AaveV4DelegateBorrowWithSigAction: () => (/* binding */ AaveV4DelegateBorrowWithSigAction)
|
|
16796
|
+
/* harmony export */ });
|
|
16797
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
16798
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
16799
|
+
|
|
16800
|
+
|
|
16801
|
+
/**
|
|
16802
|
+
* AaveV4DelegateBorrowWithSigAction -Approves a spender to borrow from the specified reserve using an EIP712-typed intent.
|
|
16803
|
+
*
|
|
16804
|
+
* @category AaveV4
|
|
16805
|
+
*/
|
|
16806
|
+
class AaveV4DelegateBorrowWithSigAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
16807
|
+
/**
|
|
16808
|
+
* @param permit EIP712-typed intent.
|
|
16809
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
16810
|
+
*/
|
|
16811
|
+
constructor(permit, signature) {
|
|
16812
|
+
super('AaveV4DelegateBorrowWithSig', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV4DelegateBorrowWithSig'), [['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'], 'bytes'], [permit, signature]);
|
|
16813
|
+
}
|
|
16814
|
+
}
|
|
16815
|
+
|
|
16816
|
+
/***/ }),
|
|
16817
|
+
/* 420 */
|
|
16818
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16819
|
+
|
|
16820
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16821
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16822
|
+
/* harmony export */ AaveV4DelegateWithdrawWithSigAction: () => (/* binding */ AaveV4DelegateWithdrawWithSigAction)
|
|
16823
|
+
/* harmony export */ });
|
|
16824
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
16825
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
16826
|
+
|
|
16827
|
+
|
|
16828
|
+
/**
|
|
16829
|
+
* AaveV4DelegateWithdrawWithSigAction - Approves a spender to withdraw from the specified reserve using an EIP712-typed intent.
|
|
16830
|
+
*
|
|
16831
|
+
* @category AaveV4
|
|
16832
|
+
*/
|
|
16833
|
+
class AaveV4DelegateWithdrawWithSigAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
16834
|
+
/**
|
|
16835
|
+
* @param permit EIP712-typed intent.
|
|
16836
|
+
* @param signature The EIP712-compliant signature bytes.
|
|
16837
|
+
*/
|
|
16838
|
+
constructor(permit, signature) {
|
|
16839
|
+
super('AaveV4DelegateWithdrawWithSig', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV4DelegateWithdrawWithSig'), [['address', 'uint256', 'address', 'address', 'uint256', 'uint256', 'uint256'], 'bytes'], [permit, signature]);
|
|
16840
|
+
}
|
|
16841
|
+
}
|
|
16842
|
+
|
|
16843
|
+
/***/ }),
|
|
16844
|
+
/* 421 */
|
|
16845
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16846
|
+
|
|
16847
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16848
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16849
|
+
/* harmony export */ AaveV4SetUserManagersWithSigAction: () => (/* binding */ AaveV4SetUserManagersWithSigAction)
|
|
16850
|
+
/* harmony export */ });
|
|
16851
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
16852
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
16853
|
+
|
|
16854
|
+
|
|
16855
|
+
/**
|
|
16856
|
+
* AaveV4SetUserManagersWithSigAction - Sets user position managers with EIP712-typed signature.
|
|
16857
|
+
*
|
|
16858
|
+
* @category AaveV4
|
|
16859
|
+
*/
|
|
16860
|
+
class AaveV4SetUserManagersWithSigAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
16861
|
+
/**
|
|
16862
|
+
* @param spoke Address of the spoke.
|
|
16863
|
+
* @param onBehalf The address of the user on whose behalf position manager can act.
|
|
16864
|
+
* @param nonce The nonce for the signature.
|
|
16865
|
+
* @param deadline The deadline for the signature.
|
|
16866
|
+
* @param signature The signature bytes.
|
|
16867
|
+
* @param updates The array of position manager updates.
|
|
16868
|
+
*/
|
|
16869
|
+
constructor(spoke, onBehalf, nonce, deadline, signature, updates) {
|
|
16870
|
+
super('AaveV4SetUserManagersWithSig', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV4SetUserManagersWithSig'), ['address', 'address', 'uint256', 'uint256', 'bytes', 'tuple(address,bool)[]'], [spoke, onBehalf, nonce, deadline, signature, updates]);
|
|
16871
|
+
}
|
|
16872
|
+
}
|
|
16873
|
+
|
|
16874
|
+
/***/ }),
|
|
16875
|
+
/* 422 */
|
|
16876
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16877
|
+
|
|
16781
16878
|
__webpack_require__.r(__webpack_exports__);
|
|
16782
16879
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16783
16880
|
/* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
|
|
@@ -16817,42 +16914,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16817
16914
|
/* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
16818
16915
|
/* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
16819
16916
|
/* harmony export */ });
|
|
16820
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
16821
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
16822
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
16823
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
16824
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
16825
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
16826
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
16827
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
16828
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
16829
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
16830
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
16831
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
16832
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
16833
|
-
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
16834
|
-
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
16835
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
16836
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
16837
|
-
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
16838
|
-
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
16839
|
-
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
16840
|
-
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
16841
|
-
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
16842
|
-
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
16843
|
-
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
|
|
16844
|
-
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
|
16845
|
-
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
|
|
16846
|
-
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
|
|
16847
|
-
/* harmony import */ var _CompV3PriceTrigger__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
|
|
16848
|
-
/* harmony import */ var _CompV3PriceRangeTrigger__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
|
|
16849
|
-
/* harmony import */ var _LiquityV2AdjustRateDebtInFrontTrigger__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
|
|
16850
|
-
/* harmony import */ var _AaveV3QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
|
|
16851
|
-
/* harmony import */ var _SparkQuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
|
|
16852
|
-
/* harmony import */ var _MorphoBluePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
|
|
16853
|
-
/* harmony import */ var _AaveV4QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
|
|
16854
|
-
/* harmony import */ var _AaveV4QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
|
|
16855
|
-
/* harmony import */ var _AaveV4RatioTrigger__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
|
|
16917
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(423);
|
|
16918
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(424);
|
|
16919
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(425);
|
|
16920
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(426);
|
|
16921
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(427);
|
|
16922
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(428);
|
|
16923
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(429);
|
|
16924
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(430);
|
|
16925
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(431);
|
|
16926
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(432);
|
|
16927
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(433);
|
|
16928
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(434);
|
|
16929
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(435);
|
|
16930
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(436);
|
|
16931
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(437);
|
|
16932
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(438);
|
|
16933
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(439);
|
|
16934
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(440);
|
|
16935
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(441);
|
|
16936
|
+
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(442);
|
|
16937
|
+
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(443);
|
|
16938
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(444);
|
|
16939
|
+
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(445);
|
|
16940
|
+
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(446);
|
|
16941
|
+
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(447);
|
|
16942
|
+
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(448);
|
|
16943
|
+
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(449);
|
|
16944
|
+
/* harmony import */ var _CompV3PriceTrigger__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(450);
|
|
16945
|
+
/* harmony import */ var _CompV3PriceRangeTrigger__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(451);
|
|
16946
|
+
/* harmony import */ var _LiquityV2AdjustRateDebtInFrontTrigger__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(452);
|
|
16947
|
+
/* harmony import */ var _AaveV3QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(453);
|
|
16948
|
+
/* harmony import */ var _SparkQuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(454);
|
|
16949
|
+
/* harmony import */ var _MorphoBluePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(455);
|
|
16950
|
+
/* harmony import */ var _AaveV4QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(456);
|
|
16951
|
+
/* harmony import */ var _AaveV4QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(457);
|
|
16952
|
+
/* harmony import */ var _AaveV4RatioTrigger__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(458);
|
|
16856
16953
|
|
|
16857
16954
|
|
|
16858
16955
|
|
|
@@ -16891,7 +16988,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16891
16988
|
|
|
16892
16989
|
|
|
16893
16990
|
/***/ }),
|
|
16894
|
-
/*
|
|
16991
|
+
/* 423 */
|
|
16895
16992
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16896
16993
|
|
|
16897
16994
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16914,7 +17011,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
16914
17011
|
}
|
|
16915
17012
|
|
|
16916
17013
|
/***/ }),
|
|
16917
|
-
/*
|
|
17014
|
+
/* 424 */
|
|
16918
17015
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16919
17016
|
|
|
16920
17017
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16937,7 +17034,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
16937
17034
|
}
|
|
16938
17035
|
|
|
16939
17036
|
/***/ }),
|
|
16940
|
-
/*
|
|
17037
|
+
/* 425 */
|
|
16941
17038
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16942
17039
|
|
|
16943
17040
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16960,7 +17057,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
16960
17057
|
}
|
|
16961
17058
|
|
|
16962
17059
|
/***/ }),
|
|
16963
|
-
/*
|
|
17060
|
+
/* 426 */
|
|
16964
17061
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16965
17062
|
|
|
16966
17063
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16983,7 +17080,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
16983
17080
|
}
|
|
16984
17081
|
|
|
16985
17082
|
/***/ }),
|
|
16986
|
-
/*
|
|
17083
|
+
/* 427 */
|
|
16987
17084
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16988
17085
|
|
|
16989
17086
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17006,7 +17103,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17006
17103
|
}
|
|
17007
17104
|
|
|
17008
17105
|
/***/ }),
|
|
17009
|
-
/*
|
|
17106
|
+
/* 428 */
|
|
17010
17107
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17011
17108
|
|
|
17012
17109
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17029,7 +17126,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17029
17126
|
}
|
|
17030
17127
|
|
|
17031
17128
|
/***/ }),
|
|
17032
|
-
/*
|
|
17129
|
+
/* 429 */
|
|
17033
17130
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17034
17131
|
|
|
17035
17132
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17052,7 +17149,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17052
17149
|
}
|
|
17053
17150
|
|
|
17054
17151
|
/***/ }),
|
|
17055
|
-
/*
|
|
17152
|
+
/* 430 */
|
|
17056
17153
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17057
17154
|
|
|
17058
17155
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17075,7 +17172,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17075
17172
|
}
|
|
17076
17173
|
|
|
17077
17174
|
/***/ }),
|
|
17078
|
-
/*
|
|
17175
|
+
/* 431 */
|
|
17079
17176
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17080
17177
|
|
|
17081
17178
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17098,7 +17195,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17098
17195
|
}
|
|
17099
17196
|
|
|
17100
17197
|
/***/ }),
|
|
17101
|
-
/*
|
|
17198
|
+
/* 432 */
|
|
17102
17199
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17103
17200
|
|
|
17104
17201
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17121,7 +17218,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17121
17218
|
}
|
|
17122
17219
|
|
|
17123
17220
|
/***/ }),
|
|
17124
|
-
/*
|
|
17221
|
+
/* 433 */
|
|
17125
17222
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17126
17223
|
|
|
17127
17224
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17144,7 +17241,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17144
17241
|
}
|
|
17145
17242
|
|
|
17146
17243
|
/***/ }),
|
|
17147
|
-
/*
|
|
17244
|
+
/* 434 */
|
|
17148
17245
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17149
17246
|
|
|
17150
17247
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17167,7 +17264,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17167
17264
|
}
|
|
17168
17265
|
|
|
17169
17266
|
/***/ }),
|
|
17170
|
-
/*
|
|
17267
|
+
/* 435 */
|
|
17171
17268
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17172
17269
|
|
|
17173
17270
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17190,7 +17287,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
17190
17287
|
}
|
|
17191
17288
|
|
|
17192
17289
|
/***/ }),
|
|
17193
|
-
/*
|
|
17290
|
+
/* 436 */
|
|
17194
17291
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17195
17292
|
|
|
17196
17293
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17213,7 +17310,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17213
17310
|
}
|
|
17214
17311
|
|
|
17215
17312
|
/***/ }),
|
|
17216
|
-
/*
|
|
17313
|
+
/* 437 */
|
|
17217
17314
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17218
17315
|
|
|
17219
17316
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17236,7 +17333,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
17236
17333
|
}
|
|
17237
17334
|
|
|
17238
17335
|
/***/ }),
|
|
17239
|
-
/*
|
|
17336
|
+
/* 438 */
|
|
17240
17337
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17241
17338
|
|
|
17242
17339
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17259,7 +17356,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17259
17356
|
}
|
|
17260
17357
|
|
|
17261
17358
|
/***/ }),
|
|
17262
|
-
/*
|
|
17359
|
+
/* 439 */
|
|
17263
17360
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17264
17361
|
|
|
17265
17362
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17282,7 +17379,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17282
17379
|
}
|
|
17283
17380
|
|
|
17284
17381
|
/***/ }),
|
|
17285
|
-
/*
|
|
17382
|
+
/* 440 */
|
|
17286
17383
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17287
17384
|
|
|
17288
17385
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17305,7 +17402,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
17305
17402
|
}
|
|
17306
17403
|
|
|
17307
17404
|
/***/ }),
|
|
17308
|
-
/*
|
|
17405
|
+
/* 441 */
|
|
17309
17406
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17310
17407
|
|
|
17311
17408
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17328,7 +17425,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
17328
17425
|
}
|
|
17329
17426
|
|
|
17330
17427
|
/***/ }),
|
|
17331
|
-
/*
|
|
17428
|
+
/* 442 */
|
|
17332
17429
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17333
17430
|
|
|
17334
17431
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17351,7 +17448,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
17351
17448
|
}
|
|
17352
17449
|
|
|
17353
17450
|
/***/ }),
|
|
17354
|
-
/*
|
|
17451
|
+
/* 443 */
|
|
17355
17452
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17356
17453
|
|
|
17357
17454
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17374,7 +17471,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17374
17471
|
}
|
|
17375
17472
|
|
|
17376
17473
|
/***/ }),
|
|
17377
|
-
/*
|
|
17474
|
+
/* 444 */
|
|
17378
17475
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17379
17476
|
|
|
17380
17477
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17397,7 +17494,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17397
17494
|
}
|
|
17398
17495
|
|
|
17399
17496
|
/***/ }),
|
|
17400
|
-
/*
|
|
17497
|
+
/* 445 */
|
|
17401
17498
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17402
17499
|
|
|
17403
17500
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17426,7 +17523,7 @@ class MorphoBluePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17426
17523
|
}
|
|
17427
17524
|
|
|
17428
17525
|
/***/ }),
|
|
17429
|
-
/*
|
|
17526
|
+
/* 446 */
|
|
17430
17527
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17431
17528
|
|
|
17432
17529
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17447,7 +17544,7 @@ class LiquityV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17447
17544
|
}
|
|
17448
17545
|
|
|
17449
17546
|
/***/ }),
|
|
17450
|
-
/*
|
|
17547
|
+
/* 447 */
|
|
17451
17548
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17452
17549
|
|
|
17453
17550
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17470,7 +17567,7 @@ class ClosePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17470
17567
|
}
|
|
17471
17568
|
|
|
17472
17569
|
/***/ }),
|
|
17473
|
-
/*
|
|
17570
|
+
/* 448 */
|
|
17474
17571
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17475
17572
|
|
|
17476
17573
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17491,7 +17588,7 @@ class LiquityV2QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
17491
17588
|
}
|
|
17492
17589
|
|
|
17493
17590
|
/***/ }),
|
|
17494
|
-
/*
|
|
17591
|
+
/* 449 */
|
|
17495
17592
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17496
17593
|
|
|
17497
17594
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17514,7 +17611,7 @@ class FluidRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17514
17611
|
}
|
|
17515
17612
|
|
|
17516
17613
|
/***/ }),
|
|
17517
|
-
/*
|
|
17614
|
+
/* 450 */
|
|
17518
17615
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17519
17616
|
|
|
17520
17617
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17537,7 +17634,7 @@ class CompV3PriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17537
17634
|
}
|
|
17538
17635
|
|
|
17539
17636
|
/***/ }),
|
|
17540
|
-
/*
|
|
17637
|
+
/* 451 */
|
|
17541
17638
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17542
17639
|
|
|
17543
17640
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17560,7 +17657,7 @@ class CompV3PriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
17560
17657
|
}
|
|
17561
17658
|
|
|
17562
17659
|
/***/ }),
|
|
17563
|
-
/*
|
|
17660
|
+
/* 452 */
|
|
17564
17661
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17565
17662
|
|
|
17566
17663
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17581,7 +17678,7 @@ class LiquityV2AdjustRateDebtInFrontTrigger extends _Action__WEBPACK_IMPORTED_MO
|
|
|
17581
17678
|
}
|
|
17582
17679
|
|
|
17583
17680
|
/***/ }),
|
|
17584
|
-
/*
|
|
17681
|
+
/* 453 */
|
|
17585
17682
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17586
17683
|
|
|
17587
17684
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17607,7 +17704,7 @@ class AaveV3QuotePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
17607
17704
|
}
|
|
17608
17705
|
|
|
17609
17706
|
/***/ }),
|
|
17610
|
-
/*
|
|
17707
|
+
/* 454 */
|
|
17611
17708
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17612
17709
|
|
|
17613
17710
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17633,7 +17730,7 @@ class SparkQuotePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
17633
17730
|
}
|
|
17634
17731
|
|
|
17635
17732
|
/***/ }),
|
|
17636
|
-
/*
|
|
17733
|
+
/* 455 */
|
|
17637
17734
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17638
17735
|
|
|
17639
17736
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17662,7 +17759,7 @@ class MorphoBluePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
17662
17759
|
}
|
|
17663
17760
|
|
|
17664
17761
|
/***/ }),
|
|
17665
|
-
/*
|
|
17762
|
+
/* 456 */
|
|
17666
17763
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17667
17764
|
|
|
17668
17765
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17685,7 +17782,7 @@ class AaveV4QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
17685
17782
|
}
|
|
17686
17783
|
|
|
17687
17784
|
/***/ }),
|
|
17688
|
-
/*
|
|
17785
|
+
/* 457 */
|
|
17689
17786
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17690
17787
|
|
|
17691
17788
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17708,7 +17805,7 @@ class AaveV4QuotePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
17708
17805
|
}
|
|
17709
17806
|
|
|
17710
17807
|
/***/ }),
|
|
17711
|
-
/*
|
|
17808
|
+
/* 458 */
|
|
17712
17809
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17713
17810
|
|
|
17714
17811
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17731,7 +17828,7 @@ class AaveV4RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17731
17828
|
}
|
|
17732
17829
|
|
|
17733
17830
|
/***/ }),
|
|
17734
|
-
/*
|
|
17831
|
+
/* 459 */
|
|
17735
17832
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17736
17833
|
|
|
17737
17834
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17745,9 +17842,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17745
17842
|
/* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
17746
17843
|
/* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
17747
17844
|
/* harmony export */ });
|
|
17748
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
17845
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(460);
|
|
17749
17846
|
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(137);
|
|
17750
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
17847
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(462);
|
|
17751
17848
|
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(244);
|
|
17752
17849
|
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(224);
|
|
17753
17850
|
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(210);
|
|
@@ -17764,7 +17861,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17764
17861
|
|
|
17765
17862
|
|
|
17766
17863
|
/***/ }),
|
|
17767
|
-
/*
|
|
17864
|
+
/* 460 */
|
|
17768
17865
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17769
17866
|
|
|
17770
17867
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17775,7 +17872,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17775
17872
|
/* harmony export */ });
|
|
17776
17873
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
17777
17874
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
17778
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
17875
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(461);
|
|
17779
17876
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
17780
17877
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
17781
17878
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -17977,20 +18074,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
17977
18074
|
}();
|
|
17978
18075
|
|
|
17979
18076
|
/***/ }),
|
|
17980
|
-
/*
|
|
18077
|
+
/* 461 */
|
|
17981
18078
|
/***/ ((module) => {
|
|
17982
18079
|
|
|
17983
|
-
module.exports =
|
|
18080
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__461__;
|
|
17984
18081
|
|
|
17985
18082
|
/***/ }),
|
|
17986
|
-
/*
|
|
18083
|
+
/* 462 */
|
|
17987
18084
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17988
18085
|
|
|
17989
18086
|
__webpack_require__.r(__webpack_exports__);
|
|
17990
18087
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17991
18088
|
/* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
|
|
17992
18089
|
/* harmony export */ });
|
|
17993
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
18090
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(463);
|
|
17994
18091
|
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); } }
|
|
17995
18092
|
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); }); }; }
|
|
17996
18093
|
/**
|
|
@@ -18015,7 +18112,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
18015
18112
|
}();
|
|
18016
18113
|
|
|
18017
18114
|
/***/ }),
|
|
18018
|
-
/*
|
|
18115
|
+
/* 463 */
|
|
18019
18116
|
/***/ ((module) => {
|
|
18020
18117
|
|
|
18021
18118
|
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"}]');
|
|
@@ -18119,8 +18216,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18119
18216
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
18120
18217
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
18121
18218
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
18122
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
18123
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
18219
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(422);
|
|
18220
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(459);
|
|
18124
18221
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
18125
18222
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
18126
18223
|
/* Export types here */
|