Skip to content

Solidity API

MockSpanningERC1155

GOLD

uint256 GOLD

SILVER

uint256 SILVER

THORS_HAMMER

uint256 THORS_HAMMER

SWORD

uint256 SWORD

SHIELD

uint256 SHIELD

constructor

constructor(address delegate_) public

mint

function mint(bytes32 recipientAddress, uint256 tokenId, uint256 amount, bytes data) external payable

Mint tokenId SPAN to recipientAddress

NameTypeDescription
recipientAddressbytes32- Spanning Address that SPANNFT is minted to
tokenIduint256
amountuint256
databytes

burn

function burn(bytes32 from, uint256 id, uint256 amount) external

burnBatch

function burnBatch(bytes32 from, uint256[] ids, uint256[] amounts) external

mintBatch

function mintBatch(bytes32 to, uint256[] ids, uint256[] amounts, bytes data) external