Phase System
The sortition module operates in phases:- Staking: Jurors can update stakes. No draws happening.
- Generating: RNG is requested from the random number source.
- Drawing: Jurors are drawn for disputes using the generated random number.
Juror selection via weighted random draws based on staked PNK
createDisputeHook(uint256 _disputeID, uint256 _roundID)draw(uint256 _disputeID, uint256 _roundID, uint256 _nonce) → addresssetStake(address _account, uint96 _courtID, uint256 _newStake, bool _alreadyTransferred) → (uint256, uint256, uint256, bool)