Days
untyped bigintValue
(24 <untyped> bigint)
ReviewLimit
untyped bigintValue
(16 <untyped> bigint)
PageLimit
untyped bigintValue
(32 <untyped> bigint)
organizer
.uverse.addressValue
<gnolang.StringValue>
pending
untyped bigintValue
(1 <untyped> bigint)
missed
untyped bigintValue
(2 <untyped> bigint)
solved
untyped bigintValue
(3 <untyped> bigint)
attempt
typeValue
v0.attempt
challenge
typeValue
v0.challenge
self
stringValue
"gno.land/r/g1f4k94fjje9tpeekkrnyv2qc7stwxdqp9vcfjg8/advent/v0"
days
[24]*v0.challenge- OID
- 0fcd3d…5f79:42
days details
oracle
.uverse.addressValue
<gnolang.StringValue>
board
*v0.Board- OID
- 0fcd3d…5f79:45
board details
caller
func() .uverse.address- OID
- 0fcd3d…5f79:49
caller details
SetOracle
func(signer .uverse.address)- OID
- 0fcd3d…5f79:51
SetOracle details
Publish
func(day int, title string, clue string, publicKey string, reviewFrom int64)Publish opens a case. The RSA-2048 SPKI public key is pinned for that case so that rotating the key for a new door leaves old doors playable.
- OID
- 0fcd3d…5f79:52
Publish details
openDoor
func(day int, title string, clue string, publicKey string, reviewFrom int64)- OID
- 0fcd3d…5f79:53
openDoor details
UpdateClue
func(day int, clue string)UpdateClue corrects the text of an open door while keeping its review schedule, oracle key and submissions intact.
- OID
- 0fcd3d…5f79:54
UpdateClue details
assertClue
func(clue string)- OID
- 0fcd3d…5f79:55
assertClue details
Submit
func(day int, commitment string, sealedSalt string) intSubmit publicly records the commitment and its encrypted random salt.
- OID
- 0fcd3d…5f79:56
Submit details
Review
func(day int, start int, verdicts string)Review records one verdict per consecutive attempt, starting at the first pending ID. A stale batch fails before it can apply verdicts to other guesses.
- OID
- 0fcd3d…5f79:57
Review details
doors
func(day int) *v0.challenge- OID
- 0fcd3d…5f79:58
doors details
requireDoor
func(day int) *v0.challenge- OID
- 0fcd3d…5f79:59
requireDoor details
lowerHex
func(s string, size int) bool- OID
- 0fcd3d…5f79:60
lowerHex details
Calendar
func() stringCalendar returns tab-separated rows for open doors, with title and clue in base64.
- OID
- 0fcd3d…5f79:61
Calendar details
Attempts
func(day int, start int) stringAttempts returns one bounded page of the public record, starting at a 1-based ID.
- OID
- 0fcd3d…5f79:62
Attempts details
Progress
func(player string) stringProgress lists the latest status of an address across all 24 doors.
- OID
- 0fcd3d…5f79:63
Progress details
Leaders
func() stringLeaders returns the top 24 addresses with their confirmed solves.
- OID
- 0fcd3d…5f79:64
Leaders details
leaders
func() []v0.Entry- OID
- 0fcd3d…5f79:65
leaders details
init.29
func()- OID
- 0fcd3d…5f79:66
init.29 details
app
untyped stringValue
"https://moul.github.io/gno-contracts/advent/"
webLinks
func() (string, string)- OID
- 0fcd3d…5f79:68
webLinks details
Render
func(path string) string- OID
- 0fcd3d…5f79:70
Render details
renderCalendar
func() string- OID
- 0fcd3d…5f79:71
renderCalendar details
renderDoor
func(day int) string- OID
- 0fcd3d…5f79:72
renderDoor details
renderSeal
func(day int, id int) string- OID
- 0fcd3d…5f79:73
renderSeal details
renderScores
func() string- OID
- 0fcd3d…5f79:74
renderScores details
verdict
func(status int) string- OID
- 0fcd3d…5f79:75
verdict details
dayNumber
func(day int) string- OID
- 0fcd3d…5f79:76
dayNumber details
solveCount
func(n int) string- OID
- 0fcd3d…5f79:77
solveCount details
route
func(path string) string- OID
- 0fcd3d…5f79:78
route details
doorURL
func(day int) string- OID
- 0fcd3d…5f79:79
doorURL details
calendarLink
func() string- OID
- 0fcd3d…5f79:80