Documentation ¶
Overview ¶
Package builtin is implementation of builtin contracts engine
Index ¶
- type BuiltIn
- func (bi *BuiltIn) CallConstructor(codeRef core.RecordRef, name string, args core.Arguments) (objectState []byte, err error)
- func (bi *BuiltIn) CallMethod(codeRef core.RecordRef, data []byte, method string, args core.Arguments) (newObjectState []byte, methodResults core.Arguments, err error)
- func (bi *BuiltIn) Exec(codeRef core.RecordRef, data []byte, method string, args core.Arguments) (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 // contains filtered or unexported fields }
BuiltIn is a contract runner engine
func NewBuiltIn ¶
func NewBuiltIn(am core.ArtifactManager, mr core.MessageRouter) *BuiltIn
NewBuiltIn is an constructor
func (*BuiltIn) CallConstructor ¶
func (*BuiltIn) CallMethod ¶
Click to show internal directories.
Click to hide internal directories.