@snapshot-labs/snapshot.js 0.3.43 → 0.3.47

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/index.d.ts CHANGED
@@ -334,6 +334,7 @@ declare const _default: {
334
334
  97: string;
335
335
  100: string;
336
336
  137: string;
337
+ 250: string;
337
338
  };
338
339
  };
339
340
  };
@@ -1220,10 +1220,10 @@ var networks = {
1220
1220
  network: "mainnet",
1221
1221
  multicall: "0x1ee38d535d541c55c9dae27b12edf090c608e6fb",
1222
1222
  rpc: [
1223
+ "https://bsc-private-dataseed1.nariox.org",
1223
1224
  "https://apis.ankr.com/c0d871dd3c6d4529b01c9362a9b79e89/6106d4a3ec1d1bcc87ec72158f8fd089/binance/archive/main",
1224
1225
  "https://speedy-nodes-nyc.moralis.io/b9aed21e7bb7bdeb35972c9a/bsc/mainnet/archive",
1225
1226
  "https://bsc.getblock.io/mainnet/?api_key=91f8195f-bf46-488f-846a-73d6853790e7",
1226
- "https://bsc-private-dataseed1.nariox.org",
1227
1227
  "https://bsc-private-dataseed2.nariox.org",
1228
1228
  "https://bsc-dataseed1.ninicoin.io",
1229
1229
  "https://bsc-dataseed1.binance.org",
@@ -1785,6 +1785,21 @@ var networks = {
1785
1785
  explorer: "https://explorer.testnet.nahmii.io",
1786
1786
  start: 53370,
1787
1787
  imageIPFS: "QmPXPCBho3kGLt5rhG9JGkKmzdtLvqZmJqGzzijVCuggWY"
1788
+ },
1789
+ "7341": {
1790
+ key: "7341",
1791
+ name: "Shyft",
1792
+ shortName: "Shyft",
1793
+ chainId: 7341,
1794
+ network: "mainnet",
1795
+ testnet: false,
1796
+ multicall: "0xceb10e9133D771cA93c8002Be527A465E85381a2",
1797
+ rpc: [
1798
+ "https://rpc.shyft.network"
1799
+ ],
1800
+ explorer: "https://bx.shyft.network",
1801
+ start: 3673983,
1802
+ imageIPFS: "QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi"
1788
1803
  },
1789
1804
  "10000": {
1790
1805
  key: "10000",
@@ -1798,6 +1813,21 @@ var networks = {
1798
1813
  ],
1799
1814
  explorer: "https://www.smartscan.cash",
1800
1815
  imageIPFS: "QmWG1p7om4hZ4Yi4uQvDpxg4si7qVYhtppGbcDGrhVFvMd"
1816
+ },
1817
+ "11437": {
1818
+ key: "11437",
1819
+ name: "Shyft Testnet",
1820
+ shortName: "Shyft_",
1821
+ chainId: 11437,
1822
+ network: "testnet",
1823
+ testnet: true,
1824
+ multicall: "0x407159bAA564dA0c3b14D1215d8E2654cEEE73F4",
1825
+ rpc: [
1826
+ "https://rpc.testnet.shyft.network"
1827
+ ],
1828
+ explorer: "https://bx.testnet.shyft.network",
1829
+ start: 2446296,
1830
+ imageIPFS: "QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi"
1801
1831
  },
1802
1832
  "32659": {
1803
1833
  key: "32659",
@@ -1835,6 +1865,7 @@ var networks = {
1835
1865
  network: "mainnet",
1836
1866
  multicall: "0xb8d0d2C1391eeB350d2Cd39EfABBaaEC297368D9",
1837
1867
  rpc: [
1868
+ "https://celo.snapshot.org",
1838
1869
  "https://forno.celo.org",
1839
1870
  "https://celo-mainnet--rpc.datahub.figment.io/apikey/e892a66dc36e4d2d98a5d6406d609796/"
1840
1871
  ],
@@ -2533,7 +2564,8 @@ var SNAPSHOT_SUBGRAPH_URL = {
2533
2564
  '42': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-kovan',
2534
2565
  '97': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain',
2535
2566
  '100': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain',
2536
- '137': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon'
2567
+ '137': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon',
2568
+ '250': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom'
2537
2569
  };
2538
2570
  var ENS_RESOLVER_ABI = [
2539
2571
  'function text(bytes32 node, string calldata key) external view returns (string memory)'
@@ -1211,10 +1211,10 @@ var networks = {
1211
1211
  network: "mainnet",
1212
1212
  multicall: "0x1ee38d535d541c55c9dae27b12edf090c608e6fb",
1213
1213
  rpc: [
1214
+ "https://bsc-private-dataseed1.nariox.org",
1214
1215
  "https://apis.ankr.com/c0d871dd3c6d4529b01c9362a9b79e89/6106d4a3ec1d1bcc87ec72158f8fd089/binance/archive/main",
1215
1216
  "https://speedy-nodes-nyc.moralis.io/b9aed21e7bb7bdeb35972c9a/bsc/mainnet/archive",
1216
1217
  "https://bsc.getblock.io/mainnet/?api_key=91f8195f-bf46-488f-846a-73d6853790e7",
1217
- "https://bsc-private-dataseed1.nariox.org",
1218
1218
  "https://bsc-private-dataseed2.nariox.org",
1219
1219
  "https://bsc-dataseed1.ninicoin.io",
1220
1220
  "https://bsc-dataseed1.binance.org",
@@ -1776,6 +1776,21 @@ var networks = {
1776
1776
  explorer: "https://explorer.testnet.nahmii.io",
1777
1777
  start: 53370,
1778
1778
  imageIPFS: "QmPXPCBho3kGLt5rhG9JGkKmzdtLvqZmJqGzzijVCuggWY"
1779
+ },
1780
+ "7341": {
1781
+ key: "7341",
1782
+ name: "Shyft",
1783
+ shortName: "Shyft",
1784
+ chainId: 7341,
1785
+ network: "mainnet",
1786
+ testnet: false,
1787
+ multicall: "0xceb10e9133D771cA93c8002Be527A465E85381a2",
1788
+ rpc: [
1789
+ "https://rpc.shyft.network"
1790
+ ],
1791
+ explorer: "https://bx.shyft.network",
1792
+ start: 3673983,
1793
+ imageIPFS: "QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi"
1779
1794
  },
1780
1795
  "10000": {
1781
1796
  key: "10000",
@@ -1789,6 +1804,21 @@ var networks = {
1789
1804
  ],
1790
1805
  explorer: "https://www.smartscan.cash",
1791
1806
  imageIPFS: "QmWG1p7om4hZ4Yi4uQvDpxg4si7qVYhtppGbcDGrhVFvMd"
1807
+ },
1808
+ "11437": {
1809
+ key: "11437",
1810
+ name: "Shyft Testnet",
1811
+ shortName: "Shyft_",
1812
+ chainId: 11437,
1813
+ network: "testnet",
1814
+ testnet: true,
1815
+ multicall: "0x407159bAA564dA0c3b14D1215d8E2654cEEE73F4",
1816
+ rpc: [
1817
+ "https://rpc.testnet.shyft.network"
1818
+ ],
1819
+ explorer: "https://bx.testnet.shyft.network",
1820
+ start: 2446296,
1821
+ imageIPFS: "QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi"
1792
1822
  },
1793
1823
  "32659": {
1794
1824
  key: "32659",
@@ -1826,6 +1856,7 @@ var networks = {
1826
1856
  network: "mainnet",
1827
1857
  multicall: "0xb8d0d2C1391eeB350d2Cd39EfABBaaEC297368D9",
1828
1858
  rpc: [
1859
+ "https://celo.snapshot.org",
1829
1860
  "https://forno.celo.org",
1830
1861
  "https://celo-mainnet--rpc.datahub.figment.io/apikey/e892a66dc36e4d2d98a5d6406d609796/"
1831
1862
  ],
@@ -2524,7 +2555,8 @@ var SNAPSHOT_SUBGRAPH_URL = {
2524
2555
  '42': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-kovan',
2525
2556
  '97': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain',
2526
2557
  '100': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain',
2527
- '137': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon'
2558
+ '137': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon',
2559
+ '250': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom'
2528
2560
  };
2529
2561
  var ENS_RESOLVER_ABI = [
2530
2562
  'function text(bytes32 node, string calldata key) external view returns (string memory)'