exec

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2018 License: Apache-2.0 Imports: 21 Imported by: 25 modules, 36 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package exec is a generated protocol buffer package.

It is generated from these files:

exec.proto

It has these top-level messages:

BlockExecution
BlockHeader
TxExecution
Header
Event
Result
LogEvent
CallEvent
GovernAccountEvent
InputEvent
OutputEvent
CallData

Index

Constants

View Source
const (
	TypeCall           = EventType(0x00)
	TypeLog            = EventType(0x01)
	TypeAccountInput   = EventType(0x02)
	TypeAccountOutput  = EventType(0x03)
	TypeTxExecution    = EventType(0x04)
	TypeBlockExecution = EventType(0x05)
	TypeGovernAccount  = EventType(0x06)
)

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 EventStringAccountCall(addr crypto.Address) string

func EventStringAccountInput

func EventStringAccountInput(addr crypto.Address) string

func EventStringAccountOutput

func EventStringAccountOutput(addr crypto.Address) string

func EventStringBlockExecution

func EventStringBlockExecution(height uint64) string

func EventStringGovernAccount

func EventStringGovernAccount(addr *crypto.Address) string

func EventStringLogEvent

func EventStringLogEvent(addr crypto.Address) string

func EventStringTxExecution

func EventStringTxExecution(txHash []byte) string

func LogNKey

func LogNKey(topic int) string

func LogNTextKey

func LogNTextKey(topic int) string

func QueryForBlockExecution

func QueryForBlockExecution() *query.Builder

func QueryForBlockExecutionFromHeight

func QueryForBlockExecutionFromHeight(height uint64) *query.Builder

func QueryForTxExecution

func QueryForTxExecution(txHash []byte) query.Queryable

Types

type ABCIHeader

type ABCIHeader struct {
	*abciTypes.Header
}

func (*ABCIHeader) Marshal

func (h *ABCIHeader) Marshal() ([]byte, error)

Gogo proto support

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"`
	// TODO: reintroduce this when upstream merges: https://github.com/tendermint/tendermint/pull/1987
	//    types.Header BlockHeader = 2;
	BlockHeader  *BlockHeader   `protobuf:"bytes,2,opt,name=BlockHeader" json:"BlockHeader,omitempty"`
	TxExecutions []*TxExecution `protobuf:"bytes,3,rep,name=TxExecutions" json:"TxExecutions,omitempty"`
}

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() *BlockHeader

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) MarshalTo

func (m *BlockExecution) MarshalTo(dAtA []byte) (int, 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_MessageName

func (*BlockExecution) XXX_MessageName() string

type BlockHeader

type BlockHeader struct {
	JSON   string `protobuf:"bytes,1,opt,name=JSON,proto3" json:"JSON,omitempty"`
	NumTxs int32  `protobuf:"varint,2,opt,name=NumTxs,proto3" json:"NumTxs,omitempty"`
}

func BlockHeaderFromHeader

func BlockHeaderFromHeader(header *abciTypes.Header) *BlockHeader

TODO remove when Header gogo protobuf fixed in Tendermint

func (*BlockHeader) Descriptor

func (*BlockHeader) Descriptor() ([]byte, []int)

func (*BlockHeader) GetJSON

func (m *BlockHeader) GetJSON() string

func (*BlockHeader) GetNumTxs

func (m *BlockHeader) GetNumTxs() int32

func (*BlockHeader) Marshal

func (m *BlockHeader) Marshal() (dAtA []byte, err error)

func (*BlockHeader) MarshalTo

func (m *BlockHeader) MarshalTo(dAtA []byte) (int, error)

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) Size

func (m *BlockHeader) Size() (n int)

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) Unmarshal

func (m *BlockHeader) Unmarshal(dAtA []byte) error

func (*BlockHeader) XXX_MessageName

func (*BlockHeader) XXX_MessageName() string

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"`
}

func (*CallData) Descriptor

func (*CallData) Descriptor() ([]byte, []int)

func (*CallData) GetGas

func (m *CallData) GetGas() uint64

func (*CallData) GetValue

func (m *CallData) GetValue() uint64

func (*CallData) Marshal

func (m *CallData) Marshal() (dAtA []byte, err error)

func (*CallData) MarshalTo

