testcore

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0, BSD-2-Clause, Apache-2.0, + 1 more Imports: 3 Imported by: 0

README

testcore

Core test for ISCP wasmlib Rust/Wasm library

Documentation

Index

Constants

View Source
const (
	ScName        = "testcore"
	ScDescription = "Core test for ISCP wasmlib Rust/Wasm library"
	HScName       = wasmlib.ScHname(0x370d33ad)
)
View Source
const (
	ParamAddress         = wasmlib.Key("address")
	ParamAgentID         = wasmlib.Key("agentID")
	ParamCaller          = wasmlib.Key("caller")
	ParamChainID         = wasmlib.Key("chainID")
	ParamChainOwnerID    = wasmlib.Key("chainOwnerID")
	ParamContractCreator = wasmlib.Key("contractCreator")
	ParamContractID      = wasmlib.Key("contractID")
	ParamCounter         = wasmlib.Key("counter")
	ParamFail            = wasmlib.Key("initFailParam")
	ParamHash            = wasmlib.Key("Hash")
	ParamHname           = wasmlib.Key("Hname")
	ParamHnameContract   = wasmlib.Key("hnameContract")
	ParamHnameEP         = wasmlib.Key("hnameEP")
	ParamHnameZero       = wasmlib.Key("Hname-0")
	ParamInt64           = wasmlib.Key("int64")
	ParamInt64Zero       = wasmlib.Key("int64-0")
	ParamIntValue        = wasmlib.Key("intParamValue")
	ParamName            = wasmlib.Key("intParamName")
	ParamProgHash        = wasmlib.Key("progHash")
	ParamString          = wasmlib.Key("string")
	ParamStringZero      = wasmlib.Key("string-0")
	ParamVarName         = wasmlib.Key("varName")
)
View Source
const (
	ResultChainOwnerID = wasmlib.Key("chainOwnerID")
	ResultCounter      = wasmlib.Key("counter")
	ResultIntValue     = wasmlib.Key("intParamValue")
	ResultMintedColor  = wasmlib.Key("mintedColor")
	ResultMintedSupply = wasmlib.Key("mintedSupply")
	ResultSandboxCall  = wasmlib.Key("sandboxCall")
)
View Source
const (
	StateCounter      = wasmlib.Key("counter")
	StateHnameEP      = wasmlib.Key("hnameEP")
	StateInts         = wasmlib.Key("ints")
	StateMintedColor  = wasmlib.Key("mintedColor")
	StateMintedSupply = wasmlib.Key("mintedSupply")
)
View Source
const (
	FuncCallOnChain                 = "callOnChain"
	FuncCheckContextFromFullEP      = "checkContextFromFullEP"
	FuncDoNothing                   = "doNothing"
	FuncGetMintedSupply             = "getMintedSupply"
	FuncIncCounter                  = "incCounter"
	FuncInit                        = "init"
	FuncPassTypesFull               = "passTypesFull"
	FuncRunRecursion                = "runRecursion"
	FuncSendToAddress               = "sendToAddress"
	FuncSetInt                      = "setInt"
	FuncSpawn                       = "spawn"
	FuncTestBlockContext1           = "testBlockContext1"
	FuncTestBlockContext2           = "testBlockContext2"
	FuncTestCallPanicFullEP         = "testCallPanicFullEP"
	FuncTestCallPanicViewEPFromFull = "testCallPanicViewEPFromFull"
	FuncTestChainOwnerIDFull        = "testChainOwnerIDFull"
	FuncTestEventLogDeploy          = "testEventLogDeploy"
	FuncTestEventLogEventData       = "testEventLogEventData"
	FuncTestEventLogGenericData     = "testEventLogGenericData"
	FuncTestPanicFullEP             = "testPanicFullEP"
	FuncWithdrawToChain             = "withdrawToChain"
	ViewCheckContextFromViewEP      = "checkContextFromViewEP"
	ViewFibonacci                   = "fibonacci"
	ViewGetCounter                  = "getCounter"
	ViewGetInt                      = "getInt"
	ViewGetStringValue              = "getStringValue"
	ViewJustView                    = "justView"
	ViewPassTypesView               = "passTypesView"
	ViewTestCallPanicViewEPFromView = "testCallPanicViewEPFromView"
	ViewTestChainOwnerIDView        = "testChainOwnerIDView"
	ViewTestPanicViewEP             = "testPanicViewEP"
	ViewTestSandboxCall             = "testSandboxCall"
)
View Source
const (
	HFuncCallOnChain                 = wasmlib.ScHname(0x95a3d123)
	HFuncCheckContextFromFullEP      = wasmlib.ScHname(0xa56c24ba)
	HFuncDoNothing                   = wasmlib.ScHname(0xdda4a6de)
	HFuncGetMintedSupply             = wasmlib.ScHname(0x0c2d113c)
	HFuncIncCounter                  = wasmlib.ScHname(0x7b287419)
	HFuncInit                        = wasmlib.ScHname(0x1f44d644)
	HFuncPassTypesFull               = wasmlib.ScHname(0x733ea0ea)
	HFuncRunRecursion                = wasmlib.ScHname(0x833425fd)
	HFuncSendToAddress               = wasmlib.ScHname(0x63ce4634)
	HFuncSetInt                      = wasmlib.ScHname(0x62056f74)
	HFuncSpawn                       = wasmlib.ScHname(0xec929d12)
	HFuncTestBlockContext1           = wasmlib.ScHname(0x796d4136)
	HFuncTestBlockContext2           = wasmlib.ScHname(0x758b0452)
	HFuncTestCallPanicFullEP         = wasmlib.ScHname(0x4c878834)
	HFuncTestCallPanicViewEPFromFull = wasmlib.ScHname(0xfd7e8c1d)
	HFuncTestChainOwnerIDFull        = wasmlib.ScHname(0x2aff1167)
	HFuncTestEventLogDeploy          = wasmlib.ScHname(0x96ff760a)
	HFuncTestEventLogEventData       = wasmlib.ScHname(0x0efcf939)
	HFuncTestEventLogGenericData     = wasmlib.ScHname(0x6a16629d)
	HFuncTestPanicFullEP             = wasmlib.ScHname(0x24fdef07)
	HFuncWithdrawToChain             = wasmlib.ScHname(0x437bc026)
	HViewCheckContextFromViewEP      = wasmlib.ScHname(0x88ff0167)
	HViewFibonacci                   = wasmlib.ScHname(0x7940873c)
	HViewGetCounter                  = wasmlib.ScHname(0xb423e607)
	HViewGetInt                      = wasmlib.ScHname(0x1887e5ef)
	HViewGetStringValue              = wasmlib.ScHname(0xcf0a4d32)
	HViewJustView                    = wasmlib.ScHname(0x33b8972e)
	HViewPassTypesView               = wasmlib.ScHname(0x1a5b87ea)
	HViewTestCallPanicViewEPFromView = wasmlib.ScHname(0x91b10c99)
	HViewTestChainOwnerIDView        = wasmlib.ScHname(0x26586c33)
	HViewTestPanicViewEP             = wasmlib.ScHname(0x22bc4d72)
	HViewTestSandboxCall             = wasmlib.ScHname(0x42d72b63)
)
View Source
const (
	IdxParamAddress         = 0
	IdxParamAgentID         = 1
	IdxParamCaller          = 2
	IdxParamChainID         = 3
	IdxParamChainOwnerID    = 4
	IdxParamContractCreator = 5
	IdxParamContractID      = 6
	IdxParamCounter         = 7
	IdxParamFail            = 8
	IdxParamHash            = 9
	IdxParamHname           = 10
	IdxParamHnameContract   = 11
	IdxParamHnameEP         = 12
	IdxParamHnameZero       = 13
	IdxParamInt64           = 14
	IdxParamInt64Zero       = 15
	IdxParamIntValue        = 16
	IdxParamName            = 17
	IdxParamProgHash        = 18
	IdxParamString          = 19
	IdxParamStringZero      = 20
	IdxParamVarName         = 21
	IdxResultChainOwnerID   = 22
	IdxResultCounter        = 23
	IdxResultIntValue       = 24
	IdxResultMintedColor    = 25
	IdxResultMintedSupply   = 26
	IdxResultSandboxCall    = 27
	IdxStateCounter         = 28
	IdxStateHnameEP         = 29
	IdxStateInts            = 30
	IdxStateMintedColor     = 31
	IdxStateMintedSupply    = 32
)
View Source
const (
	ContractNameDeployed = "exampleDeployTR"
	MsgCoreOnlyPanic     = "========== core only ========="
	MsgFullPanic         = "========== panic FULL ENTRY POINT ========="
	MsgViewPanic         = "========== panic VIEW ========="
)

