Days
untyped bigintValue
(24 <untyped> bigint)
ReviewLimit
untyped bigintValue
(16 <untyped> bigint)
PageLimit
untyped bigintValue
(32 <untyped> bigint)
homeAdmin
.uverse.addressValue
<gnolang.StringValue>
onyxAgent
.uverse.addressValue
<gnolang.StringValue>
pending
untyped bigintValue
(1 <untyped> bigint)
missed
untyped bigintValue
(2 <untyped> bigint)
solved
untyped bigintValue
(3 <untyped> bigint)
attempt
typeValue
v1.attempt
challenge
typeValue
v1.challenge
self
stringValue
"gno.land/r/g1f4k94fjje9tpeekkrnyv2qc7stwxdqp9vcfjg8/advent/v1"
days
[24]*v1.challenge- OID
- 08c9bd…6031:5
days details
organizer
.uverse.addressValue
<gnolang.StringValue>
publisher
.uverse.addressValue
<gnolang.StringValue>
oracle
.uverse.addressValue
<gnolang.StringValue>
board
*v0.Board- OID
- 08c9bd…6031:10
board details
carryingOver
boolValue
false
organizerForChain
func() .uverse.address- OID
- 08c9bd…6031:15
organizerForChain details
Publisher
func() .uverse.address- OID
- 08c9bd…6031:17
Publisher details
SetPublisher
func(signer .uverse.address)SetPublisher delegates publishing and clue corrections to another account.
- OID
- 08c9bd…6031:18
SetPublisher details
caller
func() .uverse.address- OID
- 08c9bd…6031:19
caller details
SetOracle
func(signer .uverse.address)- OID
- 08c9bd…6031:20
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
- 08c9bd…6031:21
Publish details
openDoor
func(day int, title string, clue string, publicKey string, reviewFrom int64)- OID
- 08c9bd…6031:22
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
- 08c9bd…6031:23
UpdateClue details
assertClue
func(clue string)- OID
- 08c9bd…6031:24
assertClue details
Submit
func(day int, commitment string, sealedSalt string) intSubmit publicly records the commitment and its encrypted random salt.
- OID
- 08c9bd…6031:25
Submit details
ReplaceGuess
func(day int, commitment string, sealedSalt string) intReplaceGuess reseals the caller's current guess while it awaits review.
- OID
- 08c9bd…6031:26
ReplaceGuess details
assertSeal
func(commitment string, sealedSalt string)- OID
- 08c9bd…6031:27
assertSeal details
assertReady
func()- OID
- 08c9bd…6031:28
assertReady details
Review
func(day int, start int, verdicts string, snapshot 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
- 08c9bd…6031:29
Review details
doors
func(day int) *v1.challenge- OID
- 08c9bd…6031:30
doors details
requireDoor
func(day int) *v1.challenge- OID
- 08c9bd…6031:31
requireDoor details
lowerHex
func(s string, size int) bool- OID
- 08c9bd…6031:32
lowerHex details
Calendar
func() stringCalendar returns tab-separated rows for open doors, with title and clue in base64.
- OID
- 08c9bd…6031:33
Calendar details
Attempts
func(day int, start int) stringAttempts returns one bounded page of the public record, starting at a 1-based ID.
- OID
- 08c9bd…6031:34
Attempts details
Progress
func(player string) stringProgress lists the latest status of an address across all 24 doors.
- OID
- 08c9bd…6031:35
Progress details
Leaders
func() stringLeaders returns the top 24 addresses with their confirmed solves.
- OID
- 08c9bd…6031:36
Leaders details
leaders
func() []v0.Entry- OID
- 08c9bd…6031:37
leaders details
init.39
func()- OID
- 08c9bd…6031:38
init.39 details
CarryOver
func(player .uverse.address, commitment string, sealedSalt string)CarryOver records a pending seal from the first deployment on Onyx.
- OID
- 08c9bd…6031:40
CarryOver details
FinishCarryOver
func()FinishCarryOver closes imports and opens regular submissions and reviews.
- OID
- 08c9bd…6031:41
FinishCarryOver details
app
untyped stringValue
"https://moul.github.io/gno-contracts/advent/"
webLinks
func() (string, string)- OID
- 08c9bd…6031:42
webLinks details
Render
func(path string) string- OID
- 08c9bd…6031:44
Render details
renderCalendar
func() string- OID
- 08c9bd…6031:45
renderCalendar details
renderDoor
func(day int) string- OID
- 08c9bd…6031:46
renderDoor details
renderSeal
func(day int, id int) string- OID
- 08c9bd…6031:47
renderSeal details
renderScores
func() string- OID
- 08c9bd…6031:48
renderScores details
verdict
func(status int) string- OID
- 08c9bd…6031:49
verdict details
dayNumber
func(day int) string- OID
- 08c9bd…6031:50
dayNumber details
solveCount
func(n int) string- OID
- 08c9bd…6031:51
solveCount details
route
func(path string) string- OID
- 08c9bd…6031:52
route details
doorURL
func(day int) string- OID
- 08c9bd…6031:53
doorURL details
calendarLink
func() string- OID
- 08c9bd…6031:54