Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + var AttributeKeyAccountSequence = "acc_seq" + var AttributeKeyAction = "action" + var AttributeKeyAmount = "amount" + var AttributeKeyFee = "fee" + var AttributeKeyModule = "module" + var AttributeKeySender = "sender" + var AttributeKeySignature = "signature" + var ErrIntOverflowAbci = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAbci = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAbci = fmt.Errorf("proto: unexpected end of group") + var EventTypeMessage = "message" + var EventTypeTx = "tx" + func MarkEventsToIndex(events []abci.Event, indexSet map[string]struct{}) []abci.Event + func MsgTypeURL(msg Msg) string + func ParseTypedEvent(event abci.Event) (proto.Message, error) + type ABCIMessageLog struct + Events StringEvents + Log string + MsgIndex uint32 + func NewABCIMessageLog(i uint32, log string, events Events) ABCIMessageLog + func (*ABCIMessageLog) Descriptor() ([]byte, []int) + func (*ABCIMessageLog) ProtoMessage() + func (m *ABCIMessageLog) GetEvents() StringEvents + func (m *ABCIMessageLog) GetLog() string + func (m *ABCIMessageLog) GetMsgIndex() uint32 + func (m *ABCIMessageLog) Marshal() (dAtA []byte, err error) + func (m *ABCIMessageLog) MarshalTo(dAtA []byte) (int, error) + func (m *ABCIMessageLog) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABCIMessageLog) Reset() + func (m *ABCIMessageLog) Size() (n int) + func (m *ABCIMessageLog) Unmarshal(dAtA []byte) error + func (m *ABCIMessageLog) XXX_DiscardUnknown() + func (m *ABCIMessageLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ABCIMessageLog) XXX_Merge(src proto.Message) + func (m *ABCIMessageLog) XXX_Size() int + func (m *ABCIMessageLog) XXX_Unmarshal(b []byte) error + func (this *ABCIMessageLog) String() string + type ABCIMessageLogs []ABCIMessageLog + func ParseABCILogs(logs string) (res ABCIMessageLogs, err error) + func (logs ABCIMessageLogs) String() (str string) + type Attribute struct + Key string + Value string + func NewAttribute(k, v string) Attribute + func (*Attribute) Descriptor() ([]byte, []int) + func (*Attribute) ProtoMessage() + func (a Attribute) String() string + func (a Attribute) ToKVPair() kv.Pair + func (m *Attribute) GetKey() string + func (m *Attribute) GetValue() string + func (m *Attribute) Marshal() (dAtA []byte, err error) + func (m *Attribute) MarshalTo(dAtA []byte) (int, error) + func (m *Attribute) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Attribute) Reset() + func (m *Attribute) Size() (n int) + func (m *Attribute) Unmarshal(dAtA []byte) error + func (m *Attribute) XXX_DiscardUnknown() + func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Attribute) XXX_Merge(src proto.Message) + func (m *Attribute) XXX_Size() int + func (m *Attribute) XXX_Unmarshal(b []byte) error + type Event abci.Event + func NewEvent(ty string, attrs ...Attribute) Event + func TypedEventToEvent(tev proto.Message) (Event, error) + func (e Event) AppendAttributes(attrs ...Attribute) Event + type EventManager struct + func NewEventManager() *EventManager + func (em *EventManager) EmitEvent(event Event) + func (em *EventManager) EmitEvents(events Events) + func (em *EventManager) EmitTypedEvent(tev proto.Message) error + func (em *EventManager) EmitTypedEvents(tevs ...proto.Message) error + func (em *EventManager) Events() Events + func (em EventManager) ABCIEvents() []abci.Event + type Events []Event + func EmptyEvents() Events + func (e Events) AppendEvent(event Event) Events + func (e Events) AppendEvents(events Events) Events + func (e Events) ToABCIEvents() []abci.Event + type Fee interface + GetAmount func() costypes.CoinAdapters + GetGas func() uint64 + type FeeTx interface + FeeGranter func() costypes.AccAddress + FeePayer func() costypes.AccAddress + GetFee func() costypes.CoinAdapters + GetGas func() uint64 + type GasInfo struct + GasUsed uint64 + GasWanted uint64 + func (*GasInfo) Descriptor() ([]byte, []int) + func (*GasInfo) ProtoMessage() + func (gi GasInfo) String() string + func (m *GasInfo) GetGasUsed() uint64 + func (m *GasInfo) GetGasWanted() uint64 + func (m *GasInfo) Marshal() (dAtA []byte, err error) + func (m *GasInfo) MarshalTo(dAtA []byte) (int, error) + func (m *GasInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GasInfo) Reset() + func (m *GasInfo) Size() (n int) + func (m *GasInfo) Unmarshal(dAtA []byte) error + func (m *GasInfo) XXX_DiscardUnknown() + func (m *GasInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GasInfo) XXX_Merge(src proto.Message) + func (m *GasInfo) XXX_Size() int + func (m *GasInfo) XXX_Unmarshal(b []byte) error + type IBCTxEncoder TxEncoder + type IbcTxDecoder func(txBytes []byte) (*stdtx.IbcTx, error) + type Msg interface + GetSigners func() []costypes.AccAddress + ValidateBasic func() error + type MsgData struct + Data []byte + MsgType string + func (*MsgData) Descriptor() ([]byte, []int) + func (*MsgData) ProtoMessage() + func (m *MsgData) GetData() []byte + func (m *MsgData) GetMsgType() string + func (m *MsgData) Marshal() (dAtA []byte, err error) + func (m *MsgData) MarshalTo(dAtA []byte) (int, error) + func (m *MsgData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgData) Reset() + func (m *MsgData) Size() (n int) + func (m *MsgData) Unmarshal(dAtA []byte) error + func (m *MsgData) XXX_DiscardUnknown() + func (m *MsgData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgData) XXX_Merge(src proto.Message) + func (m *MsgData) XXX_Size() int + func (m *MsgData) XXX_Unmarshal(b []byte) error + func (this *MsgData) String() string + type Result struct + Data []byte + Events []types1.Event + Log string + func WrapServiceResult(ctx costypes.Context, res proto.Message, err error) (*Result, error) + func (*Result) Descriptor() ([]byte, []int) + func (*Result) ProtoMessage() + func (m *Result) Marshal() (dAtA []byte, err error) + func (m *Result) MarshalTo(dAtA []byte) (int, error) + func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Result) Reset() + func (m *Result) Size() (n int) + func (m *Result) Unmarshal(dAtA []byte) error + func (m *Result) XXX_DiscardUnknown() + func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Result) XXX_Merge(src proto.Message) + func (m *Result) XXX_Size() int + func (m *Result) XXX_Unmarshal(b []byte) error + func (r Result) GetEvents() costypes.Events + func (r Result) String() string + type SearchTxsResult struct + Count uint64 + Limit uint64 + PageNumber uint64 + PageTotal uint64 + TotalCount uint64 + Txs []*TxResponse + func NewSearchTxsResult(totalCount, count, page, limit uint64, txs []*TxResponse) *SearchTxsResult + func (*SearchTxsResult) Descriptor() ([]byte, []int) + func (*SearchTxsResult) ProtoMessage() + func (m *SearchTxsResult) GetCount() uint64 + func (m *SearchTxsResult) GetLimit() uint64 + func (m *SearchTxsResult) GetPageNumber() uint64 + func (m *SearchTxsResult) GetPageTotal() uint64 + func (m *SearchTxsResult) GetTotalCount() uint64 + func (m *SearchTxsResult) GetTxs() []*TxResponse + func (m *SearchTxsResult) Marshal() (dAtA []byte, err error) + func (m *SearchTxsResult) MarshalTo(dAtA []byte) (int, error) + func (m *SearchTxsResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SearchTxsResult) Reset() + func (m *SearchTxsResult) Size() (n int) + func (m *SearchTxsResult) Unmarshal(dAtA []byte) error + func (m *SearchTxsResult) XXX_DiscardUnknown() + func (m *SearchTxsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SearchTxsResult) XXX_Merge(src proto.Message) + func (m *SearchTxsResult) XXX_Size() int + func (m *SearchTxsResult) XXX_Unmarshal(b []byte) error + func (s SearchTxsResult) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (this *SearchTxsResult) String() string + type Signature interface + GetPubKey func() cryptotypes.PubKey + GetSignature func() []byte + type SimulationResponse struct + Result *Result + func (*SimulationResponse) Descriptor() ([]byte, []int) + func (*SimulationResponse) ProtoMessage() + func (m *SimulationResponse) GetResult() *Result + func (m *SimulationResponse) Marshal() (dAtA []byte, err error) + func (m *SimulationResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SimulationResponse) Reset() + func (m *SimulationResponse) Size() (n int) + func (m *SimulationResponse) Unmarshal(dAtA []byte) error + func (m *SimulationResponse) XXX_DiscardUnknown() + func (m *SimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SimulationResponse) XXX_Merge(src proto.Message) + func (m *SimulationResponse) XXX_Size() int + func (m *SimulationResponse) XXX_Unmarshal(b []byte) error + type StringEvent struct + Attributes []Attribute + Type string + func StringifyEvent(e abci.Event) StringEvent + func (*StringEvent) Descriptor() ([]byte, []int) + func (*StringEvent) ProtoMessage() + func (m *StringEvent) GetAttributes() []Attribute + func (m *StringEvent) GetType() string + func (m *StringEvent) Marshal() (dAtA []byte, err error) + func (m *StringEvent) MarshalTo(dAtA []byte) (int, error) + func (m *StringEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StringEvent) Reset() + func (m *StringEvent) Size() (n int) + func (m *StringEvent) Unmarshal(dAtA []byte) error + func (m *StringEvent) XXX_DiscardUnknown() + func (m *StringEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StringEvent) XXX_Merge(src proto.Message) + func (m *StringEvent) XXX_Size() int + func (m *StringEvent) XXX_Unmarshal(b []byte) error + func (this *StringEvent) String() string + type StringEvents []StringEvent + func StringifyEvents(events []abci.Event) StringEvents + func (se StringEvents) Flatten() StringEvents + func (se StringEvents) String() string + type Tx interface + GetMsgs func() []Msg + ValidateBasic func() error + type TxEncoder func(tx Tx) ([]byte, error) + type TxMsgData struct + Data []*MsgData + func (*TxMsgData) Descriptor() ([]byte, []int) + func (*TxMsgData) ProtoMessage() + func (m *TxMsgData) GetData() []*MsgData + func (m *TxMsgData) Marshal() (dAtA []byte, err error) + func (m *TxMsgData) MarshalTo(dAtA []byte) (int, error) + func (m *TxMsgData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxMsgData) Reset() + func (m *TxMsgData) Size() (n int) + func (m *TxMsgData) Unmarshal(dAtA []byte) error + func (m *TxMsgData) XXX_DiscardUnknown() + func (m *TxMsgData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxMsgData) XXX_Merge(src proto.Message) + func (m *TxMsgData) XXX_Size() int + func (m *TxMsgData) XXX_Unmarshal(b []byte) error + func (this *TxMsgData) String() string + type TxResponse struct + Code uint32 + Codespace string + Data string + Events []types1.Event + GasUsed int64 + GasWanted int64 + Height int64 + Info string + Logs ABCIMessageLogs + RawLog string + Timestamp string + Tx *types.Any + TxHash string + func NewResponseFormatBroadcastTx(res *ctypes.ResultBroadcastTx) *TxResponse + func NewResponseFormatBroadcastTxCommit(res *ctypes.ResultBroadcastTxCommit) *TxResponse + func NewResponseResultTx(res *ctypes.ResultTx, anyTx *codectypes.Any, timestamp string) *TxResponse + func (*TxResponse) Descriptor() ([]byte, []int) + func (*TxResponse) ProtoMessage() + func (m *TxResponse) Marshal() (dAtA []byte, err error) + func (m *TxResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxResponse) Reset() + func (m *TxResponse) Size() (n int) + func (m *TxResponse) Unmarshal(dAtA []byte) error + func (m *TxResponse) XXX_DiscardUnknown() + func (m *TxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxResponse) XXX_Merge(src proto.Message) + func (m *TxResponse) XXX_Size() int + func (m *TxResponse) XXX_Unmarshal(b []byte) error + func (r TxResponse) Empty() bool + func (r TxResponse) GetTx() costypes.Tx + func (r TxResponse) String() string + func (r TxResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type TxWithMemo interface + GetMemo func() string + type TxWithTimeoutHeight interface + GetTimeoutHeight func() uint64