{"modulePath":"github.com/ISFcoders/burrow","version":"v0.25.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package exec\n\n## Constants\n\n```go\nconst (\n\tCallTypeCall     = CallType(0x00)\n\tCallTypeCode     = CallType(0x01)\n\tCallTypeDelegate = CallType(0x02)\n\tCallTypeStatic   = CallType(0x03)\n\tCallTypeSNative  = CallType(0x04)\n)\n```\n\n```go\nconst LogNKeyPrefix = \"Log\"\n```\n\n## Variables\n\n```go\nvar (\n\tErrInvalidLengthExec = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowExec   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n## Functions\n\n```go\nfunc EventStringAccountCall(addr crypto.Address) string\n```\n\n```go\nfunc EventStringAccountInput(addr crypto.Address) string\n```\n\n```go\nfunc EventStringAccountOutput(addr crypto.Address) string\n```\n\n```go\nfunc EventStringBlockExecution(height uint64) string\n```\n\n```go\nfunc EventStringGovernAccount(addr *crypto.Address) string\n```\n\n```go\nfunc EventStringLogEvent(addr crypto.Address) string\n```\n\n```go\nfunc EventStringTxExecution(txHash []byte) string\n```\n\n```go\nfunc LogNKey(topic int) string\n```\n\n```go\nfunc LogNTextKey(topic int) string\n```\n\n```go\nfunc QueryForBlockExecution() *query.Builder\n```\n\n```go\nfunc QueryForBlockExecutionFromHeight(height uint64) *query.Builder\n```\n\n```go\nfunc QueryForTxExecution(txHash []byte) query.Queryable\n```\n\n## Types\n\n```go\ntype BeginBlock struct {\n\t// The height of this block\n\tHeight               uint64        `protobuf:\"varint,1,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\tHeader               *types.Header `protobuf:\"bytes,2,opt,name=Header,proto3\" json:\"Header,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}      `json:\"-\"`\n\tXXX_unrecognized     []byte        `json:\"-\"`\n\tXXX_sizecache        int32         `json:\"-\"`\n}\n```\n\n```go\nfunc (*BeginBlock) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BeginBlock) GetHeader() *types.Header\n```\n\n```go\nfunc (m *BeginBlock) GetHeight() uint64\n```\n\n```go\nfunc (m *BeginBlock) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *BeginBlock) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*BeginBlock) ProtoMessage()\n```\n\n```go\nfunc (m *BeginBlock) Reset()\n```\n\n```go\nfunc (m *BeginBlock) Size() (n int)\n```\n\n```go\nfunc (m *BeginBlock) String() string\n```\n\n```go\nfunc (m *BeginBlock) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *BeginBlock) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *BeginBlock) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*BeginBlock) XXX_MessageName() string\n```\n\n```go\nfunc (m *BeginBlock) XXX_Size() int\n```\n\n```go\nfunc (m *BeginBlock) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BeginTx struct {\n\tTxHeader *TxHeader `protobuf:\"bytes,1,opt,name=TxHeader,proto3\" json:\"TxHeader,omitempty\"`\n\t// Result of tx execution\n\tResult *Result `protobuf:\"bytes,2,opt,name=Result,proto3\" json:\"Result,omitempty\"`\n\t// If tx execution was an exception\n\tException            *errors.Exception `protobuf:\"bytes,4,opt,name=Exception,proto3\" json:\"Exception,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\n\n```go\nfunc (*BeginTx) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BeginTx) GetException() *errors.Exception\n```\n\n```go\nfunc (m *BeginTx) GetResult() *Result\n```\n\n```go\nfunc (m *BeginTx) GetTxHeader() *TxHeader\n```\n\n```go\nfunc (m *BeginTx) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *BeginTx) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*BeginTx) ProtoMessage()\n```\n\n```go\nfunc (m *BeginTx) Reset()\n```\n\n```go\nfunc (m *BeginTx) Size() (n int)\n```\n\n```go\nfunc (m *BeginTx) String() string\n```\n\n```go\nfunc (m *BeginTx) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *BeginTx) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BeginTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *BeginTx) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*BeginTx) XXX_MessageName() string\n```\n\n```go\nfunc (m *BeginTx) XXX_Size() int\n```\n\n```go\nfunc (m *BeginTx) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BlockAccumulator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (ba *BlockAccumulator) Consume(ev *StreamEvent) *BlockExecution\n```\nConsume will add the StreamEvent passed to the block accumulator and if the block complete is complete return the BlockExecution, otherwise will return nil\n\n```go\ntype BlockExecution struct {\n\t// The height of this block\n\tHeight               uint64         `protobuf:\"varint,1,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\tHeader               *types.Header  `protobuf:\"bytes,2,opt,name=Header,proto3\" json:\"Header,omitempty\"`\n\tTxExecutions         []*TxExecution `protobuf:\"bytes,3,rep,name=TxExecutions,proto3\" json:\"TxExecutions,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\n\n```go\nfunc ConsumeBlockExecution(stream EventStream) (block *BlockExecution, err error)\n```\n\n```go\nfunc (be *BlockExecution) AppendTxs(tail ...*TxExecution)\n```\n\n```go\nfunc (*BlockExecution) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (be *BlockExecution) Encode() ([]byte, error)\n```\n\n```go\nfunc (be *BlockExecution) EncodeHeader() ([]byte, error)\n```\n\n```go\nfunc (*BlockExecution) EventType() EventType\n```\n\n```go\nfunc (m *BlockExecution) GetHeader() *types.Header\n```\n\n```go\nfunc (m *BlockExecution) GetHeight() uint64\n```\n\n```go\nfunc (m *BlockExecution) GetTxExecutions() []*TxExecution\n```\n\n```go\nfunc (m *BlockExecution) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *BlockExecution) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*BlockExecution) ProtoMessage()\n```\n\n```go\nfunc (m *BlockExecution) Reset()\n```\n\n```go\nfunc (m *BlockExecution) Size() (n int)\n```\n\n```go\nfunc (be *BlockExecution) StreamEvents() StreamEvents\n```\nWrite out TxExecutions parenthetically\n\n```go\nfunc (m *BlockExecution) String() string\n```\n\n```go\nfunc (be *BlockExecution) Tagged() *TaggedBlockExecution\n```\n\n```go\nfunc (be *BlockExecution) Tx(txEnv *txs.Envelope) *TxExecution\n```\n\n```go\nfunc (m *BlockExecution) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *BlockExecution) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BlockExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *BlockExecution) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*BlockExecution) XXX_MessageName() string\n```\n\n```go\nfunc (m *BlockExecution) XXX_Size() int\n```\n\n```go\nfunc (m *BlockExecution) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CallData struct {\n\tCaller               github_com_hyperledger_burrow_crypto.Address  `protobuf:\"bytes,1,opt,name=Caller,proto3,customtype=github.com/hyperledger/burrow/crypto.Address\" json:\"Caller\"`\n\tCallee               github_com_hyperledger_burrow_crypto.Address  `protobuf:\"bytes,2,opt,name=Callee,proto3,customtype=github.com/hyperledger/burrow/crypto.Address\" json:\"Callee\"`\n\tData                 github_com_hyperledger_burrow_binary.HexBytes `protobuf:\"bytes,3,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes\" json:\"Data\"`\n\tValue                uint64                                        `protobuf:\"varint,4,opt,name=Value,proto3\" json:\"Value,omitempty\"`\n\tGas                  uint64                                        `protobuf:\"varint,5,opt,name=Gas,proto3\" json:\"Gas,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                                      `json:\"-\"`\n\tXXX_unrecognized     []byte                                        `json:\"-\"`\n\tXXX_sizecache        int32                                         `json:\"-\"`\n}\n```\n\n```go\nfunc (*CallData) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CallData) GetGas() uint64\n```\n\n```go\nfunc (m *CallData) GetValue() uint64\n```\n\n```go\nfunc (m *CallData) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CallData) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CallData) ProtoMessage()\n```\n\n```go\nfunc (m *CallData) Reset()\n```\n\n```go\nfunc (m *CallData) Size() (n int)\n```\n\n```go\nfunc (m *CallData) String() string\n```\n\n```go\nfunc (m *CallData) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CallData) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CallData) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*CallData) XXX_MessageName() string\n```\n\n```go\nfunc (m *CallData) XXX_Size() int\n```\n\n```go\nfunc (m *CallData) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CallEvent struct {\n\tCallType             CallType                                      `protobuf:\"varint,5,opt,name=CallType,proto3,casttype=CallType\" json:\"CallType,omitempty\"`\n\tCallData             *CallData                                     `protobuf:\"bytes,1,opt,name=CallData,proto3\" json:\"CallData,omitempty\"`\n\tOrigin               github_com_hyperledger_burrow_crypto.Address  `protobuf:\"bytes,2,opt,name=Origin,proto3,customtype=github.com/hyperledger/burrow/crypto.Address\" json:\"Origin\"`\n\tStackDepth           uint64                                        `protobuf:\"varint,3,opt,name=StackDepth,proto3\" json:\"StackDepth,omitempty\"`\n\tReturn               github_com_hyperledger_burrow_binary.HexBytes `protobuf:\"bytes,4,opt,name=Return,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes\" json:\"Return\"`\n\tXXX_NoUnkeyedLiteral struct{}                                      `json:\"-\"`\n\tXXX_unrecognized     []byte                                        `json:\"-\"`\n\tXXX_sizecache        int32                                         `json:\"-\"`\n}\n```\n\n```go\nfunc (*CallEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CallEvent) GetCallData() *CallData\n```\n\n```go\nfunc (m *CallEvent) GetCallType() CallType\n```\n\n```go\nfunc (m *CallEvent) GetStackDepth() uint64\n```\n\n```go\nfunc (m *CallEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CallEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CallEvent) ProtoMessage()\n```\n\n```go\nfunc (m *CallEvent) Reset()\n```\n\n```go\nfunc (m *CallEvent) Size() (n int)\n```\n\n```go\nfunc (m *CallEvent) String() string\n```\n\n```go\nfunc (m *CallEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CallEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CallEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CallEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*CallEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *CallEvent) XXX_Size() int\n```\n\n```go\nfunc (m *CallEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CallType uint32\n```\n\n```go\nfunc CallTypeFromString(name string) CallType\n```\n\n```go\nfunc (ct CallType) MarshalText() ([]byte, error)\n```\n\n```go\nfunc (ct CallType) String() string\n```\n\n```go\nfunc (ct *CallType) UnmarshalText(data []byte) error\n```\n\n```go\ntype EndBlock struct {\n\tHeight               uint64   `protobuf:\"varint,1,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*EndBlock) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *EndBlock) GetHeight() uint64\n```\n\n```go\nfunc (m *EndBlock) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *EndBlock) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*EndBlock) ProtoMessage()\n```\n\n```go\nfunc (m *EndBlock) Reset()\n```\n\n```go\nfunc (m *EndBlock) Size() (n int)\n```\n\n```go\nfunc (m *EndBlock) String() string\n```\n\n```go\nfunc (m *EndBlock) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *EndBlock) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *EndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *EndBlock) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*EndBlock) XXX_MessageName() string\n```\n\n```go\nfunc (m *EndBlock) XXX_Size() int\n```\n\n```go\nfunc (m *EndBlock) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype EndTx struct {\n\t// The hash of the transaction that caused this event to be generated\n\tTxHash               github_com_hyperledger_burrow_binary.HexBytes `protobuf:\"bytes,3,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes\" json:\"TxHash\"`\n\tXXX_NoUnkeyedLiteral struct{}                                      `json:\"-\"`\n\tXXX_unrecognized     []byte                                        `json:\"-\"`\n\tXXX_sizecache        int32                                         `json:\"-\"`\n}\n```\n\n```go\nfunc (*EndTx) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *EndTx) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *EndTx) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*EndTx) ProtoMessage()\n```\n\n```go\nfunc (m *EndTx) Reset()\n```\n\n```go\nfunc (m *EndTx) Size() (n int)\n```\n\n```go\nfunc (m *EndTx) String() string\n```\n\n```go\nfunc (m *EndTx) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *EndTx) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *EndTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *EndTx) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*EndTx) XXX_MessageName() string\n```\n\n```go\nfunc (m *EndTx) XXX_Size() int\n```\n\n```go\nfunc (m *EndTx) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Event struct {\n\tHeader               *Header             `protobuf:\"bytes,1,opt,name=Header,proto3\" json:\"Header,omitempty\"`\n\tInput                *InputEvent         `protobuf:\"bytes,2,opt,name=Input,proto3\" json:\"Input,omitempty\"`\n\tOutput               *OutputEvent        `protobuf:\"bytes,3,opt,name=Output,proto3\" json:\"Output,omitempty\"`\n\tCall                 *CallEvent          `protobuf:\"bytes,4,opt,name=Call,proto3\" json:\"Call,omitempty\"`\n\tLog                  *LogEvent           `protobuf:\"bytes,5,opt,name=Log,proto3\" json:\"Log,omitempty\"`\n\tGovernAccount        *GovernAccountEvent `protobuf:\"bytes,6,opt,name=GovernAccount,proto3\" json:\"GovernAccount,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}            `json:\"-\"`\n\tXXX_unrecognized     []byte              `json:\"-\"`\n\tXXX_sizecache        int32               `json:\"-\"`\n}\n```\n\n```go\nfunc (ev *Event) Body() string\n```\n\n```go\nfunc (*Event) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (ev *Event) EventType() EventType\n```\n\n```go\nfunc (m *Event) GetCall() *CallEvent\n```\n\n```go\nfunc (m *Event) GetGovernAccount() *GovernAccountEvent\n```\n\n```go\nfunc (m *Event) GetHeader() *Header\n```\n\n```go\nfunc (m *Event) GetInput() *InputEvent\n```\n\n```go\nfunc (m *Event) GetLog() *LogEvent\n```\n\n```go\nfunc (m *Event) GetOutput() *OutputEvent\n```\n\n```go\nfunc (this *Event) GetValue() interface{}\n```\n\n```go\nfunc (m *Event) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *Event) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*Event) ProtoMessage()\n```\n\n```go\nfunc (m *Event) Reset()\n```\n\n```go\nfunc (this *Event) SetValue(value interface{}) bool\n```\n\n```go\nfunc (m *Event) Size() (n int)\n```\n\n```go\nfunc (ev *Event) String() string\n```\n\n```go\nfunc (ev *Event) Tagged() *TaggedEvent\n```\n\n```go\nfunc (m *Event) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *Event) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *Event) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*Event) XXX_MessageName() string\n```\n\n```go\nfunc (m *Event) XXX_Size() int\n```\n\n```go\nfunc (m *Event) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype EventStream interface {\n\tRecv() (*StreamEvent, error)\n}\n```\n\n```go\ntype EventType uint32\n```\n\n```go\nconst (\n\tTypeUnknown EventType = iota\n\tTypeCall\n\tTypeLog\n\tTypeAccountInput\n\tTypeAccountOutput\n\tTypeTxExecution\n\tTypeBlockExecution\n\tTypeGovernAccount\n\tTypeBeginBlock\n\tTypeBeginTx\n\tTypeEnvelope\n\tTypeEndTx\n\tTypeEndBlock\n)\n```\nExecution event types\n\n```go\nfunc EventTypeFromString(name string) EventType\n```\n\n```go\nfunc (typ EventType) MarshalText() ([]byte, error)\n```\n\n```go\nfunc (typ EventType) String() string\n```\n\n```go\nfunc (typ *EventType) UnmarshalText(data []byte) error\n```\n\n```go\ntype GovernAccountEvent struct {\n\tAccountUpdate        *spec.TemplateAccount `protobuf:\"bytes,1,opt,name=AccountUpdate,proto3\" json:\"AccountUpdate,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}              `json:\"-\"`\n\tXXX_unrecognized     []byte                `json:\"-\"`\n\tXXX_sizecache        int32                 `json:\"-\"`\n}\n```\n\n```go\nfunc (*GovernAccountEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GovernAccountEvent) GetAccountUpdate() *spec.TemplateAccount\n```\n\n```go\nfunc (m *GovernAccountEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GovernAccountEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GovernAccountEvent) ProtoMessage()\n```\n\n```go\nfunc (m *GovernAccountEvent) Reset()\n```\n\n```go\nfunc (m *GovernAccountEvent) Size() (n int)\n```\n\n```go\nfunc (m *GovernAccountEvent) String() string\n```\n\n```go\nfunc (m *GovernAccountEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GovernAccountEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GovernAccountEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GovernAccountEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*GovernAccountEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *GovernAccountEvent) XXX_Size() int\n```\n\n```go\nfunc (m *GovernAccountEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Header struct {\n\t// Transaction type\n\tTxType 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\"`\n\t// The hash of the transaction that caused this event to be generated\n\tTxHash github_com_hyperledger_burrow_binary.HexBytes `protobuf:\"bytes,2,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes\" json:\"TxHash\"`\n\t// The type of event\n\tEventType EventType `protobuf:\"varint,3,opt,name=EventType,proto3,casttype=EventType\" json:\"EventType,omitempty\"`\n\t// EventID published with event\n\tEventID string `protobuf:\"bytes,4,opt,name=EventID,proto3\" json:\"EventID,omitempty\"`\n\t// The block height at which this event was emitted\n\tHeight uint64 `protobuf:\"varint,5,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\t// The index of this event relative to other events generated by the same transaction\n\tIndex uint64 `protobuf:\"varint,6,opt,name=Index,proto3\" json:\"Index,omitempty\"`\n\t// If event is exception\n\tException            *errors.Exception `protobuf:\"bytes,7,opt,name=Exception,proto3\" json:\"Exception,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\n\n```go\nfunc (*Header) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Header) GetEventID() string\n```\n\n```go\nfunc (m *Header) GetEventType() EventType\n```\n\n```go\nfunc (m *Header) GetException() *errors.Exception\n```\n\n```go\nfunc (m *Header) GetHeight() uint64\n```\n\n```go\nfunc (m *Header) GetIndex() uint64\n```\n\n```go\nfunc (m *Header) GetTxType() github_com_hyperledger_burrow_txs_payload.Type\n```\n\n```go\nfunc (m *Header) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *Header) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*Header) ProtoMessage()\n```\n\n```go\nfunc (m *Header) Reset()\n```\n\n```go\nfunc (m *Header) Size() (n int)\n```\n\n```go\nfunc (h *Header) String() string\n```\n\n```go\nfunc (m *Header) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *Header) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *Header) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*Header) XXX_MessageName() string\n```\n\n```go\nfunc (m *Header) XXX_Size() int\n```\n\n```go\nfunc (m *Header) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype InputEvent struct {\n\tAddress              github_com_hyperledger_burrow_crypto.Address `protobuf:\"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address\" json:\"Address\"`\n\tXXX_NoUnkeyedLiteral struct{}                                     `json:\"-\"`\n\tXXX_unrecognized     []byte                                       `json:\"-\"`\n\tXXX_sizecache        int32                                        `json:\"-\"`\n}\n```\n\n```go\nfunc (*InputEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *InputEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *InputEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*InputEvent) ProtoMessage()\n```\n\n```go\nfunc (m *InputEvent) Reset()\n```\n\n```go\nfunc (m *InputEvent) Size() (n int)\n```\n\n```go\nfunc (m *InputEvent) String() string\n```\n\n```go\nfunc (m *InputEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *InputEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *InputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *InputEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*InputEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *InputEvent) XXX_Size() int\n```\n\n```go\nfunc (m *InputEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype LogEvent struct {\n\tAddress              github_com_hyperledger_burrow_crypto.Address   `protobuf:\"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address\" json:\"Address\"`\n\tData                 github_com_hyperledger_burrow_binary.HexBytes  `protobuf:\"bytes,2,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes\" json:\"Data\"`\n\tTopics               []github_com_hyperledger_burrow_binary.Word256 `protobuf:\"bytes,3,rep,name=Topics,proto3,customtype=github.com/hyperledger/burrow/binary.Word256\" json:\"Topics\"`\n\tXXX_NoUnkeyedLiteral struct{}                                       `json:\"-\"`\n\tXXX_unrecognized     []byte                                         `json:\"-\"`\n\tXXX_sizecache        int32                                          `json:\"-\"`\n}\n```\n\n```go\nfunc (*LogEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (log *LogEvent) Get(key string) (string, bool)\n```\n\n```go\nfunc (log *LogEvent) GetTopic(i int) Word256\n```\n\n```go\nfunc (log *LogEvent) Keys() []string\n```\n\n```go\nfunc (log *LogEvent) Len() int\n```\n\n```go\nfunc (m *LogEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *LogEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*LogEvent) ProtoMessage()\n```\n\n```go\nfunc (m *LogEvent) Reset()\n```\n\n```go\nfunc (m *LogEvent) Size() (n int)\n```\n\n```go\nfunc (m *LogEvent) String() string\n```\n\n```go\nfunc (m *LogEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *LogEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *LogEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*LogEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *LogEvent) XXX_Size() int\n```\n\n```go\nfunc (m *LogEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Origin struct {\n\t// The original ChainID from for this transaction\n\tChainID string `protobuf:\"bytes,1,opt,name=ChainID,proto3\" json:\"ChainID,omitempty\"`\n\t// The original height at which this transaction was committed\n\tHeight uint64 `protobuf:\"varint,2,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\t// The original index in the block\n\tIndex uint64 `protobuf:\"varint,3,opt,name=Index,proto3\" json:\"Index,omitempty\"`\n\t// The original block time for this transaction\n\tTime                 time.Time `protobuf:\"bytes,4,opt,name=Time,proto3,stdtime\" json:\"Time\"`\n\tXXX_NoUnkeyedLiteral struct{}  `json:\"-\"`\n\tXXX_unrecognized     []byte    `json:\"-\"`\n\tXXX_sizecache        int32     `json:\"-\"`\n}\n```\n\n```go\nfunc (*Origin) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Origin) GetChainID() string\n```\n\n```go\nfunc (m *Origin) GetHeight() uint64\n```\n\n```go\nfunc (m *Origin) GetIndex() uint64\n```\n\n```go\nfunc (m *Origin) GetTime() time.Time\n```\n\n```go\nfunc (m *Origin) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *Origin) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*Origin) ProtoMessage()\n```\n\n```go\nfunc (m *Origin) Reset()\n```\n\n```go\nfunc (m *Origin) Size() (n int)\n```\n\n```go\nfunc (m *Origin) String() string\n```\n\n```go\nfunc (m *Origin) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *Origin) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Origin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *Origin) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*Origin) XXX_MessageName() string\n```\n\n```go\nfunc (m *Origin) XXX_Size() int\n```\n\n```go\nfunc (m *Origin) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OutputEvent struct {\n\tAddress              github_com_hyperledger_burrow_crypto.Address `protobuf:\"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address\" json:\"Address\"`\n\tXXX_NoUnkeyedLiteral struct{}                                     `json:\"-\"`\n\tXXX_unrecognized     []byte                                       `json:\"-\"`\n\tXXX_sizecache        int32                                        `json:\"-\"`\n}\n```\n\n```go\nfunc (*OutputEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OutputEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *OutputEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*OutputEvent) ProtoMessage()\n```\n\n```go\nfunc (m *OutputEvent) Reset()\n```\n\n```go\nfunc (m *OutputEvent) Size() (n int)\n```\n\n```go\nfunc (m *OutputEvent) String() string\n```\n\n```go\nfunc (m *OutputEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *OutputEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OutputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *OutputEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*OutputEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *OutputEvent) XXX_Size() int\n```\n\n```go\nfunc (m *OutputEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Result struct {\n\t// EVM execution return\n\tReturn []byte `protobuf:\"bytes,1,opt,name=Return,proto3\" json:\"Return,omitempty\"`\n\t// Gas used in computation\n\tGasUsed uint64 `protobuf:\"varint,2,opt,name=GasUsed,proto3\" json:\"GasUsed,omitempty\"`\n\t// Name entry created\n\tNameEntry *names.Entry `protobuf:\"bytes,3,opt,name=NameEntry,proto3\" json:\"NameEntry,omitempty\"`\n\t// Permission update performed\n\tPermArgs             *permission.PermArgs `protobuf:\"bytes,4,opt,name=PermArgs,proto3\" json:\"PermArgs,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}             `json:\"-\"`\n\tXXX_unrecognized     []byte               `json:\"-\"`\n\tXXX_sizecache        int32                `json:\"-\"`\n}\n```\nCould structure this further if needed - sum type of various results relevant to different transaction types\n\n```go\nfunc (*Result) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Result) GetGasUsed() uint64\n```\n\n```go\nfunc (m *Result) GetNameEntry() *names.Entry\n```\n\n```go\nfunc (m *Result) GetPermArgs() *permission.PermArgs\n```\n\n```go\nfunc (m *Result) GetReturn() []byte\n```\n\n```go\nfunc (m *Result) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *Result) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*Result) ProtoMessage()\n```\n\n```go\nfunc (m *Result) Reset()\n```\n\n```go\nfunc (m *Result) Size() (n int)\n```\n\n```go\nfunc (m *Result) String() string\n```\n\n```go\nfunc (m *Result) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *Result) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *Result) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*Result) XXX_MessageName() string\n```\n\n```go\nfunc (m *Result) XXX_Size() int\n```\n\n```go\nfunc (m *Result) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StreamEvent struct {\n\tBeginBlock           *BeginBlock                                 `protobuf:\"bytes,1,opt,name=BeginBlock,proto3\" json:\"BeginBlock,omitempty\"`\n\tBeginTx              *BeginTx                                    `protobuf:\"bytes,2,opt,name=BeginTx,proto3\" json:\"BeginTx,omitempty\"`\n\tEnvelope             *github_com_hyperledger_burrow_txs.Envelope `protobuf:\"bytes,3,opt,name=Envelope,proto3,customtype=github.com/hyperledger/burrow/txs.Envelope\" json:\"Envelope,omitempty\"`\n\tEvent                *Event                                      `protobuf:\"bytes,4,opt,name=Event,proto3\" json:\"Event,omitempty\"`\n\tEndTx                *EndTx                                      `protobuf:\"bytes,5,opt,name=EndTx,proto3\" json:\"EndTx,omitempty\"`\n\tEndBlock             *EndBlock                                   `protobuf:\"bytes,6,opt,name=EndBlock,proto3\" json:\"EndBlock,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                                    `json:\"-\"`\n\tXXX_unrecognized     []byte                                      `json:\"-\"`\n\tXXX_sizecache        int32                                       `json:\"-\"`\n}\n```\n\n```go\nfunc DecodeStreamEvent(bs []byte) (*StreamEvent, error)\n```\n\n```go\nfunc (*StreamEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (be *StreamEvent) Encode() ([]byte, error)\n```\n\n```go\nfunc (ev *StreamEvent) EventType() EventType\n```\n\n```go\nfunc (m *StreamEvent) GetBeginBlock() *BeginBlock\n```\n\n```go\nfunc (m *StreamEvent) GetBeginTx() *BeginTx\n```\n\n```go\nfunc (m *StreamEvent) GetEndBlock() *EndBlock\n```\n\n```go\nfunc (m *StreamEvent) GetEndTx() *EndTx\n```\n\n```go\nfunc (m *StreamEvent) GetEvent() *Event\n```\n\n```go\nfunc (this *StreamEvent) GetValue() interface{}\n```\n\n```go\nfunc (m *StreamEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *StreamEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*StreamEvent) ProtoMessage()\n```\n\n```go\nfunc (m *StreamEvent) Reset()\n```\n\n```go\nfunc (this *StreamEvent) SetValue(value interface{}) bool\n```\n\n```go\nfunc (m *StreamEvent) Size() (n int)\n```\n\n```go\nfunc (m *StreamEvent) String() string\n```\n\n```go\nfunc (ev *StreamEvent) Tagged() *TaggedBlockEvent\n```\n\n```go\nfunc (m *StreamEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *StreamEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StreamEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *StreamEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*StreamEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *StreamEvent) XXX_Size() int\n```\n\n```go\nfunc (m *StreamEvent) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype StreamEvents []*StreamEvent\n```\n\n```go\nfunc (ses *StreamEvents) Recv() (*StreamEvent, error)\n```\n\n```go\ntype StreamKey struct {\n\t// The block height\n\tHeight uint64 `protobuf:\"varint,1,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\t// The index of the StreamEvent amongst other StreamEvents at the same height\n\tIndex                uint64   `protobuf:\"varint,2,opt,name=Index,proto3\" json:\"Index,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nA key to a stream event\n\n```go\nfunc (*StreamKey) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StreamKey) GetHeight() uint64\n```\n\n```go\nfunc (m *StreamKey) GetIndex() uint64\n```\n\n```go\nfunc (m *StreamKey) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *StreamKey) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*StreamKey) ProtoMessage()\n```\n\n```go\nfunc (m *StreamKey) Reset()\n```\n\n```go\nfunc (m *StreamKey) Size() (n int)\n```\n\n```go\nfunc (m *StreamKey) String() string\n```\n\n```go\nfunc (m *StreamKey) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *StreamKey) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StreamKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *StreamKey) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*StreamKey) XXX_MessageName() string\n```\n\n```go\nfunc (m *StreamKey) XXX_Size() int\n```\n\n```go\nfunc (m *StreamKey) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TaggedBlockEvent struct {\n\tquery.Tagged\n\t*StreamEvent\n}\n```\n\n```go\ntype TaggedBlockExecution struct {\n\tquery.Tagged\n\t*BlockExecution\n}\n```\nTags\n\n```go\ntype TaggedEvent struct {\n\tquery.Tagged\n\t*Event\n}\n```\nTags\n\n```go\ntype TaggedEvents []*TaggedEvent\n```\n\n```go\nfunc (tevs TaggedEvents) Filter(qry query.Query) TaggedEvents\n```\n\n```go\ntype TaggedTxExecution struct {\n\tquery.Tagged\n\t*TxExecution\n}\n```\nTags\n\n```go\ntype TxExecution struct {\n\t*TxHeader `protobuf:\"bytes,1,opt,name=Header,proto3,embedded=Header\" json:\"Header,omitempty\"`\n\t// Signed Tx that triggered this execution\n\tEnvelope *github_com_hyperledger_burrow_txs.Envelope `protobuf:\"bytes,6,opt,name=Envelope,proto3,customtype=github.com/hyperledger/burrow/txs.Envelope\" json:\"Envelope,omitempty\"`\n\t// Execution events\n\tEvents []*Event `protobuf:\"bytes,7,rep,name=Events,proto3\" json:\"Events,omitempty\"`\n\t// The execution results\n\tResult *Result `protobuf:\"bytes,8,opt,name=Result,proto3\" json:\"Result,omitempty\"`\n\t// The transaction receipt\n\tReceipt *txs.Receipt `protobuf:\"bytes,9,opt,name=Receipt,proto3\" json:\"Receipt,omitempty\"`\n\t// If execution was an exception\n\tException *errors.Exception `protobuf:\"bytes,10,opt,name=Exception,proto3\" json:\"Exception,omitempty\"`\n\t// A proposal may contain other transactions\n\tTxExecutions         []*TxExecution `protobuf:\"bytes,11,rep,name=TxExecutions,proto3\" json:\"TxExecutions,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\n\n```go\nfunc DecodeTxExecution(bs []byte) (*TxExecution, error)\n```\n\n```go\nfunc NewTxExecution(txEnv *txs.Envelope) *TxExecution\n```\n\n```go\nfunc (txe *TxExecution) Append(tail ...*Event)\n```\n\n```go\nfunc (txe *TxExecution) Call(call *CallEvent, exception *errors.Exception) error\n```\n\n```go\nfunc (txe *TxExecution) CallError() *errors.CallError\n```\n\n```go\nfunc (txe *TxExecution) CallTrace() string\n```\n\n```go\nfunc (*TxExecution) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (txe *TxExecution) Encode() ([]byte, error)\n```\n\n```go\nfunc (*TxExecution) EventType() EventType\n```\n\n```go\nfunc (txe *TxExecution) ExceptionalCalls() []*Event\n```\n\n```go\nfunc (m *TxExecution) GetEvents() []*Event\n```\n\n```go\nfunc (m *TxExecution) GetException() *errors.Exception\n```\n\n```go\nfunc (m *TxExecution) GetReceipt() *txs.Receipt\n```\n\n```go\nfunc (m *TxExecution) GetResult() *Result\n```\n\n```go\nfunc (m *TxExecution) GetTxExecutions() []*TxExecution\n```\n\n```go\nfunc (txe *TxExecution) GetTxHash() binary.HexBytes\n```\n\n```go\nfunc (txe *TxExecution) GovernAccount(governAccount *GovernAccountEvent, exception *errors.Exception)\n```\n\n```go\nfunc (txe *TxExecution) Header(eventType EventType, eventID string, exception *errors.Exception) *Header\n```\n\n```go\nfunc (txe *TxExecution) Input(address crypto.Address, exception *errors.Exception)\n```\nEmit events\n\n```go\nfunc (txe *TxExecution) Log(log *LogEvent) error\n```\n\n```go\nfunc (m *TxExecution) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TxExecution) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (txe *TxExecution) Name(entry *names.Entry)\n```\n\n```go\nfunc (txe *TxExecution) Output(address crypto.Address, exception *errors.Exception)\n```\n\n```go\nfunc (txe *TxExecution) Permission(permArgs *permission.PermArgs)\n```\n\n```go\nfunc (*TxExecution) ProtoMessage()\n```\n\n```go\nfunc (txe *TxExecution) PushError(err error)\n```\nErrors pushed to TxExecutions end up in merkle state so it is essential that they are deterministic and independent of the code path taken to execution (e.g. replay takes a different path to that of normal consensus reactor so stack traces may differ - as they may across architectures)\n\n```go\nfunc (m *TxExecution) Reset()\n```\n\n```go\nfunc (txe *TxExecution) Return(returnValue []byte, gasUsed uint64)\n```\nSet result\n\n```go\nfunc (m *TxExecution) Size() (n int)\n```\n\n```go\nfunc (txe *TxExecution) StreamEvents() StreamEvents\n```\n\n```go\nfunc (m *TxExecution) String() string\n```\n\n```go\nfunc (txe *TxExecution) Tagged() *TaggedTxExecution\n```\n\n```go\nfunc (txe *TxExecution) TaggedEvents() TaggedEvents\n```\n\n```go\nfunc (m *TxExecution) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TxExecution) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TxExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TxExecution) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*TxExecution) XXX_MessageName() string\n```\n\n```go\nfunc (m *TxExecution) XXX_Size() int\n```\n\n```go\nfunc (m *TxExecution) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TxHeader struct {\n\t// Transaction type\n\tTxType 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\"`\n\t// The hash of the transaction that caused this event to be generated\n\tTxHash github_com_hyperledger_burrow_binary.HexBytes `protobuf:\"bytes,2,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes\" json:\"TxHash\"`\n\t// The block height at which this Tx was included\n\tHeight uint64 `protobuf:\"varint,3,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\t// The index of this transaction within the block\n\tIndex uint64 `protobuf:\"varint,4,opt,name=Index,proto3\" json:\"Index,omitempty\"`\n\t// The origin information from the chain on which this tx was originally committed (if restored or otherwise imported)\n\tOrigin               *Origin  `protobuf:\"bytes,5,opt,name=Origin,proto3\" json:\"Origin,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*TxHeader) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TxHeader) GetHeight() uint64\n```\n\n```go\nfunc (m *TxHeader) GetIndex() uint64\n```\n\n```go\nfunc (m *TxHeader) GetOrigin() *Origin\n```\n\n```go\nfunc (m *TxHeader) GetTxType() github_com_hyperledger_burrow_txs_payload.Type\n```\n\n```go\nfunc (m *TxHeader) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TxHeader) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TxHeader) ProtoMessage()\n```\n\n```go\nfunc (m *TxHeader) Reset()\n```\n\n```go\nfunc (m *TxHeader) Size() (n int)\n```\n\n```go\nfunc (m *TxHeader) String() string\n```\n\n```go\nfunc (m *TxHeader) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TxHeader) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TxHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TxHeader) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*TxHeader) XXX_MessageName() string\n```\n\n```go\nfunc (m *TxHeader) XXX_Size() int\n```\n\n```go\nfunc (m *TxHeader) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TxStack []*TxExecution\n```\nTxStack is able to consume potentially nested txs\n\n```go\nfunc (stack *TxStack) Consume(ev *StreamEvent) *TxExecution\n```\nConsume will add the StreamEvent to the transaction stack and if that completes a single outermost transaction returns the TxExecution otherwise will return nil\n\n```go\nfunc (stack TxStack) Peek() *TxExecution\n```\n\n```go\nfunc (stack *TxStack) Pop() *TxExecution\n```\n\n```go\nfunc (stack *TxStack) Push(txe *TxExecution)\n```\n\n","path":"github.com/ISFcoders/burrow/execution/exec","name":"exec","synopsis":"","isRedistributable":true}
