@snapshot-labs/snapshot.js 0.3.42 → 0.3.46

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.
Files changed (73) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/snapshot.cjs.js +165 -66
  3. package/dist/snapshot.esm.js +165 -66
  4. package/dist/snapshot.min.js +3 -3
  5. package/dist/utils.d.ts +2 -0
  6. package/package.json +1 -1
  7. package/src/networks.json +159 -64
  8. package/src/utils.ts +8 -2
  9. package/src/networks/1.png +0 -0
  10. package/src/networks/10.png +0 -0
  11. package/src/networks/100.png +0 -0
  12. package/src/networks/10000.png +0 -0
  13. package/src/networks/106.png +0 -0
  14. package/src/networks/108.png +0 -0
  15. package/src/networks/1088.png +0 -0
  16. package/src/networks/111.png +0 -0
  17. package/src/networks/11297108109.png +0 -0
  18. package/src/networks/122.png +0 -0
  19. package/src/networks/128.png +0 -0
  20. package/src/networks/1284.png +0 -0
  21. package/src/networks/1285.png +0 -0
  22. package/src/networks/1287.png +0 -0
  23. package/src/networks/1313161554.png +0 -0
  24. package/src/networks/137.png +0 -0
  25. package/src/networks/1666600000.png +0 -0
  26. package/src/networks/1666700000.png +0 -0
  27. package/src/networks/20.png +0 -0
  28. package/src/networks/2109.png +0 -0
  29. package/src/networks/246.png +0 -0
  30. package/src/networks/25.png +0 -0
  31. package/src/networks/250.png +0 -0
  32. package/src/networks/256.png +0 -0
  33. package/src/networks/288.png +0 -0
  34. package/src/networks/3.png +0 -0
  35. package/src/networks/30.png +0 -0
  36. package/src/networks/31.png +0 -0
  37. package/src/networks/321.png +0 -0
  38. package/src/networks/32659.png +0 -0
  39. package/src/networks/333888.png +0 -0
  40. package/src/networks/333999.png +0 -0
  41. package/src/networks/336.png +0 -0
  42. package/src/networks/361.png +0 -0
  43. package/src/networks/4.png +0 -0
  44. package/src/networks/42.png +0 -0
  45. package/src/networks/42161.png +0 -0
  46. package/src/networks/42220.png +0 -0
  47. package/src/networks/42262.png +0 -0
  48. package/src/networks/43114.png +0 -0
  49. package/src/networks/44.png +0 -0
  50. package/src/networks/4689.png +0 -0
  51. package/src/networks/4690.png +0 -0
  52. package/src/networks/499.png +0 -0
  53. package/src/networks/5.png +0 -0
  54. package/src/networks/50.png +0 -0
  55. package/src/networks/5551.png +0 -0
  56. package/src/networks/5553.png +0 -0
  57. package/src/networks/56.png +0 -0
  58. package/src/networks/592.png +0 -0
  59. package/src/networks/61.png +0 -0
  60. package/src/networks/65.png +0 -0
  61. package/src/networks/66.png +0 -0
  62. package/src/networks/69.png +0 -0
  63. package/src/networks/7.png +0 -0
  64. package/src/networks/70.png +0 -0
  65. package/src/networks/74.png +0 -0
  66. package/src/networks/8.png +0 -0
  67. package/src/networks/80.png +0 -0
  68. package/src/networks/80001.png +0 -0
  69. package/src/networks/81.png +0 -0
  70. package/src/networks/82.png +0 -0
  71. package/src/networks/97.png +0 -0
  72. package/src/networks/99.png +0 -0
  73. package/src/networks/wanchain.png +0 -0
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
  };
@@ -1010,7 +1010,8 @@ var networks = {
1010
1010
  "wss://eth-mainnet.ws.alchemyapi.io/v2/4bdDVB5QAaorY2UE-GBUbM2yQB3QJqzv"
1011
1011
  ],
1012
1012
  explorer: "https://etherscan.io",
1013
- start: 7929876
1013
+ start: 7929876,
1014
+ imageIPFS: "QmR2UYZczmYa4s8mr9HZHci5AQwyAnwUW7tSUZz7KWF3sA"
1014
1015
  },
1015
1016
  "3": {
1016
1017
  key: "3",
@@ -1024,7 +1025,8 @@ var networks = {
1024
1025
  "https://eth-ropsten.alchemyapi.io/v2/QzGz6gdkpTyDzebi3PjxIaKO7bDTGnSy"
1025
1026
  ],
1026
1027
  explorer: "https://ropsten.etherscan.io",
1027
- start: 7980811
1028
+ start: 7980811,
1029
+ imageIPFS: "QmR2UYZczmYa4s8mr9HZHci5AQwyAnwUW7tSUZz7KWF3sA"
1028
1030
  },
