This document provides an overview of the Token library.
It outlines the use cases, i.e. specification, and describes how to implement the library.
The Token library can be used anytime a contract needs a basic implementation of the SRC-20 and SRC-3 standards.
This function will return the total number of individual assets for a contract.
This function will return the total supply of tokens for an asset.
This function will return the name of an asset, such as “Ether”.
This function will return the symbol of an asset, such as “ETH”.
This function will return the number of decimals an asset uses.
This function will unconditionally mint new tokens using a sub-identifier.
This function will burns tokens with the given sub-identifier.
This function will unconditionally set the name of an asset.
This function will unconditionally set the symbol of an asset.
This function will unconditionally set the decimals of an asset.