Function: setNextRandSlot(address _modeler, uint256 _futureRandSlot)
This allows the validator to set a future rand slot for a modeler.
Inputs
_modelerControl: Fully controlled by the caller.
Constraints: None.
Impact: The modeler for which the rand slot is set.
_futureRandSlotControl: Fully controlled by the caller.
Constraints: None.
Impact: The future rand slot for the modeler.
Branches and code coverage
Intended branches
Assure that the
futureRandSlotsmapping is unique for the validator and modeler. Currently not performed.Assure that the
modelerdoes not already have afutureRandSlotset. Currently not performed.Should set the
futureRandSlotsmapping for the validator and modeler to the_futureRandSlot.
Negative behavior
Should not be callable by anyone other than the validator. Currently not performed.