Resource Minter
_10resource Minter {_10_10 allowedAmount: UFix64_10}
Resource object that token admin accounts can hold to mint new tokens.
Initializer​
_10func init(allowedAmount UFix64)
Functions​
fun mintTokens()
​
_10func mintTokens(amount UFix64): ExampleToken.Vault
Function that mints new tokens, adds them to the total supply, and returns them to the calling context.
Parameters:
- amount : The quantity of tokens to mint
Returns: The Vault resource containing the minted tokens