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)
RosterMax
untyped bigint// distinct bidders a pool pays dividends and team shares to
Value
(200 <untyped> bigint)
MaxBoost
int64// the shortest clock a bid can buy is window/MaxBoost
Value
10
PotShare
int64Value
55
DivShare
int64// to earlier bidders of the pool, pro-rata by paid-in
Value
30
RefShare
int64// to the bidder's inviter
Value
10
CreatorShare
int64Value
5
TeamShare
int64Value
20
pkgPath
untyped stringpkgPath must match gnomod.toml: the realm's own address derives from it.
Value
"gno.land/r/g1leu8d2vsplhehcfkjg50mwgdpxdkt8tztu95wr/bubblerumble2"
Entry
typeValue
bubblerumble2.Entry
Member
typeMember is a distinct bidder of a pool: the roster dividends and team shares go to.
Value
bubblerumble2.Member
Pool
typeValue
bubblerumble2.Pool
Player
typePlayer is what the realm remembers about an address across pools.
Value
bubblerumble2.Player
pools
[]*bubblerumble2.Pool- OID
- 011ba7…328e:143
pools details
players
map[.uverse.address]*bubblerumble2.Player- OID
- 011ba7…328e:5
players details
teamPaid
map[string]int64// flag -> gross bid volume under it
- OID
- 011ba7…328e:7
teamPaid details
teamWon
map[string]int64// flag -> pots closed under it
- OID
- 011ba7…328e:9
teamWon details
teamSize
map[string]int64// flag -> players flying it
- OID
- 011ba7…328e:11
teamSize 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.
- OID
- 011ba7…328e:13
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
- 011ba7…328e:15
ClockFor details
CreatePool
func(name string, window int64, basePrice int64) int64CreatePool opens a pool. Any ugnot sent with the call seeds its pot. The creator earns CreatorShare of every bid.
- OID
- 011ba7…328e:16
CreatePool details
Bid
func(id int64, ref string, flag string)Bid pays at least the current price and resets the clock. ref is the address that invited the bidder ("" for none; only the first bid ever sets it), flag a two-letter country to play under ("" keeps the last one).
- OID
- 011ba7…328e:17
Bid details
Claim
func(id int64)Claim pays out a finished pool: 80% to the winner, 20% shared among the roster members flying the winner's flag (pro-rata by paid-in, the winner included) — or everything to the winner when nobody else flew it. Anyone may call it.
- OID
- 011ba7…328e:18
Claim details
Cancel
func(id int64)Cancel lets the creator take the seed back from a pool nobody has bid on.
- OID
- 011ba7…328e:19
Cancel details
player
func(a .uverse.address) *bubblerumble2.Player- OID
- 011ba7…328e:20
player details
send
func(to .uverse.address, ugnot int64)- OID
- 011ba7…328e:21
send details
pool
func(id int64) *bubblerumble2.Pool- OID
- 011ba7…328e:22
pool details
userCaller
func() .uverse.address- OID
- 011ba7…328e:23
userCaller details
ugnotSent
func() int64- OID
- 011ba7…328e:24
ugnotSent details
cleanName
func(s string) string- OID
- 011ba7…328e:25
cleanName details
cleanFlag
func(s string) stringcleanFlag accepts a two-letter country code, upper-cased; anything else is "".
- OID
- 011ba7…328e:26
cleanFlag details
itoa
func(n int64) string- OID
- 011ba7…328e:27
itoa details
parseID
func(s string) int64- OID
- 011ba7…328e:28
parseID details
GNOT
func(ugnot int64) stringGNOT formats ugnot as GNOT with the trailing zeros trimmed.
- OID
- 011ba7…328e:29
GNOT details
short
func(a .uverse.address) string- OID
- 011ba7…328e:30
short details
dur
func(sec int64) string- OID
- 011ba7…328e:31
dur details
Render
func(path string) stringRender serves gnoweb ("" and "\<id>") and the page ("json", "json/\<id>", "me/\<address>", "teams").
- OID
- 011ba7…328e:32
Render details
unix
func(t time.Time) string- OID
- 011ba7…328e:33
unix details
jbool
func(b bool) string- OID
- 011ba7…328e:34
jbool details
jsonAll
func() string- OID
- 011ba7…328e:35
jsonAll details
jsonTeams
func() stringjsonTeams is the country leaderboard: paid in, won, and players per flag.
- OID
- 011ba7…328e:36
jsonTeams details
jsonMe
func(a .uverse.address) stringjsonMe is what the page shows a connected wallet about itself.
- OID
- 011ba7…328e:37
jsonMe details
markdownAll
func() string- OID
- 011ba7…328e:38