Add missing sepolia contracts

This commit is contained in:
Tornado Contrib 2024-04-01 03:43:24 +00:00
parent 4aff5368d0
commit dcae291add
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
3 changed files with 53 additions and 1 deletions

@ -47,6 +47,12 @@ const contracts = [
name: 'Echoer', name: 'Echoer',
address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
}, },
{
prod: 5594395,
network: 'sepolia',
name: 'Echoer',
address: '0xcDD1fc3F5ac2782D83449d3AbE80D6b7B273B0e5',
},
]; ];
module.exports = contracts; module.exports = contracts;

@ -47,6 +47,12 @@ const contracts = [
network: 'optimism', network: 'optimism',
address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17', address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
}, },
{
prod: 5594395,
name: 'Proxy',
network: 'sepolia',
address: '0x1572AFE6949fdF51Cb3E0856216670ae9Ee160Ee',
},
]; ];
module.exports = contracts; module.exports = contracts;

@ -4,6 +4,26 @@
schema: schema:
file: ../schema.graphql file: ../schema.graphql
dataSources: dataSources:
- kind: ethereum/contract
name: Echoer
network: sepolia
source:
address: "0xcDD1fc3F5ac2782D83449d3AbE80D6b7B273B0e5"
abi: Echoer
startBlock: 5594395
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 - kind: ethereum/contract
name: Instance-0.1-eth name: Instance-0.1-eth
network: sepolia network: sepolia
@ -187,4 +207,24 @@
- event: Deposit(indexed bytes32,uint32,uint256) - event: Deposit(indexed bytes32,uint32,uint256)
handler: handleDeposit handler: handleDeposit
- event: Withdrawal(address,bytes32,indexed address,uint256) - event: Withdrawal(address,bytes32,indexed address,uint256)
handler: handleWithdrawal handler: handleWithdrawal
- kind: ethereum/contract
name: Proxy
network: sepolia
source:
address: "0x1572AFE6949fdF51Cb3E0856216670ae9Ee160Ee"
abi: Proxy
startBlock: 5594395
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