@snapshot-labs/snapshot.js 0.4.24 → 0.4.27
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 +1 -0
- package/dist/snapshot.cjs.js +31 -1
- package/dist/snapshot.esm.js +31 -1
- package/dist/snapshot.min.js +1 -1
- package/dist/utils.d.ts +2 -0
- package/package.json +1 -1
- package/src/delegationSubgraphs.json +2 -1
- package/src/networks.json +31 -2
package/dist/index.d.ts
CHANGED
package/dist/snapshot.cjs.js
CHANGED
|
@@ -2568,6 +2568,20 @@ var networks = {
|
|
|
2568
2568
|
explorer: "https://testnet.cubescan.network",
|
|
2569
2569
|
start: 0,
|
|
2570
2570
|
logo: "ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz"
|
|
2571
|
+
},
|
|
2572
|
+
"2000": {
|
|
2573
|
+
key: "2000",
|
|
2574
|
+
name: "Doge Chain",
|
|
2575
|
+
shortName: "dogechain",
|
|
2576
|
+
chainId: 2000,
|
|
2577
|
+
network: "mainnet",
|
|
2578
|
+
multicall: "0x6f9D3f3932B417bd4957585D236Cbc32b32C0BDc",
|
|
2579
|
+
rpc: [
|
|
2580
|
+
"https://rpc.dogechain.dog"
|
|
2581
|
+
],
|
|
2582
|
+
explorer: "https://explorer.dogechain.dog",
|
|
2583
|
+
start: 877115,
|
|
2584
|
+
logo: "ipfs://bafkreigovfh3pinsdih777issfgaflwu2yjzroljs2642gbvwikcd3nm4i"
|
|
2571
2585
|
},
|
|
2572
2586
|
"4689": {
|
|
2573
2587
|
key: "4689",
|
|
@@ -3040,6 +3054,21 @@ var networks = {
|
|
|
3040
3054
|
explorer: "https://explorer.palm.io",
|
|
3041
3055
|
start: 1172267,
|
|
3042
3056
|
logo: "ipfs://QmaYQfjLfQpyRWZZZU1BE8X352rXEjNaNeahjvf1aHZrKY"
|
|
3057
|
+
},
|
|
3058
|
+
"11297108099": {
|
|
3059
|
+
key: "11297108099",
|
|
3060
|
+
name: "Palm Testnet",
|
|
3061
|
+
shortName: "Palm",
|
|
3062
|
+
testnet: true,
|
|
3063
|
+
chainId: 11297108099,
|
|
3064
|
+
network: "testnet",
|
|
3065
|
+
multicall: "0x020D24E0b91Fa18Aade990dCEc7F21dcc8e5d174",
|
|
3066
|
+
rpc: [
|
|
3067
|
+
"https://palm-testnet.infura.io/v3/e504875614714d3aac7061d4a197b190"
|
|
3068
|
+
],
|
|
3069
|
+
explorer: "https://explorer.palm-uat.xyz/",
|
|
3070
|
+
start: 7282345,
|
|
3071
|
+
logo: "ipfs://QmRHB9TqMdVHY392vYiv8sTJ7VHShkq5FT6nS9fPuUNBf1"
|
|
3043
3072
|
}
|
|
3044
3073
|
};
|
|
3045
3074
|
|
|
@@ -3052,7 +3081,8 @@ var delegationSubgraphs = {
|
|
|
3052
3081
|
"56": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain",
|
|
3053
3082
|
"100": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain",
|
|
3054
3083
|
"137": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon",
|
|
3055
|
-
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom"
|
|
3084
|
+
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom",
|
|
3085
|
+
"42161": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum"
|
|
3056
3086
|
};
|
|
3057
3087
|
|
|
3058
3088
|
var SingleChoiceVoting = /** @class */ (function () {
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -2559,6 +2559,20 @@ var networks = {
|
|
|
2559
2559
|
explorer: "https://testnet.cubescan.network",
|
|
2560
2560
|
start: 0,
|
|
2561
2561
|
logo: "ipfs://QmbENgHTymTUUArX5MZ2XXH69WGenirU3oamkRD448hYdz"
|
|
2562
|
+
},
|
|
2563
|
+
"2000": {
|
|
2564
|
+
key: "2000",
|
|
2565
|
+
name: "Doge Chain",
|
|
2566
|
+
shortName: "dogechain",
|
|
2567
|
+
chainId: 2000,
|
|
2568
|
+
network: "mainnet",
|
|
2569
|
+
multicall: "0x6f9D3f3932B417bd4957585D236Cbc32b32C0BDc",
|
|
2570
|
+
rpc: [
|
|
2571
|
+
"https://rpc.dogechain.dog"
|
|
2572
|
+
],
|
|
2573
|
+
explorer: "https://explorer.dogechain.dog",
|
|
2574
|
+
start: 877115,
|
|
2575
|
+
logo: "ipfs://bafkreigovfh3pinsdih777issfgaflwu2yjzroljs2642gbvwikcd3nm4i"
|
|
2562
2576
|
},
|
|
2563
2577
|
"4689": {
|
|
2564
2578
|
key: "4689",
|
|
@@ -3031,6 +3045,21 @@ var networks = {
|
|
|
3031
3045
|
explorer: "https://explorer.palm.io",
|
|
3032
3046
|
start: 1172267,
|
|
3033
3047
|
logo: "ipfs://QmaYQfjLfQpyRWZZZU1BE8X352rXEjNaNeahjvf1aHZrKY"
|
|
3048
|
+
},
|
|
3049
|
+
"11297108099": {
|
|
3050
|
+
key: "11297108099",
|
|
3051
|
+
name: "Palm Testnet",
|
|
3052
|
+
shortName: "Palm",
|
|
3053
|
+
testnet: true,
|
|
3054
|
+
chainId: 11297108099,
|
|
3055
|
+
network: "testnet",
|
|
3056
|
+
multicall: "0x020D24E0b91Fa18Aade990dCEc7F21dcc8e5d174",
|
|
3057
|
+
rpc: [
|
|
3058
|
+
"https://palm-testnet.infura.io/v3/e504875614714d3aac7061d4a197b190"
|
|
3059
|
+
],
|
|
3060
|
+
explorer: "https://explorer.palm-uat.xyz/",
|
|
3061
|
+
start: 7282345,
|
|
3062
|
+
logo: "ipfs://QmRHB9TqMdVHY392vYiv8sTJ7VHShkq5FT6nS9fPuUNBf1"
|
|
3034
3063
|
}
|
|
3035
3064
|
};
|
|
3036
3065
|
|
|
@@ -3043,7 +3072,8 @@ var delegationSubgraphs = {
|
|
|
3043
3072
|
"56": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain",
|
|
3044
3073
|
"100": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain",
|
|
3045
3074
|
"137": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon",
|
|
3046
|
-
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom"
|
|
3075
|
+
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom",
|
|
3076
|
+
"42161": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum"
|
|
3047
3077
|
};
|
|
3048
3078
|
|
|
3049
3079
|
var SingleChoiceVoting = /** @class */ (function () {
|