Variables

This section is empty.

Functions

func OnLoad

func OnLoad()

Types

type CallOnChainCall

type CallOnChainCall struct {
	Func    *wasmlib.ScFunc
	Params  MutableCallOnChainParams
	Results ImmutableCallOnChainResults
}

type CallOnChainContext

type CallOnChainContext struct {
	Params  ImmutableCallOnChainParams
	Results MutableCallOnChainResults
	State   MutableTestCoreState
}

type CheckContextFromFullEPCall

type CheckContextFromFullEPCall struct {
	Func   *wasmlib.ScFunc
	Params MutableCheckContextFromFullEPParams
}

type CheckContextFromFullEPContext

type CheckContextFromFullEPContext struct {
	Params ImmutableCheckContextFromFullEPParams
	State  MutableTestCoreState
}

type CheckContextFromViewEPCall

type CheckContextFromViewEPCall struct {
	Func   *wasmlib.ScView
	Params MutableCheckContextFromViewEPParams
}

type CheckContextFromViewEPContext

type CheckContextFromViewEPContext struct {
	Params ImmutableCheckContextFromViewEPParams
	State  ImmutableTestCoreState
}

type DoNothingCall

type DoNothingCall struct {
	Func *wasmlib.ScFunc
}

type DoNothingContext

type DoNothingContext struct {
	State MutableTestCoreState
}

