@snapshot-labs/snapshot.js 0.3.54 → 0.3.57-beta1

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/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
@@ -631,7 +631,7 @@ var definitions = {
631
631
  website: {
632
632
  type: "string",
633
633
  title: "website",
634
- format: "uri",
634
+ format: "url",
635
635
  maxLength: 128
636
636
  },
637
637
  twitter: {
@@ -1200,18 +1200,35 @@ var networks = {
1200
1200
  },
1201
1201
  "50": {
1202
1202
  key: "50",
1203
- name: "XinFin MainNet",
1203
+ name: "XDC.Network",
1204
1204
  shortName: "XDC",
1205
1205
  chainId: 50,
1206
1206
  network: "mainnet",
1207
- multicall: "",
1207
+ multicall: "0xc8160deb19559d93eadb82798ededce696ebcaf5",
1208
1208
  rpc: [
1209
+ "https://snapshotrpc.blocksscan.io/",
1209
1210
  "https://rpc.xinfin.network"
1210
1211
  ],
1211
1212
  ws: [
1212
- "wss://ws.xinfin.network"
1213
+ "wss://ws.blocksscan.io"
1214
+ ],
1215
+ explorer: "http://xdc.blocksscan.io",
1216
+ imageIPFS: "QmaX3pqjWGg97bR6jjxvTopRkJVxrvwp6VB4jf1Lknq111"
1217
+ },
1218
+ "51": {
1219
+ key: "51",
1220
+ name: "XDC Apothem.network",
1221
+ shortName: "XDC",
1222
+ chainId: 51,
1223
+ network: "testnet",
1224
+ multicall: "0x3b353b02a8b42ee4222ea4be0836629b1f40c8db",
1225
+ rpc: [
1226
+ "https://apothemrpc.blocksscan.io"
1227
+ ],
1228
+ ws: [
1229
+ "wss://apothemws.blocksscan.io"
1213
1230
  ],
1214
- explorer: "http://explorer.xinfin.network",
1231
+ explorer: "http://apothem.blocksscan.io",
1215
1232
  imageIPFS: "QmaX3pqjWGg97bR6jjxvTopRkJVxrvwp6VB4jf1Lknq111"
1216
1233
  },
1217
1234
  "56": {
@@ -1410,7 +1427,8 @@ var networks = {
1410
1427
  multicall: "0xb5b692a88bdfc81ca69dcb1d924f59f0413a602a",
1411
1428
  rpc: [
1412
1429
  "https://xdai-archive.blockscout.com",
1413
- "https://poa-xdai.gateway.pokt.network/v1/5f76124fb90218002e9ce985"
1430
+ "https://poa-xdai.gateway.pokt.network/v1/5f76124fb90218002e9ce985",
1431
+ "https://rpc.gnosischain.com"
1414
1432
  ],
1415
1433
  ws: [
1416
1434
  "wss://rpc.xdaichain.com/wss"
@@ -1865,6 +1883,21 @@ var networks = {
1865
1883
  explorer: "https://bx.testnet.shyft.network",
1866
1884
  start: 2446296,
1867
1885
  imageIPFS: "QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi"
1886
+ },
1887
+ "12357": {
1888
+ key: "12357",
1889
+ name: "REI Testnet",
1890
+ shortName: "REI",
1891
+ chainId: 12357,
1892
+ network: "testnet",
1893
+ testnet: true,
1894
+ multicall: "0x9eE9904815B80C39C1a27294E69a8626EAa7952d",
1895
+ rpc: [
1896
+ "https://rpc-testnet.rei.network"
1897
+ ],
1898
+ explorer: "https://scan-test.rei.network/",
1899
+ start: 79516,
1900
+ imageIPFS: "QmTogMDLmDgJjDjUKDHDuc2KVTVDbXf8bXJLFiVe8PRxgo"
1868
1901
  },
1869
1902
  "32659": {
1870
1903
  key: "32659",
@@ -1938,6 +1971,19 @@ var networks = {
1938
1971
  explorer: "https://snowtrace.io",
1939
1972
  start: 536483,
1940
1973
  imageIPFS: "QmeS75uS7XLR8o8uUzhLRVYPX9vMFf4DXgKxQeCzyy7vM2"
1974
+ },
1975
+ "47805": {
1976
+ key: "47805",
1977
+ name: "REI Mainnet",
1978
+ chainId: 47805,
1979
+ network: "mainnet",
1980
+ multicall: "0x9eE9904815B80C39C1a27294E69a8626EAa7952d",
1981
+ rpc: [
1982
+ "https://rpc.rei.network"
1983
+ ],
1984
+ explorer: "https://scan.rei.network/",
1985
+ start: 1715902,
1986
+ imageIPFS: "QmTogMDLmDgJjDjUKDHDuc2KVTVDbXf8bXJLFiVe8PRxgo"
1941
1987
  },
1942
1988
  "80001": {
1943
1989
  key: "80001",
@@ -2596,7 +2642,7 @@ var voting = {
2596
2642
  };
2597
2643
 
2598
2644
  var SNAPSHOT_SUBGRAPH_URL = {
2599
- '1': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot',
2645
+ '1': 'https://gateway.thegraph.com/api/3Q4vnuSqemXnSNHoiLD7wdBbGCXszUYnUbTz191kDMNn/subgraphs/id/3Q4vnuSqemXnSNHoiLD7wdBbGCXszUYnUbTz191kDMNn',
2600
2646
  '4': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-rinkeby',
2601
2647
  '42': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-kovan',
2602
2648
  '97': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain',
@@ -622,7 +622,7 @@ var definitions = {
622
622
  website: {
623
623
  type: "string",
624
624
  title: "website",
625
- format: "uri",
625
+ format: "url",
626
626
  maxLength: 128
627
627
  },
628
628
  twitter: {
@@ -1191,18 +1191,35 @@ var networks = {
1191
1191
  },
1192
1192
  "50": {
1193
1193
  key: "50",
1194
- name: "XinFin MainNet",
1194
+ name: "XDC.Network",
1195
1195
  shortName: "XDC",
1196
1196
  chainId: 50,
1197
1197
  network: "mainnet",
1198
- multicall: "",
1198
+ multicall: "0xc8160deb19559d93eadb82798ededce696ebcaf5",
1199
1199
  rpc: [
1200
+ "https://snapshotrpc.blocksscan.io/",
1200
1201
  "https://rpc.xinfin.network"
1201
1202
  ],
1202
1203
  ws: [
1203
- "wss://ws.xinfin.network"
1204
+ "wss://ws.blocksscan.io"
1205
+ ],
1206
+ explorer: "http://xdc.blocksscan.io",
1207
+ imageIPFS: "QmaX3pqjWGg97bR6jjxvTopRkJVxrvwp6VB4jf1Lknq111"
1208
+ },
1209
+ "51": {
1210
+ key: "51",
1211
+ name: "XDC Apothem.network",
1212
+ shortName: "XDC",
1213
+ chainId: 51,
1214
+ network: "testnet",
1215
+ multicall: "0x3b353b02a8b42ee4222ea4be0836629b1f40c8db",
1216
+ rpc: [
1217
+ "https://apothemrpc.blocksscan.io"
1218
+ ],
1219
+ ws: [
1220
+ "wss://apothemws.blocksscan.io"
1204
1221
  ],
1205
- explorer: "http://explorer.xinfin.network",
1222
+ explorer: "http://apothem.blocksscan.io",
1206
1223
  imageIPFS: "QmaX3pqjWGg97bR6jjxvTopRkJVxrvwp6VB4jf1Lknq111"
1207
1224
  },
1208
1225
  "56": {
@@ -1401,7 +1418,8 @@ var networks = {
1401
1418
  multicall: "0xb5b692a88bdfc81ca69dcb1d924f59f0413a602a",
1402
1419
  rpc: [
1403
1420
  "https://xdai-archive.blockscout.com",
1404
- "https://poa-xdai.gateway.pokt.network/v1/5f76124fb90218002e9ce985"
1421
+ "https://poa-xdai.gateway.pokt.network/v1/5f76124fb90218002e9ce985",
1422
+ "https://rpc.gnosischain.com"
1405
1423
  ],
1406
1424
  ws: [
1407
1425
  "wss://rpc.xdaichain.com/wss"
@@ -1856,6 +1874,21 @@ var networks = {
1856
1874
  explorer: "https://bx.testnet.shyft.network",
1857
1875
  start: 2446296,
1858
1876
  imageIPFS: "QmUkFZC2ZmoYPTKf7AHdjwRPZoV2h1MCuHaGM4iu8SNFpi"
1877
+ },
1878
+ "12357": {
1879
+ key: "12357",
1880
+ name: "REI Testnet",
1881
+ shortName: "REI",
1882
+ chainId: 12357,
1883
+ network: "testnet",
1884
+ testnet: true,
1885
+ multicall: "0x9eE9904815B80C39C1a27294E69a8626EAa7952d",
1886
+ rpc: [
1887
+ "https://rpc-testnet.rei.network"
1888
+ ],
1889
+ explorer: "https://scan-test.rei.network/",
1890
+ start: 79516,
1891
+ imageIPFS: "QmTogMDLmDgJjDjUKDHDuc2KVTVDbXf8bXJLFiVe8PRxgo"
1859
1892
  },
1860
1893
  "32659": {
1861
1894
  key: "32659",
@@ -1929,6 +1962,19 @@ var networks = {
1929
1962
  explorer: "https://snowtrace.io",
1930
1963
  start: 536483,
1931
1964
  imageIPFS: "QmeS75uS7XLR8o8uUzhLRVYPX9vMFf4DXgKxQeCzyy7vM2"
1965
+ },
1966
+ "47805": {
1967
+ key: "47805",
1968
+ name: "REI Mainnet",
1969
+ chainId: 47805,
1970
+ network: "mainnet",
1971
+ multicall: "0x9eE9904815B80C39C1a27294E69a8626EAa7952d",
1972
+ rpc: [
1973
+ "https://rpc.rei.network"
1974
+ ],
1975
+ explorer: "https://scan.rei.network/",
1976
+ start: 1715902,
1977
+ imageIPFS: "QmTogMDLmDgJjDjUKDHDuc2KVTVDbXf8bXJLFiVe8PRxgo"
1932
1978
  },
1933
1979
  "80001": {
1934
1980
  key: "80001",
@@ -2587,7 +2633,7 @@ var voting = {
2587
2633
  };
2588
2634
 
2589
2635
  var SNAPSHOT_SUBGRAPH_URL = {
2590
- '1': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot',
2636
+ '1': 'https://gateway.thegraph.com/api/3Q4vnuSqemXnSNHoiLD7wdBbGCXszUYnUbTz191kDMNn/subgraphs/id/3Q4vnuSqemXnSNHoiLD7wdBbGCXszUYnUbTz191kDMNn',
2591
2637
  '4': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-rinkeby',
2592
2638
  '42': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-kovan',
2593
2639
  '97': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain',