forked from moose-code/lindexer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
61 lines (61 loc) · 2.24 KB
/
config.yaml
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
name: erc20indexer
version: 1.0.0
description: ERC-20 indexer
networks:
#59140 for testnet
- id: 59144
rpc_config:
url: https://linea-mainnet.infura.io/v3/3399a6fc18da4932be3d6a64ede25dd3
unstable__sync_config:
initial_block_interval: 500
backoff_multiplicative: 0.8
acceleration_additive: 5
interval_ceiling: 5000
backoff_millis: 5000
query_timeout_millis: 20000
start_block: 31086 # todo: revert to 0
contracts:
- name: ERC721
address:
#Linea Bored Ape for mainnet?
- "0x56B8b60e9aa4c94286bF7139C8f5CD09903D835d"
- "0xB62C414ABf83c0107DB84f8dE1c88631C05A8D7B"
- "0xA9d89db621Ce93102c1E8A7Ae6261023B1258361"
# Bear market club
- "0x15267cc8096Db345432a46CEfe6Bf6Be00aDbC90"
# Victoreans
- "0x2842049cdDF138aDf63f392285607751c15104Fd"
# Linea friends
- "0x0FeC1140b0F47b4dA07087577bC7655A8645372d"
handler: ./src/EventHandlers.bs.js
events:
- event: "Transfer(address indexed from, address indexed to, uint256 indexed tokenId)"
requiredEntities:
- name: Nftcollection
labels:
- "nftCollectionUpdated"
- name: Token
labels:
- "existingTransferredToken"
- name: ERC1155
address:
# Linea Voyage quest
- "0x0872ec4426103482a50f26ffc32acefcec61b3c9"
handler: ./src/EventHandlers.bs.js
events:
- event: "TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)"
requiredEntities:
- name: Nftcollection
labels:
- "nftCollectionUpdated"
- name: Token
labels:
- "existingTransferredToken"
- event: "TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)"
requiredEntities:
- name: Nftcollection
labels:
- "nftCollectionUpdated"
- name: Token
labels:
- "existingTransferredToken"