56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
specVersion: 0.0.2
|
|
schema:
|
|
file: ./schema.graphql
|
|
dataSources:
|
|
- kind: ethereum
|
|
name: Governance
|
|
network: mainnet
|
|
source:
|
|
address: "0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce"
|
|
abi: Governance
|
|
startBlock: 11474695
|
|
mapping:
|
|
kind: ethereum/events
|
|
apiVersion: 0.0.5
|
|
language: wasm/assemblyscript
|
|
entities:
|
|
- Proposal
|
|
- Voted
|
|
- Delegated
|
|
- Undelegated
|
|
abis:
|
|
- name: Governance
|
|
file: ./abis/Governance.json
|
|
eventHandlers:
|
|
- event: ProposalCreated(indexed uint256,indexed address,address,uint256,uint256,string)
|
|
handler: handleProposalCreated
|
|
- event: ProposalExecuted(indexed uint256)
|
|
handler: handleProposalExecuted
|
|
- event: Voted(indexed uint256,indexed address,indexed bool,uint256)
|
|
handler: handleVoted
|
|
- event: Delegated(indexed address,indexed address)
|
|
handler: handleDelegated
|
|
- event: Undelegated(indexed address,indexed address)
|
|
handler: handleUndelegated
|
|
file: ./src/mapping.ts
|
|
- kind: ethereum
|
|
name: RelayerRegistry
|
|
network: mainnet
|
|
source:
|
|
address: "0x58E8dCC13BE9780fC42E8723D8EaD4CF46943dF2"
|
|
abi: RelayerRegistry
|
|
startBlock: 14173129
|
|
mapping:
|
|
kind: ethereum/events
|
|
apiVersion: 0.0.5
|
|
language: wasm/assemblyscript
|
|
entities:
|
|
- StakeBurned
|
|
abis:
|
|
- name: RelayerRegistry
|
|
file: ./abis/RelayerRegistry.json
|
|
eventHandlers:
|
|
- event: StakeBurned(address,uint256)
|
|
handler: handleStakeBurned
|
|
file: ./src/mapping.ts
|