func BalanceOf
ActionBalanceOf returns the amount of token `id` held by `owner`.
Package erc1155 is an idiomatic gno.land port of the Solidity ERC-1155 multi-token standard. A single realm tracks ma...
Package erc1155 is an idiomatic gno.land port of the Solidity ERC-1155 multi-token standard. A single realm tracks many distinct token ids, each with its own fungible balances. Balances are keyed by (owner, id) in an avl.Tree so Render can iterate deterministically.
BalanceOf returns the amount of token `id` held by `owner`.
Mint creates `amount` units of token `id` and credits them to `to`.
Render prints a balances table and a per-id supply table.
TotalSupply returns the total amount minted of token `id`.
TransferSingle moves `amount` of token `id` from the caller to `to`.