Documentation ¶
Index ¶
- Constants
- type Registry
- func (r *Registry) Destroy()
- func (r *Registry) HostApis() *rttypes.HostAPIRegistry
- func (r *Registry) RunnerContext() *types.RunnerContext
- func (r *Registry) SetErrCallback(errFunc func(message string))
- func (r *Registry) SetRunnerContext(name string, blockNum int64, gas uint64, contractAddr common.Address)
Constants ¶
View Source
const ( // entrance of api functions APIEntrance = "execute" CheckBlockLevel = "isBlockLevel" CheckTransactionLevel = "isTransactionLevel" CheckIsTxVerifier = "isTransactionVerifier" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry keeps the properity owned by current
func NewRegistry ¶
func (*Registry) HostApis ¶
func (r *Registry) HostApis() *rttypes.HostAPIRegistry
HostApis return the collection of aspect runtime host apis
func (*Registry) RunnerContext ¶
func (r *Registry) RunnerContext() *types.RunnerContext
func (*Registry) SetErrCallback ¶
Click to show internal directories.
Click to hide internal directories.