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.
Click to show internal directories.
Click to hide internal directories.