 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type TestRuntime
- func (t *TestRuntime) Config() runtime.Config
- func (t *TestRuntime) ExecuteScript(_ runtime.Script, _ runtime.Context) (cadence.Value, error)
- func (t *TestRuntime) ExecuteTransaction(_ runtime.Script, _ runtime.Context) error
- func (t *TestRuntime) InvokeContractFunction(a common.AddressLocation, s string, values []cadence.Value, types []sema.Type, ...) (cadence.Value, error)
- func (t *TestRuntime) NewContractFunctionExecutor(_ common.AddressLocation, _ string, _ []cadence.Value, _ []sema.Type, ...) runtime.Executor
- func (t *TestRuntime) NewScriptExecutor(_ runtime.Script, _ runtime.Context) runtime.Executor
- func (t *TestRuntime) NewTransactionExecutor(_ runtime.Script, _ runtime.Context) runtime.Executor
- func (t *TestRuntime) ParseAndCheckProgram(_ []byte, _ runtime.Context) (*interpreter.Program, error)
- func (t *TestRuntime) ReadStored(address common.Address, path cadence.Path, context runtime.Context) (cadence.Value, error)
- func (t *TestRuntime) SetDebugger(_ *interpreter.Debugger)
- func (*TestRuntime) 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 TestRuntime ¶ added in v0.43.3
type TestRuntime 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 (*TestRuntime) Config ¶ added in v0.43.3
func (t *TestRuntime) Config() runtime.Config
func (*TestRuntime) ExecuteScript ¶ added in v0.43.3
func (*TestRuntime) ExecuteTransaction ¶ added in v0.43.3
func (*TestRuntime) InvokeContractFunction ¶ added in v0.43.3
func (*TestRuntime) NewContractFunctionExecutor ¶ added in v0.43.3
func (*TestRuntime) NewScriptExecutor ¶ added in v0.43.3
func (*TestRuntime) NewTransactionExecutor ¶ added in v0.43.3
func (*TestRuntime) ParseAndCheckProgram ¶ added in v0.43.3
func (t *TestRuntime) ParseAndCheckProgram(_ []byte, _ runtime.Context) (*interpreter.Program, error)
func (*TestRuntime) ReadStored ¶ added in v0.43.3
func (*TestRuntime) SetDebugger ¶ added in v0.43.3
func (t *TestRuntime) SetDebugger(_ *interpreter.Debugger)
func (*TestRuntime) Storage ¶ added in v0.43.3
func (*TestRuntime) Storage(_ runtime.Context) (*runtime.Storage, *interpreter.Interpreter, error)
 Click to show internal directories. 
   Click to hide internal directories.