@gearbox-protocol/sdk 8.5.1 → 8.6.1

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.
Files changed (30) hide show
  1. package/dist/cjs/dev/createTransport.js +3 -1
  2. package/dist/cjs/sdk/chain/chains.js +38 -9
  3. package/dist/cjs/sdk/constants/address-provider.js +3 -1
  4. package/dist/cjs/sdk/constants/addresses.js +12 -4
  5. package/dist/cjs/sdk/constants/networks.js +8 -2
  6. package/dist/cjs/sdk/core/BotListV3Contract.js +1 -1
  7. package/dist/cjs/sdk/core/address-provider/AddressProviderV300Contract.js +1 -2
  8. package/dist/cjs/sdk/plugins/V300StalenessPeriodPlugin.js +1 -1
  9. package/dist/cjs/sdk/router/RouterV300Contract.js +3 -1
  10. package/dist/cjs/sdk/sdk-gov-legacy/contracts/contracts.js +111 -37
  11. package/dist/cjs/sdk/sdk-gov-legacy/tokens/token.js +6 -2
  12. package/dist/cjs/sdk/sdk-gov-legacy/tokens/tokenData.js +3 -1
  13. package/dist/cjs/sdk/sdk-legacy/core/endpoint.js +3 -1
  14. package/dist/esm/dev/createTransport.js +3 -1
  15. package/dist/esm/sdk/chain/chains.js +39 -8
  16. package/dist/esm/sdk/constants/address-provider.js +3 -1
  17. package/dist/esm/sdk/constants/addresses.js +12 -4
  18. package/dist/esm/sdk/constants/networks.js +8 -2
  19. package/dist/esm/sdk/core/BotListV3Contract.js +2 -5
  20. package/dist/esm/sdk/core/address-provider/AddressProviderV300Contract.js +1 -2
  21. package/dist/esm/sdk/plugins/V300StalenessPeriodPlugin.js +2 -2
  22. package/dist/esm/sdk/router/RouterV300Contract.js +3 -1
  23. package/dist/esm/sdk/sdk-gov-legacy/contracts/contracts.js +111 -37
  24. package/dist/esm/sdk/sdk-gov-legacy/tokens/token.js +6 -2
  25. package/dist/esm/sdk/sdk-gov-legacy/tokens/tokenData.js +3 -1
  26. package/dist/esm/sdk/sdk-legacy/core/endpoint.js +3 -1
  27. package/dist/types/sdk/chain/Provider.d.ts +3 -3
  28. package/dist/types/sdk/chain/chains.d.ts +22 -3
  29. package/dist/types/sdk/constants/networks.d.ts +1 -0
  30. package/package.json +3 -3
@@ -50,7 +50,9 @@ const DRPC_NETS = {
50
50
  Monad: "monad-testnet",
51
51
  // TODO: no drpc
52
52
  MegaETH: "",
53
- Etherlink: ""
53
+ Etherlink: "",
54
+ Hemi: "hemi",
55
+ Lisk: "lisk"
54
56
  };
55
57
  function getDrpcUrl(network, apiKey, protocol) {
56
58
  const net = DRPC_NETS[network];
@@ -6,6 +6,8 @@ import {
6
6
  berachain,
7
7
  bsc,
8
8
  etherlink,
9
+ hemi,
10
+ lisk,
9
11
  mainnet,
10
12
  megaethTestnet,
11
13
  monadTestnet,
@@ -13,7 +15,7 @@ import {
13
15
  sonic,
14
16
  worldchain
15
17
  } from "viem/chains";
16
- import { z } from "zod";
18
+ import { z } from "zod/v4";
17
19
  const SUPPORTED_NETWORKS = [
18
20
  "Mainnet",
19
21
  "Arbitrum",
@@ -26,7 +28,9 @@ const SUPPORTED_NETWORKS = [
26
28
  "Avalanche",
27
29
  "BNB",
28
30
  "WorldChain",
29
- "Etherlink"
31
+ "Etherlink",
32
+ "Hemi",
33
+ "Lisk"
30
34
  ];
31
35
  const NetworkType = z.enum(SUPPORTED_NETWORKS);
32
36
  function withPublicNode(chain, subdomain) {
@@ -57,7 +61,9 @@ const chains = {
57
61
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
58
62
  symbol: "USDC"
59
63
  },
60
- alchemyDomain: "eth-mainnet"
64
+ alchemyDomain: "eth-mainnet",
65
+ firstBlock: 18433056n
66
+ // AddressProvderV3 0x9ea7b04Da02a5373317D745c1571c84aaD03321D
61
67
  },
62
68
  "ethereum-rpc"
63
69
  ),
@@ -73,7 +79,8 @@ const chains = {
73
79
  address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
74
80
  symbol: "USDC"
75
81
  },
76
- alchemyDomain: "arb-mainnet"
82
+ alchemyDomain: "arb-mainnet",
83
+ firstBlock: 184650310n
77
84
  },
78
85
  "arbitrum-one-rpc"
79
86
  ),
