executor

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorageContractExecutor

type AnchorageContractExecutor struct{}

AnchorageContractExecutor is the contract executor for the anchorage contract version.

func NewAnchorageContractExecutor

func NewAnchorageContractExecutor() *AnchorageContractExecutor

NewAnchorageContractExecutor creates a new AnchorageContractExecutor.

func (*AnchorageContractExecutor) ExecContract

func (*AnchorageContractExecutor) ExecContract(ctx context.Context, opt service.ContractCallOpt) (res interface{}, err error)

ExecContract effectively executes the contract and returns the result. If the engine goes into execution timeout, it panics with EngineExecutionTimeoutPanic.

Jump to

Keyboard shortcuts

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