@snapshot-labs/snapshot.js 0.3.30 → 0.3.34

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.
@@ -660,7 +660,7 @@ var definitions = {
660
660
  type: "string",
661
661
  title: "symbol",
662
662
  minLength: 1,
663
- maxLength: 12
663
+ maxLength: 16
664
664
  },
665
665
  skin: {
666
666
  type: "string",
@@ -1004,7 +1004,8 @@ var networks = {
1004
1004
  ws: [
1005
1005
  "wss://eth-mainnet.ws.alchemyapi.io/v2/4bdDVB5QAaorY2UE-GBUbM2yQB3QJqzv"
1006
1006
  ],
1007
- explorer: "https://etherscan.io"
1007
+ explorer: "https://etherscan.io",
1008
+ start: 7929876
1008
1009
  },
1009
1010
  "3": {
1010
1011
  key: "3",
@@ -1017,7 +1018,8 @@ var networks = {
1017
1018
  rpc: [
1018
1019
  "https://eth-ropsten.alchemyapi.io/v2/QzGz6gdkpTyDzebi3PjxIaKO7bDTGnSy"
1019
1020
  ],
1020
- explorer: "https://ropsten.etherscan.io"
1021
+ explorer: "https://ropsten.etherscan.io",
1022
+ start: 7980811
1021
1023
  },
1022
1024
  "4": {
1023
1025
  key: "4",
@@ -1035,7 +1037,8 @@ var networks = {
1035
1037
  ws: [
1036
1038
  "wss://eth-rinkeby.ws.alchemyapi.io/v2/twReQE9Px03E-E_N_Fbb3OVF7YgHxoGq"
1037
1039
  ],
1038
- explorer: "https://rinkeby.etherscan.io"
1040
+ explorer: "https://rinkeby.etherscan.io",
1041
+ start: 4534725
1039
1042
  },
1040
1043
  "5": {
1041
1044
  key: "5",
@@ -1048,7 +1051,8 @@ var networks = {
1048
1051
  rpc: [
1049
1052
  "https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
1050
1053
  ],
1051
- explorer: "https://goerli.etherscan.io"
1054
+ explorer: "https://goerli.etherscan.io",
1055
+ start: 743550
1052
1056
  },
1053
1057
  "7": {
1054
1058
  key: "7",
@@ -1087,7 +1091,8 @@ var networks = {
1087
1091
  rpc: [
1088
1092
  "https://opt-mainnet.g.alchemy.com/v2/JzmIL4Q3jBj7it2duxLFeuCa9Wobmm7D"
1089
1093
  ],
1090
- explorer: "https://optimistic.etherscan.io"
1094
+ explorer: "https://optimistic.etherscan.io",
1095
+ start: 657806
1091
1096
  },
1092
1097
  "20": {
1093
1098
  key: "20",
@@ -1100,7 +1105,8 @@ var networks = {
1100
1105
  "https://rpc.glidefinance.io",
1101
1106
  "https://escrpc.elaphant.app"
1102
1107
  ],
1103
- explorer: "https://esc.elastos.io"
1108
+ explorer: "https://esc.elastos.io",
1109
+ start: 7826070
1104
1110
  },
1105
1111
  "25": {
1106
1112
  key: "25",
@@ -1112,7 +1118,8 @@ var networks = {
1112
1118
  rpc: [
1113
1119
  "https://evm-cronos.crypto.org"
1114
1120
  ],
1115
- explorer: "https://cronos.crypto.org/explorer"
1121
+ explorer: "https://cronos.crypto.org/explorer",
1122
+ start: 4067
1116
1123
  },
1117
1124
  "30": {
1118
1125
  key: "30",
@@ -1123,7 +1130,8 @@ var networks = {
1123
1130
  rpc: [
1124
1131
  "https://public-node.rsk.co"
1125
1132
  ],
1126
- explorer: "https://explorer.rsk.co"
1133
+ explorer: "https://explorer.rsk.co",
1134
+ start: 2516442
1127
1135
  },
1128
1136
  "31": {
1129
1137
  key: "31",
@@ -1135,7 +1143,8 @@ var networks = {
1135
1143
  rpc: [
1136
1144
  "https://public-node.testnet.rsk.co"
1137
1145
  ],
1138
- explorer: "https://explorer.testnet.rsk.co"
1146
+ explorer: "https://explorer.testnet.rsk.co",
1147
+ start: 1002369
1139
1148
  },
1140
1149
  "42": {
1141
1150
  key: "42",
@@ -1154,7 +1163,8 @@ var networks = {
1154
1163
  ws: [
1155
1164
  "wss://eth-kovan.ws.alchemyapi.io/v2/QCsM2iU0bQ49eGDmZ7-Y--Wpu0lVWXSO"
1156
1165
  ],
1157
- explorer: "https://kovan.etherscan.io"
1166
+ explorer: "https://kovan.etherscan.io",
1167
+ start: 11482433
1158
1168
  },
1159
1169
  "44": {
1160
1170
  key: "44",
@@ -1166,7 +1176,7 @@ var networks = {
1166
1176
  rpc: [
1167
1177
  "https://crab-rpc.darwinia.network"
1168
1178
  ],
1169
- explorer: "https://crab.subscan.io/"
1179
+ explorer: "https://crab.subscan.io"
1170
1180
  },
1171
1181
  "50": {
1172
1182
  key: "50",
@@ -1181,7 +1191,7 @@ var networks = {
1181
1191
  ws: [
1182
1192
  "wss://ws.xinfin.network"
1183
1193
  ],
1184
- explorer: "http://explorer.xinfin.network/"
1194
+ explorer: "http://explorer.xinfin.network"
1185
1195
  },
1186
1196
  "56": {
1187
1197
  key: "56",
@@ -1201,7 +1211,8 @@ var networks = {
1201
1211
  "https://bsc-dataseed2.binance.org",
1202
1212
  "https://bsc-dataseed3.binance.org"
1203
1213
  ],
1204
- explorer: "https://bscscan.com"
1214
+ explorer: "https://bscscan.com",
1215
+ start: 461230
1205
1216
  },
1206
1217
  "61": {
1207
1218
  key: "61",
@@ -1229,7 +1240,8 @@ var networks = {
1229
1240
  ws: [
1230
1241
  "wss://exchaintestws.okex.org:8443"
1231
1242
  ],
1232
- explorer: "https://www.oklink.com/okexchain-test"
1243
+ explorer: "https://www.oklink.com/okexchain-test",
1244
+ start: 5320359
1233
1245
  },
1234
1246
  "66": {
1235
1247
  key: "66",
@@ -1244,7 +1256,8 @@ var networks = {
1244
1256
  ws: [
1245
1257
  "wss://exchainws.okex.org:8443"
1246
1258
  ],
1247
- explorer: "https://www.oklink.com/okexchain"
1259
+ explorer: "https://www.oklink.com/okexchain",
1260
+ start: 5076543
1248
1261
  },
1249
1262
  "69": {
1250
1263
  key: "69",
@@ -1256,7 +1269,8 @@ var networks = {
1256
1269
  rpc: [
1257
1270
  "https://opt-kovan.g.alchemy.com/v2/JzmIL4Q3jBj7it2duxLFeuCa9Wobmm7D"
1258
1271
  ],
1259
- explorer: "https://kovan-optimistic.etherscan.io/"
1272
+ explorer: "https://kovan-optimistic.etherscan.io",
1273
+ start: 882942
1260
1274
  },
1261
1275
  "70": {
1262
1276
  key: "70",
@@ -1271,7 +1285,8 @@ var networks = {
1271
1285
  ws: [
1272
1286
  "wss://ws-mainnet2.hoosmartchain.com"
1273
1287
  ],
1274
- explorer: "https://hscscan.com"
1288
+ explorer: "https://hooscan.com",
1289
+ start: 404118
1275
1290
  },
1276
1291
  "74": {
1277
1292
  key: "74",
@@ -1284,7 +1299,8 @@ var networks = {
1284
1299
  "https://idchain.one/rpc/",
1285
1300
  "https://idchain.songadao.org/rpc"
1286
1301
  ],
1287
- explorer: "https://explorer.idchain.one/"
1302
+ explorer: "https://explorer.idchain.one",
1303
+ start: 10780012
1288
1304
  },
1289
1305
  "80": {
1290
1306
  key: "80",
@@ -1307,7 +1323,8 @@ var networks = {
1307
1323
  rpc: [
1308
1324
  "https://rpc.meter.io"
1309
1325
  ],
1310
- explorer: "https://scan.meter.io"
1326
+ explorer: "https://scan.meter.io",
1327
+ start: 4992871
1311
1328
  },
1312
1329
  "97": {
1313
1330
  key: "97",
@@ -1321,7 +1338,8 @@ var networks = {
1321
1338
  "https://speedy-nodes-nyc.moralis.io/f2963e29bec0de5787da3164/bsc/testnet/archive",
1322
1339
  "https://data-seed-prebsc-1-s1.binance.org:8545"
1323
1340
  ],
1324
- explorer: "https://testnet.bscscan.com"
1341
+ explorer: "https://testnet.bscscan.com",
1342
+ start: 3599656
1325
1343
  },
1326
1344
  "99": {
1327
1345
  key: "99",
@@ -1329,11 +1347,12 @@ var networks = {
1329
1347
  shortName: "POA",
1330
1348
  chainId: 99,
1331
1349
  network: "mainnet",
1332
- multicall: "",
1350
+ multicall: "0x2754BB10580dFc6d8Ce6d6CA2939021A06923394",
1333
1351
  rpc: [
1334
1352
  "https://core.poa.network"
1335
1353
  ],
1336
- explorer: "https://blockscout.com/poa/core/"
1354
+ explorer: "https://blockscout.com/poa/core",
1355
+ start: 22543252
1337
1356
  },
1338
1357
  "100": {
1339
1358
  key: "100",
@@ -1349,7 +1368,8 @@ var networks = {
1349
1368
  ws: [
1350
1369
  "wss://rpc.xdaichain.com/wss"
1351
1370
  ],
1352
- explorer: "https://blockscout.com/poa/xdai"
1371
+ explorer: "https://blockscout.com/poa/xdai",
1372
+ start: 4108192
1353
1373
  },
1354
1374
  "106": {
1355
1375
  key: "106",
@@ -1365,7 +1385,8 @@ var networks = {
1365
1385
  ws: [
1366
1386
  "wss://api.velas.com"
1367
1387
  ],
1368
- explorer: "https://evmexplorer.velas.com"
1388
+ explorer: "https://evmexplorer.velas.com",
1389
+ start: 141800
1369
1390
  },
1370
1391
  "108": {
1371
1392
  key: "108",
@@ -1393,7 +1414,8 @@ var networks = {
1393
1414
  ws: [
1394
1415
  "wss://api.testnet.velas.com"
1395
1416
  ],
1396
- explorer: "https://evmexplorer.testnet.velas.com"
1417
+ explorer: "https://evmexplorer.testnet.velas.com",
1418
+ start: 1195129
1397
1419
  },
1398
1420
  "122": {
1399
1421
  key: "122",
@@ -1405,7 +1427,8 @@ var networks = {
1405
1427
  rpc: [
1406
1428
  "https://oefusefull1.liquify.info/"
1407
1429
  ],
1408
- explorer: "https://explorer.fuse.io"
1430
+ explorer: "https://explorer.fuse.io",
1431
+ start: 11923459
1409
1432
  },
1410
1433
  "128": {
1411
1434
  key: "128",
@@ -1420,7 +1443,8 @@ var networks = {
1420
1443
  ws: [
1421
1444
  "wss://pub001.hg.network/ws"
1422
1445
  ],
1423
- explorer: "https://hecoinfo.com"
1446
+ explorer: "https://hecoinfo.com",
1447
+ start: 403225
1424
1448
  },
1425
1449
  "137": {
1426
1450
  key: "137",
@@ -1437,7 +1461,8 @@ var networks = {
1437
1461
  ws: [
1438
1462
  "wss://ws-mainnet.matic.network"
1439
1463
  ],
1440
- explorer: "https://polygonscan.com"
1464
+ explorer: "https://polygonscan.com",
1465
+ start: 9834491
1441
1466
  },
1442
1467
  "246": {
1443
1468
  key: "246",
@@ -1449,7 +1474,8 @@ var networks = {
1449
1474
  rpc: [
1450
1475
  "https://voting-rpc.carbonswap.exchange"
1451
1476
  ],
1452
- explorer: "https://explorer.energyweb.org"
1477
+ explorer: "https://explorer.energyweb.org",
1478
+ start: 12086501
1453
1479
  },
1454
1480
  "250": {
1455
1481
  key: "250",
@@ -1462,7 +1488,8 @@ var networks = {
1462
1488
  "https://rpc.ftm.tools",
1463
1489
  "https://rpcapi.fantom.network"
1464
1490
  ],
1465
- explorer: "https://ftmscan.com"
1491
+ explorer: "https://ftmscan.com",
1492
+ start: 2497732
1466
1493
  },
1467
1494
  "256": {
1468
1495
  key: "256",
@@ -1478,7 +1505,8 @@ var networks = {
1478
1505
  ws: [
1479
1506
  "wss://ws-testnet.hecochain.com"
1480
1507
  ],
1481
- explorer: "https://testnet.hecoinfo.com"
1508
+ explorer: "https://testnet.hecoinfo.com",
1509
+ start: 379560
1482
1510
  },
1483
1511
  "288": {
1484
1512
  key: "288",
@@ -1490,7 +1518,8 @@ var networks = {
1490
1518
  rpc: [
1491
1519
  "https://mainnet.boba.network/"
1492
1520
  ],
1493
- explorer: "https://blockexplorer.boba.network/"
1521
+ explorer: "https://blockexplorer.boba.network",
1522
+ start: 74
1494
1523
  },
1495
1524
  "321": {
1496
1525
  key: "321",
@@ -1505,7 +1534,8 @@ var networks = {
1505
1534
  ws: [
1506
1535
  "wss://rpc-ws-mainnet.kcc.network"
1507
1536
  ],
1508
- explorer: "https://explorer.kcc.io"
1537
+ explorer: "https://explorer.kcc.io",
1538
+ start: 1487453
1509
1539
  },
1510
1540
  "361": {
1511
1541
  key: "361",
@@ -1517,7 +1547,8 @@ var networks = {
1517
1547
  rpc: [
1518
1548
  "https://eth-rpc-api.thetatoken.org/rpc"
1519
1549
  ],
1520
- explorer: "https://explorer.thetatoken.org/"
1550
+ explorer: "https://explorer.thetatoken.org",
1551
+ start: 12559216
1521
1552
  },
1522
1553
  "499": {
1523
1554
  key: "499",
@@ -1532,7 +1563,8 @@ var networks = {
1532
1563
  ws: [
1533
1564
  "wss://ws.rupx.io"
1534
1565
  ],
1535
- explorer: "http://scan.rupx.io"
1566
+ explorer: "http://scan.rupx.io",
1567
+ start: 2762929
1536
1568
  },
1537
1569
  "888": {
1538
1570
  key: "888",
@@ -1546,7 +1578,8 @@ var networks = {
1546
1578
  ws: [
1547
1579
  "wss://api.wanchain.org:8443/ws/v3/ddd16770c68f30350a21114802d5418eafe039b722de52b488e7eee1ee2cd73f"
1548
1580
  ],
1549
- explorer: "https://www.wanscan.org"
1581
+ explorer: "https://www.wanscan.org",
1582
+ start: 11302663
1550
1583
  },
1551
1584
  "1088": {
1552
1585
  key: "1088",
@@ -1558,7 +1591,21 @@ var networks = {
1558
1591
  rpc: [
1559
1592
  "https://andromeda.metis.io/?owner=1088"
1560
1593
  ],
1561
- explorer: "https://andromeda-explorer.metis.io/"
1594
+ explorer: "https://andromeda-explorer.metis.io",
1595
+ start: 451
1596
+ },
1597
+ "1284": {
1598
+ key: "1284",
1599
+ name: "Moonbeam",
1600
+ shortName: "GLMR",
1601
+ chainId: 1284,
1602
+ network: "mainnet",
1603
+ multicall: "0x83e3b61886770de2F64AAcaD2724ED4f08F7f36B",
1604
+ rpc: [
1605
+ "https://rpc.api.moonbeam.network"
1606
+ ],
1607
+ explorer: "https://blockscout.moonbeam.network",
1608
+ start: 171135
1562
1609
  },
1563
1610
  "1285": {
1564
1611
  key: "1285",
@@ -1570,7 +1617,8 @@ var networks = {
1570
1617
  rpc: [
1571
1618
  "https://rpc.moonriver.moonbeam.network"
1572
1619
  ],
1573
- explorer: "https://blockscout.moonriver.moonbeam.network/"
1620
+ explorer: "https://blockscout.moonriver.moonbeam.network",
1621
+ start: 413539
1574
1622
  },
1575
1623
  "1287": {
1576
1624
  key: "1287",
@@ -1583,7 +1631,8 @@ var networks = {
1583
1631
  rpc: [
1584
1632
  "https://rpc.testnet.moonbeam.network"
1585
1633
  ],
1586
- explorer: "https://moonbase-blockscout.testnet.moonbeam.network/"
1634
+ explorer: "https://moonbase-blockscout.testnet.moonbeam.network",
1635
+ start: 859041
1587
1636
  },
1588
1637
  "4689": {
1589
1638
  key: "4689",
@@ -1595,7 +1644,8 @@ var networks = {
1595
1644
  rpc: [
1596
1645
  "https://babel-api.mainnet.iotex.io"
1597
1646
  ],
1598
- explorer: "https://iotexscan.io"
1647
+ explorer: "https://iotexscan.io",
1648
+ start: 11533283
1599
1649
  },
1600
1650
  "4690": {
1601
1651
  key: "4690",
@@ -1608,7 +1658,8 @@ var networks = {
1608
1658
  rpc: [
1609
1659
  "https://babel-api.testnet.iotex.io"
1610
1660
  ],
1611
- explorer: "https://testnet.iotexscan.io"
1661
+ explorer: "https://testnet.iotexscan.io",
1662
+ start: 8821493
1612
1663
  },
1613
1664
  "5551": {
1614
1665
  key: "5551",
@@ -1620,7 +1671,8 @@ var networks = {
1620
1671
  rpc: [
1621
1672
  "https://l2.nahmii.io"
1622
1673
  ],
1623
- explorer: "https://explorer.nahmii.io/"
1674
+ explorer: "https://explorer.nahmii.io",
1675
+ start: 4364
1624
1676
  },
1625
1677
  "5553": {
1626
1678
  key: "5553",
@@ -1633,7 +1685,8 @@ var networks = {
1633
1685
  rpc: [
1634
1686
  "https://l2.testnet.nahmii.io"
1635
1687
  ],
1636
- explorer: "https://explorer.testnet.nahmii.io/"
1688
+ explorer: "https://explorer.testnet.nahmii.io",
1689
+ start: 53370
1637
1690
  },
1638
1691
  "10000": {
1639
1692
  key: "10000",
@@ -1670,7 +1723,8 @@ var networks = {
1670
1723
  rpc: [
1671
1724
  "https://arb-mainnet.g.alchemy.com/v2/JDvtNGwnHhTltIwfnxQocKwKkCTKA1DL"
1672
1725
  ],
1673
- explorer: "https://arbiscan.io"
1726
+ explorer: "https://arbiscan.io",
1727
+ start: 256508
1674
1728
  },
1675
1729
  "42220": {
1676
1730
  key: "42220",
@@ -1683,7 +1737,21 @@ var networks = {
1683
1737
  "https://forno.celo.org",
1684
1738
  "https://celo-mainnet--rpc.datahub.figment.io/apikey/e892a66dc36e4d2d98a5d6406d609796/"
1685
1739
  ],
1686
- explorer: "https://explorer.celo.org"
1740
+ explorer: "https://explorer.celo.org",
1741
+ start: 6599803
1742
+ },
1743
+ "42262": {
1744
+ key: "42262",
1745
+ name: "Emerald",
1746
+ shortName: "Emerald",
1747
+ chainId: 42262,
1748
+ network: "mainnet",
1749
+ multicall: "0xBD46A7DCD1fefA63A7746a5762A71635Ee0843A1",
1750
+ rpc: [
1751
+ "https://emerald.oasis.dev"
1752
+ ],
1753
+ explorer: "https://explorer.emerald.oasis.dev",
1754
+ start: 176517
1687
1755
  },
1688
1756
  "43114": {
1689
1757
  key: "43114",
@@ -1692,9 +1760,11 @@ var networks = {
1692
1760
  network: "mainnet",
1693
1761
  multicall: "0x7E9985aE4C8248fdB07607648406a48C76e9e7eD",
1694
1762
  rpc: [
1763
+ "https://rpc.ankr.com/avalanche",
1695
1764
  "https://api.avax.network/ext/bc/C/rpc"
1696
1765
  ],
1697
- explorer: "https://cchain.explorer.avax.network"
1766
+ explorer: "https://snowtrace.io",
1767
+ start: 536483
1698
1768
  },
1699
1769
  "80001": {
1700
1770
  key: "80001",
@@ -1710,7 +1780,8 @@ var networks = {
1710
1780
  ws: [
1711
1781
  "wss://ws-mumbai.matic.today"
1712
1782
  ],
1713
- explorer: ""
1783
+ explorer: "https://mumbai.polygonscan.com",
1784
+ start: 12011090
1714
1785
  },
1715
1786
  "333888": {
1716
1787
  key: "333888",
@@ -1735,7 +1806,8 @@ var networks = {
1735
1806
  rpc: [
1736
1807
  "https://rpc.polis.tech"
1737
1808
  ],
1738
- explorer: "https://explorer.polis.tech"
1809
+ explorer: "https://explorer.polis.tech",
1810
+ start: 1971
1739
1811
  },
1740
1812
  "1313161554": {
1741
1813
  key: "1313161554",
@@ -1747,7 +1819,8 @@ var networks = {
1747
1819
  rpc: [
1748
1820
  "https://mainnet.aurora.dev"
1749
1821
  ],
1750
- explorer: "https://explorer.mainnet.aurora.dev"
1822
+ explorer: "https://explorer.mainnet.aurora.dev",
1823
+ start: 57190533
1751
1824
  },
1752
1825
  "1666600000": {
1753
1826
  key: "1666600000",
@@ -1762,7 +1835,8 @@ var networks = {
1762
1835
  ws: [
1763
1836
  "wss://ws.s0.t.hmny.io"
1764
1837
  ],
1765
- explorer: "https://explorer.harmony.one"
1838
+ explorer: "https://explorer.harmony.one",
1839
+ start: 10911984
1766
1840
  },
1767
1841
  "1666700000": {
1768
1842
  key: "1666700000",
@@ -1778,7 +1852,8 @@ var networks = {
1778
1852
  ws: [
1779
1853
  "wss://ws.s0.b.hmny.io"
1780
1854
  ],
1781
- explorer: "https://explorer.pops.one"
1855
+ explorer: "https://explorer.pops.one",
1856
+ start: 7521509
1782
1857
  },
1783
1858
  "11297108109": {
1784
1859
  key: "11297108109",
@@ -1790,15 +1865,17 @@ var networks = {
1790
1865
  rpc: [
1791
1866
  "https://palm-mainnet.infura.io/v3/3a961d6501e54add9a41aa53f15de99b"
1792
1867
  ],
1793
- explorer: "https://explorer.palm.io"
1868
+ explorer: "https://explorer.palm.io",
1869
+ start: 1172267
1794
1870
  }
1795
1871
  };
1796
1872
 
1797
1873
  var providers = {};
1798
1874
  function getProvider(network) {
1799
1875
  var url = networks[network].rpc[0];
1876
+ var connectionInfo = typeof url === 'object' ? __assign(__assign({}, url), { timeout: 25000 }) : { url: url, timeout: 25000 };
1800
1877
  if (!providers[network])
1801
- providers[network] = new providers$1.StaticJsonRpcProvider(url);
1878
+ providers[network] = new providers$1.StaticJsonRpcProvider(connectionInfo);
1802
1879
  return providers[network];
1803
1880
  }
1804
1881