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
v1.tipperStats
tipEntry
typetipEntry is one line in the recent-tips feed.
Value
v1.tipEntry
owner
.uverse.address// captured deployer, set once in init
Value
<gnolang.StringValue>
tippers
v0.Tree// address string -> \*tipperStats
- OID
- 0aceed…de93:5
tippers details
recent
[]v1.tipEntryValue
<zero>
totalReceived
int64Value
0
withdrawn
int64Value
0
tipCount
intValue
0
init.11
func()- OID
- 0aceed…de93:10
init.11 details
get
func(addr .uverse.address) *v1.tipperStatsget returns the stored \*tipperStats for addr, creating one if absent.
- OID
- 0aceed…de93: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
- 0aceed…de93:13
Tip details
Balance
func() int64Balance reports the ugnot still held by the jar (received minus withdrawn).
- OID
- 0aceed…de93:14
Balance details
Withdraw
func(amount int64)Withdraw sends amount ugnot from the jar to the owner. Owner-only.
- OID
- 0aceed…de93: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
v1.byTotal
leaderboard
func() []*v1.tipperStatsleaderboard collects all tippers ranked by total tipped descending.
- OID
- 0aceed…de93:16
leaderboard details
display
func(addr .uverse.address) stringdisplay returns a shortened address for table display.
- OID
- 0aceed…de93:17
display details
Render
func(path string) stringRender shows the jar's balance, the tipper leaderboard, and a feed of the most recent tips.
- OID
- 0aceed…de93:18