forked from joshstevens19/reth-indexer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reth-indexer-config.json
69 lines (69 loc) · 1.75 KB
/
reth-indexer-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"rethDBLocation": "/home/ubuntu/.local/share/reth/mainnet/db",
"csvLocation": "/tmp",
"fromBlockNumber": 11446767,
"toBlockNumber": 17576926,
"postgres": {
"dropTableBeforeSync": true,
"applyIndexesBeforeSync": false,
"connectionString": "postgresql://postgres:password@localhost:5432/reth_indexer"
},
"eventMappings": [
{
"filterByContractAddress": ["0xae78736Cd615f374D3085123A210448E74Fc6393"],
"syncBackRoughlyEveryNLogs": 20000,
"decodeAbiItems": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
}
]
}
]
}