@defisaver/sdk 1.3.18-aave-v4-1-dev → 1.3.18-aave-v4-3-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.
@@ -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
+ * AaveV4DelegateSetUsingAsCollateralWithSigAction - Approves a delegatee to set using as collateral on behalf of delegator using an EIP712-typed intent.
5
+ *
6
+ * @category AaveV4
7
+ */
8
+ export declare class AaveV4DelegateSetUsingAsCollateralWithSigAction 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
+ * AaveV4DelegateSetUsingAsCollateralWithSigAction - Approves a delegatee to set using as collateral on behalf of delegator using an EIP712-typed intent.
5
+ *
6
+ * @category AaveV4
7
+ */
8
+ export class AaveV4DelegateSetUsingAsCollateralWithSigAction extends Action {
9
+ /**
10
+ * @param permit EIP712-typed intent.
11
+ * @param signature The EIP712-compliant signature bytes.
12
+ */
13
+ constructor(permit, signature) {
14
+ super('AaveV4DelegateSetUsingAsCollateralWithSig', getAddr('AaveV4DelegateSetUsingAsCollateralWithSig'), [
15
+ ['address', 'address', 'address', 'bool', '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,7 @@ 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';
11
+ export * from './AaveV4DelegateSetUsingAsCollateralWithSigAction';
@@ -5,3 +5,7 @@ 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';
11
+ export * from './AaveV4DelegateSetUsingAsCollateralWithSigAction';
@@ -283,6 +283,10 @@ 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;
289
+ AaveV4DelegateSetUsingAsCollateralWithSig: string;
286
290
  AaveV3DelegateCredit?: undefined;
287
291
  AaveV3RatioTrigger?: undefined;
288
292
  GasFeeTakerL2?: undefined;
@@ -575,6 +579,10 @@ export declare const actionAddresses: {
575
579
  AaveV4Payback?: undefined;
576
580
  AaveV4CollateralSwitch?: undefined;
577
581
  AaveV4RefreshPremium?: undefined;
582
+ AaveV4SetUserManagersWithSig?: undefined;
583
+ AaveV4DelegateWithdrawWithSig?: undefined;
584
+ AaveV4DelegateBorrowWithSig?: undefined;
585
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
578
586
  MorphoBlueView?: undefined;
579
587
  } | {
580
588
  DFSSell: string;
@@ -862,6 +870,10 @@ export declare const actionAddresses: {
862
870
  AaveV4Payback?: undefined;
863
871
  AaveV4CollateralSwitch?: undefined;
864
872
  AaveV4RefreshPremium?: undefined;
873
+ AaveV4SetUserManagersWithSig?: undefined;
874
+ AaveV4DelegateWithdrawWithSig?: undefined;
875
+ AaveV4DelegateBorrowWithSig?: undefined;
876
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
865
877
  AaveV3DelegateCredit?: undefined;
866
878
  AaveV3RatioTrigger?: undefined;
867
879
  } | {
@@ -1149,6 +1161,10 @@ export declare const actionAddresses: {
1149
1161
  AaveV4Payback?: undefined;
1150
1162
  AaveV4CollateralSwitch?: undefined;
1151
1163
  AaveV4RefreshPremium?: undefined;
1164
+ AaveV4SetUserManagersWithSig?: undefined;
1165
+ AaveV4DelegateWithdrawWithSig?: undefined;
1166
+ AaveV4DelegateBorrowWithSig?: undefined;
1167
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
1152
1168
  AaveV3DelegateCredit?: undefined;
1153
1169
  AaveV3RatioTrigger?: undefined;
1154
1170
  AaveV3RatioCheck?: undefined;
@@ -1436,6 +1452,10 @@ export declare const actionAddresses: {
1436
1452
  AaveV4Payback?: undefined;
1437
1453
  AaveV4CollateralSwitch?: undefined;
1438
1454
  AaveV4RefreshPremium?: undefined;
1455
+ AaveV4SetUserManagersWithSig?: undefined;
1456
+ AaveV4DelegateWithdrawWithSig?: undefined;
1457
+ AaveV4DelegateBorrowWithSig?: undefined;
1458
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
1439
1459
  AaveV3RatioTrigger?: undefined;
1440
1460
  GasFeeTakerL2?: undefined;
1441
1461
  AaveV3RatioCheck?: undefined;
@@ -1724,6 +1744,10 @@ export declare const actionAddresses: {
1724
1744
  AaveV4Payback?: undefined;
1725
1745
  AaveV4CollateralSwitch?: undefined;
1726
1746
  AaveV4RefreshPremium?: undefined;
1747
+ AaveV4SetUserManagersWithSig?: undefined;
1748
+ AaveV4DelegateWithdrawWithSig?: undefined;
1749
+ AaveV4DelegateBorrowWithSig?: undefined;
1750
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
1727
1751
  AaveV3RatioTrigger?: undefined;
1728
1752
  GasFeeTakerL2?: undefined;
1729
1753
  AaveV3RatioCheck?: undefined;
@@ -325,6 +325,10 @@ export const actionAddresses = {
325
325
  AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
326
326
  AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
327
327
  AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
328
+ AaveV4SetUserManagersWithSig: '0xD50B0295C69e3F77BE7d99e7BdeAc442F37b373b',
329
+ AaveV4DelegateWithdrawWithSig: '0x88bBa5Ce5cE20286Cf866b9f310354FFB701A296',
330
+ AaveV4DelegateBorrowWithSig: '0xBAc6dc3edB72Bc705Ab4e31F2a2151Fe06550D9B',
331
+ AaveV4DelegateSetUsingAsCollateralWithSig: '0x780d8fB962AA44645494E0aAa52477a9A82f6C79',
328
332
  },
329
333
  [NETWORKS.optimism.chainId]: {
330
334
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
@@ -294,6 +294,10 @@ declare const actionAddressesAllChains: {
294
294
  AaveV4Payback: string;
295
295
  AaveV4CollateralSwitch: string;
296
296
  AaveV4RefreshPremium: string;
297
+ AaveV4SetUserManagersWithSig: string;
298
+ AaveV4DelegateWithdrawWithSig: string;
299
+ AaveV4DelegateBorrowWithSig: string;
300
+ AaveV4DelegateSetUsingAsCollateralWithSig: string;
297
301
  AaveV3DelegateCredit?: undefined;
298
302
  AaveV3RatioTrigger?: undefined;
299
303
  GasFeeTakerL2?: undefined;
@@ -586,6 +590,10 @@ declare const actionAddressesAllChains: {
586
590
  AaveV4Payback?: undefined;
587
591
  AaveV4CollateralSwitch?: undefined;
588
592
  AaveV4RefreshPremium?: undefined;
593
+ AaveV4SetUserManagersWithSig?: undefined;
594
+ AaveV4DelegateWithdrawWithSig?: undefined;
595
+ AaveV4DelegateBorrowWithSig?: undefined;
596
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
589
597
  MorphoBlueView?: undefined;
590
598
  } | {
591
599
  DFSSell: string;
@@ -873,6 +881,10 @@ declare const actionAddressesAllChains: {
873
881
  AaveV4Payback?: undefined;
874
882
  AaveV4CollateralSwitch?: undefined;
875
883
  AaveV4RefreshPremium?: undefined;
884
+ AaveV4SetUserManagersWithSig?: undefined;
885
+ AaveV4DelegateWithdrawWithSig?: undefined;
886
+ AaveV4DelegateBorrowWithSig?: undefined;
887
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
876
888
  AaveV3DelegateCredit?: undefined;
877
889
  AaveV3RatioTrigger?: undefined;
878
890
  } | {
@@ -1160,6 +1172,10 @@ declare const actionAddressesAllChains: {
1160
1172
  AaveV4Payback?: undefined;
1161
1173
  AaveV4CollateralSwitch?: undefined;
1162
1174
  AaveV4RefreshPremium?: undefined;
1175
+ AaveV4SetUserManagersWithSig?: undefined;
1176
+ AaveV4DelegateWithdrawWithSig?: undefined;
1177
+ AaveV4DelegateBorrowWithSig?: undefined;
1178
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
1163
1179
  AaveV3DelegateCredit?: undefined;
1164
1180
  AaveV3RatioTrigger?: undefined;
1165
1181
  AaveV3RatioCheck?: undefined;
@@ -1447,6 +1463,10 @@ declare const actionAddressesAllChains: {
1447
1463
  AaveV4Payback?: undefined;
1448
1464
  AaveV4CollateralSwitch?: undefined;
1449
1465
  AaveV4RefreshPremium?: undefined;
1466
+ AaveV4SetUserManagersWithSig?: undefined;
1467
+ AaveV4DelegateWithdrawWithSig?: undefined;
1468
+ AaveV4DelegateBorrowWithSig?: undefined;
1469
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
1450
1470
  AaveV3RatioTrigger?: undefined;
1451
1471
  GasFeeTakerL2?: undefined;
1452
1472
  AaveV3RatioCheck?: undefined;
@@ -1735,6 +1755,10 @@ declare const actionAddressesAllChains: {
1735
1755
  AaveV4Payback?: undefined;
1736
1756
  AaveV4CollateralSwitch?: undefined;
1737
1757
  AaveV4RefreshPremium?: undefined;
1758
+ AaveV4SetUserManagersWithSig?: undefined;
1759
+ AaveV4DelegateWithdrawWithSig?: undefined;
1760
+ AaveV4DelegateBorrowWithSig?: undefined;
1761
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
1738
1762
  AaveV3RatioTrigger?: undefined;
1739
1763
  GasFeeTakerL2?: undefined;
1740
1764
  AaveV3RatioCheck?: undefined;
@@ -2024,6 +2048,10 @@ declare const actionAddresses: (chainId?: null) => {
2024
2048
  AaveV4Payback: string;
2025
2049
  AaveV4CollateralSwitch: string;
2026
2050
  AaveV4RefreshPremium: string;
2051
+ AaveV4SetUserManagersWithSig: string;
2052
+ AaveV4DelegateWithdrawWithSig: string;
2053
+ AaveV4DelegateBorrowWithSig: string;
2054
+ AaveV4DelegateSetUsingAsCollateralWithSig: string;
2027
2055
  AaveV3DelegateCredit?: undefined;
2028
2056
  AaveV3RatioTrigger?: undefined;
2029
2057
  GasFeeTakerL2?: undefined;
@@ -2316,6 +2344,10 @@ declare const actionAddresses: (chainId?: null) => {
2316
2344
  AaveV4Payback?: undefined;
2317
2345
  AaveV4CollateralSwitch?: undefined;
2318
2346
  AaveV4RefreshPremium?: undefined;
2347
+ AaveV4SetUserManagersWithSig?: undefined;
2348
+ AaveV4DelegateWithdrawWithSig?: undefined;
2349
+ AaveV4DelegateBorrowWithSig?: undefined;
2350
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
2319
2351
  MorphoBlueView?: undefined;
2320
2352
  } | {
2321
2353
  DFSSell: string;
@@ -2603,6 +2635,10 @@ declare const actionAddresses: (chainId?: null) => {
2603
2635
  AaveV4Payback?: undefined;
2604
2636
  AaveV4CollateralSwitch?: undefined;
2605
2637
  AaveV4RefreshPremium?: undefined;
2638
+ AaveV4SetUserManagersWithSig?: undefined;
2639
+ AaveV4DelegateWithdrawWithSig?: undefined;
2640
+ AaveV4DelegateBorrowWithSig?: undefined;
2641
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
2606
2642
  AaveV3DelegateCredit?: undefined;
2607
2643
  AaveV3RatioTrigger?: undefined;
2608
2644
  } | {
@@ -2890,6 +2926,10 @@ declare const actionAddresses: (chainId?: null) => {
2890
2926
  AaveV4Payback?: undefined;
2891
2927
  AaveV4CollateralSwitch?: undefined;
2892
2928
  AaveV4RefreshPremium?: undefined;
2929
+ AaveV4SetUserManagersWithSig?: undefined;
2930
+ AaveV4DelegateWithdrawWithSig?: undefined;
2931
+ AaveV4DelegateBorrowWithSig?: undefined;
2932
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
2893
2933
  AaveV3DelegateCredit?: undefined;
2894
2934
  AaveV3RatioTrigger?: undefined;
2895
2935
  AaveV3RatioCheck?: undefined;
@@ -3177,6 +3217,10 @@ declare const actionAddresses: (chainId?: null) => {
3177
3217
  AaveV4Payback?: undefined;
3178
3218
  AaveV4CollateralSwitch?: undefined;
3179
3219
  AaveV4RefreshPremium?: undefined;
3220
+ AaveV4SetUserManagersWithSig?: undefined;
3221
+ AaveV4DelegateWithdrawWithSig?: undefined;
3222
+ AaveV4DelegateBorrowWithSig?: undefined;
3223
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
3180
3224
  AaveV3RatioTrigger?: undefined;
3181
3225
  GasFeeTakerL2?: undefined;
3182
3226
  AaveV3RatioCheck?: undefined;
@@ -3465,6 +3509,10 @@ declare const actionAddresses: (chainId?: null) => {
3465
3509
  AaveV4Payback?: undefined;
3466
3510
  AaveV4CollateralSwitch?: undefined;
3467
3511
  AaveV4RefreshPremium?: undefined;
3512
+ AaveV4SetUserManagersWithSig?: undefined;
3513
+ AaveV4DelegateWithdrawWithSig?: undefined;
3514
+ AaveV4DelegateBorrowWithSig?: undefined;
3515
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
3468
3516
  AaveV3RatioTrigger?: undefined;
3469
3517
  GasFeeTakerL2?: undefined;
3470
3518
  AaveV3RatioCheck?: undefined;
@@ -3991,6 +4039,10 @@ declare const _default: {
3991
4039
  AaveV4Payback: string;
3992
4040
  AaveV4CollateralSwitch: string;
3993
4041
  AaveV4RefreshPremium: string;
4042
+ AaveV4SetUserManagersWithSig: string;
4043
+ AaveV4DelegateWithdrawWithSig: string;
4044
+ AaveV4DelegateBorrowWithSig: string;
4045
+ AaveV4DelegateSetUsingAsCollateralWithSig: string;
3994
4046
  AaveV3DelegateCredit?: undefined;
3995
4047
  AaveV3RatioTrigger?: undefined;
3996
4048
  GasFeeTakerL2?: undefined;
@@ -4283,6 +4335,10 @@ declare const _default: {
4283
4335
  AaveV4Payback?: undefined;
4284
4336
  AaveV4CollateralSwitch?: undefined;
4285
4337
  AaveV4RefreshPremium?: undefined;
4338
+ AaveV4SetUserManagersWithSig?: undefined;
4339
+ AaveV4DelegateWithdrawWithSig?: undefined;
4340
+ AaveV4DelegateBorrowWithSig?: undefined;
4341
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
4286
4342
  MorphoBlueView?: undefined;
4287
4343
  } | {
4288
4344
  DFSSell: string;
@@ -4570,6 +4626,10 @@ declare const _default: {
4570
4626
  AaveV4Payback?: undefined;
4571
4627
  AaveV4CollateralSwitch?: undefined;
4572
4628
  AaveV4RefreshPremium?: undefined;
4629
+ AaveV4SetUserManagersWithSig?: undefined;
4630
+ AaveV4DelegateWithdrawWithSig?: undefined;
4631
+ AaveV4DelegateBorrowWithSig?: undefined;
4632
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
4573
4633
  AaveV3DelegateCredit?: undefined;
4574
4634
  AaveV3RatioTrigger?: undefined;
4575
4635
  } | {
@@ -4857,6 +4917,10 @@ declare const _default: {
4857
4917
  AaveV4Payback?: undefined;
4858
4918
  AaveV4CollateralSwitch?: undefined;
4859
4919
  AaveV4RefreshPremium?: undefined;
4920
+ AaveV4SetUserManagersWithSig?: undefined;
4921
+ AaveV4DelegateWithdrawWithSig?: undefined;
4922
+ AaveV4DelegateBorrowWithSig?: undefined;
4923
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
4860
4924
  AaveV3DelegateCredit?: undefined;
4861
4925
  AaveV3RatioTrigger?: undefined;
4862
4926
  AaveV3RatioCheck?: undefined;
@@ -5144,6 +5208,10 @@ declare const _default: {
5144
5208
  AaveV4Payback?: undefined;
5145
5209
  AaveV4CollateralSwitch?: undefined;
5146
5210
  AaveV4RefreshPremium?: undefined;
5211
+ AaveV4SetUserManagersWithSig?: undefined;
5212
+ AaveV4DelegateWithdrawWithSig?: undefined;
5213
+ AaveV4DelegateBorrowWithSig?: undefined;
5214
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
5147
5215
  AaveV3RatioTrigger?: undefined;
5148
5216
  GasFeeTakerL2?: undefined;
5149
5217
  AaveV3RatioCheck?: undefined;
@@ -5432,6 +5500,10 @@ declare const _default: {
5432
5500
  AaveV4Payback?: undefined;
5433
5501
  AaveV4CollateralSwitch?: undefined;
5434
5502
  AaveV4RefreshPremium?: undefined;
5503
+ AaveV4SetUserManagersWithSig?: undefined;
5504
+ AaveV4DelegateWithdrawWithSig?: undefined;
5505
+ AaveV4DelegateBorrowWithSig?: undefined;
5506
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
5435
5507
  AaveV3RatioTrigger?: undefined;
5436
5508
  GasFeeTakerL2?: undefined;
5437
5509
  AaveV3RatioCheck?: undefined;
@@ -5721,6 +5793,10 @@ declare const _default: {
5721
5793
  AaveV4Payback: string;
5722
5794
  AaveV4CollateralSwitch: string;
5723
5795
  AaveV4RefreshPremium: string;
5796
+ AaveV4SetUserManagersWithSig: string;
5797
+ AaveV4DelegateWithdrawWithSig: string;
5798
+ AaveV4DelegateBorrowWithSig: string;
5799
+ AaveV4DelegateSetUsingAsCollateralWithSig: string;
5724
5800
  AaveV3DelegateCredit?: undefined;
5725
5801
  AaveV3RatioTrigger?: undefined;
5726
5802
  GasFeeTakerL2?: undefined;
@@ -6013,6 +6089,10 @@ declare const _default: {
6013
6089
  AaveV4Payback?: undefined;
6014
6090
  AaveV4CollateralSwitch?: undefined;
6015
6091
  AaveV4RefreshPremium?: undefined;
6092
+ AaveV4SetUserManagersWithSig?: undefined;
6093
+ AaveV4DelegateWithdrawWithSig?: undefined;
6094
+ AaveV4DelegateBorrowWithSig?: undefined;
6095
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
6016
6096
  MorphoBlueView?: undefined;
6017
6097
  } | {
6018
6098
  DFSSell: string;
@@ -6300,6 +6380,10 @@ declare const _default: {
6300
6380
  AaveV4Payback?: undefined;
6301
6381
  AaveV4CollateralSwitch?: undefined;
6302
6382
  AaveV4RefreshPremium?: undefined;
6383
+ AaveV4SetUserManagersWithSig?: undefined;
6384
+ AaveV4DelegateWithdrawWithSig?: undefined;
6385
+ AaveV4DelegateBorrowWithSig?: undefined;
6386
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
6303
6387
  AaveV3DelegateCredit?: undefined;
6304
6388
  AaveV3RatioTrigger?: undefined;
6305
6389
  } | {
@@ -6587,6 +6671,10 @@ declare const _default: {
6587
6671
  AaveV4Payback?: undefined;
6588
6672
  AaveV4CollateralSwitch?: undefined;
6589
6673
  AaveV4RefreshPremium?: undefined;
6674
+ AaveV4SetUserManagersWithSig?: undefined;
6675
+ AaveV4DelegateWithdrawWithSig?: undefined;
6676
+ AaveV4DelegateBorrowWithSig?: undefined;
6677
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
6590
6678
  AaveV3DelegateCredit?: undefined;
6591
6679
  AaveV3RatioTrigger?: undefined;
6592
6680
  AaveV3RatioCheck?: undefined;
@@ -6874,6 +6962,10 @@ declare const _default: {
6874
6962
  AaveV4Payback?: undefined;
6875
6963
  AaveV4CollateralSwitch?: undefined;
6876
6964
  AaveV4RefreshPremium?: undefined;
6965
+ AaveV4SetUserManagersWithSig?: undefined;
6966
+ AaveV4DelegateWithdrawWithSig?: undefined;
6967
+ AaveV4DelegateBorrowWithSig?: undefined;
6968
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
6877
6969
  AaveV3RatioTrigger?: undefined;
6878
6970
  GasFeeTakerL2?: undefined;
6879
6971
  AaveV3RatioCheck?: undefined;
@@ -7162,6 +7254,10 @@ declare const _default: {
7162
7254
  AaveV4Payback?: undefined;
7163
7255
  AaveV4CollateralSwitch?: undefined;
7164
7256
  AaveV4RefreshPremium?: undefined;
7257
+ AaveV4SetUserManagersWithSig?: undefined;
7258
+ AaveV4DelegateWithdrawWithSig?: undefined;
7259
+ AaveV4DelegateBorrowWithSig?: undefined;
7260
+ AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
7165
7261
  AaveV3RatioTrigger?: undefined;
7166
7262
  GasFeeTakerL2?: undefined;
7167
7263
  AaveV3RatioCheck?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.3.18-aave-v4-1-dev",
3
+ "version": "1.3.18-aave-v4-3-dev",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -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
+ * AaveV4DelegateSetUsingAsCollateralWithSigAction - Approves a delegatee to set using as collateral on behalf of delegator using an EIP712-typed intent.
7
+ *
8
+ * @category AaveV4
9
+ */
10
+ export class AaveV4DelegateSetUsingAsCollateralWithSigAction 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
+ 'AaveV4DelegateSetUsingAsCollateralWithSig',
21
+ getAddr('AaveV4DelegateSetUsingAsCollateralWithSig'),
22
+ [
23
+ ['address', 'address', 'address', 'bool', '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,8 @@ 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';
11
+ export * from './AaveV4DelegateSetUsingAsCollateralWithSigAction';
package/src/addresses.ts CHANGED
@@ -397,6 +397,10 @@ export const actionAddresses = {
397
397
  AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
398
398
  AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
399
399
  AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
400
+ AaveV4SetUserManagersWithSig: '0xD50B0295C69e3F77BE7d99e7BdeAc442F37b373b',
401
+ AaveV4DelegateWithdrawWithSig: '0x88bBa5Ce5cE20286Cf866b9f310354FFB701A296',
402
+ AaveV4DelegateBorrowWithSig: '0xBAc6dc3edB72Bc705Ab4e31F2a2151Fe06550D9B',
403
+ AaveV4DelegateSetUsingAsCollateralWithSig: '0x780d8fB962AA44645494E0aAa52477a9A82f6C79',
400
404
  },
401
405
  [NETWORKS.optimism.chainId]: {
402
406
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',