Realm

gno.land/r/moul/x/daily/dutchauction/v1

Rendered output

Dutch Auction

A price that only ever falls. List an item high; it decays block by block toward a floor; the first Buy call wins it at whatever the price is at that instant. Real ugnot, escrowed by the chain and paid straight to the seller — overpayment is refunded automatically.

  • Total listed: 0
  • Total sold: 0
  • Total volume: 0 ugnot
  • Current height: 605483

No auctions yet — call List to open one.

Query (read-only)

non-crossing functions · no tx, no wallet needed
AuctionInfo(id string) → string, string, string, int64, int64, int64
CurrentPrice(id string) → int64

Call functions (state-changing)

signs a tx via Adena
Buy(id string)
Cancel(id string)
List(item string, startPrice int64, floorPrice int64, durationBlocks int64)

All exported functions (6)

show raw signatures
NameParamsReturns
List [{"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": "startPrice", "Type": "int64", "Value": ""}, {"Name": "floorPrice", "Type": "int64", "Value": ""}, {"Name": "durationBlocks", "Type": "int64", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]
Buy [{"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": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
Cancel [{"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": "string", "Value": ""}]
CurrentPrice [{"Name": "id", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
AuctionInfo [{"Name": "id", "Type": "string", "Value": ""}] [{"Name": "item", "Type": "string", "Value": ""}, {"Name": "seller", "Type": "string", "Value": ""}, {"Name": "status", "Type": "string", "Value": ""}, {"Name": "currentPrice", "Type": "int64", "Value": ""}, {"Name": "floorPrice", "Type": "int64", "Value": ""}, {"Name": "startPrice", "Type": "int64", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 23123, deposit: 2312300"
}