PointsReferrerBonus
int64Value
50
PointsRefereeBonus
int64Value
25
PointsCheckIn
int64Value
5
CheckInIntervalH
int64Value
100
PointsCreateBonus
int64// creator on successful Create
Value
30
PointsBuyBase
int64// base points per buy
Value
2
PointsSellBase
int64// base points per sell
Value
1
PointsPerGnotBuy
int64// extra pts per full GNOT bought (volume)
Value
10
PointsPerGnotSell
int64// extra pts per full GNOT sold
Value
3
MaxTradePtsPerHeight
int64// per-user per-height cap (anti-spam)
Value
200
UgnotPerGnot
int64Value
1000000
LeaderboardMax
intValue
50
MaxLeaderboardReturn
intValue
20
MaxPadPathLen
intValue
200
admin
.uverse.addressValue
<gnolang.StringValue>
inited
boolValue
true
pointsByAddr
v0.Tree- OID
- 0d5c7c…3182:46
pointsByAddr details
referrerOf
v0.Tree- OID
- 0d5c7c…3182:47
referrerOf details
lastCheckIn
v0.Tree- OID
- 0d5c7c…3182:48
lastCheckIn details
allowedPads
v0.Tree- OID
- 0d5c7c…3182:49
allowedPads details
tradePtsAtHeight
v0.Tree- OID
- 0d5c7c…3182:50
tradePtsAtHeight details
totalTradePts
int64Value
2556
totalCreatePts
int64Value
60
Init
func()- OID
- 0d5c7c…3182:17
Init details
requireInit
func()- OID
- 0d5c7c…3182:19
requireInit details
requireAdmin
func()- OID
- 0d5c7c…3182:20
requireAdmin details
getPts
func(addr string) int64- OID
- 0d5c7c…3182:21
getPts details
addPts
func(addr string, delta int64)- OID
- 0d5c7c…3182:22
addPts details
AllowPad
func(padPkg string)AllowPad registers a pad package path that may call OnTrade / OnCreate.
- OID
- 0d5c7c…3182:23
AllowPad details
RevokePad
func(padPkg string)RevokePad removes a pad from the allowlist.
- OID
- 0d5c7c…3182:24
RevokePad details
IsPadAllowed
func(padPkg string) boolIsPadAllowed reports whether path may award trade points.
- OID
- 0d5c7c…3182:25
IsPadAllowed details
ListPads
func() stringListPads returns allowed pad paths, one per line.
- OID
- 0d5c7c…3182:26
ListPads details
requireAllowedPad
func() string- OID
- 0d5c7c…3182:27
requireAllowedPad details
heightCapKey
func(addr string, h int64) string- OID
- 0d5c7c…3182:28
heightCapKey details
remainingHeightCap
func(addr string, h int64) int64- OID
- 0d5c7c…3182:29
remainingHeightCap details
consumeHeightCap
func(addr string, h int64, award int64) int64- OID
- 0d5c7c…3182:30
consumeHeightCap details
OnTrade
func(trader .uverse.address, launchID string, side int64, volumeUgnot int64) int64OnTrade awards points for a pad buy (side=0) or sell (side=1). volumeUgnot is the GNOT notional of the trade (sent in / received out). Returns points awarded (0 if capped).
- OID
- 0d5c7c…3182:31
OnTrade details
OnCreate
func(creator .uverse.address, launchID string) int64OnCreate awards create bonus to the launch creator (pad-only).
- OID
- 0d5c7c…3182:32
OnCreate details
SetReferrer
func(referrer .uverse.address)SetReferrer binds caller to a referrer once. Self-referral rejected.
- OID
- 0d5c7c…3182:33
SetReferrer details
CheckIn
func() int64CheckIn grants PointsCheckIn if enough heights passed since last check-in.
- OID
- 0d5c7c…3182:34
CheckIn details
AwardPoints
func(to .uverse.address, amount int64)AwardPoints is admin-only (campaigns / corrections).
- OID
- 0d5c7c…3182:35
AwardPoints details
GetPoints
func(addr string) int64- OID
- 0d5c7c…3182:36
GetPoints details
GetReferrer
func(addr string) string- OID
- 0d5c7c…3182:37
GetReferrer details
Leaderboard
func(n int) string- OID
- 0d5c7c…3182:38
Leaderboard details
UserCount
func() int- OID
- 0d5c7c…3182:39
UserCount details
PadCount
func() int- OID
- 0d5c7c…3182:40
PadCount details
TransferAdmin
func(newAdmin .uverse.address)- OID
- 0d5c7c…3182:41
TransferAdmin details
Admin
func() string- OID
- 0d5c7c…3182:42
Admin details
ParamsInfo
func() stringParamsInfo for UI: referrer|referee|checkIn|interval|createBonus|buyBase|sellBase|ptsPerGnotBuy|ptsPerGnotSell|maxPerHeight|tradePtsTotal|createPtsTotal|v2
- OID
- 0d5c7c…3182:43
ParamsInfo details
Render
func(path string) string- OID
- 0d5c7c…3182:44
Render details
resetForTest
func()- OID
- 0d5c7c…3182:45