@defisaver/sdk 1.0.47 → 1.0.48

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.
@@ -27,7 +27,6 @@ type Networks = {
27
27
  ethereum: Network;
28
28
  optimism: Network;
29
29
  arbitrum: Network;
30
- base: Network;
31
30
  };
32
31
  type EthAddress = string;
33
32
  type bytes32 = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
package/src/addresses.ts CHANGED
@@ -313,40 +313,6 @@ export const actionAddresses = {
313
313
  UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
314
314
  UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
315
315
  },
316
- [NETWORKS.base.chainId]: {
317
- // Basic
318
- DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
319
- WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
320
- UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
321
- SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
322
- PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
323
-
324
- // Flashloan
325
- FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
326
- FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
327
- FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
328
-
329
- // AaveV3
330
- AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
331
- AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
332
- AaveV3Supply: '0x741FcFC1D708CEA0d845Fd04de51022b6d00e060',
333
- AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
334
- AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
335
- AaveV3CollateralSwitch: '0xFdfeA6469c537b19A334726E01621810bc49B929',
336
- AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
337
- AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
338
- AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
339
- AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
340
-
341
- // CompV3
342
- CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
343
- CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
344
- CompV3Claim: '0xD51F6C1c9bE837E5fd93e31214AeCaFde753E90e',
345
- CompV3Payback: '0x73c627b48cb7c2b319E496fc55535Db6eD2c3445',
346
- CompV3Supply: '0x94b63bf925C2Ab17F7df6914E110E969cC36A93e',
347
- CompV3Transfer: '0xdCAF9C6Bccc062Bc1b8704AA37005897FeA257a0',
348
- CompV3Withdraw: '0x8543133c3827D29b67D2b012101f463c870C1790',
349
- },
350
316
  };
351
317
 
352
318
  export const otherAddresses = {
@@ -394,16 +360,6 @@ export const otherAddresses = {
394
360
 
395
361
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
396
362
  },
397
- [NETWORKS.base.chainId]: {
398
- RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
399
- DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
400
- ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
401
-
402
- DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
403
- AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
404
- DefisaverLogger: '0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A',
405
- Empty: '0x0000000000000000000000000000000000000000',
406
- },
407
363
  };
408
364
 
409
365
  /**
package/src/config.ts CHANGED
@@ -38,14 +38,6 @@ export const NETWORKS : Networks = {
38
38
  rpcUrls: ['https://arb1.arbitrum.io/rpc'],
39
39
  nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
40
40
  },
41
- base: {
42
- chainId: 8453,
43
- chainName: 'Base',
44
- blockExplorerUrls: ['https://basescan.io/'],
45
- iconUrls: ['https://bridge.base.org/icons/base.svg'],
46
- rpcUrls: [],
47
- nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
48
- },
49
41
  };
50
42
 
51
43
  /**
@@ -81,4 +73,4 @@ export const configure = (config : Config) => {
81
73
  CONFIG[key as keyof Config] = config[key as keyof Config];
82
74
  if (key === 'chainId') dfsTokensSetConfig('network', config[key]);
83
75
  });
84
- };
76
+ };
package/src/types.ts CHANGED
@@ -29,7 +29,6 @@ type Networks = {
29
29
  ethereum:Network,
30
30
  optimism:Network,
31
31
  arbitrum:Network,
32
- base:Network,
33
32
  };
34
33
 
35
34
  type EthAddress = string;
package/umd/index.js CHANGED
@@ -328,18 +328,6 @@ var NETWORKS = {
328
328
  decimals: 18,
329
329
  symbol: 'ETH'
330
330
  }
331
- },
332
- base: {
333
- chainId: 8453,
334
- chainName: 'Base',
335
- blockExplorerUrls: ['https://basescan.io/'],
336
- iconUrls: ['https://bridge.base.org/icons/base.svg'],
337
- rpcUrls: [],
338
- nativeCurrency: {
339
- name: 'Ethereum',
340
- decimals: 18,
341
- symbol: 'ETH'
342
- }
343
331
  }
344
332
  };
345
333
 
@@ -1523,37 +1511,6 @@ var actionAddresses = {
1523
1511
  UniSupplyV3: '0x55675C6041A33EE9BDd796Edaa0f098AC7F3534f',
1524
1512
  UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
1525
1513
  UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5'
1526
- },
1527
- [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
1528
- // Basic
1529
- DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
1530
- WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
1531
- UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
1532
- SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
1533
- PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
1534
- // Flashloan
1535
- FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
1536
- FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
1537
- FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
1538
- // AaveV3
1539
- AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
1540
- AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
1541
- AaveV3Supply: '0x741FcFC1D708CEA0d845Fd04de51022b6d00e060',
1542
- AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
1543
- AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
1544
- AaveV3CollateralSwitch: '0xFdfeA6469c537b19A334726E01621810bc49B929',
1545
- AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
1546
- AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
1547
- AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
1548
- AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
1549
- // CompV3
1550
- CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
1551
- CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
1552
- CompV3Claim: '0xD51F6C1c9bE837E5fd93e31214AeCaFde753E90e',
1553
- CompV3Payback: '0x73c627b48cb7c2b319E496fc55535Db6eD2c3445',
1554
- CompV3Supply: '0x94b63bf925C2Ab17F7df6914E110E969cC36A93e',
1555
- CompV3Transfer: '0xdCAF9C6Bccc062Bc1b8704AA37005897FeA257a0',
1556
- CompV3Withdraw: '0x8543133c3827D29b67D2b012101f463c870C1790'
1557
1514
  }
1558
1515
  };
1559
1516
  var otherAddresses = {
@@ -1595,15 +1552,6 @@ var otherAddresses = {
1595
1552
  DefisaverLogger: '0xE6f9A5C850dbcD12bc64f40d692F537250aDEC38',
1596
1553
  Empty: '0x0000000000000000000000000000000000000000',
1597
1554
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
1598
- },
1599
- [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
1600
- RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
1601
- DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
1602
- ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
1603
- DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
1604
- AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
1605
- DefisaverLogger: '0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A',
1606
- Empty: '0x0000000000000000000000000000000000000000'
1607
1555
  }
1608
1556
  };
1609
1557