Added old proxies to fetch every encrypted accounts

This commit is contained in:
Tornado Contrib 2024-04-04 10:24:38 +00:00
parent dcae291add
commit 92b18c448c
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
5 changed files with 55 additions and 3 deletions

@ -17,6 +17,18 @@ const contracts = [
network: 'matic', network: 'matic',
address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17', address: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
}, },
{
prod: 12143762,
name: 'Proxy-old1',
network: 'mainnet',
address: '0x722122dF12D4e14e13Ac3b6895a86e84145b6967',
},
{
prod: 15402258,
name: 'Proxy-old2',
network: 'mainnet',
address: '0x00fce327a1c64b24a626c353e68222275d184c40',
},
{ {
prod: 14248730, prod: 14248730,
name: 'Proxy', name: 'Proxy',

@ -12,7 +12,7 @@ module.exports = {
entities: ['EncryptedNote'], entities: ['EncryptedNote'],
abis: [ abis: [
{ {
event: 'Proxy', name: 'Proxy',
path: '../abis/Proxy.json', path: '../abis/Proxy.json',
}, },
], ],

@ -24,7 +24,7 @@
{{/entities}} {{/entities}}
abis: abis:
{{#abis}} {{#abis}}
- name: {{name}} - name: {{&name}}
file: {{&path}} file: {{&path}}
{{/abis}} {{/abis}}
eventHandlers: eventHandlers:

@ -461,6 +461,46 @@
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-old1
network: mainnet
source:
address: "0x722122dF12D4e14e13Ac3b6895a86e84145b6967"
abi: Proxy
startBlock: 12143762
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
- kind: ethereum/contract
name: Proxy-old2
network: mainnet
source:
address: "0x00fce327a1c64b24a626c353e68222275d184c40"
abi: Proxy
startBlock: 15402258
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
- kind: ethereum/contract - kind: ethereum/contract
name: Proxy name: Proxy
network: mainnet network: mainnet