MinWindow
int64// seconds
Value
10
MaxWindow
int64// 30 days
Value
2592000
MinBasePrice
int64// ugnot, 0.001 GNOT
Value
1000
MaxBasePrice
int64// ugnot, 1,000,000 GNOT
Value
1000000000000
MaxNameLen
untyped bigintValue
(40 <untyped> bigint)
HistoryLen
untyped bigint// bids kept per pool for the feed
Value
(50 <untyped> bigint)
MaxBoost
int64// the shortest clock a bid can buy is window/MaxBoost
Value
10
Entry
typeValue
bubblerumble.Entry
Pool
typeValue
bubblerumble.Pool
pkgPath
untyped stringpkgPath must match gnomod.toml: the realm's own address derives from it.
Value
"gno.land/r/g1leu8d2vsplhehcfkjg50mwgdpxdkt8tztu95wr/bubblerumble"
pools
[]*bubblerumble.Pool- OID
- 038115…fe20:388
pools details
realmAddr
.uverse.addressValue
<gnolang.StringValue>
Price
func(base int64, n int64) int64Price of the next bid in a pool with the given base price and n bids so far. Sublinear in n: bid 1 costs base, bid 4 costs 2·base, bid 100 costs 10·base.
- OID
- 038115…fe20:5
Price details
ClockFor
func(window int64, price int64, sent int64) int64ClockFor is the clock a bid buys by paying sent against a price: the window divided by the multiple paid, never below window/MaxBoost.
- OID
- 038115…fe20:7
ClockFor details
CreatePool
func(name string, window int64, basePrice int64) int64CreatePool opens a pool. Any ugnot sent with the call seeds its pot. Returns the new pool's id.
- OID
- 038115…fe20:8
CreatePool details
Bid
func(id int64)Bid pays at least the current price into a pool's pot and resets its clock; paying k× the price makes this bid's clock window/k (see ClockFor).
- OID
- 038115…fe20:9
Bid details
Claim
func(id int64)Claim sends a finished pool's pot to its winner. Anyone may call it.
- OID
- 038115…fe20:10
Claim details
Cancel
func(id int64)Cancel lets the creator take the seed back from a pool nobody has bid on.
- OID
- 038115…fe20:11
Cancel details
send
func(to .uverse.address, ugnot int64)- OID
- 038115…fe20:12
send details
pool
func(id int64) *bubblerumble.Pool- OID
- 038115…fe20:13
pool details
userCaller
func() .uverse.address- OID
- 038115…fe20:14
userCaller details
ugnotSent
func() int64- OID
- 038115…fe20:15
ugnotSent details
cleanName
func(s string) string- OID
- 038115…fe20:16
cleanName details
itoa
func(n int64) string- OID
- 038115…fe20:17
itoa details
parseID
func(s string) int64- OID
- 038115…fe20:18
parseID details
GNOT
func(ugnot int64) stringGNOT formats ugnot as GNOT with the trailing zeros trimmed.
- OID
- 038115…fe20:19
GNOT details
short
func(a .uverse.address) string- OID
- 038115…fe20:20
short details
dur
func(sec int64) string- OID
- 038115…fe20:21
dur details
Render
func(path string) stringRender serves gnoweb ("" and "\<id>") and the web page ("json" and "json/\<id>").
- OID
- 038115…fe20:22
Render details
unix
func(t time.Time) string- OID
- 038115…fe20:23
unix details
jbool
func(b bool) string- OID
- 038115…fe20:24
jbool details
jsonAll
func() string- OID
- 038115…fe20:25
jsonAll details
markdownAll
func() string- OID
- 038115…fe20:26