@@ -89,7 +96,8 @@ const chains = {
89
96
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
90
97
  symbol: "USDC"
91
98
  },
92
- alchemyDomain: "opt-mainnet"
99
+ alchemyDomain: "opt-mainnet",
100
+ firstBlock: 118410666n
93
101
  },
94
102
  "optimism-rpc"
95
103
  ),
@@ -126,7 +134,8 @@ const chains = {
126
134
  address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
127
135
  symbol: "USDC"
128
136
  },
129
- alchemyDomain: "sonic-mainnet"
137
+ alchemyDomain: "sonic-mainnet",
138
+ firstBlock: 9779380n
130
139
  }),
131
140
  "sonic-rpc"
132
141
  ),
@@ -205,7 +214,8 @@ const chains = {
205
214
  address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
206
215
  symbol: "USDC"
207
216
  },
208
- alchemyDomain: "bnb-mainnet"
217
+ alchemyDomain: "bnb-mainnet",
218
+ firstBlock: 48761804n
209
219
  },
210
220
  "bsc-rpc"
211
221
  ),
@@ -232,8 +242,29 @@ const chains = {
232
242
  wellKnownToken: {
233
243
  address: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
234
244
  symbol: "USDC"
235
- }
245
+ },
246
+ firstBlock: 16672969n
236
247
  // TODO: has no block explorer API
248
+ }),
249
+ Hemi: defineChain({
250
+ ...hemi,
251
+ network: "Hemi",
252
+ defaultMarketConfigurators: {},
253
+ isPublic: false,
254
+ wellKnownToken: {
255
+ address: "0xad11a8BEb98bbf61dbb1aa0F6d6F2ECD87b35afA",
256
+ symbol: "USDC.e"
257
+ }
258
+ }),
259
+ Lisk: defineChain({
260
+ ...lisk,
261
+ network: "Lisk",
262
+ defaultMarketConfigurators: {},
263
+ isPublic: false,
264
+ wellKnownToken: {
265
+ address: "0xF242275d3a6527d877f2c927a82D9b057609cc71",
266
+ symbol: "USDC.e"
267
+ }
237
268
  })
238
269
  };
