2020-05-20 20:31:12 +00:00
|
|
|
specVersion: 0.0.2
|
2020-05-21 14:04:36 +00:00
|
|
|
description: InstaDapp Defi Smart Account
|
|
|
|
repository: https://github.com/protofire/instadapp-dsa-subgraph
|
2020-05-20 20:31:12 +00:00
|
|
|
schema:
|
|
|
|
file: ./schema.graphql
|
|
|
|
dataSources:
|
|
|
|
- kind: ethereum/contract
|
|
|
|
name: InstaIndex
|
|
|
|
network: mainnet
|
|
|
|
source:
|
|
|
|
address: "0x2971adfa57b20e5a416ae5a708a8655a9c74f723"
|
|
|
|
abi: InstaIndex
|
|
|
|
startBlock: 9747241
|
|
|
|
mapping:
|
|
|
|
kind: ethereum/events
|
|
|
|
apiVersion: 0.0.4
|
|
|
|
language: wasm/assemblyscript
|
|
|
|
file: ./src/index.ts
|
|
|
|
entities:
|
|
|
|
- User
|
|
|
|
- SmartAccount
|
|
|
|
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
|
2020-05-21 14:04:36 +00:00
|
|
|
callHandlers:
|
|
|
|
- function: setBasics(address,address,address,address)
|
|
|
|
handler: handleSetBasics
|
2020-05-22 14:45:22 +00:00
|
|
|
- function: build(address,uint256,address)
|
|
|
|
handler: handleBuild
|
2020-05-22 16:35:24 +00:00
|
|
|
templates:
|
|
|
|
- name: InstaConnectors
|
|
|
|
kind: ethereum/contract
|
|
|
|
network: mainnet
|
|
|
|
source:
|
|
|
|
abi: InstaConnectors
|
|
|
|
mapping:
|
|
|
|
kind: ethereum/events
|
|
|
|
apiVersion: 0.0.4
|
|
|
|
language: wasm/assemblyscript
|
|
|
|
file: ./src/index.ts
|
|
|
|
entities:
|
|
|
|
- InstaConnector
|
|
|
|
- Connector
|
|
|
|
abis:
|
|
|
|
- name: InstaConnectors
|
|
|
|
file: ./abis/InstaConnectors.json
|
|
|
|
eventHandlers:
|
|
|
|
- event: LogDisable(indexed address)
|
|
|
|
handler: handleLogDisableConnector
|
|
|
|
- event: LogEnable(indexed address)
|
|
|
|
handler: handleLogEnableConnector
|
|
|
|
- event: LogEnableStatic(indexed address)
|
|
|
|
handler: handleLogEnableStaticConnector
|
|
|
|
# - LogAddController(indexed address)
|
|
|
|
# - LogDisable(indexed address)
|
|
|
|
# - LogEnable(indexed address)
|
|
|
|
# - LogEnableStatic(indexed address)
|
|
|
|
# - LogRemoveController(indexed address)
|