Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 77f82eb01f | |||
| fa262f12a9 |
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025 Tornado Cash
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
44
README.md
44
README.md
@ -153,37 +153,57 @@ ingestor = "primary_node"
|
|||||||
[chains.mainnet]
|
[chains.mainnet]
|
||||||
shard = "primary"
|
shard = "primary"
|
||||||
provider = [
|
provider = [
|
||||||
{ label = "mainnet", transport = "rpc", url = "https://mainnet.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
{ label = "mainnet", transport = "rpc", url = "https://mainnet.chainnodes.org/${API_KEY}", features = [] }
|
||||||
]
|
]
|
||||||
[chains.matic]
|
[chains.matic]
|
||||||
shard = "primary"
|
shard = "primary"
|
||||||
provider = [
|
provider = [
|
||||||
{ label = "matic", transport = "rpc", url = "https://polygon-mainnet.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
{ label = "matic", transport = "rpc", url = "https://polygon-mainnet.chainnodes.org/${API_KEY}", features = [] }
|
||||||
]
|
]
|
||||||
[chains.bsc]
|
[chains.bsc]
|
||||||
shard = "primary"
|
shard = "primary"
|
||||||
provider = [
|
provider = [
|
||||||
{ label = "bsc", transport = "rpc", url = "https://bsc-mainnet.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
{ label = "bsc", transport = "rpc", url = "https://bsc-mainnet.chainnodes.org/${API_KEY}", features = [] }
|
||||||
]
|
]
|
||||||
[chains.xdai]
|
[chains.xdai]
|
||||||
shard = "primary"
|
shard = "primary"
|
||||||
provider = [
|
provider = [
|
||||||
{ label = "xdai", transport = "rpc", url = "https://gnosis-mainnet.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
{ label = "xdai", transport = "rpc", url = "https://gnosis-mainnet.chainnodes.org/${API_KEY}", features = [] }
|
||||||
]
|
|
||||||
[chains.goerli]
|
|
||||||
shard = "primary"
|
|
||||||
provider = [
|
|
||||||
{ label = "goerli", transport = "rpc", url = "https://goerli.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
|
||||||
]
|
]
|
||||||
[chains.arbitrum-one]
|
[chains.arbitrum-one]
|
||||||
shard = "primary"
|
shard = "primary"
|
||||||
provider = [
|
provider = [
|
||||||
{ label = "arbitrum-one", transport = "rpc", url = "https://arbitrum-one.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
{ label = "arbitrum-one", transport = "rpc", url = "https://arbitrum-one.chainnodes.org/${API_KEY}", features = [] }
|
||||||
]
|
]
|
||||||
[chains.optimism]
|
[chains.optimism]
|
||||||
shard = "primary"
|
shard = "primary"
|
||||||
provider = [
|
provider = [
|
||||||
{ label = "optimism", transport = "rpc", url = "https://optimism-mainnet.chainnodes.org/${API_KEY}", features = ["traces", "archive"] }
|
{ label = "optimism", transport = "rpc", url = "https://optimism-mainnet.chainnodes.org/${API_KEY}", features = [] }
|
||||||
|
]
|
||||||
|
[chains.sepolia]
|
||||||
|
shard = "primary"
|
||||||
|
provider = [
|
||||||
|
{ label = "sepolia", transport = "rpc", url = "https://sepolia.chainnodes.org/${API_KEY}", features = [] }
|
||||||
|
]
|
||||||
|
[chains.base]
|
||||||
|
shard = "primary"
|
||||||
|
provider = [
|
||||||
|
{ label = "base", transport = "rpc", url = "https://base-mainnet.chainnodes.org/${API_KEY}", features = [] }
|
||||||
|
]
|
||||||
|
[chains.blast]
|
||||||
|
shard = "primary"
|
||||||
|
provider = [
|
||||||
|
{ label = "blast", transport = "rpc", url = "https://blast-rpc-here", features = [] }
|
||||||
|
]
|
||||||
|
[chains.etc]
|
||||||
|
shard = "primary"
|
||||||
|
provider = [
|
||||||
|
{ label = "etc", transport = "rpc", url = "https://etc-rpc-here", features = [] }
|
||||||
|
]
|
||||||
|
[chains.mordor]
|
||||||
|
shard = "primary"
|
||||||
|
provider = [
|
||||||
|
{ label = "mordor", transport = "rpc", url = "https://mordor-rpc-here", features = [] }
|
||||||
]
|
]
|
||||||
|
|
||||||
[deployment]
|
[deployment]
|
||||||
@ -195,7 +215,7 @@ indexers = [
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
If Avalanche support is needed, extend the above config accordingly and make sure to use an RPC link for Avalanche.
|
Note that chains are optional and you only need to provide necessary chains and it's RPC urls for the specific network's subgraph.
|
||||||
|
|
||||||
Double check everything and deploy with `docker compose up -d`.
|
Double check everything and deploy with `docker compose up -d`.
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const program = require('commander');
|
const { program } = require('commander');
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('create-yaml')
|
.command('create-yaml')
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
yaml: [
|
yaml: [
|
||||||
{
|
{
|
||||||
specVersion: '0.0.2',
|
specVersion: '1.3.0',
|
||||||
repository: 'https://github.com/tornadocash/tornado-subgraph',
|
repository: 'https://github.com/tornadocash/tornado-subgraph',
|
||||||
dataSourceKind: 'ethereum/contract',
|
dataSourceKind: 'ethereum/contract',
|
||||||
mapping: {
|
mapping: {
|
||||||
kind: 'ethereum/events',
|
kind: 'ethereum/events',
|
||||||
version: '0.0.4',
|
version: '0.0.9',
|
||||||
language: 'wasm/assemblyscript',
|
language: 'wasm/assemblyscript',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -53,6 +53,30 @@ const contracts = [
|
|||||||
name: 'Echoer',
|
name: 'Echoer',
|
||||||
address: '0xcDD1fc3F5ac2782D83449d3AbE80D6b7B273B0e5',
|
address: '0xcDD1fc3F5ac2782D83449d3AbE80D6b7B273B0e5',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prod: 23149794,
|
||||||
|
network: 'base',
|
||||||
|
name: 'Echoer',
|
||||||
|
address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: 12144065,
|
||||||
|
network: 'blast',
|
||||||
|
name: 'Echoer',
|
||||||
|
address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: 22412211,
|
||||||
|
network: 'etc',
|
||||||
|
name: 'Echoer',
|
||||||
|
address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: 13890096,
|
||||||
|
network: 'mordor',
|
||||||
|
name: 'Echoer',
|
||||||
|
address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = contracts;
|
module.exports = contracts;
|
||||||
|
|||||||
@ -8,6 +8,10 @@ const deployedBlocks = {
|
|||||||
arbitrum: 3430648,
|
arbitrum: 3430648,
|
||||||
avalanche: 4429818,
|
avalanche: 4429818,
|
||||||
sepolia: 5594395,
|
sepolia: 5594395,
|
||||||
|
base: 23149794,
|
||||||
|
blast: 12144065,
|
||||||
|
etc: 22412211,
|
||||||
|
mordor: 13890096,
|
||||||
};
|
};
|
||||||
|
|
||||||
const contracts = [
|
const contracts = [
|
||||||
@ -563,6 +567,262 @@ const contracts = [
|
|||||||
name: 'Instance',
|
name: 'Instance',
|
||||||
address: '0x73B4BD04bF83206B6e979BE2507098F92EDf4F90',
|
address: '0x73B4BD04bF83206B6e979BE2507098F92EDf4F90',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.001',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x82859DC3697062c16422E9b5e8Ba1B6a6EC72c76',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.01',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xA287c40411685438750a247Ca67488DEBe56EE32',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.1',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '1',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '10',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '100',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '10',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x70CC374aE7D1549a4666b7172B78dDCF672B74f7',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '100',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xD063894588177B8362Dda6C0A7EF09BF6fDF851c',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '1000',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xa7513fdfF61fc83a9C5c08CE31266e6dd400C54E',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '10000',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x8f05eDE57098D843F30bE74AC25c292F87b7f775',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '100000',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'dai',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xeB7fc86c32e9a5E9DD2a0a78C091b8b625cbee24',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.0001',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'tbtc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x5465800D7Be34dAe2c1572d2227De94dE93B4432',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.001',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'tbtc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xf2d3404c03C8cC0b120bd6E8edD6F69226F03c6d',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.01',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'tbtc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x4261d5209A285410DEa8173B6FE1A0e7BCf20f7c',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '0.1',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'tbtc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x9FB147F49bFE17D19789547187EAE2406590b217',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.base,
|
||||||
|
amount: '1',
|
||||||
|
network: 'base',
|
||||||
|
currency: 'tbtc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x2A8515F39716B0C160a3eB32D24E4cbeB76932d2',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.blast,
|
||||||
|
amount: '0.001',
|
||||||
|
network: 'blast',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x82859DC3697062c16422E9b5e8Ba1B6a6EC72c76',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.blast,
|
||||||
|
amount: '0.01',
|
||||||
|
network: 'blast',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xA287c40411685438750a247Ca67488DEBe56EE32',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.blast,
|
||||||
|
amount: '0.1',
|
||||||
|
network: 'blast',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.blast,
|
||||||
|
amount: '1',
|
||||||
|
network: 'blast',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.blast,
|
||||||
|
amount: '10',
|
||||||
|
network: 'blast',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.blast,
|
||||||
|
amount: '100',
|
||||||
|
network: 'blast',
|
||||||
|
currency: 'eth',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.etc,
|
||||||
|
amount: '0.1',
|
||||||
|
network: 'etc',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.etc,
|
||||||
|
amount: '1',
|
||||||
|
network: 'etc',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.etc,
|
||||||
|
amount: '10',
|
||||||
|
network: 'etc',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.etc,
|
||||||
|
amount: '100',
|
||||||
|
network: 'etc',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.etc,
|
||||||
|
amount: '1000',
|
||||||
|
network: 'etc',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.mordor,
|
||||||
|
amount: '0.1',
|
||||||
|
network: 'mordor',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.mordor,
|
||||||
|
amount: '1',
|
||||||
|
network: 'mordor',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.mordor,
|
||||||
|
amount: '10',
|
||||||
|
network: 'mordor',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.mordor,
|
||||||
|
amount: '100',
|
||||||
|
network: 'mordor',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: deployedBlocks.mordor,
|
||||||
|
amount: '1000',
|
||||||
|
network: 'mordor',
|
||||||
|
currency: 'etc',
|
||||||
|
name: 'Instance',
|
||||||
|
address: '0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = contracts;
|
module.exports = contracts;
|
||||||
@ -6,7 +6,7 @@ const Contracts = require('./contracts');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
createYaml: (env) => {
|
createYaml: (env) => {
|
||||||
const createInstanceBlock = ({ name, amount, currency, network, startBlocks, address }) => ({
|
const createInstanceBlock = ({ name, amount, currency, network, startBlocks, address }) => ({
|
||||||
name: `${name}-${amount}-${currency}`,
|
name: `${name}-${network}-${amount}-${currency}`,
|
||||||
network,
|
network,
|
||||||
mappingFile: '../src/mapping-instance.ts',
|
mappingFile: '../src/mapping-instance.ts',
|
||||||
startBlock: startBlocks.prod,
|
startBlock: startBlocks.prod,
|
||||||
@ -43,7 +43,7 @@ module.exports = {
|
|||||||
contractsToInstancesContent += `contractsToInstances.set("${address.toLowerCase()}_${network}",${space}//${space}${name}-${currency}-${amount}${newLine}${doubleSpace}"${currency}${'-'}${amount}"${newLine});${newLine}`;
|
contractsToInstancesContent += `contractsToInstances.set("${address.toLowerCase()}_${network}",${space}//${space}${name}-${currency}-${amount}${newLine}${doubleSpace}"${currency}${'-'}${amount}"${newLine});${newLine}`;
|
||||||
}
|
}
|
||||||
if (network === env && reExportContent === '') {
|
if (network === env && reExportContent === '') {
|
||||||
reExportContent += `${readOnlyComment}${newLine}export * from "./${name}-${amount}-${currency}/Instance";${newLine}`;
|
reExportContent += `${readOnlyComment}${newLine}export * from "./${name}-${network}-${amount}-${currency}/Instance";${newLine}`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -65,6 +65,30 @@ const contracts = [
|
|||||||
network: 'sepolia',
|
network: 'sepolia',
|
||||||
address: '0x1572AFE6949fdF51Cb3E0856216670ae9Ee160Ee',
|
address: '0x1572AFE6949fdF51Cb3E0856216670ae9Ee160Ee',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prod: 23149794,
|
||||||
|
name: 'Proxy',
|
||||||
|
network: 'base',
|
||||||
|
address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: 12144065,
|
||||||
|
name: 'Proxy',
|
||||||
|
network: 'blast',
|
||||||
|
address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: 22412211,
|
||||||
|
name: 'Proxy',
|
||||||
|
network: 'etc',
|
||||||
|
address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prod: 13890096,
|
||||||
|
name: 'Proxy',
|
||||||
|
network: 'mordor',
|
||||||
|
address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = contracts;
|
module.exports = contracts;
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
specVersion: {{specVersion}}
|
specVersion: {{specVersion}}
|
||||||
description: {{description}}
|
description: {{description}}
|
||||||
repository: {{&repository}}
|
repository: {{&repository}}
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: {{&schemaFile}}
|
file: {{&schemaFile}}
|
||||||
dataSources:
|
dataSources:
|
||||||
|
|||||||
84
package.json
84
package.json
@ -1,85 +1,107 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-graph-proxy",
|
"name": "tornado-subgraph",
|
||||||
"license": "UNLICENSED",
|
"private": true,
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Tornado Cash Classic Contracts Subgraph",
|
||||||
|
"author": "Tornado Cash",
|
||||||
|
"license": "MIT",
|
||||||
"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 && yarn generate-sepolia",
|
"generate": "yarn generate-bsc && yarn generate-xdai && yarn generate-matic && yarn generate-mainnet && yarn generate-avalanche && yarn generate-arbitrum && yarn generate-optimism && yarn generate-sepolia && yarn generate-base && yarn generate-blast && yarn generate-etc && yarn generate-mordor",
|
||||||
"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",
|
||||||
"generate-mainnet": "yarn codegen:tornado-mainnet && yarn build:tornado-mainnet",
|
"generate-mainnet": "yarn codegen:tornado-mainnet && yarn build:tornado-mainnet",
|
||||||
"generate-goerli": "yarn codegen:tornado-goerli && yarn build:tornado-goerli",
|
|
||||||
"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",
|
"generate-sepolia": "yarn codegen:tornado-sepolia && yarn build:tornado-sepolia",
|
||||||
|
"generate-base": "yarn codegen:tornado-base && yarn build:tornado-base",
|
||||||
|
"generate-blast": "yarn codegen:tornado-blast && yarn build:tornado-blast",
|
||||||
|
"generate-etc": "yarn codegen:tornado-etc && yarn build:tornado-etc",
|
||||||
|
"generate-mordor": "yarn codegen:tornado-mordor && yarn build:tornado-mordor",
|
||||||
"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",
|
||||||
"yaml:tornado-mainnet": "node ./create-yaml-file create-yaml -e mainnet | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-mainnet.yaml",
|
"yaml:tornado-mainnet": "node ./create-yaml-file create-yaml -e mainnet | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-mainnet.yaml",
|
||||||
"yaml:tornado-goerli": "node ./create-yaml-file create-yaml -e goerli | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-goerli.yaml",
|
|
||||||
"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",
|
"yaml:tornado-sepolia": "node ./create-yaml-file create-yaml -e sepolia | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
|
"yaml:tornado-base": "node ./create-yaml-file create-yaml -e base | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-base.yaml",
|
||||||
|
"yaml:tornado-blast": "node ./create-yaml-file create-yaml -e blast | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-blast.yaml",
|
||||||
|
"yaml:tornado-etc": "node ./create-yaml-file create-yaml -e etc | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-etc.yaml",
|
||||||
|
"yaml:tornado-mordor": "node ./create-yaml-file create-yaml -e mordor | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-mordor.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",
|
||||||
"codegen:tornado-matic": "yarn yaml:tornado-matic && yarn codegen -- subgraphs/tornado-subgraph-matic.yaml",
|
"codegen:tornado-matic": "yarn yaml:tornado-matic && yarn codegen -- subgraphs/tornado-subgraph-matic.yaml",
|
||||||
"codegen:tornado-mainnet": "yarn yaml:tornado-mainnet && yarn codegen -- subgraphs/tornado-subgraph-mainnet.yaml",
|
"codegen:tornado-mainnet": "yarn yaml:tornado-mainnet && yarn codegen -- subgraphs/tornado-subgraph-mainnet.yaml",
|
||||||
"codegen:tornado-goerli": "yarn yaml:tornado-goerli && yarn codegen -- subgraphs/tornado-subgraph-goerli.yaml",
|
|
||||||
"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",
|
"codegen:tornado-sepolia": "yarn yaml:tornado-sepolia && yarn codegen -- subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
|
"codegen:tornado-base": "yarn yaml:tornado-base && yarn codegen -- subgraphs/tornado-subgraph-base.yaml",
|
||||||
|
"codegen:tornado-blast": "yarn yaml:tornado-blast && yarn codegen -- subgraphs/tornado-subgraph-blast.yaml",
|
||||||
|
"codegen:tornado-etc": "yarn yaml:tornado-etc && yarn codegen -- subgraphs/tornado-subgraph-etc.yaml",
|
||||||
|
"codegen:tornado-mordor": "yarn yaml:tornado-mordor && yarn codegen -- subgraphs/tornado-subgraph-mordor.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",
|
||||||
"build:tornado-matic": "graph build subgraphs/tornado-subgraph-matic.yaml",
|
"build:tornado-matic": "graph build subgraphs/tornado-subgraph-matic.yaml",
|
||||||
"build:tornado-mainnet": "graph build subgraphs/tornado-subgraph-mainnet.yaml",
|
"build:tornado-mainnet": "graph build subgraphs/tornado-subgraph-mainnet.yaml",
|
||||||
"build:tornado-goerli": "graph build subgraphs/tornado-subgraph-goerli.yaml",
|
|
||||||
"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",
|
"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/",
|
"build:tornado-base": "graph build subgraphs/tornado-subgraph-base.yaml",
|
||||||
|
"build:tornado-blast": "graph build subgraphs/tornado-subgraph-blast.yaml",
|
||||||
|
"build:tornado-etc": "graph build subgraphs/tornado-subgraph-etc.yaml",
|
||||||
|
"build:tornado-mordor": "graph build subgraphs/tornado-subgraph-mordor.yaml",
|
||||||
|
"create": "graph create --node http://127.0.0.1:8020/",
|
||||||
"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: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",
|
||||||
"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",
|
||||||
"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",
|
||||||
"create:tornado-mainnet": "yarn run create -- tornadocash/mainnet-tornado-subgraph subgraphs/tornado-subgraph-mainnet.yaml",
|
"create:tornado-mainnet": "yarn run create -- tornadocash/mainnet-tornado-subgraph",
|
||||||
"create:tornado-goerli": "yarn run create -- tornadocash/goerli-tornado-subgraph subgraphs/tornado-subgraph-goerli.yaml",
|
"create:tornado-avalanche": "yarn run create -- tornadocash/avalanche-tornado-subgraph",
|
||||||
"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",
|
||||||
"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",
|
||||||
"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",
|
||||||
"create:tornado-sepolia": "yarn run create -- tornadocash/sepolia-tornado-subgraph subgraphs/tornado-subgraph-sepolia.yaml",
|
"create:tornado-base": "yarn run create -- tornadocash/base-tornado-subgraph",
|
||||||
|
"create:tornado-blast": "yarn run create -- tornadocash/blast-tornado-subgraph",
|
||||||
|
"create:tornado-etc": "yarn run create -- tornadocash/etc-tornado-subgraph",
|
||||||
|
"create:tornado-mordor": "yarn run create -- tornadocash/mordor-tornado-subgraph",
|
||||||
"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 && yarn deploy:tornado-sepolia",
|
"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",
|
||||||
"deploy:tornado-mainnet": "yarn deploy -- tornadocash/mainnet-tornado-subgraph subgraphs/tornado-subgraph-mainnet.yaml",
|
"deploy:tornado-mainnet": "yarn deploy -- tornadocash/mainnet-tornado-subgraph subgraphs/tornado-subgraph-mainnet.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"
|
"deploy:tornado-sepolia": "yarn deploy -- tornadocash/sepolia-tornado-subgraph subgraphs/tornado-subgraph-sepolia.yaml",
|
||||||
|
"deploy:tornado-base": "yarn deploy -- tornadocash/base-tornado-subgraph subgraphs/tornado-subgraph-base.yaml",
|
||||||
|
"deploy:tornado-blast": "yarn deploy -- tornadocash/blast-tornado-subgraph subgraphs/tornado-subgraph-blast.yaml",
|
||||||
|
"deploy:tornado-etc": "yarn deploy -- tornadocash/etc-tornado-subgraph subgraphs/tornado-subgraph-etc.yaml",
|
||||||
|
"deploy:tornado-mordor": "yarn deploy -- tornadocash/mordor-tornado-subgraph subgraphs/tornado-subgraph-mordor.yaml"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@graphprotocol/graph-cli": "^0.20.0",
|
"@graphprotocol/graph-cli": "^0.97.1",
|
||||||
"@graphprotocol/graph-ts": "^0.20.0"
|
"@graphprotocol/graph-ts": "^0.37.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^4.26.1",
|
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
||||||
"@typescript-eslint/parser": "^4.26.1",
|
"@typescript-eslint/parser": "^8.35.1",
|
||||||
"commander": "^7.2.0",
|
"commander": "^14.0.0",
|
||||||
"eslint": "^7.28.0",
|
"eslint": "^9.30.0",
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^10.1.5",
|
||||||
"eslint-import-resolver-typescript": "^2.4.0",
|
"eslint-import-resolver-typescript": "^4.4.4",
|
||||||
"eslint-plugin-import": "^2.23.4",
|
"eslint-plugin-import": "^2.32.0",
|
||||||
"eslint-plugin-prettier": "^3.4.0",
|
"eslint-plugin-prettier": "^5.5.1",
|
||||||
"mustache": "^4.2.0",
|
"mustache": "^4.2.0",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^3.6.2",
|
||||||
"typescript": "^4.3.2"
|
"typescript": "^5.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
type Deposit @entity {
|
type Deposit @entity(immutable: true) {
|
||||||
id: ID!
|
id: ID!
|
||||||
from: Bytes!
|
from: Bytes!
|
||||||
index: BigInt!
|
index: BigInt!
|
||||||
@ -10,7 +10,7 @@ type Deposit @entity {
|
|||||||
transactionHash: Bytes!
|
transactionHash: Bytes!
|
||||||
}
|
}
|
||||||
|
|
||||||
type Withdrawal @entity {
|
type Withdrawal @entity(immutable: true) {
|
||||||
id: ID!
|
id: ID!
|
||||||
to: Bytes!
|
to: Bytes!
|
||||||
fee: BigInt!
|
fee: BigInt!
|
||||||
@ -23,7 +23,7 @@ type Withdrawal @entity {
|
|||||||
transactionHash: Bytes!
|
transactionHash: Bytes!
|
||||||
}
|
}
|
||||||
|
|
||||||
type EncryptedNote @entity {
|
type EncryptedNote @entity(immutable: true) {
|
||||||
id: ID!
|
id: ID!
|
||||||
index: BigInt!
|
index: BigInt!
|
||||||
blockNumber: BigInt!
|
blockNumber: BigInt!
|
||||||
@ -31,7 +31,7 @@ type EncryptedNote @entity {
|
|||||||
transactionHash: Bytes!
|
transactionHash: Bytes!
|
||||||
}
|
}
|
||||||
|
|
||||||
type NoteAccount @entity {
|
type NoteAccount @entity(immutable: true) {
|
||||||
id: ID!
|
id: ID!
|
||||||
index: BigInt!
|
index: BigInt!
|
||||||
blockNumber: BigInt!
|
blockNumber: BigInt!
|
||||||
|
|||||||
@ -207,4 +207,100 @@ contractsToInstances.set("0xecd649870407cd43923a816cc6334a5bdf113621_sepolia",
|
|||||||
contractsToInstances.set("0x73b4bd04bf83206b6e979be2507098f92edf4f90_sepolia", // Instance-dai-100000
|
contractsToInstances.set("0x73b4bd04bf83206b6e979be2507098f92edf4f90_sepolia", // Instance-dai-100000
|
||||||
"dai-100000"
|
"dai-100000"
|
||||||
);
|
);
|
||||||
|
contractsToInstances.set("0x82859dc3697062c16422e9b5e8ba1b6a6ec72c76_base", // Instance-eth-0.001
|
||||||
|
"eth-0.001"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xa287c40411685438750a247ca67488debe56ee32_base", // Instance-eth-0.01
|
||||||
|
"eth-0.01"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x84443cfd09a48af6ef360c6976c5392ac5023a1f_base", // Instance-eth-0.1
|
||||||
|
"eth-0.1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xd47438c816c9e7f2e2888e060936a499af9582b3_base", // Instance-eth-1
|
||||||
|
"eth-1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x330bdfade01ee9bf63c209ee33102dd334618e0a_base", // Instance-eth-10
|
||||||
|
"eth-10"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x1e34a77868e19a6647b1f2f47b51ed72dede95dd_base", // Instance-eth-100
|
||||||
|
"eth-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x70cc374ae7d1549a4666b7172b78ddcf672b74f7_base", // Instance-dai-10
|
||||||
|
"dai-10"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xd063894588177b8362dda6c0a7ef09bf6fdf851c_base", // Instance-dai-100
|
||||||
|
"dai-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xa7513fdff61fc83a9c5c08ce31266e6dd400c54e_base", // Instance-dai-1000
|
||||||
|
"dai-1000"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x8f05ede57098d843f30be74ac25c292f87b7f775_base", // Instance-dai-10000
|
||||||
|
"dai-10000"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xeb7fc86c32e9a5e9dd2a0a78c091b8b625cbee24_base", // Instance-dai-100000
|
||||||
|
"dai-100000"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x5465800d7be34dae2c1572d2227de94de93b4432_base", // Instance-tbtc-0.0001
|
||||||
|
"tbtc-0.0001"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xf2d3404c03c8cc0b120bd6e8edd6f69226f03c6d_base", // Instance-tbtc-0.001
|
||||||
|
"tbtc-0.001"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x4261d5209a285410dea8173b6fe1a0e7bcf20f7c_base", // Instance-tbtc-0.01
|
||||||
|
"tbtc-0.01"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x9fb147f49bfe17d19789547187eae2406590b217_base", // Instance-tbtc-0.1
|
||||||
|
"tbtc-0.1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x2a8515f39716b0c160a3eb32d24e4cbeb76932d2_base", // Instance-tbtc-1
|
||||||
|
"tbtc-1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x82859dc3697062c16422e9b5e8ba1b6a6ec72c76_blast", // Instance-eth-0.001
|
||||||
|
"eth-0.001"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xa287c40411685438750a247ca67488debe56ee32_blast", // Instance-eth-0.01
|
||||||
|
"eth-0.01"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x84443cfd09a48af6ef360c6976c5392ac5023a1f_blast", // Instance-eth-0.1
|
||||||
|
"eth-0.1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xd47438c816c9e7f2e2888e060936a499af9582b3_blast", // Instance-eth-1
|
||||||
|
"eth-1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x330bdfade01ee9bf63c209ee33102dd334618e0a_blast", // Instance-eth-10
|
||||||
|
"eth-10"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x1e34a77868e19a6647b1f2f47b51ed72dede95dd_blast", // Instance-eth-100
|
||||||
|
"eth-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x84443cfd09a48af6ef360c6976c5392ac5023a1f_etc", // Instance-etc-0.1
|
||||||
|
"etc-0.1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xd47438c816c9e7f2e2888e060936a499af9582b3_etc", // Instance-etc-1
|
||||||
|
"etc-1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x330bdfade01ee9bf63c209ee33102dd334618e0a_etc", // Instance-etc-10
|
||||||
|
"etc-10"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x1e34a77868e19a6647b1f2f47b51ed72dede95dd_etc", // Instance-etc-100
|
||||||
|
"etc-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xdf231d99ff8b6c6cbf4e9b9a945cbacef9339178_etc", // Instance-etc-1000
|
||||||
|
"etc-1000"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x84443cfd09a48af6ef360c6976c5392ac5023a1f_mordor", // Instance-etc-0.1
|
||||||
|
"etc-0.1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xd47438c816c9e7f2e2888e060936a499af9582b3_mordor", // Instance-etc-1
|
||||||
|
"etc-1"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x330bdfade01ee9bf63c209ee33102dd334618e0a_mordor", // Instance-etc-10
|
||||||
|
"etc-10"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0x1e34a77868e19a6647b1f2f47b51ed72dede95dd_mordor", // Instance-etc-100
|
||||||
|
"etc-100"
|
||||||
|
);
|
||||||
|
contractsToInstances.set("0xdf231d99ff8b6c6cbf4e9b9a945cbacef9339178_mordor", // Instance-etc-1000
|
||||||
|
"etc-1000"
|
||||||
|
);
|
||||||
// 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.
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 3430605
|
startBlock: 3430605
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-0.1-eth
|
name: Instance-arbitrum-one-0.1-eth
|
||||||
network: arbitrum-one
|
network: arbitrum-one
|
||||||
source:
|
source:
|
||||||
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 3430648
|
startBlock: 3430648
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1-eth
|
name: Instance-arbitrum-one-1-eth
|
||||||
network: arbitrum-one
|
network: arbitrum-one
|
||||||
source:
|
source:
|
||||||
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 3430648
|
startBlock: 3430648
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-eth
|
name: Instance-arbitrum-one-10-eth
|
||||||
network: arbitrum-one
|
network: arbitrum-one
|
||||||
source:
|
source:
|
||||||
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 3430648
|
startBlock: 3430648
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-eth
|
name: Instance-arbitrum-one-100-eth
|
||||||
network: arbitrum-one
|
network: arbitrum-one
|
||||||
source:
|
source:
|
||||||
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 3430648
|
startBlock: 3430648
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 3430648
|
startBlock: 3430648
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 4429813
|
startBlock: 4429813
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-avax
|
name: Instance-avalanche-10-avax
|
||||||
network: avalanche
|
network: avalanche
|
||||||
source:
|
source:
|
||||||
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 4429818
|
startBlock: 4429818
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-avax
|
name: Instance-avalanche-100-avax
|
||||||
network: avalanche
|
network: avalanche
|
||||||
source:
|
source:
|
||||||
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 4429818
|
startBlock: 4429818
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-500-avax
|
name: Instance-avalanche-500-avax
|
||||||
network: avalanche
|
network: avalanche
|
||||||
source:
|
source:
|
||||||
address: "0xaf8d1839c3c67cf571aa74B5c12398d4901147B3"
|
address: "0xaf8d1839c3c67cf571aa74B5c12398d4901147B3"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 4429818
|
startBlock: 4429818
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 4429818
|
startBlock: 4429818
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
416
subgraphs/tornado-subgraph-base.yaml
Normal file
416
subgraphs/tornado-subgraph-base.yaml
Normal file
@ -0,0 +1,416 @@
|
|||||||
|
specVersion: 1.3.0
|
||||||
|
description: Proxy
|
||||||
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
|
schema:
|
||||||
|
file: ../schema.graphql
|
||||||
|
dataSources:
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Echoer
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4"
|
||||||
|
abi: Echoer
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-echo-account.ts
|
||||||
|
entities:
|
||||||
|
- NoteAccount
|
||||||
|
abis:
|
||||||
|
- name: Echoer
|
||||||
|
file: ../abis/Echoer.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Echo(indexed address,bytes)
|
||||||
|
handler: handleEcho
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.001-eth
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x82859DC3697062c16422E9b5e8Ba1B6a6EC72c76"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.01-eth
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xA287c40411685438750a247Ca67488DEBe56EE32"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.1-eth
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-1-eth
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-10-eth
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-100-eth
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-10-dai
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x70CC374aE7D1549a4666b7172B78dDCF672B74f7"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-100-dai
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xD063894588177B8362Dda6C0A7EF09BF6fDF851c"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-1000-dai
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xa7513fdfF61fc83a9C5c08CE31266e6dd400C54E"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-10000-dai
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x8f05eDE57098D843F30bE74AC25c292F87b7f775"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-100000-dai
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xeB7fc86c32e9a5E9DD2a0a78C091b8b625cbee24"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.0001-tbtc
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x5465800D7Be34dAe2c1572d2227De94dE93B4432"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.001-tbtc
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0xf2d3404c03C8cC0b120bd6E8edD6F69226F03c6d"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.01-tbtc
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x4261d5209A285410DEa8173B6FE1A0e7BCf20f7c"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-0.1-tbtc
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x9FB147F49bFE17D19789547187EAE2406590b217"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-base-1-tbtc
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x2A8515F39716B0C160a3eB32D24E4cbeB76932d2"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Proxy
|
||||||
|
network: base
|
||||||
|
source:
|
||||||
|
address: "0x0D5550d52428E7e3175bfc9550207e4ad3859b17"
|
||||||
|
abi: Proxy
|
||||||
|
startBlock: 23149794
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-encrypted-note.ts
|
||||||
|
entities:
|
||||||
|
- EncryptedNote
|
||||||
|
abis:
|
||||||
|
- name: Proxy
|
||||||
|
file: ../abis/Proxy.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: EncryptedNote(indexed address,bytes)
|
||||||
|
handler: handleEncryptedNote
|
||||||
186
subgraphs/tornado-subgraph-blast.yaml
Normal file
186
subgraphs/tornado-subgraph-blast.yaml
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
specVersion: 1.3.0
|
||||||
|
description: Proxy
|
||||||
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
|
schema:
|
||||||
|
file: ../schema.graphql
|
||||||
|
dataSources:
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Echoer
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4"
|
||||||
|
abi: Echoer
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-echo-account.ts
|
||||||
|
entities:
|
||||||
|
- NoteAccount
|
||||||
|
abis:
|
||||||
|
- name: Echoer
|
||||||
|
file: ../abis/Echoer.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Echo(indexed address,bytes)
|
||||||
|
handler: handleEcho
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-blast-0.001-eth
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0x82859DC3697062c16422E9b5e8Ba1B6a6EC72c76"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-blast-0.01-eth
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0xA287c40411685438750a247Ca67488DEBe56EE32"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-blast-0.1-eth
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-blast-1-eth
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-blast-10-eth
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-blast-100-eth
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Proxy
|
||||||
|
network: blast
|
||||||
|
source:
|
||||||
|
address: "0x0D5550d52428E7e3175bfc9550207e4ad3859b17"
|
||||||
|
abi: Proxy
|
||||||
|
startBlock: 12144065
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-encrypted-note.ts
|
||||||
|
entities:
|
||||||
|
- EncryptedNote
|
||||||
|
abis:
|
||||||
|
- name: Proxy
|
||||||
|
file: ../abis/Proxy.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: EncryptedNote(indexed address,bytes)
|
||||||
|
handler: handleEncryptedNote
|
||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 8158799
|
startBlock: 8158799
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-0.1-bnb
|
name: Instance-bsc-0.1-bnb
|
||||||
network: bsc
|
network: bsc
|
||||||
source:
|
source:
|
||||||
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 8158799
|
startBlock: 8158799
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1-bnb
|
name: Instance-bsc-1-bnb
|
||||||
network: bsc
|
network: bsc
|
||||||
source:
|
source:
|
||||||
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 8158799
|
startBlock: 8158799
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-bnb
|
name: Instance-bsc-10-bnb
|
||||||
network: bsc
|
network: bsc
|
||||||
source:
|
source:
|
||||||
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 8158799
|
startBlock: 8158799
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-bnb
|
name: Instance-bsc-100-bnb
|
||||||
network: bsc
|
network: bsc
|
||||||
source:
|
source:
|
||||||
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 8158799
|
startBlock: 8158799
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 8158799
|
startBlock: 8158799
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
163
subgraphs/tornado-subgraph-etc.yaml
Normal file
163
subgraphs/tornado-subgraph-etc.yaml
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
specVersion: 1.3.0
|
||||||
|
description: Proxy
|
||||||
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
|
schema:
|
||||||
|
file: ../schema.graphql
|
||||||
|
dataSources:
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Echoer
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4"
|
||||||
|
abi: Echoer
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-echo-account.ts
|
||||||
|
entities:
|
||||||
|
- NoteAccount
|
||||||
|
abis:
|
||||||
|
- name: Echoer
|
||||||
|
file: ../abis/Echoer.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Echo(indexed address,bytes)
|
||||||
|
handler: handleEcho
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-etc-0.1-etc
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-etc-1-etc
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-etc-10-etc
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-etc-100-etc
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-etc-1000-etc
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Proxy
|
||||||
|
network: etc
|
||||||
|
source:
|
||||||
|
address: "0x0D5550d52428E7e3175bfc9550207e4ad3859b17"
|
||||||
|
abi: Proxy
|
||||||
|
startBlock: 22412211
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-encrypted-note.ts
|
||||||
|
entities:
|
||||||
|
- EncryptedNote
|
||||||
|
abis:
|
||||||
|
- name: Proxy
|
||||||
|
file: ../abis/Proxy.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: EncryptedNote(indexed address,bytes)
|
||||||
|
handler: handleEncryptedNote
|
||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 11842486
|
startBlock: 11842486
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-0.1-eth
|
name: Instance-mainnet-0.1-eth
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x12D66f87A04A9E220743712cE6d9bB1B5616B8Fc"
|
address: "0x12D66f87A04A9E220743712cE6d9bB1B5616B8Fc"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1-eth
|
name: Instance-mainnet-1-eth
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x47CE0C6eD5B0Ce3d3A51fdb1C52DC66a7c3c2936"
|
address: "0x47CE0C6eD5B0Ce3d3A51fdb1C52DC66a7c3c2936"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-eth
|
name: Instance-mainnet-10-eth
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x910Cbd523D972eb0a6f4cAe4618aD62622b39DbF"
|
address: "0x910Cbd523D972eb0a6f4cAe4618aD62622b39DbF"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-eth
|
name: Instance-mainnet-100-eth
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0xA160cdAB225685dA1d56aa342Ad8841c3b53f291"
|
address: "0xA160cdAB225685dA1d56aa342Ad8841c3b53f291"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -117,7 +119,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-dai
|
name: Instance-mainnet-100-dai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0xD4B88Df4D29F5CedD6857912842cff3b20C8Cfa3"
|
address: "0xD4B88Df4D29F5CedD6857912842cff3b20C8Cfa3"
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -140,7 +142,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1000-dai
|
name: Instance-mainnet-1000-dai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0xFD8610d20aA15b7B2E3Be39B396a1bC3516c7144"
|
address: "0xFD8610d20aA15b7B2E3Be39B396a1bC3516c7144"
|
||||||
@ -148,7 +150,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -163,7 +165,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10000-dai
|
name: Instance-mainnet-10000-dai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x07687e702b410Fa43f4cB4Af7FA097918ffD2730"
|
address: "0x07687e702b410Fa43f4cB4Af7FA097918ffD2730"
|
||||||
@ -171,7 +173,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -186,7 +188,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100000-dai
|
name: Instance-mainnet-100000-dai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x23773E65ed146A459791799d01336DB287f25334"
|
address: "0x23773E65ed146A459791799d01336DB287f25334"
|
||||||
@ -194,7 +196,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -209,7 +211,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-5000-cdai
|
name: Instance-mainnet-5000-cdai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x22aaA7720ddd5388A3c0A3333430953C68f1849b"
|
address: "0x22aaA7720ddd5388A3c0A3333430953C68f1849b"
|
||||||
@ -217,7 +219,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -232,7 +234,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-50000-cdai
|
name: Instance-mainnet-50000-cdai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x03893a7c7463AE47D46bc7f091665f1893656003"
|
address: "0x03893a7c7463AE47D46bc7f091665f1893656003"
|
||||||
@ -240,7 +242,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -255,7 +257,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-500000-cdai
|
name: Instance-mainnet-500000-cdai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x2717c5e28cf931547B621a5dddb772Ab6A35B701"
|
address: "0x2717c5e28cf931547B621a5dddb772Ab6A35B701"
|
||||||
@ -263,7 +265,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -278,7 +280,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-5000000-cdai
|
name: Instance-mainnet-5000000-cdai
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0xD21be7248e0197Ee08E0c20D4a96DEBdaC3D20Af"
|
address: "0xD21be7248e0197Ee08E0c20D4a96DEBdaC3D20Af"
|
||||||
@ -286,7 +288,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -301,7 +303,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-usdc
|
name: Instance-mainnet-100-usdc
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0xd96f2B1c14Db8458374d9Aca76E26c3D18364307"
|
address: "0xd96f2B1c14Db8458374d9Aca76E26c3D18364307"
|
||||||
@ -309,7 +311,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -324,7 +326,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1000-usdc
|
name: Instance-mainnet-1000-usdc
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x4736dCf1b7A3d580672CcE6E7c65cd5cc9cFBa9D"
|
address: "0x4736dCf1b7A3d580672CcE6E7c65cd5cc9cFBa9D"
|
||||||
@ -332,7 +334,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -347,7 +349,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-usdt
|
name: Instance-mainnet-100-usdt
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x169AD27A470D064DEDE56a2D3ff727986b15D52B"
|
address: "0x169AD27A470D064DEDE56a2D3ff727986b15D52B"
|
||||||
@ -355,7 +357,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -370,7 +372,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1000-usdt
|
name: Instance-mainnet-1000-usdt
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x0836222F2B2B24A3F36f98668Ed8F0B38D1a872f"
|
address: "0x0836222F2B2B24A3F36f98668Ed8F0B38D1a872f"
|
||||||
@ -378,7 +380,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -393,7 +395,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-0.1-wbtc
|
name: Instance-mainnet-0.1-wbtc
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x178169B423a011fff22B9e3F3abeA13414dDD0F1"
|
address: "0x178169B423a011fff22B9e3F3abeA13414dDD0F1"
|
||||||
@ -401,7 +403,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -416,7 +418,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1-wbtc
|
name: Instance-mainnet-1-wbtc
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0x610B717796ad172B316836AC95a2ffad065CeaB4"
|
address: "0x610B717796ad172B316836AC95a2ffad065CeaB4"
|
||||||
@ -424,7 +426,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -439,7 +441,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-wbtc
|
name: Instance-mainnet-10-wbtc
|
||||||
network: mainnet
|
network: mainnet
|
||||||
source:
|
source:
|
||||||
address: "0xbB93e510BbCD0B7beb5A853875f9eC60275CF498"
|
address: "0xbB93e510BbCD0B7beb5A853875f9eC60275CF498"
|
||||||
@ -447,7 +449,7 @@
|
|||||||
startBlock: 9116966
|
startBlock: 9116966
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -470,7 +472,7 @@
|
|||||||
startBlock: 12143762
|
startBlock: 12143762
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
@ -490,7 +492,7 @@
|
|||||||
startBlock: 15402258
|
startBlock: 15402258
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
@ -510,7 +512,7 @@
|
|||||||
startBlock: 14248730
|
startBlock: 14248730
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 16257996
|
startBlock: 16257996
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-matic
|
name: Instance-matic-100-matic
|
||||||
network: matic
|
network: matic
|
||||||
source:
|
source:
|
||||||
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 16257962
|
startBlock: 16257962
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1000-matic
|
name: Instance-matic-1000-matic
|
||||||
network: matic
|
network: matic
|
||||||
source:
|
source:
|
||||||
address: "0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178"
|
address: "0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 16257962
|
startBlock: 16257962
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10000-matic
|
name: Instance-matic-10000-matic
|
||||||
network: matic
|
network: matic
|
||||||
source:
|
source:
|
||||||
address: "0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040"
|
address: "0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 16257962
|
startBlock: 16257962
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100000-matic
|
name: Instance-matic-100000-matic
|
||||||
network: matic
|
network: matic
|
||||||
source:
|
source:
|
||||||
address: "0xa5C2254e4253490C54cef0a4347fddb8f75A4998"
|
address: "0xa5C2254e4253490C54cef0a4347fddb8f75A4998"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 16257962
|
startBlock: 16257962
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 16257989
|
startBlock: 16257989
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
163
subgraphs/tornado-subgraph-mordor.yaml
Normal file
163
subgraphs/tornado-subgraph-mordor.yaml
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
specVersion: 1.3.0
|
||||||
|
description: Proxy
|
||||||
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
|
schema:
|
||||||
|
file: ../schema.graphql
|
||||||
|
dataSources:
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Echoer
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4"
|
||||||
|
abi: Echoer
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-echo-account.ts
|
||||||
|
entities:
|
||||||
|
- NoteAccount
|
||||||
|
abis:
|
||||||
|
- name: Echoer
|
||||||
|
file: ../abis/Echoer.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Echo(indexed address,bytes)
|
||||||
|
handler: handleEcho
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-mordor-0.1-etc
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-mordor-1-etc
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-mordor-10-etc
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-mordor-100-etc
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Instance-mordor-1000-etc
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178"
|
||||||
|
abi: Instance
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-instance.ts
|
||||||
|
entities:
|
||||||
|
- Deposit
|
||||||
|
- Withdrawal
|
||||||
|
abis:
|
||||||
|
- name: Instance
|
||||||
|
file: ../abis/Instance.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: Deposit(indexed bytes32,uint32,uint256)
|
||||||
|
handler: handleDeposit
|
||||||
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
|
handler: handleWithdrawal
|
||||||
|
- kind: ethereum/contract
|
||||||
|
name: Proxy
|
||||||
|
network: mordor
|
||||||
|
source:
|
||||||
|
address: "0x0D5550d52428E7e3175bfc9550207e4ad3859b17"
|
||||||
|
abi: Proxy
|
||||||
|
startBlock: 13890096
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.9
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ../src/mapping-encrypted-note.ts
|
||||||
|
entities:
|
||||||
|
- EncryptedNote
|
||||||
|
abis:
|
||||||
|
- name: Proxy
|
||||||
|
file: ../abis/Proxy.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: EncryptedNote(indexed address,bytes)
|
||||||
|
handler: handleEncryptedNote
|
||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 2243694
|
startBlock: 2243694
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-0.1-eth
|
name: Instance-optimism-0.1-eth
|
||||||
network: optimism
|
network: optimism
|
||||||
source:
|
source:
|
||||||
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
address: "0x84443CFd09A48AF6eF360C6976C5392aC5023a1F"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 2243689
|
startBlock: 2243689
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1-eth
|
name: Instance-optimism-1-eth
|
||||||
network: optimism
|
network: optimism
|
||||||
source:
|
source:
|
||||||
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
address: "0xd47438C816c9E7f2E2888E060936a499Af9582b3"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 2243689
|
startBlock: 2243689
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-eth
|
name: Instance-optimism-10-eth
|
||||||
network: optimism
|
network: optimism
|
||||||
source:
|
source:
|
||||||
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
address: "0x330bdFADE01eE9bF63C209Ee33102DD334618e0a"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 2243689
|
startBlock: 2243689
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-eth
|
name: Instance-optimism-100-eth
|
||||||
network: optimism
|
network: optimism
|
||||||
source:
|
source:
|
||||||
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 2243689
|
startBlock: 2243689
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 2243689
|
startBlock: 2243689
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-0.1-eth
|
name: Instance-sepolia-0.1-eth
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x8C4A04d872a6C1BE37964A21ba3a138525dFF50b"
|
address: "0x8C4A04d872a6C1BE37964A21ba3a138525dFF50b"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1-eth
|
name: Instance-sepolia-1-eth
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x8cc930096B4Df705A007c4A039BDFA1320Ed2508"
|
address: "0x8cc930096B4Df705A007c4A039BDFA1320Ed2508"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10-eth
|
name: Instance-sepolia-10-eth
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x8D10d506D29Fc62ABb8A290B99F66dB27Fc43585"
|
address: "0x8D10d506D29Fc62ABb8A290B99F66dB27Fc43585"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-eth
|
name: Instance-sepolia-100-eth
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x44c5C92ed73dB43888210264f0C8b36Fd68D8379"
|
address: "0x44c5C92ed73dB43888210264f0C8b36Fd68D8379"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -117,7 +119,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-dai
|
name: Instance-sepolia-100-dai
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x6921fd1a97441dd603a997ED6DDF388658daf754"
|
address: "0x6921fd1a97441dd603a997ED6DDF388658daf754"
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -140,7 +142,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1000-dai
|
name: Instance-sepolia-1000-dai
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x50a637770F5d161999420F7d70d888DE47207145"
|
address: "0x50a637770F5d161999420F7d70d888DE47207145"
|
||||||
@ -148,7 +150,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -163,7 +165,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10000-dai
|
name: Instance-sepolia-10000-dai
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0xecD649870407cD43923A816Cc6334a5bdf113621"
|
address: "0xecD649870407cD43923A816Cc6334a5bdf113621"
|
||||||
@ -171,7 +173,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -186,7 +188,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100000-dai
|
name: Instance-sepolia-100000-dai
|
||||||
network: sepolia
|
network: sepolia
|
||||||
source:
|
source:
|
||||||
address: "0x73B4BD04bF83206B6e979BE2507098F92EDf4F90"
|
address: "0x73B4BD04bF83206B6e979BE2507098F92EDf4F90"
|
||||||
@ -194,7 +196,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -217,7 +219,7 @@
|
|||||||
startBlock: 5594395
|
startBlock: 5594395
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
specVersion: 0.0.2
|
specVersion: 1.3.0
|
||||||
description: Proxy
|
description: Proxy
|
||||||
repository: https://github.com/tornadocash/tornado-subgraph
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||||||
|
indexerHints:
|
||||||
|
prune: auto
|
||||||
schema:
|
schema:
|
||||||
file: ../schema.graphql
|
file: ../schema.graphql
|
||||||
dataSources:
|
dataSources:
|
||||||
@ -13,7 +15,7 @@
|
|||||||
startBlock: 17754564
|
startBlock: 17754564
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-echo-account.ts
|
file: ../src/mapping-echo-account.ts
|
||||||
entities:
|
entities:
|
||||||
@ -25,7 +27,7 @@
|
|||||||
- event: Echo(indexed address,bytes)
|
- event: Echo(indexed address,bytes)
|
||||||
handler: handleEcho
|
handler: handleEcho
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100-xdai
|
name: Instance-xdai-100-xdai
|
||||||
network: xdai
|
network: xdai
|
||||||
source:
|
source:
|
||||||
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
address: "0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD"
|
||||||
@ -33,7 +35,7 @@
|
|||||||
startBlock: 17754561
|
startBlock: 17754561
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -48,7 +50,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-1000-xdai
|
name: Instance-xdai-1000-xdai
|
||||||
network: xdai
|
network: xdai
|
||||||
source:
|
source:
|
||||||
address: "0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178"
|
address: "0xdf231d99Ff8b6c6CBF4E9B9a945CBAcEF9339178"
|
||||||
@ -56,7 +58,7 @@
|
|||||||
startBlock: 17754561
|
startBlock: 17754561
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -71,7 +73,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-10000-xdai
|
name: Instance-xdai-10000-xdai
|
||||||
network: xdai
|
network: xdai
|
||||||
source:
|
source:
|
||||||
address: "0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040"
|
address: "0xaf4c0B70B2Ea9FB7487C7CbB37aDa259579fe040"
|
||||||
@ -79,7 +81,7 @@
|
|||||||
startBlock: 17754561
|
startBlock: 17754561
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -94,7 +96,7 @@
|
|||||||
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
- event: Withdrawal(address,bytes32,indexed address,uint256)
|
||||||
handler: handleWithdrawal
|
handler: handleWithdrawal
|
||||||
- kind: ethereum/contract
|
- kind: ethereum/contract
|
||||||
name: Instance-100000-xdai
|
name: Instance-xdai-100000-xdai
|
||||||
network: xdai
|
network: xdai
|
||||||
source:
|
source:
|
||||||
address: "0xa5C2254e4253490C54cef0a4347fddb8f75A4998"
|
address: "0xa5C2254e4253490C54cef0a4347fddb8f75A4998"
|
||||||
@ -102,7 +104,7 @@
|
|||||||
startBlock: 17754561
|
startBlock: 17754561
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-instance.ts
|
file: ../src/mapping-instance.ts
|
||||||
entities:
|
entities:
|
||||||
@ -125,7 +127,7 @@
|
|||||||
startBlock: 17754561
|
startBlock: 17754561
|
||||||
mapping:
|
mapping:
|
||||||
kind: ethereum/events
|
kind: ethereum/events
|
||||||
apiVersion: 0.0.4
|
apiVersion: 0.0.9
|
||||||
language: wasm/assemblyscript
|
language: wasm/assemblyscript
|
||||||
file: ../src/mapping-encrypted-note.ts
|
file: ../src/mapping-encrypted-note.ts
|
||||||
entities:
|
entities:
|
||||||
|
|||||||
7
tsconfig.json
Normal file
7
tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "@graphprotocol/graph-ts/types/tsconfig.base.json",
|
||||||
|
"include": [
|
||||||
|
"src",
|
||||||
|
"tests"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user