func (m *CallData) MarshalTo(dAtA []byte) (int, error)

func (*CallData) ProtoMessage

func (*CallData) ProtoMessage()

func (*CallData) Reset

func (m *CallData) Reset()

func (*CallData) Size

func (m *CallData) Size() (n int)

func (*CallData) String

func (m *CallData) String() string

func (*CallData) Unmarshal

func (m *CallData) Unmarshal(dAtA []byte) error

func (*CallData) XXX_MessageName

func (*CallData) XXX_MessageName() string

type CallEvent

type CallEvent struct {
	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"`
}

func (*CallEvent) Descriptor

func (*CallEvent) Descriptor() ([]byte, []int)

func (*CallEvent) GetCallData

func (m *CallEvent) GetCallData() *CallData

func (*CallEvent) GetStackDepth

func (m *CallEvent) GetStackDepth() uint64

func (*CallEvent) Marshal

func (m *CallEvent) Marshal() (dAtA []byte, err error)

func (*CallEvent) MarshalTo

func (m *CallEvent) MarshalTo(dAtA []byte) (int, error)

func (*CallEvent) ProtoMessage

func (*CallEvent) ProtoMessage()

func (*CallEvent) Reset

func (m *CallEvent) Reset()

func (*CallEvent) Size

func (m *CallEvent) Size() (n int)

func (*CallEvent) String

func (m *CallEvent) String() string

func (*CallEvent) Unmarshal

func (m *CallEvent) Unmarshal(dAtA []byte) error

func (*CallEvent) XXX_MessageName

func (*CallEvent) XXX_MessageName() string

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"`
}

func (*Event) Body

func (ev *Event) Body() string

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) EventType

func (ev *Event) EventType() EventType

func (*Event) GetCall

func (m *Event) GetCall() *CallEvent

func (*Event) GetGovernAccount

func (m *Event) GetGovernAccount() *GovernAccountEvent

func (*Event) GetHeader

func (m *Event) GetHeader() *Header

func (*Event) GetInput

func (m *Event) GetInput() *InputEvent

func (*Event) GetLog

func (m *Event) GetLog() *LogEvent

func (*Event) GetOutput

func (m *Event) GetOutput() *OutputEvent

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (ev *Event) String() string

func (*Event) Tagged

func (ev *Event) Tagged() *TaggedEvent

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_MessageName

func (*Event) XXX_MessageName() string

type EventType

type EventType uint32

func EventTypeFromString

func EventTypeFromString(name string) EventType

func (EventType) MarshalText

func (typ EventType) MarshalText() ([]byte, error)

func (EventType) String

func (typ EventType) String() string

func (*EventType) UnmarshalText

func (typ *EventType) UnmarshalText(data []byte) error

type GovernAccountEvent

type GovernAccountEvent struct {
	AccountUpdate *spec.TemplateAccount `protobuf:"bytes,1,opt,name=AccountUpdate" json:"AccountUpdate,omitempty"`
}

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_MessageName

func (*GovernAccountEvent) XXX_MessageName() string
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"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetEventID

func (m *Header) GetEventID() string

func (*Header) GetEventType

func (m *Header) GetEventType() EventType

func (*Header) GetException

func (m *Header) GetException() *errors.Exception

func (*Header) GetHeight

func (m *Header) GetHeight() uint64

func (*Header) GetIndex

func (m *Header) GetIndex() uint64

func (*Header) GetTxType

func (*Header) Marshal

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

func (m *Header) Size() (n int)

func (*Header) String

func (h *Header) String() string

func (*Header) Unmarshal

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) XXX_MessageName

func (*Header) XXX_MessageName() string

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"`
}

func (*InputEvent) Descriptor

func (*InputEvent) Descriptor() ([]byte, []int)

func (*InputEvent) Marshal

func (m *InputEvent) Marshal() (dAtA []byte, err error)

func (*InputEvent) MarshalTo

func (m *InputEvent) MarshalTo(dAtA []byte) (int, 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_MessageName

func (*InputEvent) XXX_MessageName() string

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"`
}

func (*LogEvent) Descriptor

func (*LogEvent) Descriptor() ([]byte, []int)

func (*LogEvent) Get

func (log *LogEvent) Get(key string) (string, bool)

func (*LogEvent) GetTopic

