func New
New binds the ledger to rlm. The realm is not the first argument, so this stays a normal call and home stays the creating realm. rlm must be current.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package grc1155 is an edition ledger. One id has a balance per address. The realm that calls New owns every later Min...
Package grc1155 is an edition ledger. One id has a balance per address. The realm that calls New owns every later Mint and Move. A caller address is not an argument: the home check is the realm value itself.
Ledger is stored by the creating realm. Do not export it from that realm.
Balance is the free or escrowed amount of id held by addr. Unknown pairs are 0.
Mint adds amount of id to to. from is empty in the event.
Move sends amount of id from from to to. Both addresses must already be valid.
Supply is the minted amount of id. An unknown id is 0.