balances
v0.Treebalances maps "\<owner>:\<id>" -> uint64 amount.
- OID
- 008bf1…de9d:4
balances details
supply
v0.Treesupply maps "\<id>" -> uint64 total minted for that id.
- OID
- 008bf1…de9d:6
supply details
balKey
func(owner .uverse.address, id int) string- OID
- 008bf1…de9d:7
balKey details
supKey
func(id int) string- OID
- 008bf1…de9d:9
supKey details
getBalance
func(owner .uverse.address, id int) uint64- OID
- 008bf1…de9d:10
getBalance details
setBalance
func(owner .uverse.address, id int, amount uint64)- OID
- 008bf1…de9d:11
setBalance details
getSupply
func(id int) uint64- OID
- 008bf1…de9d: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
- 008bf1…de9d:13
Mint details
TransferSingle
func(to .uverse.address, id int, amount uint64)TransferSingle moves \`amount\` of token \`id\` from the caller to \`to\`.
- OID
- 008bf1…de9d:14
TransferSingle details
BalanceOf
func(owner .uverse.address, id int) uint64BalanceOf returns the amount of token \`id\` held by \`owner\`.
- OID
- 008bf1…de9d:15
BalanceOf details
TotalSupply
func(id int) uint64TotalSupply returns the total amount minted of token \`id\`.
- OID
- 008bf1…de9d:16
TotalSupply details
Render
func(path string) stringRender prints a balances table and a per-id supply table.
- OID
- 008bf1…de9d: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
- 008bf1…de9d:18