Skip to content

Commit 9d29f22

Browse files
committed
chore: add new contract source data
1 parent 2144377 commit 9d29f22

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

subgraph.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ dataSources:
7070
abis:
7171
- name: ProveMeWrong
7272
file: ./abis/ProveMeWrong.json
73+
- name: KlerosLiquid
74+
file: ./abis/KlerosLiquid.json
7375
eventHandlers:
7476
- event: BalanceUpdate(uint256,uint256)
7577
handler: handleBalanceUpdate
@@ -98,3 +100,44 @@ dataSources:
98100
- event: ClaimWithdrawn(uint256)
99101
handler: handleClaimWithdrawal
100102
file: ./src/mapping.ts
103+
- kind: ethereum
104+
name: PolicyRegistry
105+
network: goerli
106+
source:
107+
address: "0x28c8A3A2E3c8Cd3F795DB83764316a1129a069bA"
108+
abi: PolicyRegistry
109+
startBlock: 5894121
110+
mapping:
111+
kind: ethereum/events
112+
apiVersion: 0.0.6
113+
language: wasm/assemblyscript
114+
entities:
115+
- CourtEntity
116+
abis:
117+
- name: PolicyRegistry
118+
file: ./abis/PolicyRegistry.json
119+
eventHandlers:
120+
- event: PolicyUpdate(indexed uint256,string)
121+
handler: handlePolicyUpdate
122+
file: ./src/mapping.ts
123+
- kind: ethereum
124+
name: KlerosLiquid
125+
network: goerli
126+
source:
127+
address: "0x1128eD55ab2d796fa92D2F8E1f336d745354a77A"
128+
abi: KlerosLiquid
129+
startBlock: 6790826
130+
mapping:
131+
kind: ethereum/events
132+
apiVersion: 0.0.6
133+
language: wasm/assemblyscript
134+
entities:
135+
- CourtEntity
136+
- DisputeEntity
137+
abis:
138+
- name: KlerosLiquid
139+
file: ./abis/KlerosLiquid.json
140+
eventHandlers:
141+
- event: NewPeriod(indexed uint256,uint8)
142+
handler: handleNewPeriod
143+
file: ./src/mapping.ts

0 commit comments

Comments
 (0)