70 lines
1.9 KiB
YAML
70 lines
1.9 KiB
YAML
|
specVersion: 0.0.2
|
||
|
description: Proxy
|
||
|
repository: https://github.com/tornadocash/tornado-subgraph
|
||
|
schema:
|
||
|
file: ../schema.graphql
|
||
|
dataSources:
|
||
|
- kind: ethereum/contract
|
||
|
name: Echoer
|
||
|
network: matic
|
||
|
source:
|
||
|
address: "0x88Fb545DC03438b9FFb958361b7F3CfA6ce1B9c5"
|
||
|
abi: Echoer
|
||
|
startBlock: 15586935
|
||
|
mapping:
|
||
|
kind: ethereum/events
|
||
|
apiVersion: 0.0.4
|
||
|
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-0.1-matic
|
||
|
network: matic
|
||
|
source:
|
||
|
address: "0x992A81FA34aa6ecD9520F39f858abc51fee6994a"
|
||
|
abi: Instance
|
||
|
startBlock: 15586940
|
||
|
mapping:
|
||
|
kind: ethereum/events
|
||
|
apiVersion: 0.0.4
|
||
|
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: matic
|
||
|
source:
|
||
|
address: "0xDC16d16341A62c60E7C9889F9d1FcE4cde57a90F"
|
||
|
abi: Proxy
|
||
|
startBlock: 15586930
|
||
|
mapping:
|
||
|
kind: ethereum/events
|
||
|
apiVersion: 0.0.4
|
||
|
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
|