mirror of
https://github.com/Instadapp/ERC-20-Token-Allowance.git
synced 2024-07-29 22:48:10 +00:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
|
specVersion: 0.0.1
|
||
|
schema:
|
||
|
file: ./schema.graphql
|
||
|
dataSources:
|
||
|
- kind: ethereum
|
||
|
name: undefined
|
||
|
network: mainnet
|
||
|
source:
|
||
|
address: "0x2971AdFa57b20E5a416aE5a708A8655A9c74f723"
|
||
|
abi: InstaIndex
|
||
|
mapping:
|
||
|
kind: ethereum/events
|
||
|
apiVersion: 0.0.5
|
||
|
language: wasm/assemblyscript
|
||
|
entities:
|
||
|
- LogAccountCreated
|
||
|
- LogNewAccount
|
||
|
- LogNewCheck
|
||
|
- LogNewMaster
|
||
|
- LogUpdateMaster
|
||
|
abis:
|
||
|
- name: InstaIndex
|
||
|
file: ./abis/InstaIndex.json
|
||
|
eventHandlers:
|
||
|
- event: LogAccountCreated(address,indexed address,indexed address,indexed address)
|
||
|
handler: handleLogAccountCreated
|
||
|
- event: LogNewAccount(indexed address,indexed address,indexed address)
|
||
|
handler: handleLogNewAccount
|
||
|
- event: LogNewCheck(indexed uint256,indexed address)
|
||
|
handler: handleLogNewCheck
|
||
|
- event: LogNewMaster(indexed address)
|
||
|
handler: handleLogNewMaster
|
||
|
- event: LogUpdateMaster(indexed address)
|
||
|
handler: handleLogUpdateMaster
|
||
|
file: ./src/insta-index.ts
|