Add sepolia
This commit is contained in:
parent
fa38839d90
commit
6243da43a5
@ -7,6 +7,7 @@ const deployedBlocks = {
|
|||||||
optimism: 2243689,
|
optimism: 2243689,
|
||||||
arbitrum: 3430648,
|
arbitrum: 3430648,
|
||||||
avalanche: 4429818,
|
avalanche: 4429818,
|
||||||
|
sepolia: 5590273,
|
||||||
};
|
};
|
||||||
|
|
||||||
const contracts = [
|
const contracts = [
|
||||||
@ -498,6 +499,70 @@ const contracts = [
|
|||||||
name: 'Instance',
|
name: 'Instance',
|
||||||
address: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
address: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '0.1',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x44ddE10DeEacD8B91799ff02E4493749dDD320d8',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '1',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x2365a6BfFbaB6f18EFb9228f394a6aaEEf3F24bc',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '10',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x3a28921a352D4D8e5A500Ed4a3EECfD6e641C783',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '100',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x38305EE06D4D89ADb911C603D0df34DE4aE2bFa7',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '100',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x6B9A18d1C227a4972bB6512fB8587d12A1356027',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '1000',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x68DAD9C7BfFe61B44446d894a352E10416c47AfA',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '10000',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xB62F3D4ADe05AB395aBBccAA8F45A2A386C67396',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.sepolia,
|
||||||
|
amount: '100000',
|
||||||
|
network: 'sepolia',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xEDFe671616d42F98E78Afabb6907b9E37d1eD900',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = contracts;
|
module.exports = contracts;
|
14
package.json
14
package.json
@ -3,7 +3,7 @@
|
|||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"generate": "yarn generate-bsc && yarn generate-xdai && yarn generate-matic && yarn generate-mainnet && yarn generate-goerli && yarn generate-avalanche && yarn generate-arbitrum && yarn generate-optimism",
|
"generate": "yarn generate-bsc && yarn generate-xdai && yarn generate-matic && yarn generate-mainnet && yarn generate-goerli && yarn generate-avalanche && yarn generate-arbitrum && yarn generate-optimism && yarn generate-sepolia",
|
||||||
"generate-bsc": "yarn codegen:tornado-bsc && yarn build:tornado-bsc",
|
"generate-bsc": "yarn codegen:tornado-bsc && yarn build:tornado-bsc",
|
||||||
"generate-xdai": "yarn codegen:tornado-xdai && yarn build:tornado-xdai",
|
"generate-xdai": "yarn codegen:tornado-xdai && yarn build:tornado-xdai",
|
||||||
"generate-matic": "yarn codegen:tornado-matic && yarn build:tornado-matic",
|
"generate-matic": "yarn codegen:tornado-matic && yarn build:tornado-matic",
|
||||||
@ -12,6 +12,7 @@
|
|||||||
"generate-avalanche": "yarn codegen:tornado-avalanche && yarn build:tornado-avalanche",
|
"generate-avalanche": "yarn codegen:tornado-avalanche && yarn build:tornado-avalanche",
|
||||||
"generate-arbitrum": "yarn codegen:tornado-arbitrum && yarn build:tornado-arbitrum",
|
"generate-arbitrum": "yarn codegen:tornado-arbitrum && yarn build:tornado-arbitrum",
|
||||||
"generate-optimism": "yarn codegen:tornado-optimism && yarn build:tornado-optimism",
|
"generate-optimism": "yarn codegen:tornado-optimism && yarn build:tornado-optimism",
|
||||||
|
"generate-sepolia": "yarn codegen:tornado-sepolia && yarn build:tornado-sepolia",
|
||||||
"yaml:tornado-bsc": "node ./create-yaml-file create-yaml -e bsc | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-bsc.yaml",
|
"yaml:tornado-bsc": "node ./create-yaml-file create-yaml -e bsc | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-bsc.yaml",
|
||||||
"yaml:tornado-xdai": "node ./create-yaml-file create-yaml -e xdai | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-xdai.yaml",
|
"yaml:tornado-xdai": "node ./create-yaml-file create-yaml -e xdai | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-xdai.yaml",
|
||||||
"yaml:tornado-matic": "node ./create-yaml-file create-yaml -e matic | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-matic.yaml",
|
"yaml:tornado-matic": "node ./create-yaml-file create-yaml -e matic | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-matic.yaml",
|
||||||
@ -20,6 +21,7 @@
|
|||||||
"yaml:tornado-avalanche": "node ./create-yaml-file create-yaml -e avalanche | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-avalanche.yaml",
|
"yaml:tornado-avalanche": "node ./create-yaml-file create-yaml -e avalanche | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-avalanche.yaml",
|
||||||
"yaml:tornado-arbitrum": "node ./create-yaml-file create-yaml -e arbitrum-one | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-arbitrum.yaml",
|
"yaml:tornado-arbitrum": "node ./create-yaml-file create-yaml -e arbitrum-one | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-arbitrum.yaml",
|
||||||
"yaml:tornado-optimism": "node ./create-yaml-file create-yaml -e optimism | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-optimism.yaml",
|
"yaml:tornado-optimism": "node ./create-yaml-file create-yaml -e optimism | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-optimism.yaml",
|
||||||
|
"yaml:tornado-sepolia": "node ./create-yaml-file create-yaml -e sepolia | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
"codegen": "graph codegen",
|
"codegen": "graph codegen",
|
||||||
"codegen:tornado-bsc": "yarn yaml:tornado-bsc && yarn codegen -- subgraphs/tornado-subgraph-bsc.yaml",
|
"codegen:tornado-bsc": "yarn yaml:tornado-bsc && yarn codegen -- subgraphs/tornado-subgraph-bsc.yaml",
|
||||||
"codegen:tornado-xdai": "yarn yaml:tornado-xdai && yarn codegen -- subgraphs/tornado-subgraph-xdai.yaml",
|
"codegen:tornado-xdai": "yarn yaml:tornado-xdai && yarn codegen -- subgraphs/tornado-subgraph-xdai.yaml",
|
||||||
@ -29,6 +31,7 @@
|
|||||||
"codegen:tornado-avalanche": "yarn yaml:tornado-avalanche && yarn codegen -- subgraphs/tornado-subgraph-avalanche.yaml",
|
"codegen:tornado-avalanche": "yarn yaml:tornado-avalanche && yarn codegen -- subgraphs/tornado-subgraph-avalanche.yaml",
|
||||||
"codegen:tornado-arbitrum": "yarn yaml:tornado-arbitrum && yarn codegen -- subgraphs/tornado-subgraph-arbitrum.yaml",
|
"codegen:tornado-arbitrum": "yarn yaml:tornado-arbitrum && yarn codegen -- subgraphs/tornado-subgraph-arbitrum.yaml",
|
||||||
"codegen:tornado-optimism": "yarn yaml:tornado-optimism && yarn codegen -- subgraphs/tornado-subgraph-optimism.yaml",
|
"codegen:tornado-optimism": "yarn yaml:tornado-optimism && yarn codegen -- subgraphs/tornado-subgraph-optimism.yaml",
|
||||||
|
"codegen:tornado-sepolia": "yarn yaml:tornado-sepolia && yarn codegen -- subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
"build": "graph build",
|
"build": "graph build",
|
||||||
"build:tornado-bsc": "graph build subgraphs/tornado-subgraph-bsc.yaml",
|
"build:tornado-bsc": "graph build subgraphs/tornado-subgraph-bsc.yaml",
|
||||||
"build:tornado-xdai": "graph build subgraphs/tornado-subgraph-xdai.yaml",
|
"build:tornado-xdai": "graph build subgraphs/tornado-subgraph-xdai.yaml",
|
||||||
@ -38,8 +41,9 @@
|
|||||||
"build:tornado-avalanche": "graph build subgraphs/tornado-subgraph-avalanche.yaml",
|
"build:tornado-avalanche": "graph build subgraphs/tornado-subgraph-avalanche.yaml",
|
||||||
"build:tornado-arbitrum": "graph build subgraphs/tornado-subgraph-arbitrum.yaml",
|
"build:tornado-arbitrum": "graph build subgraphs/tornado-subgraph-arbitrum.yaml",
|
||||||
"build:tornado-optimism": "graph build subgraphs/tornado-subgraph-optimism.yaml",
|
"build:tornado-optimism": "graph build subgraphs/tornado-subgraph-optimism.yaml",
|
||||||
|
"build:tornado-sepolia": "graph build subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
"create": "graph create --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001/",
|
"create": "graph create --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001/",
|
||||||
"create:all": "yarn run create:tornado-bsc && yarn run create:tornado-xdai && yarn run create:tornado-matic && yarn run create:tornado-mainnet && yarn run create:tornado-avalanche && yarn run create:tornado-arbitrum && yarn run create:tornado-optimism",
|
"create:all": "yarn run create:tornado-bsc && yarn run create:tornado-xdai && yarn run create:tornado-matic && yarn run create:tornado-mainnet && yarn run create:tornado-avalanche && yarn run create:tornado-arbitrum && yarn run create:tornado-optimism && yarn run create:tornado-sepolia",
|
||||||
"create:tornado-bsc": "yarn run create -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
|
"create:tornado-bsc": "yarn run create -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
|
||||||
"create:tornado-xdai": "yarn run create -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
|
"create:tornado-xdai": "yarn run create -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
|
||||||
"create:tornado-matic": "yarn run create -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
|
"create:tornado-matic": "yarn run create -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
|
||||||
@ -48,8 +52,9 @@
|
|||||||
"create:tornado-avalanche": "yarn run create -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
|
"create:tornado-avalanche": "yarn run create -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
|
||||||
"create:tornado-arbitrum": "yarn run create -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml",
|
"create:tornado-arbitrum": "yarn run create -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml",
|
||||||
"create:tornado-optimism": "yarn run create -- tornadocash/optimism-tornado-subgraph subgraphs/tornado-subgraph-optimism.yaml",
|
"create:tornado-optimism": "yarn run create -- tornadocash/optimism-tornado-subgraph subgraphs/tornado-subgraph-optimism.yaml",
|
||||||
|
"create:tornado-sepolia": "yarn run create -- tornadocash/sepolia-tornado-subgraph subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
"deploy": "graph deploy --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001/",
|
"deploy": "graph deploy --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001/",
|
||||||
"deploy:all": "yarn deploy:tornado-bsc && yarn deploy:tornado-xdai && yarn deploy:tornado-matic && yarn deploy:tornado-mainnet && yarn deploy:tornado-avalanche && yarn deploy:tornado-arbitrum && yarn deploy:tornado-optimism",
|
"deploy:all": "yarn deploy:tornado-bsc && yarn deploy:tornado-xdai && yarn deploy:tornado-matic && yarn deploy:tornado-mainnet && yarn deploy:tornado-avalanche && yarn deploy:tornado-arbitrum && yarn deploy:tornado-optimism && yarn deploy:tornado-sepolia",
|
||||||
"deploy:tornado-bsc": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
|
"deploy:tornado-bsc": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
|
||||||
"deploy:tornado-xdai": "yarn deploy -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
|
"deploy:tornado-xdai": "yarn deploy -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
|
||||||
"deploy:tornado-matic": "yarn deploy -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
|
"deploy:tornado-matic": "yarn deploy -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
|
||||||
@ -57,7 +62,8 @@
|
|||||||
"deploy:tornado-goerli": "yarn deploy -- tornadocash/goerli-tornado-subgraph subgraphs/tornado-subgraph-goerli.yaml",
|
"deploy:tornado-goerli": "yarn deploy -- tornadocash/goerli-tornado-subgraph subgraphs/tornado-subgraph-goerli.yaml",
|
||||||
"deploy:tornado-avalanche": "yarn deploy -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
|
"deploy:tornado-avalanche": "yarn deploy -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
|
||||||
"deploy:tornado-arbitrum": "yarn deploy -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml",
|
"deploy:tornado-arbitrum": "yarn deploy -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml",
|
||||||
"deploy:tornado-optimism": "yarn deploy -- tornadocash/optimism-tornado-subgraph subgraphs/tornado-subgraph-optimism.yaml"
|
"deploy:tornado-optimism": "yarn deploy -- tornadocash/optimism-tornado-subgraph subgraphs/tornado-subgraph-optimism.yaml",
|
||||||
|
"deploy:tornado-sepolia": "yarn deploy -- tornadocash/sepolia-tornado-subgraph subgraphs/tornado-subgraph-sepolia.yaml"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@graphprotocol/graph-cli": "^0.20.0",
|
"@graphprotocol/graph-cli": "^0.20.0",
|
||||||
|
@ -183,4 +183,28 @@ contractsToInstances.set("0x330bdfade01ee9bf63c209ee33102dd334618e0a_optimism",
|
|||||||
contractsToInstances.set("0x1e34a77868e19a6647b1f2f47b51ed72dede95dd_optimism", // Instance-eth-100
|
contractsToInstances.set("0x1e34a77868e19a6647b1f2f47b51ed72dede95dd_optimism", // Instance-eth-100
|
||||||
"eth-100"
|
"eth-100"
|
||||||
);
|
);
|
||||||
|
contractsToInstances.set("0x44dde10deeacd8b91799ff02e4493749ddd320d8_sepolia", // Instance-eth-0.1
|
||||||
|
"eth-0.1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x2365a6bffbab6f18efb9228f394a6aaeef3f24bc_sepolia", // Instance-eth-1
|
||||||
|
"eth-1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x3a28921a352d4d8e5a500ed4a3eecfd6e641c783_sepolia", // Instance-eth-10
|
||||||
|
"eth-10"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x38305ee06d4d89adb911c603d0df34de4ae2bfa7_sepolia", // Instance-eth-100
|
||||||
|
"eth-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x6b9a18d1c227a4972bb6512fb8587d12a1356027_sepolia", // Instance-dai-100
|
||||||
|
"dai-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x68dad9c7bffe61b44446d894a352e10416c47afa_sepolia", // Instance-dai-1000
|
||||||
|
"dai-1000"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xb62f3d4ade05ab395abbccaa8f45a2a386c67396_sepolia", // Instance-dai-10000
|
||||||
|
"dai-10000"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xedfe671616d42f98e78afabb6907b9e37d1ed900_sepolia", // Instance-dai-100000
|
||||||
|
"dai-100000"
|
||||||
|
);
|
||||||
// this is a read only file generated by manual inputs to file mustache/templates/rates/contracts.js.
|
// this is a read only file generated by manual inputs to file mustache/templates/rates/contracts.js.
|
Loading…
Reference in New Issue
Block a user