Documentation ¶
Index ¶
- Constants
- Variables
- func EventStringAccountCall(addr crypto.Address) string
- func EventStringAccountInput(addr crypto.Address) string
- func EventStringAccountOutput(addr crypto.Address) string
- func EventStringBlockExecution(height uint64) string
- func EventStringGovernAccount(addr *crypto.Address) string
- func EventStringLogEvent(addr crypto.Address) string
- func EventStringPayload(index uint32) string
- func EventStringTxExecution(txHash []byte) string
- func LogNKey(topic int) string
- func LogNTextKey(topic int) string
- func QueryForBlockExecution() *query.Builder
- func QueryForBlockExecutionFromHeight(height uint64) *query.Builder
- func QueryForTxExecution(txHash []byte) query.Queryable
- type ABCIHeader
- type BlockExecution
- func (be *BlockExecution) Append(tail ...*TxExecution)
- func (*BlockExecution) Descriptor() ([]byte, []int)
- func (be *BlockExecution) Encode() ([]byte, error)
- func (*BlockExecution) EventType() EventType
- func (m *BlockExecution) GetBlockHeader() *types.Header
- func (m *BlockExecution) GetHeight() uint64
- func (m *BlockExecution) GetTxExecutions() []*TxExecution
- func (m *BlockExecution) Marshal() (dAtA []byte, err error)
- func (m *BlockExecution) MarshalTo(dAtA []byte) (int, error)
- func (*BlockExecution) ProtoMessage()
- func (m *BlockExecution) Reset()
- func (m *BlockExecution) Size() (n int)
- func (m *BlockExecution) String() string
- func (be *BlockExecution) Tagged() *TaggedBlockExecution
- func (be *BlockExecution) Tx(txEnv *txs.Envelope) *TxExecution
- func (m *BlockExecution) Unmarshal(dAtA []byte) error
- func (m *BlockExecution) XXX_DiscardUnknown()
- func (m *BlockExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockExecution) XXX_Merge(src proto.Message)
- func (*BlockExecution) XXX_MessageName() string
- func (m *BlockExecution) XXX_Size() int
- func (m *BlockExecution) XXX_Unmarshal(b []byte) error
- type CallData
- func (*CallData) Descriptor() ([]byte, []int)
- func (m *CallData) GetGas() uint64
- func (m *CallData) GetValue() uint64
- func (m *CallData) Marshal() (dAtA []byte, err error)
- func (m *CallData) MarshalTo(dAtA []byte) (int, error)
- func (*CallData) ProtoMessage()
- func (m *CallData) Reset()
- func (m *CallData) Size() (n int)
- func (m *CallData) String() string
- func (m *CallData) Unmarshal(dAtA []byte) error
- func (m *CallData) XXX_DiscardUnknown()
- func (m *CallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallData) XXX_Merge(src proto.Message)
- func (*CallData) XXX_MessageName() string
- func (m *CallData) XXX_Size() int
- func (m *CallData) XXX_Unmarshal(b []byte) error
- type CallEvent
- func (*CallEvent) Descriptor() ([]byte, []int)
- func (m *CallEvent) GetCallData() *CallData
- func (m *CallEvent) GetCallType() CallType
- func (m *CallEvent) GetStackDepth() uint64
- func (m *CallEvent) Marshal() (dAtA []byte, err error)
- func (m *CallEvent) MarshalTo(dAtA []byte) (int, error)
- func (*CallEvent) ProtoMessage()
- func (m *CallEvent) Reset()
- func (m *CallEvent) Size() (n int)
- func (m *CallEvent) String() string
- func (m *CallEvent) Unmarshal(dAtA []byte) error
- func (m *CallEvent) XXX_DiscardUnknown()
- func (m *CallEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallEvent) XXX_Merge(src proto.Message)
- func (*CallEvent) XXX_MessageName() string
- func (m *CallEvent) XXX_Size() int
- func (m *CallEvent) XXX_Unmarshal(b []byte) error
- type CallType
- type Event
- func (ev *Event) Body() string
- func (*Event) Descriptor() ([]byte, []int)
- func (ev *Event) EventType() EventType
- func (m *Event) GetCall() *CallEvent
- func (m *Event) GetGovernAccount() *GovernAccountEvent
- func (m *Event) GetHeader() *Header
- func (m *Event) GetInput() *InputEvent
- func (m *Event) GetLog() *LogEvent
- func (m *Event) GetOutput() *OutputEvent
- func (m *Event) GetPayload() *PayloadEvent
- func (this *Event) GetValue() interface{}
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (this *Event) SetValue(value interface{}) bool
- func (m *Event) Size() (n int)
- func (ev *Event) String() string
- func (ev *Event) Tagged() *TaggedEvent
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Event) XXX_Merge(src proto.Message)
- func (*Event) XXX_MessageName() string
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventType
- type GovernAccountEvent
- func (*GovernAccountEvent) Descriptor() ([]byte, []int)
- func (m *GovernAccountEvent) GetAccountUpdate() *spec.TemplateAccount
- func (m *GovernAccountEvent) Marshal() (dAtA []byte, err error)
- func (m *GovernAccountEvent) MarshalTo(dAtA []byte) (int, error)
- func (*GovernAccountEvent) ProtoMessage()
- func (m *GovernAccountEvent) Reset()
- func (m *GovernAccountEvent) Size() (n int)
- func (m *GovernAccountEvent) String() string
- func (m *GovernAccountEvent) Unmarshal(dAtA []byte) error
- func (m *GovernAccountEvent) XXX_DiscardUnknown()
- func (m *GovernAccountEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GovernAccountEvent) XXX_Merge(src proto.Message)
- func (*GovernAccountEvent) XXX_MessageName() string
- func (m *GovernAccountEvent) XXX_Size() int
- func (m *GovernAccountEvent) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetEventID() string
- func (m *Header) GetEventType() EventType
- func (m *Header) GetException() *errors.Exception
- func (m *Header) GetHeight() uint64
- func (m *Header) GetIndex() uint64
- func (m *Header) GetTxType() github_com_hyperledger_burrow_txs_payload.Type
- func (m *Header) Marshal() (dAtA []byte, err error)
- func (m *Header) MarshalTo(dAtA []byte) (int, error)
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) Size() (n int)
- func (h *Header) String() string
- func (m *Header) Unmarshal(dAtA []byte) error
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Header) XXX_Merge(src proto.Message)
- func (*Header) XXX_MessageName() string
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type InputEvent
- func (*InputEvent) Descriptor() ([]byte, []int)
- func (m *InputEvent) Marshal() (dAtA []byte, err error)
- func (m *InputEvent) MarshalTo(dAtA []byte) (int, error)
- func (*InputEvent) ProtoMessage()
- func (m *InputEvent) Reset()
- func (m *InputEvent) Size() (n int)
- func (m *InputEvent) String() string
- func (m *InputEvent) Unmarshal(dAtA []byte) error
- func (m *InputEvent) XXX_DiscardUnknown()
- func (m *InputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InputEvent) XXX_Merge(src proto.Message)
- func (*InputEvent) XXX_MessageName() string
- func (m *InputEvent) XXX_Size() int
- func (m *InputEvent) XXX_Unmarshal(b []byte) error
- type LogEvent
- func (*LogEvent) Descriptor() ([]byte, []int)
- func (log *LogEvent) Get(key string) (string, bool)
- func (log *LogEvent) GetTopic(i int) Word256
- func (log *LogEvent) Keys() []string
- func (log *LogEvent) Len() int
- func (m *LogEvent) Marshal() (dAtA []byte, err error)
- func (m *LogEvent) MarshalTo(dAtA []byte) (int, error)
- func (*LogEvent) ProtoMessage()
- func (m *LogEvent) Reset()
- func (m *LogEvent) Size() (n int)
- func (m *LogEvent) String() string
- func (m *LogEvent) Unmarshal(dAtA []byte) error
- func (m *LogEvent) XXX_DiscardUnknown()
- func (m *LogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LogEvent) XXX_Merge(src proto.Message)
- func (*LogEvent) XXX_MessageName() string
- func (m *LogEvent) XXX_Size() int
- func (m *LogEvent) XXX_Unmarshal(b []byte) error
- type OutputEvent
- func (*OutputEvent) Descriptor() ([]byte, []int)
- func (m *OutputEvent) Marshal() (dAtA []byte, err error)
- func (m *OutputEvent) MarshalTo(dAtA []byte) (int, error)
- func (*OutputEvent) ProtoMessage()
- func (m *OutputEvent) Reset()
- func (m *OutputEvent) Size() (n int)
- func (m *OutputEvent) String() string
- func (m *OutputEvent) Unmarshal(dAtA []byte) error
- func (m *OutputEvent) XXX_DiscardUnknown()
- func (m *OutputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutputEvent) XXX_Merge(src proto.Message)
- func (*OutputEvent) XXX_MessageName() string
- func (m *OutputEvent) XXX_Size() int
- func (m *OutputEvent) XXX_Unmarshal(b []byte) error
- type PayloadEvent
- func (*PayloadEvent) Descriptor() ([]byte, []int)
- func (m *PayloadEvent) GetIndex() uint32
- func (m *PayloadEvent) GetTxType() github_com_hyperledger_burrow_txs_payload.Type
- func (m *PayloadEvent) Marshal() (dAtA []byte, err error)
- func (m *PayloadEvent) MarshalTo(dAtA []byte) (int, error)
- func (*PayloadEvent) ProtoMessage()
- func (m *PayloadEvent) Reset()
- func (m *PayloadEvent) Size() (n int)
- func (m *PayloadEvent) String() string
- func (m *PayloadEvent) Unmarshal(dAtA []byte) error
- func (m *PayloadEvent) XXX_DiscardUnknown()
- func (m *PayloadEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PayloadEvent) XXX_Merge(src proto.Message)
- func (*PayloadEvent) XXX_MessageName() string
- func (m *PayloadEvent) XXX_Size() int
- func (m *PayloadEvent) XXX_Unmarshal(b []byte) error
- type Result
- func (*Result) Descriptor() ([]byte, []int)
- func (m *Result) GetGasUsed() uint64
- func (m *Result) GetNameEntry() *names.Entry
- func (m *Result) GetPermArgs() *permission.PermArgs
- func (m *Result) GetReturn() []byte
- func (m *Result) Marshal() (dAtA []byte, err error)
- func (m *Result) MarshalTo(dAtA []byte) (int, error)
- func (*Result) ProtoMessage()
- func (m *Result) Reset()
- func (m *Result) Size() (n int)
- func (m *Result) String() string
- func (m *Result) Unmarshal(dAtA []byte) error
- func (m *Result) XXX_DiscardUnknown()
- func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Result) XXX_Merge(src proto.Message)
- func (*Result) XXX_MessageName() string
- func (m *Result) XXX_Size() int
- func (m *Result) XXX_Unmarshal(b []byte) error
- type TaggedBlockExecution
- type TaggedEvent
- type TaggedEvents
- type TaggedTxExecution
- type TxExecution
- func (txe *TxExecution) Append(tail ...*Event)
- func (txe *TxExecution) Call(call *CallEvent, exception *errors.Exception) error
- func (txe *TxExecution) CallError() *errors.CallError
- func (*TxExecution) Descriptor() ([]byte, []int)
- func (txe *TxExecution) Encode() ([]byte, error)
- func (*TxExecution) EventType() EventType
- func (txe *TxExecution) ExceptionalCalls() []*Event
- func (m *TxExecution) GetEvents() []*Event
- func (m *TxExecution) GetException() *errors.Exception
- func (m *TxExecution) GetHeight() uint64
- func (m *TxExecution) GetIndex() uint64
- func (m *TxExecution) GetReceipt() *txs.Receipt
- func (m *TxExecution) GetResult() *Result
- func (m *TxExecution) GetTxType() github_com_hyperledger_burrow_txs_payload.Type
- func (txe *TxExecution) GovernAccount(governAccount *GovernAccountEvent, exception *errors.Exception)
- func (txe *TxExecution) Header(eventType EventType, eventID string, exception *errors.Exception) *Header
- func (txe *TxExecution) Input(address crypto.Address, exception *errors.Exception)
- func (txe *TxExecution) Log(log *LogEvent) error
- func (m *TxExecution) Marshal() (dAtA []byte, err error)
- func (m *TxExecution) MarshalTo(dAtA []byte) (int, error)
- func (txe *TxExecution) Name(entry *names.Entry)
- func (txe *TxExecution) Output(address crypto.Address, exception *errors.Exception)
- func (txe *TxExecution) PayloadEvent(payload *PayloadEvent)
- func (txe *TxExecution) Permission(permArgs *permission.PermArgs)
- func (*TxExecution) ProtoMessage()
- func (txe *TxExecution) PushError(err error)
- func (m *TxExecution) Reset()
- func (txe *TxExecution) Return(returnValue []byte, gasUsed uint64)
- func (m *TxExecution) Size() (n int)
- func (m *TxExecution) String() string
- func (txe *TxExecution) Tagged() *TaggedTxExecution
- func (txe *TxExecution) TaggedEvents() TaggedEvents
- func (txe *TxExecution) Trace() string
- func (m *TxExecution) Unmarshal(dAtA []byte) error
- func (m *TxExecution) XXX_DiscardUnknown()
- func (m *TxExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxExecution) XXX_Merge(src proto.Message)
- func (*TxExecution) XXX_MessageName() string
- func (m *TxExecution) XXX_Size() int
- func (m *TxExecution) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( CallTypeCall = CallType(0x00) CallTypeCode = CallType(0x01) CallTypeDelegate = CallType(0x02) CallTypeStatic = CallType(0x03) CallTypeSNative = CallType(0x04) )
View Source
const ( TypeCall = EventType(0x00) TypeLog = EventType(0x01) TypeAccountInput = EventType(0x02) TypeAccountOutput = EventType(0x03) TypeTxExecution = EventType(0x04) TypeBlockExecution = EventType(0x05) TypeGovernAccount = EventType(0x06) TypePayload = EventType(0x07) )
Execution event types
View Source
const LogNKeyPrefix = "Log"
Variables ¶
View Source
var ( ErrInvalidLengthExec = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExec = fmt.Errorf("proto: integer overflow") )
Functions ¶
func EventStringAccountCall ¶
func EventStringAccountInput ¶
func EventStringLogEvent ¶
func EventStringPayload ¶ added in v0.23.0
func EventStringTxExecution ¶
func LogNTextKey ¶
func QueryForBlockExecution ¶
func QueryForTxExecution ¶
Types ¶
type ABCIHeader ¶
func (*ABCIHeader) Unmarshal ¶
func (h *ABCIHeader) Unmarshal(data []byte) error
type BlockExecution ¶
type BlockExecution struct { // The height of this block Height uint64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"` BlockHeader *types.Header `protobuf:"bytes,2,opt,name=BlockHeader" json:"BlockHeader,omitempty"` TxExecutions []*TxExecution `protobuf:"bytes,3,rep,name=TxExecutions" json:"TxExecutions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DecodeBlockExecution ¶
func DecodeBlockExecution(bs []byte) (*BlockExecution, error)
func (*BlockExecution) Append ¶
func (be *BlockExecution) Append(tail ...*TxExecution)
func (*BlockExecution) Descriptor ¶
func (*BlockExecution) Descriptor() ([]byte, []int)
func (*BlockExecution) Encode ¶
func (be *BlockExecution) Encode() ([]byte, error)
func (*BlockExecution) EventType ¶
func (*BlockExecution) EventType() EventType
func (*BlockExecution) GetBlockHeader ¶
func (m *BlockExecution) GetBlockHeader() *types.Header
func (*BlockExecution) GetHeight ¶
func (m *BlockExecution) GetHeight() uint64
func (*BlockExecution) GetTxExecutions ¶
func (m *BlockExecution) GetTxExecutions() []*TxExecution
func (*BlockExecution) Marshal ¶
func (m *BlockExecution) Marshal() (dAtA []byte, err error)
func (*BlockExecution) ProtoMessage ¶
func (*BlockExecution) ProtoMessage()
func (*BlockExecution) Reset ¶
func (m *BlockExecution) Reset()
func (*BlockExecution) Size ¶
func (m *BlockExecution) Size() (n int)
func (*BlockExecution) String ¶
func (m *BlockExecution) String() string
func (*BlockExecution) Tagged ¶
func (be *BlockExecution) Tagged() *TaggedBlockExecution
func (*BlockExecution) Tx ¶
func (be *BlockExecution) Tx(txEnv *txs.Envelope) *TxExecution
func (*BlockExecution) Unmarshal ¶
func (m *BlockExecution) Unmarshal(dAtA []byte) error
func (*BlockExecution) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *BlockExecution) XXX_DiscardUnknown()
func (*BlockExecution) XXX_Marshal ¶ added in v0.23.0
func (m *BlockExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockExecution) XXX_Merge ¶ added in v0.23.0
func (dst *BlockExecution) XXX_Merge(src proto.Message)
func (*BlockExecution) XXX_MessageName ¶
func (*BlockExecution) XXX_MessageName() string
func (*BlockExecution) XXX_Size ¶ added in v0.23.0
func (m *BlockExecution) XXX_Size() int
func (*BlockExecution) XXX_Unmarshal ¶ added in v0.23.0
func (m *BlockExecution) XXX_Unmarshal(b []byte) error
type CallData ¶
type CallData struct { Caller github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Caller,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Caller"` Callee github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,2,opt,name=Callee,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Callee"` Data github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,3,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Data"` Value uint64 `protobuf:"varint,4,opt,name=Value,proto3" json:"Value,omitempty"` Gas uint64 `protobuf:"varint,5,opt,name=Gas,proto3" json:"Gas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallData) Descriptor ¶
func (*CallData) ProtoMessage ¶
func (*CallData) ProtoMessage()
func (*CallData) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *CallData) XXX_DiscardUnknown()
func (*CallData) XXX_Marshal ¶ added in v0.23.0
func (*CallData) XXX_MessageName ¶
func (*CallData) XXX_Unmarshal ¶ added in v0.23.0
type CallEvent ¶
type CallEvent struct { CallType CallType `protobuf:"varint,5,opt,name=CallType,proto3,casttype=CallType" json:"CallType,omitempty"` CallData *CallData `protobuf:"bytes,1,opt,name=CallData" json:"CallData,omitempty"` Origin github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,2,opt,name=Origin,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Origin"` StackDepth uint64 `protobuf:"varint,3,opt,name=StackDepth,proto3" json:"StackDepth,omitempty"` Return github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,4,opt,name=Return,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Return"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallEvent) Descriptor ¶
func (*CallEvent) GetCallData ¶
func (*CallEvent) GetCallType ¶ added in v0.23.0
func (*CallEvent) GetStackDepth ¶
func (*CallEvent) ProtoMessage ¶
func (*CallEvent) ProtoMessage()
func (*CallEvent) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *CallEvent) XXX_DiscardUnknown()
func (*CallEvent) XXX_Marshal ¶ added in v0.23.0
func (*CallEvent) XXX_MessageName ¶
func (*CallEvent) XXX_Unmarshal ¶ added in v0.23.0
type CallType ¶ added in v0.23.0
type CallType uint32
func CallTypeFromString ¶ added in v0.23.0
func (CallType) MarshalText ¶ added in v0.23.0
func (*CallType) UnmarshalText ¶ added in v0.23.0
type Event ¶
type Event struct { Header *Header `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` Input *InputEvent `protobuf:"bytes,2,opt,name=Input" json:"Input,omitempty"` Output *OutputEvent `protobuf:"bytes,3,opt,name=Output" json:"Output,omitempty"` Call *CallEvent `protobuf:"bytes,4,opt,name=Call" json:"Call,omitempty"` Log *LogEvent `protobuf:"bytes,5,opt,name=Log" json:"Log,omitempty"` GovernAccount *GovernAccountEvent `protobuf:"bytes,6,opt,name=GovernAccount" json:"GovernAccount,omitempty"` Payload *PayloadEvent `protobuf:"bytes,7,opt,name=Payload" json:"Payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetGovernAccount ¶
func (m *Event) GetGovernAccount() *GovernAccountEvent
func (*Event) GetInput ¶
func (m *Event) GetInput() *InputEvent
func (*Event) GetOutput ¶
func (m *Event) GetOutput() *OutputEvent
func (*Event) GetPayload ¶ added in v0.23.0
func (m *Event) GetPayload() *PayloadEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) Tagged ¶
func (ev *Event) Tagged() *TaggedEvent
func (*Event) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶ added in v0.23.0
func (*Event) XXX_MessageName ¶
func (*Event) XXX_Unmarshal ¶ added in v0.23.0
type EventType ¶
type EventType uint32
func EventTypeFromString ¶
func (EventType) MarshalText ¶
func (*EventType) UnmarshalText ¶
type GovernAccountEvent ¶
type GovernAccountEvent struct { AccountUpdate *spec.TemplateAccount `protobuf:"bytes,1,opt,name=AccountUpdate" json:"AccountUpdate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GovernAccountEvent) Descriptor ¶
func (*GovernAccountEvent) Descriptor() ([]byte, []int)
func (*GovernAccountEvent) GetAccountUpdate ¶
func (m *GovernAccountEvent) GetAccountUpdate() *spec.TemplateAccount
func (*GovernAccountEvent) Marshal ¶
func (m *GovernAccountEvent) Marshal() (dAtA []byte, err error)
func (*GovernAccountEvent) MarshalTo ¶
func (m *GovernAccountEvent) MarshalTo(dAtA []byte) (int, error)
func (*GovernAccountEvent) ProtoMessage ¶
func (*GovernAccountEvent) ProtoMessage()
func (*GovernAccountEvent) Reset ¶
func (m *GovernAccountEvent) Reset()
func (*GovernAccountEvent) Size ¶
func (m *GovernAccountEvent) Size() (n int)
func (*GovernAccountEvent) String ¶
func (m *GovernAccountEvent) String() string
func (*GovernAccountEvent) Unmarshal ¶
func (m *GovernAccountEvent) Unmarshal(dAtA []byte) error
func (*GovernAccountEvent) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *GovernAccountEvent) XXX_DiscardUnknown()
func (*GovernAccountEvent) XXX_Marshal ¶ added in v0.23.0
func (m *GovernAccountEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GovernAccountEvent) XXX_Merge ¶ added in v0.23.0
func (dst *GovernAccountEvent) XXX_Merge(src proto.Message)
func (*GovernAccountEvent) XXX_MessageName ¶
func (*GovernAccountEvent) XXX_MessageName() string
func (*GovernAccountEvent) XXX_Size ¶ added in v0.23.0
func (m *GovernAccountEvent) XXX_Size() int
func (*GovernAccountEvent) XXX_Unmarshal ¶ added in v0.23.0
func (m *GovernAccountEvent) XXX_Unmarshal(b []byte) error
type Header ¶
type Header struct { // Transaction type TxType github_com_hyperledger_burrow_txs_payload.Type `protobuf:"varint,1,opt,name=TxType,proto3,casttype=github.com/hyperledger/burrow/txs/payload.Type" json:"TxType,omitempty"` // The hash of the transaction that caused this event to be generated TxHash github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,2,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"TxHash"` // The type of event EventType EventType `protobuf:"varint,3,opt,name=EventType,proto3,casttype=EventType" json:"EventType,omitempty"` // EventID published with event EventID string `protobuf:"bytes,4,opt,name=EventID,proto3" json:"EventID,omitempty"` // The block height at which this event was emitted Height uint64 `protobuf:"varint,5,opt,name=Height,proto3" json:"Height,omitempty"` // The index of this event relative to other events generated by the same transaction Index uint64 `protobuf:"varint,6,opt,name=Index,proto3" json:"Index,omitempty"` // If event is exception Exception *errors.Exception `protobuf:"bytes,7,opt,name=Exception" json:"Exception,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) GetEventID ¶
func (*Header) GetEventType ¶
func (*Header) GetException ¶
func (*Header) GetTxType ¶
func (m *Header) GetTxType() github_com_hyperledger_burrow_txs_payload.Type
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶ added in v0.23.0
func (*Header) XXX_MessageName ¶
func (*Header) XXX_Unmarshal ¶ added in v0.23.0
type InputEvent ¶
type InputEvent struct { Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InputEvent) Descriptor ¶
func (*InputEvent) Descriptor() ([]byte, []int)
func (*InputEvent) Marshal ¶
func (m *InputEvent) Marshal() (dAtA []byte, err error)
func (*InputEvent) ProtoMessage ¶
func (*InputEvent) ProtoMessage()
func (*InputEvent) Reset ¶
func (m *InputEvent) Reset()
func (*InputEvent) Size ¶
func (m *InputEvent) Size() (n int)
func (*InputEvent) String ¶
func (m *InputEvent) String() string
func (*InputEvent) Unmarshal ¶
func (m *InputEvent) Unmarshal(dAtA []byte) error
func (*InputEvent) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *InputEvent) XXX_DiscardUnknown()
func (*InputEvent) XXX_Marshal ¶ added in v0.23.0
func (m *InputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InputEvent) XXX_Merge ¶ added in v0.23.0
func (dst *InputEvent) XXX_Merge(src proto.Message)
func (*InputEvent) XXX_MessageName ¶
func (*InputEvent) XXX_MessageName() string
func (*InputEvent) XXX_Size ¶ added in v0.23.0
func (m *InputEvent) XXX_Size() int
func (*InputEvent) XXX_Unmarshal ¶ added in v0.23.0
func (m *InputEvent) XXX_Unmarshal(b []byte) error
type LogEvent ¶
type LogEvent struct { Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"` Data github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,2,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Data"` Topics []github_com_hyperledger_burrow_binary.Word256 `protobuf:"bytes,3,rep,name=Topics,customtype=github.com/hyperledger/burrow/binary.Word256" json:"Topics"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogEvent) Descriptor ¶
func (*LogEvent) ProtoMessage ¶
func (*LogEvent) ProtoMessage()
func (*LogEvent) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *LogEvent) XXX_DiscardUnknown()
func (*LogEvent) XXX_Marshal ¶ added in v0.23.0
func (*LogEvent) XXX_MessageName ¶
func (*LogEvent) XXX_Unmarshal ¶ added in v0.23.0
type OutputEvent ¶
type OutputEvent struct { Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutputEvent) Descriptor ¶
func (*OutputEvent) Descriptor() ([]byte, []int)
func (*OutputEvent) Marshal ¶
func (m *OutputEvent) Marshal() (dAtA []byte, err error)
func (*OutputEvent) ProtoMessage ¶
func (*OutputEvent) ProtoMessage()
func (*OutputEvent) Reset ¶
func (m *OutputEvent) Reset()
func (*OutputEvent) Size ¶
func (m *OutputEvent) Size() (n int)
func (*OutputEvent) String ¶
func (m *OutputEvent) String() string
func (*OutputEvent) Unmarshal ¶
func (m *OutputEvent) Unmarshal(dAtA []byte) error
func (*OutputEvent) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *OutputEvent) XXX_DiscardUnknown()
func (*OutputEvent) XXX_Marshal ¶ added in v0.23.0
func (m *OutputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputEvent) XXX_Merge ¶ added in v0.23.0
func (dst *OutputEvent) XXX_Merge(src proto.Message)
func (*OutputEvent) XXX_MessageName ¶
func (*OutputEvent) XXX_MessageName() string
func (*OutputEvent) XXX_Size ¶ added in v0.23.0
func (m *OutputEvent) XXX_Size() int
func (*OutputEvent) XXX_Unmarshal ¶ added in v0.23.0
func (m *OutputEvent) XXX_Unmarshal(b []byte) error
type PayloadEvent ¶ added in v0.23.0
type PayloadEvent struct { // Transaction type TxType github_com_hyperledger_burrow_txs_payload.Type `protobuf:"varint,1,opt,name=TxType,proto3,casttype=github.com/hyperledger/burrow/txs/payload.Type" json:"TxType,omitempty"` // Index into BatchTx Index uint32 `protobuf:"varint,2,opt,name=Index,proto3" json:"Index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PayloadEvent) Descriptor ¶ added in v0.23.0
func (*PayloadEvent) Descriptor() ([]byte, []int)
func (*PayloadEvent) GetIndex ¶ added in v0.23.0
func (m *PayloadEvent) GetIndex() uint32
func (*PayloadEvent) GetTxType ¶ added in v0.23.0
func (m *PayloadEvent) GetTxType() github_com_hyperledger_burrow_txs_payload.Type
func (*PayloadEvent) Marshal ¶ added in v0.23.0
func (m *PayloadEvent) Marshal() (dAtA []byte, err error)
func (*PayloadEvent) MarshalTo ¶ added in v0.23.0
func (m *PayloadEvent) MarshalTo(dAtA []byte) (int, error)
func (*PayloadEvent) ProtoMessage ¶ added in v0.23.0
func (*PayloadEvent) ProtoMessage()
func (*PayloadEvent) Reset ¶ added in v0.23.0
func (m *PayloadEvent) Reset()
func (*PayloadEvent) Size ¶ added in v0.23.0
func (m *PayloadEvent) Size() (n int)
func (*PayloadEvent) String ¶ added in v0.23.0
func (m *PayloadEvent) String() string
func (*PayloadEvent) Unmarshal ¶ added in v0.23.0
func (m *PayloadEvent) Unmarshal(dAtA []byte) error
func (*PayloadEvent) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *PayloadEvent) XXX_DiscardUnknown()
func (*PayloadEvent) XXX_Marshal ¶ added in v0.23.0
func (m *PayloadEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayloadEvent) XXX_Merge ¶ added in v0.23.0
func (dst *PayloadEvent) XXX_Merge(src proto.Message)
func (*PayloadEvent) XXX_MessageName ¶ added in v0.23.0
func (*PayloadEvent) XXX_MessageName() string
func (*PayloadEvent) XXX_Size ¶ added in v0.23.0
func (m *PayloadEvent) XXX_Size() int
func (*PayloadEvent) XXX_Unmarshal ¶ added in v0.23.0
func (m *PayloadEvent) XXX_Unmarshal(b []byte) error
type Result ¶
type Result struct { // EVM execution return Return []byte `protobuf:"bytes,1,opt,name=Return,proto3" json:"Return,omitempty"` // Gas used in computation GasUsed uint64 `protobuf:"varint,2,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"` // Name entry created NameEntry *names.Entry `protobuf:"bytes,3,opt,name=NameEntry" json:"NameEntry,omitempty"` // Permission update performed PermArgs *permission.PermArgs `protobuf:"bytes,4,opt,name=PermArgs" json:"PermArgs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Could structure this further if needed - sum type of various results relevant to different transaction types
func (*Result) Descriptor ¶
func (*Result) GetGasUsed ¶
func (*Result) GetNameEntry ¶
func (*Result) GetPermArgs ¶
func (m *Result) GetPermArgs() *permission.PermArgs
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Result) XXX_DiscardUnknown()
func (*Result) XXX_Marshal ¶ added in v0.23.0
func (*Result) XXX_MessageName ¶
func (*Result) XXX_Unmarshal ¶ added in v0.23.0
type TaggedEvents ¶
type TaggedEvents []*TaggedEvent
func (TaggedEvents) Filter ¶
func (tevs TaggedEvents) Filter(qry query.Query) TaggedEvents
type TxExecution ¶
type TxExecution struct { // Transaction type TxType github_com_hyperledger_burrow_txs_payload.Type `protobuf:"varint,2,opt,name=TxType,proto3,casttype=github.com/hyperledger/burrow/txs/payload.Type" json:"TxType,omitempty"` // The hash of the transaction that caused this event to be generated TxHash github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,3,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"TxHash"` // The block height at which this Tx was included Height uint64 `protobuf:"varint,4,opt,name=Height,proto3" json:"Height,omitempty"` // The index of this transaction within the block Index uint64 `protobuf:"varint,5,opt,name=Index,proto3" json:"Index,omitempty"` // Signed Tx that triggered this execution Envelope *github_com_hyperledger_burrow_txs.Envelope `protobuf:"bytes,6,opt,name=Envelope,customtype=github.com/hyperledger/burrow/txs.Envelope" json:"Envelope,omitempty"` // Execution events Events []*Event `protobuf:"bytes,7,rep,name=Events" json:"Events,omitempty"` // The execution results Result *Result `protobuf:"bytes,8,opt,name=Result" json:"Result,omitempty"` // The transaction receipt Receipt *txs.Receipt `protobuf:"bytes,9,opt,name=Receipt" json:"Receipt,omitempty"` // If execution was an exception Exception *errors.Exception `protobuf:"bytes,10,opt,name=Exception" json:"Exception,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DecodeTxExecution ¶
func DecodeTxExecution(bs []byte) (*TxExecution, error)
func NewTxExecution ¶
func NewTxExecution(txEnv *txs.Envelope) *TxExecution
func (*TxExecution) Append ¶
func (txe *TxExecution) Append(tail ...*Event)
func (*TxExecution) Call ¶
func (txe *TxExecution) Call(call *CallEvent, exception *errors.Exception) error
func (*TxExecution) CallError ¶ added in v0.23.0
func (txe *TxExecution) CallError() *errors.CallError
func (*TxExecution) Descriptor ¶
func (*TxExecution) Descriptor() ([]byte, []int)
func (*TxExecution) Encode ¶
func (txe *TxExecution) Encode() ([]byte, error)
func (*TxExecution) EventType ¶
func (*TxExecution) EventType() EventType
func (*TxExecution) ExceptionalCalls ¶ added in v0.23.0
func (txe *TxExecution) ExceptionalCalls() []*Event
func (*TxExecution) GetEvents ¶
func (m *TxExecution) GetEvents() []*Event
func (*TxExecution) GetException ¶
func (m *TxExecution) GetException() *errors.Exception
func (*TxExecution) GetHeight ¶
func (m *TxExecution) GetHeight() uint64
func (*TxExecution) GetIndex ¶
func (m *TxExecution) GetIndex() uint64
func (*TxExecution) GetReceipt ¶
func (m *TxExecution) GetReceipt() *txs.Receipt
func (*TxExecution) GetResult ¶
func (m *TxExecution) GetResult() *Result
func (*TxExecution) GetTxType ¶
func (m *TxExecution) GetTxType() github_com_hyperledger_burrow_txs_payload.Type
func (*TxExecution) GovernAccount ¶
func (txe *TxExecution) GovernAccount(governAccount *GovernAccountEvent, exception *errors.Exception)
func (*TxExecution) Input ¶
func (txe *TxExecution) Input(address crypto.Address, exception *errors.Exception)
Emit events
func (*TxExecution) Log ¶
func (txe *TxExecution) Log(log *LogEvent) error
func (*TxExecution) Marshal ¶
func (m *TxExecution) Marshal() (dAtA []byte, err error)
func (*TxExecution) Name ¶
func (txe *TxExecution) Name(entry *names.Entry)
func (*TxExecution) Output ¶
func (txe *TxExecution) Output(address crypto.Address, exception *errors.Exception)
func (*TxExecution) PayloadEvent ¶ added in v0.23.0
func (txe *TxExecution) PayloadEvent(payload *PayloadEvent)
func (*TxExecution) Permission ¶
func (txe *TxExecution) Permission(permArgs *permission.PermArgs)
func (*TxExecution) ProtoMessage ¶
func (*TxExecution) ProtoMessage()
func (*TxExecution) PushError ¶ added in v0.23.0
func (txe *TxExecution) PushError(err error)
func (*TxExecution) Reset ¶
func (m *TxExecution) Reset()
func (*TxExecution) Return ¶
func (txe *TxExecution) Return(returnValue []byte, gasUsed uint64)
Set result
func (*TxExecution) Size ¶
func (m *TxExecution) Size() (n int)
func (*TxExecution) String ¶
func (m *TxExecution) String() string
func (*TxExecution) Tagged ¶
func (txe *TxExecution) Tagged() *TaggedTxExecution
func (*TxExecution) TaggedEvents ¶
func (txe *TxExecution) TaggedEvents() TaggedEvents
func (*TxExecution) Trace ¶ added in v0.23.0
func (txe *TxExecution) Trace() string
func (*TxExecution) Unmarshal ¶
func (m *TxExecution) Unmarshal(dAtA []byte) error
func (*TxExecution) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *TxExecution) XXX_DiscardUnknown()
func (*TxExecution) XXX_Marshal ¶ added in v0.23.0
func (m *TxExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxExecution) XXX_Merge ¶ added in v0.23.0
func (dst *TxExecution) XXX_Merge(src proto.Message)
func (*TxExecution) XXX_MessageName ¶
func (*TxExecution) XXX_MessageName() string
func (*TxExecution) XXX_Size ¶ added in v0.23.0
func (m *TxExecution) XXX_Size() int
func (*TxExecution) XXX_Unmarshal ¶ added in v0.23.0
func (m *TxExecution) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.