type FibonacciCall

type FibonacciCall struct {
	Func    *wasmlib.ScView
	Params  MutableFibonacciParams
	Results ImmutableFibonacciResults
}

type FibonacciContext

type FibonacciContext struct {
	Params  ImmutableFibonacciParams
	Results MutableFibonacciResults
	State   ImmutableTestCoreState
}

type Funcs

type Funcs struct{}
var ScFuncs Funcs

func (Funcs) CallOnChain

func (sc Funcs) CallOnChain(ctx wasmlib.ScFuncCallContext) *CallOnChainCall

func (Funcs) CheckContextFromFullEP

func (sc Funcs) CheckContextFromFullEP(ctx wasmlib.ScFuncCallContext) *CheckContextFromFullEPCall

func (Funcs) CheckContextFromViewEP

func (sc Funcs) CheckContextFromViewEP(ctx wasmlib.ScViewCallContext) *CheckContextFromViewEPCall

func (Funcs) DoNothing

func (sc Funcs) DoNothing(ctx wasmlib.ScFuncCallContext) *DoNothingCall

func (Funcs) Fibonacci

func (sc Funcs) Fibonacci(ctx wasmlib.ScViewCallContext) *FibonacciCall

func (Funcs) GetCounter

func (sc Funcs) GetCounter(ctx wasmlib.ScViewCallContext) *GetCounterCall

func (Funcs) GetInt

func (sc Funcs) GetInt(ctx wasmlib.ScViewCallContext) *GetIntCall

func (Funcs) GetMintedSupply

func (sc Funcs) GetMintedSupply(ctx wasmlib.ScFuncCallContext) *GetMintedSupplyCall

func (Funcs) GetStringValue

func (sc Funcs) GetStringValue(ctx wasmlib.ScViewCallContext) *GetStringValueCall

func (Funcs) IncCounter

func (sc Funcs) IncCounter(ctx wasmlib.ScFuncCallContext) *IncCounterCall

func (Funcs) Init

func (sc Funcs) Init(ctx wasmlib.ScFuncCallContext) *InitCall

func (Funcs) JustView

func (sc Funcs) JustView(ctx wasmlib.ScViewCallContext) *JustViewCall

func (Funcs) PassTypesFull

func (sc Funcs) PassTypesFull(ctx wasmlib.ScFuncCallContext) *PassTypesFullCall

func (Funcs) PassTypesView

func (sc Funcs) PassTypesView(ctx wasmlib.ScViewCallContext) *PassTypesViewCall

func (Funcs) RunRecursion

func (sc Funcs) RunRecursion(ctx wasmlib.ScFuncCallContext) *RunRecursionCall

func (Funcs) SendToAddress

func (sc Funcs) SendToAddress(ctx wasmlib.ScFuncCallContext) *SendToAddressCall

func (Funcs) SetInt

func (sc Funcs) SetInt(ctx wasmlib.ScFuncCallContext) *SetIntCall

func (Funcs) Spawn

func (sc Funcs) Spawn(ctx wasmlib.ScFuncCallContext) *SpawnCall

func (Funcs) TestBlockContext1

func (sc Funcs) TestBlockContext1(ctx wasmlib.ScFuncCallContext) *TestBlockContext1Call

func (Funcs) TestBlockContext2

func (sc Funcs) TestBlockContext2(ctx wasmlib.ScFuncCallContext) *TestBlockContext2Call

func (Funcs) TestCallPanicFullEP