1029
1031
  "4": {
1030
1032
  key: "4",
@@ -1043,7 +1045,8 @@ var networks = {
1043
1045
  "wss://eth-rinkeby.ws.alchemyapi.io/v2/twReQE9Px03E-E_N_Fbb3OVF7YgHxoGq"
1044
1046
  ],
1045
1047
  explorer: "https://rinkeby.etherscan.io",
1046
- start: 4534725
1048
+ start: 4534725,
1049
+ imageIPFS: "QmR2UYZczmYa4s8mr9HZHci5AQwyAnwUW7tSUZz7KWF3sA"
1047
1050
  },
1048
1051
  "5": {
1049
1052
  key: "5",
@@ -1057,7 +1060,8 @@ var networks = {
1057
1060
  "https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
1058
1061
  ],
1059
1062
  explorer: "https://goerli.etherscan.io",
1060
- start: 743550
1063
+ start: 743550,
1064
+ imageIPFS: "QmR2UYZczmYa4s8mr9HZHci5AQwyAnwUW7tSUZz7KWF3sA"
1061
1065
  },
1062
1066
  "7": {
1063
1067
  key: "7",
@@ -1071,7 +1075,8 @@ var networks = {
1071
1075
  ws: [
1072
1076
  "wss://ws.dome.cloud"
1073
1077
  ],
1074
- explorer: "https://exp.tch.in.th"
1078
+ explorer: "https://exp.tch.in.th",
1079
+ imageIPFS: "QmUcNN6ZMFEPLUw5WCknisSgs7nhWC5p992jSSsJVq34Eo"
1075
1080
  },
1076
1081
  "8": {
1077
1082
  key: "8",
@@ -1085,7 +1090,8 @@ var networks = {
1085
1090
  ws: [
1086
1091
  "wss://ws.octano.dev"
1087
1092
  ],
1088
- explorer: "https://ubiqscan.io"
1093
+ explorer: "https://ubiqscan.io",
1094
+ imageIPFS: "Qmec3HLoN4QhwZAhw4XTi2aN8Wwmcko5hHN22sHARzb9tw"
1089
1095
  },
1090
1096
  "10": {
1091
1097
  key: "10",
@@ -1097,7 +1103,8 @@ var networks = {
1097
1103
  "https://opt-mainnet.g.alchemy.com/v2/JzmIL4Q3jBj7it2duxLFeuCa9Wobmm7D"
1098
1104
  ],
1099
1105
  explorer: "https://optimistic.etherscan.io",
1100
- start: 657806
1106
+ start: 657806,
1107
+ imageIPFS: "QmfF4kwhGL8QosUXvgq2KWCmavhKBvwD6kbhs7L4p5ZAWb"
1101
1108
  },
1102
1109
  "20": {
1103
1110
  key: "20",
@@ -1111,7 +1118,8 @@ var networks = {
1111
1118
  "https://escrpc.elaphant.app"
1112
1119
  ],
1113
1120
  explorer: "https://esc.elastos.io",
1114
- start: 7826070
1121
+ start: 7826070,
1122
+ imageIPFS: "Qmd2muU2UHo5WsTxE9EpZZJeatimTT9GD4sEnHQe6i9wiA"
1115
1123
  },
1116
1124
  "25": {
1117
1125
  key: "25",
@@ -1124,7 +1132,8 @@ var networks = {
1124
1132
  "https://evm-cronos.crypto.org"
1125
1133
  ],
1126
1134
  explorer: "https://cronos.crypto.org/explorer",
1127
- start: 4067
1135
+ start: 4067,
1136
+ imageIPFS: "QmfSJbtirJoa3Pt7o5Fdm85wbyw9V1hpzqLr5PQbdnfsAj"
1128
1137
  },
1129
1138
  "30": {
1130
1139
  key: "30",
@@ -1136,7 +1145,8 @@ var networks = {
1136
1145
  "https://public-node.rsk.co"
1137
1146
  ],
1138
1147
  explorer: "https://explorer.rsk.co",
1139
- start: 2516442
1148
+ start: 2516442,
1149
+ imageIPFS: "QmXTwpE1SqoNZmyY4c3fYWy6qUgQELsyWKbgJo2Pg6K6V9"
1140
1150
  },
1141
1151
  "31": {
1142
1152
  key: "31",
@@ -1149,7 +1159,8 @@ var networks = {
1149
1159
  "https://public-node.testnet.rsk.co"
1150
1160
  ],
1151
1161
  explorer: "https://explorer.testnet.rsk.co",
1152
- start: 1002369
1162
+ start: 1002369,
1163
+ imageIPFS: "QmbpnJowePd9sDy8hrJv7LsTBkxksuJauw56Y7BqdMdzec"
1153
1164
  },
1154
1165
  "42": {
1155
1166
  key: "42",
@@ -1169,7 +1180,8 @@ var networks = {
1169
1180
  "wss://eth-kovan.ws.alchemyapi.io/v2/QCsM2iU0bQ49eGDmZ7-Y--Wpu0lVWXSO"
1170
1181
  ],
1171
1182
  explorer: "https://kovan.etherscan.io",
1172
- start: 11482433
1183
+ start: 11482433,
1184
+ imageIPFS: "QmR2UYZczmYa4s8mr9HZHci5AQwyAnwUW7tSUZz7KWF3sA"
1173
1185
  },
1174
1186
  "44": {
1175
1187
  key: "44",
@@ -1181,7 +1193,8 @@ var networks = {
1181
1193
  rpc: [
1182
1194
  "https://crab-rpc.darwinia.network"
1183
1195
  ],
1184
- explorer: "https://crab.subscan.io"
1196
+ explorer: "https://crab.subscan.io",
1197
+ imageIPFS: "QmTpySsG7rjLwuZX1Ep4ewGyVAyGrvCRC1oqEvU6oP1huf"
1185
1198
  },
1186
1199
  "50": {
1187
1200
  key: "50",
@@ -1196,7 +1209,8 @@ var networks = {
1196
1209
  ws: [
1197
1210
  "wss://ws.xinfin.network"
1198
1211
  ],
1199
- explorer: "http://explorer.xinfin.network"
1212
+ explorer: "http://explorer.xinfin.network",
1213
+ imageIPFS: "QmaX3pqjWGg97bR6jjxvTopRkJVxrvwp6VB4jf1Lknq111"
1200
1214
  },
1201
1215
  "56": {
1202
1216
  key: "56",
@@ -1217,7 +1231,8 @@ var networks = {
1217
1231
  "https://bsc-dataseed3.binance.org"
1218
1232
  ],
1219
1233
  explorer: "https://bscscan.com",
1220
- start: 461230
1234
+ start: 461230,
1235
+ imageIPFS: "QmWQaQ4Tv28DwA4DRKjSDJFWY9mZboGvuu77J8nh7kucxv"
1221
1236
  },
1222
1237
  "61": {
1223
1238
  key: "61",
@@ -1229,7 +1244,8 @@ var networks = {
1229
1244
  rpc: [
1230
1245
  "https://ethereumclassic.network"
1231
1246
  ],
1232
- explorer: "https://blockscout.com/etc/mainnet"
1247
+ explorer: "https://blockscout.com/etc/mainnet",
1248
+ imageIPFS: "QmVegc28DvA7LjKUFysab81c9BSuN4wQVDQkRXyAtuEBis"
1233
1249
  },
1234
1250
  "65": {
1235
1251
  key: "65",
@@ -1246,7 +1262,8 @@ var networks = {
1246
1262
  "wss://exchaintestws.okex.org:8443"
1247
1263
  ],
1248
1264
  explorer: "https://www.oklink.com/okexchain-test",
1249
- start: 5320359
1265
+ start: 5320359,
1266
+ imageIPFS: "Qmd7dKnNwHRZ4HRCbCXUbkNV7gP28fGqPdjbHtjRtT9sQF"
1250
1267
  },
1251
1268
  "66": {
1252
1269
  key: "66",
@@ -1262,7 +1279,8 @@ var networks = {
1262
1279
  "wss://exchainws.okex.org:8443"
1263
1280
  ],
1264
1281
  explorer: "https://www.oklink.com/okexchain",
1265
- start: 5076543
1282
+ start: 5076543,
1283
+ imageIPFS: "Qmd7dKnNwHRZ4HRCbCXUbkNV7gP28fGqPdjbHtjRtT9sQF"
1266
1284
  },
1267
1285
  "69": {
1268
1286
  key: "69",
@@ -1275,7 +1293,8 @@ var networks = {
1275
1293
  "https://opt-kovan.g.alchemy.com/v2/JzmIL4Q3jBj7it2duxLFeuCa9Wobmm7D"
1276
1294
  ],
1277
1295
  explorer: "https://kovan-optimistic.etherscan.io",
1278
- start: 882942
1296
+ start: 882942,
1297
+ imageIPFS: "QmfF4kwhGL8QosUXvgq2KWCmavhKBvwD6kbhs7L4p5ZAWb"
1279
1298
  },
1280
1299
  "70": {
1281
1300
  key: "70",
@@ -1291,7 +1310,8 @@ var networks = {
1291
1310
  "wss://ws-mainnet2.hoosmartchain.com"
1292
1311
  ],
1293
1312
  explorer: "https://hooscan.com",
1294
- start: 404118
1313
+ start: 404118,
1314
+ imageIPFS: "QmNhFCVw5GDsu86sGchoRNvQjcr5GL79UJQ3xCHzdFbZYk"
1295
1315
  },
1296
1316
  "74": {
1297
1317
  key: "74",
@@ -1305,7 +1325,8 @@ var networks = {
1305
1325
  "https://idchain.songadao.org/rpc"
1306
1326
  ],
1307
1327
  explorer: "https://explorer.idchain.one",
1308
- start: 10780012
1328
+ start: 10780012,
1329
+ imageIPFS: "QmXAKaNsyv6ctuRenYRJuZ1V4kn1eFwkUtjrjzX6jiKTqe"
1309
1330
  },
1310
1331
  "80": {
1311
1332
  key: "80",
@@ -1316,7 +1337,8 @@ var networks = {
1316
1337
  rpc: [
1317
1338
  "https://rpc.genechain.io"
1318
1339
  ],
1319
- explorer: "https://scan.genechain.io"
1340
+ explorer: "https://scan.genechain.io",
1341
+ imageIPFS: "QmSV3LTGzE4159zLK4xJVDH5t8iKhY4peh7VAkjefawr2q"
1320
1342
  },
1321
1343
  "81": {
1322
1344
  key: "81",
@@ -1330,7 +1352,8 @@ var networks = {
1330
1352
  "https://rpc.shibuya.astar.network:8545"
1331
1353
  ],
1332
1354
  explorer: "https://blockscout.com/shibuya",
1333
- start: 856303
1355
+ start: 856303,
1356
+ imageIPFS: "QmZLQVsUqHBDXutu6ywTvcYXDZG2xBstMfHkfJSzUNpZsc"
1334
1357
  },
1335
1358
  "82": {
1336
1359
  key: "82",
@@ -1343,7 +1366,8 @@ var networks = {
1343
1366
  "https://rpc.meter.io"
1344
1367
  ],
1345
1368
  explorer: "https://scan.meter.io",
1346
- start: 4992871
1369
+ start: 4992871,
1370
+ imageIPFS: "QmSZvT9w9eUDvV1YVaq3BKKEbubtNVqu1Rin44FuN4wz11"
1347
1371
  },
1348
1372
  "97": {
1349
1373
  key: "97",
@@ -1358,7 +1382,8 @@ var networks = {
1358
1382
  "https://data-seed-prebsc-1-s1.binance.org:8545"
1359
1383
  ],
1360
1384
  explorer: "https://testnet.bscscan.com",
1361
- start: 3599656
1385
+ start: 3599656,
1386
+ imageIPFS: "QmWQaQ4Tv28DwA4DRKjSDJFWY9mZboGvuu77J8nh7kucxv"
1362
1387
  },
1363
1388
  "99": {
1364
1389
  key: "99",
@@ -1371,7 +1396,8 @@ var networks = {
1371
1396
  "https://core.poa.network"
1372
1397
  ],
1373
1398
  explorer: "https://blockscout.com/poa/core",
1374
- start: 22543252
1399
+ start: 22543252,
1400
+ imageIPFS: "QmZNFCQGA7qT4XJnPSH5NNYrqK6aFsfzZ1NzJwp5D4Tdjr"
1375
1401
  },
1376
1402
  "100": {
1377
1403
  key: "100",
@@ -1388,7 +1414,8 @@ var networks = {
1388
1414
  "wss://rpc.xdaichain.com/wss"
1389
1415
  ],
1390
1416
  explorer: "https://blockscout.com/poa/xdai",
1391
- start: 4108192
1417
+ start: 4108192,
1418
+ imageIPFS: "QmZeiy8Ax4133wzxUQM9ky8z5XFVf6YLFjJMmTWbWVniZR"
1392
1419
  },
1393
1420
  "106": {
1394
1421
  key: "106",
@@ -1405,7 +1432,8 @@ var networks = {
1405
1432
  "wss://api.velas.com"
1406
1433
  ],
1407
1434
  explorer: "https://evmexplorer.velas.com",
1408
- start: 141800
1435
+ start: 141800,
1436
+ imageIPFS: "QmNXiCXJxEeBd7ZYGYjPSMTSdbDd2nfodLC677gUfk9ku5"
1409
1437
  },
1410
1438
  "108": {
1411
1439
  key: "108",
@@ -1416,7 +1444,8 @@ var networks = {
1416
1444
  rpc: [
1417
1445
  "https://mainnet-rpc.thundercore.com"
1418
1446
  ],
1419
- explorer: "https://scan.thundercore.com"
1447
+ explorer: "https://scan.thundercore.com",
1448
+ imageIPFS: "QmbEsmMPZALcfvNnGDg8F2ABCJM3T2UFBiVBaRsMdkjefG"
1420
1449
  },
1421
1450
  "111": {
1422
1451
  key: "111",
@@ -1434,7 +1463,8 @@ var networks = {
1434
1463
  "wss://api.testnet.velas.com"
1435
1464
  ],
1436
1465
  explorer: "https://evmexplorer.testnet.velas.com",
1437
- start: 1195129
1466
+ start: 1195129,
1467
+ imageIPFS: "QmQFWn7JJLigUPvvp6uKg6EWikx7QeNxQ2vaCngU3Uthho"
1438
1468
  },
1439
1469
  "122": {
1440
1470
  key: "122",
@@ -1447,7 +1477,8 @@ var networks = {
1447
1477
  "https://oefusefull1.liquify.info/"
1448
1478
  ],
1449
1479
  explorer: "https://explorer.fuse.io",
1450
- start: 11923459
1480
+ start: 11923459,
1481
+ imageIPFS: "QmXjWb64nako7voaVEifgdjAbDbswpTY8bghsiHpv8yWtb"
1451
1482
  },
1452
1483
  "128": {
1453
1484
  key: "128",
@@ -1463,7 +1494,8 @@ var networks = {
1463
1494
  "wss://pub001.hg.network/ws"
1464
1495
  ],
1465
1496
  explorer: "https://hecoinfo.com",
1466
- start: 403225
1497
+ start: 403225,
1498
+ imageIPFS: "QmSJEdToMvmjqoPvVq7awwdMeYKhXUYZMBiax9yHtFGMSq"
1467
1499
  },
1468
1500
  "137": {
1469
1501
  key: "137",
@@ -1481,7 +1513,8 @@ var networks = {
1481
1513
  "wss://ws-mainnet.matic.network"
1482
1514
  ],
1483
1515
  explorer: "https://polygonscan.com",
1484
- start: 9834491
1516
+ start: 9834491,
1517
+ imageIPFS: "QmaGokGqgjknfa4xnXKnnwC5ZyXzUjQ7p6KEe4D8G5uFFE"
1485
1518
  },
1486
1519
  "246": {
1487
1520
  key: "246",
@@ -1494,7 +1527,8 @@ var networks = {
1494
1527
  "https://voting-rpc.carbonswap.exchange"
1495
1528
  ],
1496
1529
  explorer: "https://explorer.energyweb.org",
1497
- start: 12086501
1530
+ start: 12086501,
1531
+ imageIPFS: "Qmai7AGHgs8NpeGeXgbMZz7pS2i4kw44qubCJYGrZW2f3a"
1498
1532
  },
1499
1533
  "250": {
1500
1534
  key: "250",
@@ -1508,7 +1542,8 @@ var networks = {
1508
1542
  "https://rpcapi.fantom.network"
1509
1543
  ],
1510
1544
  explorer: "https://ftmscan.com",
1511
- start: 2497732
1545
+ start: 2497732,
1546
+ imageIPFS: "QmVEgNeQDKnXygeGxfY9FywZpNGQu98ktZtRJ9bToYF6g7"
1512
1547
  },
1513
1548
  "256": {
1514
1549
  key: "256",
@@ -1525,7 +1560,8 @@ var networks = {
1525
1560
  "wss://ws-testnet.hecochain.com"
1526
1561
  ],
1527
1562
  explorer: "https://testnet.hecoinfo.com",
1528
- start: 379560
1563
+ start: 379560,
1564
+ imageIPFS: "QmSJEdToMvmjqoPvVq7awwdMeYKhXUYZMBiax9yHtFGMSq"
1529
1565
  },
1530
1566
  "288": {
1531
1567
  key: "288",
@@ -1538,7 +1574,8 @@ var networks = {
1538
1574
  "https://mainnet.boba.network/"
1539
1575
  ],
1540
1576
  explorer: "https://blockexplorer.boba.network",
1541
- start: 74
1577
+ start: 74,
1578
+ imageIPFS: "QmNc7QZFpPDue3Ef4SsuX55RHkqXxUxSyTCpoASeg2hW6d"
1542
1579
  },
1543
1580
  "321": {
1544
1581
  key: "321",
@@ -1554,7 +1591,8 @@ var networks = {
1554
1591
  "wss://rpc-ws-mainnet.kcc.network"
1555
1592
  ],
1556
1593
  explorer: "https://explorer.kcc.io",
1557
- start: 1487453
1594
+ start: 1487453,
1595
+ imageIPFS: "QmRdzYGhFRG8QLzMJahHrw3vETE2YZ9sywQbEkenSjKEvb"
1558
1596
  },
1559
1597
  "336": {
1560
1598
  key: "336",
@@ -1568,7 +1606,8 @@ var networks = {
1568
1606
  "https://shiden.api.onfinality.io/public"
1569
1607
  ],
1570
1608
  explorer: "https://blockscout.com/shiden",
1571
- start: 1170016
1609
+ start: 1170016,
1610
+ imageIPFS: "QmcqGQE4Sk73zXc3e91TUFFefKBVeaNgbxV141XkSNE4xj"
1572
1611
  },
1573
1612
  "361": {
1574
1613
  key: "361",
@@ -1581,7 +1620,8 @@ var networks = {
1581
1620
  "https://eth-rpc-api.thetatoken.org/rpc"
1582
1621
  ],
1583
1622
  explorer: "https://explorer.thetatoken.org",
1584
- start: 12559216
1623
+ start: 12559216,
1624
+ imageIPFS: "QmcMP9s9mUqfT2SCiP75sZgAVVev7H7RQAKiSx9xWEDKwe"
1585
1625
  },
1586
1626
  "499": {
1587
1627
  key: "499",
@@ -1597,7 +1637,8 @@ var networks = {
1597
1637
  "wss://ws.rupx.io"
1598
1638
  ],
1599
1639
  explorer: "http://scan.rupx.io",
1600
- start: 2762929
1640
+ start: 2762929,
1641
+ imageIPFS: "QmXLZyAr6UNFQ4tkNwSyeNByFvzwYpwiNgV5vHuoxn74Rg"
1601
1642
  },
1602
1643
  "592": {
1603
1644
  key: "592",
@@ -1611,7 +1652,8 @@ var networks = {
1611
1652
  "https://astar.api.onfinality.io/public"
1612
1653
  ],
1613
1654
  explorer: "https://blockscout.com/astar",
1614
- start: 366482
1655
+ start: 366482,
1656
+ imageIPFS: "QmZLQVsUqHBDXutu6ywTvcYXDZG2xBstMfHkfJSzUNpZsc"
1615
1657
  },
1616
1658
  "888": {
1617
1659
  key: "888",
@@ -1626,7 +1668,8 @@ var networks = {
1626
1668
  "wss://api.wanchain.org:8443/ws/v3/ddd16770c68f30350a21114802d5418eafe039b722de52b488e7eee1ee2cd73f"
1627
1669
  ],
1628
1670
  explorer: "https://www.wanscan.org",
1629
- start: 11302663
1671
+ start: 11302663,
1672
+ imageIPFS: "QmewFFN44rkxESFsHG8edaLt1znr62hjvZhGynfXqruzX3"
1630
1673
  },
1631
1674
  "1088": {
1632
1675
  key: "1088",
@@ -1639,7 +1682,8 @@ var networks = {
1639
1682
  "https://andromeda.metis.io/?owner=1088"
1640
1683
  ],
1641
1684
  explorer: "https://andromeda-explorer.metis.io",
1642
- start: 451
1685
+ start: 451,
1686
+ imageIPFS: "QmYeskHqrEvWHqeAuqett64LxfH52HUXZi2T9BAMmgKvBF"
1643
1687
  },
1644
1688
  "1284": {
1645
1689
  key: "1284",
@@ -1652,7 +1696,8 @@ var networks = {
1652
1696
  "https://rpc.api.moonbeam.network"
1653
1697
  ],
1654
1698
  explorer: "https://blockscout.moonbeam.network",
1655
- start: 171135
1699
+ start: 171135,
1700
+ imageIPFS: "QmWKTEK2pj5sBBbHnMHQbWgw6euVdBrk2Ligpi2chrWASk"
1656
1701
  },
1657
1702
  "1285": {
1658
1703
  key: "1285",
@@ -1665,7 +1710,8 @@ var networks = {
1665
1710
  "https://rpc.moonriver.moonbeam.network"
1666
1711
  ],
1667
1712
  explorer: "https://blockscout.moonriver.moonbeam.network",
1668
- start: 413539
1713
+ start: 413539,
1714
+ imageIPFS: "QmXtgPesL87Ejhq2Y7yxsaPYpf4RcnoTYPJWPcv6iiYhoi"
1669
1715
  },
1670
1716
  "1287": {
1671
1717
  key: "1287",
@@ -1679,7 +1725,8 @@ var networks = {
1679
1725
  "https://rpc.testnet.moonbeam.network"
1680
1726
  ],
1681
1727
  explorer: "https://moonbase-blockscout.testnet.moonbeam.network",
1682
- start: 859041
1728
+ start: 859041,
1729
+ imageIPFS: "QmeGbNTU2Jqwg8qLTMGW8n8HSi2VdgCncAaeGzLx6gYnD7"
1683
1730
  },
1684
1731
  "4689": {
1685
1732
  key: "4689",
@@ -1692,7 +1739,8 @@ var networks = {
1692
1739
  "https://babel-api.mainnet.iotex.io"
1693
1740
  ],
1694
1741
  explorer: "https://iotexscan.io",
1695
- start: 11533283
1742
+ start: 11533283,
1743
+ imageIPFS: "QmNkr1UPcBYbvLp7d7Pk4eF3YCsHpaNkfusKZNtykL2EQC"
1696
1744
  },
1697
1745
  "4690": {
1698
1746
  key: "4690",
@@ -1706,7 +1754,8 @@ var networks = {
1706
1754
  "https://babel-api.testnet.iotex.io"
1707
1755
  ],
1708
1756
  explorer: "https://testnet.iotexscan.io",
1709
- start: 8821493
1757
+ start: 8821493,
1758
+ imageIPFS: "QmNkr1UPcBYbvLp7d7Pk4eF3YCsHpaNkfusKZNtykL2EQC"
1710
1759
  },
1711
1760
  "5551": {
1712
1761
  key: "5551",
@@ -1719,7 +1768,8 @@ var networks = {
1719
1768
  "https://l2.nahmii.io"
1720
1769
  ],
1721
1770
  explorer: "https://explorer.nahmii.io",
1722
- start: 4364
1771
+ start: 4364,
1772
+ imageIPFS: "QmPXPCBho3kGLt5rhG9JGkKmzdtLvqZmJqGzzijVCuggWY"
1723
1773
  },
1724
1774
  "5553": {
1725
1775
  key: "5553",
@@ -1733,7 +1783,23 @@ var networks = {
1733
1783
  "https://l2.testnet.nahmii.io"
1734
1784
  ],
1735
1785
  explorer: "https://explorer.testnet.nahmii.io",
1736
- start: 53370
1786
+ start: 53370,
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"
1737
1803
  },
1738
1804
  "10000": {
1739
1805
  key: "10000",
@@ -1745,7 +1811,23 @@ var networks = {
1745
1811
  rpc: [
1746
1812
  "https://smartbch.greyh.at/"
1747
1813
  ],
1748
- explorer: "https://www.smartscan.cash"
1814
+ explorer: "https://www.smartscan.cash",
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"
1749
1831
  },
1750
1832
  "32659": {
1751
1833
  key: "32659",
@@ -1759,7 +1841,8 @@ var networks = {
1759
1841
  ws: [
1760
1842
  "wss://mainnetpublicgateway1.fusionnetwork.io:10001"
1761
1843
  ],
1762
- explorer: "https://fsnex.com"
1844
+ explorer: "https://fsnex.com",
1845
+ imageIPFS: "QmRb6YCGdpQTQcdNTnBb5DUixGpjDp1wz6zoADJwQ7hyFq"
1763
1846
  },
1764
1847
  "42161": {
1765
1848
  key: "42161",
@@ -1771,7 +1854,8 @@ var networks = {
1771
1854
  "https://arb-mainnet.g.alchemy.com/v2/JDvtNGwnHhTltIwfnxQocKwKkCTKA1DL"
1772
1855
  ],
1773
1856
  explorer: "https://arbiscan.io",
1774
- start: 256508
1857
+ start: 256508,
1858
+ imageIPFS: "QmWZ5SMRfvcK8tycsDqojQaSiKedgtVkS7CkZdxPgeCVsZ"
1775
1859
  },
1776
1860
  "42220": {
1777
1861
  key: "42220",
@@ -1781,11 +1865,13 @@ var networks = {
1781
1865
  network: "mainnet",
1782
1866
  multicall: "0xb8d0d2C1391eeB350d2Cd39EfABBaaEC297368D9",
1783
1867
  rpc: [
1868
+ "https://celo.snapshot.org",
1784
1869
  "https://forno.celo.org",
1785
1870
  "https://celo-mainnet--rpc.datahub.figment.io/apikey/e892a66dc36e4d2d98a5d6406d609796/"
1786
1871
  ],
1787
1872
  explorer: "https://explorer.celo.org",
1788
- start: 6599803
1873
+ start: 6599803,
1874
+ imageIPFS: "QmS2tVJ7rdJRe1NHXAi2L86yCbUwVVrmB2mHQeNdJxvQti"
1789
1875
  },
1790
1876
  "42262": {
1791
1877
  key: "42262",
@@ -1798,7 +1884,8 @@ var networks = {
1798
1884
  "https://emerald.oasis.dev"
1799
1885
  ],
1800
1886
  explorer: "https://explorer.emerald.oasis.dev",
1801
- start: 176517
1887
+ start: 176517,
1888
+ imageIPFS: "QmQrZjZZyAcQmPXJM2cUh1KaaDeM8Sfcg3HnvZpBj8wTnG"
1802
1889
  },
1803
1890
  "43114": {
1804
1891
  key: "43114",
@@ -1812,7 +1899,8 @@ var networks = {
1812
1899
  "https://api.avax.network/ext/bc/C/rpc"
1813
1900
  ],
1814
1901
  explorer: "https://snowtrace.io",
1815
- start: 536483
1902
+ start: 536483,
1903
+ imageIPFS: "QmeS75uS7XLR8o8uUzhLRVYPX9vMFf4DXgKxQeCzyy7vM2"
1816
1904
  },
1817
1905
  "80001": {
1818
1906
  key: "80001",
@@ -1829,7 +1917,8 @@ var networks = {
1829
1917
  "wss://ws-mumbai.matic.today"
1830
1918
  ],
1831
1919
  explorer: "https://mumbai.polygonscan.com",
1832
- start: 12011090
1920
+ start: 12011090,
1921
+ imageIPFS: "QmaGokGqgjknfa4xnXKnnwC5ZyXzUjQ7p6KEe4D8G5uFFE"
1833
1922
  },
1834
1923
  "333888": {
1835
1924
  key: "333888",
@@ -1842,7 +1931,8 @@ var networks = {
1842
1931
  rpc: [
1843
1932
  "https://sparta-rpc.polis.tech"
1844
1933
  ],
1845
- explorer: "https://sparta-explorer.polis.tech"
1934
+ explorer: "https://sparta-explorer.polis.tech",
1935
+ imageIPFS: "QmSiCni2Jn58WN74SyGNY1Aw5mSh9ypEfFULhjKxA7Tbpg"
1846
1936
  },
1847
1937
  "333999": {
1848
1938
  key: "333999",
@@ -1855,7 +1945,8 @@ var networks = {
1855
1945
  "https://rpc.polis.tech"
1856
1946
  ],
1857
1947
  explorer: "https://explorer.polis.tech",
1858
- start: 1971
1948
+ start: 1971,
1949
+ imageIPFS: "QmSiCni2Jn58WN74SyGNY1Aw5mSh9ypEfFULhjKxA7Tbpg"
1859
1950
  },
1860
1951
  "1313161554": {
1861
1952
  key: "1313161554",
@@ -1868,7 +1959,8 @@ var networks = {
1868
1959
  "https://mainnet.aurora.dev"
1869
1960
  ],
1870
1961
  explorer: "https://explorer.mainnet.aurora.dev",
1871
- start: 57190533
1962
+ start: 57190533,
1963
+ imageIPFS: "QmeRhsR1UPRTQCizdhmgr2XxphXebVKU5di97uCV2UMFpa"
1872
1964
  },
1873
1965
  "1666600000": {
1874
1966
  key: "1666600000",
@@ -1884,7 +1976,8 @@ var networks = {
1884
1976
  "wss://ws.s0.t.hmny.io"
1885
1977
  ],
1886
1978
  explorer: "https://explorer.harmony.one",
1887
- start: 10911984
1979
+ start: 10911984,
1980
+ imageIPFS: "QmNnGPr1CNvj12SSGzKARtUHv9FyEfE5nES73U4vBWQSJL"
1888
1981
  },
1889
1982
  "1666700000": {
1890
1983
  key: "1666700000",
@@ -1901,7 +1994,8 @@ var networks = {
1901
1994
  "wss://ws.s0.b.hmny.io"
1902
1995
  ],
1903
1996
  explorer: "https://explorer.pops.one",
1904
- start: 7521509
1997
+ start: 7521509,
1998
+ imageIPFS: "QmNnGPr1CNvj12SSGzKARtUHv9FyEfE5nES73U4vBWQSJL"
1905
1999
  },
1906
2000
  "11297108109": {
1907
2001
  key: "11297108109",
@@ -1914,7 +2008,8 @@ var networks = {
1914
2008
  "https://palm-mainnet.infura.io/v3/3a961d6501e54add9a41aa53f15de99b"
1915
2009
  ],
1916
2010
  explorer: "https://explorer.palm.io",
1917
- start: 1172267
2011
+ start: 1172267,
2012
+ imageIPFS: "QmaYQfjLfQpyRWZZZU1BE8X352rXEjNaNeahjvf1aHZrKY"
1918
2013
  }
1919
2014
  };
1920
2015
 
@@ -2469,7 +2564,8 @@ var SNAPSHOT_SUBGRAPH_URL = {
2469
2564
  '42': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-kovan',
2470
2565
  '97': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain',
2471
2566
  '100': 'https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain',
2472
- '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'
2473
2569
  };
2474
2570
  var ENS_RESOLVER_ABI = [
2475
2571
  'function text(bytes32 node, string calldata key) external view returns (string memory)'
@@ -2563,7 +2659,10 @@ function getUrl(uri, gateway) {
2563
2659
  var ipfsGateway = "https://" + gateway;
2564
2660
  if (!uri)
2565
2661
  return null;
2566
- if (!uri.includes('ipfs') && !uri.includes('ipns') && !uri.includes('http'))
2662
+ if (!uri.startsWith('ipfs://') &&
2663
+ !uri.startsWith('ipns://') &&
2664
+ !uri.startsWith('https://') &&
2665
+ !uri.startsWith('http://'))
2567
2666
  return ipfsGateway + "/ipfs/" + uri;
2568
2667
  var uriScheme = uri.split('://')[0];
2569
2668
  if (uriScheme === 'ipfs')