@curvefi/api 1.24.5 → 1.25.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.
@@ -10,6 +10,7 @@ var gauge_synthetix_json_1 = __importDefault(require("./json/gauge_synthetix.jso
10
10
  var gauge_v2_json_1 = __importDefault(require("./json/gauge_v2.json"));
11
11
  var gauge_v3_json_1 = __importDefault(require("./json/gauge_v3.json"));
12
12
  var gauge_v4_json_1 = __importDefault(require("./json/gauge_v4.json"));
13
+ var gauge_v5_json_1 = __importDefault(require("./json/gauge_v5.json"));
13
14
  var gauge_factory_json_1 = __importDefault(require("./json/gauge_factory.json"));
14
15
  var deposit_json_1 = __importDefault(require("./json/compound/deposit.json"));
15
16
  var migration_json_1 = __importDefault(require("./json/compound/migration.json"));
@@ -88,7 +89,12 @@ var deposit_json_21 = __importDefault(require("./json/tricrypto2/deposit.json"))
88
89
  var swap_json_35 = __importDefault(require("./json/eurt/swap.json"));
89
90
  var swap_json_36 = __importDefault(require("./json/eurtusd/swap.json"));
90
91
  var deposit_json_22 = __importDefault(require("./json/eurtusd/deposit.json"));
91
- var swap_json_37 = __importDefault(require("./json/crveth/swap.json"));
92
+ var swap_json_37 = __importDefault(require("./json/eursusd/swap.json"));
93
+ var swap_json_38 = __importDefault(require("./json/crveth/swap.json"));
94
+ var swap_json_39 = __importDefault(require("./json/rai/swap.json"));
95
+ var deposit_json_23 = __importDefault(require("./json/rai/deposit.json"));
96
+ var swap_json_40 = __importDefault(require("./json/2pool/swap.json"));
97
+ var swap_json_41 = __importDefault(require("./json/4pool/swap.json"));
92
98
  exports.POOLS_DATA_ETHEREUM = {
93
99
  compound: {
94
100
  name: "compound",
@@ -1722,12 +1728,40 @@ exports.POOLS_DATA_ETHEREUM = {
1722
1728
  ],
1723
1729
  gauge_abi: gauge_v4_json_1.default,
1724
1730
  },
1731
+ eursusd: {
1732
+ name: "eursusd",
1733
+ full_name: "eursusd",
1734
+ symbol: "eursusd",
1735
+ reference_asset: 'CRYPTO',
1736
+ swap_abi: swap_json_37.default,
1737
+ N_COINS: 2,
1738
+ is_crypto: true,
1739
+ underlying_decimals: [6, 2],
1740
+ decimals: [6, 2],
1741
+ tethered: [false, false],
1742
+ use_lending: [false, false],
1743
+ is_plain: [true, true],
1744
+ underlying_coins: ['USDC', 'EURS'],
1745
+ coins: ['USDC', 'EURS'],
1746
+ swap_address: '0x98a7F18d4E56Cfe84E3D081B40001B3d5bD3eB8B',
1747
+ token_address: '0x3D229E1B4faab62F621eF2F6A610961f7BD7b23B',
1748
+ gauge_address: '0x65CA7Dc5CB661fC58De57B1E1aF404649a27AD35',
1749
+ underlying_coin_addresses: [
1750
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
1751
+ '0xdB25f211AB05b1c97D595516F45794528a807ad8',
1752
+ ],
1753
+ coin_addresses: [
1754
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
1755
+ '0xdB25f211AB05b1c97D595516F45794528a807ad8',
1756
+ ],
1757
+ gauge_abi: gauge_v4_json_1.default,
1758
+ },
1725
1759
  crveth: {
1726
1760
  name: "crveth",
1727
1761
  full_name: "crveth",
1728
1762
  symbol: "crveth",
1729
1763
  reference_asset: 'CRYPTO',
1730
- swap_abi: swap_json_37.default,
1764
+ swap_abi: swap_json_38.default,
1731
1765
  N_COINS: 2,
1732
1766
  is_crypto: true,
1733
1767
  underlying_decimals: [18, 18],
@@ -1750,12 +1784,60 @@ exports.POOLS_DATA_ETHEREUM = {
1750
1784
  ],
1751
1785
  gauge_abi: gauge_v4_json_1.default,
1752
1786
  },
1787
+ rai: {
1788
+ name: "rai",
1789
+ full_name: "rai",
1790
+ symbol: "rai",
1791
+ reference_asset: 'USD',
1792
+ N_COINS: 2,
1793
+ underlying_decimals: [18, 18],
1794
+ decimals: [18, 18],
1795
+ tethered: [false, false],
1796
+ use_lending: [false, false],
1797
+ is_plain: [true, true],
1798
+ swap_address: '0x618788357D0EBd8A37e763ADab3bc575D54c2C7d',
1799
+ token_address: '0x6BA5b4e438FA0aAf7C1bD179285aF65d13bD3D90',
1800
+ gauge_address: '0x66ec719045bBD62db5eBB11184c18237D3Cc2E62',
1801
+ underlying_coins: ['RAI', 'DAI', 'USDC', 'USDT'],
1802
+ coins: ['RAI', '3Crv'],
1803
+ underlying_coin_addresses: [
1804
+ '0x03ab458634910aad20ef5f1c8ee96f1d6ac54919',
1805
+ '0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490',
1806
+ ],
1807
+ coin_addresses: [
1808
+ '0x03ab458634910aad20ef5f1c8ee96f1d6ac54919',
1809
+ '0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490',
1810
+ ],
1811
+ deposit_address: '0xcB636B81743Bb8a7F1E355DEBb7D33b07009cCCC',
1812
+ is_meta: true,
1813
+ base_pool: '3pool',
1814
+ meta_N: 5,
1815
+ meta_decimals: [18, 18, 18, 6, 6],
1816
+ meta_coin_decimals: [18, 18, 6, 6],
1817
+ meta_wrapped_decimals: [18, 18],
1818
+ meta_coin_addresses: [
1819
+ '0x6B175474E89094C44Da98b954EedeAC495271d0F',
1820
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
1821
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
1822
+ ],
1823
+ all_coin_addresses: [
1824
+ '0x03ab458634910aad20ef5f1c8ee96f1d6ac54919',
1825
+ '0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490',
1826
+ '0x6B175474E89094C44Da98b954EedeAC495271d0F',
1827
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
1828
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
1829
+ ],
1830
+ is_factory: false,
1831
+ deposit_abi: deposit_json_23.default,
1832
+ swap_abi: swap_json_39.default,
1833
+ gauge_abi: gauge_v4_json_1.default,
1834
+ },
1753
1835
  cvxeth: {
1754
1836
  name: "cvxeth",
1755
1837
  full_name: "cvxeth",
1756
1838
  symbol: "cvxeth",
1757
1839
  reference_asset: 'CRYPTO',
1758
- swap_abi: swap_json_37.default,
1840
+ swap_abi: swap_json_38.default,
1759
1841
  N_COINS: 2,
1760
1842
  is_crypto: true,
1761
1843
  underlying_decimals: [18, 18],
@@ -1851,7 +1933,7 @@ exports.POOLS_DATA_ETHEREUM = {
1851
1933
  '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
1852
1934
  '0x090185f2135308bad17527004364ebcc2d37e5f6',
1853
1935
  ],
1854
- swap_abi: swap_json_37.default,
1936
+ swap_abi: swap_json_38.default,
1855
1937
  gauge_abi: gauge_v4_json_1.default,
1856
1938
  },
1857
1939
  teth: {
@@ -1879,7 +1961,65 @@ exports.POOLS_DATA_ETHEREUM = {
1879
1961
  '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
1880
1962
  '0xCdF7028ceAB81fA0C6971208e83fa7872994beE5',
1881
1963
  ],
1882
- swap_abi: swap_json_37.default,
1964
+ swap_abi: swap_json_38.default,
1883
1965
  gauge_abi: gauge_v4_json_1.default,
1884
1966
  },
1967
+ '2pool': {
1968
+ name: "2pool",
1969
+ full_name: "2pool",
1970
+ symbol: "2pool",
1971
+ reference_asset: 'USD',
1972
+ N_COINS: 2,
1973
+ underlying_decimals: [6, 6],
1974
+ decimals: [6, 6],
1975
+ tethered: [false, true],
1976
+ use_lending: [false, false],
1977
+ is_plain: [true, true],
1978
+ swap_address: '0x1005f7406f32a61bd760cfa14accd2737913d546',
1979
+ token_address: '0x1005f7406f32a61bd760cfa14accd2737913d546',
1980
+ gauge_address: '0x9f330db38caaae5b61b410e2f0aad63fff2109d8',
1981
+ underlying_coins: ['USDC', 'USDT'],
1982
+ coins: ['USDC', 'USDT'],
1983
+ underlying_coin_addresses: [
1984
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
1985
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
1986
+ ],
1987
+ coin_addresses: [
1988
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
1989
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
1990
+ ],
1991
+ swap_abi: swap_json_40.default,
1992
+ gauge_abi: gauge_v5_json_1.default,
1993
+ },
1994
+ '4pool': {
1995
+ name: "4pool",
1996
+ full_name: "4pool",
1997
+ symbol: "4pool",
1998
+ reference_asset: 'USD',
1999
+ N_COINS: 4,
2000
+ underlying_decimals: [6, 6, 6, 18],
2001
+ decimals: [6, 6, 6, 18],
2002
+ tethered: [false, true, false, false],
2003
+ use_lending: [false, false, false, false],
2004
+ is_plain: [true, true, true, true],
2005
+ swap_address: '0x4e0915C88bC70750D68C481540F081fEFaF22273',
2006
+ token_address: '0x4e0915C88bC70750D68C481540F081fEFaF22273',
2007
+ gauge_address: '0x34883134a39b206a451c2d3b0e7cac44be4d9181',
2008
+ underlying_coins: ['USDC', 'USDT', 'UST', 'FRAX'],
2009
+ coins: ['USDC', 'USDT', 'UST', 'FRAX'],
2010
+ underlying_coin_addresses: [
2011
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
2012
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
2013
+ '0xa693B19d2931d498c5B318dF961919BB4aee87a5',
2014
+ '0x853d955acef822db058eb8505911ed77f175b99e',
2015
+ ],
2016
+ coin_addresses: [
2017
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
2018
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
2019
+ '0xa693B19d2931d498c5B318dF961919BB4aee87a5',
2020
+ '0x853d955acef822db058eb8505911ed77f175b99e',
2021
+ ],
2022
+ swap_abi: swap_json_41.default,
2023
+ gauge_abi: gauge_v5_json_1.default,
2024
+ },
1885
2025
  };