239
270
  const networkByChainId = Object.values(chains).reduce((acc, chain) => {
@@ -44,7 +44,9 @@ const ADDRESS_PROVIDER = {
44
44
  Avalanche: NOT_DEPLOYED,
45
45
  BNB: NOT_DEPLOYED,
46
46
  WorldChain: NOT_DEPLOYED,
47
- Etherlink: NOT_DEPLOYED
47
+ Etherlink: NOT_DEPLOYED,
48
+ Hemi: NOT_DEPLOYED,
49
+ Lisk: NOT_DEPLOYED
48
50
  };
49
51
  const ADDRESS_PROVIDER_V310 = "0xF7f0a609BfAb9a0A98786951ef10e5FE26cC1E38";
50
52
  export {
@@ -14,7 +14,9 @@ const TIMELOCK = {
14
14
  Avalanche: NOT_DEPLOYED,
15
15
  BNB: NOT_DEPLOYED,
16
16
  WorldChain: NOT_DEPLOYED,
17
- Etherlink: NOT_DEPLOYED
17
+ Etherlink: NOT_DEPLOYED,
18
+ Hemi: NOT_DEPLOYED,
19
+ Lisk: NOT_DEPLOYED
18
20
  };
19
21
  const GEARBOX_MULTISIG = {
20
22
  Mainnet: "0xA7D5DDc1b8557914F158076b228AA91eF613f1D5",
@@ -29,7 +31,9 @@ const GEARBOX_MULTISIG = {
29
31
  Avalanche: NOT_DEPLOYED,
30
32
  BNB: NOT_DEPLOYED,
31
33
  WorldChain: NOT_DEPLOYED,
32
- Etherlink: NOT_DEPLOYED
34
+ Etherlink: NOT_DEPLOYED,
35
+ Hemi: NOT_DEPLOYED,
36
+ Lisk: NOT_DEPLOYED
33
37
  };
34
38
  const GEARBOX_RISK_CURATORS = {
35
39
  Mainnet: [TIMELOCK.Mainnet],
@@ -44,7 +48,9 @@ const GEARBOX_RISK_CURATORS = {
44
48
  Avalanche: [],
45
49
  BNB: [],
46
50
  WorldChain: [],
47
- Etherlink: []
51
+ Etherlink: [],
52
+ Hemi: [],
53
+ Lisk: []
48
54
  };
49
55
  const DEPRECIATED_POOLS = {
50
56
  Mainnet: {
@@ -61,7 +67,9 @@ const DEPRECIATED_POOLS = {
61
67
  Avalanche: {},
62
68
  BNB: {},
63
69
  WorldChain: {},
64
- Etherlink: {}
70
+ Etherlink: {},
71
+ Hemi: {},
72
+ Lisk: {}
65
73
  };
66
74
  export {
67
75
  ADDRESS_0X0,
@@ -19,7 +19,11 @@ const ADDRESS_PROVIDER_BLOCK = {
19
19
  // arbitrary not deployed yet
20
20
  WorldChain: 22372908n,
21
21
  // arbitrary not deployed yet
22
- Etherlink: 16672969n
22
+ Etherlink: 16672969n,
23
+ // arbitrary not deployed yet
24
+ Hemi: 2227553n,
25
+ // arbitrary not deployed yet
26
+ Lisk: 18934260n
23
27
  // arbitrary not deployed yet
24
28
  };
25
29
  const BLOCK_DURATION_BY_NETWORK = {
@@ -37,7 +41,9 @@ const BLOCK_DURATION_BY_NETWORK = {
37
41
  Avalanche: 1.7,
38
42
  BNB: 3,
39
43
  WorldChain: 2,
40
- Etherlink: 1
44
+ Etherlink: 1,
45
+ Hemi: 12,
46
+ Lisk: 2
41
47
  };
42
48
  const RAMP_TIME = 30 * 24 * 60 * 60 * 1.2;
43
49
  const RAMP_DURATION_BY_NETWORK = TypedObjectUtils.entries(BLOCK_DURATION_BY_NETWORK).reduce(
@@ -1,16 +1,13 @@
1
1
  import { iBotListV300Abi } from "../../abi/v300.js";
2
2
  import { BaseContract } from "../base/index.js";
3
- import {
4
- ADDRESS_PROVIDER_BLOCK,
5
- botPermissionsToString
6
- } from "../constants/index.js";
3
+ import { botPermissionsToString } from "../constants/index.js";
7
4
  const abi = iBotListV300Abi;
8
5
  class BotListContract extends BaseContract {
9
6
  #approvedCreditManagers;
10
7
  #currentBlock;
11
8
  constructor(sdk, address) {
12
9
  super(sdk, { addr: address, name: "BotListV3", abi });
13
- this.#currentBlock = ADDRESS_PROVIDER_BLOCK[sdk.provider.networkType];
10
+ this.#currentBlock = sdk.provider.chain.firstBlock ?? 0n;
14
11
  }
15
12
  parseFunctionParams(params) {
16
13
  switch (params.functionName) {
@@ -1,6 +1,5 @@
1
1
  import { bytesToString, getAbiItem, parseEventLogs, toBytes } from "viem";
2
2
  import { iAddressProviderV300Abi } from "../../../abi/v300.js";
3
- import { ADDRESS_PROVIDER_BLOCK } from "../../constants/index.js";
4
3
  import { getLogsSafe } from "../../utils/viem/index.js";
5
4
  import AbstractAddressProviderContract from "./AbstractAddressProviderContract.js";
6
5
  const abi = iAddressProviderV300Abi;
@@ -53,7 +52,7 @@ class AddressProviderV300Contract extends AbstractAddressProviderContract {
53
52
  }
54
53
  }
55
54
  async syncState(blockNumber) {
56
- const fromBlock = ADDRESS_PROVIDER_BLOCK[this.sdk.provider.networkType];
55
+ const fromBlock = this.sdk.provider.chain.firstBlock;
57
56
  this.logger?.debug(
58
57
  `loading events from block ${fromBlock} to ${blockNumber}`
59
58
  );
@@ -1,6 +1,6 @@
1
1
  import { getAbiItem, getAddress } from "viem";
2
2
  import { iPriceOracleV300Abi } from "../../abi/v300.js";
3
- import { ADDRESS_PROVIDER_BLOCK, isV300 } from "../constants/index.js";
3
+ import { isV300 } from "../constants/index.js";
4
4
  import { PriceFeedRef } from "../market/index.js";
5
5
  import { AddressMap, formatDuration, hexEq } from "../utils/index.js";
6
6
  import { getLogsSafe } from "../utils/viem/index.js";
@@ -11,7 +11,7 @@ class V300StalenessPeriodPlugin extends BasePlugin {
11
11
  #events = [];
12
12
  set sdk(sdk) {
13
13
  super.sdk = sdk;
14
- this.#syncedTo = ADDRESS_PROVIDER_BLOCK[sdk.provider.networkType] - 1n;
14
+ this.#syncedTo = (sdk.provider.chain.firstBlock ?? 1n) - 1n;
15
15
  }
16
16
  get sdk() {
17
17
  return super.sdk;
@@ -296,7 +296,9 @@ class RouterV300Contract extends AbstractRouterContract {
296
296
  Avalanche: "0x0",
297
297
  BNB: "0x0",
298
298
  WorldChain: "0x0",
299
- Etherlink: "0x0"
299
+ Etherlink: "0x0",
300
+ Hemi: "0x0",
301
+ Lisk: "0x0"
300
302
  };
301
303
  const pendleRouter = PENDLE_ROUTER_BY_NETWORK[this.sdk.provider.networkType];
302
304
  const pendleAdapter = cm.creditManager.adapters.mustGet(pendleRouter);
@@ -796,7 +796,9 @@ const contractsByNetwork = {
796
796
  Berachain: {},
797
797
  BNB: {},
798
798
  WorldChain: {},
799
- Etherlink: {}
799
+ Etherlink: {},
800
+ Hemi: {},
801
+ Lisk: {}
800
802
  };
801
803
  const UNISWAP_V3_QUOTER = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6";
802
804
  const CAMELOT_V3_QUOTER = "0x0Fc73040b26E9bC8514fA028D998E73A254Fa76E";
@@ -906,7 +908,9 @@ const contractParams = {
906
908
  Avalanche: NOT_DEPLOYED,
907
909
  BNB: NOT_DEPLOYED,
908
910
  WorldChain: NOT_DEPLOYED,
909
- Etherlink: NOT_DEPLOYED
911
+ Etherlink: NOT_DEPLOYED,
912
+ Hemi: NOT_DEPLOYED,
913
+ Lisk: NOT_DEPLOYED
910
914
  },
911
915
  tokens: ["WETH", "STETH"],
912
916
  lpToken: "steCRV"
@@ -928,7 +932,9 @@ const contractParams = {
928
932
  Avalanche: NOT_DEPLOYED,
929
933
  BNB: NOT_DEPLOYED,
930
934
  WorldChain: NOT_DEPLOYED,
931
- Etherlink: NOT_DEPLOYED
935
+ Etherlink: NOT_DEPLOYED,
936
+ Hemi: NOT_DEPLOYED,
937
+ Lisk: NOT_DEPLOYED
932
938
  },
933
939
  tokens: ["WETH", "wstETH"],
934
940
  lpToken: "wstETHCRV"
@@ -950,7 +956,9 @@ const contractParams = {
950
956
  Avalanche: NOT_DEPLOYED,
951
957
  BNB: NOT_DEPLOYED,
952
958
  WorldChain: NOT_DEPLOYED,
953
- Etherlink: NOT_DEPLOYED
959
+ Etherlink: NOT_DEPLOYED,
960
+ Hemi: NOT_DEPLOYED,
961
+ Lisk: NOT_DEPLOYED
954
962
  },
955
963
  tokens: ["GEAR", "WETH"],
956
964
  lpToken: "GEAR"
@@ -1484,7 +1492,9 @@ const contractParams = {
1484
1492
  Avalanche: NOT_DEPLOYED,
1485
1493
  BNB: NOT_DEPLOYED,
1486
1494
  WorldChain: NOT_DEPLOYED,
1487
- Etherlink: NOT_DEPLOYED
1495
+ Etherlink: NOT_DEPLOYED,
1496
+ Hemi: NOT_DEPLOYED,
1497
+ Lisk: NOT_DEPLOYED
1488
1498
  }
1489
1499
  }
1490
1500
  ]
@@ -1510,7 +1520,9 @@ const contractParams = {
1510
1520
  Avalanche: NOT_DEPLOYED,
1511
1521
  BNB: NOT_DEPLOYED,
1512
1522
  WorldChain: NOT_DEPLOYED,
1513
- Etherlink: NOT_DEPLOYED
1523
+ Etherlink: NOT_DEPLOYED,
1524
+ Hemi: NOT_DEPLOYED,
1525
+ Lisk: NOT_DEPLOYED
1514
1526
  }
1515
1527
  }
1516
1528
  ]
@@ -1536,7 +1548,9 @@ const contractParams = {
1536
1548
  Avalanche: NOT_DEPLOYED,
1537
1549
  BNB: NOT_DEPLOYED,
1538
1550
  WorldChain: NOT_DEPLOYED,
1539
- Etherlink: NOT_DEPLOYED
1551
+ Etherlink: NOT_DEPLOYED,
1552
+ Hemi: NOT_DEPLOYED,
1553
+ Lisk: NOT_DEPLOYED
1540
1554
  }
1541
1555
  }
1542
1556
  ]
@@ -1562,7 +1576,9 @@ const contractParams = {
1562
1576
  Avalanche: NOT_DEPLOYED,
1563
1577
  BNB: NOT_DEPLOYED,
1564
1578
  WorldChain: NOT_DEPLOYED,
1565
- Etherlink: NOT_DEPLOYED
1579
+ Etherlink: NOT_DEPLOYED,
1580
+ Hemi: NOT_DEPLOYED,
1581
+ Lisk: NOT_DEPLOYED
1566
1582
  }
1567
1583
  }
1568
1584
  ]
@@ -1587,7 +1603,9 @@ const contractParams = {
1587
1603
  Avalanche: NOT_DEPLOYED,
1588
1604
  BNB: NOT_DEPLOYED,
1589
1605
  WorldChain: NOT_DEPLOYED,
1590
- Etherlink: NOT_DEPLOYED
1606
+ Etherlink: NOT_DEPLOYED,
1607
+ Hemi: NOT_DEPLOYED,
1608
+ Lisk: NOT_DEPLOYED
1591
1609
  }
1592
1610
  }
1593
1611
  ]
@@ -1612,7 +1630,9 @@ const contractParams = {
1612
1630
  Avalanche: NOT_DEPLOYED,
1613
1631
  BNB: NOT_DEPLOYED,
1614
1632
  WorldChain: NOT_DEPLOYED,
1615
- Etherlink: NOT_DEPLOYED
1633
+ Etherlink: NOT_DEPLOYED,
1634
+ Hemi: NOT_DEPLOYED,
1635
+ Lisk: NOT_DEPLOYED
1616
1636
  }
1617
1637
  }
1618
1638
  ]
@@ -1644,7 +1664,9 @@ const contractParams = {
1644
1664
  Avalanche: NOT_DEPLOYED,
1645
1665
  BNB: NOT_DEPLOYED,
1646
1666
  WorldChain: NOT_DEPLOYED,
1647
- Etherlink: NOT_DEPLOYED
1667
+ Etherlink: NOT_DEPLOYED,
1668
+ Hemi: NOT_DEPLOYED,
1669
+ Lisk: NOT_DEPLOYED
1648
1670
  }
1649
1671
  }
1650
1672
  ]
@@ -1669,7 +1691,9 @@ const contractParams = {
1669
1691
  Avalanche: NOT_DEPLOYED,
1670
1692
  BNB: NOT_DEPLOYED,
1671
1693
  WorldChain: NOT_DEPLOYED,
1672
- Etherlink: NOT_DEPLOYED
1694
+ Etherlink: NOT_DEPLOYED,
1695
+ Hemi: NOT_DEPLOYED,
1696
+ Lisk: NOT_DEPLOYED
1673
1697
  }
1674
1698
  }
