Documentation ¶
Overview ¶
Package builtin is implementation of builtin contracts engine
Index ¶
- type BuiltIn
- func (bi *BuiltIn) CallConstructor(ctx context.Context, callCtx *core.LogicCallContext, code core.RecordRef, ...) (objectState []byte, err error)
- func (bi *BuiltIn) CallMethod(ctx context.Context, callCtx *core.LogicCallContext, codeRef core.RecordRef, ...) (newObjectState []byte, methodResults core.Arguments, err error)
- func (bi *BuiltIn) Stop() error
- type Contract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltIn ¶
type BuiltIn struct { AM core.ArtifactManager EB core.MessageBus Registry map[string]Contract }
BuiltIn is a contract runner engine
func NewBuiltIn ¶
func NewBuiltIn(eb core.MessageBus, am core.ArtifactManager) *BuiltIn
NewBuiltIn is an constructor
func (*BuiltIn) CallConstructor ¶
Click to show internal directories.
Click to hide internal directories.