Versions in this module Expand all Collapse all v0 v0.2.0 Oct 21, 2021 Changes in this version + const DefaultPlayPeriod + const EnableSelfPost + const FuncForcePayout + const FuncForceReset + const FuncPayWinners + const FuncPlaceBet + const FuncPlayPeriod + const HFuncForcePayout + const HFuncForceReset + const HFuncPayWinners + const HFuncPlaceBet + const HFuncPlayPeriod + const HScName + const HViewLastWinningNumber + const HViewRoundNumber + const HViewRoundStartedAt + const HViewRoundStatus + const IdxParamNumber + const IdxParamPlayPeriod + const IdxResultLastWinningNumber + const IdxResultRoundNumber + const IdxResultRoundStartedAt + const IdxResultRoundStatus + const IdxStateBets + const IdxStateLastWinningNumber + const IdxStatePlayPeriod + const IdxStateRoundNumber + const IdxStateRoundStartedAt + const IdxStateRoundStatus + const MaxNumber + const NanoTimeDivider + const ParamNumber + const ParamPlayPeriod + const ResultLastWinningNumber + const ResultRoundNumber + const ResultRoundStartedAt + const ResultRoundStatus + const ScName + const StateBets + const StateLastWinningNumber + const StatePlayPeriod + const StateRoundNumber + const StateRoundStartedAt + const StateRoundStatus + const ViewLastWinningNumber + const ViewRoundNumber + const ViewRoundStartedAt + const ViewRoundStatus + func OnLoad() + type ArrayOfImmutableBet struct + func (a ArrayOfImmutableBet) GetBet(index int32) ImmutableBet + func (a ArrayOfImmutableBet) Length() int32 + type ArrayOfMutableBet struct + func (a ArrayOfMutableBet) Clear() + func (a ArrayOfMutableBet) GetBet(index int32) MutableBet + func (a ArrayOfMutableBet) Length() int32 + type Bet struct + Amount int64 + Better wasmlib.ScAgentID + Number int64 + func NewBetFromBytes(bytes []byte) *Bet + func (o *Bet) Bytes() []byte + type ForcePayoutCall struct + Func *wasmlib.ScFunc + type ForcePayoutContext struct + State MutableFairRouletteState + type ForceResetCall struct + Func *wasmlib.ScFunc + type ForceResetContext struct + State MutableFairRouletteState + type Funcs struct + var ScFuncs Funcs + func (sc Funcs) ForcePayout(ctx wasmlib.ScFuncCallContext) *ForcePayoutCall + func (sc Funcs) ForceReset(ctx wasmlib.ScFuncCallContext) *ForceResetCall + func (sc Funcs) LastWinningNumber(ctx wasmlib.ScViewCallContext) *LastWinningNumberCall + func (sc Funcs) PayWinners(ctx wasmlib.ScFuncCallContext) *PayWinnersCall + func (sc Funcs) PlaceBet(ctx wasmlib.ScFuncCallContext) *PlaceBetCall + func (sc Funcs) PlayPeriod(ctx wasmlib.ScFuncCallContext) *PlayPeriodCall + func (sc Funcs) RoundNumber(ctx wasmlib.ScViewCallContext) *RoundNumberCall + func (sc Funcs) RoundStartedAt(ctx wasmlib.ScViewCallContext) *RoundStartedAtCall + func (sc Funcs) RoundStatus(ctx wasmlib.ScViewCallContext) *RoundStatusCall + type ImmutableBet struct + func (o ImmutableBet) Exists() bool + func (o ImmutableBet) Value() *Bet + type ImmutableFairRouletteState struct + func (s ImmutableFairRouletteState) Bets() ArrayOfImmutableBet + func (s ImmutableFairRouletteState) LastWinningNumber() wasmlib.ScImmutableInt64 + func (s ImmutableFairRouletteState) PlayPeriod() wasmlib.ScImmutableInt32 + func (s ImmutableFairRouletteState) RoundNumber() wasmlib.ScImmutableInt64 + func (s ImmutableFairRouletteState) RoundStartedAt() wasmlib.ScImmutableInt32 + func (s ImmutableFairRouletteState) RoundStatus() wasmlib.ScImmutableInt16 + type ImmutableLastWinningNumberResults struct + func (s ImmutableLastWinningNumberResults) LastWinningNumber() wasmlib.ScImmutableInt64 + type ImmutablePlaceBetParams struct + func (s ImmutablePlaceBetParams) Number() wasmlib.ScImmutableInt64 + type ImmutablePlayPeriodParams struct + func (s ImmutablePlayPeriodParams) PlayPeriod() wasmlib.ScImmutableInt32 + type ImmutableRoundNumberResults struct + func (s ImmutableRoundNumberResults) RoundNumber() wasmlib.ScImmutableInt64 + type ImmutableRoundStartedAtResults struct + func (s ImmutableRoundStartedAtResults) RoundStartedAt() wasmlib.ScImmutableInt32 + type ImmutableRoundStatusResults struct + func (s ImmutableRoundStatusResults) RoundStatus() wasmlib.ScImmutableInt16 + type LastWinningNumberCall struct + Func *wasmlib.ScView + Results ImmutableLastWinningNumberResults + type LastWinningNumberContext struct + Results MutableLastWinningNumberResults + State ImmutableFairRouletteState + type MutableBet struct + func (o MutableBet) Exists() bool + func (o MutableBet) SetValue(value *Bet) + func (o MutableBet) Value() *Bet + type MutableFairRouletteState struct + func (s MutableFairRouletteState) Bets() ArrayOfMutableBet + func (s MutableFairRouletteState) LastWinningNumber() wasmlib.ScMutableInt64 + func (s MutableFairRouletteState) PlayPeriod() wasmlib.ScMutableInt32 + func (s MutableFairRouletteState) RoundNumber() wasmlib.ScMutableInt64 + func (s MutableFairRouletteState) RoundStartedAt() wasmlib.ScMutableInt32 + func (s MutableFairRouletteState) RoundStatus() wasmlib.ScMutableInt16 + type MutableLastWinningNumberResults struct + func (s MutableLastWinningNumberResults) LastWinningNumber() wasmlib.ScMutableInt64 + type MutablePlaceBetParams struct + func (s MutablePlaceBetParams) Number() wasmlib.ScMutableInt64 + type MutablePlayPeriodParams struct + func (s MutablePlayPeriodParams) PlayPeriod() wasmlib.ScMutableInt32 + type MutableRoundNumberResults struct + func (s MutableRoundNumberResults) RoundNumber() wasmlib.ScMutableInt64 + type MutableRoundStartedAtResults struct + func (s MutableRoundStartedAtResults) RoundStartedAt() wasmlib.ScMutableInt32 + type MutableRoundStatusResults struct + func (s MutableRoundStatusResults) RoundStatus() wasmlib.ScMutableInt16 + type PayWinnersCall struct + Func *wasmlib.ScFunc + type PayWinnersContext struct + State MutableFairRouletteState + type PlaceBetCall struct + Func *wasmlib.ScFunc + Params MutablePlaceBetParams + type PlaceBetContext struct + Params ImmutablePlaceBetParams + State MutableFairRouletteState + type PlayPeriodCall struct + Func *wasmlib.ScFunc + Params MutablePlayPeriodParams + type PlayPeriodContext struct + Params ImmutablePlayPeriodParams + State MutableFairRouletteState + type RoundNumberCall struct + Func *wasmlib.ScView + Results ImmutableRoundNumberResults + type RoundNumberContext struct + Results MutableRoundNumberResults + State ImmutableFairRouletteState + type RoundStartedAtCall struct + Func *wasmlib.ScView + Results ImmutableRoundStartedAtResults + type RoundStartedAtContext struct + Results MutableRoundStartedAtResults + State ImmutableFairRouletteState + type RoundStatusCall struct + Func *wasmlib.ScView + Results ImmutableRoundStatusResults + type RoundStatusContext struct + Results MutableRoundStatusResults + State ImmutableFairRouletteState v0.1.0 Mar 3, 2021