unit
int64Value
1000000
places
untyped bigintValue
(20 <untyped> bigint)
startUnix
int64Value
1792108800
seasonAddr
.uverse.addressValue
<gnolang.StringValue>
prizeWhole
[20]int64Whole FISH for places 1 through 20. The sum is 100,000.
- OID
- 0e4684…51e2:5
prizeWhole details
inited
boolValue
true
admin
.uverse.addressValue
<gnolang.StringValue>
self
.uverse.addressValue
<gnolang.StringValue>
endUnix
int64Value
1797465600
sealed
boolValue
false
winner
[20].uverse.address- OID
- 0e4684…51e2:12
winner details
paid
[20]bool- OID
- 0e4684…51e2:14
paid details
clockUnix
int64clockUnix stays 0 on chain. The test in this package sets it. No call writes it.
Value
0
Init
func()Init records the deploy wallet as admin. It does not move FISH. No coins.
- OID
- 0e4684…51e2:16
Init details
SetEnd
func(unix int64)SetEnd stores the close, as Unix seconds. The deploy wallet only, and only before seal. No coins.
- OID
- 0e4684…51e2:18
SetEnd details
SetPlace
func(place int, who .uverse.address)SetPlace posts one winner. Places are 1 through 20. The same address cannot take two places. No coins.
- OID
- 0e4684…51e2:19
SetPlace details
ClearPlace
func(place int)ClearPlace removes one unsealed place. No coins.
- OID
- 0e4684…51e2:20
ClearPlace details
Seal
func()Seal freezes the end and the places. At least one place must be posted. No coins.
- OID
- 0e4684…51e2:21
Seal details
Pay
func()Pay sends each unpaid posted prize from the season wallet to that winner. The board must be sealed and the close must have passed. No coins. fishtoken must list this realm as a distributor, and the season wallet must have approved this realm for the FISH. A second pay of the same place does nothing.
- OID
- 0e4684…51e2:22
Pay details
TransferAdmin
func(next .uverse.address)TransferAdmin hands the board to next. Posted places stay. No coins.
- OID
- 0e4684…51e2:23
TransferAdmin details
Version
func() string- OID
- 0e4684…51e2:24
Version details
Admin
func() .uverse.address- OID
- 0e4684…51e2:25
Admin details
Realm
func() .uverse.address- OID
- 0e4684…51e2:26
Realm details
Start
func() int64- OID
- 0e4684…51e2:27
Start details
End
func() int64- OID
- 0e4684…51e2:28
End details
Sealed
func() bool- OID
- 0e4684…51e2:29
Sealed details
SeasonWallet
func() .uverse.address- OID
- 0e4684…51e2:30
SeasonWallet details
PlaceOf
func(place int) .uverse.address- OID
- 0e4684…51e2:31
PlaceOf details
PrizeOf
func(place int) int64- OID
- 0e4684…51e2:32
PrizeOf details
PaidOf
func(place int) bool- OID
- 0e4684…51e2:33
PaidOf details
Due
func() int64- OID
- 0e4684…51e2:34
Due details
Render
func(path string) string- OID
- 0e4684…51e2:35
Render details
nowUnix
func() int64- OID
- 0e4684…51e2:36
nowUnix details
slotOf
func(place int) int- OID
- 0e4684…51e2:37
slotOf details
filled
func() int- OID
- 0e4684…51e2:38
filled details
requireReady
func()- OID
- 0e4684…51e2:39
requireReady details
requireAdmin
func(caller .uverse.address)- OID
- 0e4684…51e2:40
requireAdmin details
requireUser
func() .uverse.address- OID
- 0e4684…51e2:41
requireUser details
takeExact
func(n int64)- OID
- 0e4684…51e2:42