func (sc Funcs) TestCallPanicFullEP(ctx wasmlib.ScFuncCallContext) *TestCallPanicFullEPCall

func (Funcs) TestCallPanicViewEPFromFull

func (sc Funcs) TestCallPanicViewEPFromFull(ctx wasmlib.ScFuncCallContext) *TestCallPanicViewEPFromFullCall

func (Funcs) TestCallPanicViewEPFromView

func (sc Funcs) TestCallPanicViewEPFromView(ctx wasmlib.ScViewCallContext) *TestCallPanicViewEPFromViewCall

func (Funcs) TestChainOwnerIDFull

func (sc Funcs) TestChainOwnerIDFull(ctx wasmlib.ScFuncCallContext) *TestChainOwnerIDFullCall

func (Funcs) TestChainOwnerIDView

func (sc Funcs) TestChainOwnerIDView(ctx wasmlib.ScViewCallContext) *TestChainOwnerIDViewCall

func (Funcs) TestEventLogDeploy

func (sc Funcs) TestEventLogDeploy(ctx wasmlib.ScFuncCallContext) *TestEventLogDeployCall

func (Funcs) TestEventLogEventData

func (sc Funcs) TestEventLogEventData(ctx wasmlib.ScFuncCallContext) *TestEventLogEventDataCall

func (Funcs) TestEventLogGenericData

func (sc Funcs) TestEventLogGenericData(ctx wasmlib.ScFuncCallContext) *TestEventLogGenericDataCall

func (Funcs) TestPanicFullEP

func (sc Funcs) TestPanicFullEP(ctx wasmlib.ScFuncCallContext) *TestPanicFullEPCall

func (Funcs) TestPanicViewEP

func (sc Funcs) TestPanicViewEP(ctx wasmlib.ScViewCallContext) *TestPanicViewEPCall

func (Funcs) TestSandboxCall

func (sc Funcs) TestSandboxCall(ctx wasmlib.ScViewCallContext) *TestSandboxCallCall

func (Funcs) WithdrawToChain

func (sc Funcs) WithdrawToChain(ctx wasmlib.ScFuncCallContext) *WithdrawToChainCall

type GetCounterCall

type GetCounterCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetCounterResults
}

type GetCounterContext

type GetCounterContext struct {
	Results MutableGetCounterResults
	State   ImmutableTestCoreState
}

type GetIntCall

type GetIntCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetIntParams
	Results ImmutableGetIntResults
}

type GetIntContext

type GetIntContext struct {
	Params  ImmutableGetIntParams
	Results MutableGetIntResults
	State   ImmutableTestCoreState
}

type GetMintedSupplyCall

type GetMintedSupplyCall struct {
	Func    *wasmlib.ScFunc
	Results ImmutableGetMintedSupplyResults
}

type GetMintedSupplyContext

type GetMintedSupplyContext struct {
	Results MutableGetMintedSupplyResults
	State   MutableTestCoreState
}

type GetStringValueCall

type GetStringValueCall struct {
	Func    *wasmlib.ScView
	Params  MutableGetStringValueParams
	Results ImmutableGetStringValueResults
}

type GetStringValueContext

type GetStringValueContext struct {
	Params  ImmutableGetStringValueParams
	Results MutableGetStringValueResults
	State   ImmutableTestCoreState
}

type ImmutableCallOnChainParams

type ImmutableCallOnChainParams struct {
	// contains filtered or unexported fields
}

func (ImmutableCallOnChainParams) HnameContract

func (ImmutableCallOnChainParams) HnameEP

func (ImmutableCallOnChainParams) IntValue

type ImmutableCallOnChainResults

type ImmutableCallOnChainResults struct {
	// contains filtered or unexported fields
}

func (ImmutableCallOnChainResults) IntValue

type ImmutableCheckContextFromFullEPParams

type ImmutableCheckContextFromFullEPParams struct {
	// contains filtered or unexported fields
}

func (ImmutableCheckContextFromFullEPParams) AgentID

func (ImmutableCheckContextFromFullEPParams) Caller

func (ImmutableCheckContextFromFullEPParams) ChainID

func (ImmutableCheckContextFromFullEPParams) ChainOwnerID

func (ImmutableCheckContextFromFullEPParams) ContractCreator

type ImmutableCheckContextFromViewEPParams

type ImmutableCheckContextFromViewEPParams struct {
	// contains filtered or unexported fields
}

func (ImmutableCheckContextFromViewEPParams) AgentID

func (ImmutableCheckContextFromViewEPParams) ChainID

func (ImmutableCheckContextFromViewEPParams) ChainOwnerID