1675
1699
  ]
@@ -1694,7 +1718,9 @@ const contractParams = {
1694
1718
  Avalanche: NOT_DEPLOYED,
1695
1719
  BNB: NOT_DEPLOYED,
1696
1720
  WorldChain: NOT_DEPLOYED,
1697
- Etherlink: NOT_DEPLOYED
1721
+ Etherlink: NOT_DEPLOYED,
1722
+ Hemi: NOT_DEPLOYED,
1723
+ Lisk: NOT_DEPLOYED
1698
1724
  }
1699
1725
  }
1700
1726
  ]
@@ -1719,7 +1745,9 @@ const contractParams = {
1719
1745
  Avalanche: NOT_DEPLOYED,
1720
1746
  BNB: NOT_DEPLOYED,
1721
1747
  WorldChain: NOT_DEPLOYED,
1722
- Etherlink: NOT_DEPLOYED
1748
+ Etherlink: NOT_DEPLOYED,
1749
+ Hemi: NOT_DEPLOYED,
1750
+ Lisk: NOT_DEPLOYED
1723
1751
  }
1724
1752
  }
1725
1753
  ]
@@ -1744,7 +1772,9 @@ const contractParams = {
1744
1772
  Avalanche: NOT_DEPLOYED,
1745
1773
  BNB: NOT_DEPLOYED,
1746
1774
  WorldChain: NOT_DEPLOYED,
1747
- Etherlink: NOT_DEPLOYED
1775
+ Etherlink: NOT_DEPLOYED,
1776
+ Hemi: NOT_DEPLOYED,
1777
+ Lisk: NOT_DEPLOYED
1748
1778
  }
