Skip to content

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.

NameTypeDescription
namestring- Desired name for the token
symbolstring- Desired symbol for the token
delegateaddress- 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