@gearbox-protocol/sdk 7.11.0-next.3 → 7.11.0
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/dist/cjs/adapters/AdaptersPlugin.js +3 -2
- package/dist/cjs/bots/BotsPlugin.js +17 -29
- package/dist/cjs/dev/AccountsCounterPlugin.js +10 -19
- package/dist/cjs/dev/createTransport.js +2 -1
- package/dist/cjs/sdk/GearboxSDK.js +3 -13
- package/dist/cjs/sdk/chain/chains.js +21 -10
- package/dist/cjs/sdk/constants/address-provider.js +2 -1
- package/dist/cjs/sdk/constants/addresses.js +8 -4
- package/dist/cjs/sdk/constants/networks.js +5 -2
- package/dist/cjs/sdk/plugins/V300StalenessPeriodPlugin.js +1 -3
- package/dist/cjs/sdk/router/RouterV300Contract.js +2 -1
- package/dist/cjs/sdk/sdk-gov-legacy/contracts/contracts.js +74 -37
- package/dist/cjs/sdk/sdk-gov-legacy/tokens/token.js +4 -2
- package/dist/cjs/sdk/sdk-gov-legacy/tokens/tokenData.js +2 -1
- package/dist/cjs/sdk/sdk-legacy/core/endpoint.js +2 -1
- package/dist/cjs/sdk/sdk-legacy/gearboxRewards/api.js +159 -94
- package/dist/cjs/sdk/sdk-legacy/gearboxRewards/apy.js +1 -1
- package/dist/cjs/sdk/sdk-legacy/index.js +2 -0
- package/dist/cjs/{pools7DAgo/types.js → sdk/sdk-legacy/pathfinder/core.js} +2 -2
- package/dist/cjs/{pools7DAgo → sdk/sdk-legacy/pathfinder}/index.js +4 -6
- package/dist/cjs/sdk/utils/viem/simulateWithPriceUpdates.js +1 -0
- package/dist/cjs/zappers/ZappersPlugin.js +4 -13
- package/dist/esm/adapters/AdaptersPlugin.js +3 -2
- package/dist/esm/bots/BotsPlugin.js +17 -29
- package/dist/esm/dev/AccountsCounterPlugin.js +10 -19
- package/dist/esm/dev/createTransport.js +2 -1
- package/dist/esm/sdk/GearboxSDK.js +3 -13
- package/dist/esm/sdk/chain/chains.js +22 -10
- package/dist/esm/sdk/constants/address-provider.js +2 -1
- package/dist/esm/sdk/constants/addresses.js +8 -4
- package/dist/esm/sdk/constants/networks.js +5 -2
- package/dist/esm/sdk/plugins/V300StalenessPeriodPlugin.js +1 -3
- package/dist/esm/sdk/router/RouterV300Contract.js +2 -1
- package/dist/esm/sdk/sdk-gov-legacy/contracts/contracts.js +74 -37
- package/dist/esm/sdk/sdk-gov-legacy/tokens/token.js +4 -2
- package/dist/esm/sdk/sdk-gov-legacy/tokens/tokenData.js +2 -1
- package/dist/esm/sdk/sdk-legacy/core/endpoint.js +2 -1
- package/dist/esm/sdk/sdk-legacy/gearboxRewards/api.js +159 -94
- package/dist/esm/sdk/sdk-legacy/gearboxRewards/apy.js +1 -1
- package/dist/esm/sdk/sdk-legacy/index.js +1 -0
- package/dist/esm/sdk/sdk-legacy/pathfinder/index.js +1 -0
- package/dist/esm/sdk/utils/viem/simulateWithPriceUpdates.js +1 -0
- package/dist/esm/zappers/ZappersPlugin.js +4 -13
- package/dist/types/adapters/AdaptersPlugin.d.ts +4 -5
- package/dist/types/bots/BotsPlugin.d.ts +3 -5
- package/dist/types/bots/types.d.ts +2 -2
- package/dist/types/dev/AccountsCounterPlugin.d.ts +2 -4
- package/dist/types/sdk/GearboxSDK.d.ts +3 -4
- package/dist/types/sdk/chain/chains.d.ts +2 -2
- package/dist/types/sdk/plugins/V300StalenessPeriodPlugin.d.ts +2 -3
- package/dist/types/sdk/plugins/types.d.ts +15 -33
- package/dist/types/sdk/sdk-legacy/gearboxRewards/api.d.ts +27 -16
- package/dist/types/sdk/sdk-legacy/gearboxRewards/apy.d.ts +15 -9
- package/dist/types/sdk/sdk-legacy/index.d.ts +1 -0
- package/dist/types/sdk/sdk-legacy/pathfinder/core.d.ts +14 -0
- package/dist/types/sdk/sdk-legacy/pathfinder/index.d.ts +1 -0
- package/dist/types/zappers/ZappersPlugin.d.ts +4 -5
- package/package.json +1 -1
- package/dist/cjs/degenDistributors/DegenDistributorsPlugin.js +0 -110
- package/dist/cjs/degenDistributors/index.js +0 -24
- package/dist/cjs/degenDistributors/package.json +0 -1
- package/dist/cjs/degenDistributors/types.js +0 -16
- package/dist/cjs/pools7DAgo/Pools7DAgoPlugin.js +0 -116
- package/dist/cjs/pools7DAgo/package.json +0 -1
- package/dist/esm/degenDistributors/DegenDistributorsPlugin.js +0 -86
- package/dist/esm/degenDistributors/index.js +0 -2
- package/dist/esm/degenDistributors/package.json +0 -1
- package/dist/esm/pools7DAgo/Pools7DAgoPlugin.js +0 -99
- package/dist/esm/pools7DAgo/index.js +0 -2
- package/dist/esm/pools7DAgo/package.json +0 -1
- package/dist/esm/pools7DAgo/types.js +0 -0
- package/dist/types/degenDistributors/DegenDistributorsPlugin.d.ts +0 -22
- package/dist/types/degenDistributors/index.d.ts +0 -2
- package/dist/types/degenDistributors/types.d.ts +0 -4
- package/dist/types/pools7DAgo/Pools7DAgoPlugin.d.ts +0 -22
- package/dist/types/pools7DAgo/index.d.ts +0 -2
- package/dist/types/pools7DAgo/types.d.ts +0 -9
- /package/dist/esm/{degenDistributors/types.js → sdk/sdk-legacy/pathfinder/core.js} +0 -0
|
@@ -832,7 +832,8 @@ const contractsByNetwork = {
|
|
|
832
832
|
Monad: {},
|
|
833
833
|
Berachain: {},
|
|
834
834
|
BNB: {},
|
|
835
|
-
WorldChain: {}
|
|
835
|
+
WorldChain: {},
|
|
836
|
+
Etherlink: {}
|
|
836
837
|
};
|
|
837
838
|
const UNISWAP_V3_QUOTER = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6";
|
|
838
839
|
const CAMELOT_V3_QUOTER = "0x0Fc73040b26E9bC8514fA028D998E73A254Fa76E";
|
|
@@ -941,7 +942,8 @@ const contractParams = {
|
|
|
941
942
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
942
943
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
943
944
|
BNB: import_constants.NOT_DEPLOYED,
|
|
944
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
945
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
946
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
945
947
|
},
|
|
946
948
|
tokens: ["WETH", "STETH"],
|
|
947
949
|
lpToken: "steCRV"
|
|
@@ -962,7 +964,8 @@ const contractParams = {
|
|
|
962
964
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
963
965
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
964
966
|
BNB: import_constants.NOT_DEPLOYED,
|
|
965
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
967
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
968
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
966
969
|
},
|
|
967
970
|
tokens: ["WETH", "wstETH"],
|
|
968
971
|
lpToken: "wstETHCRV"
|
|
@@ -983,7 +986,8 @@ const contractParams = {
|
|
|
983
986
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
984
987
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
985
988
|
BNB: import_constants.NOT_DEPLOYED,
|
|
986
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
989
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
990
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
987
991
|
},
|
|
988
992
|
tokens: ["GEAR", "WETH"],
|
|
989
993
|
lpToken: "GEAR"
|
|
@@ -1516,7 +1520,8 @@ const contractParams = {
|
|
|
1516
1520
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1517
1521
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1518
1522
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1519
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1523
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1524
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1520
1525
|
}
|
|
1521
1526
|
}
|
|
1522
1527
|
]
|
|
@@ -1541,7 +1546,8 @@ const contractParams = {
|
|
|
1541
1546
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1542
1547
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1543
1548
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1544
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1549
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1550
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1545
1551
|
}
|
|
1546
1552
|
}
|
|
1547
1553
|
]
|
|
@@ -1566,7 +1572,8 @@ const contractParams = {
|
|
|
1566
1572
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1567
1573
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1568
1574
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1569
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1575
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1576
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1570
1577
|
}
|
|
1571
1578
|
}
|
|
1572
1579
|
]
|
|
@@ -1591,7 +1598,8 @@ const contractParams = {
|
|
|
1591
1598
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1592
1599
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1593
1600
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1594
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1601
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1602
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1595
1603
|
}
|
|
1596
1604
|
}
|
|
1597
1605
|
]
|
|
@@ -1615,7 +1623,8 @@ const contractParams = {
|
|
|
1615
1623
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1616
1624
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1617
1625
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1618
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1626
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1627
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1619
1628
|
}
|
|
1620
1629
|
}
|
|
1621
1630
|
]
|
|
@@ -1639,7 +1648,8 @@ const contractParams = {
|
|
|
1639
1648
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1640
1649
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1641
1650
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1642
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1651
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1652
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1643
1653
|
}
|
|
1644
1654
|
}
|
|
1645
1655
|
]
|
|
@@ -1670,7 +1680,8 @@ const contractParams = {
|
|
|
1670
1680
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1671
1681
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1672
1682
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1673
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1683
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1684
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1674
1685
|
}
|
|
1675
1686
|
}
|
|
1676
1687
|
]
|
|
@@ -1694,7 +1705,8 @@ const contractParams = {
|
|
|
1694
1705
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1695
1706
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1696
1707
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1697
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1708
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1709
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1698
1710
|
}
|
|
1699
1711
|
}
|
|
1700
1712
|
]
|
|
@@ -1718,7 +1730,8 @@ const contractParams = {
|
|
|
1718
1730
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1719
1731
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1720
1732
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1721
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1733
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1734
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1722
1735
|
}
|
|
1723
1736
|
}
|
|
1724
1737
|
]
|
|
@@ -1742,7 +1755,8 @@ const contractParams = {
|
|
|
1742
1755
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1743
1756
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1744
1757
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1745
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1758
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1759
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1746
1760
|
}
|
|
1747
1761
|
}
|
|
1748
1762
|
]
|
|
@@ -1766,7 +1780,8 @@ const contractParams = {
|
|
|
1766
1780
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1767
1781
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1768
1782
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1769
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1783
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1784
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1770
1785
|
}
|
|
1771
1786
|
}
|
|
1772
1787
|
]
|
|
@@ -1790,7 +1805,8 @@ const contractParams = {
|
|
|
1790
1805
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1791
1806
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1792
1807
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1793
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1808
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1809
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1794
1810
|
}
|
|
1795
1811
|
}
|
|
1796
1812
|
]
|
|
@@ -1814,7 +1830,8 @@ const contractParams = {
|
|
|
1814
1830
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1815
1831
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1816
1832
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1817
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1833
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1834
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1818
1835
|
}
|
|
1819
1836
|
}
|
|
1820
1837
|
]
|
|
@@ -1838,7 +1855,8 @@ const contractParams = {
|
|
|
1838
1855
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1839
1856
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1840
1857
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1841
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1858
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1859
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1842
1860
|
}
|
|
1843
1861
|
}
|
|
1844
1862
|
]
|
|
@@ -1879,7 +1897,8 @@ const contractParams = {
|
|
|
1879
1897
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1880
1898
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1881
1899
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1882
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1900
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1901
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1883
1902
|
}
|
|
1884
1903
|
}
|
|
1885
1904
|
]
|
|
@@ -1903,7 +1922,8 @@ const contractParams = {
|
|
|
1903
1922
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1904
1923
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1905
1924
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1906
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1925
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1926
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1907
1927
|
}
|
|
1908
1928
|
}
|
|
1909
1929
|
]
|
|
@@ -1927,7 +1947,8 @@ const contractParams = {
|
|
|
1927
1947
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1928
1948
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1929
1949
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1930
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1950
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1951
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1931
1952
|
}
|
|
1932
1953
|
},
|
|
1933
1954
|
{
|
|
@@ -1943,7 +1964,8 @@ const contractParams = {
|
|
|
1943
1964
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1944
1965
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1945
1966
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1946
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1967
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1968
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1947
1969
|
}
|
|
1948
1970
|
}
|
|
1949
1971
|
]
|
|
@@ -1967,7 +1989,8 @@ const contractParams = {
|
|
|
1967
1989
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1968
1990
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1969
1991
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1970
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
1992
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
1993
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1971
1994
|
}
|
|
1972
1995
|
},
|
|
1973
1996
|
{
|
|
@@ -1983,7 +2006,8 @@ const contractParams = {
|
|
|
1983
2006
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
1984
2007
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
1985
2008
|
BNB: import_constants.NOT_DEPLOYED,
|
|
1986
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2009
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2010
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
1987
2011
|
}
|
|
1988
2012
|
}
|
|
1989
2013
|
]
|
|
@@ -2007,7 +2031,8 @@ const contractParams = {
|
|
|
2007
2031
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2008
2032
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2009
2033
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2010
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2034
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2035
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2011
2036
|
}
|
|
2012
2037
|
},
|
|
2013
2038
|
{
|
|
@@ -2023,7 +2048,8 @@ const contractParams = {
|
|
|
2023
2048
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2024
2049
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2025
2050
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2026
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2051
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2052
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2027
2053
|
}
|
|
2028
2054
|
}
|
|
2029
2055
|
]
|
|
@@ -2047,7 +2073,8 @@ const contractParams = {
|
|
|
2047
2073
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2048
2074
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2049
2075
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2050
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2076
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2077
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2051
2078
|
}
|
|
2052
2079
|
},
|
|
2053
2080
|
{
|
|
@@ -2063,7 +2090,8 @@ const contractParams = {
|
|
|
2063
2090
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2064
2091
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2065
2092
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2066
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2093
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2094
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2067
2095
|
}
|
|
2068
2096
|
}
|
|
2069
2097
|
]
|
|
@@ -2087,7 +2115,8 @@ const contractParams = {
|
|
|
2087
2115
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2088
2116
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2089
2117
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2090
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2118
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2119
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2091
2120
|
}
|
|
2092
2121
|
},
|
|
2093
2122
|
{
|
|
@@ -2103,7 +2132,8 @@ const contractParams = {
|
|
|
2103
2132
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2104
2133
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2105
2134
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2106
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2135
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2136
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2107
2137
|
}
|
|
2108
2138
|
}
|
|
2109
2139
|
]
|
|
@@ -2127,7 +2157,8 @@ const contractParams = {
|
|
|
2127
2157
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2128
2158
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2129
2159
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2130
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2160
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2161
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2131
2162
|
}
|
|
2132
2163
|
},
|
|
2133
2164
|
{
|
|
@@ -2143,7 +2174,8 @@ const contractParams = {
|
|
|
2143
2174
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2144
2175
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2145
2176
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2146
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2177
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2178
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2147
2179
|
}
|
|
2148
2180
|
}
|
|
2149
2181
|
]
|
|
@@ -2167,7 +2199,8 @@ const contractParams = {
|
|
|
2167
2199
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2168
2200
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2169
2201
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2170
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2202
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2203
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2171
2204
|
}
|
|
2172
2205
|
},
|
|
2173
2206
|
{
|
|
@@ -2183,7 +2216,8 @@ const contractParams = {
|
|
|
2183
2216
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2184
2217
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2185
2218
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2186
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2219
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2220
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2187
2221
|
}
|
|
2188
2222
|
}
|
|
2189
2223
|
]
|
|
@@ -2204,7 +2238,8 @@ const contractParams = {
|
|
|
2204
2238
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2205
2239
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2206
2240
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2207
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2241
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2242
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2208
2243
|
},
|
|
2209
2244
|
lpToken: "steCRV"
|
|
2210
2245
|
},
|
|
@@ -2233,7 +2268,8 @@ const contractParams = {
|
|
|
2233
2268
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2234
2269
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2235
2270
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2236
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2271
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2272
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2237
2273
|
}
|
|
2238
2274
|
},
|
|
2239
2275
|
BALANCER_V3_ROUTER: {
|
|
@@ -2251,7 +2287,8 @@ const contractParams = {
|
|
|
2251
2287
|
Berachain: import_constants.NOT_DEPLOYED,
|
|
2252
2288
|
Avalanche: import_constants.NOT_DEPLOYED,
|
|
2253
2289
|
BNB: import_constants.NOT_DEPLOYED,
|
|
2254
|
-
WorldChain: import_constants.NOT_DEPLOYED
|
|
2290
|
+
WorldChain: import_constants.NOT_DEPLOYED,
|
|
2291
|
+
Etherlink: import_constants.NOT_DEPLOYED
|
|
2255
2292
|
}
|
|
2256
2293
|
},
|
|
2257
2294
|
AAVE_V2_LENDING_POOL: {
|
|
@@ -1629,7 +1629,8 @@ const tokenDataByNetwork = {
|
|
|
1629
1629
|
dWBNBv3: "0xef7d781825350d2bacb64ef7be927fd400dcdf4f",
|
|
1630
1630
|
ynBNBx: "0x32c830f5c34122c6afb8ae87aba541b7900a2c5f"
|
|
1631
1631
|
},
|
|
1632
|
-
WorldChain: {}
|
|
1632
|
+
WorldChain: {},
|
|
1633
|
+
Etherlink: {}
|
|
1633
1634
|
};
|
|
1634
1635
|
const tickerInfoTokensByNetwork = {
|
|
1635
1636
|
Mainnet: {
|
|
@@ -2027,7 +2028,8 @@ const tickerInfoTokensByNetwork = {
|
|
|
2027
2028
|
Berachain: {},
|
|
2028
2029
|
Avalanche: {},
|
|
2029
2030
|
BNB: {},
|
|
2030
|
-
WorldChain: {}
|
|
2031
|
+
WorldChain: {},
|
|
2032
|
+
Etherlink: {}
|
|
2031
2033
|
};
|
|
2032
2034
|
const tokenSymbolByAddress = Object.entries(tokenDataByNetwork).reduce(
|
|
2033
2035
|
(acc, [, tokens]) => ({
|
|
@@ -41,7 +41,8 @@ const TESTNET_CHAINS = {
|
|
|
41
41
|
Berachain: 7885,
|
|
42
42
|
Avalanche: 7886,
|
|
43
43
|
BNB: 7887,
|
|
44
|
-
WorldChain: 7889
|
|
44
|
+
WorldChain: 7889,
|
|
45
|
+
Etherlink: 7890
|
|
45
46
|
};
|
|
46
47
|
const CHAINS_BY_ID = import_mappers.TypedObjectUtils.swapKeyValue(TESTNET_CHAINS);
|
|
47
48
|
const MAINNET_BY_TESTNET_ID = import_mappers.TypedObjectUtils.entries(TESTNET_CHAINS).reduce((acc, [n, testnetId]) => {
|