Solidity API
MockSpanningERC20Container
This contract is for duringToken functions
Implementation of the {ISpanningERC20} interface.
constructor
constructor(string name, string symbol, address delegate) public
Creates the instance and assigns required values.
Name | Type | Description |
---|---|---|
name | string | - Desired name for the token |
symbol | string | - Desired symbol for the token |
delegate | address | - Legacy (local) address for the Spanning Delegate |
mint
function mint(bytes32 receiverAddress, uint256 amount) public
duringTokenMint
function duringTokenMint(bytes32 senderAddress, bytes32 receiverAddress, uint256 amount) public
duringTokenBurn
function duringTokenBurn(bytes32 senderAddress, bytes32 receiverAddress, uint256 amount) public
duringTokenTransfer
function duringTokenTransfer(bytes32 senderAddress, bytes32 receiverAddress, uint256 amount) public
duringTokenApprove
function duringTokenApprove(bytes32 senderAddress, bytes32 receiverAddress, uint256 amount) public