1749
1779
  }
1750
1780
  ]
@@ -1769,7 +1799,9 @@ const contractParams = {
1769
1799
  Avalanche: NOT_DEPLOYED,
1770
1800
  BNB: NOT_DEPLOYED,
1771
1801
  WorldChain: NOT_DEPLOYED,
1772
- Etherlink: NOT_DEPLOYED
1802
+ Etherlink: NOT_DEPLOYED,
1803
+ Hemi: NOT_DEPLOYED,
1804
+ Lisk: NOT_DEPLOYED
1773
1805
  }
1774
1806
  }
1775
1807
  ]
@@ -1794,7 +1826,9 @@ const contractParams = {
1794
1826
  Avalanche: NOT_DEPLOYED,
1795
1827
  BNB: NOT_DEPLOYED,
1796
1828
  WorldChain: NOT_DEPLOYED,
1797
- Etherlink: NOT_DEPLOYED
1829
+ Etherlink: NOT_DEPLOYED,
1830
+ Hemi: NOT_DEPLOYED,
1831
+ Lisk: NOT_DEPLOYED
1798
1832
  }
1799
1833
  }
1800
1834
  ]
@@ -1819,7 +1853,9 @@ const contractParams = {
1819
1853
  Avalanche: NOT_DEPLOYED,
1820
1854
  BNB: NOT_DEPLOYED,
1821
1855
  WorldChain: NOT_DEPLOYED,
1822
- Etherlink: NOT_DEPLOYED
1856
+ Etherlink: NOT_DEPLOYED,
1857
+ Hemi: NOT_DEPLOYED,
1858
+ Lisk: NOT_DEPLOYED
1823
1859
  }
