{"modulePath":"github.com/nodejs-fabric/burrow","version":"v0.23.1","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 (\n\tTypeCall           = EventType(0x00)\n\tTypeLog            = EventType(0x01)\n\tTypeAccountInput   = EventType(0x02)\n\tTypeAccountOutput  = EventType(0x03)\n\tTypeTxExecution    = EventType(0x04)\n\tTypeBlockExecution = EventType(0x05)\n\tTypeGovernAccount  = EventType(0x06)\n\tTypePayload        = EventType(0x07)\n)\n```\nExecution event types\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 EventStringPayload(index uint32) 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 ABCIHeader struct {\n\t*abciTypes.Header\n}\n```\n\n```go\nfunc (h *ABCIHeader) Marshal() ([]byte, error)\n```\nGogo proto support\n\n```go\nfunc (h *ABCIHeader) Unmarshal(data []byte) error\n```\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\tBlockHeader          *types.Header  `protobuf:\"bytes,2,opt,name=BlockHeader\" json:\"BlockHeader,omitempty\"`\n\tTxExecutions         []*TxExecution `protobuf:\"bytes,3,rep,name=TxExecutions\" json:\"TxExecutions,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\n\n```go\nfunc DecodeBlockExecution(bs []byte) (*BlockExecution, error)\n```\n\n```go\nfunc (be *BlockExecution) Append(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 (*BlockExecution) EventType() EventType\n```\n\n```go\nfunc (m *BlockExecution) GetBlockHeader() *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 (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 (dst *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 (dst *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\" 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 (dst *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 Event struct {\n\tHeader               *Header             `protobuf:\"bytes,1,opt,name=Header\" json:\"Header,omitempty\"`\n\tInput                *InputEvent         `protobuf:\"bytes,2,opt,name=Input\" json:\"Input,omitempty\"`\n\tOutput               *OutputEvent        `protobuf:\"bytes,3,opt,name=Output\" json:\"Output,omitempty\"`\n\tCall                 *CallEvent          `protobuf:\"bytes,4,opt,name=Call\" json:\"Call,omitempty\"`\n\tLog                  *LogEvent           `protobuf:\"bytes,5,opt,name=Log\" json:\"Log,omitempty\"`\n\tGovernAccount        *GovernAccountEvent `protobuf:\"bytes,6,opt,name=GovernAccount\" json:\"GovernAccount,omitempty\"`\n\tPayload              *PayloadEvent       `protobuf:\"bytes,7,opt,name=Payload\" json:\"Payload,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 (m *Event) GetPayload() *PayloadEvent\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 (dst *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 EventType uint32\n```\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\" 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 (dst *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\" 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 (dst *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 (dst *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,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 (dst *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 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 (dst *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 PayloadEvent 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// Index into BatchTx\n\tIndex                uint32   `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```\n\n```go\nfunc (*PayloadEvent) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *PayloadEvent) GetIndex() uint32\n```\n\n```go\nfunc (m *PayloadEvent) GetTxType() github_com_hyperledger_burrow_txs_payload.Type\n```\n\n```go\nfunc (m *PayloadEvent) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *PayloadEvent) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*PayloadEvent) ProtoMessage()\n```\n\n```go\nfunc (m *PayloadEvent) Reset()\n```\n\n```go\nfunc (m *PayloadEvent) Size() (n int)\n```\n\n```go\nfunc (m *PayloadEvent) String() string\n```\n\n```go\nfunc (m *PayloadEvent) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *PayloadEvent) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *PayloadEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *PayloadEvent) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*PayloadEvent) XXX_MessageName() string\n```\n\n```go\nfunc (m *PayloadEvent) XXX_Size() int\n```\n\n```go\nfunc (m *PayloadEvent) 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\" json:\"NameEntry,omitempty\"`\n\t// Permission update performed\n\tPermArgs             *permission.PermArgs `protobuf:\"bytes,4,opt,name=PermArgs\" 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 (dst *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 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// Transaction type\n\tTxType 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\"`\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\t// The block height at which this Tx was included\n\tHeight uint64 `protobuf:\"varint,4,opt,name=Height,proto3\" json:\"Height,omitempty\"`\n\t// The index of this transaction within the block\n\tIndex uint64 `protobuf:\"varint,5,opt,name=Index,proto3\" json:\"Index,omitempty\"`\n\t// Signed Tx that triggered this execution\n\tEnvelope *github_com_hyperledger_burrow_txs.Envelope `protobuf:\"bytes,6,opt,name=Envelope,customtype=github.com/hyperledger/burrow/txs.Envelope\" json:\"Envelope,omitempty\"`\n\t// Execution events\n\tEvents []*Event `protobuf:\"bytes,7,rep,name=Events\" json:\"Events,omitempty\"`\n\t// The execution results\n\tResult *Result `protobuf:\"bytes,8,opt,name=Result\" json:\"Result,omitempty\"`\n\t// The transaction receipt\n\tReceipt *txs.Receipt `protobuf:\"bytes,9,opt,name=Receipt\" json:\"Receipt,omitempty\"`\n\t// If execution was an exception\n\tException            *errors.Exception `protobuf:\"bytes,10,opt,name=Exception\" json:\"Exception,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 (*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) GetHeight() uint64\n```\n\n```go\nfunc (m *TxExecution) GetIndex() uint64\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) GetTxType() github_com_hyperledger_burrow_txs_payload.Type\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) PayloadEvent(payload *PayloadEvent)\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```\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 (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 (txe *TxExecution) Trace() string\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 (dst *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","path":"github.com/nodejs-fabric/burrow/execution/exec","name":"exec","synopsis":"","isRedistributable":true}
