render_example_test.gno
0.60 Kb · 17 lines
1package dutchauction
2
3// ExampleRender pins the realm's Render output as a testable example.
4func ExampleRender() {
5 print(Render(""))
6 // Output:
7 // # Dutch Auction
8 //
9 // 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.
10 //
11 // - **Total listed:** 0
12 // - **Total sold:** 0
13 // - **Total volume:** 0 ugnot
14 // - **Current height:** 123
15 //
16 // _No auctions yet — call `List` to open one._
17}