Documentation ¶
Index ¶
- type TestInterpreterRuntime
- func (t *TestInterpreterRuntime) ExecuteScript(runtime.Script, runtime.Context) (cadence.Value, error)
- func (t *TestInterpreterRuntime) ExecuteTransaction(runtime.Script, runtime.Context) error
- func (t *TestInterpreterRuntime) InvokeContractFunction(a common.AddressLocation, s string, values []cadence.Value, types []sema.Type, ...) (cadence.Value, error)
- func (t *TestInterpreterRuntime) NewContractFunctionExecutor(contractLocation common.AddressLocation, functionName string, ...) runtime.Executor
- func (t *TestInterpreterRuntime) NewScriptExecutor(script runtime.Script, context runtime.Context) runtime.Executor
- func (t *TestInterpreterRuntime) NewTransactionExecutor(script runtime.Script, context runtime.Context) runtime.Executor
- func (t *TestInterpreterRuntime) ParseAndCheckProgram([]byte, runtime.Context) (*interpreter.Program, error)
- func (t *TestInterpreterRuntime) ReadLinked(common.Address, cadence.Path, runtime.Context) (cadence.Value, error)
- func (t *TestInterpreterRuntime) ReadStored(address common.Address, path cadence.Path, context runtime.Context) (cadence.Value, error)
- func (t *TestInterpreterRuntime) SetAtreeValidationEnabled(bool)
- func (t *TestInterpreterRuntime) SetContractUpdateValidationEnabled(bool)
- func (t *TestInterpreterRuntime) SetCoverageReport(*runtime.CoverageReport)
- func (t *TestInterpreterRuntime) SetDebugger(debugger *interpreter.Debugger)
- func (t *TestInterpreterRuntime) SetInvalidatedResourceValidationEnabled(bool)
- func (t *TestInterpreterRuntime) SetResourceOwnerChangeHandlerEnabled(bool)
- func (t *TestInterpreterRuntime) SetTracingEnabled(bool)
- func (*TestInterpreterRuntime) Storage(runtime.Context) (*runtime.Storage, *interpreter.Interpreter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestInterpreterRuntime ¶
type TestInterpreterRuntime struct { ReadStoredFunc func(address common.Address, path cadence.Path, context runtime.Context) (cadence.Value, error) InvokeContractFunc func(a common.AddressLocation, s string, values []cadence.Value, types []sema.Type, ctx runtime.Context) (cadence.Value, error) }
func (*TestInterpreterRuntime) ExecuteScript ¶
func (*TestInterpreterRuntime) ExecuteTransaction ¶
func (*TestInterpreterRuntime) InvokeContractFunction ¶
func (*TestInterpreterRuntime) NewContractFunctionExecutor ¶
func (*TestInterpreterRuntime) NewScriptExecutor ¶
func (*TestInterpreterRuntime) NewTransactionExecutor ¶
func (*TestInterpreterRuntime) ParseAndCheckProgram ¶
func (t *TestInterpreterRuntime) ParseAndCheckProgram([]byte, runtime.Context) (*interpreter.Program, error)
func (*TestInterpreterRuntime) ReadLinked ¶
func (*TestInterpreterRuntime) ReadStored ¶
func (*TestInterpreterRuntime) SetAtreeValidationEnabled ¶
func (t *TestInterpreterRuntime) SetAtreeValidationEnabled(bool)
func (*TestInterpreterRuntime) SetContractUpdateValidationEnabled ¶
func (t *TestInterpreterRuntime) SetContractUpdateValidationEnabled(bool)
func (*TestInterpreterRuntime) SetCoverageReport ¶
func (t *TestInterpreterRuntime) SetCoverageReport(*runtime.CoverageReport)
func (*TestInterpreterRuntime) SetDebugger ¶
func (t *TestInterpreterRuntime) SetDebugger(debugger *interpreter.Debugger)
func (*TestInterpreterRuntime) SetInvalidatedResourceValidationEnabled ¶
func (t *TestInterpreterRuntime) SetInvalidatedResourceValidationEnabled(bool)
func (*TestInterpreterRuntime) SetResourceOwnerChangeHandlerEnabled ¶
func (t *TestInterpreterRuntime) SetResourceOwnerChangeHandlerEnabled(bool)
func (*TestInterpreterRuntime) SetTracingEnabled ¶
func (t *TestInterpreterRuntime) SetTracingEnabled(bool)
func (*TestInterpreterRuntime) Storage ¶
func (*TestInterpreterRuntime) Storage(runtime.Context) (*runtime.Storage, *interpreter.Interpreter, error)
Click to show internal directories.
Click to hide internal directories.