func (ImmutableCheckContextFromViewEPParams) ContractCreator

type ImmutableFibonacciParams

type ImmutableFibonacciParams struct {
	// contains filtered or unexported fields
}

func (ImmutableFibonacciParams) IntValue

type ImmutableFibonacciResults

type ImmutableFibonacciResults struct {
	// contains filtered or unexported fields
}

func (ImmutableFibonacciResults) IntValue

type ImmutableGetCounterResults

type ImmutableGetCounterResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetCounterResults) Counter

type ImmutableGetIntParams

type ImmutableGetIntParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetIntParams) Name

type ImmutableGetIntResults

type ImmutableGetIntResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetIntResults) Values

type ImmutableGetMintedSupplyResults

type ImmutableGetMintedSupplyResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetMintedSupplyResults) MintedColor

func (ImmutableGetMintedSupplyResults) MintedSupply

type ImmutableGetStringValueParams

type ImmutableGetStringValueParams struct {
	// contains filtered or unexported fields
}

func (ImmutableGetStringValueParams) VarName

type ImmutableGetStringValueResults

type ImmutableGetStringValueResults struct {
	// contains filtered or unexported fields
}

func (ImmutableGetStringValueResults) Vars

type ImmutableInitParams

type ImmutableInitParams struct {
	// contains filtered or unexported fields
}

func (ImmutableInitParams) Fail

type ImmutablePassTypesFullParams

type ImmutablePassTypesFullParams struct {
	// contains filtered or unexported fields
}

func (ImmutablePassTypesFullParams) Address

func (ImmutablePassTypesFullParams) AgentID

func (ImmutablePassTypesFullParams) ChainID

func (ImmutablePassTypesFullParams) ContractID

func (ImmutablePassTypesFullParams) Hash

func (ImmutablePassTypesFullParams) Hname

func (ImmutablePassTypesFullParams) HnameZero

func (ImmutablePassTypesFullParams) Int64

func (ImmutablePassTypesFullParams) Int64Zero

func (ImmutablePassTypesFullParams) String

func (ImmutablePassTypesFullParams) StringZero

type ImmutablePassTypesViewParams

type ImmutablePassTypesViewParams struct {
	// contains filtered or unexported fields
}

func (ImmutablePassTypesViewParams) Address

func (ImmutablePassTypesViewParams) AgentID

func (ImmutablePassTypesViewParams) ChainID

func (ImmutablePassTypesViewParams) ContractID

func (ImmutablePassTypesViewParams) Hash

func (ImmutablePassTypesViewParams) Hname

func (ImmutablePassTypesViewParams) HnameZero

func (ImmutablePassTypesViewParams) Int64

func (ImmutablePassTypesViewParams) Int64Zero

func (ImmutablePassTypesViewParams) String

func (ImmutablePassTypesViewParams) StringZero

type ImmutableRunRecursionParams

type ImmutableRunRecursionParams struct {
	// contains filtered or unexported fields
}

func (ImmutableRunRecursionParams) IntValue

type ImmutableRunRecursionResults

type ImmutableRunRecursionResults struct {
	// contains filtered or unexported fields
}

func (ImmutableRunRecursionResults) IntValue

type ImmutableSendToAddressParams

type ImmutableSendToAddressParams struct {
	// contains filtered or unexported fields
}

func (ImmutableSendToAddressParams) Address

type ImmutableSetIntParams

type ImmutableSetIntParams struct {
	// contains filtered or unexported fields
}

func (ImmutableSetIntParams) IntValue

func (ImmutableSetIntParams) Name

type ImmutableSpawnParams

type ImmutableSpawnParams struct {
	// contains filtered or unexported fields
}

func (ImmutableSpawnParams) ProgHash

type ImmutableTestChainOwnerIDFullResults

type ImmutableTestChainOwnerIDFullResults struct {
	// contains filtered or unexported fields
}

func (ImmutableTestChainOwnerIDFullResults) ChainOwnerID

type ImmutableTestChainOwnerIDViewResults

type ImmutableTestChainOwnerIDViewResults struct {
	// contains filtered or unexported fields
}

func (ImmutableTestChainOwnerIDViewResults) ChainOwnerID

type ImmutableTestCoreState

type ImmutableTestCoreState struct {
	// contains filtered or unexported fields
}

func (ImmutableTestCoreState) Counter

func (ImmutableTestCoreState) HnameEP

func (ImmutableTestCoreState) Ints

func (ImmutableTestCoreState) MintedColor

func (ImmutableTestCoreState) MintedSupply

type ImmutableTestEventLogGenericDataParams

