-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
46 lines (44 loc) · 1.58 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
# yaml-language-server: $schema=./node_modules/envio/evm.schema.json
name: collator_hub
contracts:
- name: CollatorStakingHub
handler: src/EventHandlers.ts
events:
- event: AddCollator(address indexed cur, uint256 votes, address prev)
- event: CommissionUpdated(address indexed collator, uint256 commission)
- event: Initialized(uint64 version)
- event: NominationPoolCreated(address indexed pool, address collator)
- event: RemoveCollator(address indexed cur, address prev)
- event: RewardDistributed(address indexed collator, uint256 reward)
- event: Staked(address indexed pool, address collator, address account, uint256 assets)
- event: Unstaked(address indexed pool, address collator, address account, uint256 assets)
- event: UpdateCollator(address indexed cur, uint256 votes, address oldPrev, address newPrev)
networks:
- id: 44
confirmed_block_threshold: 8
start_block: 0
contracts:
- name: CollatorStakingHub
address:
- 0xa4fFAC7A5Da311D724eD47393848f694Baee7930
- id: 46
confirmed_block_threshold: 8
start_block: 0
contracts:
- name: CollatorStakingHub
address:
- 0xa4fFAC7A5Da311D724eD47393848f694Baee7930
- id: 701
confirmed_block_threshold: 8
rpc_config:
url: http://g1.testnets.darwinia.network:9942
start_block: 1075463
contracts:
- name: CollatorStakingHub
address:
- 0xa4fFAC7A5Da311D724eD47393848f694Baee7930
rollback_on_reorg: true
field_selection:
transaction_fields:
- "hash"
- "transactionIndex"