Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type ChainMeta
- func (*ChainMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ChainMeta) GetChainHeights() []uint64
- func (x *ChainMeta) GetLastAppliedChainHeight() uint64
- func (x *ChainMeta) GetMedianIndex() uint64
- func (x *ChainMeta) GetObservedChainId() string
- func (x *ChainMeta) GetPrices() []uint64
- func (x *ChainMeta) GetSigners() []string
- func (x *ChainMeta) GetStoredAts() []uint64
- func (*ChainMeta) ProtoMessage()
- func (x *ChainMeta) ProtoReflect() protoreflect.Message
- func (x *ChainMeta) Reset()
- func (x *ChainMeta) String() string
- type ChainMetaEntry
- func (*ChainMetaEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ChainMetaEntry) GetKey() string
- func (x *ChainMetaEntry) GetValue() *ChainMeta
- func (*ChainMetaEntry) ProtoMessage()
- func (x *ChainMetaEntry) ProtoReflect() protoreflect.Message
- func (x *ChainMetaEntry) Reset()
- func (x *ChainMetaEntry) String() string
- type GasPrice
- func (*GasPrice) Descriptor() ([]byte, []int)deprecated
- func (x *GasPrice) GetBlockNums() []uint64
- func (x *GasPrice) GetMedianIndex() uint64
- func (x *GasPrice) GetObservedChainId() string
- func (x *GasPrice) GetPrices() []uint64
- func (x *GasPrice) GetSigners() []string
- func (*GasPrice) ProtoMessage()
- func (x *GasPrice) ProtoReflect() protoreflect.Message
- func (x *GasPrice) Reset()
- func (x *GasPrice) String() string
- type GasPriceEntry
- func (*GasPriceEntry) Descriptor() ([]byte, []int)deprecated
- func (x *GasPriceEntry) GetKey() string
- func (x *GasPriceEntry) GetValue() *GasPrice
- func (*GasPriceEntry) ProtoMessage()
- func (x *GasPriceEntry) ProtoReflect() protoreflect.Message
- func (x *GasPriceEntry) Reset()
- func (x *GasPriceEntry) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetChainMetas() []*ChainMetaEntry
- func (x *GenesisState) GetExported() bool
- func (x *GenesisState) GetGasPrices() []*GasPriceEntry
- func (x *GenesisState) GetModuleAccountNonce() uint64
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPendingInbounds() []string
- func (x *GenesisState) GetPendingOutbounds() []*PendingOutboundEntry
- func (x *GenesisState) GetUniversalTxs() []*UniversalTxEntry
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type Inbound
- func (*Inbound) Descriptor() ([]byte, []int)deprecated
- func (x *Inbound) GetAmount() string
- func (x *Inbound) GetAssetAddr() string
- func (x *Inbound) GetIsCEA() bool
- func (x *Inbound) GetLogIndex() string
- func (x *Inbound) GetRawPayload() string
- func (x *Inbound) GetRecipient() string
- func (x *Inbound) GetRevertInstructions() *RevertInstructions
- func (x *Inbound) GetSender() string
- func (x *Inbound) GetSourceChain() string
- func (x *Inbound) GetTxHash() string
- func (x *Inbound) GetTxType() TxType
- func (x *Inbound) GetUniversalPayload() *UniversalPayload
- func (x *Inbound) GetVerificationData() string
- func (*Inbound) ProtoMessage()
- func (x *Inbound) ProtoReflect() protoreflect.Message
- func (x *Inbound) Reset()
- func (x *Inbound) String() string
- type InboundLegacy
- func (*InboundLegacy) Descriptor() ([]byte, []int)deprecated
- func (x *InboundLegacy) GetAmount() string
- func (x *InboundLegacy) GetAssetAddr() string
- func (x *InboundLegacy) GetLogIndex() string
- func (x *InboundLegacy) GetRecipient() string
- func (x *InboundLegacy) GetSender() string
- func (x *InboundLegacy) GetSourceChain() string
- func (x *InboundLegacy) GetTxHash() string
- func (x *InboundLegacy) GetTxType() InboundTxTypeLegacy
- func (x *InboundLegacy) GetUniversalPayload() *UniversalPayload
- func (x *InboundLegacy) GetVerificationData() string
- func (*InboundLegacy) ProtoMessage()
- func (x *InboundLegacy) ProtoReflect() protoreflect.Message
- func (x *InboundLegacy) Reset()
- func (x *InboundLegacy) String() string
- type InboundTxTypeLegacy
- func (InboundTxTypeLegacy) Descriptor() protoreflect.EnumDescriptor
- func (x InboundTxTypeLegacy) Enum() *InboundTxTypeLegacy
- func (InboundTxTypeLegacy) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboundTxTypeLegacy) Number() protoreflect.EnumNumber
- func (x InboundTxTypeLegacy) String() string
- func (InboundTxTypeLegacy) Type() protoreflect.EnumType
- type MigrationPayload
- func (*MigrationPayload) Descriptor() ([]byte, []int)deprecated
- func (x *MigrationPayload) GetDeadline() string
- func (x *MigrationPayload) GetMigration() string
- func (x *MigrationPayload) GetNonce() string
- func (*MigrationPayload) ProtoMessage()
- func (x *MigrationPayload) ProtoReflect() protoreflect.Message
- func (x *MigrationPayload) Reset()
- func (x *MigrationPayload) String() string
- type MsgClient
- type MsgExecutePayload
- func (*MsgExecutePayload) Descriptor() ([]byte, []int)deprecated
- func (x *MsgExecutePayload) GetSigner() string
- func (x *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId
- func (x *MsgExecutePayload) GetUniversalPayload() *UniversalPayload
- func (x *MsgExecutePayload) GetVerificationData() string
- func (*MsgExecutePayload) ProtoMessage()
- func (x *MsgExecutePayload) ProtoReflect() protoreflect.Message
- func (x *MsgExecutePayload) Reset()
- func (x *MsgExecutePayload) String() string
- type MsgExecutePayloadResponse
- type MsgMigrateUEA
- func (*MsgMigrateUEA) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMigrateUEA) GetMigrationPayload() *MigrationPayload
- func (x *MsgMigrateUEA) GetSignature() string
- func (x *MsgMigrateUEA) GetSigner() string
- func (x *MsgMigrateUEA) GetUniversalAccountId() *UniversalAccountId
- func (*MsgMigrateUEA) ProtoMessage()
- func (x *MsgMigrateUEA) ProtoReflect() protoreflect.Message
- func (x *MsgMigrateUEA) Reset()
- func (x *MsgMigrateUEA) String() string
- type MsgMigrateUEAResponse
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgVoteChainMeta
- func (*MsgVoteChainMeta) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVoteChainMeta) GetChainHeight() uint64
- func (x *MsgVoteChainMeta) GetObservedChainId() string
- func (x *MsgVoteChainMeta) GetPrice() uint64
- func (x *MsgVoteChainMeta) GetSigner() string
- func (*MsgVoteChainMeta) ProtoMessage()
- func (x *MsgVoteChainMeta) ProtoReflect() protoreflect.Message
- func (x *MsgVoteChainMeta) Reset()
- func (x *MsgVoteChainMeta) String() string
- type MsgVoteChainMetaResponse
- type MsgVoteInbound
- func (*MsgVoteInbound) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVoteInbound) GetInbound() *Inbound
- func (x *MsgVoteInbound) GetSigner() string
- func (*MsgVoteInbound) ProtoMessage()
- func (x *MsgVoteInbound) ProtoReflect() protoreflect.Message
- func (x *MsgVoteInbound) Reset()
- func (x *MsgVoteInbound) String() string
- type MsgVoteInboundResponse
- type MsgVoteOutbound
- func (*MsgVoteOutbound) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVoteOutbound) GetObservedTx() *OutboundObservation
- func (x *MsgVoteOutbound) GetSigner() string
- func (x *MsgVoteOutbound) GetTxId() string
- func (x *MsgVoteOutbound) GetUtxId() string
- func (*MsgVoteOutbound) ProtoMessage()
- func (x *MsgVoteOutbound) ProtoReflect() protoreflect.Message
- func (x *MsgVoteOutbound) Reset()
- func (x *MsgVoteOutbound) String() string
- type MsgVoteOutboundResponse
- type OriginatingPcTx
- func (*OriginatingPcTx) Descriptor() ([]byte, []int)deprecated
- func (x *OriginatingPcTx) GetLogIndex() string
- func (x *OriginatingPcTx) GetTxHash() string
- func (*OriginatingPcTx) ProtoMessage()
- func (x *OriginatingPcTx) ProtoReflect() protoreflect.Message
- func (x *OriginatingPcTx) Reset()
- func (x *OriginatingPcTx) String() string
- type OutboundObservation
- func (*OutboundObservation) Descriptor() ([]byte, []int)deprecated
- func (x *OutboundObservation) GetBlockHeight() uint64
- func (x *OutboundObservation) GetErrorMsg() string
- func (x *OutboundObservation) GetGasFeeUsed() string
- func (x *OutboundObservation) GetSuccess() bool
- func (x *OutboundObservation) GetTxHash() string
- func (*OutboundObservation) ProtoMessage()
- func (x *OutboundObservation) ProtoReflect() protoreflect.Message
- func (x *OutboundObservation) Reset()
- func (x *OutboundObservation) String() string
- type OutboundTx
- func (*OutboundTx) Descriptor() ([]byte, []int)deprecated
- func (x *OutboundTx) GetAbortReason() string
- func (x *OutboundTx) GetAmount() string
- func (x *OutboundTx) GetDestinationChain() string
- func (x *OutboundTx) GetExternalAssetAddr() string
- func (x *OutboundTx) GetGasFee() string
- func (x *OutboundTx) GetGasLimit() string
- func (x *OutboundTx) GetGasPrice() string
- func (x *OutboundTx) GetGasToken() string
- func (x *OutboundTx) GetId() string
- func (x *OutboundTx) GetObservedTx() *OutboundObservation
- func (x *OutboundTx) GetOutboundStatus() Status
- func (x *OutboundTx) GetPayload() string
- func (x *OutboundTx) GetPcRefundExecution() *PCTx
- func (x *OutboundTx) GetPcRevertExecution() *PCTx
- func (x *OutboundTx) GetPcTx() *OriginatingPcTx
- func (x *OutboundTx) GetPrc20AssetAddr() string
- func (x *OutboundTx) GetRecipient() string
- func (x *OutboundTx) GetRefundSwapError() string
- func (x *OutboundTx) GetRevertInstructions() *RevertInstructions
- func (x *OutboundTx) GetSender() string
- func (x *OutboundTx) GetTxType() TxType
- func (*OutboundTx) ProtoMessage()
- func (x *OutboundTx) ProtoReflect() protoreflect.Message
- func (x *OutboundTx) Reset()
- func (x *OutboundTx) String() string
- type OutboundTxLegacy
- func (*OutboundTxLegacy) Descriptor() ([]byte, []int)deprecated
- func (x *OutboundTxLegacy) GetAmount() string
- func (x *OutboundTxLegacy) GetAssetAddr() string
- func (x *OutboundTxLegacy) GetDestinationChain() string
- func (x *OutboundTxLegacy) GetRecipient() string
- func (x *OutboundTxLegacy) GetTxHash() string
- func (*OutboundTxLegacy) ProtoMessage()
- func (x *OutboundTxLegacy) ProtoReflect() protoreflect.Message
- func (x *OutboundTxLegacy) Reset()
- func (x *OutboundTxLegacy) String() string
- type PCTx
- func (*PCTx) Descriptor() ([]byte, []int)deprecated
- func (x *PCTx) GetBlockHeight() uint64
- func (x *PCTx) GetErrorMsg() string
- func (x *PCTx) GetGasUsed() uint64
- func (x *PCTx) GetSender() string
- func (x *PCTx) GetStatus() string
- func (x *PCTx) GetTxHash() string
- func (*PCTx) ProtoMessage()
- func (x *PCTx) ProtoReflect() protoreflect.Message
- func (x *PCTx) Reset()
- func (x *PCTx) String() string
- type Params
- type PendingOutboundEntry
- func (*PendingOutboundEntry) Descriptor() ([]byte, []int)deprecated
- func (x *PendingOutboundEntry) GetCreatedAt() int64
- func (x *PendingOutboundEntry) GetOutboundId() string
- func (x *PendingOutboundEntry) GetUniversalTxId() string
- func (*PendingOutboundEntry) ProtoMessage()
- func (x *PendingOutboundEntry) ProtoReflect() protoreflect.Message
- func (x *PendingOutboundEntry) Reset()
- func (x *PendingOutboundEntry) String() string
- type QueryAllChainMetasRequest
- func (*QueryAllChainMetasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllChainMetasRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllChainMetasRequest) ProtoMessage()
- func (x *QueryAllChainMetasRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllChainMetasRequest) Reset()
- func (x *QueryAllChainMetasRequest) String() string
- type QueryAllChainMetasResponse
- func (*QueryAllChainMetasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllChainMetasResponse) GetChainMetas() []*ChainMeta
- func (x *QueryAllChainMetasResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllChainMetasResponse) ProtoMessage()
- func (x *QueryAllChainMetasResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllChainMetasResponse) Reset()
- func (x *QueryAllChainMetasResponse) String() string
- type QueryAllGasPricesRequest
- func (*QueryAllGasPricesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllGasPricesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllGasPricesRequest) ProtoMessage()
- func (x *QueryAllGasPricesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllGasPricesRequest) Reset()
- func (x *QueryAllGasPricesRequest) String() string
- type QueryAllGasPricesResponse
- func (*QueryAllGasPricesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice
- func (x *QueryAllGasPricesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllGasPricesResponse) ProtoMessage()
- func (x *QueryAllGasPricesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllGasPricesResponse) Reset()
- func (x *QueryAllGasPricesResponse) String() string
- type QueryAllPendingInboundsRequest
- func (*QueryAllPendingInboundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingInboundsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllPendingInboundsRequest) ProtoMessage()
- func (x *QueryAllPendingInboundsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingInboundsRequest) Reset()
- func (x *QueryAllPendingInboundsRequest) String() string
- type QueryAllPendingInboundsResponse
- func (*QueryAllPendingInboundsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingInboundsResponse) GetInboundIds() []string
- func (x *QueryAllPendingInboundsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllPendingInboundsResponse) ProtoMessage()
- func (x *QueryAllPendingInboundsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingInboundsResponse) Reset()
- func (x *QueryAllPendingInboundsResponse) String() string
- type QueryAllPendingOutboundsRequest
- func (*QueryAllPendingOutboundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingOutboundsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllPendingOutboundsRequest) ProtoMessage()
- func (x *QueryAllPendingOutboundsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingOutboundsRequest) Reset()
- func (x *QueryAllPendingOutboundsRequest) String() string
- type QueryAllPendingOutboundsResponse
- func (*QueryAllPendingOutboundsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingOutboundsResponse) GetEntries() []*PendingOutboundEntry
- func (x *QueryAllPendingOutboundsResponse) GetOutbounds() []*OutboundTx
- func (x *QueryAllPendingOutboundsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllPendingOutboundsResponse) ProtoMessage()
- func (x *QueryAllPendingOutboundsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingOutboundsResponse) Reset()
- func (x *QueryAllPendingOutboundsResponse) String() string
- type QueryAllUniversalTxRequest
- func (*QueryAllUniversalTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUniversalTxRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllUniversalTxRequest) ProtoMessage()
- func (x *QueryAllUniversalTxRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllUniversalTxRequest) Reset()
- func (x *QueryAllUniversalTxRequest) String() string
- type QueryAllUniversalTxResponse
- func (*QueryAllUniversalTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUniversalTxResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx
- func (*QueryAllUniversalTxResponse) ProtoMessage()
- func (x *QueryAllUniversalTxResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllUniversalTxResponse) Reset()
- func (x *QueryAllUniversalTxResponse) String() string
- type QueryChainMetaRequest
- func (*QueryChainMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChainMetaRequest) GetChainId() string
- func (*QueryChainMetaRequest) ProtoMessage()
- func (x *QueryChainMetaRequest) ProtoReflect() protoreflect.Message
- func (x *QueryChainMetaRequest) Reset()
- func (x *QueryChainMetaRequest) String() string
- type QueryChainMetaResponse
- func (*QueryChainMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChainMetaResponse) GetChainMeta() *ChainMeta
- func (*QueryChainMetaResponse) ProtoMessage()
- func (x *QueryChainMetaResponse) ProtoReflect() protoreflect.Message
- func (x *QueryChainMetaResponse) Reset()
- func (x *QueryChainMetaResponse) String() string
- type QueryClient
- type QueryGasPriceRequest
- func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGasPriceRequest) GetChainId() string
- func (*QueryGasPriceRequest) ProtoMessage()
- func (x *QueryGasPriceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGasPriceRequest) Reset()
- func (x *QueryGasPriceRequest) String() string
- type QueryGasPriceResponse
- func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGasPriceResponse) GetGasPrice() *GasPrice
- func (*QueryGasPriceResponse) ProtoMessage()
- func (x *QueryGasPriceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGasPriceResponse) Reset()
- func (x *QueryGasPriceResponse) String() string
- type QueryGetPendingOutboundRequest
- func (*QueryGetPendingOutboundRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetPendingOutboundRequest) GetOutboundId() string
- func (*QueryGetPendingOutboundRequest) ProtoMessage()
- func (x *QueryGetPendingOutboundRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetPendingOutboundRequest) Reset()
- func (x *QueryGetPendingOutboundRequest) String() string
- type QueryGetPendingOutboundResponse
- func (*QueryGetPendingOutboundResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetPendingOutboundResponse) GetEntry() *PendingOutboundEntry
- func (x *QueryGetPendingOutboundResponse) GetOutbound() *OutboundTx
- func (*QueryGetPendingOutboundResponse) ProtoMessage()
- func (x *QueryGetPendingOutboundResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetPendingOutboundResponse) Reset()
- func (x *QueryGetPendingOutboundResponse) String() string
- type QueryGetUniversalTxRequest
- func (*QueryGetUniversalTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUniversalTxRequest) GetId() string
- func (*QueryGetUniversalTxRequest) ProtoMessage()
- func (x *QueryGetUniversalTxRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetUniversalTxRequest) Reset()
- func (x *QueryGetUniversalTxRequest) String() string
- type QueryGetUniversalTxResponse
- func (*QueryGetUniversalTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTxLegacy
- func (*QueryGetUniversalTxResponse) ProtoMessage()
- func (x *QueryGetUniversalTxResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetUniversalTxResponse) Reset()
- func (x *QueryGetUniversalTxResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type RevertInstructions
- func (*RevertInstructions) Descriptor() ([]byte, []int)deprecated
- func (x *RevertInstructions) GetFundRecipient() string
- func (*RevertInstructions) ProtoMessage()
- func (x *RevertInstructions) ProtoReflect() protoreflect.Message
- func (x *RevertInstructions) Reset()
- func (x *RevertInstructions) String() string
- type Status
- type TxType
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
- func (UnimplementedMsgServer) MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) VoteChainMeta(context.Context, *MsgVoteChainMeta) (*MsgVoteChainMetaResponse, error)
- func (UnimplementedMsgServer) VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
- func (UnimplementedMsgServer) VoteOutbound(context.Context, *MsgVoteOutbound) (*MsgVoteOutboundResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllChainMetas(context.Context, *QueryAllChainMetasRequest) (*QueryAllChainMetasResponse, error)
- func (UnimplementedQueryServer) AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
- func (UnimplementedQueryServer) AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
- func (UnimplementedQueryServer) AllPendingOutbounds(context.Context, *QueryAllPendingOutboundsRequest) (*QueryAllPendingOutboundsResponse, error)
- func (UnimplementedQueryServer) AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
- func (UnimplementedQueryServer) ChainMeta(context.Context, *QueryChainMetaRequest) (*QueryChainMetaResponse, error)
- func (UnimplementedQueryServer) GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
- func (UnimplementedQueryServer) GetPendingOutbound(context.Context, *QueryGetPendingOutboundRequest) (*QueryGetPendingOutboundResponse, error)
- func (UnimplementedQueryServer) GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UniversalAccountId
- func (*UniversalAccountId) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalAccountId) GetChainId() string
- func (x *UniversalAccountId) GetChainNamespace() string
- func (x *UniversalAccountId) GetOwner() string
- func (*UniversalAccountId) ProtoMessage()
- func (x *UniversalAccountId) ProtoReflect() protoreflect.Message
- func (x *UniversalAccountId) Reset()
- func (x *UniversalAccountId) String() string
- type UniversalPayload
- func (*UniversalPayload) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalPayload) GetData() string
- func (x *UniversalPayload) GetDeadline() string
- func (x *UniversalPayload) GetGasLimit() string
- func (x *UniversalPayload) GetMaxFeePerGas() string
- func (x *UniversalPayload) GetMaxPriorityFeePerGas() string
- func (x *UniversalPayload) GetNonce() string
- func (x *UniversalPayload) GetTo() string
- func (x *UniversalPayload) GetVType() VerificationType
- func (x *UniversalPayload) GetValue() string
- func (*UniversalPayload) ProtoMessage()
- func (x *UniversalPayload) ProtoReflect() protoreflect.Message
- func (x *UniversalPayload) Reset()
- func (x *UniversalPayload) String() string
- type UniversalTx
- func (*UniversalTx) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalTx) GetId() string
- func (x *UniversalTx) GetInboundTx() *Inbound
- func (x *UniversalTx) GetOutboundTx() []*OutboundTx
- func (x *UniversalTx) GetPcTx() []*PCTx
- func (x *UniversalTx) GetRevertError() string
- func (*UniversalTx) ProtoMessage()
- func (x *UniversalTx) ProtoReflect() protoreflect.Message
- func (x *UniversalTx) Reset()
- func (x *UniversalTx) String() string
- type UniversalTxEntry
- func (*UniversalTxEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalTxEntry) GetKey() string
- func (x *UniversalTxEntry) GetValue() *UniversalTx
- func (*UniversalTxEntry) ProtoMessage()
- func (x *UniversalTxEntry) ProtoReflect() protoreflect.Message
- func (x *UniversalTxEntry) Reset()
- func (x *UniversalTxEntry) String() string
- type UniversalTxLegacy
- func (*UniversalTxLegacy) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalTxLegacy) GetInboundTx() *InboundLegacy
- func (x *UniversalTxLegacy) GetOutboundTx() *OutboundTxLegacy
- func (x *UniversalTxLegacy) GetPcTx() []*PCTx
- func (x *UniversalTxLegacy) GetUniversalStatus() UniversalTxStatus
- func (*UniversalTxLegacy) ProtoMessage()
- func (x *UniversalTxLegacy) ProtoReflect() protoreflect.Message
- func (x *UniversalTxLegacy) Reset()
- func (x *UniversalTxLegacy) String() string
- type UniversalTxStatus
- func (UniversalTxStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UniversalTxStatus) Enum() *UniversalTxStatus
- func (UniversalTxStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x UniversalTxStatus) Number() protoreflect.EnumNumber
- func (x UniversalTxStatus) String() string
- func (UniversalTxStatus) Type() protoreflect.EnumType
- type UnsafeMsgServer
- type UnsafeQueryServer
- type VerificationType
- func (VerificationType) Descriptor() protoreflect.EnumDescriptor
- func (x VerificationType) Enum() *VerificationType
- func (VerificationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VerificationType) Number() protoreflect.EnumNumber
- func (x VerificationType) String() string
- func (VerificationType) Type() protoreflect.EnumType
Constants ¶
const ( Query_Params_FullMethodName = "/uexecutor.v1.Query/Params" Query_AllPendingInbounds_FullMethodName = "/uexecutor.v1.Query/AllPendingInbounds" Query_GetUniversalTx_FullMethodName = "/uexecutor.v1.Query/GetUniversalTx" Query_AllUniversalTx_FullMethodName = "/uexecutor.v1.Query/AllUniversalTx" Query_GasPrice_FullMethodName = "/uexecutor.v1.Query/GasPrice" Query_AllGasPrices_FullMethodName = "/uexecutor.v1.Query/AllGasPrices" Query_ChainMeta_FullMethodName = "/uexecutor.v1.Query/ChainMeta" Query_AllChainMetas_FullMethodName = "/uexecutor.v1.Query/AllChainMetas" Query_GetPendingOutbound_FullMethodName = "/uexecutor.v1.Query/GetPendingOutbound" Query_AllPendingOutbounds_FullMethodName = "/uexecutor.v1.Query/AllPendingOutbounds" )
const ( Msg_UpdateParams_FullMethodName = "/uexecutor.v1.Msg/UpdateParams" Msg_ExecutePayload_FullMethodName = "/uexecutor.v1.Msg/ExecutePayload" Msg_MigrateUEA_FullMethodName = "/uexecutor.v1.Msg/MigrateUEA" Msg_VoteInbound_FullMethodName = "/uexecutor.v1.Msg/VoteInbound" Msg_VoteOutbound_FullMethodName = "/uexecutor.v1.Msg/VoteOutbound" Msg_VoteChainMeta_FullMethodName = "/uexecutor.v1.Msg/VoteChainMeta" )
Variables ¶
var ( VerificationType_name = map[int32]string{ 0: "signedVerification", 1: "universalTxVerification", } VerificationType_value = map[string]int32{ "signedVerification": 0, "universalTxVerification": 1, } )
Enum value maps for VerificationType.
var ( UniversalTxStatus_name = map[int32]string{ 0: "UNIVERSAL_TX_STATUS_UNSPECIFIED", 1: "INBOUND_SUCCESS", 2: "PENDING_INBOUND_EXECUTION", 3: "PC_EXECUTED_SUCCESS", 4: "PC_EXECUTED_FAILED", 5: "PC_PENDING_REVERT", 6: "OUTBOUND_PENDING", 7: "OUTBOUND_SUCCESS", 8: "OUTBOUND_FAILED", 9: "CANCELED", } UniversalTxStatus_value = map[string]int32{ "UNIVERSAL_TX_STATUS_UNSPECIFIED": 0, "INBOUND_SUCCESS": 1, "PENDING_INBOUND_EXECUTION": 2, "PC_EXECUTED_SUCCESS": 3, "PC_EXECUTED_FAILED": 4, "PC_PENDING_REVERT": 5, "OUTBOUND_PENDING": 6, "OUTBOUND_SUCCESS": 7, "OUTBOUND_FAILED": 8, "CANCELED": 9, } )
Enum value maps for UniversalTxStatus.
var ( Status_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PENDING", 2: "OBSERVED", 3: "REVERTED", 4: "ABORTED", } Status_value = map[string]int32{ "UNSPECIFIED": 0, "PENDING": 1, "OBSERVED": 2, "REVERTED": 3, "ABORTED": 4, } )
Enum value maps for Status.
var ( TxType_name = map[int32]string{ 0: "UNSPECIFIED_TX", 1: "GAS", 2: "GAS_AND_PAYLOAD", 3: "FUNDS", 4: "FUNDS_AND_PAYLOAD", 5: "PAYLOAD", 6: "INBOUND_REVERT", 7: "RESCUE_FUNDS", } TxType_value = map[string]int32{ "UNSPECIFIED_TX": 0, "GAS": 1, "GAS_AND_PAYLOAD": 2, "FUNDS": 3, "FUNDS_AND_PAYLOAD": 4, "PAYLOAD": 5, "INBOUND_REVERT": 6, "RESCUE_FUNDS": 7, } )
Enum value maps for TxType.
var ( InboundTxTypeLegacy_name = map[int32]string{ 0: "INBOUND_LEGACY_UNSPECIFIED_TX", 1: "INBOUND_LEGACY_GAS", 2: "INBOUND_LEGACY_FUNDS", 3: "INBOUND_LEGACY_FUNDS_AND_PAYLOAD", 4: "INBOUND_LEGACY_GAS_AND_PAYLOAD", } InboundTxTypeLegacy_value = map[string]int32{ "INBOUND_LEGACY_UNSPECIFIED_TX": 0, "INBOUND_LEGACY_GAS": 1, "INBOUND_LEGACY_FUNDS": 2, "INBOUND_LEGACY_FUNDS_AND_PAYLOAD": 3, "INBOUND_LEGACY_GAS_AND_PAYLOAD": 4, } )
Enum value maps for InboundTxTypeLegacy.
var File_uexecutor_v1_chain_meta_proto protoreflect.FileDescriptor
var File_uexecutor_v1_gas_price_proto protoreflect.FileDescriptor
var File_uexecutor_v1_genesis_proto protoreflect.FileDescriptor
var File_uexecutor_v1_query_proto protoreflect.FileDescriptor
var File_uexecutor_v1_tx_proto protoreflect.FileDescriptor
var File_uexecutor_v1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "uexecutor.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "ExecutePayload", Handler: _Msg_ExecutePayload_Handler, }, { MethodName: "MigrateUEA", Handler: _Msg_MigrateUEA_Handler, }, { MethodName: "VoteInbound", Handler: _Msg_VoteInbound_Handler, }, { MethodName: "VoteOutbound", Handler: _Msg_VoteOutbound_Handler, }, { MethodName: "VoteChainMeta", Handler: _Msg_VoteChainMeta_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "uexecutor/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "uexecutor.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "AllPendingInbounds", Handler: _Query_AllPendingInbounds_Handler, }, { MethodName: "GetUniversalTx", Handler: _Query_GetUniversalTx_Handler, }, { MethodName: "AllUniversalTx", Handler: _Query_AllUniversalTx_Handler, }, { MethodName: "GasPrice", Handler: _Query_GasPrice_Handler, }, { MethodName: "AllGasPrices", Handler: _Query_AllGasPrices_Handler, }, { MethodName: "ChainMeta", Handler: _Query_ChainMeta_Handler, }, { MethodName: "AllChainMetas", Handler: _Query_AllChainMetas_Handler, }, { MethodName: "GetPendingOutbound", Handler: _Query_GetPendingOutbound_Handler, }, { MethodName: "AllPendingOutbounds", Handler: _Query_AllPendingOutbounds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "uexecutor/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type ChainMeta ¶ added in v0.0.19
type ChainMeta struct {
ObservedChainId string `protobuf:"bytes,1,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"` // chain ID of observed external chain (e.g. "eip155:1" for ethereum mainnet)
Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` // Validators who submitted votes
Prices []uint64 `protobuf:"varint,3,rep,packed,name=prices,proto3" json:"prices,omitempty"` // Submitted gas prices
ChainHeights []uint64 `protobuf:"varint,4,rep,packed,name=chain_heights,json=chainHeights,proto3" json:"chain_heights,omitempty"` // Block heights corresponding to each price observation
StoredAts []uint64 `protobuf:"varint,5,rep,packed,name=stored_ats,json=storedAts,proto3" json:"stored_ats,omitempty"` // Block time (unix seconds) when each vote was last stored/updated
MedianIndex uint64 `protobuf:"varint,6,opt,name=median_index,json=medianIndex,proto3" json:"median_index,omitempty"` // Index of the median price in 'prices'
LastAppliedChainHeight uint64 `` // Chain height of last successful EVM setChainMeta call
/* 132-byte string literal not displayed */
// contains filtered or unexported fields
}
ChainMeta stores aggregated chain metadata (gas price + block height) for a given chain
func (*ChainMeta) Descriptor
deprecated
added in
v0.0.19
func (*ChainMeta) GetChainHeights ¶ added in v0.0.19
func (*ChainMeta) GetLastAppliedChainHeight ¶ added in v0.0.19
func (*ChainMeta) GetMedianIndex ¶ added in v0.0.19
func (*ChainMeta) GetObservedChainId ¶ added in v0.0.19
func (*ChainMeta) GetSigners ¶ added in v0.0.19
func (*ChainMeta) GetStoredAts ¶ added in v0.0.19
func (*ChainMeta) ProtoMessage ¶ added in v0.0.19
func (*ChainMeta) ProtoMessage()
func (*ChainMeta) ProtoReflect ¶ added in v0.0.19
func (x *ChainMeta) ProtoReflect() protoreflect.Message
type ChainMetaEntry ¶ added in v0.0.23
type ChainMetaEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *ChainMeta `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
ChainMetaEntry is a key-value pair for exporting ChainMetas map state.
func (*ChainMetaEntry) Descriptor
deprecated
added in
v0.0.23
func (*ChainMetaEntry) Descriptor() ([]byte, []int)
Deprecated: Use ChainMetaEntry.ProtoReflect.Descriptor instead.
func (*ChainMetaEntry) GetKey ¶ added in v0.0.23
func (x *ChainMetaEntry) GetKey() string
func (*ChainMetaEntry) GetValue ¶ added in v0.0.23
func (x *ChainMetaEntry) GetValue() *ChainMeta
func (*ChainMetaEntry) ProtoMessage ¶ added in v0.0.23
func (*ChainMetaEntry) ProtoMessage()
func (*ChainMetaEntry) ProtoReflect ¶ added in v0.0.23
func (x *ChainMetaEntry) ProtoReflect() protoreflect.Message
func (*ChainMetaEntry) Reset ¶ added in v0.0.23
func (x *ChainMetaEntry) Reset()
func (*ChainMetaEntry) String ¶ added in v0.0.23
func (x *ChainMetaEntry) String() string
type GasPrice ¶
type GasPrice struct {
ObservedChainId string `protobuf:"bytes,1,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"` // chain ID of observed external chain (e.g. "1" for ethereum mainnet)
Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` // Validators who submitted votes
BlockNums []uint64 `protobuf:"varint,3,rep,packed,name=block_nums,json=blockNums,proto3" json:"block_nums,omitempty"` // Block numbers corresponding to each price
Prices []uint64 `protobuf:"varint,4,rep,packed,name=prices,proto3" json:"prices,omitempty"` // Submitted gas prices
MedianIndex uint64 `protobuf:"varint,5,opt,name=median_index,json=medianIndex,proto3" json:"median_index,omitempty"` // Index of the median price in 'prices'
// contains filtered or unexported fields
}
GasPrice stores aggregated gas price data for a given chain
func (*GasPrice) Descriptor
deprecated
func (*GasPrice) GetBlockNums ¶
func (*GasPrice) GetMedianIndex ¶
func (*GasPrice) GetObservedChainId ¶
func (*GasPrice) GetSigners ¶
func (*GasPrice) ProtoMessage ¶
func (*GasPrice) ProtoMessage()
func (*GasPrice) ProtoReflect ¶
func (x *GasPrice) ProtoReflect() protoreflect.Message
type GasPriceEntry ¶ added in v0.0.23
type GasPriceEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *GasPrice `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
GasPriceEntry is a key-value pair for exporting GasPrices map state.
func (*GasPriceEntry) Descriptor
deprecated
added in
v0.0.23
func (*GasPriceEntry) Descriptor() ([]byte, []int)
Deprecated: Use GasPriceEntry.ProtoReflect.Descriptor instead.
func (*GasPriceEntry) GetKey ¶ added in v0.0.23
func (x *GasPriceEntry) GetKey() string
func (*GasPriceEntry) GetValue ¶ added in v0.0.23
func (x *GasPriceEntry) GetValue() *GasPrice
func (*GasPriceEntry) ProtoMessage ¶ added in v0.0.23
func (*GasPriceEntry) ProtoMessage()
func (*GasPriceEntry) ProtoReflect ¶ added in v0.0.23
func (x *GasPriceEntry) ProtoReflect() protoreflect.Message
func (*GasPriceEntry) Reset ¶ added in v0.0.23
func (x *GasPriceEntry) Reset()
func (*GasPriceEntry) String ¶ added in v0.0.23
func (x *GasPriceEntry) String() string
type GenesisState ¶
type GenesisState struct {
// Params defines all the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// pending_inbounds are the keys from the PendingInbounds KeySet.
PendingInbounds []string `protobuf:"bytes,2,rep,name=pending_inbounds,json=pendingInbounds,proto3" json:"pending_inbounds,omitempty"`
// universal_txs are key-value pairs from the UniversalTx Map.
UniversalTxs []*UniversalTxEntry `protobuf:"bytes,3,rep,name=universal_txs,json=universalTxs,proto3" json:"universal_txs,omitempty"`
// module_account_nonce is the value from the ModuleAccountNonce Item.
ModuleAccountNonce uint64 `protobuf:"varint,4,opt,name=module_account_nonce,json=moduleAccountNonce,proto3" json:"module_account_nonce,omitempty"`
// gas_prices are key-value pairs from the GasPrices Map.
GasPrices []*GasPriceEntry `protobuf:"bytes,5,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
// chain_metas are key-value pairs from the ChainMetas Map.
ChainMetas []*ChainMetaEntry `protobuf:"bytes,6,rep,name=chain_metas,json=chainMetas,proto3" json:"chain_metas,omitempty"`
// exported indicates whether this genesis state was produced by an export (true)
// or is a fresh genesis (false). When true, contract deployments are skipped.
Exported bool `protobuf:"varint,7,opt,name=exported,proto3" json:"exported,omitempty"`
// pending_outbounds are entries from the PendingOutbounds index.
PendingOutbounds []*PendingOutboundEntry `protobuf:"bytes,8,rep,name=pending_outbounds,json=pendingOutbounds,proto3" json:"pending_outbounds,omitempty"`
// contains filtered or unexported fields
}
GenesisState defines the module genesis state
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetChainMetas ¶ added in v0.0.23
func (x *GenesisState) GetChainMetas() []*ChainMetaEntry
func (*GenesisState) GetExported ¶ added in v0.0.23
func (x *GenesisState) GetExported() bool
func (*GenesisState) GetGasPrices ¶ added in v0.0.23
func (x *GenesisState) GetGasPrices() []*GasPriceEntry
func (*GenesisState) GetModuleAccountNonce ¶ added in v0.0.23
func (x *GenesisState) GetModuleAccountNonce() uint64
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetPendingInbounds ¶ added in v0.0.23
func (x *GenesisState) GetPendingInbounds() []string
func (*GenesisState) GetPendingOutbounds ¶ added in v0.0.23
func (x *GenesisState) GetPendingOutbounds() []*PendingOutboundEntry
func (*GenesisState) GetUniversalTxs ¶ added in v0.0.23
func (x *GenesisState) GetUniversalTxs() []*UniversalTxEntry
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type Inbound ¶
type Inbound struct {
SourceChain string `protobuf:"bytes,1,opt,name=source_chain,json=sourceChain,proto3" json:"source_chain,omitempty"` // origin chain caip2 id (e.g. eip155:11155111)
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // unique tx hash / identifier from source chain
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // sender address on source chain
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient address on destination chain
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // synthetic token amount bridged in
AssetAddr string `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // address of erc20 token address on source chain
LogIndex string `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // log index that originated the cross chain tx
TxType TxType `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.TxType" json:"tx_type,omitempty"` // inbound tx type
UniversalPayload *UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"` // payload is the universal payload to be executed
VerificationData string `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"` // verification_data is the bytes passed as verifier data for the given payload.
RevertInstructions *RevertInstructions `protobuf:"bytes,11,opt,name=revert_instructions,json=revertInstructions,proto3" json:"revert_instructions,omitempty"` // revert config
IsCEA bool `protobuf:"varint,12,opt,name=isCEA,proto3" json:"isCEA,omitempty"` // isCEA is the boolean indicating this inbound is initiated by a CEA
RawPayload string `protobuf:"bytes,13,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"` // hex-encoded raw payload bytes from source chain event; decoded into universal_payload by the core validator
// contains filtered or unexported fields
}
func (*Inbound) Descriptor
deprecated
func (*Inbound) GetAssetAddr ¶
func (*Inbound) GetLogIndex ¶
func (*Inbound) GetRawPayload ¶ added in v0.0.23
func (*Inbound) GetRecipient ¶
func (*Inbound) GetRevertInstructions ¶ added in v0.0.13
func (x *Inbound) GetRevertInstructions() *RevertInstructions
func (*Inbound) GetSourceChain ¶
func (*Inbound) GetUniversalPayload ¶
func (x *Inbound) GetUniversalPayload() *UniversalPayload
func (*Inbound) GetVerificationData ¶
func (*Inbound) ProtoMessage ¶
func (*Inbound) ProtoMessage()
func (*Inbound) ProtoReflect ¶
func (x *Inbound) ProtoReflect() protoreflect.Message
type InboundLegacy ¶ added in v0.0.15
type InboundLegacy struct {
SourceChain string `protobuf:"bytes,1,opt,name=source_chain,json=sourceChain,proto3" json:"source_chain,omitempty"` // origin chain caip2 id (e.g. eip155:11155111)
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // unique tx hash / identifier from source chain
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // sender address on source chain
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient address on destination chain
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // synthetic token amount bridged in
AssetAddr string `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // address of erc20 token address on source chain
LogIndex string `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // log index that originated the cross chain tx
TxType InboundTxTypeLegacy `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.InboundTxTypeLegacy" json:"tx_type,omitempty"` // inbound tx type
UniversalPayload *UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"` // payload is the universal payload to be executed
VerificationData string `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"` // verification_data is the bytes passed as verifier data for the given payload.
// contains filtered or unexported fields
}
func (*InboundLegacy) Descriptor
deprecated
added in
v0.0.15
func (*InboundLegacy) Descriptor() ([]byte, []int)
Deprecated: Use InboundLegacy.ProtoReflect.Descriptor instead.
func (*InboundLegacy) GetAmount ¶ added in v0.0.15
func (x *InboundLegacy) GetAmount() string
func (*InboundLegacy) GetAssetAddr ¶ added in v0.0.15
func (x *InboundLegacy) GetAssetAddr() string
func (*InboundLegacy) GetLogIndex ¶ added in v0.0.15
func (x *InboundLegacy) GetLogIndex() string
func (*InboundLegacy) GetRecipient ¶ added in v0.0.15
func (x *InboundLegacy) GetRecipient() string
func (*InboundLegacy) GetSender ¶ added in v0.0.15
func (x *InboundLegacy) GetSender() string
func (*InboundLegacy) GetSourceChain ¶ added in v0.0.15
func (x *InboundLegacy) GetSourceChain() string
func (*InboundLegacy) GetTxHash ¶ added in v0.0.15
func (x *InboundLegacy) GetTxHash() string
func (*InboundLegacy) GetTxType ¶ added in v0.0.15
func (x *InboundLegacy) GetTxType() InboundTxTypeLegacy
func (*InboundLegacy) GetUniversalPayload ¶ added in v0.0.15
func (x *InboundLegacy) GetUniversalPayload() *UniversalPayload
func (*InboundLegacy) GetVerificationData ¶ added in v0.0.15
func (x *InboundLegacy) GetVerificationData() string
func (*InboundLegacy) ProtoMessage ¶ added in v0.0.15
func (*InboundLegacy) ProtoMessage()
func (*InboundLegacy) ProtoReflect ¶ added in v0.0.15
func (x *InboundLegacy) ProtoReflect() protoreflect.Message
func (*InboundLegacy) Reset ¶ added in v0.0.15
func (x *InboundLegacy) Reset()
func (*InboundLegacy) String ¶ added in v0.0.15
func (x *InboundLegacy) String() string
type InboundTxTypeLegacy ¶ added in v0.0.15
type InboundTxTypeLegacy int32
LEGACY TYPES
const ( InboundTxTypeLegacy_INBOUND_LEGACY_UNSPECIFIED_TX InboundTxTypeLegacy = 0 InboundTxTypeLegacy_INBOUND_LEGACY_GAS InboundTxTypeLegacy = 1 // fee abstraction InboundTxTypeLegacy_INBOUND_LEGACY_FUNDS InboundTxTypeLegacy = 2 // synthetic InboundTxTypeLegacy_INBOUND_LEGACY_FUNDS_AND_PAYLOAD InboundTxTypeLegacy = 3 // synthetic + payload exec InboundTxTypeLegacy_INBOUND_LEGACY_GAS_AND_PAYLOAD InboundTxTypeLegacy = 4 // fee abstraction + payload exec )
func (InboundTxTypeLegacy) Descriptor ¶ added in v0.0.15
func (InboundTxTypeLegacy) Descriptor() protoreflect.EnumDescriptor
func (InboundTxTypeLegacy) Enum ¶ added in v0.0.15
func (x InboundTxTypeLegacy) Enum() *InboundTxTypeLegacy
func (InboundTxTypeLegacy) EnumDescriptor
deprecated
added in
v0.0.15
func (InboundTxTypeLegacy) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboundTxTypeLegacy.Descriptor instead.
func (InboundTxTypeLegacy) Number ¶ added in v0.0.15
func (x InboundTxTypeLegacy) Number() protoreflect.EnumNumber
func (InboundTxTypeLegacy) String ¶ added in v0.0.15
func (x InboundTxTypeLegacy) String() string
func (InboundTxTypeLegacy) Type ¶ added in v0.0.15
func (InboundTxTypeLegacy) Type() protoreflect.EnumType
type MigrationPayload ¶
type MigrationPayload struct {
Migration string `protobuf:"bytes,1,opt,name=migration,proto3" json:"migration,omitempty"` // Migration Address
Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // unit256 as string
Deadline string `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"` // unit256 as string
// contains filtered or unexported fields
}
MigrationPayload mirrors the Solidity struct
func (*MigrationPayload) Descriptor
deprecated
func (*MigrationPayload) Descriptor() ([]byte, []int)
Deprecated: Use MigrationPayload.ProtoReflect.Descriptor instead.
func (*MigrationPayload) GetDeadline ¶
func (x *MigrationPayload) GetDeadline() string
func (*MigrationPayload) GetMigration ¶
func (x *MigrationPayload) GetMigration() string
func (*MigrationPayload) GetNonce ¶
func (x *MigrationPayload) GetNonce() string
func (*MigrationPayload) ProtoMessage ¶
func (*MigrationPayload) ProtoMessage()
func (*MigrationPayload) ProtoReflect ¶
func (x *MigrationPayload) ProtoReflect() protoreflect.Message
func (*MigrationPayload) Reset ¶
func (x *MigrationPayload) Reset()
func (*MigrationPayload) String ¶
func (x *MigrationPayload) String() string
type MsgClient ¶
type MsgClient interface {
// UpdateParams defines a governance operation for updating the parameters.
//
// Since: cosmos-sdk 0.47
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// ExecutePayload defines a message for executing a universal payload
ExecutePayload(ctx context.Context, in *MsgExecutePayload, opts ...grpc.CallOption) (*MsgExecutePayloadResponse, error)
// MigrateUEA defines a message for migrating UEA
MigrateUEA(ctx context.Context, in *MsgMigrateUEA, opts ...grpc.CallOption) (*MsgMigrateUEAResponse, error)
// VoteInbound defines a message for voting on synthetic assets bridging from external chain to PC
VoteInbound(ctx context.Context, in *MsgVoteInbound, opts ...grpc.CallOption) (*MsgVoteInboundResponse, error)
// VoteOutbound defines a message for voting on a observed outbound tx on external chain
VoteOutbound(ctx context.Context, in *MsgVoteOutbound, opts ...grpc.CallOption) (*MsgVoteOutboundResponse, error)
// VoteChainMeta defines a message for universal validators to vote on chain metadata (gas price + block height)
VoteChainMeta(ctx context.Context, in *MsgVoteChainMeta, opts ...grpc.CallOption) (*MsgVoteChainMetaResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgExecutePayload ¶
type MsgExecutePayload struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// universal_account_id is the identifier of the owner account
UniversalAccountId *UniversalAccountId `protobuf:"bytes,2,opt,name=universal_account_id,json=universalAccountId,proto3" json:"universal_account_id,omitempty"`
// payload is the universal payload to be executed
UniversalPayload *UniversalPayload `protobuf:"bytes,3,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
// verification_data is the bytes passed as verifier data for the given payload.
VerificationData string `protobuf:"bytes,4,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
// contains filtered or unexported fields
}
MsgExecutePayload defines a message for executing a universal payload
func (*MsgExecutePayload) Descriptor
deprecated
func (*MsgExecutePayload) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecutePayload.ProtoReflect.Descriptor instead.
func (*MsgExecutePayload) GetSigner ¶
func (x *MsgExecutePayload) GetSigner() string
func (*MsgExecutePayload) GetUniversalAccountId ¶
func (x *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId
func (*MsgExecutePayload) GetUniversalPayload ¶
func (x *MsgExecutePayload) GetUniversalPayload() *UniversalPayload
func (*MsgExecutePayload) GetVerificationData ¶
func (x *MsgExecutePayload) GetVerificationData() string
func (*MsgExecutePayload) ProtoMessage ¶
func (*MsgExecutePayload) ProtoMessage()
func (*MsgExecutePayload) ProtoReflect ¶
func (x *MsgExecutePayload) ProtoReflect() protoreflect.Message
func (*MsgExecutePayload) Reset ¶
func (x *MsgExecutePayload) Reset()
func (*MsgExecutePayload) String ¶
func (x *MsgExecutePayload) String() string
type MsgExecutePayloadResponse ¶
type MsgExecutePayloadResponse struct {
// contains filtered or unexported fields
}
MsgExecutePayloadResponse defines the response for MsgExecutePayload.
func (*MsgExecutePayloadResponse) Descriptor
deprecated
func (*MsgExecutePayloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecutePayloadResponse.ProtoReflect.Descriptor instead.
func (*MsgExecutePayloadResponse) ProtoMessage ¶
func (*MsgExecutePayloadResponse) ProtoMessage()
func (*MsgExecutePayloadResponse) ProtoReflect ¶
func (x *MsgExecutePayloadResponse) ProtoReflect() protoreflect.Message
func (*MsgExecutePayloadResponse) Reset ¶
func (x *MsgExecutePayloadResponse) Reset()
func (*MsgExecutePayloadResponse) String ¶
func (x *MsgExecutePayloadResponse) String() string
type MsgMigrateUEA ¶
type MsgMigrateUEA struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// universal_account_id is the identifier of the owner account
UniversalAccountId *UniversalAccountId `protobuf:"bytes,2,opt,name=universal_account_id,json=universalAccountId,proto3" json:"universal_account_id,omitempty"`
// payload is the migration payload to be executed
MigrationPayload *MigrationPayload `protobuf:"bytes,3,opt,name=migration_payload,json=migrationPayload,proto3" json:"migration_payload,omitempty"`
// signature is the bytes passed as verifier data for the given payload.
Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
MsgMigrateUEA defines a message for migarting Universal Executor Account (UEA)
func (*MsgMigrateUEA) Descriptor
deprecated
func (*MsgMigrateUEA) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateUEA.ProtoReflect.Descriptor instead.
func (*MsgMigrateUEA) GetMigrationPayload ¶
func (x *MsgMigrateUEA) GetMigrationPayload() *MigrationPayload
func (*MsgMigrateUEA) GetSignature ¶
func (x *MsgMigrateUEA) GetSignature() string
func (*MsgMigrateUEA) GetSigner ¶
func (x *MsgMigrateUEA) GetSigner() string
func (*MsgMigrateUEA) GetUniversalAccountId ¶
func (x *MsgMigrateUEA) GetUniversalAccountId() *UniversalAccountId
func (*MsgMigrateUEA) ProtoMessage ¶
func (*MsgMigrateUEA) ProtoMessage()
func (*MsgMigrateUEA) ProtoReflect ¶
func (x *MsgMigrateUEA) ProtoReflect() protoreflect.Message
func (*MsgMigrateUEA) Reset ¶
func (x *MsgMigrateUEA) Reset()
func (*MsgMigrateUEA) String ¶
func (x *MsgMigrateUEA) String() string
type MsgMigrateUEAResponse ¶
type MsgMigrateUEAResponse struct {
// contains filtered or unexported fields
}
MsgMigrateUEAResponse defines the response for MsgMigrateUEA.
func (*MsgMigrateUEAResponse) Descriptor
deprecated
func (*MsgMigrateUEAResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateUEAResponse.ProtoReflect.Descriptor instead.
func (*MsgMigrateUEAResponse) ProtoMessage ¶
func (*MsgMigrateUEAResponse) ProtoMessage()
func (*MsgMigrateUEAResponse) ProtoReflect ¶
func (x *MsgMigrateUEAResponse) ProtoReflect() protoreflect.Message
func (*MsgMigrateUEAResponse) Reset ¶
func (x *MsgMigrateUEAResponse) Reset()
func (*MsgMigrateUEAResponse) String ¶
func (x *MsgMigrateUEAResponse) String() string
type MsgServer ¶
type MsgServer interface {
// UpdateParams defines a governance operation for updating the parameters.
//
// Since: cosmos-sdk 0.47
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// ExecutePayload defines a message for executing a universal payload
ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
// MigrateUEA defines a message for migrating UEA
MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
// VoteInbound defines a message for voting on synthetic assets bridging from external chain to PC
VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
// VoteOutbound defines a message for voting on a observed outbound tx on external chain
VoteOutbound(context.Context, *MsgVoteOutbound) (*MsgVoteOutboundResponse, error)
// VoteChainMeta defines a message for universal validators to vote on chain metadata (gas price + block height)
VoteChainMeta(context.Context, *MsgVoteChainMeta) (*MsgVoteChainMetaResponse, error)
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct {
// authority is the address of the governance account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the parameters to update.
//
// NOTE: All parameters must be supplied.
Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type MsgVoteChainMeta ¶ added in v0.0.19
type MsgVoteChainMeta struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // Universal Validator address submitting the vote
ObservedChainId string `protobuf:"bytes,2,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"` // CAIP-2 chain ID of observed external chain (e.g. "eip155:1")
Price uint64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` // Observed gas price in wei
ChainHeight uint64 `protobuf:"varint,4,opt,name=chain_height,json=chainHeight,proto3" json:"chain_height,omitempty"` // Block height from which observation was made
// contains filtered or unexported fields
}
MsgVoteChainMeta is broadcasted by Universal Validators to submit observed chain metadata (gas price + block height)
func (*MsgVoteChainMeta) Descriptor
deprecated
added in
v0.0.19
func (*MsgVoteChainMeta) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteChainMeta.ProtoReflect.Descriptor instead.
func (*MsgVoteChainMeta) GetChainHeight ¶ added in v0.0.19
func (x *MsgVoteChainMeta) GetChainHeight() uint64
func (*MsgVoteChainMeta) GetObservedChainId ¶ added in v0.0.19
func (x *MsgVoteChainMeta) GetObservedChainId() string
func (*MsgVoteChainMeta) GetPrice ¶ added in v0.0.19
func (x *MsgVoteChainMeta) GetPrice() uint64
func (*MsgVoteChainMeta) GetSigner ¶ added in v0.0.19
func (x *MsgVoteChainMeta) GetSigner() string
func (*MsgVoteChainMeta) ProtoMessage ¶ added in v0.0.19
func (*MsgVoteChainMeta) ProtoMessage()
func (*MsgVoteChainMeta) ProtoReflect ¶ added in v0.0.19
func (x *MsgVoteChainMeta) ProtoReflect() protoreflect.Message
func (*MsgVoteChainMeta) Reset ¶ added in v0.0.19
func (x *MsgVoteChainMeta) Reset()
func (*MsgVoteChainMeta) String ¶ added in v0.0.19
func (x *MsgVoteChainMeta) String() string
type MsgVoteChainMetaResponse ¶ added in v0.0.19
type MsgVoteChainMetaResponse struct {
// contains filtered or unexported fields
}
MsgVoteChainMetaResponse defines the response for MsgVoteChainMeta
func (*MsgVoteChainMetaResponse) Descriptor
deprecated
added in
v0.0.19
func (*MsgVoteChainMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteChainMetaResponse.ProtoReflect.Descriptor instead.
func (*MsgVoteChainMetaResponse) ProtoMessage ¶ added in v0.0.19
func (*MsgVoteChainMetaResponse) ProtoMessage()
func (*MsgVoteChainMetaResponse) ProtoReflect ¶ added in v0.0.19
func (x *MsgVoteChainMetaResponse) ProtoReflect() protoreflect.Message
func (*MsgVoteChainMetaResponse) Reset ¶ added in v0.0.19
func (x *MsgVoteChainMetaResponse) Reset()
func (*MsgVoteChainMetaResponse) String ¶ added in v0.0.19
func (x *MsgVoteChainMetaResponse) String() string
type MsgVoteInbound ¶
type MsgVoteInbound struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
Inbound *Inbound `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
// contains filtered or unexported fields
}
MsgVoteInbound allows a universal validator to vote on an inbound transfer.
func (*MsgVoteInbound) Descriptor
deprecated
func (*MsgVoteInbound) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteInbound.ProtoReflect.Descriptor instead.
func (*MsgVoteInbound) GetInbound ¶
func (x *MsgVoteInbound) GetInbound() *Inbound
func (*MsgVoteInbound) GetSigner ¶
func (x *MsgVoteInbound) GetSigner() string
func (*MsgVoteInbound) ProtoMessage ¶
func (*MsgVoteInbound) ProtoMessage()
func (*MsgVoteInbound) ProtoReflect ¶
func (x *MsgVoteInbound) ProtoReflect() protoreflect.Message
func (*MsgVoteInbound) Reset ¶
func (x *MsgVoteInbound) Reset()
func (*MsgVoteInbound) String ¶
func (x *MsgVoteInbound) String() string
type MsgVoteInboundResponse ¶
type MsgVoteInboundResponse struct {
// contains filtered or unexported fields
}
MsgVoteInboundResponse defines the response for MsgExecutePayload.
func (*MsgVoteInboundResponse) Descriptor
deprecated
func (*MsgVoteInboundResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteInboundResponse.ProtoReflect.Descriptor instead.
func (*MsgVoteInboundResponse) ProtoMessage ¶
func (*MsgVoteInboundResponse) ProtoMessage()
func (*MsgVoteInboundResponse) ProtoReflect ¶
func (x *MsgVoteInboundResponse) ProtoReflect() protoreflect.Message
func (*MsgVoteInboundResponse) Reset ¶
func (x *MsgVoteInboundResponse) Reset()
func (*MsgVoteInboundResponse) String ¶
func (x *MsgVoteInboundResponse) String() string
type MsgVoteOutbound ¶ added in v0.0.13
type MsgVoteOutbound struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
TxId string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // txId of outbound tx
UtxId string `protobuf:"bytes,3,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"` // UniversalTx Id
ObservedTx *OutboundObservation `protobuf:"bytes,4,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx,omitempty"` // observed tx on destination chain
// contains filtered or unexported fields
}
MsgVoteOutbound allows a universal validator to vote on an outbound tx observation.
func (*MsgVoteOutbound) Descriptor
deprecated
added in
v0.0.13
func (*MsgVoteOutbound) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteOutbound.ProtoReflect.Descriptor instead.
func (*MsgVoteOutbound) GetObservedTx ¶ added in v0.0.13
func (x *MsgVoteOutbound) GetObservedTx() *OutboundObservation
func (*MsgVoteOutbound) GetSigner ¶ added in v0.0.13
func (x *MsgVoteOutbound) GetSigner() string
func (*MsgVoteOutbound) GetTxId ¶ added in v0.0.13
func (x *MsgVoteOutbound) GetTxId() string
func (*MsgVoteOutbound) GetUtxId ¶ added in v0.0.13
func (x *MsgVoteOutbound) GetUtxId() string
func (*MsgVoteOutbound) ProtoMessage ¶ added in v0.0.13
func (*MsgVoteOutbound) ProtoMessage()
func (*MsgVoteOutbound) ProtoReflect ¶ added in v0.0.13
func (x *MsgVoteOutbound) ProtoReflect() protoreflect.Message
func (*MsgVoteOutbound) Reset ¶ added in v0.0.13
func (x *MsgVoteOutbound) Reset()
func (*MsgVoteOutbound) String ¶ added in v0.0.13
func (x *MsgVoteOutbound) String() string
type MsgVoteOutboundResponse ¶ added in v0.0.13
type MsgVoteOutboundResponse struct {
// contains filtered or unexported fields
}
MsgVoteInboundResponse defines the response for MsgExecutePayload.
func (*MsgVoteOutboundResponse) Descriptor
deprecated
added in
v0.0.13
func (*MsgVoteOutboundResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteOutboundResponse.ProtoReflect.Descriptor instead.
func (*MsgVoteOutboundResponse) ProtoMessage ¶ added in v0.0.13
func (*MsgVoteOutboundResponse) ProtoMessage()
func (*MsgVoteOutboundResponse) ProtoReflect ¶ added in v0.0.13
func (x *MsgVoteOutboundResponse) ProtoReflect() protoreflect.Message
func (*MsgVoteOutboundResponse) Reset ¶ added in v0.0.13
func (x *MsgVoteOutboundResponse) Reset()
func (*MsgVoteOutboundResponse) String ¶ added in v0.0.13
func (x *MsgVoteOutboundResponse) String() string
type OriginatingPcTx ¶ added in v0.0.13
type OriginatingPcTx struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // pc_tx hash that initiated the outbound
LogIndex string `protobuf:"bytes,2,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // log_index that initiated the outbound
// contains filtered or unexported fields
}
func (*OriginatingPcTx) Descriptor
deprecated
added in
v0.0.13
func (*OriginatingPcTx) Descriptor() ([]byte, []int)
Deprecated: Use OriginatingPcTx.ProtoReflect.Descriptor instead.
func (*OriginatingPcTx) GetLogIndex ¶ added in v0.0.13
func (x *OriginatingPcTx) GetLogIndex() string
func (*OriginatingPcTx) GetTxHash ¶ added in v0.0.13
func (x *OriginatingPcTx) GetTxHash() string
func (*OriginatingPcTx) ProtoMessage ¶ added in v0.0.13
func (*OriginatingPcTx) ProtoMessage()
func (*OriginatingPcTx) ProtoReflect ¶ added in v0.0.13
func (x *OriginatingPcTx) ProtoReflect() protoreflect.Message
func (*OriginatingPcTx) Reset ¶ added in v0.0.13
func (x *OriginatingPcTx) Reset()
func (*OriginatingPcTx) String ¶ added in v0.0.13
func (x *OriginatingPcTx) String() string
type OutboundObservation ¶ added in v0.0.13
type OutboundObservation struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // whether execution succeeded
BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // block height on external chain
TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // external chain tx hash
ErrorMsg string `protobuf:"bytes,4,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
GasFeeUsed string `protobuf:"bytes,5,opt,name=gas_fee_used,json=gasFeeUsed,proto3" json:"gas_fee_used,omitempty"` // actual gas fee consumed on destination chain; used to compute excess refund
// contains filtered or unexported fields
}
func (*OutboundObservation) Descriptor
deprecated
added in
v0.0.13
func (*OutboundObservation) Descriptor() ([]byte, []int)
Deprecated: Use OutboundObservation.ProtoReflect.Descriptor instead.
func (*OutboundObservation) GetBlockHeight ¶ added in v0.0.13
func (x *OutboundObservation) GetBlockHeight() uint64
func (*OutboundObservation) GetErrorMsg ¶ added in v0.0.13
func (x *OutboundObservation) GetErrorMsg() string
func (*OutboundObservation) GetGasFeeUsed ¶ added in v0.0.19
func (x *OutboundObservation) GetGasFeeUsed() string
func (*OutboundObservation) GetSuccess ¶ added in v0.0.13
func (x *OutboundObservation) GetSuccess() bool
func (*OutboundObservation) GetTxHash ¶ added in v0.0.13
func (x *OutboundObservation) GetTxHash() string
func (*OutboundObservation) ProtoMessage ¶ added in v0.0.13
func (*OutboundObservation) ProtoMessage()
func (*OutboundObservation) ProtoReflect ¶ added in v0.0.13
func (x *OutboundObservation) ProtoReflect() protoreflect.Message
func (*OutboundObservation) Reset ¶ added in v0.0.13
func (x *OutboundObservation) Reset()
func (*OutboundObservation) String ¶ added in v0.0.13
func (x *OutboundObservation) String() string
type OutboundTx ¶
type OutboundTx struct {
DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"` // chain where this outbound is sent
Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient on destination chain
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // token amount
ExternalAssetAddr string `protobuf:"bytes,4,opt,name=external_asset_addr,json=externalAssetAddr,proto3" json:"external_asset_addr,omitempty"` // asset addr destination chain
Prc20AssetAddr string `protobuf:"bytes,5,opt,name=prc20_asset_addr,json=prc20AssetAddr,proto3" json:"prc20_asset_addr,omitempty"` // prc20 contract addr
Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"` // sender of the outbound tx
Payload string `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` // payload to be executed
GasLimit string `protobuf:"bytes,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // gas limit to be used for the outbound tx
TxType TxType `protobuf:"varint,9,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.TxType" json:"tx_type,omitempty"` // outbound tx type
PcTx *OriginatingPcTx `protobuf:"bytes,10,opt,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"` // pc_tx that originated the outbound
ObservedTx *OutboundObservation `protobuf:"bytes,11,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx,omitempty"` // observed tx on destination chain
Id string `protobuf:"bytes,12,opt,name=id,proto3" json:"id,omitempty"` // id of outbound tx
OutboundStatus Status `` // status of outbound tx
/* 130-byte string literal not displayed */
RevertInstructions *RevertInstructions `protobuf:"bytes,14,opt,name=revert_instructions,json=revertInstructions,proto3" json:"revert_instructions,omitempty"`
PcRevertExecution *PCTx `protobuf:"bytes,15,opt,name=pc_revert_execution,json=pcRevertExecution,proto3" json:"pc_revert_execution,omitempty"`
GasPrice string `protobuf:"bytes,16,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // gas price on destination chain at time of outbound
GasFee string `protobuf:"bytes,17,opt,name=gas_fee,json=gasFee,proto3" json:"gas_fee,omitempty"` // gas fee paid to relayer on destination chain
PcRefundExecution *PCTx `protobuf:"bytes,18,opt,name=pc_refund_execution,json=pcRefundExecution,proto3" json:"pc_refund_execution,omitempty"` // PC tx that executed the gas refund (non-nil if refund ran)
RefundSwapError string `protobuf:"bytes,19,opt,name=refund_swap_error,json=refundSwapError,proto3" json:"refund_swap_error,omitempty"` // non-empty if swap-refund failed and we fell back to no-swap
GasToken string `protobuf:"bytes,20,opt,name=gas_token,json=gasToken,proto3" json:"gas_token,omitempty"` // gas token PRC20 address used to pay relayer fee
AbortReason string `protobuf:"bytes,21,opt,name=abort_reason,json=abortReason,proto3" json:"abort_reason,omitempty"` // Human-readable reason why the outbound was aborted
// contains filtered or unexported fields
}
func (*OutboundTx) Descriptor
deprecated
func (*OutboundTx) Descriptor() ([]byte, []int)
Deprecated: Use OutboundTx.ProtoReflect.Descriptor instead.
func (*OutboundTx) GetAbortReason ¶ added in v0.0.23
func (x *OutboundTx) GetAbortReason() string
func (*OutboundTx) GetAmount ¶
func (x *OutboundTx) GetAmount() string
func (*OutboundTx) GetDestinationChain ¶
func (x *OutboundTx) GetDestinationChain() string
func (*OutboundTx) GetExternalAssetAddr ¶ added in v0.0.13
func (x *OutboundTx) GetExternalAssetAddr() string
func (*OutboundTx) GetGasFee ¶ added in v0.0.19
func (x *OutboundTx) GetGasFee() string
func (*OutboundTx) GetGasLimit ¶ added in v0.0.13
func (x *OutboundTx) GetGasLimit() string
func (*OutboundTx) GetGasPrice ¶ added in v0.0.19
func (x *OutboundTx) GetGasPrice() string
func (*OutboundTx) GetGasToken ¶ added in v0.0.19
func (x *OutboundTx) GetGasToken() string
func (*OutboundTx) GetId ¶ added in v0.0.13
func (x *OutboundTx) GetId() string
func (*OutboundTx) GetObservedTx ¶ added in v0.0.13
func (x *OutboundTx) GetObservedTx() *OutboundObservation
func (*OutboundTx) GetOutboundStatus ¶ added in v0.0.13
func (x *OutboundTx) GetOutboundStatus() Status
func (*OutboundTx) GetPayload ¶ added in v0.0.13
func (x *OutboundTx) GetPayload() string
func (*OutboundTx) GetPcRefundExecution ¶ added in v0.0.19
func (x *OutboundTx) GetPcRefundExecution() *PCTx
func (*OutboundTx) GetPcRevertExecution ¶ added in v0.0.13
func (x *OutboundTx) GetPcRevertExecution() *PCTx
func (*OutboundTx) GetPcTx ¶ added in v0.0.13
func (x *OutboundTx) GetPcTx() *OriginatingPcTx
func (*OutboundTx) GetPrc20AssetAddr ¶ added in v0.0.13
func (x *OutboundTx) GetPrc20AssetAddr() string
func (*OutboundTx) GetRecipient ¶
func (x *OutboundTx) GetRecipient() string
func (*OutboundTx) GetRefundSwapError ¶ added in v0.0.19
func (x *OutboundTx) GetRefundSwapError() string
func (*OutboundTx) GetRevertInstructions ¶ added in v0.0.13
func (x *OutboundTx) GetRevertInstructions() *RevertInstructions
func (*OutboundTx) GetSender ¶ added in v0.0.13
func (x *OutboundTx) GetSender() string
func (*OutboundTx) GetTxType ¶ added in v0.0.13
func (x *OutboundTx) GetTxType() TxType
func (*OutboundTx) ProtoMessage ¶
func (*OutboundTx) ProtoMessage()
func (*OutboundTx) ProtoReflect ¶
func (x *OutboundTx) ProtoReflect() protoreflect.Message
func (*OutboundTx) Reset ¶
func (x *OutboundTx) Reset()
func (*OutboundTx) String ¶
func (x *OutboundTx) String() string
type OutboundTxLegacy ¶ added in v0.0.15
type OutboundTxLegacy struct {
DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"` // chain where this outbound is sent
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // outbound tx hash on destination chain
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient on destination chain
Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // token amount or payload
AssetAddr string `protobuf:"bytes,5,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // token contract if applicable
// contains filtered or unexported fields
}
func (*OutboundTxLegacy) Descriptor
deprecated
added in
v0.0.15
func (*OutboundTxLegacy) Descriptor() ([]byte, []int)
Deprecated: Use OutboundTxLegacy.ProtoReflect.Descriptor instead.
func (*OutboundTxLegacy) GetAmount ¶ added in v0.0.15
func (x *OutboundTxLegacy) GetAmount() string
func (*OutboundTxLegacy) GetAssetAddr ¶ added in v0.0.15
func (x *OutboundTxLegacy) GetAssetAddr() string
func (*OutboundTxLegacy) GetDestinationChain ¶ added in v0.0.15
func (x *OutboundTxLegacy) GetDestinationChain() string
func (*OutboundTxLegacy) GetRecipient ¶ added in v0.0.15
func (x *OutboundTxLegacy) GetRecipient() string
func (*OutboundTxLegacy) GetTxHash ¶ added in v0.0.15
func (x *OutboundTxLegacy) GetTxHash() string
func (*OutboundTxLegacy) ProtoMessage ¶ added in v0.0.15
func (*OutboundTxLegacy) ProtoMessage()
func (*OutboundTxLegacy) ProtoReflect ¶ added in v0.0.15
func (x *OutboundTxLegacy) ProtoReflect() protoreflect.Message
func (*OutboundTxLegacy) Reset ¶ added in v0.0.15
func (x *OutboundTxLegacy) Reset()
func (*OutboundTxLegacy) String ¶ added in v0.0.15
func (x *OutboundTxLegacy) String() string
type PCTx ¶
type PCTx struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // hash of the execution on Push Chain
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // who executed it
GasUsed uint64 `protobuf:"varint,3,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // gas consumed by this tx
BlockHeight uint64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // block number on Push Chain
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // "SUCCESS" or "FAILED"
ErrorMsg string `protobuf:"bytes,7,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` // optional error info if failed
// contains filtered or unexported fields
}
func (*PCTx) Descriptor
deprecated
func (*PCTx) GetBlockHeight ¶
func (*PCTx) GetErrorMsg ¶
func (*PCTx) GetGasUsed ¶
func (*PCTx) ProtoMessage ¶
func (*PCTx) ProtoMessage()
func (*PCTx) ProtoReflect ¶
func (x *PCTx) ProtoReflect() protoreflect.Message
type Params ¶
type Params struct {
SomeValue bool `protobuf:"varint,2,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
// contains filtered or unexported fields
}
Params defines the set of module parameters.
func (*Params) Descriptor
deprecated
func (*Params) GetSomeValue ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type PendingOutboundEntry ¶ added in v0.0.23
type PendingOutboundEntry struct {
OutboundId string `protobuf:"bytes,1,opt,name=outbound_id,json=outboundId,proto3" json:"outbound_id,omitempty"`
UniversalTxId string `protobuf:"bytes,2,opt,name=universal_tx_id,json=universalTxId,proto3" json:"universal_tx_id,omitempty"`
CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
Pending outbound index entry
func (*PendingOutboundEntry) Descriptor
deprecated
added in
v0.0.23
func (*PendingOutboundEntry) Descriptor() ([]byte, []int)
Deprecated: Use PendingOutboundEntry.ProtoReflect.Descriptor instead.
func (*PendingOutboundEntry) GetCreatedAt ¶ added in v0.0.23
func (x *PendingOutboundEntry) GetCreatedAt() int64
func (*PendingOutboundEntry) GetOutboundId ¶ added in v0.0.23
func (x *PendingOutboundEntry) GetOutboundId() string
func (*PendingOutboundEntry) GetUniversalTxId ¶ added in v0.0.23
func (x *PendingOutboundEntry) GetUniversalTxId() string
func (*PendingOutboundEntry) ProtoMessage ¶ added in v0.0.23
func (*PendingOutboundEntry) ProtoMessage()
func (*PendingOutboundEntry) ProtoReflect ¶ added in v0.0.23
func (x *PendingOutboundEntry) ProtoReflect() protoreflect.Message
func (*PendingOutboundEntry) Reset ¶ added in v0.0.23
func (x *PendingOutboundEntry) Reset()
func (*PendingOutboundEntry) String ¶ added in v0.0.23
func (x *PendingOutboundEntry) String() string
type QueryAllChainMetasRequest ¶ added in v0.0.19
type QueryAllChainMetasRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
All chain metas
func (*QueryAllChainMetasRequest) Descriptor
deprecated
added in
v0.0.19
func (*QueryAllChainMetasRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllChainMetasRequest.ProtoReflect.Descriptor instead.
func (*QueryAllChainMetasRequest) GetPagination ¶ added in v0.0.19
func (x *QueryAllChainMetasRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllChainMetasRequest) ProtoMessage ¶ added in v0.0.19
func (*QueryAllChainMetasRequest) ProtoMessage()
func (*QueryAllChainMetasRequest) ProtoReflect ¶ added in v0.0.19
func (x *QueryAllChainMetasRequest) ProtoReflect() protoreflect.Message
func (*QueryAllChainMetasRequest) Reset ¶ added in v0.0.19
func (x *QueryAllChainMetasRequest) Reset()
func (*QueryAllChainMetasRequest) String ¶ added in v0.0.19
func (x *QueryAllChainMetasRequest) String() string
type QueryAllChainMetasResponse ¶ added in v0.0.19
type QueryAllChainMetasResponse struct {
ChainMetas []*ChainMeta `protobuf:"bytes,1,rep,name=chain_metas,json=chainMetas,proto3" json:"chain_metas,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllChainMetasResponse) Descriptor
deprecated
added in
v0.0.19
func (*QueryAllChainMetasResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllChainMetasResponse.ProtoReflect.Descriptor instead.
func (*QueryAllChainMetasResponse) GetChainMetas ¶ added in v0.0.19
func (x *QueryAllChainMetasResponse) GetChainMetas() []*ChainMeta
func (*QueryAllChainMetasResponse) GetPagination ¶ added in v0.0.19
func (x *QueryAllChainMetasResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllChainMetasResponse) ProtoMessage ¶ added in v0.0.19
func (*QueryAllChainMetasResponse) ProtoMessage()
func (*QueryAllChainMetasResponse) ProtoReflect ¶ added in v0.0.19
func (x *QueryAllChainMetasResponse) ProtoReflect() protoreflect.Message
func (*QueryAllChainMetasResponse) Reset ¶ added in v0.0.19
func (x *QueryAllChainMetasResponse) Reset()
func (*QueryAllChainMetasResponse) String ¶ added in v0.0.19
func (x *QueryAllChainMetasResponse) String() string
type QueryAllGasPricesRequest ¶
type QueryAllGasPricesRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
All gas prices
func (*QueryAllGasPricesRequest) Descriptor
deprecated
func (*QueryAllGasPricesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllGasPricesRequest.ProtoReflect.Descriptor instead.
func (*QueryAllGasPricesRequest) GetPagination ¶
func (x *QueryAllGasPricesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllGasPricesRequest) ProtoMessage ¶
func (*QueryAllGasPricesRequest) ProtoMessage()
func (*QueryAllGasPricesRequest) ProtoReflect ¶
func (x *QueryAllGasPricesRequest) ProtoReflect() protoreflect.Message
func (*QueryAllGasPricesRequest) Reset ¶
func (x *QueryAllGasPricesRequest) Reset()
func (*QueryAllGasPricesRequest) String ¶
func (x *QueryAllGasPricesRequest) String() string
type QueryAllGasPricesResponse ¶
type QueryAllGasPricesResponse struct {
GasPrices []*GasPrice `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllGasPricesResponse) Descriptor
deprecated
func (*QueryAllGasPricesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllGasPricesResponse.ProtoReflect.Descriptor instead.
func (*QueryAllGasPricesResponse) GetGasPrices ¶
func (x *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice
func (*QueryAllGasPricesResponse) GetPagination ¶
func (x *QueryAllGasPricesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllGasPricesResponse) ProtoMessage ¶
func (*QueryAllGasPricesResponse) ProtoMessage()
func (*QueryAllGasPricesResponse) ProtoReflect ¶
func (x *QueryAllGasPricesResponse) ProtoReflect() protoreflect.Message
func (*QueryAllGasPricesResponse) Reset ¶
func (x *QueryAllGasPricesResponse) Reset()
func (*QueryAllGasPricesResponse) String ¶
func (x *QueryAllGasPricesResponse) String() string
type QueryAllPendingInboundsRequest ¶
type QueryAllPendingInboundsRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
Pending Inbounds
func (*QueryAllPendingInboundsRequest) Descriptor
deprecated
func (*QueryAllPendingInboundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingInboundsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllPendingInboundsRequest) GetPagination ¶
func (x *QueryAllPendingInboundsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllPendingInboundsRequest) ProtoMessage ¶
func (*QueryAllPendingInboundsRequest) ProtoMessage()
func (*QueryAllPendingInboundsRequest) ProtoReflect ¶
func (x *QueryAllPendingInboundsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllPendingInboundsRequest) Reset ¶
func (x *QueryAllPendingInboundsRequest) Reset()
func (*QueryAllPendingInboundsRequest) String ¶
func (x *QueryAllPendingInboundsRequest) String() string
type QueryAllPendingInboundsResponse ¶
type QueryAllPendingInboundsResponse struct {
InboundIds []string `protobuf:"bytes,1,rep,name=inbound_ids,json=inboundIds,proto3" json:"inbound_ids,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllPendingInboundsResponse) Descriptor
deprecated
func (*QueryAllPendingInboundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingInboundsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllPendingInboundsResponse) GetInboundIds ¶
func (x *QueryAllPendingInboundsResponse) GetInboundIds() []string
func (*QueryAllPendingInboundsResponse) GetPagination ¶
func (x *QueryAllPendingInboundsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllPendingInboundsResponse) ProtoMessage ¶
func (*QueryAllPendingInboundsResponse) ProtoMessage()
func (*QueryAllPendingInboundsResponse) ProtoReflect ¶
func (x *QueryAllPendingInboundsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllPendingInboundsResponse) Reset ¶
func (x *QueryAllPendingInboundsResponse) Reset()
func (*QueryAllPendingInboundsResponse) String ¶
func (x *QueryAllPendingInboundsResponse) String() string
type QueryAllPendingOutboundsRequest ¶ added in v0.0.23
type QueryAllPendingOutboundsRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllPendingOutboundsRequest) Descriptor
deprecated
added in
v0.0.23
func (*QueryAllPendingOutboundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingOutboundsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllPendingOutboundsRequest) GetPagination ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllPendingOutboundsRequest) ProtoMessage ¶ added in v0.0.23
func (*QueryAllPendingOutboundsRequest) ProtoMessage()
func (*QueryAllPendingOutboundsRequest) ProtoReflect ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllPendingOutboundsRequest) Reset ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsRequest) Reset()
func (*QueryAllPendingOutboundsRequest) String ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsRequest) String() string
type QueryAllPendingOutboundsResponse ¶ added in v0.0.23
type QueryAllPendingOutboundsResponse struct {
Entries []*PendingOutboundEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
Outbounds []*OutboundTx `protobuf:"bytes,2,rep,name=outbounds,proto3" json:"outbounds,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllPendingOutboundsResponse) Descriptor
deprecated
added in
v0.0.23
func (*QueryAllPendingOutboundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingOutboundsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllPendingOutboundsResponse) GetEntries ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsResponse) GetEntries() []*PendingOutboundEntry
func (*QueryAllPendingOutboundsResponse) GetOutbounds ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsResponse) GetOutbounds() []*OutboundTx
func (*QueryAllPendingOutboundsResponse) GetPagination ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllPendingOutboundsResponse) ProtoMessage ¶ added in v0.0.23
func (*QueryAllPendingOutboundsResponse) ProtoMessage()
func (*QueryAllPendingOutboundsResponse) ProtoReflect ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllPendingOutboundsResponse) Reset ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsResponse) Reset()
func (*QueryAllPendingOutboundsResponse) String ¶ added in v0.0.23
func (x *QueryAllPendingOutboundsResponse) String() string
type QueryAllUniversalTxRequest ¶
type QueryAllUniversalTxRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllUniversalTxRequest) Descriptor
deprecated
func (*QueryAllUniversalTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUniversalTxRequest.ProtoReflect.Descriptor instead.
func (*QueryAllUniversalTxRequest) GetPagination ¶
func (x *QueryAllUniversalTxRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllUniversalTxRequest) ProtoMessage ¶
func (*QueryAllUniversalTxRequest) ProtoMessage()
func (*QueryAllUniversalTxRequest) ProtoReflect ¶
func (x *QueryAllUniversalTxRequest) ProtoReflect() protoreflect.Message
func (*QueryAllUniversalTxRequest) Reset ¶
func (x *QueryAllUniversalTxRequest) Reset()
func (*QueryAllUniversalTxRequest) String ¶
func (x *QueryAllUniversalTxRequest) String() string
type QueryAllUniversalTxResponse ¶
type QueryAllUniversalTxResponse struct {
UniversalTxs []*UniversalTx `protobuf:"bytes,1,rep,name=universal_txs,json=universalTxs,proto3" json:"universal_txs,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllUniversalTxResponse) Descriptor
deprecated
func (*QueryAllUniversalTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUniversalTxResponse.ProtoReflect.Descriptor instead.
func (*QueryAllUniversalTxResponse) GetPagination ¶
func (x *QueryAllUniversalTxResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllUniversalTxResponse) GetUniversalTxs ¶
func (x *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx
func (*QueryAllUniversalTxResponse) ProtoMessage ¶
func (*QueryAllUniversalTxResponse) ProtoMessage()
func (*QueryAllUniversalTxResponse) ProtoReflect ¶
func (x *QueryAllUniversalTxResponse) ProtoReflect() protoreflect.Message
func (*QueryAllUniversalTxResponse) Reset ¶
func (x *QueryAllUniversalTxResponse) Reset()
func (*QueryAllUniversalTxResponse) String ¶
func (x *QueryAllUniversalTxResponse) String() string
type QueryChainMetaRequest ¶ added in v0.0.19
type QueryChainMetaRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
Single chain meta
func (*QueryChainMetaRequest) Descriptor
deprecated
added in
v0.0.19
func (*QueryChainMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryChainMetaRequest.ProtoReflect.Descriptor instead.
func (*QueryChainMetaRequest) GetChainId ¶ added in v0.0.19
func (x *QueryChainMetaRequest) GetChainId() string
func (*QueryChainMetaRequest) ProtoMessage ¶ added in v0.0.19
func (*QueryChainMetaRequest) ProtoMessage()
func (*QueryChainMetaRequest) ProtoReflect ¶ added in v0.0.19
func (x *QueryChainMetaRequest) ProtoReflect() protoreflect.Message
func (*QueryChainMetaRequest) Reset ¶ added in v0.0.19
func (x *QueryChainMetaRequest) Reset()
func (*QueryChainMetaRequest) String ¶ added in v0.0.19
func (x *QueryChainMetaRequest) String() string
type QueryChainMetaResponse ¶ added in v0.0.19
type QueryChainMetaResponse struct {
ChainMeta *ChainMeta `protobuf:"bytes,1,opt,name=chain_meta,json=chainMeta,proto3" json:"chain_meta,omitempty"`
// contains filtered or unexported fields
}
func (*QueryChainMetaResponse) Descriptor
deprecated
added in
v0.0.19
func (*QueryChainMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryChainMetaResponse.ProtoReflect.Descriptor instead.
func (*QueryChainMetaResponse) GetChainMeta ¶ added in v0.0.19
func (x *QueryChainMetaResponse) GetChainMeta() *ChainMeta
func (*QueryChainMetaResponse) ProtoMessage ¶ added in v0.0.19
func (*QueryChainMetaResponse) ProtoMessage()
func (*QueryChainMetaResponse) ProtoReflect ¶ added in v0.0.19
func (x *QueryChainMetaResponse) ProtoReflect() protoreflect.Message
func (*QueryChainMetaResponse) Reset ¶ added in v0.0.19
func (x *QueryChainMetaResponse) Reset()
func (*QueryChainMetaResponse) String ¶ added in v0.0.19
func (x *QueryChainMetaResponse) String() string
type QueryClient ¶
type QueryClient interface {
// Params queries all parameters of the module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// Queries all pending inbound IDs.
AllPendingInbounds(ctx context.Context, in *QueryAllPendingInboundsRequest, opts ...grpc.CallOption) (*QueryAllPendingInboundsResponse, error)
// Queries a single UniversalTx by ID.
GetUniversalTx(ctx context.Context, in *QueryGetUniversalTxRequest, opts ...grpc.CallOption) (*QueryGetUniversalTxResponse, error)
// Queries all UniversalTxs.
AllUniversalTx(ctx context.Context, in *QueryAllUniversalTxRequest, opts ...grpc.CallOption) (*QueryAllUniversalTxResponse, error)
// 🔹 Queries gas price for a specific chain
GasPrice(ctx context.Context, in *QueryGasPriceRequest, opts ...grpc.CallOption) (*QueryGasPriceResponse, error)
// 🔹 Queries all gas prices across chains
AllGasPrices(ctx context.Context, in *QueryAllGasPricesRequest, opts ...grpc.CallOption) (*QueryAllGasPricesResponse, error)
// 🔹 Queries chain meta for a specific chain
ChainMeta(ctx context.Context, in *QueryChainMetaRequest, opts ...grpc.CallOption) (*QueryChainMetaResponse, error)
// 🔹 Queries all chain metas across chains
AllChainMetas(ctx context.Context, in *QueryAllChainMetasRequest, opts ...grpc.CallOption) (*QueryAllChainMetasResponse, error)
// Get a single pending outbound by ID
GetPendingOutbound(ctx context.Context, in *QueryGetPendingOutboundRequest, opts ...grpc.CallOption) (*QueryGetPendingOutboundResponse, error)
// Get all pending outbounds (paginated)
AllPendingOutbounds(ctx context.Context, in *QueryAllPendingOutboundsRequest, opts ...grpc.CallOption) (*QueryAllPendingOutboundsResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGasPriceRequest ¶
type QueryGasPriceRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
Single gas price
func (*QueryGasPriceRequest) Descriptor
deprecated
func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGasPriceRequest.ProtoReflect.Descriptor instead.
func (*QueryGasPriceRequest) GetChainId ¶
func (x *QueryGasPriceRequest) GetChainId() string
func (*QueryGasPriceRequest) ProtoMessage ¶
func (*QueryGasPriceRequest) ProtoMessage()
func (*QueryGasPriceRequest) ProtoReflect ¶
func (x *QueryGasPriceRequest) ProtoReflect() protoreflect.Message
func (*QueryGasPriceRequest) Reset ¶
func (x *QueryGasPriceRequest) Reset()
func (*QueryGasPriceRequest) String ¶
func (x *QueryGasPriceRequest) String() string
type QueryGasPriceResponse ¶
type QueryGasPriceResponse struct {
GasPrice *GasPrice `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGasPriceResponse) Descriptor
deprecated
func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGasPriceResponse.ProtoReflect.Descriptor instead.
func (*QueryGasPriceResponse) GetGasPrice ¶
func (x *QueryGasPriceResponse) GetGasPrice() *GasPrice
func (*QueryGasPriceResponse) ProtoMessage ¶
func (*QueryGasPriceResponse) ProtoMessage()
func (*QueryGasPriceResponse) ProtoReflect ¶
func (x *QueryGasPriceResponse) ProtoReflect() protoreflect.Message
func (*QueryGasPriceResponse) Reset ¶
func (x *QueryGasPriceResponse) Reset()
func (*QueryGasPriceResponse) String ¶
func (x *QueryGasPriceResponse) String() string
type QueryGetPendingOutboundRequest ¶ added in v0.0.23
type QueryGetPendingOutboundRequest struct {
OutboundId string `protobuf:"bytes,1,opt,name=outbound_id,json=outboundId,proto3" json:"outbound_id,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetPendingOutboundRequest) Descriptor
deprecated
added in
v0.0.23
func (*QueryGetPendingOutboundRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetPendingOutboundRequest.ProtoReflect.Descriptor instead.
func (*QueryGetPendingOutboundRequest) GetOutboundId ¶ added in v0.0.23
func (x *QueryGetPendingOutboundRequest) GetOutboundId() string
func (*QueryGetPendingOutboundRequest) ProtoMessage ¶ added in v0.0.23
func (*QueryGetPendingOutboundRequest) ProtoMessage()
func (*QueryGetPendingOutboundRequest) ProtoReflect ¶ added in v0.0.23
func (x *QueryGetPendingOutboundRequest) ProtoReflect() protoreflect.Message
func (*QueryGetPendingOutboundRequest) Reset ¶ added in v0.0.23
func (x *QueryGetPendingOutboundRequest) Reset()
func (*QueryGetPendingOutboundRequest) String ¶ added in v0.0.23
func (x *QueryGetPendingOutboundRequest) String() string
type QueryGetPendingOutboundResponse ¶ added in v0.0.23
type QueryGetPendingOutboundResponse struct {
Entry *PendingOutboundEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
Outbound *OutboundTx `protobuf:"bytes,2,opt,name=outbound,proto3" json:"outbound,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetPendingOutboundResponse) Descriptor
deprecated
added in
v0.0.23
func (*QueryGetPendingOutboundResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetPendingOutboundResponse.ProtoReflect.Descriptor instead.
func (*QueryGetPendingOutboundResponse) GetEntry ¶ added in v0.0.23
func (x *QueryGetPendingOutboundResponse) GetEntry() *PendingOutboundEntry
func (*QueryGetPendingOutboundResponse) GetOutbound ¶ added in v0.0.23
func (x *QueryGetPendingOutboundResponse) GetOutbound() *OutboundTx
func (*QueryGetPendingOutboundResponse) ProtoMessage ¶ added in v0.0.23
func (*QueryGetPendingOutboundResponse) ProtoMessage()
func (*QueryGetPendingOutboundResponse) ProtoReflect ¶ added in v0.0.23
func (x *QueryGetPendingOutboundResponse) ProtoReflect() protoreflect.Message
func (*QueryGetPendingOutboundResponse) Reset ¶ added in v0.0.23
func (x *QueryGetPendingOutboundResponse) Reset()
func (*QueryGetPendingOutboundResponse) String ¶ added in v0.0.23
func (x *QueryGetPendingOutboundResponse) String() string
type QueryGetUniversalTxRequest ¶
type QueryGetUniversalTxRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Get UniversalTx
func (*QueryGetUniversalTxRequest) Descriptor
deprecated
func (*QueryGetUniversalTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUniversalTxRequest.ProtoReflect.Descriptor instead.
func (*QueryGetUniversalTxRequest) GetId ¶
func (x *QueryGetUniversalTxRequest) GetId() string
func (*QueryGetUniversalTxRequest) ProtoMessage ¶
func (*QueryGetUniversalTxRequest) ProtoMessage()
func (*QueryGetUniversalTxRequest) ProtoReflect ¶
func (x *QueryGetUniversalTxRequest) ProtoReflect() protoreflect.Message
func (*QueryGetUniversalTxRequest) Reset ¶
func (x *QueryGetUniversalTxRequest) Reset()
func (*QueryGetUniversalTxRequest) String ¶
func (x *QueryGetUniversalTxRequest) String() string
type QueryGetUniversalTxResponse ¶
type QueryGetUniversalTxResponse struct {
UniversalTx *UniversalTxLegacy `protobuf:"bytes,1,opt,name=universal_tx,json=universalTx,proto3" json:"universal_tx,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetUniversalTxResponse) Descriptor
deprecated
func (*QueryGetUniversalTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUniversalTxResponse.ProtoReflect.Descriptor instead.
func (*QueryGetUniversalTxResponse) GetUniversalTx ¶
func (x *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTxLegacy
func (*QueryGetUniversalTxResponse) ProtoMessage ¶
func (*QueryGetUniversalTxResponse) ProtoMessage()
func (*QueryGetUniversalTxResponse) ProtoReflect ¶
func (x *QueryGetUniversalTxResponse) ProtoReflect() protoreflect.Message
func (*QueryGetUniversalTxResponse) Reset ¶
func (x *QueryGetUniversalTxResponse) Reset()
func (*QueryGetUniversalTxResponse) String ¶
func (x *QueryGetUniversalTxResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
Existing types
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params defines the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface {
// Params queries all parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// Queries all pending inbound IDs.
AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
// Queries a single UniversalTx by ID.
GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
// Queries all UniversalTxs.
AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
// 🔹 Queries gas price for a specific chain
GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
// 🔹 Queries all gas prices across chains
AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
// 🔹 Queries chain meta for a specific chain
ChainMeta(context.Context, *QueryChainMetaRequest) (*QueryChainMetaResponse, error)
// 🔹 Queries all chain metas across chains
AllChainMetas(context.Context, *QueryAllChainMetasRequest) (*QueryAllChainMetasResponse, error)
// Get a single pending outbound by ID
GetPendingOutbound(context.Context, *QueryGetPendingOutboundRequest) (*QueryGetPendingOutboundResponse, error)
// Get all pending outbounds (paginated)
AllPendingOutbounds(context.Context, *QueryAllPendingOutboundsRequest) (*QueryAllPendingOutboundsResponse, error)
// contains filtered or unexported methods
}
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type RevertInstructions ¶ added in v0.0.13
type RevertInstructions struct {
FundRecipient string `protobuf:"bytes,1,opt,name=fund_recipient,json=fundRecipient,proto3" json:"fund_recipient,omitempty"` // where funds go in revert/refund
// contains filtered or unexported fields
}
func (*RevertInstructions) Descriptor
deprecated
added in
v0.0.13
func (*RevertInstructions) Descriptor() ([]byte, []int)
Deprecated: Use RevertInstructions.ProtoReflect.Descriptor instead.
func (*RevertInstructions) GetFundRecipient ¶ added in v0.0.13
func (x *RevertInstructions) GetFundRecipient() string
func (*RevertInstructions) ProtoMessage ¶ added in v0.0.13
func (*RevertInstructions) ProtoMessage()
func (*RevertInstructions) ProtoReflect ¶ added in v0.0.13
func (x *RevertInstructions) ProtoReflect() protoreflect.Message
func (*RevertInstructions) Reset ¶ added in v0.0.13
func (x *RevertInstructions) Reset()
func (*RevertInstructions) String ¶ added in v0.0.13
func (x *RevertInstructions) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type TxType ¶ added in v0.0.13
type TxType int32
func (TxType) Descriptor ¶ added in v0.0.13
func (TxType) Descriptor() protoreflect.EnumDescriptor
func (TxType) EnumDescriptor
deprecated
added in
v0.0.13
func (TxType) Number ¶ added in v0.0.13
func (x TxType) Number() protoreflect.EnumNumber
func (TxType) Type ¶ added in v0.0.13
func (TxType) Type() protoreflect.EnumType
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) ExecutePayload ¶
func (UnimplementedMsgServer) ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
func (UnimplementedMsgServer) MigrateUEA ¶
func (UnimplementedMsgServer) MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) VoteChainMeta ¶ added in v0.0.19
func (UnimplementedMsgServer) VoteChainMeta(context.Context, *MsgVoteChainMeta) (*MsgVoteChainMetaResponse, error)
func (UnimplementedMsgServer) VoteInbound ¶
func (UnimplementedMsgServer) VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
func (UnimplementedMsgServer) VoteOutbound ¶ added in v0.0.13
func (UnimplementedMsgServer) VoteOutbound(context.Context, *MsgVoteOutbound) (*MsgVoteOutboundResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllChainMetas ¶ added in v0.0.19
func (UnimplementedQueryServer) AllChainMetas(context.Context, *QueryAllChainMetasRequest) (*QueryAllChainMetasResponse, error)
func (UnimplementedQueryServer) AllGasPrices ¶
func (UnimplementedQueryServer) AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
func (UnimplementedQueryServer) AllPendingInbounds ¶
func (UnimplementedQueryServer) AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
func (UnimplementedQueryServer) AllPendingOutbounds ¶ added in v0.0.23
func (UnimplementedQueryServer) AllPendingOutbounds(context.Context, *QueryAllPendingOutboundsRequest) (*QueryAllPendingOutboundsResponse, error)
func (UnimplementedQueryServer) AllUniversalTx ¶
func (UnimplementedQueryServer) AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
func (UnimplementedQueryServer) ChainMeta ¶ added in v0.0.19
func (UnimplementedQueryServer) ChainMeta(context.Context, *QueryChainMetaRequest) (*QueryChainMetaResponse, error)
func (UnimplementedQueryServer) GasPrice ¶
func (UnimplementedQueryServer) GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
func (UnimplementedQueryServer) GetPendingOutbound ¶ added in v0.0.23
func (UnimplementedQueryServer) GetPendingOutbound(context.Context, *QueryGetPendingOutboundRequest) (*QueryGetPendingOutboundResponse, error)
func (UnimplementedQueryServer) GetUniversalTx ¶
func (UnimplementedQueryServer) GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UniversalAccountId ¶
type UniversalAccountId struct {
ChainNamespace string `protobuf:"bytes,1,opt,name=chain_namespace,json=chainNamespace,proto3" json:"chain_namespace,omitempty"` // chain_namespace is the CAIP-2 namespace of the chain where the owner is located (e.g. "eip155" for Ethereum)
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // chain_id is the chain ID of the chain where the owner is located
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // Owner's public key bytes or address in hex format
// contains filtered or unexported fields
}
UniversalAccountId is the identifier of a owner account
func (*UniversalAccountId) Descriptor
deprecated
func (*UniversalAccountId) Descriptor() ([]byte, []int)
Deprecated: Use UniversalAccountId.ProtoReflect.Descriptor instead.
func (*UniversalAccountId) GetChainId ¶
func (x *UniversalAccountId) GetChainId() string
func (*UniversalAccountId) GetChainNamespace ¶
func (x *UniversalAccountId) GetChainNamespace() string
func (*UniversalAccountId) GetOwner ¶
func (x *UniversalAccountId) GetOwner() string
func (*UniversalAccountId) ProtoMessage ¶
func (*UniversalAccountId) ProtoMessage()
func (*UniversalAccountId) ProtoReflect ¶
func (x *UniversalAccountId) ProtoReflect() protoreflect.Message
func (*UniversalAccountId) Reset ¶
func (x *UniversalAccountId) Reset()
func (*UniversalAccountId) String ¶
func (x *UniversalAccountId) String() string
type UniversalPayload ¶
type UniversalPayload struct {
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` // EVM address as hex string (0x...)
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Amount in upc as string (uint256)
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // ABI-encoded calldata
GasLimit string `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // uint256 as string
MaxFeePerGas string `protobuf:"bytes,5,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"` // uint256 as string
MaxPriorityFeePerGas string `` // uint256 as string
/* 127-byte string literal not displayed */
Nonce string `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` // uint256 as string
Deadline string `protobuf:"bytes,8,opt,name=deadline,proto3" json:"deadline,omitempty"` // uint256 as string
VType VerificationType `protobuf:"varint,9,opt,name=v_type,json=vType,proto3,enum=uexecutor.v1.VerificationType" json:"v_type,omitempty"` // Type of verification to use before execution
// contains filtered or unexported fields
}
UniversalPayload mirrors the Solidity struct
func (*UniversalPayload) Descriptor
deprecated
func (*UniversalPayload) Descriptor() ([]byte, []int)
Deprecated: Use UniversalPayload.ProtoReflect.Descriptor instead.
func (*UniversalPayload) GetData ¶
func (x *UniversalPayload) GetData() string
func (*UniversalPayload) GetDeadline ¶
func (x *UniversalPayload) GetDeadline() string
func (*UniversalPayload) GetGasLimit ¶
func (x *UniversalPayload) GetGasLimit() string
func (*UniversalPayload) GetMaxFeePerGas ¶
func (x *UniversalPayload) GetMaxFeePerGas() string
func (*UniversalPayload) GetMaxPriorityFeePerGas ¶
func (x *UniversalPayload) GetMaxPriorityFeePerGas() string
func (*UniversalPayload) GetNonce ¶
func (x *UniversalPayload) GetNonce() string
func (*UniversalPayload) GetTo ¶
func (x *UniversalPayload) GetTo() string
func (*UniversalPayload) GetVType ¶
func (x *UniversalPayload) GetVType() VerificationType
func (*UniversalPayload) GetValue ¶
func (x *UniversalPayload) GetValue() string
func (*UniversalPayload) ProtoMessage ¶
func (*UniversalPayload) ProtoMessage()
func (*UniversalPayload) ProtoReflect ¶
func (x *UniversalPayload) ProtoReflect() protoreflect.Message
func (*UniversalPayload) Reset ¶
func (x *UniversalPayload) Reset()
func (*UniversalPayload) String ¶
func (x *UniversalPayload) String() string
type UniversalTx ¶
type UniversalTx struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
InboundTx *Inbound `protobuf:"bytes,2,opt,name=inbound_tx,json=inboundTx,proto3" json:"inbound_tx,omitempty"` // Full inbound tx data
PcTx []*PCTx `protobuf:"bytes,3,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"` // Execution details on Push Chain
OutboundTx []*OutboundTx `protobuf:"bytes,4,rep,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"` // Outbound tx triggered by this tx
RevertError string `protobuf:"bytes,5,opt,name=revert_error,json=revertError,proto3" json:"revert_error,omitempty"` // Non-empty if revert outbound attachment failed
// contains filtered or unexported fields
}
func (*UniversalTx) Descriptor
deprecated
func (*UniversalTx) Descriptor() ([]byte, []int)
Deprecated: Use UniversalTx.ProtoReflect.Descriptor instead.
func (*UniversalTx) GetId ¶ added in v0.0.13
func (x *UniversalTx) GetId() string
func (*UniversalTx) GetInboundTx ¶
func (x *UniversalTx) GetInboundTx() *Inbound
func (*UniversalTx) GetOutboundTx ¶
func (x *UniversalTx) GetOutboundTx() []*OutboundTx
func (*UniversalTx) GetPcTx ¶
func (x *UniversalTx) GetPcTx() []*PCTx
func (*UniversalTx) GetRevertError ¶ added in v0.0.23
func (x *UniversalTx) GetRevertError() string
func (*UniversalTx) ProtoMessage ¶
func (*UniversalTx) ProtoMessage()
func (*UniversalTx) ProtoReflect ¶
func (x *UniversalTx) ProtoReflect() protoreflect.Message
func (*UniversalTx) Reset ¶
func (x *UniversalTx) Reset()
func (*UniversalTx) String ¶
func (x *UniversalTx) String() string
type UniversalTxEntry ¶ added in v0.0.23
type UniversalTxEntry struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *UniversalTx `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
UniversalTxEntry is a key-value pair for exporting UniversalTx map state.
func (*UniversalTxEntry) Descriptor
deprecated
added in
v0.0.23
func (*UniversalTxEntry) Descriptor() ([]byte, []int)
Deprecated: Use UniversalTxEntry.ProtoReflect.Descriptor instead.
func (*UniversalTxEntry) GetKey ¶ added in v0.0.23
func (x *UniversalTxEntry) GetKey() string
func (*UniversalTxEntry) GetValue ¶ added in v0.0.23
func (x *UniversalTxEntry) GetValue() *UniversalTx
func (*UniversalTxEntry) ProtoMessage ¶ added in v0.0.23
func (*UniversalTxEntry) ProtoMessage()
func (*UniversalTxEntry) ProtoReflect ¶ added in v0.0.23
func (x *UniversalTxEntry) ProtoReflect() protoreflect.Message
func (*UniversalTxEntry) Reset ¶ added in v0.0.23
func (x *UniversalTxEntry) Reset()
func (*UniversalTxEntry) String ¶ added in v0.0.23
func (x *UniversalTxEntry) String() string
type UniversalTxLegacy ¶ added in v0.0.15
type UniversalTxLegacy struct {
InboundTx *InboundLegacy `protobuf:"bytes,1,opt,name=inbound_tx,json=inboundTx,proto3" json:"inbound_tx,omitempty"` // Full inbound tx data
PcTx []*PCTx `protobuf:"bytes,2,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"` // Execution details on Push Chain
OutboundTx *OutboundTxLegacy `protobuf:"bytes,3,opt,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"` // Outbound tx triggered by this tx
UniversalStatus UniversalTxStatus `` // Current status
/* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UniversalTxLegacy) Descriptor
deprecated
added in
v0.0.15
func (*UniversalTxLegacy) Descriptor() ([]byte, []int)
Deprecated: Use UniversalTxLegacy.ProtoReflect.Descriptor instead.
func (*UniversalTxLegacy) GetInboundTx ¶ added in v0.0.15
func (x *UniversalTxLegacy) GetInboundTx() *InboundLegacy
func (*UniversalTxLegacy) GetOutboundTx ¶ added in v0.0.15
func (x *UniversalTxLegacy) GetOutboundTx() *OutboundTxLegacy
func (*UniversalTxLegacy) GetPcTx ¶ added in v0.0.15
func (x *UniversalTxLegacy) GetPcTx() []*PCTx
func (*UniversalTxLegacy) GetUniversalStatus ¶ added in v0.0.15
func (x *UniversalTxLegacy) GetUniversalStatus() UniversalTxStatus
func (*UniversalTxLegacy) ProtoMessage ¶ added in v0.0.15
func (*UniversalTxLegacy) ProtoMessage()
func (*UniversalTxLegacy) ProtoReflect ¶ added in v0.0.15
func (x *UniversalTxLegacy) ProtoReflect() protoreflect.Message
func (*UniversalTxLegacy) Reset ¶ added in v0.0.15
func (x *UniversalTxLegacy) Reset()
func (*UniversalTxLegacy) String ¶ added in v0.0.15
func (x *UniversalTxLegacy) String() string
type UniversalTxStatus ¶
type UniversalTxStatus int32
const ( UniversalTxStatus_UNIVERSAL_TX_STATUS_UNSPECIFIED UniversalTxStatus = 0 UniversalTxStatus_INBOUND_SUCCESS UniversalTxStatus = 1 // inbound vote finalized successfully UniversalTxStatus_PENDING_INBOUND_EXECUTION UniversalTxStatus = 2 // created after inbound vote finalization, waiting PC execution UniversalTxStatus_PC_EXECUTED_SUCCESS UniversalTxStatus = 3 // executed successfully on Push Chain UniversalTxStatus_PC_EXECUTED_FAILED UniversalTxStatus = 4 // failed execution on Push Chain UniversalTxStatus_PC_PENDING_REVERT UniversalTxStatus = 5 // execution failed and pending revert UniversalTxStatus_OUTBOUND_PENDING UniversalTxStatus = 6 // outbound tx triggered but not confirmed UniversalTxStatus_OUTBOUND_SUCCESS UniversalTxStatus = 7 // outbound succeeded UniversalTxStatus_OUTBOUND_FAILED UniversalTxStatus = 8 // outbound failed UniversalTxStatus_CANCELED UniversalTxStatus = 9 )
func (UniversalTxStatus) Descriptor ¶
func (UniversalTxStatus) Descriptor() protoreflect.EnumDescriptor
func (UniversalTxStatus) Enum ¶
func (x UniversalTxStatus) Enum() *UniversalTxStatus
func (UniversalTxStatus) EnumDescriptor
deprecated
func (UniversalTxStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UniversalTxStatus.Descriptor instead.
func (UniversalTxStatus) Number ¶
func (x UniversalTxStatus) Number() protoreflect.EnumNumber
func (UniversalTxStatus) String ¶
func (x UniversalTxStatus) String() string
func (UniversalTxStatus) Type ¶
func (UniversalTxStatus) Type() protoreflect.EnumType
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type VerificationType ¶
type VerificationType int32
Signature verification types
const ( VerificationType_signedVerification VerificationType = 0 // Signed verification using a signature VerificationType_universalTxVerification VerificationType = 1 // Universal transaction verification )
func (VerificationType) Descriptor ¶
func (VerificationType) Descriptor() protoreflect.EnumDescriptor
func (VerificationType) Enum ¶
func (x VerificationType) Enum() *VerificationType
func (VerificationType) EnumDescriptor
deprecated
func (VerificationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerificationType.Descriptor instead.
func (VerificationType) Number ¶
func (x VerificationType) Number() protoreflect.EnumNumber
func (VerificationType) String ¶
func (x VerificationType) String() string
func (VerificationType) Type ¶
func (VerificationType) Type() protoreflect.EnumType