Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(eds ...ExternalDispatcher)
Connect ExternalDispatchers eds to each other so that the underlying engines can mutually call contracts hosted by other dispatchers
Types ¶
type Blockchain ¶
type CallFrame ¶
type CallFrame struct {
	// Cache this State wraps
	*acmstate.Cache
	// contains filtered or unexported fields
}
    func NewCallFrame ¶
func NewCallFrame(st acmstate.ReaderWriter, cacheOptions ...acmstate.CacheOption) *CallFrame
Create a new CallFrame to hold state updates at a particular level in the call stack
func (*CallFrame) CallStackDepth ¶
func (*CallFrame) NewFrame ¶
func (st *CallFrame) NewFrame(cacheOptions ...acmstate.CacheOption) (*CallFrame, error)
func (*CallFrame) WithMaxCallStackDepth ¶
type CallParams ¶
type Callable ¶
type Callable interface {
	Call(state State, params CallParams) (output []byte, err error)
}
    Effectively a contract, but can either represent a single function or a contract with multiple functions and a selector
type CallableFunc ¶
type CallableFunc func(st State, params CallParams) (output []byte, err error)
func (CallableFunc) Call ¶
func (c CallableFunc) Call(state State, params CallParams) (output []byte, err error)
type Dispatcher ¶
type Dispatchers ¶
type Dispatchers []Dispatcher
func NewDispatchers ¶
func NewDispatchers(dispatchers ...Dispatcher) Dispatchers
type ExternalDispatcher ¶
type ExternalDispatcher interface {
	Dispatcher
	SetExternals(externals Dispatcher)
}
    An ExternalDispatcher is able to Dispatch accounts to external engines as well as Dispatch to itself
 Click to show internal directories. 
   Click to hide internal directories.