Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractCallType ¶
type ContractCallType uint8
const ( ContractCallOrdered ContractCallType ContractCallUnordered ContractCallSaga )
func (ContractCallType) String ¶
func (t ContractCallType) String() string
type LogicContext ¶
type LogicContext struct { ID ID Mode Mode // either "execution" or "validation" Request reference.Global // reference of incoming request record Callee reference.Global // Contract that is called Parent reference.Global // Parent of the callee Class reference.Global // Class (base class) of the callee Code reference.Global // Code reference of the callee Caller reference.Global // Contract that made the call CallerClass reference.Global // Class (base class) of the caller TraceID string // trace mark for Jaeger and friends Pulse pulse.Data // pre-fetched pulse for call context }
LogicContext is a context of contract execution. Everything that is required to implement foundation functions. This struct shouldn't be used in core components.
Click to show internal directories.
Click to hide internal directories.