type ImmutableTestEventLogGenericDataParams struct {
	// contains filtered or unexported fields
}

func (ImmutableTestEventLogGenericDataParams) Counter

type ImmutableTestSandboxCallResults

type ImmutableTestSandboxCallResults struct {
	// contains filtered or unexported fields
}

func (ImmutableTestSandboxCallResults) SandboxCall

type ImmutableWithdrawToChainParams

type ImmutableWithdrawToChainParams struct {
	// contains filtered or unexported fields
}

func (ImmutableWithdrawToChainParams) ChainID

type IncCounterCall

type IncCounterCall struct {
	Func *wasmlib.ScFunc
}

type IncCounterContext

type IncCounterContext struct {
	State MutableTestCoreState
}

type InitCall

type InitCall struct {
	Func   *wasmlib.ScInitFunc
	Params MutableInitParams
}

type InitContext

type InitContext struct {
	Params ImmutableInitParams
	State  MutableTestCoreState
}

type JustViewCall

type JustViewCall struct {
	Func *wasmlib.ScView
}

type JustViewContext

type JustViewContext struct {
	State ImmutableTestCoreState
}

type MapStringToImmutableInt64

type MapStringToImmutableInt64 struct {
	// contains filtered or unexported fields
}

func (MapStringToImmutableInt64) GetInt64

type MapStringToImmutableString

type MapStringToImmutableString struct {
	// contains filtered or unexported fields
}

func (MapStringToImmutableString) GetString

type MapStringToMutableInt64

type MapStringToMutableInt64 struct {
	// contains filtered or unexported fields
}

func (MapStringToMutableInt64) Clear

func (m MapStringToMutableInt64) Clear()

func (MapStringToMutableInt64) GetInt64

type MapStringToMutableString

type MapStringToMutableString struct {
	// contains filtered or unexported fields
}

func (MapStringToMutableString) Clear

func (m MapStringToMutableString) Clear()

func (MapStringToMutableString) GetString

type MutableCallOnChainParams

type MutableCallOnChainParams struct {
	// contains filtered or unexported fields
}

func (MutableCallOnChainParams) HnameContract

func (MutableCallOnChainParams) HnameEP

func (MutableCallOnChainParams) IntValue

type MutableCallOnChainResults

type MutableCallOnChainResults struct {
	// contains filtered or unexported fields
}

func (MutableCallOnChainResults) IntValue

type MutableCheckContextFromFullEPParams

type MutableCheckContextFromFullEPParams struct {
	// contains filtered or unexported fields
}

func (MutableCheckContextFromFullEPParams) AgentID

func (MutableCheckContextFromFullEPParams) Caller

func (MutableCheckContextFromFullEPParams) ChainID

func (MutableCheckContextFromFullEPParams) ChainOwnerID

func (MutableCheckContextFromFullEPParams) ContractCreator

type MutableCheckContextFromViewEPParams

type MutableCheckContextFromViewEPParams struct {
	// contains filtered or unexported fields
}

func (MutableCheckContextFromViewEPParams) AgentID

func (MutableCheckContextFromViewEPParams) ChainID

func (MutableCheckContextFromViewEPParams) ChainOwnerID

func (MutableCheckContextFromViewEPParams) ContractCreator

type MutableFibonacciParams

type MutableFibonacciParams struct {
	// contains filtered or unexported fields
}

func (MutableFibonacciParams) IntValue

type MutableFibonacciResults

type MutableFibonacciResults struct {
	// contains filtered or unexported fields
}

func (MutableFibonacciResults) IntValue

type MutableGetCounterResults

type MutableGetCounterResults struct {
	// contains filtered or unexported fields
}

func (MutableGetCounterResults) Counter

type MutableGetIntParams

type MutableGetIntParams struct {
	// contains filtered or unexported fields
}

func (MutableGetIntParams) Name

type MutableGetIntResults

type MutableGetIntResults struct {
	// contains filtered or unexported fields
}

func (MutableGetIntResults) Values

type MutableGetMintedSupplyResults

type MutableGetMintedSupplyResults struct {
	// contains filtered or unexported fields
}

func (MutableGetMintedSupplyResults) MintedColor

func (MutableGetMintedSupplyResults) MintedSupply

type MutableGetStringValueParams

type MutableGetStringValueParams struct {
	// contains filtered or unexported fields
}

func (MutableGetStringValueParams) VarName

type MutableGetStringValueResults

type MutableGetStringValueResults struct {
	// contains filtered or unexported fields
}

func (MutableGetStringValueResults) Vars

