Closed jellegerbrandy closed 1 year ago
CodeRabbit
Walkthrough:
This update introduces a new contract, HATKlerosV2Connector
, to bridge HatsFinance and Kleros court V2. It manages disputes and rulings, interacts with the Kleros arbitrator and Hat arbitrator contracts, and calculates arbitration costs. Additionally, a comment in HATVault.sol
is updated for clarity.
Changes:
File | Summary |
---|---|
contracts/HATKlerosV2Connector.sol |
A new contract that acts as a connector between HatsFinance and Kleros court V2. It includes data structures, mappings, and events for managing disputes and rulings, and functions for notifying the Kleros arbitrator of a challenged decision, ruling on a dispute, and calculating the arbitration cost. |
contracts/HATVault.sol |
The constant MAX_BOUNTY_LIMIT comment is updated to clarify that it represents the maximum bounty limit and can be up to 90%. No changes to functionality. |
Summary by CodeRabbit