diff --git a/mustache/templates/echoer/contracts.js b/mustache/templates/echoer/contracts.js index d2b3813..ee3e1f5 100644 --- a/mustache/templates/echoer/contracts.js +++ b/mustache/templates/echoer/contracts.js @@ -47,6 +47,12 @@ const contracts = [ name: 'Echoer', address: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', }, + { + prod: 5594395, + network: 'sepolia', + name: 'Echoer', + address: '0xcDD1fc3F5ac2782D83449d3AbE80D6b7B273B0e5', + }, ]; module.exports = contracts; diff --git a/mustache/templates/proxy/contracts.js b/mustache/templates/proxy/contracts.js index 3edd2a2..60000a0 100644 --- a/mustache/templates/proxy/contracts.js +++ b/mustache/templates/proxy/contracts.js @@ -47,6 +47,12 @@ const contracts = [ network: 'optimism', address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17', }, + { + prod: 5594395, + name: 'Proxy', + network: 'sepolia', + address: '0x1572AFE6949fdF51Cb3E0856216670ae9Ee160Ee', + }, ]; module.exports = contracts; diff --git a/subgraphs/tornado-subgraph-sepolia.yaml b/subgraphs/tornado-subgraph-sepolia.yaml index 0715e46..b238492 100644 --- a/subgraphs/tornado-subgraph-sepolia.yaml +++ b/subgraphs/tornado-subgraph-sepolia.yaml @@ -4,6 +4,26 @@ schema: file: ../schema.graphql 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 name: Instance-0.1-eth network: sepolia @@ -187,4 +207,24 @@ - event: Deposit(indexed bytes32,uint32,uint256) handler: handleDeposit - event: Withdrawal(address,bytes32,indexed address,uint256) - handler: handleWithdrawal \ No newline at end of file + 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 \ No newline at end of file