Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScName = "solotutorial" ScDescription = "Example ISC smart contract for the Solo tutorial" HScName = wasmtypes.ScHname(0x32fee818) )
View Source
const ( FuncStoreString = "storeString" ViewGetString = "getString" )
View Source
const ( HFuncStoreString = wasmtypes.ScHname(0x711eafc1) HViewGetString = wasmtypes.ScHname(0xe0b209f9) )
View Source
const (
ParamStr = "str"
)
View Source
const (
ResultStr = "str"
)
View Source
const (
StateStr = "str"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Funcs ¶
type Funcs struct{}
var ScFuncs Funcs
func (Funcs) GetString ¶
func (sc Funcs) GetString(ctx wasmlib.ScViewCallContext) *GetStringCall
func (Funcs) StoreString ¶
func (sc Funcs) StoreString(ctx wasmlib.ScFuncCallContext) *StoreStringCall
type GetStringCall ¶
type GetStringCall struct { Func *wasmlib.ScView Results ImmutableGetStringResults }
type ImmutableGetStringResults ¶
func (ImmutableGetStringResults) Str ¶
func (s ImmutableGetStringResults) Str() wasmtypes.ScImmutableString
type ImmutableSoloTutorialState ¶
func NewImmutableSoloTutorialState ¶
func NewImmutableSoloTutorialState() ImmutableSoloTutorialState
func (ImmutableSoloTutorialState) Str ¶
func (s ImmutableSoloTutorialState) Str() wasmtypes.ScImmutableString
type ImmutableStoreStringParams ¶
func NewImmutableStoreStringParams ¶
func NewImmutableStoreStringParams() ImmutableStoreStringParams
func (ImmutableStoreStringParams) Str ¶
func (s ImmutableStoreStringParams) Str() wasmtypes.ScImmutableString
type MutableGetStringResults ¶
func NewMutableGetStringResults ¶
func NewMutableGetStringResults() MutableGetStringResults
func (MutableGetStringResults) Str ¶
func (s MutableGetStringResults) Str() wasmtypes.ScMutableString
type MutableSoloTutorialState ¶
func NewMutableSoloTutorialState ¶
func NewMutableSoloTutorialState() MutableSoloTutorialState
func (MutableSoloTutorialState) AsImmutable ¶
func (s MutableSoloTutorialState) AsImmutable() ImmutableSoloTutorialState
func (MutableSoloTutorialState) Str ¶
func (s MutableSoloTutorialState) Str() wasmtypes.ScMutableString
type MutableStoreStringParams ¶
func (MutableStoreStringParams) Str ¶
func (s MutableStoreStringParams) Str() wasmtypes.ScMutableString
type StoreStringCall ¶
type StoreStringCall struct { Func *wasmlib.ScFunc Params MutableStoreStringParams }
Click to show internal directories.
Click to hide internal directories.