@defisaver/sdk 1.3.17-aave-v4-dev → 1.3.18-aave-v4-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/Recipe.js CHANGED
@@ -119,7 +119,7 @@ export class Recipe {
119
119
  data.shouldTakeFeeFromPosition,
120
120
  ];
121
121
  return [
122
- getAddr('RecipeExecutorForTxSaver', CONFIG.chainId),
122
+ this.recipeExecutorAddress,
123
123
  // @ts-expect-error Interface of AbiCoder is wrong :(
124
124
  AbiCoder.encodeFunctionCall(executeTaskAbi, [encodedRecipe, encodedTxSaverData]),
125
125
  ];
@@ -1727,7 +1727,6 @@ export declare const actionAddresses: {
1727
1727
  export declare const otherAddresses: {
1728
1728
  [x: number]: {
1729
1729
  RecipeExecutor: string;
1730
- RecipeExecutorForTxSaver: string;
1731
1730
  DFSRegistry: string;
1732
1731
  DFSProxyRegistry: string;
1733
1732
  ProxyRegistry: string;
@@ -1750,7 +1749,6 @@ export declare const otherAddresses: {
1750
1749
  DefisaverLogger?: undefined;
1751
1750
  } | {
1752
1751
  RecipeExecutor: string;
1753
- RecipeExecutorForTxSaver: string;
1754
1752
  DFSRegistry: string;
1755
1753
  ProxyRegistry: string;
1756
1754
  SFProxyEntryPoint: string;
@@ -1773,7 +1771,6 @@ export declare const otherAddresses: {
1773
1771
  BLUSD?: undefined;
1774
1772
  } | {
1775
1773
  RecipeExecutor: string;
1776
- RecipeExecutorForTxSaver: string;
1777
1774
  DFSRegistry: string;
1778
1775
  ProxyRegistry: string;
1779
1776
  SFProxyEntryPoint: string;
@@ -1801,7 +1798,6 @@ export declare const otherAddresses: {
1801
1798
  AdminVault: string;
1802
1799
  DefisaverLogger: string;
1803
1800
  Empty: string;
1804
- RecipeExecutorForTxSaver?: undefined;
1805
1801
  DFSProxyRegistry?: undefined;
1806
1802
  ProxyRegistry?: undefined;
1807
1803
  SFProxyEntryPoint?: undefined;
@@ -1823,7 +1819,6 @@ export declare const otherAddresses: {
1823
1819
  AdminVault: string;
1824
1820
  DefisaverLogger: string;
1825
1821
  Empty: string;
1826
- RecipeExecutorForTxSaver?: undefined;
1827
1822
  DFSProxyRegistry?: undefined;
1828
1823
  ProxyRegistry?: undefined;
1829
1824
  SFProxyEntryPoint?: undefined;
@@ -651,7 +651,6 @@ export const actionAddresses = {
651
651
  export const otherAddresses = {
652
652
  [NETWORKS.ethereum.chainId]: {
653
653
  RecipeExecutor: '0xbc3Fc959FeF3F12a41738f406c02198cdeE7481F',
654
- RecipeExecutorForTxSaver: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
655
654
  DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
656
655
  DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
657
656
  ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
@@ -672,7 +671,6 @@ export const otherAddresses = {
672
671
  },
673
672
  [NETWORKS.optimism.chainId]: {
674
673
  RecipeExecutor: '0xEC891E6b5A93F5f29241De6B234a4e77A5456A1C',
675
- RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
676
674
  DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
677
675
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
678
676
  SFProxyEntryPoint: '0x06299D4A07E8C6D7C1aEc14Ab2F46DF05Dd9588E',
@@ -684,7 +682,6 @@ export const otherAddresses = {
684
682
  },
685
683
  [NETWORKS.arbitrum.chainId]: {
686
684
  RecipeExecutor: '0x667609f05DdC5E9Fb939eC376F07953403745cf3',
687
- RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
688
685
  DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
689
686
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
690
687
  SFProxyEntryPoint: '0x15D776C062bF292f8F70A81533E49adC7C06Cb69',
@@ -696,7 +693,6 @@ export const otherAddresses = {
696
693
  },
697
694
  [NETWORKS.base.chainId]: {
698
695
  RecipeExecutor: '0xc91305DdE651c899EF8eE1D0C33E7dab1B5ABF0D',
699
- RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
700
696
  DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
701
697
  ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
702
698
  SFProxyEntryPoint: '0xab6e5cde983fF98Cdb0F61f5F99cb58D40D0c837',
@@ -3461,7 +3461,6 @@ declare const actionAddresses: (chainId?: null) => {
3461
3461
  declare const otherAddressesAllChains: {
3462
3462
  [x: number]: {
3463
3463
  RecipeExecutor: string;
3464
- RecipeExecutorForTxSaver: string;
3465
3464
  DFSRegistry: string;
3466
3465
  DFSProxyRegistry: string;
3467
3466
  ProxyRegistry: string;
@@ -3484,7 +3483,6 @@ declare const otherAddressesAllChains: {
3484
3483
  DefisaverLogger?: undefined;
3485
3484
  } | {
3486
3485
  RecipeExecutor: string;
3487
- RecipeExecutorForTxSaver: string;
3488
3486
  DFSRegistry: string;
3489
3487
  ProxyRegistry: string;
3490
3488
  SFProxyEntryPoint: string;
@@ -3507,7 +3505,6 @@ declare const otherAddressesAllChains: {
3507
3505
  BLUSD?: undefined;
3508
3506
  } | {
3509
3507
  RecipeExecutor: string;
3510
- RecipeExecutorForTxSaver: string;
3511
3508
  DFSRegistry: string;
3512
3509
  ProxyRegistry: string;
3513
3510
  SFProxyEntryPoint: string;
@@ -3535,7 +3532,6 @@ declare const otherAddressesAllChains: {
3535
3532
  AdminVault: string;
3536
3533
  DefisaverLogger: string;
3537
3534
  Empty: string;
3538
- RecipeExecutorForTxSaver?: undefined;
3539
3535
  DFSProxyRegistry?: undefined;
3540
3536
  ProxyRegistry?: undefined;
3541
3537
  SFProxyEntryPoint?: undefined;
@@ -3557,7 +3553,6 @@ declare const otherAddressesAllChains: {
3557
3553
  AdminVault: string;
3558
3554
  DefisaverLogger: string;
3559
3555
  Empty: string;
3560
- RecipeExecutorForTxSaver?: undefined;
3561
3556
  DFSProxyRegistry?: undefined;
3562
3557
  ProxyRegistry?: undefined;
3563
3558
  SFProxyEntryPoint?: undefined;
@@ -3578,7 +3573,6 @@ declare const otherAddressesAllChains: {
3578
3573
  };
3579
3574
  declare const otherAddresses: (chainId?: null) => {
3580
3575
  RecipeExecutor: string;
3581
- RecipeExecutorForTxSaver: string;
3582
3576
  DFSRegistry: string;
3583
3577
  DFSProxyRegistry: string;
3584
3578
  ProxyRegistry: string;
@@ -3601,7 +3595,6 @@ declare const otherAddresses: (chainId?: null) => {
3601
3595
  DefisaverLogger?: undefined;
3602
3596
  } | {
3603
3597
  RecipeExecutor: string;
3604
- RecipeExecutorForTxSaver: string;
3605
3598
  DFSRegistry: string;
3606
3599
  ProxyRegistry: string;
3607
3600
  SFProxyEntryPoint: string;
@@ -3624,7 +3617,6 @@ declare const otherAddresses: (chainId?: null) => {
3624
3617
  BLUSD?: undefined;
3625
3618
  } | {
3626
3619
  RecipeExecutor: string;
3627
- RecipeExecutorForTxSaver: string;
3628
3620
  DFSRegistry: string;
3629
3621
  ProxyRegistry: string;
3630
3622
  SFProxyEntryPoint: string;
@@ -3652,7 +3644,6 @@ declare const otherAddresses: (chainId?: null) => {
3652
3644
  AdminVault: string;
3653
3645
  DefisaverLogger: string;
3654
3646
  Empty: string;
3655
- RecipeExecutorForTxSaver?: undefined;
3656
3647
  DFSProxyRegistry?: undefined;
3657
3648
  ProxyRegistry?: undefined;
3658
3649
  SFProxyEntryPoint?: undefined;
@@ -3674,7 +3665,6 @@ declare const otherAddresses: (chainId?: null) => {
3674
3665
  AdminVault: string;
3675
3666
  DefisaverLogger: string;
3676
3667
  Empty: string;
3677
- RecipeExecutorForTxSaver?: undefined;
3678
3668
  DFSProxyRegistry?: undefined;
3679
3669
  ProxyRegistry?: undefined;
3680
3670
  SFProxyEntryPoint?: undefined;
@@ -7156,7 +7146,6 @@ declare const _default: {
7156
7146
  };
7157
7147
  otherAddresses: (chainId?: null) => {
7158
7148
  RecipeExecutor: string;
7159
- RecipeExecutorForTxSaver: string;
7160
7149
  DFSRegistry: string;
7161
7150
  DFSProxyRegistry: string;
7162
7151
  ProxyRegistry: string;
@@ -7179,7 +7168,6 @@ declare const _default: {
7179
7168
  DefisaverLogger?: undefined;
7180
7169
  } | {
7181
7170
  RecipeExecutor: string;
7182
- RecipeExecutorForTxSaver: string;
7183
7171
  DFSRegistry: string;
7184
7172
  ProxyRegistry: string;
7185
7173
  SFProxyEntryPoint: string;
@@ -7202,7 +7190,6 @@ declare const _default: {
7202
7190
  BLUSD?: undefined;
7203
7191
  } | {
7204
7192
  RecipeExecutor: string;
7205
- RecipeExecutorForTxSaver: string;
7206
7193
  DFSRegistry: string;
7207
7194
  ProxyRegistry: string;
7208
7195
  SFProxyEntryPoint: string;
@@ -7230,7 +7217,6 @@ declare const _default: {
7230
7217
  AdminVault: string;
7231
7218
  DefisaverLogger: string;
7232
7219
  Empty: string;
7233
- RecipeExecutorForTxSaver?: undefined;
7234
7220
  DFSProxyRegistry?: undefined;
7235
7221
  ProxyRegistry?: undefined;
7236
7222
  SFProxyEntryPoint?: undefined;
@@ -7252,7 +7238,6 @@ declare const _default: {
7252
7238
  AdminVault: string;
7253
7239
  DefisaverLogger: string;
7254
7240
  Empty: string;
7255
- RecipeExecutorForTxSaver?: undefined;
7256
7241
  DFSProxyRegistry?: undefined;
7257
7242
  ProxyRegistry?: undefined;
7258
7243
  SFProxyEntryPoint?: undefined;
@@ -7273,7 +7258,6 @@ declare const _default: {
7273
7258
  otherAddressesAllChains: {
7274
7259
  [x: number]: {
7275
7260
  RecipeExecutor: string;
7276
- RecipeExecutorForTxSaver: string;
7277
7261
  DFSRegistry: string;
7278
7262
  DFSProxyRegistry: string;
7279
7263
  ProxyRegistry: string;
@@ -7296,7 +7280,6 @@ declare const _default: {
7296
7280
  DefisaverLogger?: undefined;
7297
7281
  } | {
7298
7282
  RecipeExecutor: string;
7299
- RecipeExecutorForTxSaver: string;
7300
7283
  DFSRegistry: string;
7301
7284
  ProxyRegistry: string;
7302
7285
  SFProxyEntryPoint: string;
@@ -7319,7 +7302,6 @@ declare const _default: {
7319
7302
  BLUSD?: undefined;
7320
7303
  } | {
7321
7304
  RecipeExecutor: string;
7322
- RecipeExecutorForTxSaver: string;
7323
7305
  DFSRegistry: string;
7324
7306
  ProxyRegistry: string;
7325
7307
  SFProxyEntryPoint: string;
@@ -7347,7 +7329,6 @@ declare const _default: {
7347
7329
  AdminVault: string;
7348
7330
  DefisaverLogger: string;
7349
7331
  Empty: string;
7350
- RecipeExecutorForTxSaver?: undefined;
7351
7332
  DFSProxyRegistry?: undefined;
7352
7333
  ProxyRegistry?: undefined;
7353
7334
  SFProxyEntryPoint?: undefined;
@@ -7369,7 +7350,6 @@ declare const _default: {
7369
7350
  AdminVault: string;
7370
7351
  DefisaverLogger: string;
7371
7352
  Empty: string;
7372
- RecipeExecutorForTxSaver?: undefined;
7373
7353
  DFSProxyRegistry?: undefined;
7374
7354
  ProxyRegistry?: undefined;
7375
7355
  SFProxyEntryPoint?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.3.17-aave-v4-dev",
3
+ "version": "1.3.18-aave-v4-dev",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
package/src/Recipe.ts CHANGED
@@ -143,7 +143,7 @@ export class Recipe {
143
143
  data.shouldTakeFeeFromPosition,
144
144
  ];
145
145
  return [
146
- getAddr('RecipeExecutorForTxSaver', CONFIG.chainId),
146
+ this.recipeExecutorAddress,
147
147
  // @ts-expect-error Interface of AbiCoder is wrong :(
148
148
  AbiCoder.encodeFunctionCall(executeTaskAbi, [encodedRecipe, encodedTxSaverData]),
149
149
  ];
package/src/addresses.ts CHANGED
@@ -766,8 +766,6 @@ export const actionAddresses = {
766
766
  export const otherAddresses = {
767
767
  [NETWORKS.ethereum.chainId]: {
768
768
  RecipeExecutor: '0xbc3Fc959FeF3F12a41738f406c02198cdeE7481F',
769
- RecipeExecutorForTxSaver:
770
- '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
771
769
  DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
772
770
  DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
773
771
  ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
@@ -790,7 +788,6 @@ export const otherAddresses = {
790
788
  },
791
789
  [NETWORKS.optimism.chainId]: {
792
790
  RecipeExecutor: '0xEC891E6b5A93F5f29241De6B234a4e77A5456A1C',
793
- RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
794
791
  DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
795
792
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
796
793
  SFProxyEntryPoint: '0x06299D4A07E8C6D7C1aEc14Ab2F46DF05Dd9588E',
@@ -804,7 +801,6 @@ export const otherAddresses = {
804
801
  },
805
802
  [NETWORKS.arbitrum.chainId]: {
806
803
  RecipeExecutor: '0x667609f05DdC5E9Fb939eC376F07953403745cf3',
807
- RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
808
804
  DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
809
805
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
810
806
  SFProxyEntryPoint: '0x15D776C062bF292f8F70A81533E49adC7C06Cb69',
@@ -818,7 +814,6 @@ export const otherAddresses = {
818
814
  },
819
815
  [NETWORKS.base.chainId]: {
820
816
  RecipeExecutor: '0xc91305DdE651c899EF8eE1D0C33E7dab1B5ABF0D',
821
- RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
822
817
  DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
823
818
  ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
824
819
  SFProxyEntryPoint: '0xab6e5cde983fF98Cdb0F61f5F99cb58D40D0c837',
package/umd/index.js CHANGED
@@ -1200,7 +1200,7 @@ class Recipe {
1200
1200
  });
1201
1201
  var encodedRecipe = _assertClassBrand(_Recipe_brand, this, _encodeForCall).call(this)[0];
1202
1202
  var encodedTxSaverData = [data.maxTxCostInFeeToken, data.feeToken, data.tokenPriceInEth, data.deadline, data.shouldTakeFeeFromPosition];
1203
- return [(0,_addresses__WEBPACK_IMPORTED_MODULE_4__.getAddr)('RecipeExecutorForTxSaver', _config__WEBPACK_IMPORTED_MODULE_6__.CONFIG.chainId),
1203
+ return [this.recipeExecutorAddress,
1204
1204
  // @ts-expect-error Interface of AbiCoder is wrong :(
1205
1205
  web3_eth_abi__WEBPACK_IMPORTED_MODULE_0___default().encodeFunctionCall(executeTaskAbi, [encodedRecipe, encodedTxSaverData])];
1206
1206
  }
@@ -1971,7 +1971,6 @@ var actionAddresses = {
1971
1971
  var otherAddresses = {
1972
1972
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
1973
1973
  RecipeExecutor: '0xbc3Fc959FeF3F12a41738f406c02198cdeE7481F',
1974
- RecipeExecutorForTxSaver: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
1975
1974
  DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
1976
1975
  DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
1977
1976
  ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
@@ -1992,7 +1991,6 @@ var otherAddresses = {
1992
1991
  },
1993
1992
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
1994
1993
  RecipeExecutor: '0xEC891E6b5A93F5f29241De6B234a4e77A5456A1C',
1995
- RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
1996
1994
  DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
1997
1995
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
1998
1996
  SFProxyEntryPoint: '0x06299D4A07E8C6D7C1aEc14Ab2F46DF05Dd9588E',
@@ -2004,7 +2002,6 @@ var otherAddresses = {
2004
2002
  },
2005
2003
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
2006
2004
  RecipeExecutor: '0x667609f05DdC5E9Fb939eC376F07953403745cf3',
2007
- RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
2008
2005
  DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
2009
2006
  ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
2010
2007
  SFProxyEntryPoint: '0x15D776C062bF292f8F70A81533E49adC7C06Cb69',
@@ -2016,7 +2013,6 @@ var otherAddresses = {
2016
2013
  },
2017
2014
  [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
2018
2015
  RecipeExecutor: '0xc91305DdE651c899EF8eE1D0C33E7dab1B5ABF0D',
2019
- RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
2020
2016
  DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
2021
2017
  ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
2022
2018
  SFProxyEntryPoint: '0xab6e5cde983fF98Cdb0F61f5F99cb58D40D0c837',