BaseDisputeKit
Inherits: IDisputeKit
State Variables
governor
address public governor;
core
KlerosCore public core;
Functions
onlyByGovernor
modifier onlyByGovernor();
onlyByCore
modifier onlyByCore();
constructor
Constructor.
constructor(address _governor, KlerosCore _core);
Parameters
| Name | Type | Description | 
|---|---|---|
| _governor | address | The governor's address. | 
| _core | KlerosCore | The KlerosCore arbitrator. | 
executeGovernorProposal
Allows the governor to call anything on behalf of the contract.
function executeGovernorProposal(address _destination, uint256 _amount, bytes memory _data) external onlyByGovernor;
Parameters
| Name | Type | Description | 
|---|---|---|
| _destination | address | The destination of the call. | 
| _amount | uint256 | The value sent with the call. | 
| _data | bytes | The data sent with the call. | 
_postDrawCheck
Checks that the chosen address satisfies certain conditions for being drawn.
function _postDrawCheck(uint256 _coreDisputeID, address _juror) internal virtual returns (bool);
Parameters
| Name | Type | Description | 
|---|---|---|
| _coreDisputeID | uint256 | ID of the dispute in the core contract. | 
| _juror | address | Chosen address. | 
Returns
| Name | Type | Description | 
|---|---|---|
| <none> | bool | Whether the address can be drawn or not. |