Documentation ¶
Overview ¶
Package builtin is implementation of builtin contracts engine
Index ¶
- type BuiltIn
- func (bi *BuiltIn) CallConstructor(ctx *core.LogicCallContext, code core.RecordRef, name string, ...) (objectState []byte, err error)
- func (bi *BuiltIn) CallMethod(ctx *core.LogicCallContext, codeRef core.RecordRef, data []byte, method string, ...) (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 MR core.MessageRouter Registry map[string]Contract }
BuiltIn is a contract runner engine
func NewBuiltIn ¶
func NewBuiltIn(mr core.MessageRouter, am core.ArtifactManager) *BuiltIn
NewBuiltIn is an constructor
func (*BuiltIn) CallConstructor ¶
Click to show internal directories.
Click to hide internal directories.