balances
v0.Treebalances maps "\<owner>:\<id>" -> uint64 amount.
- OID
- 034de3…8684:4
balances details
supply
v0.Treesupply maps "\<id>" -> uint64 total minted for that id.
- OID
- 034de3…8684:6
supply details
balKey
func(owner .uverse.address, id int) string- OID
- 034de3…8684:7
balKey details
supKey
func(id int) string- OID
- 034de3…8684:9
supKey details
getBalance
func(owner .uverse.address, id int) uint64- OID
- 034de3…8684:10
getBalance details
setBalance
func(owner .uverse.address, id int, amount uint64)- OID
- 034de3…8684:11
setBalance details
getSupply
func(id int) uint64- OID
- 034de3…8684:12
getSupply details
Mint
func(to .uverse.address, id int, amount uint64)Mint creates \`amount\` units of token \`id\` and credits them to \`to\`.
- OID
- 034de3…8684:13
Mint details
TransferSingle
func(to .uverse.address, id int, amount uint64)TransferSingle moves \`amount\` of token \`id\` from the caller to \`to\`.
- OID
- 034de3…8684:14
TransferSingle details
BalanceOf
func(owner .uverse.address, id int) uint64BalanceOf returns the amount of token \`id\` held by \`owner\`.
- OID
- 034de3…8684:15
BalanceOf details
TotalSupply
func(id int) uint64TotalSupply returns the total amount minted of token \`id\`.
- OID
- 034de3…8684:16
TotalSupply details
Render
func(path string) stringRender prints a balances table and a per-id supply table.
- OID
- 034de3…8684:17
Render details
splitBalKey
func(key string) (owner string, id string)splitBalKey splits a "\<owner>:\<id>" balance key. The owner (a bech32 address) contains no ':', so the id is the substring after the last ':'.
- OID
- 034de3…8684:18