Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type ABCIMessageLog
- func (*ABCIMessageLog) Descriptor() ([]byte, []int)deprecated
- func (x *ABCIMessageLog) GetEvents() []*StringEvent
- func (x *ABCIMessageLog) GetLog() string
- func (x *ABCIMessageLog) GetMsgIndex() uint32
- func (*ABCIMessageLog) ProtoMessage()
- func (x *ABCIMessageLog) ProtoReflect() protoreflect.Message
- func (x *ABCIMessageLog) Reset()
- func (x *ABCIMessageLog) String() string
- type Attribute
- type GasInfo
- type MsgDatadeprecated
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetData() []bytedeprecated
- func (x *Result) GetEvents() []*abci.Event
- func (x *Result) GetLog() string
- func (x *Result) GetMsgResponses() []*anypb.Any
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type SearchTxsResult
- func (*SearchTxsResult) Descriptor() ([]byte, []int)deprecated
- func (x *SearchTxsResult) GetCount() uint64
- func (x *SearchTxsResult) GetLimit() uint64
- func (x *SearchTxsResult) GetPageNumber() uint64
- func (x *SearchTxsResult) GetPageTotal() uint64
- func (x *SearchTxsResult) GetTotalCount() uint64
- func (x *SearchTxsResult) GetTxs() []*TxResponse
- func (*SearchTxsResult) ProtoMessage()
- func (x *SearchTxsResult) ProtoReflect() protoreflect.Message
- func (x *SearchTxsResult) Reset()
- func (x *SearchTxsResult) String() string
- type SimulationResponse
- func (*SimulationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SimulationResponse) GetGasInfo() *GasInfo
- func (x *SimulationResponse) GetResult() *Result
- func (*SimulationResponse) ProtoMessage()
- func (x *SimulationResponse) ProtoReflect() protoreflect.Message
- func (x *SimulationResponse) Reset()
- func (x *SimulationResponse) String() string
- type StringEvent
- func (*StringEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StringEvent) GetAttributes() []*Attribute
- func (x *StringEvent) GetType_() string
- func (*StringEvent) ProtoMessage()
- func (x *StringEvent) ProtoReflect() protoreflect.Message
- func (x *StringEvent) Reset()
- func (x *StringEvent) String() string
- type TxMsgData
- func (*TxMsgData) Descriptor() ([]byte, []int)deprecated
- func (x *TxMsgData) GetData() []*MsgDatadeprecated
- func (x *TxMsgData) GetMsgResponses() []*anypb.Any
- func (*TxMsgData) ProtoMessage()
- func (x *TxMsgData) ProtoReflect() protoreflect.Message
- func (x *TxMsgData) Reset()
- func (x *TxMsgData) String() string
- type TxResponse
- func (*TxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TxResponse) GetCode() uint32
- func (x *TxResponse) GetCodespace() string
- func (x *TxResponse) GetData() string
- func (x *TxResponse) GetEvents() []*abci.Event
- func (x *TxResponse) GetGasUsed() int64
- func (x *TxResponse) GetGasWanted() int64
- func (x *TxResponse) GetHeight() int64
- func (x *TxResponse) GetInfo() string
- func (x *TxResponse) GetLogs() []*ABCIMessageLog
- func (x *TxResponse) GetRawLog() string
- func (x *TxResponse) GetTimestamp() string
- func (x *TxResponse) GetTx() *anypb.Any
- func (x *TxResponse) GetTxhash() string
- func (*TxResponse) ProtoMessage()
- func (x *TxResponse) ProtoReflect() protoreflect.Message
- func (x *TxResponse) Reset()
- func (x *TxResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_base_abci_v1beta1_abci_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ABCIMessageLog ¶
type ABCIMessageLog struct { MsgIndex uint32 `protobuf:"varint,1,opt,name=msg_index,json=msgIndex,proto3" json:"msg_index,omitempty"` Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` // Events contains a slice of Event objects that were emitted during some // execution. Events []*StringEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
func (*ABCIMessageLog) Descriptor
deprecated
func (*ABCIMessageLog) Descriptor() ([]byte, []int)
Deprecated: Use ABCIMessageLog.ProtoReflect.Descriptor instead.
func (*ABCIMessageLog) GetEvents ¶
func (x *ABCIMessageLog) GetEvents() []*StringEvent
func (*ABCIMessageLog) GetLog ¶
func (x *ABCIMessageLog) GetLog() string
func (*ABCIMessageLog) GetMsgIndex ¶
func (x *ABCIMessageLog) GetMsgIndex() uint32
func (*ABCIMessageLog) ProtoMessage ¶
func (*ABCIMessageLog) ProtoMessage()
func (*ABCIMessageLog) ProtoReflect ¶
func (x *ABCIMessageLog) ProtoReflect() protoreflect.Message
func (*ABCIMessageLog) Reset ¶
func (x *ABCIMessageLog) Reset()
func (*ABCIMessageLog) String ¶
func (x *ABCIMessageLog) String() string
type Attribute ¶
type Attribute struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Attribute defines an attribute wrapper where the key and value are strings instead of raw bytes.
func (*Attribute) Descriptor
deprecated
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type GasInfo ¶
type GasInfo struct { // GasWanted is the maximum units of work we allow this tx to perform. GasWanted uint64 `protobuf:"varint,1,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` // GasUsed is the amount of gas actually consumed. GasUsed uint64 `protobuf:"varint,2,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // contains filtered or unexported fields }
GasInfo defines tx execution gas context.
func (*GasInfo) Descriptor
deprecated
func (*GasInfo) GetGasUsed ¶
func (*GasInfo) GetGasWanted ¶
func (*GasInfo) ProtoMessage ¶
func (*GasInfo) ProtoMessage()
func (*GasInfo) ProtoReflect ¶
func (x *GasInfo) ProtoReflect() protoreflect.Message
type MsgData
deprecated
type MsgData struct { MsgType string `protobuf:"bytes,1,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
MsgData defines the data returned in a Result object during message execution.
Deprecated: Do not use.
func (*MsgData) Descriptor
deprecated
func (*MsgData) GetMsgType ¶
func (*MsgData) ProtoMessage ¶
func (*MsgData) ProtoMessage()
func (*MsgData) ProtoReflect ¶
func (x *MsgData) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { // Data is any data returned from message or handler execution. It MUST be // length prefixed in order to separate data from multiple message executions. // Deprecated. This field is still populated, but prefer msg_response instead // because it also contains the Msg response typeURL. // // Deprecated: Do not use. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Log contains the log information from message or handler execution. Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` // Events contains a slice of Event objects that were emitted during message // or handler execution. Events []*abci.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // msg_responses contains the Msg handler responses type packed in Anys. // // Since: cosmos-sdk 0.46 MsgResponses []*anypb.Any `protobuf:"bytes,4,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"` // contains filtered or unexported fields }
Result is the union of ResponseFormat and ResponseCheckTx.
func (*Result) Descriptor
deprecated
func (*Result) GetMsgResponses ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type SearchTxsResult ¶
type SearchTxsResult struct { // Count of all txs TotalCount uint64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Count of txs in current page Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // Index of current page, start from 1 PageNumber uint64 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` // Count of total pages PageTotal uint64 `protobuf:"varint,4,opt,name=page_total,json=pageTotal,proto3" json:"page_total,omitempty"` // Max count txs per page Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // List of txs in current page Txs []*TxResponse `protobuf:"bytes,6,rep,name=txs,proto3" json:"txs,omitempty"` // contains filtered or unexported fields }
SearchTxsResult defines a structure for querying txs pageable
func (*SearchTxsResult) Descriptor
deprecated
func (*SearchTxsResult) Descriptor() ([]byte, []int)
Deprecated: Use SearchTxsResult.ProtoReflect.Descriptor instead.
func (*SearchTxsResult) GetCount ¶
func (x *SearchTxsResult) GetCount() uint64
func (*SearchTxsResult) GetLimit ¶
func (x *SearchTxsResult) GetLimit() uint64
func (*SearchTxsResult) GetPageNumber ¶
func (x *SearchTxsResult) GetPageNumber() uint64
func (*SearchTxsResult) GetPageTotal ¶
func (x *SearchTxsResult) GetPageTotal() uint64
func (*SearchTxsResult) GetTotalCount ¶
func (x *SearchTxsResult) GetTotalCount() uint64
func (*SearchTxsResult) GetTxs ¶
func (x *SearchTxsResult) GetTxs() []*TxResponse
func (*SearchTxsResult) ProtoMessage ¶
func (*SearchTxsResult) ProtoMessage()
func (*SearchTxsResult) ProtoReflect ¶
func (x *SearchTxsResult) ProtoReflect() protoreflect.Message
func (*SearchTxsResult) Reset ¶
func (x *SearchTxsResult) Reset()
func (*SearchTxsResult) String ¶
func (x *SearchTxsResult) String() string
type SimulationResponse ¶
type SimulationResponse struct { GasInfo *GasInfo `protobuf:"bytes,1,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"` Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
SimulationResponse defines the response generated when a transaction is successfully simulated.
func (*SimulationResponse) Descriptor
deprecated
func (*SimulationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SimulationResponse.ProtoReflect.Descriptor instead.
func (*SimulationResponse) GetGasInfo ¶
func (x *SimulationResponse) GetGasInfo() *GasInfo
func (*SimulationResponse) GetResult ¶
func (x *SimulationResponse) GetResult() *Result
func (*SimulationResponse) ProtoMessage ¶
func (*SimulationResponse) ProtoMessage()
func (*SimulationResponse) ProtoReflect ¶
func (x *SimulationResponse) ProtoReflect() protoreflect.Message
func (*SimulationResponse) Reset ¶
func (x *SimulationResponse) Reset()
func (*SimulationResponse) String ¶
func (x *SimulationResponse) String() string
type StringEvent ¶
type StringEvent struct { Type_ string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes.
func (*StringEvent) Descriptor
deprecated
func (*StringEvent) Descriptor() ([]byte, []int)
Deprecated: Use StringEvent.ProtoReflect.Descriptor instead.
func (*StringEvent) GetAttributes ¶
func (x *StringEvent) GetAttributes() []*Attribute
func (*StringEvent) GetType_ ¶
func (x *StringEvent) GetType_() string
func (*StringEvent) ProtoMessage ¶
func (*StringEvent) ProtoMessage()
func (*StringEvent) ProtoReflect ¶
func (x *StringEvent) ProtoReflect() protoreflect.Message
func (*StringEvent) Reset ¶
func (x *StringEvent) Reset()
func (*StringEvent) String ¶
func (x *StringEvent) String() string
type TxMsgData ¶
type TxMsgData struct { // data field is deprecated and not populated. // // Deprecated: Do not use. Data []*MsgData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // msg_responses contains the Msg handler responses packed into Anys. // // Since: cosmos-sdk 0.46 MsgResponses []*anypb.Any `protobuf:"bytes,2,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"` // contains filtered or unexported fields }
TxMsgData defines a list of MsgData. A transaction will have a MsgData object for each message.
func (*TxMsgData) Descriptor
deprecated
func (*TxMsgData) GetMsgResponses ¶
func (*TxMsgData) ProtoMessage ¶
func (*TxMsgData) ProtoMessage()
func (*TxMsgData) ProtoReflect ¶
func (x *TxMsgData) ProtoReflect() protoreflect.Message
type TxResponse ¶
type TxResponse struct { // The block height Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // The transaction hash. Txhash string `protobuf:"bytes,2,opt,name=txhash,proto3" json:"txhash,omitempty"` // Namespace for the Code Codespace string `protobuf:"bytes,3,opt,name=codespace,proto3" json:"codespace,omitempty"` // Response code. Code uint32 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"` // Result bytes, if any. Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // The output of the application's logger (raw string). May be // non-deterministic. RawLog string `protobuf:"bytes,6,opt,name=raw_log,json=rawLog,proto3" json:"raw_log,omitempty"` // The output of the application's logger (typed). May be non-deterministic. Logs []*ABCIMessageLog `protobuf:"bytes,7,rep,name=logs,proto3" json:"logs,omitempty"` // Additional information. May be non-deterministic. Info string `protobuf:"bytes,8,opt,name=info,proto3" json:"info,omitempty"` // Amount of gas requested for transaction. GasWanted int64 `protobuf:"varint,9,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` // Amount of gas consumed by transaction. GasUsed int64 `protobuf:"varint,10,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // The request transaction bytes. Tx *anypb.Any `protobuf:"bytes,11,opt,name=tx,proto3" json:"tx,omitempty"` // Time of the previous block. For heights > 1, it's the weighted median of // the timestamps of the valid votes in the block.LastCommit. For height == 1, // it's genesis time. Timestamp string `protobuf:"bytes,12,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Events defines all the events emitted by processing a transaction. Note, // these events include those emitted by processing all the messages and those // emitted from the ante. Whereas Logs contains the events, with // additional metadata, emitted only by processing the messages. // // Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 Events []*abci.Event `protobuf:"bytes,13,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
TxResponse defines a structure containing relevant tx data and metadata. The tags are stringified and the log is JSON decoded.
func (*TxResponse) Descriptor
deprecated
func (*TxResponse) Descriptor() ([]byte, []int)
Deprecated: Use TxResponse.ProtoReflect.Descriptor instead.
func (*TxResponse) GetCode ¶
func (x *TxResponse) GetCode() uint32
func (*TxResponse) GetCodespace ¶
func (x *TxResponse) GetCodespace() string
func (*TxResponse) GetData ¶
func (x *TxResponse) GetData() string
func (*TxResponse) GetEvents ¶
func (x *TxResponse) GetEvents() []*abci.Event
func (*TxResponse) GetGasUsed ¶
func (x *TxResponse) GetGasUsed() int64
func (*TxResponse) GetGasWanted ¶
func (x *TxResponse) GetGasWanted() int64
func (*TxResponse) GetHeight ¶
func (x *TxResponse) GetHeight() int64
func (*TxResponse) GetInfo ¶
func (x *TxResponse) GetInfo() string
func (*TxResponse) GetLogs ¶
func (x *TxResponse) GetLogs() []*ABCIMessageLog
func (*TxResponse) GetRawLog ¶
func (x *TxResponse) GetRawLog() string
func (*TxResponse) GetTimestamp ¶
func (x *TxResponse) GetTimestamp() string
func (*TxResponse) GetTx ¶
func (x *TxResponse) GetTx() *anypb.Any
func (*TxResponse) GetTxhash ¶
func (x *TxResponse) GetTxhash() string
func (*TxResponse) ProtoMessage ¶
func (*TxResponse) ProtoMessage()
func (*TxResponse) ProtoReflect ¶
func (x *TxResponse) ProtoReflect() protoreflect.Message
func (*TxResponse) Reset ¶
func (x *TxResponse) Reset()
func (*TxResponse) String ¶
func (x *TxResponse) String() string