1824
1860
  }
1825
1861
  ]
@@ -1861,7 +1897,9 @@ const contractParams = {
1861
1897
  Avalanche: NOT_DEPLOYED,
1862
1898
  BNB: NOT_DEPLOYED,
1863
1899
  WorldChain: NOT_DEPLOYED,
1864
- Etherlink: NOT_DEPLOYED
1900
+ Etherlink: NOT_DEPLOYED,
1901
+ Hemi: NOT_DEPLOYED,
1902
+ Lisk: NOT_DEPLOYED
1865
1903
  }
1866
1904
  }
1867
1905
  ]
@@ -1886,7 +1924,9 @@ const contractParams = {
1886
1924
  Avalanche: NOT_DEPLOYED,
1887
1925
  BNB: NOT_DEPLOYED,
1888
1926
  WorldChain: NOT_DEPLOYED,
1889
- Etherlink: NOT_DEPLOYED
1927
+ Etherlink: NOT_DEPLOYED,
1928
+ Hemi: NOT_DEPLOYED,
1929
+ Lisk: NOT_DEPLOYED
1890
1930
  }
1891
1931
  }
1892
1932
  ]
@@ -1911,7 +1951,9 @@ const contractParams = {
1911
1951
  Avalanche: NOT_DEPLOYED,
1912
1952
  BNB: NOT_DEPLOYED,
1913
1953
  WorldChain: NOT_DEPLOYED,
1914
- Etherlink: NOT_DEPLOYED
1954
+ Etherlink: NOT_DEPLOYED,
1955
+ Hemi: NOT_DEPLOYED,
1956
+ Lisk: NOT_DEPLOYED
1915
1957
  }
1916
1958
  },
1917
1959
  {
@@ -1928,7 +1970,9 @@ const contractParams = {
1928
1970
  Avalanche: NOT_DEPLOYED,
1929
1971
  BNB: NOT_DEPLOYED,
1930
1972
  WorldChain: NOT_DEPLOYED,
1931
- Etherlink: NOT_DEPLOYED
1973
+ Etherlink: NOT_DEPLOYED,
1974
+ Hemi: NOT_DEPLOYED,
1975
+ Lisk: NOT_DEPLOYED
1932
1976
  }
1933
1977
  }
1934
1978
  ]
@@ -1953,7 +1997,9 @@ const contractParams = {
1953
1997
  Avalanche: NOT_DEPLOYED,
1954
1998
  BNB: NOT_DEPLOYED,
1955
1999
  WorldChain: NOT_DEPLOYED,
1956
- Etherlink: NOT_DEPLOYED
2000
+ Etherlink: NOT_DEPLOYED,
2001
+ Hemi: NOT_DEPLOYED,
2002
+ Lisk: NOT_DEPLOYED
1957
2003
  }
1958
2004
  },
