This repository has been archived by the owner on Feb 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
58 lines (58 loc) · 1.9 KB
/
subgraph.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AminoChainMarketplace
network: mumbai
source:
address: "0x66d37c30B6fFAC63F47658432a33ee5012C34188"
abi: AminoChainMarketplace
startBlock: 29196215
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- listingCanceled
- newListing
- saleCompleted
- saleInitiated
- saleRefunded
abis:
- name: AminoChainMarketplace
file: ./abis/AminoChainMarketplace.json
eventHandlers:
- event: listingCanceled(uint256)
handler: handlelistingCanceled
- event: newListing(address,uint256,uint256,uint256,address,address)
handler: handlenewListing
- event: saleCompleted(uint256,address,address,uint256,address,uint256,uint256,uint256)
handler: handlesaleCompleted
- event: deliveryStatusChanged(uint256,uint8)
handler: handledeliveryStatusChanged
- event: saleInitiated(address,address,uint256,uint256,address,uint256)
handler: handlesaleInitiated
- event: saleRefunded(uint256,address,address,uint256)
handler: handlesaleRefunded
file: ./src/amino-chain-marketplace.ts
- kind: ethereum
name: AminoChainDonation
network: mumbai
source:
address: "0x61048058C2ac5BcCD10aeF9BaBDC56250DC5753B"
abi: AminoChainDonation
startBlock: 29196215
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- NFTMinted
abis:
- name: AminoChainDonation
file: ./abis/AminoChainDonation.json
eventHandlers:
- event: NFTMinted(address,(bytes32,bytes32,bytes32,bytes32,bytes32),uint256[],uint256[])
handler: handleNFTMinted
file: ./src/amino-chain-donation.ts