-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into pass-headers
- Loading branch information
Showing
49 changed files
with
1,833 additions
and
2,718 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.DS_Store | ||
node_modules | ||
dist | ||
coverage | ||
|
||
# Remove some common IDE working directories | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const { createHash } = require('crypto'); | ||
|
||
const types = { | ||
Statement: [ | ||
{ name: 'from', type: 'address' }, | ||
{ name: 'timestamp', type: 'uint64' }, | ||
{ name: 'space', type: 'string' }, | ||
{ name: 'about', type: 'string' }, | ||
{ name: 'statement', type: 'string' } | ||
] | ||
}; | ||
function sha256(str) { | ||
return createHash('sha256').update(str).digest('hex'); | ||
} | ||
const hash = sha256(JSON.stringify(types)); | ||
console.log(hash); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
{ | ||
"version": "0.1.3" | ||
"livenet": { | ||
"hub": "https://hub.snapshot.org", | ||
"sequencer": "https://seq.snapshot.org" | ||
}, | ||
"testnet": { | ||
"hub": "https://testnet.snapshot.org", | ||
"sequencer": "https://testnet.seq.snapshot.org" | ||
}, | ||
"local": { | ||
"hub": "http://localhost:3000", | ||
"sequencer": "http://localhost:3001" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
"1": "https://gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH", | ||
"4": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-rinkeby", | ||
"5": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-goerli", | ||
"10": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-optimism", | ||
"42": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-kovan", | ||
"56": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain", | ||
"100": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain", | ||
"137": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon", | ||
"250": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom", | ||
"42161": "https://api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum" | ||
"1": "https://subgrapher.snapshot.org/gateway.thegraph.com/api/0f15b42bdeff7a063a4e1757d7e2f99e/deployments/id/QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH", | ||
"5": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-goerli", | ||
"10": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-optimism", | ||
"56": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-binance-smart-chain", | ||
"100": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-gnosis-chain", | ||
"137": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-polygon", | ||
"250": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-fantom", | ||
"42161": "https://subgrapher.snapshot.org/api.thegraph.com/subgraphs/name/snapshot-labs/snapshot-arbitrum" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.