MoC
/**
* @dev Creates or updates the amount of a Doc redeem Request from the msg.sender
* @param docAmount Amount of Docs to redeem on settlement [using dollarPrecision]
*/
function redeemDocRequest(uint256 docAmount) public {
settlement.addRedeemRequest(docAmount, msg.sender);
} modifier atState(MoCState.States _state) {
require(mocState.state() == _state, "Function cannot be called at this state.");
_;
} modifier atLeastState(MoCState.States _state) {
require(mocState.state() >= _state, "Function cannot be called at this state.");
_;
}Last updated