1959
2005
  {
@@ -1970,7 +2016,9 @@ const contractParams = {
1970
2016
  Avalanche: NOT_DEPLOYED,
1971
2017
  BNB: NOT_DEPLOYED,
1972
2018
  WorldChain: NOT_DEPLOYED,
1973
- Etherlink: NOT_DEPLOYED
2019
+ Etherlink: NOT_DEPLOYED,
2020
+ Hemi: NOT_DEPLOYED,
2021
+ Lisk: NOT_DEPLOYED
1974
2022
  }
1975
2023
  }
1976
2024
  ]
@@ -1995,7 +2043,9 @@ const contractParams = {
1995
2043
  Avalanche: NOT_DEPLOYED,
1996
2044
  BNB: NOT_DEPLOYED,
1997
2045
  WorldChain: NOT_DEPLOYED,
1998
- Etherlink: NOT_DEPLOYED
2046
+ Etherlink: NOT_DEPLOYED,
2047
+ Hemi: NOT_DEPLOYED,
2048
+ Lisk: NOT_DEPLOYED
1999
2049
  }
2000
2050
  },
2001
2051
  {
@@ -2012,7 +2062,9 @@ const contractParams = {
2012
2062
  Avalanche: NOT_DEPLOYED,
2013
2063
  BNB: NOT_DEPLOYED,
2014
2064
  WorldChain: NOT_DEPLOYED,
2015
- Etherlink: NOT_DEPLOYED
2065
+ Etherlink: NOT_DEPLOYED,
2066
+ Hemi: NOT_DEPLOYED,
2067
+ Lisk: NOT_DEPLOYED
2016
2068
  }
2017
2069
  }
2018
2070
  ]
@@ -2037,7 +2089,9 @@ const contractParams = {
2037
2089
  Avalanche: NOT_DEPLOYED,
2038
2090
  BNB: NOT_DEPLOYED,
2039
2091
  WorldChain: NOT_DEPLOYED,
2040
- Etherlink: NOT_DEPLOYED
2092
+ Etherlink: NOT_DEPLOYED,
2093
+ Hemi: NOT_DEPLOYED,
2094
+ Lisk: NOT_DEPLOYED
2041
2095
  }
2042
2096
  },
2043
2097
  {
@@ -2054,7 +2108,9 @@ const contractParams = {
2054
2108
  Avalanche: NOT_DEPLOYED,
2055
2109
  BNB: NOT_DEPLOYED,
2056
2110
  WorldChain: NOT_DEPLOYED,
2057
- Etherlink: NOT_DEPLOYED
2111
+ Etherlink: NOT_DEPLOYED,
2112
+ Hemi: NOT_DEPLOYED,
2113
+ Lisk: NOT_DEPLOYED
2058
2114
  }
2059
2115
  }
2060
2116
  ]
@@ -2079,7 +2135,9 @@ const contractParams = {
2079
2135
  Avalanche: NOT_DEPLOYED,
2080
2136
  BNB: NOT_DEPLOYED,
2081
2137
  WorldChain: NOT_DEPLOYED,
2082
- Etherlink: NOT_DEPLOYED
2138
+ Etherlink: NOT_DEPLOYED,
2139
+ Hemi: NOT_DEPLOYED,
2140
+ Lisk: NOT_DEPLOYED
2083
2141
  }
2084
2142
  },
2085
2143
  {
@@ -2096,7 +2154,9 @@ const contractParams = {
2096
2154
  Avalanche: NOT_DEPLOYED,
2097
2155
  BNB: NOT_DEPLOYED,
2098
2156
  WorldChain: NOT_DEPLOYED,
2099
- Etherlink: NOT_DEPLOYED
2157
+ Etherlink: NOT_DEPLOYED,
2158
+ Hemi: NOT_DEPLOYED,
2159
+ Lisk: NOT_DEPLOYED
2100
2160
  }
2101
2161
  }
2102
2162
  ]
@@ -2121,7 +2181,9 @@ const contractParams = {
2121
2181
  Avalanche: NOT_DEPLOYED,
2122
2182
  BNB: NOT_DEPLOYED,
2123
2183
  WorldChain: NOT_DEPLOYED,
2124
- Etherlink: NOT_DEPLOYED
2184
+ Etherlink: NOT_DEPLOYED,
2185
+ Hemi: NOT_DEPLOYED,
2186
+ Lisk: NOT_DEPLOYED
2125
2187
  }
2126
2188
  },
2127
2189
  {
@@ -2138,7 +2200,9 @@ const contractParams = {
2138
2200
  Avalanche: NOT_DEPLOYED,
2139
2201
  BNB: NOT_DEPLOYED,
2140
2202
  WorldChain: NOT_DEPLOYED,
2141
- Etherlink: NOT_DEPLOYED
2203
+ Etherlink: NOT_DEPLOYED,
2204
+ Hemi: NOT_DEPLOYED,
2205
+ Lisk: NOT_DEPLOYED
2142
2206
  }
2143
2207
  }
