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/moul/advent/v0"
days
[24]*v0.challenge- OID
- 03faac…2f11:5
days details
oracle
.uverse.addressValue
<gnolang.StringValue>
board
*v0.Board- OID
- 03faac…2f11:8
board details
caller
func() .uverse.address- OID
- 03faac…2f11:12
caller details
SetOracle
func(signer .uverse.address)- OID
- 03faac…2f11:14
SetOracle details
Publish
func(day int, title string, clue string, publicKey string, reviewFrom int64)Publish opens one immutable 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
- 03faac…2f11:15
Publish details
Submit
func(day int, commitment string, sealedSalt string) intSubmit publicly records the commitment and its encrypted random salt.
- OID
- 03faac…2f11:16
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
- 03faac…2f11:17
Review details
doors
func(day int) *v0.challenge- OID
- 03faac…2f11:18
doors details
requireDoor
func(day int) *v0.challenge- OID
- 03faac…2f11:19
requireDoor details
lowerHex
func(s string, size int) bool- OID
- 03faac…2f11:20
lowerHex details
Calendar
func() stringCalendar returns tab-separated rows for open doors, with title and clue in base64.
- OID
- 03faac…2f11:21
Calendar details
Attempts
func(day int, start int) stringAttempts returns one bounded page of the public record, starting at a 1-based ID.
- OID
- 03faac…2f11:22
Attempts details
Progress
func(player string) stringProgress lists the latest status of an address across all 24 doors.
- OID
- 03faac…2f11:23
Progress details
Leaders
func() stringLeaders returns the top 24 addresses with their confirmed solves.
- OID
- 03faac…2f11:24
Leaders details
leaders
func() []v0.Entry- OID
- 03faac…2f11:25
leaders details
app
untyped stringValue
"https://moul.github.io/gno-contracts/advent/"
webLinks
func() (string, string)- OID
- 03faac…2f11:26
webLinks details
Render
func(path string) string- OID
- 03faac…2f11:28
Render details
renderCalendar
func() string- OID
- 03faac…2f11:29
renderCalendar details
renderDoor
func(day int) string- OID
- 03faac…2f11:30
renderDoor details
renderSeal
func(day int, id int) string- OID
- 03faac…2f11:31
renderSeal details
renderScores
func() string- OID
- 03faac…2f11:32
renderScores details
verdict
func(status int) string- OID
- 03faac…2f11:33
verdict details
dayNumber
func(day int) string- OID
- 03faac…2f11:34
dayNumber details
solveCount
func(n int) string- OID
- 03faac…2f11:35
solveCount details
route
func(path string) string- OID
- 03faac…2f11:36
route details
doorURL
func(day int) string- OID
- 03faac…2f11:37
doorURL details
calendarLink
func() string- OID
- 03faac…2f11:38
calendarLink details
Days
:
untyped bigint
=(24 <untyped> bigint)
ReviewLimit
:
untyped bigint
=(16 <untyped> bigint)
PageLimit
:
untyped bigint
=(32 <untyped> bigint)
organizer
:
.uverse.address
=<gnolang.StringValue>
pending
:
untyped bigint
=(1 <untyped> bigint)
missed
:
untyped bigint
=(2 <untyped> bigint)
solved
:
untyped bigint
=(3 <untyped> bigint)
attempt
:
type
=v0.attempt
challenge
:
type
=v0.challenge
self
:
string
="gno.land/r/moul/advent/v0"
days : [24]*v0.challenge Inspect
oracle
:
.uverse.address
=<gnolang.StringValue>
board : *v0.Board Inspect
caller : func() .uverse.address Inspect
SetOracle : func(signer .uverse.address) Inspect
Publish : func(day int, title string, clue string, publicKey string, reviewFrom int64) Inspect
Submit : func(day int, commitment string, sealedSalt string) int Inspect
Review : func(day int, start int, verdicts string) Inspect
doors : func(day int) *v0.challenge Inspect
requireDoor : func(day int) *v0.challenge Inspect
lowerHex : func(s string, size int) bool Inspect
Calendar : func() string Inspect
Attempts : func(day int, start int) string Inspect
Progress : func(player string) string Inspect
Leaders : func() string Inspect
leaders : func() []v0.Entry Inspect
app
:
untyped string
="https://moul.github.io/gno-contracts/advent/"