mirror of
https://github.com/Instadapp/aave-automation-subgraph.git
synced 2024-07-29 22:28:08 +00:00
30 lines
804 B
YAML
30 lines
804 B
YAML
specVersion: 0.0.1
|
|
schema:
|
|
file: ./schema.graphql
|
|
dataSources:
|
|
- kind: ethereum
|
|
name: undefined
|
|
network: matic
|
|
source:
|
|
address: "0x6Bf41D02026b5B21F2a0bb0880b8545768a7151f"
|
|
abi: InstaAutomation
|
|
mapping:
|
|
kind: ethereum/events
|
|
apiVersion: 0.0.5
|
|
language: wasm/assemblyscript
|
|
entities:
|
|
- AdminChanged
|
|
- BeaconUpgraded
|
|
- Upgraded
|
|
abis:
|
|
- name: InstaAutomation
|
|
file: ./abis/InstaAutomation.json
|
|
eventHandlers:
|
|
- event: AdminChanged(address,address)
|
|
handler: handleAdminChanged
|
|
- event: BeaconUpgraded(indexed address)
|
|
handler: handleBeaconUpgraded
|
|
- event: Upgraded(indexed address)
|
|
handler: handleUpgraded
|
|
file: ./src/insta-automation.ts
|