2144
2208
  ]
@@ -2163,7 +2227,9 @@ const contractParams = {
2163
2227
  Avalanche: NOT_DEPLOYED,
2164
2228
  BNB: NOT_DEPLOYED,
2165
2229
  WorldChain: NOT_DEPLOYED,
2166
- Etherlink: NOT_DEPLOYED
2230
+ Etherlink: NOT_DEPLOYED,
2231
+ Hemi: NOT_DEPLOYED,
2232
+ Lisk: NOT_DEPLOYED
2167
2233
  }
2168
2234
  },
2169
2235
  {
@@ -2180,7 +2246,9 @@ const contractParams = {
2180
2246
  Avalanche: NOT_DEPLOYED,
2181
2247
  BNB: NOT_DEPLOYED,
2182
2248
  WorldChain: NOT_DEPLOYED,
2183
- Etherlink: NOT_DEPLOYED
2249
+ Etherlink: NOT_DEPLOYED,
2250
+ Hemi: NOT_DEPLOYED,
2251
+ Lisk: NOT_DEPLOYED
2184
2252
  }
2185
2253
  }
2186
2254
  ]
@@ -2202,7 +2270,9 @@ const contractParams = {
2202
2270
  Avalanche: NOT_DEPLOYED,
2203
2271
  BNB: NOT_DEPLOYED,
2204
2272
  WorldChain: NOT_DEPLOYED,
2205
- Etherlink: NOT_DEPLOYED
2273
+ Etherlink: NOT_DEPLOYED,
2274
+ Hemi: NOT_DEPLOYED,
2275
+ Lisk: NOT_DEPLOYED
2206
2276
  },
2207
2277
  lpToken: "steCRV"
2208
2278
  },
@@ -2232,7 +2302,9 @@ const contractParams = {
2232
2302
  Avalanche: NOT_DEPLOYED,
2233
2303
  BNB: NOT_DEPLOYED,
2234
2304
  WorldChain: NOT_DEPLOYED,
2235
- Etherlink: NOT_DEPLOYED
2305
+ Etherlink: NOT_DEPLOYED,
2306
+ Hemi: NOT_DEPLOYED,
2307
+ Lisk: NOT_DEPLOYED
2236
2308
  }
2237
2309
  },
2238
2310
  BALANCER_V3_ROUTER: {
@@ -2251,7 +2323,9 @@ const contractParams = {
2251
2323
  Avalanche: NOT_DEPLOYED,
2252
2324
  BNB: NOT_DEPLOYED,
2253
2325
  WorldChain: NOT_DEPLOYED,
2254
- Etherlink: NOT_DEPLOYED
2326
+ Etherlink: NOT_DEPLOYED,
2327
+ Hemi: NOT_DEPLOYED,
2328
+ Lisk: NOT_DEPLOYED
2255
2329
  }
2256
2330
  },
2257
2331
  AAVE_V2_LENDING_POOL: {
@@ -531,7 +531,9 @@ const tokenDataByNetwork = {
531
531
  WETH: "0xfc24f770f94edbca6d6f885e12d4317320bcb401",
532
532
  WXTZ: "0xc9b53ab2679f573e480d01e0f49e2b5cfb7a3eab",
533
533
  mTBILL: "0xdd629e5241cbc5919847783e6c96b2de4754e438"
534
- }
534
+ },
535
+ Hemi: {},
536
+ Lisk: {}
535
537
  };
536
538
  const tickerInfoTokensByNetwork = {
537
539
  Mainnet: {
@@ -930,7 +932,9 @@ const tickerInfoTokensByNetwork = {
930
932
  Avalanche: {},
931
933
  BNB: {},
932
934
  WorldChain: {},
933
- Etherlink: {}
935
+ Etherlink: {},
936
+ Hemi: {},
937
+ Lisk: {}
934
938
  };
935
939
  const tokenSymbolByAddress = Object.entries(tokenDataByNetwork).reduce(
936
940
  (acc, [, tokens]) => ({
@@ -34,7 +34,9 @@ const connectors = {
34
34
  Avalanche: [],
35
35
  BNB: [],
36
36
  WorldChain: [],
37
- Etherlink: []
37
+ Etherlink: [],
38
+ Hemi: [],
39
+ Lisk: []
38
40
  };
39
41
  function getConnectors(networkType) {
40
42
  return connectors[networkType].map((e) => {