ic-tube/frontend/indexer/subgraph.yaml
2024-08-01 22:50:01 +03:00

24 lines
640 B
YAML

specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Ourtube
network: mumbai
source:
address: "0xEd2e212B8191827cd27DcB60A09BA5F789eD78e2"
abi: Ourtube
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VideoUploaded
abis:
- name: Ourtube
file: ./abis/Ourtube.json
eventHandlers:
- event: VideoUploaded(uint256,string,string,string,string,string,string,bool,string,address)
handler: handleVideoUploaded
file: ./src/ourtube.ts