Git Source
function createTree(bytes32 _key, bytes memory _extraData) external;
function setStake(address _account, uint96 _courtID, uint256 _value) external;
function setJurorInactive(address _account) external;
function notifyRandomNumber(uint256 _drawnNumber) external;
function draw(bytes32 _court, uint256 _coreDisputeID, uint256 _voteID) external view returns (address);
function preStakeHook(address _account, uint96 _courtID, uint256 _stake, uint256 _penalty)
external
returns (preStakeHookResult);
function createDisputeHook(uint256 _disputeID, uint256 _roundID) external;
function postDrawHook(uint256 _disputeID, uint256 _roundID) external;
event NewPhase(Phase _phase);
enum Phase {
staking,
generating,
drawing
}
enum preStakeHookResult {
ok,
delayed,
failed
}