-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.yaml
More file actions
43 lines (37 loc) · 1.41 KB
/
Copy pathconfig.yaml
File metadata and controls
43 lines (37 loc) · 1.41 KB
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
# yaml-language-server: $schema=./node_modules/envio/evm.schema.json
name: envio-indexer
description: Chainlink Feeds Indexer
# Global contract definitions for multi-chain support
contracts:
- name: AccessControlledOCR2Aggregator
handler: src/EventHandlers.ts
events:
- event: AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt)
- name: TransparentUpgradeableProxy
handler: src/EventHandlers.ts
events:
- event: ValueUpdate(uint256 value, bytes32 dataFeedId, uint256 updatedAt)
# Enable unordered multichain mode for parallel processing
unordered_multichain_mode: true
# Network-specific configurations
networks:
- id: 1 # Ethereum Mainnet
start_block: 21900000
contracts:
- name: AccessControlledOCR2Aggregator # Reference to global contract definition
address:
- 0x7d4E742018fb52E48b08BE73d041C18B21de6Fb5 # ETH/USD (Mainnet)
- name: TransparentUpgradeableProxy # Reference to global contract definition
address:
- 0xd72a6BA4a87DDB33e801b3f1c7750b2d0911fC6C # BTC/USD (Polygon)
- id: 137 # Polygon Mainnet
start_block: 69000000
contracts:
- name: AccessControlledOCR2Aggregator # Reference to global contract definition
address:
- 0x014497a2AEF847C7021b17BFF70A68221D22AA63
rollback_on_reorg: false
field_selection:
transaction_fields:
- "gasUsed"
- "effectiveGasPrice"