-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
63 lines (63 loc) · 2.23 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
59
60
61
62
63
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: BuddleSource
network: optimism-kovan
source:
address: "0xc77852B84CD99Fab93a5199928172c988335568C"
abi: BuddleSrc
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- OwnershipTransferred
- TicketConfirmed
- TicketCreated
- TransferStarted
abis:
- name: BuddleSrc
file: ./abis/BuddleSrc.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: TicketConfirmed(bytes32,bytes32)
handler: handleTicketConfirmed
- event: TicketCreated(bytes32,uint256,address[],uint256[],uint256[],uint256,uint256,bytes32)
handler: handleTicketCreated
- event: TransferStarted((address,address,uint256,uint256,uint256,uint256,uint256),uint256,bytes32,uint256)
handler: handleTransferStarted
file: ./src/buddle-src.ts
- kind: ethereum
name: BuddleDestination
network: optimism-kovan
source:
address: "0x53fF9D8D8416497fbe1B352F509f072b276489A9"
abi: BuddleDest
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- LiquidityOwnerChanged
- OwnershipTransferred
- RootApproved
- TransferCompleted
- WithdrawalEvent
abis:
- name: BuddleDest
file: ./abis/BuddleDest.json
eventHandlers:
- event: LiquidityOwnerChanged(uint256,uint256,address,address)
handler: handleLiquidityOwnerChanged
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: RootApproved(uint256,bytes32)
handler: handleRootApproved
- event: TransferCompleted((address,address,uint256,uint256,uint256,uint256,uint256),uint256,uint256,address)
handler: handleTransferCompleted
- event: WithdrawalEvent((address,address,uint256,uint256,uint256,uint256,uint256),uint256,uint256,address)
handler: handleWithdrawalEvent
file: ./src/buddle-dest.ts