RevertingOnSend
View Source: contracts/test-contracts/RevertingOnSend.sol
RevertingOnSend - version: 0.1.12
Contract Members
Constants & Variables
contract MoC internal moc;
bool internal acceptMoney;
Functions
Constructor
function (address payable mocAddress) public nonpayable
Arguments
Name
Type
Description
mocAddress
address payable
MoC contract address
function () external payable
Arguments
setAcceptingMoney
function setAcceptingMoney(bool accepting) public nonpayable
Arguments
Name
Type
Description
accepting
bool
mintBProx
⚠ This has been deprecated since the Proposal to remove leveraged positions from the protocol was approved, however it is necessary to maintain the contracts and their documentation for legacy support.
⚠ See the approved technical proposal to understand how the behavior of this function has changed.
function mintBProx(bytes32 bucket, uint256 bproxAmountToMint, address payable vendorAccount) public payable
Arguments
Name
Type
Description
bucket
bytes32
bproxAmountToMint
uint256
vendorAccount
address payable
mintDoc
function mintDoc(uint256 docAmountToMint, address payable vendorAccount) public payable
Arguments
Name
Type
Description
docAmountToMint
uint256
vendorAccount
address payable
redeemDoCRequest
function redeemDoCRequest(uint256 docAmount) public nonpayable
Arguments
Name
Type
Description
docAmount
uint256
Last updated