func (log *LogEvent) GetTopic(i int) Word256

func (*LogEvent) Keys

func (log *LogEvent) Keys() []string

func (*LogEvent) Len

func (log *LogEvent) Len() int

func (*LogEvent) Marshal

func (m *LogEvent) Marshal() (dAtA []byte, err error)

func (*LogEvent) MarshalTo

func (m *LogEvent) MarshalTo(dAtA []byte) (int, error)

func (*LogEvent) ProtoMessage

func (*LogEvent) ProtoMessage()

func (*LogEvent) Reset

func (m *LogEvent) Reset()

func (*LogEvent) Size

func (m *LogEvent) Size() (n int)

func (*LogEvent) String

func (m *LogEvent) String() string

func (*LogEvent) Unmarshal

func (m *LogEvent) Unmarshal(dAtA []byte) error

func (*LogEvent) XXX_MessageName

func (*LogEvent) XXX_MessageName() string

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"`
}

func (*OutputEvent) Descriptor

func (*OutputEvent) Descriptor() ([]byte, []int)

func (*OutputEvent) Marshal

func (m *OutputEvent) Marshal() (dAtA []byte, err error)

func (*OutputEvent) MarshalTo

func (m *OutputEvent) MarshalTo(dAtA []byte) (int, 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_MessageName

func (*OutputEvent) XXX_MessageName() string

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"`
}

Could structure this further if needed - sum type of various results relevant to different transaction types

func (*Result) Descriptor

func (*Result) Descriptor() ([]byte, []int)

func (*Result) GetGasUsed

func (m *Result) GetGasUsed() uint64

func (*Result) GetNameEntry

func (m *Result) GetNameEntry() *names.Entry

func (*Result) GetPermArgs

func (m *Result) GetPermArgs() *permission.PermArgs

func (*Result) GetReturn

func (m *Result) GetReturn() []byte

func (*Result) Marshal

func (m *Result) Marshal() (dAtA []byte, err error)

func (*Result) MarshalTo

func (m *Result) MarshalTo(dAtA []byte) (int, error)

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) Size

func (m *Result) Size() (n int)

func (*Result) String

func (m *Result) String() string

func (*Result) Unmarshal

func (m *Result) Unmarshal(dAtA []byte) error

func (*Result) XXX_MessageName

func (*Result) XXX_MessageName() string

type TaggedBlockExecution

type TaggedBlockExecution struct {
	query.Tagged
	*BlockExecution
}

Tags

type TaggedEvent

type TaggedEvent struct {
	query.Tagged
	*Event
}

Tags

type TaggedEvents

type TaggedEvents []*TaggedEvent

func (TaggedEvents) Filter

func (tevs TaggedEvents) Filter(qry query.Query) TaggedEvents

type TaggedTxExecution

type TaggedTxExecution struct {
	query.Tagged
	*TxExecution
}

Tags

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"`
}

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)

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) 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 (*TxExecution) GovernAccount

func (txe *TxExecution) GovernAccount(governAccount *GovernAccountEvent, exception *errors.Exception)

func (*TxExecution) Header

func (txe *TxExecution) Header(eventType EventType, eventID string, exception *errors.Exception) *Header

func (*TxExecution) Input

func (txe *TxExecution) Input(address crypto.Address, exception *errors.Exception)

Emit events

func (*TxExecution) Log

func (txe *TxExecution) Log(log *LogEvent)

func (*TxExecution) Marshal

func (m *TxExecution) Marshal() (dAtA []byte, err error)

func (*TxExecution) MarshalTo

func (m *TxExecution) MarshalTo(dAtA []byte) (int, 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) Permission

func (txe *TxExecution) Permission(permArgs *permission.PermArgs)

func (*TxExecution) ProtoMessage

func (*TxExecution) ProtoMessage()

func (*TxExecution) Reset

func (m *TxExecution) Reset()

func (*TxExecution) Return

func (txe *TxExecution) Return(returnValue []byte, gasUsed uint64)

Set result

func (*TxExecution) SetException

func (txe *TxExecution) SetException(err error)

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) Unmarshal

func (m *TxExecution) Unmarshal(dAtA []byte) error

func (*TxExecution) XXX_MessageName

func (*TxExecution) XXX_MessageName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL