denom
untyped stringValue
"ugnot"
maxRecent
untyped bigintValue
(10 <untyped> bigint)
maxMessageLen
untyped bigintValue
(140 <untyped> bigint)
tipperStats
typetipperStats is the persisted, accumulated record for one tipper.
Value
v0.tipperStats
tipEntry
typetipEntry is one line in the recent-tips feed.
Value
v0.tipEntry
owner
.uverse.address// captured deployer, set once in init
Value
<gnolang.StringValue>
tippers
v0.Tree// address string -> \*tipperStats
- OID
- 05cea6…75b5:5
tippers details
recent
[]v0.tipEntryValue
<zero>
totalReceived
int64Value
0
withdrawn
int64Value
0
tipCount
intValue
0
init.11
func()- OID
- 05cea6…75b5:10
init.11 details
get
func(addr .uverse.address) *v0.tipperStatsget returns the stored \*tipperStats for addr, creating one if absent.
- OID
- 05cea6…75b5:12
get details
Tip
func(message string) stringTip credits the caller's OriginSend ugnot to the jar and records it against their running total. Only an EOA calling directly via MsgCall may tip — see the payment-guard note on IsUserCall vs IsUser.
- OID
- 05cea6…75b5:13
Tip details
Balance
func() int64Balance reports the ugnot still held by the jar (received minus withdrawn).
- OID
- 05cea6…75b5:14
Balance details
Withdraw
func(amount int64)Withdraw sends amount ugnot from the jar to the owner. Owner-only.
- OID
- 05cea6…75b5:15
Withdraw details
byTotal
typebyTotal implements sort.Interface, ranking tippers by total tipped descending, ties broken by tip count then address for a fully deterministic order.
Value
v0.byTotal
leaderboard
func() []*v0.tipperStatsleaderboard collects all tippers ranked by total tipped descending.
- OID
- 05cea6…75b5:16
leaderboard details
medal
func(rank int) stringmedal returns the emoji for a given zero-based rank, or "" past the podium.
- OID
- 05cea6…75b5:17
medal details
display
func(addr .uverse.address) stringdisplay returns a shortened address for table display.
- OID
- 05cea6…75b5:18
display details
Render
func(path string) stringRender shows the jar's balance, the tipper leaderboard, and a feed of the most recent tips.
- OID
- 05cea6…75b5:19