type MutableInitParams

type MutableInitParams struct {
	// contains filtered or unexported fields
}

func (MutableInitParams) Fail

type MutablePassTypesFullParams

type MutablePassTypesFullParams struct {
	// contains filtered or unexported fields
}

func (MutablePassTypesFullParams) Address

func (MutablePassTypesFullParams) AgentID

func (MutablePassTypesFullParams) ChainID

func (MutablePassTypesFullParams) ContractID

func (MutablePassTypesFullParams) Hash

func (MutablePassTypesFullParams) Hname

func (MutablePassTypesFullParams) HnameZero

func (MutablePassTypesFullParams) Int64

func (MutablePassTypesFullParams) Int64Zero

func (MutablePassTypesFullParams) String

func (MutablePassTypesFullParams) StringZero

type MutablePassTypesViewParams

type MutablePassTypesViewParams struct {
	// contains filtered or unexported fields
}

func (MutablePassTypesViewParams) Address

func (MutablePassTypesViewParams) AgentID

func (MutablePassTypesViewParams) ChainID

func (MutablePassTypesViewParams) ContractID

func (MutablePassTypesViewParams) Hash

func (MutablePassTypesViewParams) Hname

func (MutablePassTypesViewParams) HnameZero

func (MutablePassTypesViewParams) Int64

func (MutablePassTypesViewParams) Int64Zero

func (MutablePassTypesViewParams) String

func (MutablePassTypesViewParams) StringZero

type MutableRunRecursionParams

type MutableRunRecursionParams struct {
	// contains filtered or unexported fields
}

func (MutableRunRecursionParams) IntValue

type MutableRunRecursionResults

type MutableRunRecursionResults struct {
	// contains filtered or unexported fields
}

func (MutableRunRecursionResults) IntValue

type MutableSendToAddressParams

type MutableSendToAddressParams struct {
	// contains filtered or unexported fields
}

func (MutableSendToAddressParams) Address

type MutableSetIntParams

type MutableSetIntParams struct {
	// contains filtered or unexported fields
}

func (MutableSetIntParams) IntValue

func (MutableSetIntParams) Name

type MutableSpawnParams

type MutableSpawnParams struct {
	// contains filtered or unexported fields
}

func (MutableSpawnParams) ProgHash

type MutableTestChainOwnerIDFullResults

type MutableTestChainOwnerIDFullResults struct {
	// contains filtered or unexported fields
}

func (MutableTestChainOwnerIDFullResults) ChainOwnerID

type MutableTestChainOwnerIDViewResults

type MutableTestChainOwnerIDViewResults struct {
	// contains filtered or unexported fields
}

func (MutableTestChainOwnerIDViewResults) ChainOwnerID

type MutableTestCoreState

type MutableTestCoreState struct {
	// contains filtered or unexported fields
}

func (MutableTestCoreState) Counter

func (MutableTestCoreState) HnameEP

func (MutableTestCoreState) Ints

func (MutableTestCoreState) MintedColor

func (MutableTestCoreState) MintedSupply

func (s MutableTestCoreState) MintedSupply() wasmlib.ScMutableInt64

type MutableTestEventLogGenericDataParams

type MutableTestEventLogGenericDataParams struct {
	// contains filtered or unexported fields
}

func (MutableTestEventLogGenericDataParams) Counter

type MutableTestSandboxCallResults

type MutableTestSandboxCallResults struct {
	// contains filtered or unexported fields
}

func (MutableTestSandboxCallResults) SandboxCall

type MutableWithdrawToChainParams

type MutableWithdrawToChainParams struct {
	// contains filtered or unexported fields
}

func (MutableWithdrawToChainParams) ChainID

type PassTypesFullCall

type PassTypesFullCall struct {
	Func   *wasmlib.ScFunc
	Params MutablePassTypesFullParams
}

type PassTypesFullContext

type PassTypesFullContext struct {
	Params ImmutablePassTypesFullParams
	State  MutableTestCoreState
}

type PassTypesViewCall

type PassTypesViewCall struct {
	Func   *wasmlib.ScView
	Params MutablePassTypesViewParams
}

type PassTypesViewContext

type PassTypesViewContext struct {
	Params ImmutablePassTypesViewParams
	State  ImmutableTestCoreState
}

type RunRecursionCall

type RunRecursionCall struct {
	Func    *wasmlib.ScFunc
	Params  MutableRunRecursionParams
	Results ImmutableRunRecursionResults
}

type RunRecursionContext

type RunRecursionContext struct {
	Params  ImmutableRunRecursionParams
	Results MutableRunRecursionResults
	State   MutableTestCoreState
}

