Expand description
Functionality for performing common operations with assets.
Functions
Burn amount
coins of the current contract’s sub_id
. This function burns them from the balance of the current contract.
Mint amount
coins of the current contract’s sub_id
. The newly minted assets are owned by the current contract.
Mint amount
coins of the current contract’s asset_id
and transfer them to to
by calling transfer()
.
Transfer amount
coins of the type asset_id
and send them to to
.