-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
97 lines (97 loc) · 2.95 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: BarrenWuffet
network: goerli
source:
abi: BarrenWuffet
address: "0x47BaB3bAfB689ED02eE85cf8f061c47e00758006"
startBlock: 7973206
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Fund
abis:
- name: BarrenWuffet
file: ./abis/BarrenWuffet.json
- name: Fund
file: ./abis/Fund.json
eventHandlers:
- event: ManagerMetadata(indexed address,string,string,string,string,string)
handler: handleManagerMetadata
- event: Created(indexed address,address,string)
handler: handleCreated
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Paused(address)
handler: handlePaused
- event: Unpaused(address)
handler: handleUnpaused
file: ./src/barren-wuffet.ts
templates:
- kind: ethereum
name: Fund
network: goerli
source:
abi: Fund
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Fund
abis:
- name: Fund
file: ./abis/Fund.json
eventHandlers:
- event: Closed(indexed address)
handler: handleClosed
- event: Deposit(address,address,uint256)
handler: handleDeposit
- event: Initialized(uint8)
handler: handleInitialized
- event: Withdraw(address,address,uint256)
handler: handleWithdraw
file: ./src/fund.ts
- kind: ethereum
name: RoboCop
network: goerli
source:
abi: RoboCop
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Fund
abis:
- name: RoboCop
file: ./abis/RoboCop.json
eventHandlers:
- event: Activated(indexed bytes32)
handler: handleActivated
- event: CollateralAdded(indexed bytes32,uint256[])
handler: handleCollateralAdded
- event: CollateralReduced(indexed bytes32,uint256[])
handler: handleCollateralReduced
- event: Created(indexed bytes32)
handler: handleCreated
- event: Deactivated(indexed bytes32)
handler: handleDeactivated
- event: Executed(indexed bytes32,address)
handler: handleExecuted
- event: Initialized(uint8)
handler: handleInitialized
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: PositionCreated(bytes32,bytes,bytes[])
handler: handlePositionCreated
- event: PositionsClosed(bytes,bytes32[])
handler: handlePositionsClosed
- event: Redeemed(indexed bytes32)
handler: handleRedeemed
file: ./src/robo-cop.ts