Realm

gno.land/r/moul/demo/vault/v2

Render

this realm has no Render() output

Query (read-only)

non-crossing functions · no tx, no wallet needed
MyBalance() → int64

Call functions (state-changing)

signs a tx via Adena
Deposit(amount uint, recoverAddress string)
Recover(target string)
Redeem(amount uint)
Unvault(amount uint)

All exported functions (5)

show raw signatures
NameParamsReturns
MyBalance [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Deposit [{"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": "amount", "Type": "uint", "Value": ""}, {"Name": "recoverAddress", "Type": "string", "Value": ""}]
Recover [{"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": "target", "Type": "string", "Value": ""}]
Unvault [{"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": "amount", "Type": "uint", "Value": ""}]
Redeem [{"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": "amount", "Type": "uint", "Value": ""}]

Files

Storage

{
  "raw": "storage: 14339, deposit: 1433900"
}