Realm
gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/erc1155
Rendered output
ERC-1155 Multi-Token
A single realm holding many fungible token ids. Balances are keyed by (owner, id).
Balances
No balances yet. Call Mint to create tokens.
Supply per ID
No tokens minted.
Query (read-only)
non-crossing functions · no tx, no wallet neededBalanceOf(owner string, id int) → uint64
TotalSupply(id int) → uint64
Call functions (state-changing)
signs a tx via AdenaMint(to string, id int, amount uint64)
TransferSingle(to string, id int, amount uint64)
All exported functions (5)
show raw signatures
| Name | Params | Returns |
|---|---|---|
| Mint | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "id", "Type": "int", "Value": ""}, {"Name": "amount", "Type": "uint64", "Value": ""}] | — |
| TransferSingle | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "to", "Type": "string", "Value": ""}, {"Name": "id", "Type": "int", "Value": ""}, {"Name": "amount", "Type": "uint64", "Value": ""}] | — |
| BalanceOf | [{"Name": "owner", "Type": "string", "Value": ""}, {"Name": "id", "Type": "int", "Value": ""}] | [{"Name": ".res.0", "Type": "uint64", "Value": ""}] |
| TotalSupply | [{"Name": "id", "Type": "int", "Value": ""}] | [{"Name": ".res.0", "Type": "uint64", "Value": ""}] |
| Render | [{"Name": "path", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
Files
Storage
{
"raw": "storage: 12584, deposit: 1258400"
}