|
1 | 1 | # THIS FILE IS AUTO-GENERATED BY update.sh FROM subgraph.template.yaml, ANY CHANGES WILL BE LOST.
|
2 | 2 | specVersion: 0.0.5
|
| 3 | +description: Kleros v2 Core Neo |
| 4 | +repository: https://github.com/kleros/kleros-v2/tree/dev/subgraph/core-neo |
3 | 5 | schema:
|
4 | 6 | file: ./schema.graphql
|
5 | 7 | features:
|
@@ -105,7 +107,122 @@ dataSources:
|
105 | 107 | - name: DisputeKitClassic
|
106 | 108 | file: ../../contracts/deployments/arbitrum/DisputeKitClassicNeo.json
|
107 | 109 | - name: KlerosCore
|
108 |
| - file: ../../contracts/deployments/arbitrum/KlerosCoreNeo.json |
| 110 | + # FIX: temporarily point to abi with event addition |
| 111 | + file: ./abi-migrations/KlerosCoreNeo.json |
| 112 | + eventHandlers: |
| 113 | + - event: DisputeCreation(indexed uint256,uint256,bytes) |
| 114 | + handler: handleDisputeCreation |
| 115 | + - event: Contribution(indexed uint256,indexed uint256,uint256,indexed address,uint256) |
| 116 | + handler: handleContributionEvent |
| 117 | + - event: Withdrawal(indexed uint256,indexed uint256,uint256,indexed address,uint256) |
| 118 | + handler: handleWithdrawal |
| 119 | + - event: ChoiceFunded(indexed uint256,indexed uint256,indexed uint256) |
| 120 | + handler: handleChoiceFunded |
| 121 | + - event: VoteCast(indexed uint256,indexed address,uint256[],indexed uint256,string) |
| 122 | + handler: handleVoteCast |
| 123 | + - event: CommitCast(indexed uint256,indexed address,uint256[],bytes32) |
| 124 | + handler: handleCommitCast |
| 125 | + file: ./src/DisputeKitClassic.ts |
| 126 | + - kind: ethereum |
| 127 | + name: DisputeKitShutter |
| 128 | + network: arbitrum-one |
| 129 | + source: |
| 130 | + address: "0x9D3e3f1765744c2a1BC6F6088549770444BBC768" |
| 131 | + abi: DisputeKitShutter |
| 132 | + startBlock: 364034407 |
| 133 | + mapping: |
| 134 | + kind: ethereum/events |
| 135 | + apiVersion: 0.0.7 |
| 136 | + language: wasm/assemblyscript |
| 137 | + entities: |
| 138 | + - ClassicDispute |
| 139 | + - ClassicRound |
| 140 | + - ClassicVote |
| 141 | + - ClassicContribution |
| 142 | + abis: |
| 143 | + - name: DisputeKitShutter |
| 144 | + file: ../../contracts/deployments/arbitrum/DisputeKitShutterNeo.json |
| 145 | + - name: DisputeKitClassic # Required on Alchemy |
| 146 | + file: ../../contracts/deployments/arbitrum/DisputeKitClassicNeo.json |
| 147 | + - name: KlerosCore |
| 148 | + # FIX: temporarily point to abi with event addition |
| 149 | + file: ./abi-migrations/KlerosCoreNeo.json |
| 150 | + eventHandlers: |
| 151 | + - event: DisputeCreation(indexed uint256,uint256,bytes) |
| 152 | + handler: handleDisputeCreation |
| 153 | + - event: Contribution(indexed uint256,indexed uint256,uint256,indexed address,uint256) |
| 154 | + handler: handleContributionEvent |
| 155 | + - event: Withdrawal(indexed uint256,indexed uint256,uint256,indexed address,uint256) |
| 156 | + handler: handleWithdrawal |
| 157 | + - event: ChoiceFunded(indexed uint256,indexed uint256,indexed uint256) |
| 158 | + handler: handleChoiceFunded |
| 159 | + - event: VoteCast(indexed uint256,indexed address,uint256[],indexed uint256,string) |
| 160 | + handler: handleVoteCast |
| 161 | + - event: CommitCast(indexed uint256,indexed address,uint256[],bytes32) |
| 162 | + handler: handleCommitCast |
| 163 | + file: ./src/DisputeKitClassic.ts |
| 164 | + - kind: ethereum |
| 165 | + name: DisputeKitGated |
| 166 | + network: arbitrum-one |
| 167 | + source: |
| 168 | + address: "0xaE1eed20C125B739b64c948820C61F809ad9a925" |
| 169 | + abi: DisputeKitGated |
| 170 | + startBlock: 364034429 |
| 171 | + mapping: |
| 172 | + kind: ethereum/events |
| 173 | + apiVersion: 0.0.7 |
| 174 | + language: wasm/assemblyscript |
| 175 | + entities: |
| 176 | + - ClassicDispute |
| 177 | + - ClassicRound |
| 178 | + - ClassicVote |
| 179 | + - ClassicContribution |
| 180 | + abis: |
| 181 | + - name: DisputeKitGated |
| 182 | + file: ../../contracts/deployments/arbitrum/DisputeKitGatedNeo.json |
| 183 | + - name: DisputeKitClassic # Required on Alchemy |
| 184 | + file: ../../contracts/deployments/arbitrum/DisputeKitClassicNeo.json |
| 185 | + - name: KlerosCore |
| 186 | + # FIX: temporarily point to abi with event addition |
| 187 | + file: ./abi-migrations/KlerosCoreNeo.json |
| 188 | + eventHandlers: |
| 189 | + - event: DisputeCreation(indexed uint256,uint256,bytes) |
| 190 | + handler: handleDisputeCreation |
| 191 | + - event: Contribution(indexed uint256,indexed uint256,uint256,indexed address,uint256) |
| 192 | + handler: handleContributionEvent |
| 193 | + - event: Withdrawal(indexed uint256,indexed uint256,uint256,indexed address,uint256) |
| 194 | + handler: handleWithdrawal |
| 195 | + - event: ChoiceFunded(indexed uint256,indexed uint256,indexed uint256) |
| 196 | + handler: handleChoiceFunded |
| 197 | + - event: VoteCast(indexed uint256,indexed address,uint256[],indexed uint256,string) |
| 198 | + handler: handleVoteCast |
| 199 | + - event: CommitCast(indexed uint256,indexed address,uint256[],bytes32) |
| 200 | + handler: handleCommitCast |
| 201 | + file: ./src/DisputeKitClassic.ts |
| 202 | + - kind: ethereum |
| 203 | + name: DisputeKitGatedShutter |
| 204 | + network: arbitrum-one |
| 205 | + source: |
| 206 | + address: "0x788330092B9704809C19858E39EB9Ac402c2E47b" |
| 207 | + abi: DisputeKitGatedShutter |
| 208 | + startBlock: 364034451 |
| 209 | + mapping: |
| 210 | + kind: ethereum/events |
| 211 | + apiVersion: 0.0.7 |
| 212 | + language: wasm/assemblyscript |
| 213 | + entities: |
| 214 | + - ClassicDispute |
| 215 | + - ClassicRound |
| 216 | + - ClassicVote |
| 217 | + - ClassicContribution |
| 218 | + abis: |
| 219 | + - name: DisputeKitGatedShutter |
| 220 | + file: ../../contracts/deployments/arbitrum/DisputeKitGatedShutterNeo.json |
| 221 | + - name: DisputeKitClassic # Required on Alchemy |
| 222 | + file: ../../contracts/deployments/arbitrum/DisputeKitClassicNeo.json |
| 223 | + - name: KlerosCore |
| 224 | + # FIX: temporarily point to abi with event addition |
| 225 | + file: ./abi-migrations/KlerosCoreNeo.json |
109 | 226 | eventHandlers:
|
110 | 227 | - event: DisputeCreation(indexed uint256,uint256,bytes)
|
111 | 228 | handler: handleDisputeCreation
|
|
0 commit comments