type SendToAddressCall

type SendToAddressCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSendToAddressParams
}

type SendToAddressContext

type SendToAddressContext struct {
	Params ImmutableSendToAddressParams
	State  MutableTestCoreState
}

type SetIntCall

type SetIntCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSetIntParams
}

type SetIntContext

type SetIntContext struct {
	Params ImmutableSetIntParams
	State  MutableTestCoreState
}

type SpawnCall

type SpawnCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSpawnParams
}

type SpawnContext

type SpawnContext struct {
	Params ImmutableSpawnParams
	State  MutableTestCoreState
}

type TestBlockContext1Call

type TestBlockContext1Call struct {
	Func *wasmlib.ScFunc
}

type TestBlockContext1Context

type TestBlockContext1Context struct {
	State MutableTestCoreState
}

type TestBlockContext2Call

type TestBlockContext2Call struct {
	Func *wasmlib.ScFunc
}

type TestBlockContext2Context

type TestBlockContext2Context struct {
	State MutableTestCoreState
}

type TestCallPanicFullEPCall

type TestCallPanicFullEPCall struct {
	Func *wasmlib.ScFunc
}

type TestCallPanicFullEPContext

type TestCallPanicFullEPContext struct {
	State MutableTestCoreState
}

type TestCallPanicViewEPFromFullCall

type TestCallPanicViewEPFromFullCall struct {
	Func *wasmlib.ScFunc
}

type TestCallPanicViewEPFromFullContext

type TestCallPanicViewEPFromFullContext struct {
	State MutableTestCoreState
}

type TestCallPanicViewEPFromViewCall

type TestCallPanicViewEPFromViewCall struct {
	Func *wasmlib.ScView
}

type TestCallPanicViewEPFromViewContext

type TestCallPanicViewEPFromViewContext struct {
	State ImmutableTestCoreState
}

type TestChainOwnerIDFullCall

type TestChainOwnerIDFullCall struct {
	Func    *wasmlib.ScFunc
	Results ImmutableTestChainOwnerIDFullResults
}

type TestChainOwnerIDFullContext

type TestChainOwnerIDFullContext struct {
	Results MutableTestChainOwnerIDFullResults
	State   MutableTestCoreState
}

type TestChainOwnerIDViewCall

type TestChainOwnerIDViewCall struct {
	Func    *wasmlib.ScView
	Results ImmutableTestChainOwnerIDViewResults
}

type TestChainOwnerIDViewContext

type TestChainOwnerIDViewContext struct {
	Results MutableTestChainOwnerIDViewResults
	State   ImmutableTestCoreState
}

type TestEventLogDeployCall

type TestEventLogDeployCall struct {
	Func *wasmlib.ScFunc
}

type TestEventLogDeployContext

type TestEventLogDeployContext struct {
	State MutableTestCoreState
}

type TestEventLogEventDataCall

type TestEventLogEventDataCall struct {
	Func *wasmlib.ScFunc
}

type TestEventLogEventDataContext

type TestEventLogEventDataContext struct {
	State MutableTestCoreState
}

type TestEventLogGenericDataCall

type TestEventLogGenericDataCall struct {
	Func   *wasmlib.ScFunc
	Params MutableTestEventLogGenericDataParams
}

type TestEventLogGenericDataContext

type TestEventLogGenericDataContext struct {
	Params ImmutableTestEventLogGenericDataParams
	State  MutableTestCoreState
}

type TestPanicFullEPCall

type TestPanicFullEPCall struct {
	Func *wasmlib.ScFunc
}

type TestPanicFullEPContext

type TestPanicFullEPContext struct {
	State MutableTestCoreState
}

type TestPanicViewEPCall

type TestPanicViewEPCall struct {
	Func *wasmlib.ScView
}

type TestPanicViewEPContext

type TestPanicViewEPContext struct {
	State ImmutableTestCoreState
}

type TestSandboxCallCall

type TestSandboxCallCall struct {
	Func    *wasmlib.ScView
	Results ImmutableTestSandboxCallResults
}

type TestSandboxCallContext

type TestSandboxCallContext struct {
	Results MutableTestSandboxCallResults
	State   ImmutableTestCoreState
}

type WithdrawToChainCall

type WithdrawToChainCall struct {
	Func   *wasmlib.ScFunc
	Params MutableWithdrawToChainParams
}

type WithdrawToChainContext

type WithdrawToChainContext struct {
	Params ImmutableWithdrawToChainParams
	State  MutableTestCoreState
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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