renderAPI
func(path string) string- OID
- 053cce…d0c6:3
renderAPI details
apiStats
func() string- OID
- 053cce…d0c6:5
apiStats details
questJSON
func(q *mequest.Quest, full bool) string- OID
- 053cce…d0c6:6
questJSON details
passportJSON
func(a .uverse.address) string- OID
- 053cce…d0c6:7
passportJSON details
topJSON
func() string- OID
- 053cce…d0c6:8
topJSON details
ranked
func() [].uverse.address- OID
- 053cce…d0c6:9
ranked details
who
func(a .uverse.address) stringwho returns {"addr":..., "name":...}; name is the wallet's unique gno.land username from r/sys/users, or "" if it has none.
- OID
- 053cce…d0c6:10
who details
i64
func(n int64) string- OID
- 053cce…d0c6:11
i64 details
js
func(s string) stringjs quotes a string as a JSON string.
- OID
- 053cce…d0c6:12
js details
KindCheckin
untyped string// check-in streak of at least Arg days (1 = first check-in)
Value
"checkin"
KindEarly
untyped string// among the first Arg wallets to join MeQuest
Value
"early"
KindInvites
untyped string// at least Arg invited friends earned a card
Value
"invites"
KindProjects
untyped string// cards from at least Arg different projects
Value
"projects"
KindCards
untyped string// own at least Arg cards
Value
"cards"
KindPosted
untyped string// funded at least Arg quests as a project
Value
"posted"
KindMyRealm
untyped string// your own realm (gno.land/r/\<your addr>/...) calls ProveRealm
Value
"myrealm"
KindGrant
untyped string// given by the quest funder (e.g. season top 3)
Value
"grant"
joinRank
map[.uverse.address]int- OID
- 053cce…d0c6:14
joinRank details
joined
intValue
0
streak
map[.uverse.address]int- OID
- 053cce…d0c6:17
streak details
lastDay
map[.uverse.address]int64- OID
- 053cce…d0c6:19
lastDay details
inviter
map[.uverse.address].uverse.address- OID
- 053cce…d0c6:21
inviter details
invitesDone
map[.uverse.address]int- OID
- 053cce…d0c6:23
invitesDone details
posted
map[.uverse.address]int- OID
- 053cce…d0c6:25
posted details
validKind
func(kind string, arg string) string- OID
- 053cce…d0c6:26
validKind details
verifyReason
func(q *mequest.Quest, user .uverse.address) stringverifyReason runs the quest's own check. "" means the wallet passes.
- OID
- 053cce…d0c6:28
verifyReason details
gateReason
func(q *mequest.Quest, user .uverse.address) stringgateReason checks board rules shared by every payout.
- OID
- 053cce…d0c6:29
gateReason details
CanClaim
func(wallet .uverse.address, id int) stringCanClaim is a free read-only dry run of Claim: "ok" or the reason it would fail.
- OID
- 053cce…d0c6:30
CanClaim details
CheckIn
func() intCheckIn records today's check-in and grows your streak.
- OID
- 053cce…d0c6:31
CheckIn details
StreakOf
func(wallet .uverse.address) intStreakOf returns the live streak (0 if a day was missed).
- OID
- 053cce…d0c6:32
StreakOf details
SetInviter
func(friend .uverse.address)SetInviter links you to the friend who invited you. Once, before your first card.
- OID
- 053cce…d0c6:33
SetInviter details
ProveRealm
func(id int)ProveRealm must be called by a realm deployed under the caller's own address: gno.land/r/\<your g1 address>/anything. That path proves you built it.
- OID
- 053cce…d0c6:34
ProveRealm details
Grant
func(id int, wallet .uverse.address)Grant gives a grant-kind card. Quest funder only (e.g. Season Champion).
- OID
- 053cce…d0c6:35
Grant details
ProjectsDone
func(wallet .uverse.address) int- OID
- 053cce…d0c6:36
ProjectsDone details
JoinRank
func(wallet .uverse.address) int- OID
- 053cce…d0c6:37
JoinRank details
InvitesDone
func(wallet .uverse.address) int- OID
- 053cce…d0c6:38
InvitesDone details
InviterOf
func(wallet .uverse.address) .uverse.address- OID
- 053cce…d0c6:39
InviterOf details
touch
func(a .uverse.address)- OID
- 053cce…d0c6:40
touch details
checkLabel
func(q *mequest.Quest) stringcheckLabel is the short proof line shown on a receipt.
- OID
- 053cce…d0c6:41
checkLabel details
mustInt64
func(s string) int64- OID
- 053cce…d0c6:42
mustInt64 details
Common
untyped bigintValue
(1 <untyped> bigint)
Rare
untyped bigintValue
(2 <untyped> bigint)
Epic
untyped bigintValue
(3 <untyped> bigint)
Legendary
untyped bigintValue
(4 <untyped> bigint)
KindManual
untyped string// project reviews a proof
Value
"manual"
KindPush
untyped string// partner realm calls Complete
Value
"push"
KindHold
untyped string// wallet holds at least Arg ugnot
Value
"hold"
KindName
untyped string// wallet has a registered gno.land username
Value
"name"
KindCard
untyped string// wallet owns the card from quest Arg (quest chain)
Value
"card"
PayFixed
untyped string// style A: Reward per winner, paid on claim
Value
"fixed"
PaySplit
untyped string// style B: pool split equally after expiry
Value
"split"
DailyCap
untyped bigintValue
(10 <untyped> bigint)
Season
untyped stringValue
"S1"
daySecs
untyped bigintValue
(86400 <untyped> bigint)
admin
.uverse.addressValue
<gnolang.StringValue>
supplyCap
map[int]int// 0 = unlimited
- OID
- 053cce…d0c6:45
supplyCap details
cardPts
map[int]int64- OID
- 053cce…d0c6:47
cardPts details
rarityName
map[int]string- OID
- 053cce…d0c6:49
rarityName details
rankName
map[int]string- OID
- 053cce…d0c6:51
rankName details
Card
typeValue
mequest.Card
Quest
typeValue
mequest.Quest
quests
[]*mequest.QuestValue
<zero>
cards
map[.uverse.address][]mequest.Card- OID
- 053cce…d0c6:54
cards details
points
map[.uverse.address]int64- OID
- 053cce…d0c6:56
points details
daily
map[string]int- OID
- 053cce…d0c6:58
daily details
projects
map[.uverse.address]bool- OID
- 053cce…d0c6:60
projects details
players
[].uverse.addressValue
<zero>
log
[]mequest.eventValue
<zero>
paidOut
int64Value
0
minted
intValue
0
receipt
typereceipt is a public case file for every payout or rejection.
Value
mequest.receipt
receipts
[]mequest.receiptValue
<zero>
addReceipt
func(q *mequest.Quest, who .uverse.address, ok bool, check string, paid int64)- OID
- 053cce…d0c6:66
addReceipt details
event
typeValue
mequest.event
CreateQuest
func(title string, desc string, art string, rarity int, kind string, arg string, pay string, max int, days int) intCreateQuest locks the sent ugnot as the quest pool. Send coins with the tx.
- OID
- 053cce…d0c6:68
CreateQuest details
Review
func(id int, wallet .uverse.address, ok bool)Review approves or rejects a manual proof. Funder or admin only.
- OID
- 053cce…d0c6:69
Review details
Refund
func(id int)Refund returns the unclaimed pool of an expired fixed quest to its funder.
- OID
- 053cce…d0c6:70
Refund details
Settle
func(id int)Settle pays a split quest after expiry. Anyone can call it.
- OID
- 053cce…d0c6:71
Settle details
Claim
func(id int)Claim runs the quest's own check on the caller and pays if it passes.
- OID
- 053cce…d0c6:72
Claim details
Submit
func(id int, proof string)Submit sends a proof (link or text) for a manual quest.
- OID
- 053cce…d0c6:73
Submit details
Complete
func(id int, wallet .uverse.address)Complete is called by the partner realm named in a push quest.
- OID
- 053cce…d0c6:74
Complete details
ApproveProject
func(p .uverse.address, on bool)- OID
- 053cce…d0c6:75
ApproveProject details
Revoke
func(wallet .uverse.address, id int)Revoke removes a card from a cheater wallet.
- OID
- 053cce…d0c6:76
Revoke details
HasCard
func(wallet .uverse.address, id int) bool- OID
- 053cce…d0c6:77
HasCard details
BestRarity
func(wallet .uverse.address) int- OID
- 053cce…d0c6:78
BestRarity details
HasRarity
func(wallet .uverse.address, min int) bool- OID
- 053cce…d0c6:79
HasRarity details
PointsOf
func(wallet .uverse.address) int64- OID
- 053cce…d0c6:80
PointsOf details
CardCount
func(wallet .uverse.address) int- OID
- 053cce…d0c6:81
CardCount details
award
func(q *mequest.Quest, user .uverse.address)- OID
- 053cce…d0c6:82
award details
open
func(q *mequest.Quest, user .uverse.address)- OID
- 053cce…d0c6:83
open details
send
func(to .uverse.address, amt int64)- OID
- 053cce…d0c6:84
send details
requireWallet
func()requireWallet blocks calls routed through other realms (anti-farming bots, and makes sure sent coins really came from the caller).
- OID
- 053cce…d0c6:85
requireWallet details
onlyAdmin
func()- OID
- 053cce…d0c6:86
onlyAdmin details
mustQuest
func(id int) *mequest.Quest- OID
- 053cce…d0c6:87
mustQuest details
note
func(s string)- OID
- 053cce…d0c6:88
note details
itoa
func(n int) string- OID
- 053cce…d0c6:89
itoa details
gnot
func(ugnot int64) string- OID
- 053cce…d0c6:90
gnot details
short
func(a .uverse.address) string- OID
- 053cce…d0c6:91
short details
Render
func(path string) string- OID
- 053cce…d0c6:92
Render details
renderBoard
func() string- OID
- 053cce…d0c6:93
renderBoard details
renderQuest
func(q *mequest.Quest) string- OID
- 053cce…d0c6:94
renderQuest details
renderPassport
func(w .uverse.address) string- OID
- 053cce…d0c6:95
renderPassport details
renderTop
func() string- OID
- 053cce…d0c6:96