denom
untyped stringValue
"ugnot"
wheelSize
untyped bigint// 0..37 (37 == "00")
Value
(38 <untyped> bigint)
payoutNumber
untyped bigint// American straight-up
Value
(36 <untyped> bigint)
payoutOutside
untyped bigintValue
(2 <untyped> bigint)
maxHistory
untyped bigintValue
(20 <untyped> bigint)
statusIdle
untyped stringValue
"idle"
statusOpen
untyped stringValue
"open"
minLPDeposit
int64// 1 GNOT
Value
1000000
chip05
int64// 0.5 GNOT
Value
500000
chip1
int64// 1 GNOT
Value
1000000
chip2
int64// 2 GNOT
Value
2000000
chip5
int64// 5 GNOT
Value
5000000
chip10
int64// 10 GNOT
Value
10000000
BetNumber
untyped string// straight up: 0, 37("00"), or 1–36 — pays 36x
Value
"NUMBER"
BetRed
untyped stringAccepted bet types.
Value
"RED"
BetBlack
untyped stringAccepted bet types.
Value
"BLACK"
BetEven
untyped stringAccepted bet types.
Value
"EVEN"
BetOdd
untyped stringAccepted bet types.
Value
"ODD"
BetLow
untyped string// 1–18
Value
"LOW"
BetHigh
untyped string// 19–36
Value
"HIGH"
reds
map[int]boolAmerican red pockets (18). Blacks are the remaining 1–36.
- OID
- 0ea135…b7a3:4
reds details
validAmounts
map[int64]bool- OID
- 0ea135…b7a3:6
validAmounts details
Bet
typeBet is a single wager for the open round.
Value
roulette_v3.Bet
RoundRecord
typeRoundRecord stores a resolved round for Render / audit.
Value
roulette_v3.RoundRecord
LP
typeLP is a liquidity provider position.
Value
roulette_v3.LP
admin
.uverse.addressValue
<gnolang.StringValue>
bankroll
int64Value
21000000
status
stringValue
"open"
serverSeedHash
stringValue
"860bbccb32c2ad7d3dabfae76d398127abcfc60eebe9ad6bbe3d745257a70d2e"
currentBet
*roulette_v3.Bet- OID
- 0ea135…b7a3:72
currentBet details
roundID
intValue
5
nonceCounter
intValue
1
lastResult
intValue
16
history
[]roulette_v3.RoundRecord- OID
- 0ea135…b7a3:67
history details
lps
[]roulette_v3.LPValue
<zero>
totalShares
int64Value
0
totalDeposits
int64Value
0
accumulatedProfit
int64Value
0
DepositBankroll
func()- OID
- 0ea135…b7a3:20
DepositBankroll details
WithdrawBankroll
func(amount int64)- OID
- 0ea135…b7a3:22
WithdrawBankroll details
StartRound
func(hash string)- OID
- 0ea135…b7a3:23
StartRound details
PlaceBet
func(betType string, betValue int, clientSeed string)PlaceBet records a wager. betType: NUMBER | RED | BLACK | EVEN | ODD | LOW | HIGH betValue: 0 / 37 / 1–36 when NUMBER, otherwise 0. Send must be exactly 0.5 / 1 / 2 / 5 / 10 GNOT.
- OID
- 0ea135…b7a3:24
PlaceBet details
ResolveRound
func(serverSeed string)- OID
- 0ea135…b7a3:25
ResolveRound details
resolveRoundNoBet
func(serverSeed string)- OID
- 0ea135…b7a3:26
resolveRoundNoBet details
appendRoundRecord
func(rec roulette_v3.RoundRecord)- OID
- 0ea135…b7a3:27
appendRoundRecord details
VerifyFairness
func(serverSeed string, clientSeed string, nonce int) intVerifyFairness — pure: sha256(serverSeed+clientSeed+nonce) → BE uint64 % 38
- OID
- 0ea135…b7a3:28
VerifyFairness details
VerifyFairnessRound
func(serverSeed string, roundNum int) intVerifyFairnessRound — pure: sha256(serverSeed+roundID) → BE uint64 % 38 (no player bet).
- OID
- 0ea135…b7a3:29
VerifyFairnessRound details
DepositLiquidity
func()DepositLiquidity accepts ugnot (-send) and mints proportional LP shares. Minimum deposit: 1 GNOT.
- OID
- 0ea135…b7a3:30
DepositLiquidity details
WithdrawLiquidity
func()WithdrawLiquidity redeems the caller's full LP position (deposit + profit share).
- OID
- 0ea135…b7a3:31
WithdrawLiquidity details
GetLPInfo
func(addr string) stringGetLPInfo returns a human-readable summary for addr.
- OID
- 0ea135…b7a3:32
GetLPInfo details
GetPoolStats
func() stringGetPoolStats returns global LP pool statistics.
- OID
- 0ea135…b7a3:33
GetPoolStats details
findLP
func(addr .uverse.address) int- OID
- 0ea135…b7a3:34
findLP details
GetAdmin
func() .uverse.address- OID
- 0ea135…b7a3:35
GetAdmin details
GetBankroll
func() int64- OID
- 0ea135…b7a3:36
GetBankroll details
GetStatus
func() string- OID
- 0ea135…b7a3:37
GetStatus details
GetLastResult
func() int- OID
- 0ea135…b7a3:38
GetLastResult details
GetRoundID
func() int- OID
- 0ea135…b7a3:39
GetRoundID details
GetServerSeedHash
func() string- OID
- 0ea135…b7a3:40
GetServerSeedHash details
GetHistory
func() []roulette_v3.RoundRecord- OID
- 0ea135…b7a3:41
GetHistory details
IsRed
func(n int) bool- OID
- 0ea135…b7a3:42
IsRed details
GetTotalShares
func() int64- OID
- 0ea135…b7a3:43
GetTotalShares details
GetTotalDeposits
func() int64- OID
- 0ea135…b7a3:44
GetTotalDeposits details
GetAccumulatedProfit
func() int64- OID
- 0ea135…b7a3:45
GetAccumulatedProfit details
GetLPCount
func() int- OID
- 0ea135…b7a3:46
GetLPCount details
DisplayLabel
func(n int) stringDisplayLabel maps internal result 0..37 → "0" / "00" / "1".."36"
- OID
- 0ea135…b7a3:47
DisplayLabel details
Render
func(string) string- OID
- 0ea135…b7a3:48
Render details
validateBet
func(bt string, betValue int)- OID
- 0ea135…b7a3:49
validateBet details
payoutFor
func(bt string) int64- OID
- 0ea135…b7a3:50
payoutFor details
betWins
func(bt string, betValue int, result int) boolbetWins — 0 and 37 (00) lose every outside bet; NUMBER can still hit them.
- OID
- 0ea135…b7a3:51
betWins details
colorName
func(n int) string- OID
- 0ea135…b7a3:52
colorName details
claimOrAssertAdmin
func(caller .uverse.address)- OID
- 0ea135…b7a3:53
claimOrAssertAdmin details
requireUserCall
func()- OID
- 0ea135…b7a3:54
requireUserCall details
requireUgnotSend
func() int64- OID
- 0ea135…b7a3:55
requireUgnotSend details
sendUgnot
func(to .uverse.address, amount int64)- OID
- 0ea135…b7a3:56
sendUgnot details
hashHex
func(seed string) string- OID
- 0ea135…b7a3:57