@snapshot-labs/snapshot.js 0.11.10 → 0.11.12
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 +6 -1
- package/dist/schemas/index.d.ts +6 -1
- package/dist/snapshot.cjs.js +18 -1
- package/dist/snapshot.esm.js +18 -1
- package/dist/snapshot.min.js +2 -2
- package/package.json +1 -1
- package/src/networks.json +8 -1
- package/src/schemas/space.json +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -304,6 +304,10 @@ declare const _default: {
|
|
|
304
304
|
type: string;
|
|
305
305
|
minimum: number;
|
|
306
306
|
};
|
|
307
|
+
quorumType: {
|
|
308
|
+
type: string;
|
|
309
|
+
enum: string[];
|
|
310
|
+
};
|
|
307
311
|
blind: {
|
|
308
312
|
type: string;
|
|
309
313
|
};
|
|
@@ -375,13 +379,14 @@ declare const _default: {
|
|
|
375
379
|
boost: {
|
|
376
380
|
type: string;
|
|
377
381
|
properties: {
|
|
378
|
-
|
|
382
|
+
enabled: {
|
|
379
383
|
type: string;
|
|
380
384
|
};
|
|
381
385
|
bribeEnabled: {
|
|
382
386
|
type: string;
|
|
383
387
|
};
|
|
384
388
|
};
|
|
389
|
+
required: string[];
|
|
385
390
|
additionalProperties: boolean;
|
|
386
391
|
};
|
|
387
392
|
};
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -300,6 +300,10 @@ declare const _default: {
|
|
|
300
300
|
type: string;
|
|
301
301
|
minimum: number;
|
|
302
302
|
};
|
|
303
|
+
quorumType: {
|
|
304
|
+
type: string;
|
|
305
|
+
enum: string[];
|
|
306
|
+
};
|
|
303
307
|
blind: {
|
|
304
308
|
type: string;
|
|
305
309
|
};
|
|
@@ -371,13 +375,14 @@ declare const _default: {
|
|
|
371
375
|
boost: {
|
|
372
376
|
type: string;
|
|
373
377
|
properties: {
|
|
374
|
-
|
|
378
|
+
enabled: {
|
|
375
379
|
type: string;
|
|
376
380
|
};
|
|
377
381
|
bribeEnabled: {
|
|
378
382
|
type: string;
|
|
379
383
|
};
|
|
380
384
|
};
|
|
385
|
+
required: string[];
|
|
381
386
|
additionalProperties: boolean;
|
|
382
387
|
};
|
|
383
388
|
};
|
package/dist/snapshot.cjs.js
CHANGED
|
@@ -894,6 +894,12 @@ var definitions = {
|
|
|
894
894
|
type: "number",
|
|
895
895
|
minimum: 0
|
|
896
896
|
},
|
|
897
|
+
quorumType: {
|
|
898
|
+
type: "string",
|
|
899
|
+
"enum": [
|
|
900
|
+
"optimistic"
|
|
901
|
+
]
|
|
902
|
+
},
|
|
897
903
|
blind: {
|
|
898
904
|
type: "boolean"
|
|
899
905
|
},
|
|
@@ -985,13 +991,17 @@ var definitions = {
|
|
|
985
991
|
boost: {
|
|
986
992
|
type: "object",
|
|
987
993
|
properties: {
|
|
988
|
-
|
|
994
|
+
enabled: {
|
|
989
995
|
type: "boolean"
|
|
990
996
|
},
|
|
991
997
|
bribeEnabled: {
|
|
992
998
|
type: "boolean"
|
|
993
999
|
}
|
|
994
1000
|
},
|
|
1001
|
+
required: [
|
|
1002
|
+
"enabled",
|
|
1003
|
+
"bribeEnabled"
|
|
1004
|
+
],
|
|
995
1005
|
additionalProperties: false
|
|
996
1006
|
}
|
|
997
1007
|
},
|
|
@@ -1625,6 +1635,7 @@ var networks = {
|
|
|
1625
1635
|
"0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41"
|
|
1626
1636
|
],
|
|
1627
1637
|
ensNameWrapper: "0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401",
|
|
1638
|
+
ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ens",
|
|
1628
1639
|
rpc: [
|
|
1629
1640
|
"https://rpc.ankr.com/eth",
|
|
1630
1641
|
{
|
|
@@ -1663,6 +1674,7 @@ var networks = {
|
|
|
1663
1674
|
"0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329"
|
|
1664
1675
|
],
|
|
1665
1676
|
ensNameWrapper: "0x114D4603199df73e7D157787f8778E21fCd13066",
|
|
1677
|
+
ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ensgoerli",
|
|
1666
1678
|
rpc: [
|
|
1667
1679
|
"https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
|
|
1668
1680
|
],
|
|
@@ -3008,6 +3020,11 @@ var networks = {
|
|
|
3008
3020
|
rpc: [
|
|
3009
3021
|
"https://sepolia.infura.io/v3/d26b4fd748814fe994b05899fd89e667"
|
|
3010
3022
|
],
|
|
3023
|
+
ensResolvers: [
|
|
3024
|
+
"0x8FADE66B79cC9f707aB26799354482EB93a5B7dD"
|
|
3025
|
+
],
|
|
3026
|
+
ensNameWrapper: "0x0635513f179D50A207757E05759CbD106d7dFcE8",
|
|
3027
|
+
ensSubgraph: "https://api.studio.thegraph.com/proxy/49574/enssepolia/version/latest",
|
|
3011
3028
|
explorer: {
|
|
3012
3029
|
url: "https://sepolia.etherscan.io",
|
|
3013
3030
|
apiUrl: "https://api-sepolia.etherscan.io"
|
package/dist/snapshot.esm.js
CHANGED
|
@@ -884,6 +884,12 @@ var definitions = {
|
|
|
884
884
|
type: "number",
|
|
885
885
|
minimum: 0
|
|
886
886
|
},
|
|
887
|
+
quorumType: {
|
|
888
|
+
type: "string",
|
|
889
|
+
"enum": [
|
|
890
|
+
"optimistic"
|
|
891
|
+
]
|
|
892
|
+
},
|
|
887
893
|
blind: {
|
|
888
894
|
type: "boolean"
|
|
889
895
|
},
|
|
@@ -975,13 +981,17 @@ var definitions = {
|
|
|
975
981
|
boost: {
|
|
976
982
|
type: "object",
|
|
977
983
|
properties: {
|
|
978
|
-
|
|
984
|
+
enabled: {
|
|
979
985
|
type: "boolean"
|
|
980
986
|
},
|
|
981
987
|
bribeEnabled: {
|
|
982
988
|
type: "boolean"
|
|
983
989
|
}
|
|
984
990
|
},
|
|
991
|
+
required: [
|
|
992
|
+
"enabled",
|
|
993
|
+
"bribeEnabled"
|
|
994
|
+
],
|
|
985
995
|
additionalProperties: false
|
|
986
996
|
}
|
|
987
997
|
},
|
|
@@ -1615,6 +1625,7 @@ var networks = {
|
|
|
1615
1625
|
"0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41"
|
|
1616
1626
|
],
|
|
1617
1627
|
ensNameWrapper: "0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401",
|
|
1628
|
+
ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ens",
|
|
1618
1629
|
rpc: [
|
|
1619
1630
|
"https://rpc.ankr.com/eth",
|
|
1620
1631
|
{
|
|
@@ -1653,6 +1664,7 @@ var networks = {
|
|
|
1653
1664
|
"0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329"
|
|
1654
1665
|
],
|
|
1655
1666
|
ensNameWrapper: "0x114D4603199df73e7D157787f8778E21fCd13066",
|
|
1667
|
+
ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ensgoerli",
|
|
1656
1668
|
rpc: [
|
|
1657
1669
|
"https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
|
|
1658
1670
|
],
|
|
@@ -2998,6 +3010,11 @@ var networks = {
|
|
|
2998
3010
|
rpc: [
|
|
2999
3011
|
"https://sepolia.infura.io/v3/d26b4fd748814fe994b05899fd89e667"
|
|
3000
3012
|
],
|
|
3013
|
+
ensResolvers: [
|
|
3014
|
+
"0x8FADE66B79cC9f707aB26799354482EB93a5B7dD"
|
|
3015
|
+
],
|
|
3016
|
+
ensNameWrapper: "0x0635513f179D50A207757E05759CbD106d7dFcE8",
|
|
3017
|
+
ensSubgraph: "https://api.studio.thegraph.com/proxy/49574/enssepolia/version/latest",
|
|
3001
3018
|
explorer: {
|
|
3002
3019
|
url: "https://sepolia.etherscan.io",
|
|
3003
3020
|
apiUrl: "https://api-sepolia.etherscan.io"
|