Realm

gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/englishauction

Rendered output

English Auction

Ascending-bid auctions. Start one, outbid others, and End it after its block deadline to award the item to the top bidder.

No auctions yet. Call Start to open one.

Call functions (state-changing)

signs a tx via Adena
Bid(id int64, amount uint64)
End(id int64)
Start(item string, durationBlocks int64)
Withdraw(id int64)

All exported functions (5)

show raw signatures
NameParamsReturns
Start [{"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": "item", "Type": "string", "Value": ""}, {"Name": "durationBlocks", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Bid [{"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": "id", "Type": "int64", "Value": ""}, {"Name": "amount", "Type": "uint64", "Value": ""}]
Withdraw [{"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": "id", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "uint64", "Value": ""}]
End [{"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": "id", "Type": "int64", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 13828, deposit: 1382800"
}