Versions in this module Expand all Collapse all v0 v0.0.1 Sep 28, 2020 Changes in this version + const KeyBalance + const KeyConfig + const KeyOwner + const KeyParams + const KeyRandom + const KeyReqAddress + const KeyReqBalance + const KeyReqCode + const KeyReqDelay + const KeyReqHash + const KeyRequests + const KeyScAddress + const KeySender + const KeyState + const KeyTimestamp + const KeyTransfers + const KeyXferAddress + const KeyXferAmount + const KeyXferColor + const ProgramHash + const RequestInc + const RequestIncRepeat1 + const RequestIncRepeatMany + const RequestLockBets + const RequestNop + const RequestPayWinners + const RequestPlaceBet + const RequestPlayPeriod + const RequestTokenMint + func GetProcessor() vmtypes.Processor + type BalanceObject struct + func NewBalanceObject(h *wasmVMPocProcessor, reqOnly bool) *BalanceObject + func (o *BalanceObject) GetInt(keyId int32) int64 + func (o *BalanceObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *BalanceObject) GetString(keyId int32) string + func (o *BalanceObject) SetInt(keyId int32, value int64) + func (o *BalanceObject) SetString(keyId int32, value string) + type ConfigObject struct + func NewConfigObject(h *wasmVMPocProcessor) *ConfigObject + func (o *ConfigObject) GetInt(keyId int32) int64 + func (o *ConfigObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *ConfigObject) GetString(keyId int32) string + func (o *ConfigObject) SetInt(keyId int32, value int64) + func (o *ConfigObject) SetString(keyId int32, value string) + type ParamsObject struct + func NewParamsObject(h *wasmVMPocProcessor) *ParamsObject + func (o *ParamsObject) GetInt(keyId int32) int64 + func (o *ParamsObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *ParamsObject) GetString(keyId int32) string + func (o *ParamsObject) SetInt(keyId int32, value int64) + func (o *ParamsObject) SetString(keyId int32, value string) + type RequestObject struct + func NewRequestObject(h *wasmVMPocProcessor) *RequestObject + func (o *RequestObject) GetInt(keyId int32) int64 + func (o *RequestObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *RequestObject) GetString(keyId int32) string + func (o *RequestObject) Send(ctx interfaces.HostInterface) + func (o *RequestObject) SetInt(keyId int32, value int64) + func (o *RequestObject) SetString(keyId int32, value string) + type RequestsArray struct + func NewRequestsArray(h *wasmVMPocProcessor) *RequestsArray + func (a *RequestsArray) GetInt(keyId int32) int64 + func (a *RequestsArray) GetLength() int32 + func (a *RequestsArray) GetObjectId(keyId int32, typeId int32) int32 + func (a *RequestsArray) GetString(keyId int32) string + func (a *RequestsArray) SetInt(keyId int32, value int64) + func (a *RequestsArray) SetString(keyId int32, value string) + type RootObject struct + func NewRootObject(h *wasmVMPocProcessor, ctx vmtypes.Sandbox) *RootObject + func (o *RootObject) GetInt(keyId int32) int64 + func (o *RootObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *RootObject) GetString(keyId int32) string + func (o *RootObject) SetInt(keyId int32, value int64) + func (o *RootObject) SetString(keyId int32, value string) + type StateArray struct + func NewStateArray(h *wasmVMPocProcessor, items *kv.MustArray, typeId int32) *StateArray + func (a *StateArray) GetInt(keyId int32) int64 + func (a *StateArray) GetLength() int32 + func (a *StateArray) GetObjectId(keyId int32, typeId int32) int32 + func (a *StateArray) GetString(keyId int32) string + func (a *StateArray) SetInt(keyId int32, value int64) + func (a *StateArray) SetString(keyId int32, value string) + type StateMap struct + func NewStateMap(h *wasmVMPocProcessor, items *kv.MustDictionary) *StateMap + func (m *StateMap) GetInt(keyId int32) int64 + func (m *StateMap) GetLength() int32 + func (m *StateMap) GetObjectId(keyId int32, typeId int32) int32 + func (m *StateMap) GetString(keyId int32) string + func (m *StateMap) SetInt(keyId int32, value int64) + func (m *StateMap) SetString(keyId int32, value string) + type StateObject struct + func NewStateObject(h *wasmVMPocProcessor) *StateObject + func (o *StateObject) GetInt(keyId int32) int64 + func (o *StateObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *StateObject) GetString(keyId int32) string + func (o *StateObject) SetInt(keyId int32, value int64) + func (o *StateObject) SetString(keyId int32, value string) + type TransferObject struct + func NewTransferObject(h *wasmVMPocProcessor) *TransferObject + func (o *TransferObject) GetInt(keyId int32) int64 + func (o *TransferObject) GetObjectId(keyId int32, typeId int32) int32 + func (o *TransferObject) GetString(keyId int32) string + func (o *TransferObject) Send(ctx interfaces.HostInterface) + func (o *TransferObject) SetInt(keyId int32, value int64) + func (o *TransferObject) SetString(keyId int32, value string) + type TransfersArray struct + func NewTransfersArray(h *wasmVMPocProcessor) *TransfersArray + func (a *TransfersArray) GetInt(keyId int32) int64 + func (a *TransfersArray) GetLength() int32 + func (a *TransfersArray) GetObjectId(keyId int32, typeId int32) int32 + func (a *TransfersArray) GetString(keyId int32) string + func (a *TransfersArray) SetInt(keyId int32, value int64) + func (a *TransfersArray) SetString(keyId int32, value string)