diff --git a/.vscode/settings.json b/.vscode/settings.json index 15177d874..0386cc80f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,5 @@ "solidity-language-server.trace.server.verbosity": "message", "eslint.packageManager": "yarn", "prettier.useEditorConfig": true, - "prettier.configPath": "prettier-config/.prettierrc.js", - "svg.preview.background": "custom" + "prettier.configPath": "prettier-config/.prettierrc.js" } diff --git a/subgraph/subgraph.yaml.bak.1691372736 b/subgraph/subgraph.yaml.bak.1691372736 deleted file mode 100644 index 3aa625bfe..000000000 --- a/subgraph/subgraph.yaml.bak.1691372736 +++ /dev/null @@ -1,116 +0,0 @@ -specVersion: 0.0.4 -schema: - file: ./schema.graphql -dataSources: - - kind: ethereum - name: KlerosCore - network: arbitrum-goerli - source: - address: "0x8Af82E2F8890acb4AB84cbaB3c4C4Eb3E965CF24" - abi: KlerosCore - startBlock: 27808431 - mapping: - kind: ethereum/events - apiVersion: 0.0.6 - language: wasm/assemblyscript - entities: - - User - - Arbitrable - - TokenAndETHShift - - JurorTokensPerCourt - - Court - - Dispute - - Round - - Draw - - DisputeKit - - Counter - abis: - - name: DisputeKitClassic - file: ../contracts/deployments/arbitrumGoerli/DisputeKitClassic.json - - name: KlerosCore - file: ../contracts/deployments/arbitrumGoerli/KlerosCore.json - eventHandlers: - - event: AppealDecision(indexed uint256,indexed address) - handler: handleAppealDecision - - event: DisputeCreation(indexed uint256,indexed address) - handler: handleDisputeCreation - - event: Draw(indexed address,indexed uint256,uint256,uint256) - handler: handleDraw - - event: NewPeriod(indexed uint256,uint8) - handler: handleNewPeriod - - event: CourtCreated(indexed uint256,indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4],uint256[]) - handler: handleCourtCreated - - event: CourtModified(indexed uint96,bool,uint256,uint256,uint256,uint256,uint256[4]) - handler: handleCourtModified - - event: DisputeKitCreated(indexed uint256,indexed address,indexed uint256) - handler: handleDisputeKitCreated - - event: DisputeKitEnabled(indexed uint96,indexed uint256,indexed bool) - handler: handleDisputeKitEnabled - - event: StakeSet(indexed address,uint256,uint256) - handler: handleStakeSet - - event: StakeDelayed(indexed address,uint256,uint256,uint256) - handler: handleStakeDelayed - - event: TokenAndETHShift(indexed address,indexed uint256,indexed uint256,uint256,int256,int256,address) - handler: handleTokenAndETHShift - - event: Ruling(indexed address,indexed uint256,uint256) - handler: handleRuling - - event: AcceptedFeeToken(indexed address,indexed bool) - handler: handleAcceptedFeeToken - file: ./src/KlerosCore.ts - - kind: ethereum - name: PolicyRegistry - network: arbitrum-goerli - source: - address: "0xED503aBA65B28D81444294D1eAa5d84CeFdC2C58" - abi: PolicyRegistry - startBlock: 25585400 - mapping: - kind: ethereum/events - apiVersion: 0.0.6 - language: wasm/assemblyscript - entities: - - Court - abis: - - name: PolicyRegistry - file: ../contracts/deployments/arbitrumGoerli/PolicyRegistry.json - eventHandlers: - - event: PolicyUpdate(indexed uint256,string,string) - handler: handlePolicyUpdate - file: ./src/PolicyRegistry.ts - - kind: ethereum - name: DisputeKitClassic - network: arbitrum-goerli - source: - address: "0x0245A93ABd9c5b2d767B2D98cE6d5e612208E474" - abi: DisputeKitClassic - startBlock: 27808415 - mapping: - kind: ethereum/events - apiVersion: 0.0.6 - language: wasm/assemblyscript - entities: - - ClassicDispute - - ClassicRound - - ClassicVote - - ClassicEvidenceGroup - - ClassicEvidence - - ClassicContribution - abis: - - name: DisputeKitClassic - file: ../contracts/deployments/arbitrumGoerli/DisputeKitClassic.json - - name: KlerosCore - file: ../contracts/deployments/arbitrumGoerli/KlerosCore.json - eventHandlers: - - event: DisputeCreation(indexed uint256,uint256,bytes) - handler: handleDisputeCreation - - event: Contribution(indexed uint256,indexed uint256,uint256,indexed address,uint256) - handler: handleContributionEvent - - event: Withdrawal(indexed uint256,indexed uint256,uint256,indexed address,uint256) - handler: handleWithdrawal - - event: ChoiceFunded(indexed uint256,indexed uint256,indexed uint256) - handler: handleChoiceFunded - - event: Evidence(indexed uint256,indexed address,string) - handler: handleEvidenceEvent - - event: Justification(indexed uint256,indexed address,indexed uint256,string) - handler: handleJustificationEvent - file: ./src/DisputeKitClassic.ts diff --git a/yarn.lock b/yarn.lock index eaf51fe8b..fd69c7b45 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1424,7 +1424,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.0.0, @babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.21.4, @babel/helper-module-imports@npm:^7.22.5": +"@babel/helper-module-imports@npm:^7.0.0, @babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.21.4, @babel/helper-module-imports@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-module-imports@npm:7.22.5" dependencies: @@ -1433,6 +1433,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-imports@npm:^7.16.7": + version: 7.22.15 + resolution: "@babel/helper-module-imports@npm:7.22.15" + dependencies: + "@babel/types": ^7.22.15 + checksum: ecd7e457df0a46f889228f943ef9b4a47d485d82e030676767e6a2fdcbdaa63594d8124d4b55fd160b41c201025aec01fc27580352b1c87a37c9c6f33d116702 + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-module-transforms@npm:7.22.5" @@ -1527,6 +1536,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-validator-identifier@npm:7.22.20" + checksum: 136412784d9428266bcdd4d91c32bcf9ff0e8d25534a9d94b044f77fe76bc50f941a90319b05aafd1ec04f7d127cd57a179a3716009ff7f3412ef835ada95bdc + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-validator-identifier@npm:7.22.5" @@ -2862,6 +2878,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.22.15": + version: 7.23.0 + resolution: "@babel/types@npm:7.23.0" + dependencies: + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.20 + to-fast-properties: ^2.0.0 + checksum: 215fe04bd7feef79eeb4d33374b39909ce9cad1611c4135a4f7fdf41fe3280594105af6d7094354751514625ea92d0875aba355f53e86a92600f290e77b0e604 + languageName: node + linkType: hard + "@balena/dockerignore@npm:^1.0.2": version: 1.0.2 resolution: "@balena/dockerignore@npm:1.0.2" @@ -9056,13 +9083,13 @@ __metadata: linkType: hard "@types/react@npm:^18.0.28": - version: 18.2.18 - resolution: "@types/react@npm:18.2.18" + version: 18.2.28 + resolution: "@types/react@npm:18.2.28" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 2e0d75de2b618e76780019e52478b1bec2b015a9187aea30f84518c0c3ddc639055bdfea50864aece937bad0cb0544d0100b80d30f5461e72fbc1c3c0be8b140 + checksum: 81381bedeba83278f4c9febb0b83e0bd3f42a25897a50b9cb36ef53651d34b3d50f87ebf11211ea57ea575131f85d31e93e496ce46478a00b0f9bf7b26b5917a languageName: node linkType: hard @@ -26477,8 +26504,8 @@ __metadata: linkType: hard "react-player@npm:^2.12.0": - version: 2.12.0 - resolution: "react-player@npm:2.12.0" + version: 2.13.0 + resolution: "react-player@npm:2.13.0" dependencies: deepmerge: ^4.0.0 load-script: ^1.0.0 @@ -26487,7 +26514,7 @@ __metadata: react-fast-compare: ^3.0.1 peerDependencies: react: ">=16.6.0" - checksum: 77d3e55ed67cd9c1e2300a990d8015d270072daad41f8a0750c32748f3fbfbc5bd2a2f06e78ac6828c2260b84537b9571d0abac31d3e888b74a3dccb59a56365 + checksum: 7e0e69e0ac37227ab5bfdda73991d4f5d4741585562f3ad9cfb787ae2c427510b69ddf6ef3f23f319d699b790af852fca57f3e9b1dae94f385d545a3db200d67 languageName: node linkType: hard