solotutorial

package
v0.5.1-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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

type ImmutableGetStringResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetStringResults) Str

type ImmutableSoloTutorialState

type ImmutableSoloTutorialState struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableSoloTutorialState

func NewImmutableSoloTutorialState() ImmutableSoloTutorialState

func (ImmutableSoloTutorialState) Str

type ImmutableStoreStringParams

type ImmutableStoreStringParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableStoreStringParams

func NewImmutableStoreStringParams() ImmutableStoreStringParams

func (ImmutableStoreStringParams) Str

type MutableGetStringResults

type MutableGetStringResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetStringResults

func NewMutableGetStringResults() MutableGetStringResults

func (MutableGetStringResults) Str

type MutableSoloTutorialState

type MutableSoloTutorialState struct {
	Proxy wasmtypes.Proxy
}

func NewMutableSoloTutorialState

func NewMutableSoloTutorialState() MutableSoloTutorialState

func (MutableSoloTutorialState) AsImmutable

func (MutableSoloTutorialState) Str

type MutableStoreStringParams

type MutableStoreStringParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableStoreStringParams) Str

type StoreStringCall

type StoreStringCall struct {
	Func   *wasmlib.ScFunc
	Params MutableStoreStringParams
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL