Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func EncodeUniversalPayloadToRaw(up *UniversalPayload) (string, error)
- func GetInboundBallotKey(inbound Inbound) (string, error)
- func GetInboundUniversalTxKey(inbound Inbound) string
- func GetOutboundBallotKey(utxId string, outboundIndex string, observedTx OutboundObservation) (string, error)
- func GetOutboundRevertId(sourceChain, inboundTxHash, logIndex string) string
- func GetPcUniversalTxKey(pcCaip string, pc PCTx) string
- func GetRescueFundsOutboundId(pushChainCaip string, pcTxHash string, logIndex string) string
- func IsPC20Payload(payload string) bool
- func NewOutboundCreatedEvent(e OutboundCreatedEvent) (sdk.Event, error)
- func ParseCAIP2(chain string) (namespace string, chainId string, err error)
- func ParseFactoryABI() (abi.ABI, error)
- func ParsePRC20ABI() (abi.ABI, error)
- func ParseRecipientContractABI() (abi.ABI, error)
- func ParseUeaABI() (abi.ABI, error)
- func ParseUniswapQuoterV2ABI() (abi.ABI, error)
- func ParseUniversalCoreABI() (abi.ABI, error)
- func ParseVaultPC20ABI() (abi.ABI, error)
- func ProtoTxTypeToSolidity(txType TxType) uint8
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RouteInboundPayload(payload string) (isPC20 bool, userPayload string)
- func StripSelector(payload string) string
- func ValidateOutboundPayloadBlobSize(field, blob string) error
- func ValidatePayloadBlobSize(field, blob string) error
- func ValidateUint256String(value string, errMsg string) (*big.Int, error)
- type AbiQuoteExactInputSingleParams
- type AbiUniversalAccountId
- type AbiUniversalPayload
- type AccountKeeper
- type BankKeeper
- type ChainMeta
- func (*ChainMeta) Descriptor() ([]byte, []int)
- func (this *ChainMeta) Equal(that interface{}) bool
- func (m *ChainMeta) GetChainHeights() []uint64
- func (m *ChainMeta) GetLastAppliedChainHeight() uint64
- func (m *ChainMeta) GetMedianIndex() uint64
- func (m *ChainMeta) GetObservedChainId() string
- func (m *ChainMeta) GetPrices() []uint64
- func (m *ChainMeta) GetSigners() []string
- func (m *ChainMeta) GetStoredAts() []uint64
- func (m *ChainMeta) Marshal() (dAtA []byte, err error)
- func (m *ChainMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainMeta) ProtoMessage()
- func (m *ChainMeta) Reset()
- func (m *ChainMeta) Size() (n int)
- func (p ChainMeta) String() string
- func (m *ChainMeta) Unmarshal(dAtA []byte) error
- func (p ChainMeta) ValidateBasic() error
- func (m *ChainMeta) XXX_DiscardUnknown()
- func (m *ChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMeta) XXX_Merge(src proto.Message)
- func (m *ChainMeta) XXX_Size() int
- func (m *ChainMeta) XXX_Unmarshal(b []byte) error
- type ChainMetaEntry
- func (*ChainMetaEntry) Descriptor() ([]byte, []int)
- func (m *ChainMetaEntry) GetKey() string
- func (m *ChainMetaEntry) GetValue() ChainMeta
- func (m *ChainMetaEntry) Marshal() (dAtA []byte, err error)
- func (m *ChainMetaEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainMetaEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainMetaEntry) ProtoMessage()
- func (m *ChainMetaEntry) Reset()
- func (m *ChainMetaEntry) Size() (n int)
- func (m *ChainMetaEntry) String() string
- func (m *ChainMetaEntry) Unmarshal(dAtA []byte) error
- func (m *ChainMetaEntry) XXX_DiscardUnknown()
- func (m *ChainMetaEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMetaEntry) XXX_Merge(src proto.Message)
- func (m *ChainMetaEntry) XXX_Size() int
- func (m *ChainMetaEntry) XXX_Unmarshal(b []byte) error
- type EVMKeeper
- type ExpiredInboundEntry
- func (*ExpiredInboundEntry) Descriptor() ([]byte, []int)
- func (this *ExpiredInboundEntry) Equal(that interface{}) bool
- func (m *ExpiredInboundEntry) GetExpiredAtHeight() uint64
- func (m *ExpiredInboundEntry) GetUtxKey() string
- func (m *ExpiredInboundEntry) GetVariants() []InboundVariant
- func (m *ExpiredInboundEntry) Marshal() (dAtA []byte, err error)
- func (m *ExpiredInboundEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ExpiredInboundEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExpiredInboundEntry) ProtoMessage()
- func (m *ExpiredInboundEntry) Reset()
- func (m *ExpiredInboundEntry) Size() (n int)
- func (m *ExpiredInboundEntry) String() string
- func (m *ExpiredInboundEntry) Unmarshal(dAtA []byte) error
- func (m *ExpiredInboundEntry) XXX_DiscardUnknown()
- func (m *ExpiredInboundEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpiredInboundEntry) XXX_Merge(src proto.Message)
- func (m *ExpiredInboundEntry) XXX_Size() int
- func (m *ExpiredInboundEntry) XXX_Unmarshal(b []byte) error
- type FeeMarketKeeper
- type GasPrice
- func (*GasPrice) Descriptor() ([]byte, []int)
- func (this *GasPrice) Equal(that interface{}) bool
- func (m *GasPrice) GetBlockNums() []uint64
- func (m *GasPrice) GetMedianIndex() uint64
- func (m *GasPrice) GetObservedChainId() string
- func (m *GasPrice) GetPrices() []uint64
- func (m *GasPrice) GetSigners() []string
- func (m *GasPrice) Marshal() (dAtA []byte, err error)
- func (m *GasPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPrice) ProtoMessage()
- func (m *GasPrice) Reset()
- func (m *GasPrice) Size() (n int)
- func (p GasPrice) String() string
- func (m *GasPrice) Unmarshal(dAtA []byte) error
- func (p GasPrice) ValidateBasic() error
- func (m *GasPrice) XXX_DiscardUnknown()
- func (m *GasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPrice) XXX_Merge(src proto.Message)
- func (m *GasPrice) XXX_Size() int
- func (m *GasPrice) XXX_Unmarshal(b []byte) error
- type GasPriceEntry
- func (*GasPriceEntry) Descriptor() ([]byte, []int)
- func (m *GasPriceEntry) GetKey() string
- func (m *GasPriceEntry) GetValue() GasPrice
- func (m *GasPriceEntry) Marshal() (dAtA []byte, err error)
- func (m *GasPriceEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPriceEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPriceEntry) ProtoMessage()
- func (m *GasPriceEntry) Reset()
- func (m *GasPriceEntry) Size() (n int)
- func (m *GasPriceEntry) String() string
- func (m *GasPriceEntry) Unmarshal(dAtA []byte) error
- func (m *GasPriceEntry) XXX_DiscardUnknown()
- func (m *GasPriceEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPriceEntry) XXX_Merge(src proto.Message)
- func (m *GasPriceEntry) XXX_Size() int
- func (m *GasPriceEntry) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChainMetas() []ChainMetaEntry
- func (m *GenesisState) GetExpiredInbounds() []ExpiredInboundEntry
- func (m *GenesisState) GetExported() bool
- func (m *GenesisState) GetGasPrices() []GasPriceEntry
- func (m *GenesisState) GetModuleAccountNonce() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPendingInbounds() []PendingInboundEntry
- func (m *GenesisState) GetPendingOutbounds() []PendingOutboundEntry
- func (m *GenesisState) GetUniversalTxs() []UniversalTxEntry
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) ValidateBasic() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Inbound
- func (p *Inbound) Canonicalize()
- func (*Inbound) Descriptor() ([]byte, []int)
- func (this *Inbound) Equal(that interface{}) bool
- func (m *Inbound) GetAmount() string
- func (m *Inbound) GetAssetAddr() string
- func (m *Inbound) GetIsCEA() bool
- func (m *Inbound) GetIsPc20() bool
- func (m *Inbound) GetLogIndex() string
- func (m *Inbound) GetRawPayload() string
- func (m *Inbound) GetRecipient() string
- func (m *Inbound) GetRevertInstructions() *RevertInstructions
- func (m *Inbound) GetSender() string
- func (m *Inbound) GetSourceChain() string
- func (m *Inbound) GetTxHash() string
- func (m *Inbound) GetTxType() TxType
- func (m *Inbound) GetUniversalPayload() *UniversalPayload
- func (m *Inbound) GetVerificationData() string
- func (m *Inbound) Marshal() (dAtA []byte, err error)
- func (m *Inbound) MarshalTo(dAtA []byte) (int, error)
- func (m *Inbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Inbound) NormalizeForTxType() error
- func (*Inbound) ProtoMessage()
- func (m *Inbound) Reset()
- func (m *Inbound) Size() (n int)
- func (p Inbound) String() string
- func (m *Inbound) Unmarshal(dAtA []byte) error
- func (p Inbound) ValidateBasic() error
- func (p Inbound) ValidateForExecution() error
- func (p *Inbound) ValidateSize() error
- func (m *Inbound) XXX_DiscardUnknown()
- func (m *Inbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Inbound) XXX_Merge(src proto.Message)
- func (m *Inbound) XXX_Size() int
- func (m *Inbound) XXX_Unmarshal(b []byte) error
- type InboundLegacy
- func (*InboundLegacy) Descriptor() ([]byte, []int)
- func (this *InboundLegacy) Equal(that interface{}) bool
- func (m *InboundLegacy) GetAmount() string
- func (m *InboundLegacy) GetAssetAddr() string
- func (m *InboundLegacy) GetLogIndex() string
- func (m *InboundLegacy) GetRecipient() string
- func (m *InboundLegacy) GetSender() string
- func (m *InboundLegacy) GetSourceChain() string
- func (m *InboundLegacy) GetTxHash() string
- func (m *InboundLegacy) GetTxType() InboundTxTypeLegacy
- func (m *InboundLegacy) GetUniversalPayload() *UniversalPayload
- func (m *InboundLegacy) GetVerificationData() string
- func (m *InboundLegacy) Marshal() (dAtA []byte, err error)
- func (m *InboundLegacy) MarshalTo(dAtA []byte) (int, error)
- func (m *InboundLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InboundLegacy) ProtoMessage()
- func (m *InboundLegacy) Reset()
- func (m *InboundLegacy) Size() (n int)
- func (m *InboundLegacy) String() string
- func (m *InboundLegacy) Unmarshal(dAtA []byte) error
- func (m *InboundLegacy) XXX_DiscardUnknown()
- func (m *InboundLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InboundLegacy) XXX_Merge(src proto.Message)
- func (m *InboundLegacy) XXX_Size() int
- func (m *InboundLegacy) XXX_Unmarshal(b []byte) error
- type InboundTxTypeLegacy
- type InboundVariant
- func (*InboundVariant) Descriptor() ([]byte, []int)
- func (this *InboundVariant) Equal(that interface{}) bool
- func (m *InboundVariant) GetBallotId() string
- func (m *InboundVariant) GetFirstVotedAtHeight() uint64
- func (m *InboundVariant) GetInbound() *Inbound
- func (m *InboundVariant) GetLastVotedAtHeight() uint64
- func (m *InboundVariant) GetTerminalStatus() types.BallotStatus
- func (m *InboundVariant) GetVoters() []string
- func (m *InboundVariant) Marshal() (dAtA []byte, err error)
- func (m *InboundVariant) MarshalTo(dAtA []byte) (int, error)
- func (m *InboundVariant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InboundVariant) ProtoMessage()
- func (m *InboundVariant) Reset()
- func (m *InboundVariant) Size() (n int)
- func (m *InboundVariant) String() string
- func (m *InboundVariant) Unmarshal(dAtA []byte) error
- func (m *InboundVariant) XXX_DiscardUnknown()
- func (m *InboundVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InboundVariant) XXX_Merge(src proto.Message)
- func (m *InboundVariant) XXX_Size() int
- func (m *InboundVariant) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgExecutePayload
- func (*MsgExecutePayload) Descriptor() ([]byte, []int)
- func (msg MsgExecutePayload) GetSignBytes() []byte
- func (m *MsgExecutePayload) GetSigner() string
- func (msg *MsgExecutePayload) GetSigners() []sdk.AccAddress
- func (m *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId
- func (m *MsgExecutePayload) GetUniversalPayload() *UniversalPayload
- func (m *MsgExecutePayload) GetVerificationData() string
- func (m *MsgExecutePayload) Marshal() (dAtA []byte, err error)
- func (m *MsgExecutePayload) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecutePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecutePayload) ProtoMessage()
- func (m *MsgExecutePayload) Reset()
- func (msg MsgExecutePayload) Route() string
- func (m *MsgExecutePayload) Size() (n int)
- func (m *MsgExecutePayload) String() string
- func (msg MsgExecutePayload) Type() string
- func (m *MsgExecutePayload) Unmarshal(dAtA []byte) error
- func (msg *MsgExecutePayload) ValidateBasic() error
- func (m *MsgExecutePayload) XXX_DiscardUnknown()
- func (m *MsgExecutePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecutePayload) XXX_Merge(src proto.Message)
- func (m *MsgExecutePayload) XXX_Size() int
- func (m *MsgExecutePayload) XXX_Unmarshal(b []byte) error
- type MsgExecutePayloadResponse
- func (*MsgExecutePayloadResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecutePayloadResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecutePayloadResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecutePayloadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecutePayloadResponse) ProtoMessage()
- func (m *MsgExecutePayloadResponse) Reset()
- func (m *MsgExecutePayloadResponse) Size() (n int)
- func (m *MsgExecutePayloadResponse) String() string
- func (m *MsgExecutePayloadResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecutePayloadResponse) XXX_DiscardUnknown()
- func (m *MsgExecutePayloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecutePayloadResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecutePayloadResponse) XXX_Size() int
- func (m *MsgExecutePayloadResponse) XXX_Unmarshal(b []byte) error
- type MsgExecuteStuckInbound
- func (*MsgExecuteStuckInbound) Descriptor() ([]byte, []int)
- func (m *MsgExecuteStuckInbound) GetInbound() *Inbound
- func (m *MsgExecuteStuckInbound) GetSigner() string
- func (m *MsgExecuteStuckInbound) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteStuckInbound) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteStuckInbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteStuckInbound) ProtoMessage()
- func (m *MsgExecuteStuckInbound) Reset()
- func (m *MsgExecuteStuckInbound) Size() (n int)
- func (m *MsgExecuteStuckInbound) String() string
- func (m *MsgExecuteStuckInbound) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteStuckInbound) XXX_DiscardUnknown()
- func (m *MsgExecuteStuckInbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteStuckInbound) XXX_Merge(src proto.Message)
- func (m *MsgExecuteStuckInbound) XXX_Size() int
- func (m *MsgExecuteStuckInbound) XXX_Unmarshal(b []byte) error
- type MsgExecuteStuckInboundResponse
- func (*MsgExecuteStuckInboundResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteStuckInboundResponse) GetUtxId() string
- func (m *MsgExecuteStuckInboundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteStuckInboundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteStuckInboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteStuckInboundResponse) ProtoMessage()
- func (m *MsgExecuteStuckInboundResponse) Reset()
- func (m *MsgExecuteStuckInboundResponse) Size() (n int)
- func (m *MsgExecuteStuckInboundResponse) String() string
- func (m *MsgExecuteStuckInboundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteStuckInboundResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteStuckInboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteStuckInboundResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteStuckInboundResponse) XXX_Size() int
- func (m *MsgExecuteStuckInboundResponse) XXX_Unmarshal(b []byte) error
- type MsgExecuteStuckOutbound
- func (*MsgExecuteStuckOutbound) Descriptor() ([]byte, []int)
- func (m *MsgExecuteStuckOutbound) GetObservedTx() *OutboundObservation
- func (m *MsgExecuteStuckOutbound) GetSigner() string
- func (m *MsgExecuteStuckOutbound) GetTxId() string
- func (m *MsgExecuteStuckOutbound) GetUtxId() string
- func (m *MsgExecuteStuckOutbound) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteStuckOutbound) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteStuckOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteStuckOutbound) ProtoMessage()
- func (m *MsgExecuteStuckOutbound) Reset()
- func (m *MsgExecuteStuckOutbound) Size() (n int)
- func (m *MsgExecuteStuckOutbound) String() string
- func (m *MsgExecuteStuckOutbound) Unmarshal(dAtA []byte) error
- func (msg *MsgExecuteStuckOutbound) ValidateBasic() error
- func (m *MsgExecuteStuckOutbound) XXX_DiscardUnknown()
- func (m *MsgExecuteStuckOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteStuckOutbound) XXX_Merge(src proto.Message)
- func (m *MsgExecuteStuckOutbound) XXX_Size() int
- func (m *MsgExecuteStuckOutbound) XXX_Unmarshal(b []byte) error
- type MsgExecuteStuckOutboundResponse
- func (*MsgExecuteStuckOutboundResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteStuckOutboundResponse) GetOutboundId() string
- func (m *MsgExecuteStuckOutboundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteStuckOutboundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteStuckOutboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteStuckOutboundResponse) ProtoMessage()
- func (m *MsgExecuteStuckOutboundResponse) Reset()
- func (m *MsgExecuteStuckOutboundResponse) Size() (n int)
- func (m *MsgExecuteStuckOutboundResponse) String() string
- func (m *MsgExecuteStuckOutboundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteStuckOutboundResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteStuckOutboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteStuckOutboundResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteStuckOutboundResponse) XXX_Size() int
- func (m *MsgExecuteStuckOutboundResponse) XXX_Unmarshal(b []byte) error
- type MsgRevertStuckInbound
- func (*MsgRevertStuckInbound) Descriptor() ([]byte, []int)
- func (m *MsgRevertStuckInbound) GetInbound() *Inbound
- func (m *MsgRevertStuckInbound) GetSigner() string
- func (m *MsgRevertStuckInbound) Marshal() (dAtA []byte, err error)
- func (m *MsgRevertStuckInbound) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevertStuckInbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevertStuckInbound) ProtoMessage()
- func (m *MsgRevertStuckInbound) Reset()
- func (m *MsgRevertStuckInbound) Size() (n int)
- func (m *MsgRevertStuckInbound) String() string
- func (m *MsgRevertStuckInbound) Unmarshal(dAtA []byte) error
- func (m *MsgRevertStuckInbound) XXX_DiscardUnknown()
- func (m *MsgRevertStuckInbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevertStuckInbound) XXX_Merge(src proto.Message)
- func (m *MsgRevertStuckInbound) XXX_Size() int
- func (m *MsgRevertStuckInbound) XXX_Unmarshal(b []byte) error
- type MsgRevertStuckInboundResponse
- func (*MsgRevertStuckInboundResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevertStuckInboundResponse) GetOutboundId() string
- func (m *MsgRevertStuckInboundResponse) GetUtxId() string
- func (m *MsgRevertStuckInboundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevertStuckInboundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevertStuckInboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevertStuckInboundResponse) ProtoMessage()
- func (m *MsgRevertStuckInboundResponse) Reset()
- func (m *MsgRevertStuckInboundResponse) Size() (n int)
- func (m *MsgRevertStuckInboundResponse) String() string
- func (m *MsgRevertStuckInboundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevertStuckInboundResponse) XXX_DiscardUnknown()
- func (m *MsgRevertStuckInboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevertStuckInboundResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevertStuckInboundResponse) XXX_Size() int
- func (m *MsgRevertStuckInboundResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgVoteChainMeta
- func (*MsgVoteChainMeta) Descriptor() ([]byte, []int)
- func (m *MsgVoteChainMeta) GetChainHeight() uint64
- func (m *MsgVoteChainMeta) GetObservedChainId() string
- func (m *MsgVoteChainMeta) GetPrice() uint64
- func (msg MsgVoteChainMeta) GetSignBytes() []byte
- func (m *MsgVoteChainMeta) GetSigner() string
- func (msg *MsgVoteChainMeta) GetSigners() []sdk.AccAddress
- func (m *MsgVoteChainMeta) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteChainMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteChainMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteChainMeta) ProtoMessage()
- func (m *MsgVoteChainMeta) Reset()
- func (msg MsgVoteChainMeta) Route() string
- func (m *MsgVoteChainMeta) Size() (n int)
- func (m *MsgVoteChainMeta) String() string
- func (msg MsgVoteChainMeta) Type() string
- func (m *MsgVoteChainMeta) Unmarshal(dAtA []byte) error
- func (msg *MsgVoteChainMeta) ValidateBasic() error
- func (m *MsgVoteChainMeta) XXX_DiscardUnknown()
- func (m *MsgVoteChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteChainMeta) XXX_Merge(src proto.Message)
- func (m *MsgVoteChainMeta) XXX_Size() int
- func (m *MsgVoteChainMeta) XXX_Unmarshal(b []byte) error
- type MsgVoteChainMetaResponse
- func (*MsgVoteChainMetaResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteChainMetaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteChainMetaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteChainMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteChainMetaResponse) ProtoMessage()
- func (m *MsgVoteChainMetaResponse) Reset()
- func (m *MsgVoteChainMetaResponse) Size() (n int)
- func (m *MsgVoteChainMetaResponse) String() string
- func (m *MsgVoteChainMetaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteChainMetaResponse) XXX_DiscardUnknown()
- func (m *MsgVoteChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteChainMetaResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteChainMetaResponse) XXX_Size() int
- func (m *MsgVoteChainMetaResponse) XXX_Unmarshal(b []byte) error
- type MsgVoteInbound
- func (*MsgVoteInbound) Descriptor() ([]byte, []int)
- func (m *MsgVoteInbound) GetInbound() *Inbound
- func (msg MsgVoteInbound) GetSignBytes() []byte
- func (m *MsgVoteInbound) GetSigner() string
- func (msg *MsgVoteInbound) GetSigners() []sdk.AccAddress
- func (m *MsgVoteInbound) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteInbound) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteInbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteInbound) ProtoMessage()
- func (m *MsgVoteInbound) Reset()
- func (msg MsgVoteInbound) Route() string
- func (m *MsgVoteInbound) Size() (n int)
- func (m *MsgVoteInbound) String() string
- func (msg MsgVoteInbound) Type() string
- func (m *MsgVoteInbound) Unmarshal(dAtA []byte) error
- func (msg *MsgVoteInbound) ValidateBasic() error
- func (m *MsgVoteInbound) XXX_DiscardUnknown()
- func (m *MsgVoteInbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteInbound) XXX_Merge(src proto.Message)
- func (m *MsgVoteInbound) XXX_Size() int
- func (m *MsgVoteInbound) XXX_Unmarshal(b []byte) error
- type MsgVoteInboundResponse
- func (*MsgVoteInboundResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteInboundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteInboundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteInboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteInboundResponse) ProtoMessage()
- func (m *MsgVoteInboundResponse) Reset()
- func (m *MsgVoteInboundResponse) Size() (n int)
- func (m *MsgVoteInboundResponse) String() string
- func (m *MsgVoteInboundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteInboundResponse) XXX_DiscardUnknown()
- func (m *MsgVoteInboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteInboundResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteInboundResponse) XXX_Size() int
- func (m *MsgVoteInboundResponse) XXX_Unmarshal(b []byte) error
- type MsgVoteOutbound
- func (*MsgVoteOutbound) Descriptor() ([]byte, []int)
- func (m *MsgVoteOutbound) GetObservedTx() *OutboundObservation
- func (msg MsgVoteOutbound) GetSignBytes() []byte
- func (m *MsgVoteOutbound) GetSigner() string
- func (msg *MsgVoteOutbound) GetSigners() []sdk.AccAddress
- func (m *MsgVoteOutbound) GetTxId() string
- func (m *MsgVoteOutbound) GetUtxId() string
- func (m *MsgVoteOutbound) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteOutbound) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteOutbound) ProtoMessage()
- func (m *MsgVoteOutbound) Reset()
- func (msg MsgVoteOutbound) Route() string
- func (m *MsgVoteOutbound) Size() (n int)
- func (m *MsgVoteOutbound) String() string
- func (msg MsgVoteOutbound) Type() string
- func (m *MsgVoteOutbound) Unmarshal(dAtA []byte) error
- func (msg *MsgVoteOutbound) ValidateBasic() error
- func (m *MsgVoteOutbound) XXX_DiscardUnknown()
- func (m *MsgVoteOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteOutbound) XXX_Merge(src proto.Message)
- func (m *MsgVoteOutbound) XXX_Size() int
- func (m *MsgVoteOutbound) XXX_Unmarshal(b []byte) error
- type MsgVoteOutboundResponse
- func (*MsgVoteOutboundResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteOutboundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteOutboundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteOutboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteOutboundResponse) ProtoMessage()
- func (m *MsgVoteOutboundResponse) Reset()
- func (m *MsgVoteOutboundResponse) Size() (n int)
- func (m *MsgVoteOutboundResponse) String() string
- func (m *MsgVoteOutboundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteOutboundResponse) XXX_DiscardUnknown()
- func (m *MsgVoteOutboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteOutboundResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteOutboundResponse) XXX_Size() int
- func (m *MsgVoteOutboundResponse) XXX_Unmarshal(b []byte) error
- type OriginatingPcTx
- func (*OriginatingPcTx) Descriptor() ([]byte, []int)
- func (this *OriginatingPcTx) Equal(that interface{}) bool
- func (m *OriginatingPcTx) GetLogIndex() string
- func (m *OriginatingPcTx) GetTxHash() string
- func (m *OriginatingPcTx) Marshal() (dAtA []byte, err error)
- func (m *OriginatingPcTx) MarshalTo(dAtA []byte) (int, error)
- func (m *OriginatingPcTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OriginatingPcTx) ProtoMessage()
- func (m *OriginatingPcTx) Reset()
- func (m *OriginatingPcTx) Size() (n int)
- func (m *OriginatingPcTx) String() string
- func (m *OriginatingPcTx) Unmarshal(dAtA []byte) error
- func (m *OriginatingPcTx) XXX_DiscardUnknown()
- func (m *OriginatingPcTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OriginatingPcTx) XXX_Merge(src proto.Message)
- func (m *OriginatingPcTx) XXX_Size() int
- func (m *OriginatingPcTx) XXX_Unmarshal(b []byte) error
- type OutboundCreatedEvent
- type OutboundObservation
- func (*OutboundObservation) Descriptor() ([]byte, []int)
- func (this *OutboundObservation) Equal(that interface{}) bool
- func (m *OutboundObservation) GetBlockHeight() uint64
- func (m *OutboundObservation) GetErrorMsg() string
- func (m *OutboundObservation) GetGasFeeUsed() string
- func (m *OutboundObservation) GetPc20WrapperAddress() string
- func (m *OutboundObservation) GetSuccess() bool
- func (m *OutboundObservation) GetTxHash() string
- func (m *OutboundObservation) Marshal() (dAtA []byte, err error)
- func (m *OutboundObservation) MarshalTo(dAtA []byte) (int, error)
- func (m *OutboundObservation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutboundObservation) ProtoMessage()
- func (m *OutboundObservation) Reset()
- func (m *OutboundObservation) Size() (n int)
- func (m *OutboundObservation) String() string
- func (m *OutboundObservation) Unmarshal(dAtA []byte) error
- func (obs *OutboundObservation) ValidateBasic() error
- func (m *OutboundObservation) XXX_DiscardUnknown()
- func (m *OutboundObservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutboundObservation) XXX_Merge(src proto.Message)
- func (m *OutboundObservation) XXX_Size() int
- func (m *OutboundObservation) XXX_Unmarshal(b []byte) error
- type OutboundObservationVariant
- func (*OutboundObservationVariant) Descriptor() ([]byte, []int)
- func (this *OutboundObservationVariant) Equal(that interface{}) bool
- func (m *OutboundObservationVariant) GetBallotId() string
- func (m *OutboundObservationVariant) GetFirstVotedAtHeight() uint64
- func (m *OutboundObservationVariant) GetLastVotedAtHeight() uint64
- func (m *OutboundObservationVariant) GetObservedTx() OutboundObservation
- func (m *OutboundObservationVariant) GetVoters() []string
- func (m *OutboundObservationVariant) Marshal() (dAtA []byte, err error)
- func (m *OutboundObservationVariant) MarshalTo(dAtA []byte) (int, error)
- func (m *OutboundObservationVariant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutboundObservationVariant) ProtoMessage()
- func (m *OutboundObservationVariant) Reset()
- func (m *OutboundObservationVariant) Size() (n int)
- func (m *OutboundObservationVariant) String() string
- func (m *OutboundObservationVariant) Unmarshal(dAtA []byte) error
- func (m *OutboundObservationVariant) XXX_DiscardUnknown()
- func (m *OutboundObservationVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutboundObservationVariant) XXX_Merge(src proto.Message)
- func (m *OutboundObservationVariant) XXX_Size() int
- func (m *OutboundObservationVariant) XXX_Unmarshal(b []byte) error
- type OutboundTx
- func (*OutboundTx) Descriptor() ([]byte, []int)
- func (this *OutboundTx) Equal(that interface{}) bool
- func (m *OutboundTx) GetAbortReason() string
- func (m *OutboundTx) GetAmount() string
- func (m *OutboundTx) GetDestinationChain() string
- func (m *OutboundTx) GetExternalAssetAddr() string
- func (m *OutboundTx) GetGasFee() string
- func (m *OutboundTx) GetGasLimit() string
- func (m *OutboundTx) GetGasPrice() string
- func (m *OutboundTx) GetGasToken() string
- func (m *OutboundTx) GetId() string
- func (m *OutboundTx) GetIsPc20() bool
- func (m *OutboundTx) GetObservedTx() *OutboundObservation
- func (m *OutboundTx) GetOutboundStatus() Status
- func (m *OutboundTx) GetPayload() string
- func (m *OutboundTx) GetPc20ContractAddress() string
- func (m *OutboundTx) GetPcRefundExecution() *PCTx
- func (m *OutboundTx) GetPcRevertExecution() *PCTx
- func (m *OutboundTx) GetPcTx() *OriginatingPcTx
- func (m *OutboundTx) GetPrc20AssetAddr() string
- func (m *OutboundTx) GetRecipient() string
- func (m *OutboundTx) GetRefundSwapError() string
- func (m *OutboundTx) GetRevertInstructions() *RevertInstructions
- func (m *OutboundTx) GetSender() string
- func (m *OutboundTx) GetTxType() TxType
- func (m *OutboundTx) Marshal() (dAtA []byte, err error)
- func (m *OutboundTx) MarshalTo(dAtA []byte) (int, error)
- func (m *OutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutboundTx) ProtoMessage()
- func (m *OutboundTx) Reset()
- func (m *OutboundTx) Size() (n int)
- func (p OutboundTx) String() string
- func (m *OutboundTx) Unmarshal(dAtA []byte) error
- func (p OutboundTx) ValidateBasic() error
- func (p *OutboundTx) ValidateSize() error
- func (m *OutboundTx) XXX_DiscardUnknown()
- func (m *OutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutboundTx) XXX_Merge(src proto.Message)
- func (m *OutboundTx) XXX_Size() int
- func (m *OutboundTx) XXX_Unmarshal(b []byte) error
- type OutboundTxLegacy
- func (*OutboundTxLegacy) Descriptor() ([]byte, []int)
- func (this *OutboundTxLegacy) Equal(that interface{}) bool
- func (m *OutboundTxLegacy) GetAmount() string
- func (m *OutboundTxLegacy) GetAssetAddr() string
- func (m *OutboundTxLegacy) GetDestinationChain() string
- func (m *OutboundTxLegacy) GetRecipient() string
- func (m *OutboundTxLegacy) GetTxHash() string
- func (m *OutboundTxLegacy) Marshal() (dAtA []byte, err error)
- func (m *OutboundTxLegacy) MarshalTo(dAtA []byte) (int, error)
- func (m *OutboundTxLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutboundTxLegacy) ProtoMessage()
- func (m *OutboundTxLegacy) Reset()
- func (m *OutboundTxLegacy) Size() (n int)
- func (m *OutboundTxLegacy) String() string
- func (m *OutboundTxLegacy) Unmarshal(dAtA []byte) error
- func (m *OutboundTxLegacy) XXX_DiscardUnknown()
- func (m *OutboundTxLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutboundTxLegacy) XXX_Merge(src proto.Message)
- func (m *OutboundTxLegacy) XXX_Size() int
- func (m *OutboundTxLegacy) XXX_Unmarshal(b []byte) error
- type PCTx
- func (*PCTx) Descriptor() ([]byte, []int)
- func (this *PCTx) Equal(that interface{}) bool
- func (m *PCTx) GetBlockHeight() uint64
- func (m *PCTx) GetErrorMsg() string
- func (m *PCTx) GetGasUsed() uint64
- func (m *PCTx) GetSender() string
- func (m *PCTx) GetStatus() string
- func (m *PCTx) GetTxHash() string
- func (m *PCTx) Marshal() (dAtA []byte, err error)
- func (m *PCTx) MarshalTo(dAtA []byte) (int, error)
- func (m *PCTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PCTx) ProtoMessage()
- func (m *PCTx) Reset()
- func (m *PCTx) Size() (n int)
- func (p PCTx) String() string
- func (m *PCTx) Unmarshal(dAtA []byte) error
- func (p PCTx) ValidateBasic() error
- func (m *PCTx) XXX_DiscardUnknown()
- func (m *PCTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PCTx) XXX_Merge(src proto.Message)
- func (m *PCTx) XXX_Size() int
- func (m *PCTx) XXX_Unmarshal(b []byte) error
- type ParamSubspace
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetMaxGaslessTxGas() uint64
- func (m *Params) GetSomeValue() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) ValidateBasic() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PendingInboundEntry
- func (*PendingInboundEntry) Descriptor() ([]byte, []int)
- func (this *PendingInboundEntry) Equal(that interface{}) bool
- func (m *PendingInboundEntry) GetCreatedAtHeight() uint64
- func (m *PendingInboundEntry) GetUtxKey() string
- func (m *PendingInboundEntry) GetVariants() []InboundVariant
- func (m *PendingInboundEntry) Marshal() (dAtA []byte, err error)
- func (m *PendingInboundEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *PendingInboundEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PendingInboundEntry) ProtoMessage()
- func (m *PendingInboundEntry) Reset()
- func (m *PendingInboundEntry) Size() (n int)
- func (m *PendingInboundEntry) String() string
- func (m *PendingInboundEntry) Unmarshal(dAtA []byte) error
- func (m *PendingInboundEntry) XXX_DiscardUnknown()
- func (m *PendingInboundEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingInboundEntry) XXX_Merge(src proto.Message)
- func (m *PendingInboundEntry) XXX_Size() int
- func (m *PendingInboundEntry) XXX_Unmarshal(b []byte) error
- type PendingOutboundEntry
- func (*PendingOutboundEntry) Descriptor() ([]byte, []int)
- func (m *PendingOutboundEntry) GetCreatedAt() int64
- func (m *PendingOutboundEntry) GetOutboundId() string
- func (m *PendingOutboundEntry) GetSigningDeadline() int64
- func (m *PendingOutboundEntry) GetUniversalTxId() string
- func (m *PendingOutboundEntry) GetVariants() []OutboundObservationVariant
- func (m *PendingOutboundEntry) Marshal() (dAtA []byte, err error)
- func (m *PendingOutboundEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *PendingOutboundEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PendingOutboundEntry) ProtoMessage()
- func (m *PendingOutboundEntry) Reset()
- func (m *PendingOutboundEntry) Size() (n int)
- func (m *PendingOutboundEntry) String() string
- func (m *PendingOutboundEntry) Unmarshal(dAtA []byte) error
- func (m *PendingOutboundEntry) XXX_DiscardUnknown()
- func (m *PendingOutboundEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PendingOutboundEntry) XXX_Merge(src proto.Message)
- func (m *PendingOutboundEntry) XXX_Size() int
- func (m *PendingOutboundEntry) XXX_Unmarshal(b []byte) error
- type QueryAllChainMetasRequest
- func (*QueryAllChainMetasRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllChainMetasRequest) GetPagination() *query.PageRequest
- func (m *QueryAllChainMetasRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllChainMetasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllChainMetasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllChainMetasRequest) ProtoMessage()
- func (m *QueryAllChainMetasRequest) Reset()
- func (m *QueryAllChainMetasRequest) Size() (n int)
- func (m *QueryAllChainMetasRequest) String() string
- func (m *QueryAllChainMetasRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllChainMetasRequest) XXX_DiscardUnknown()
- func (m *QueryAllChainMetasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllChainMetasRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllChainMetasRequest) XXX_Size() int
- func (m *QueryAllChainMetasRequest) XXX_Unmarshal(b []byte) error
- type QueryAllChainMetasResponse
- func (*QueryAllChainMetasResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllChainMetasResponse) GetChainMetas() []*ChainMeta
- func (m *QueryAllChainMetasResponse) GetPagination() *query.PageResponse
- func (m *QueryAllChainMetasResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllChainMetasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllChainMetasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllChainMetasResponse) ProtoMessage()
- func (m *QueryAllChainMetasResponse) Reset()
- func (m *QueryAllChainMetasResponse) Size() (n int)
- func (m *QueryAllChainMetasResponse) String() string
- func (m *QueryAllChainMetasResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllChainMetasResponse) XXX_DiscardUnknown()
- func (m *QueryAllChainMetasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllChainMetasResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllChainMetasResponse) XXX_Size() int
- func (m *QueryAllChainMetasResponse) XXX_Unmarshal(b []byte) error
- type QueryAllExpiredInboundsRequest
- func (*QueryAllExpiredInboundsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllExpiredInboundsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllExpiredInboundsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllExpiredInboundsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllExpiredInboundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllExpiredInboundsRequest) ProtoMessage()
- func (m *QueryAllExpiredInboundsRequest) Reset()
- func (m *QueryAllExpiredInboundsRequest) Size() (n int)
- func (m *QueryAllExpiredInboundsRequest) String() string
- func (m *QueryAllExpiredInboundsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllExpiredInboundsRequest) XXX_DiscardUnknown()
- func (m *QueryAllExpiredInboundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllExpiredInboundsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllExpiredInboundsRequest) XXX_Size() int
- func (m *QueryAllExpiredInboundsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllExpiredInboundsResponse
- func (*QueryAllExpiredInboundsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllExpiredInboundsResponse) GetEntries() []ExpiredInboundEntry
- func (m *QueryAllExpiredInboundsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllExpiredInboundsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllExpiredInboundsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllExpiredInboundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllExpiredInboundsResponse) ProtoMessage()
- func (m *QueryAllExpiredInboundsResponse) Reset()
- func (m *QueryAllExpiredInboundsResponse) Size() (n int)
- func (m *QueryAllExpiredInboundsResponse) String() string
- func (m *QueryAllExpiredInboundsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllExpiredInboundsResponse) XXX_DiscardUnknown()
- func (m *QueryAllExpiredInboundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllExpiredInboundsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllExpiredInboundsResponse) XXX_Size() int
- func (m *QueryAllExpiredInboundsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllGasPricesRequest
- func (*QueryAllGasPricesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllGasPricesRequest) GetPagination() *query.PageRequest
- func (m *QueryAllGasPricesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllGasPricesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllGasPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllGasPricesRequest) ProtoMessage()
- func (m *QueryAllGasPricesRequest) Reset()
- func (m *QueryAllGasPricesRequest) Size() (n int)
- func (m *QueryAllGasPricesRequest) String() string
- func (m *QueryAllGasPricesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllGasPricesRequest) XXX_DiscardUnknown()
- func (m *QueryAllGasPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllGasPricesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllGasPricesRequest) XXX_Size() int
- func (m *QueryAllGasPricesRequest) XXX_Unmarshal(b []byte) error
- type QueryAllGasPricesResponse
- func (*QueryAllGasPricesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice
- func (m *QueryAllGasPricesResponse) GetPagination() *query.PageResponse
- func (m *QueryAllGasPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllGasPricesResponse) ProtoMessage()
- func (m *QueryAllGasPricesResponse) Reset()
- func (m *QueryAllGasPricesResponse) Size() (n int)
- func (m *QueryAllGasPricesResponse) String() string
- func (m *QueryAllGasPricesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllGasPricesResponse) XXX_DiscardUnknown()
- func (m *QueryAllGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllGasPricesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllGasPricesResponse) XXX_Size() int
- func (m *QueryAllGasPricesResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPendingInboundsRequest
- func (*QueryAllPendingInboundsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPendingInboundsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPendingInboundsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPendingInboundsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPendingInboundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPendingInboundsRequest) ProtoMessage()
- func (m *QueryAllPendingInboundsRequest) Reset()
- func (m *QueryAllPendingInboundsRequest) Size() (n int)
- func (m *QueryAllPendingInboundsRequest) String() string
- func (m *QueryAllPendingInboundsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPendingInboundsRequest) XXX_DiscardUnknown()
- func (m *QueryAllPendingInboundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPendingInboundsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPendingInboundsRequest) XXX_Size() int
- func (m *QueryAllPendingInboundsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPendingInboundsResponse
- func (*QueryAllPendingInboundsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPendingInboundsResponse) GetEntries() []PendingInboundEntry
- func (m *QueryAllPendingInboundsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPendingInboundsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPendingInboundsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPendingInboundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPendingInboundsResponse) ProtoMessage()
- func (m *QueryAllPendingInboundsResponse) Reset()
- func (m *QueryAllPendingInboundsResponse) Size() (n int)
- func (m *QueryAllPendingInboundsResponse) String() string
- func (m *QueryAllPendingInboundsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPendingInboundsResponse) XXX_DiscardUnknown()
- func (m *QueryAllPendingInboundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPendingInboundsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPendingInboundsResponse) XXX_Size() int
- func (m *QueryAllPendingInboundsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPendingOutboundsRequest
- func (*QueryAllPendingOutboundsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPendingOutboundsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPendingOutboundsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPendingOutboundsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPendingOutboundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPendingOutboundsRequest) ProtoMessage()
- func (m *QueryAllPendingOutboundsRequest) Reset()
- func (m *QueryAllPendingOutboundsRequest) Size() (n int)
- func (m *QueryAllPendingOutboundsRequest) String() string
- func (m *QueryAllPendingOutboundsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPendingOutboundsRequest) XXX_DiscardUnknown()
- func (m *QueryAllPendingOutboundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPendingOutboundsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPendingOutboundsRequest) XXX_Size() int
- func (m *QueryAllPendingOutboundsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPendingOutboundsResponse
- func (*QueryAllPendingOutboundsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPendingOutboundsResponse) GetEntries() []*PendingOutboundEntry
- func (m *QueryAllPendingOutboundsResponse) GetOutbounds() []*OutboundTx
- func (m *QueryAllPendingOutboundsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPendingOutboundsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPendingOutboundsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPendingOutboundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPendingOutboundsResponse) ProtoMessage()
- func (m *QueryAllPendingOutboundsResponse) Reset()
- func (m *QueryAllPendingOutboundsResponse) Size() (n int)
- func (m *QueryAllPendingOutboundsResponse) String() string
- func (m *QueryAllPendingOutboundsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPendingOutboundsResponse) XXX_DiscardUnknown()
- func (m *QueryAllPendingOutboundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPendingOutboundsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPendingOutboundsResponse) XXX_Size() int
- func (m *QueryAllPendingOutboundsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllUniversalTxRequest
- func (*QueryAllUniversalTxRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllUniversalTxRequest) GetPagination() *query.PageRequest
- func (m *QueryAllUniversalTxRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllUniversalTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllUniversalTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllUniversalTxRequest) ProtoMessage()
- func (m *QueryAllUniversalTxRequest) Reset()
- func (m *QueryAllUniversalTxRequest) Size() (n int)
- func (m *QueryAllUniversalTxRequest) String() string
- func (m *QueryAllUniversalTxRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllUniversalTxRequest) XXX_DiscardUnknown()
- func (m *QueryAllUniversalTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllUniversalTxRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllUniversalTxRequest) XXX_Size() int
- func (m *QueryAllUniversalTxRequest) XXX_Unmarshal(b []byte) error
- type QueryAllUniversalTxResponse
- func (*QueryAllUniversalTxResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllUniversalTxResponse) GetPagination() *query.PageResponse
- func (m *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx
- func (m *QueryAllUniversalTxResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllUniversalTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllUniversalTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllUniversalTxResponse) ProtoMessage()
- func (m *QueryAllUniversalTxResponse) Reset()
- func (m *QueryAllUniversalTxResponse) Size() (n int)
- func (m *QueryAllUniversalTxResponse) String() string
- func (m *QueryAllUniversalTxResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllUniversalTxResponse) XXX_DiscardUnknown()
- func (m *QueryAllUniversalTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllUniversalTxResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllUniversalTxResponse) XXX_Size() int
- func (m *QueryAllUniversalTxResponse) XXX_Unmarshal(b []byte) error
- type QueryChainMetaRequest
- func (*QueryChainMetaRequest) Descriptor() ([]byte, []int)
- func (m *QueryChainMetaRequest) GetChainId() string
- func (m *QueryChainMetaRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryChainMetaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryChainMetaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryChainMetaRequest) ProtoMessage()
- func (m *QueryChainMetaRequest) Reset()
- func (m *QueryChainMetaRequest) Size() (n int)
- func (m *QueryChainMetaRequest) String() string
- func (m *QueryChainMetaRequest) Unmarshal(dAtA []byte) error
- func (m *QueryChainMetaRequest) XXX_DiscardUnknown()
- func (m *QueryChainMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryChainMetaRequest) XXX_Merge(src proto.Message)
- func (m *QueryChainMetaRequest) XXX_Size() int
- func (m *QueryChainMetaRequest) XXX_Unmarshal(b []byte) error
- type QueryChainMetaResponse
- func (*QueryChainMetaResponse) Descriptor() ([]byte, []int)
- func (m *QueryChainMetaResponse) GetChainMeta() *ChainMeta
- func (m *QueryChainMetaResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryChainMetaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryChainMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryChainMetaResponse) ProtoMessage()
- func (m *QueryChainMetaResponse) Reset()
- func (m *QueryChainMetaResponse) Size() (n int)
- func (m *QueryChainMetaResponse) String() string
- func (m *QueryChainMetaResponse) Unmarshal(dAtA []byte) error
- func (m *QueryChainMetaResponse) XXX_DiscardUnknown()
- func (m *QueryChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryChainMetaResponse) XXX_Merge(src proto.Message)
- func (m *QueryChainMetaResponse) XXX_Size() int
- func (m *QueryChainMetaResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGasPriceRequest
- func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGasPriceRequest) GetChainId() string
- func (m *QueryGasPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGasPriceRequest) ProtoMessage()
- func (m *QueryGasPriceRequest) Reset()
- func (m *QueryGasPriceRequest) Size() (n int)
- func (m *QueryGasPriceRequest) String() string
- func (m *QueryGasPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGasPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGasPriceRequest) XXX_Size() int
- func (m *QueryGasPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGasPriceResponse
- func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGasPriceResponse) GetGasPrice() *GasPrice
- func (m *QueryGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGasPriceResponse) ProtoMessage()
- func (m *QueryGasPriceResponse) Reset()
- func (m *QueryGasPriceResponse) Size() (n int)
- func (m *QueryGasPriceResponse) String() string
- func (m *QueryGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGasPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGasPriceResponse) XXX_Size() int
- func (m *QueryGasPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPendingOutboundRequest
- func (*QueryGetPendingOutboundRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPendingOutboundRequest) GetOutboundId() string
- func (m *QueryGetPendingOutboundRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPendingOutboundRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPendingOutboundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPendingOutboundRequest) ProtoMessage()
- func (m *QueryGetPendingOutboundRequest) Reset()
- func (m *QueryGetPendingOutboundRequest) Size() (n int)
- func (m *QueryGetPendingOutboundRequest) String() string
- func (m *QueryGetPendingOutboundRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPendingOutboundRequest) XXX_DiscardUnknown()
- func (m *QueryGetPendingOutboundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPendingOutboundRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPendingOutboundRequest) XXX_Size() int
- func (m *QueryGetPendingOutboundRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPendingOutboundResponse
- func (*QueryGetPendingOutboundResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPendingOutboundResponse) GetEntry() *PendingOutboundEntry
- func (m *QueryGetPendingOutboundResponse) GetOutbound() *OutboundTx
- func (m *QueryGetPendingOutboundResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPendingOutboundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPendingOutboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPendingOutboundResponse) ProtoMessage()
- func (m *QueryGetPendingOutboundResponse) Reset()
- func (m *QueryGetPendingOutboundResponse) Size() (n int)
- func (m *QueryGetPendingOutboundResponse) String() string
- func (m *QueryGetPendingOutboundResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPendingOutboundResponse) XXX_DiscardUnknown()
- func (m *QueryGetPendingOutboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPendingOutboundResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPendingOutboundResponse) XXX_Size() int
- func (m *QueryGetPendingOutboundResponse) XXX_Unmarshal(b []byte) error
- type QueryGetUniversalTxRequest
- func (*QueryGetUniversalTxRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetUniversalTxRequest) GetId() string
- func (m *QueryGetUniversalTxRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetUniversalTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetUniversalTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetUniversalTxRequest) ProtoMessage()
- func (m *QueryGetUniversalTxRequest) Reset()
- func (m *QueryGetUniversalTxRequest) Size() (n int)
- func (m *QueryGetUniversalTxRequest) String() string
- func (m *QueryGetUniversalTxRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetUniversalTxRequest) XXX_DiscardUnknown()
- func (m *QueryGetUniversalTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetUniversalTxRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetUniversalTxRequest) XXX_Size() int
- func (m *QueryGetUniversalTxRequest) XXX_Unmarshal(b []byte) error
- type QueryGetUniversalTxResponse
- func (*QueryGetUniversalTxResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTxLegacy
- func (m *QueryGetUniversalTxResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetUniversalTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetUniversalTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetUniversalTxResponse) ProtoMessage()
- func (m *QueryGetUniversalTxResponse) Reset()
- func (m *QueryGetUniversalTxResponse) Size() (n int)
- func (m *QueryGetUniversalTxResponse) String() string
- func (m *QueryGetUniversalTxResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetUniversalTxResponse) XXX_DiscardUnknown()
- func (m *QueryGetUniversalTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetUniversalTxResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetUniversalTxResponse) XXX_Size() int
- func (m *QueryGetUniversalTxResponse) XXX_Unmarshal(b []byte) error
- type QueryInboundKeysRequest
- func (*QueryInboundKeysRequest) Descriptor() ([]byte, []int)
- func (m *QueryInboundKeysRequest) GetInbound() *Inbound
- func (m *QueryInboundKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInboundKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInboundKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInboundKeysRequest) ProtoMessage()
- func (m *QueryInboundKeysRequest) Reset()
- func (m *QueryInboundKeysRequest) Size() (n int)
- func (m *QueryInboundKeysRequest) String() string
- func (m *QueryInboundKeysRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInboundKeysRequest) XXX_DiscardUnknown()
- func (m *QueryInboundKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInboundKeysRequest) XXX_Merge(src proto.Message)
- func (m *QueryInboundKeysRequest) XXX_Size() int
- func (m *QueryInboundKeysRequest) XXX_Unmarshal(b []byte) error
- type QueryInboundKeysResponse
- func (*QueryInboundKeysResponse) Descriptor() ([]byte, []int)
- func (m *QueryInboundKeysResponse) GetBallotId() string
- func (m *QueryInboundKeysResponse) GetCanonicalInbound() *Inbound
- func (m *QueryInboundKeysResponse) GetUtxId() string
- func (m *QueryInboundKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInboundKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInboundKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInboundKeysResponse) ProtoMessage()
- func (m *QueryInboundKeysResponse) Reset()
- func (m *QueryInboundKeysResponse) Size() (n int)
- func (m *QueryInboundKeysResponse) String() string
- func (m *QueryInboundKeysResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInboundKeysResponse) XXX_DiscardUnknown()
- func (m *QueryInboundKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInboundKeysResponse) XXX_Merge(src proto.Message)
- func (m *QueryInboundKeysResponse) XXX_Size() int
- func (m *QueryInboundKeysResponse) XXX_Unmarshal(b []byte) error
- type QueryOutboundBallotKeyRequest
- func (*QueryOutboundBallotKeyRequest) Descriptor() ([]byte, []int)
- func (m *QueryOutboundBallotKeyRequest) GetObservedTx() *OutboundObservation
- func (m *QueryOutboundBallotKeyRequest) GetOutboundId() string
- func (m *QueryOutboundBallotKeyRequest) GetUtxId() string
- func (m *QueryOutboundBallotKeyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOutboundBallotKeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOutboundBallotKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOutboundBallotKeyRequest) ProtoMessage()
- func (m *QueryOutboundBallotKeyRequest) Reset()
- func (m *QueryOutboundBallotKeyRequest) Size() (n int)
- func (m *QueryOutboundBallotKeyRequest) String() string
- func (m *QueryOutboundBallotKeyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOutboundBallotKeyRequest) XXX_DiscardUnknown()
- func (m *QueryOutboundBallotKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOutboundBallotKeyRequest) XXX_Merge(src proto.Message)
- func (m *QueryOutboundBallotKeyRequest) XXX_Size() int
- func (m *QueryOutboundBallotKeyRequest) XXX_Unmarshal(b []byte) error
- type QueryOutboundBallotKeyResponse
- func (*QueryOutboundBallotKeyResponse) Descriptor() ([]byte, []int)
- func (m *QueryOutboundBallotKeyResponse) GetBallotId() string
- func (m *QueryOutboundBallotKeyResponse) GetCanonicalObservedTx() *OutboundObservation
- func (m *QueryOutboundBallotKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOutboundBallotKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOutboundBallotKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOutboundBallotKeyResponse) ProtoMessage()
- func (m *QueryOutboundBallotKeyResponse) Reset()
- func (m *QueryOutboundBallotKeyResponse) Size() (n int)
- func (m *QueryOutboundBallotKeyResponse) String() string
- func (m *QueryOutboundBallotKeyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOutboundBallotKeyResponse) XXX_DiscardUnknown()
- func (m *QueryOutboundBallotKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOutboundBallotKeyResponse) XXX_Merge(src proto.Message)
- func (m *QueryOutboundBallotKeyResponse) XXX_Size() int
- func (m *QueryOutboundBallotKeyResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RescueFundsOnSourceChainEvent
- type RevertInstructions
- func (*RevertInstructions) Descriptor() ([]byte, []int)
- func (this *RevertInstructions) Equal(that interface{}) bool
- func (m *RevertInstructions) GetFundRecipient() string
- func (m *RevertInstructions) Marshal() (dAtA []byte, err error)
- func (m *RevertInstructions) MarshalTo(dAtA []byte) (int, error)
- func (m *RevertInstructions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RevertInstructions) ProtoMessage()
- func (m *RevertInstructions) Reset()
- func (m *RevertInstructions) Size() (n int)
- func (m *RevertInstructions) String() string
- func (m *RevertInstructions) Unmarshal(dAtA []byte) error
- func (m *RevertInstructions) XXX_DiscardUnknown()
- func (m *RevertInstructions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevertInstructions) XXX_Merge(src proto.Message)
- func (m *RevertInstructions) XXX_Size() int
- func (m *RevertInstructions) XXX_Unmarshal(b []byte) error
- type Status
- type TxType
- type UCallbackKeeper
- type UValidatorKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ExecutePayload(ctx context.Context, req *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
- func (*UnimplementedMsgServer) ExecuteStuckInbound(ctx context.Context, req *MsgExecuteStuckInbound) (*MsgExecuteStuckInboundResponse, error)
- func (*UnimplementedMsgServer) ExecuteStuckOutbound(ctx context.Context, req *MsgExecuteStuckOutbound) (*MsgExecuteStuckOutboundResponse, error)
- func (*UnimplementedMsgServer) RevertStuckInbound(ctx context.Context, req *MsgRevertStuckInbound) (*MsgRevertStuckInboundResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) VoteChainMeta(ctx context.Context, req *MsgVoteChainMeta) (*MsgVoteChainMetaResponse, error)
- func (*UnimplementedMsgServer) VoteInbound(ctx context.Context, req *MsgVoteInbound) (*MsgVoteInboundResponse, error)
- func (*UnimplementedMsgServer) VoteOutbound(ctx context.Context, req *MsgVoteOutbound) (*MsgVoteOutboundResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllChainMetas(ctx context.Context, req *QueryAllChainMetasRequest) (*QueryAllChainMetasResponse, error)
- func (*UnimplementedQueryServer) AllExpiredInbounds(ctx context.Context, req *QueryAllExpiredInboundsRequest) (*QueryAllExpiredInboundsResponse, error)
- func (*UnimplementedQueryServer) AllGasPrices(ctx context.Context, req *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
- func (*UnimplementedQueryServer) AllPendingInbounds(ctx context.Context, req *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
- func (*UnimplementedQueryServer) AllPendingOutbounds(ctx context.Context, req *QueryAllPendingOutboundsRequest) (*QueryAllPendingOutboundsResponse, error)
- func (*UnimplementedQueryServer) AllUniversalTx(ctx context.Context, req *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
- func (*UnimplementedQueryServer) ChainMeta(ctx context.Context, req *QueryChainMetaRequest) (*QueryChainMetaResponse, error)
- func (*UnimplementedQueryServer) GasPrice(ctx context.Context, req *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
- func (*UnimplementedQueryServer) GetPendingOutbound(ctx context.Context, req *QueryGetPendingOutboundRequest) (*QueryGetPendingOutboundResponse, error)
- func (*UnimplementedQueryServer) GetUniversalTx(ctx context.Context, req *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
- func (*UnimplementedQueryServer) InboundKeys(ctx context.Context, req *QueryInboundKeysRequest) (*QueryInboundKeysResponse, error)
- func (*UnimplementedQueryServer) OutboundBallotKey(ctx context.Context, req *QueryOutboundBallotKeyRequest) (*QueryOutboundBallotKeyResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type UniversalAccountId
- func (*UniversalAccountId) Descriptor() ([]byte, []int)
- func (this *UniversalAccountId) Equal(that interface{}) bool
- func (p UniversalAccountId) GetCAIP2() string
- func (m *UniversalAccountId) GetChainId() string
- func (m *UniversalAccountId) GetChainNamespace() string
- func (m *UniversalAccountId) GetOwner() string
- func (m *UniversalAccountId) Marshal() (dAtA []byte, err error)
- func (m *UniversalAccountId) MarshalTo(dAtA []byte) (int, error)
- func (m *UniversalAccountId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniversalAccountId) ProtoMessage()
- func (m *UniversalAccountId) Reset()
- func (m *UniversalAccountId) Size() (n int)
- func (p UniversalAccountId) String() string
- func (m *UniversalAccountId) Unmarshal(dAtA []byte) error
- func (p UniversalAccountId) ValidateBasic() error
- func (m *UniversalAccountId) XXX_DiscardUnknown()
- func (m *UniversalAccountId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniversalAccountId) XXX_Merge(src proto.Message)
- func (m *UniversalAccountId) XXX_Size() int
- func (m *UniversalAccountId) XXX_Unmarshal(b []byte) error
- type UniversalPayload
- func (*UniversalPayload) Descriptor() ([]byte, []int)
- func (this *UniversalPayload) Equal(that interface{}) bool
- func (m *UniversalPayload) GetData() string
- func (m *UniversalPayload) GetDeadline() string
- func (m *UniversalPayload) GetGasLimit() string
- func (m *UniversalPayload) GetMaxFeePerGas() string
- func (m *UniversalPayload) GetMaxPriorityFeePerGas() string
- func (m *UniversalPayload) GetNonce() string
- func (m *UniversalPayload) GetTo() string
- func (m *UniversalPayload) GetVType() VerificationType
- func (m *UniversalPayload) GetValue() string
- func (m *UniversalPayload) Marshal() (dAtA []byte, err error)
- func (m *UniversalPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *UniversalPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniversalPayload) ProtoMessage()
- func (m *UniversalPayload) Reset()
- func (m *UniversalPayload) Size() (n int)
- func (p UniversalPayload) String() string
- func (m *UniversalPayload) Unmarshal(dAtA []byte) error
- func (p UniversalPayload) ValidateBasic() error
- func (p *UniversalPayload) ValidateSize() error
- func (m *UniversalPayload) XXX_DiscardUnknown()
- func (m *UniversalPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniversalPayload) XXX_Merge(src proto.Message)
- func (m *UniversalPayload) XXX_Size() int
- func (m *UniversalPayload) XXX_Unmarshal(b []byte) error
- type UniversalTx
- func (*UniversalTx) Descriptor() ([]byte, []int)
- func (this *UniversalTx) Equal(that interface{}) bool
- func (m *UniversalTx) GetId() string
- func (m *UniversalTx) GetInboundTx() *Inbound
- func (m *UniversalTx) GetOutboundTx() []*OutboundTx
- func (m *UniversalTx) GetPcTx() []*PCTx
- func (m *UniversalTx) GetRevertError() string
- func (m *UniversalTx) Marshal() (dAtA []byte, err error)
- func (m *UniversalTx) MarshalTo(dAtA []byte) (int, error)
- func (m *UniversalTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniversalTx) ProtoMessage()
- func (m *UniversalTx) Reset()
- func (m *UniversalTx) Size() (n int)
- func (p UniversalTx) String() string
- func (m *UniversalTx) Unmarshal(dAtA []byte) error
- func (p UniversalTx) ValidateBasic() error
- func (m *UniversalTx) XXX_DiscardUnknown()
- func (m *UniversalTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniversalTx) XXX_Merge(src proto.Message)
- func (m *UniversalTx) XXX_Size() int
- func (m *UniversalTx) XXX_Unmarshal(b []byte) error
- type UniversalTxEntry
- func (*UniversalTxEntry) Descriptor() ([]byte, []int)
- func (m *UniversalTxEntry) GetKey() string
- func (m *UniversalTxEntry) GetValue() UniversalTx
- func (m *UniversalTxEntry) Marshal() (dAtA []byte, err error)
- func (m *UniversalTxEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UniversalTxEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniversalTxEntry) ProtoMessage()
- func (m *UniversalTxEntry) Reset()
- func (m *UniversalTxEntry) Size() (n int)
- func (m *UniversalTxEntry) String() string
- func (m *UniversalTxEntry) Unmarshal(dAtA []byte) error
- func (m *UniversalTxEntry) XXX_DiscardUnknown()
- func (m *UniversalTxEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniversalTxEntry) XXX_Merge(src proto.Message)
- func (m *UniversalTxEntry) XXX_Size() int
- func (m *UniversalTxEntry) XXX_Unmarshal(b []byte) error
- type UniversalTxLegacy
- func (*UniversalTxLegacy) Descriptor() ([]byte, []int)
- func (this *UniversalTxLegacy) Equal(that interface{}) bool
- func (m *UniversalTxLegacy) GetInboundTx() *InboundLegacy
- func (m *UniversalTxLegacy) GetOutboundTx() *OutboundTxLegacy
- func (m *UniversalTxLegacy) GetPcTx() []*PCTx
- func (m *UniversalTxLegacy) GetUniversalStatus() UniversalTxStatus
- func (m *UniversalTxLegacy) Marshal() (dAtA []byte, err error)
- func (m *UniversalTxLegacy) MarshalTo(dAtA []byte) (int, error)
- func (m *UniversalTxLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniversalTxLegacy) ProtoMessage()
- func (m *UniversalTxLegacy) Reset()
- func (m *UniversalTxLegacy) Size() (n int)
- func (m *UniversalTxLegacy) String() string
- func (m *UniversalTxLegacy) Unmarshal(dAtA []byte) error
- func (m *UniversalTxLegacy) XXX_DiscardUnknown()
- func (m *UniversalTxLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniversalTxLegacy) XXX_Merge(src proto.Message)
- func (m *UniversalTxLegacy) XXX_Size() int
- func (m *UniversalTxLegacy) XXX_Unmarshal(b []byte) error
- type UniversalTxOutboundEvent
- type UniversalTxStatus
- type UregistryKeeper
- type VerificationType
Constants ¶
const ( FACTORY_PROXY_ADDRESS_HEX = "0x00000000000000000000000000000000000000eA" PROXY_ADMIN_OWNER_ADDRESS_HEX = "0xa96CaA79eb2312DbEb0B8E93c1Ce84C98b67bF11" FACTORY_IMPL_ADDRESS_HEX = "0x00000000000000000000000000000000000000fa" PROXY_ADMIN_ADDRESS_HEX = "0x00000000000000000000000000000000000000AA" )
const ( VotesThresholdNumerator = 2 VotesThresholdDenominator = 3 // Default number of blocks after which ballot expires. // Set to 100M (~19 years at 6s blocks) to effectively disable expiry. // Ballots should not expire without an escape hatch for stuck pending items. // Disabling the expiry temporarily, will most likely enable once ballot pruning is implemented or escape hatch DefaultExpiryAfterBlocks = 100_000_000 )
Quorum numerator/denominator for validator votes (>2/3)
const ( // PC20Selector = ASCII "PC20" (0x50433230): a PC20 flow (lock native -> mint // wrapper on export; burn wrapper -> unlock native on return). PC20Selector = "50433230" // PRC20Selector = ASCII "PRC2" (0x50524332): a PRC20 flow. PRC20Selector = "50524332" )
PC20Selector and PRC20Selector are the 4-byte magic selectors the gateway prepends to a payload so the chain can route PC20 vs PRC20 without a new event or TxType. Values are the 0x-stripped, lower-hex ASCII encodings and MUST stay in sync with the gateway's PC_20_SELECTOR / PRC_20_SELECTOR (push-chain-gateway-contracts/contracts/evm-gateway/src/libraries/Types.sol).
const ( ModuleName = "uexecutor" StoreKey = ModuleName QuerierRoute = ModuleName )
const ( // MaxUint256Bits is the width of a Solidity uint256. Anything wider cannot be // ABI-encoded faithfully: go-ethereum's encoder truncates mod 2^256 *silently*, // so an over-range field would make the UEA execute a value different from the // one the user signed over. MaxUint256Bits = 256 // MaxUint256DecimalLen caps the decimal string length accepted for a uint256 // field. 2^256-1 is exactly 78 digits; 80 leaves slack for clients that // zero-pad. It is a cheap pre-filter, not the range check — see // ValidateUint256String. MaxUint256DecimalLen = 80 )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const DefaultMaxGaslessTxGas uint64 = 100_000_000
DefaultMaxGaslessTxGas is the default cap on the gas limit a fee-exempt (gasless) transaction may declare.
Fee-paying transactions are self-limiting: the required fee is ceil(minGasPrice * gasLimit), so declaring a large gas limit costs real tokens. Gasless transactions pay nothing, so nothing bounds the gas they declare, and the declared gas is what accumulates into the block's cumulative gas wanted. 100,000,000 is roughly 20x the largest gas actually consumed by a gasless transaction observed on the network.
const (
EventTypeOutboundCreated = "outbound_created"
)
const EvmZeroAddress = "0x0000000000000000000000000000000000000000"
const FactoryV1ABI = `` /* 4296-byte string literal not displayed */
FactoryV1ABI contains the ABI for the factory contract
const MaxObservedChainIdLen = 128
MaxObservedChainIdLen caps the CAIP-2 chain id carried by a chain-meta vote.
F-2026-18803: the id is used verbatim as the ChainMetas map key (collections.StringKey), so an uncapped id is an attacker-controlled IAVL key of arbitrary size. CAIP-2 itself allows at most 8 (namespace) + 1 + 32 (reference) = 41 characters, and the longest id we actually register is "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" (41). 128 leaves generous headroom for future namespaces while keeping the key bounded.
const MaxOutboundPayloadBytes = 128 * 1024
MaxOutboundPayloadBytes caps the hex-encoded payload an outbound carries to a destination chain, so ~64 KiB of calldata. Bounded by what the destination can accept: geth's txpool rejects transactions over 128 KB (txMaxSize), so a larger payload yields a tx no EVM node accepts — unsendable once TSS has signed it. Same value as MaxUniversalPayloadBytes, different reason; do not collapse them.
const MaxUniversalPayloadBytes = 128 * 1024
MaxUniversalPayloadBytes hard-caps the size of a universal payload, and of the hex blobs that carry one on the wire, at 128 KiB — the same limit the usigverifier precompile applies to a raw ed25519 message, so there is one payload size limit to reason about.
A flat size cap rather than a gas price on purpose: MsgExecutePayload and MsgVoteInbound are fee exempt (app/txpolicy/gasless.go), so nothing charges the submitter for the bytes it puts into a block, into consensus state and into every node's memory. On a fee-exempt path the only defence that holds is a hard limit. It is a flat number rather than one derived from the Solidity UniversalPayload struct because that struct is variable length; a flat number is auditable and stable.
const PRC20ABI = `` /* 9837-byte string literal not displayed */
const RecipientContractABI = `` /* 476-byte string literal not displayed */
RecipientContractABI is the ABI for smart-contract recipients that implement executeUniversalTx.
const UNISWAP_QUOTER_V2_ABI = `` /* 1139-byte string literal not displayed */
const UNIVERSAL_CORE_ABI = `` /* 8782-byte string literal not displayed */
const UeaV1ABI = `` /* 1939-byte string literal not displayed */
UeaV1ABI contains the ABI for the UEA contract
const VAULT_PC20_ABI = `` /* 924-byte string literal not displayed */
VAULT_PC20_ABI is the on-Push VaultPC20 custody vault. It holds Push-native PC20 tokens locked during export and releases them on unlock (wrapper burned on the destination) or revertExport (export settlement failed). The uexecutor module is the authorized caller; each subTxId is single-shot (replay guarded).
Variables ¶
var ( ErrInvalidLengthChainMeta = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChainMeta = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChainMeta = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGasPrice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGasPrice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGasPrice = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // ParamsKey saves the current module params. ParamsKey = collections.NewPrefix(0) // ParamsName is the name of the params collection. ParamsName = "params" // Old storage in V1 ChainConfigsKey = collections.NewPrefix(1) // ChainConfigsKey saves the current module chainConfigs collection prefix ChainConfigsName = "chain_configs" // ChainConfigsName is the name of the chainConfigs collection. // PendingInboundsKey stores the per-variant audit trail of in-flight // inbounds (Map[utx_key → PendingInboundEntry]). See // plan-pending-inbound-cleanup.md. PendingInboundsKey = collections.NewPrefix(2) PendingInboundsName = "pending_inbounds" UniversalTxKey = collections.NewPrefix(3) UniversalTxName = "universal_tx" ModuleAccountNonceKey = collections.NewPrefix(4) ModuleAccountNonceName = "module_account_nonce" GasPricesKey = collections.NewPrefix(5) GasPricesName = "gas_prices" ChainMetaKey = collections.NewPrefix(6) ChainMetasName = "chain_metas" PendingOutboundsKey = collections.NewPrefix(7) PendingOutboundsName = "pending_outbounds" // ExpiredInboundsKey stores the per-variant audit trail of inbounds // whose ballots all reached a terminal-failure state (EXPIRED/REJECTED) // without producing a UniversalTx. Consumed by the future escape-hatch // refund flow. See plan-pending-inbound-cleanup.md. ExpiredInboundsKey = collections.NewPrefix(8) ExpiredInboundsName = "expired_inbounds" // Domain separators for the canonical ballot-key digests. Hashed into the // key preimage (never used as store prefixes); kept in this block so prefix // numbers stay unique. They keep inbound vs outbound keys disjoint in the // shared uvalidator Ballots map. InboundBallotDomain = collections.NewPrefix(9) OutboundBallotDomain = collections.NewPrefix(10) )
var ( ErrInvalidLengthPending = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPending = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPending = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var (
AminoCdc = codec.NewAminoCodec(amino)
)
var EmptyCodeHash = common.HexToHash("0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")
EmptyCodeHash is the keccak256 hash of empty bytes — the code hash for EOAs (no contract code).
var FactoryImplRuntimeBytecode = common.FromHex("60806040526004361015610011575f80fd5b5f803560e01c8063031bc85b146116ac5780630772e63c146116245780630d7c4b37146115bb5780632ab6b9c21461153257806330363dd2146114d557806330b4a521146114845780634716fb2d1461144857806357b1f59b1461121b578063715018a61461114157806372b3f38b146110125780638da5cb5b14610fa25780639538c4b314610f5e578063a10bbfb914610f28578063b46eee2114610ea0578063b4cb9f8c14610da4578063c4d66de814610b83578063cc005a4814610455578063d0f4b0971461027d578063e720582e1461021f578063edb6a18a146101d7578063f2fde38b1461018c578063f861134e1461016b5763f8ba7e0314610117575f80fd5b3461016857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261016857602073ffffffffffffffffffffffffffffffffffffffff60055416604051908152f35b80fd5b503461016857602061018461017f3661183f565b611e09565b604051908152f35b50346101685760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610168576101d46101c7611704565b6101cf611e2c565b611d1c565b80f35b50346101685760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101685760406020916004358152600383522054604051908152f35b50346101685760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101685773ffffffffffffffffffffffffffffffffffffffff6040602092600435815260018452205416604051908152f35b50346101685760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261016857600261037b916102bb611704565b906060604080516102cb81611727565b8281528260208201520152809173ffffffffffffffffffffffffffffffffffffffff8116825283602052604082206103536040519161030983611727565b6040516103218161031a8185611c7c565b0382611770565b83526040516103378161031a8160018601611c7c565b602084015261034c6040518098819301611c7c565b0386611770565b604081018590529351156103875750505060015b604051928392604084526040840190611a17565b90151560208301520390f35b909192507fffffffffffffffffffffffffffffffffffffffff0000000000000000000000006040519160601b166020820152601481526103c8603482611770565b604051916103d583611727565b60409081516103e48382611770565b600681527f65697031353500000000000000000000000000000000000000000000000000006020820152845250805161041d8282611770565b600581527f34323130310000000000000000000000000000000000000000000000000000006020820152602084015282015290610367565b5034610b2f576104643661183f565b6004549073ffffffffffffffffffffffffffffffffffffffff821615610b5b5761048d81611e09565b81519160208101926104ae6104da8551604051928391602083019586611ae4565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282611770565b519020916104f5835f52600360205260405f20549081151590565b15610b5b575f525f60205273ffffffffffffffffffffffffffffffffffffffff60405f205416948515610b5b577fffffffffffffffffffffffffffffffffff00000000000000000000000000000081763d602d80600a3d3981f3363d3d373d3d3d363d7300000062ffffff6e5af43d82803e903d91602b57fd5bf39460881c16175f5260781b161760205273ffffffffffffffffffffffffffffffffffffffff81603760095ff516948515610b3357853b15610b2f57604051907f23efa7ec00000000000000000000000000000000000000000000000000000000825260048201525f81602481838a5af18015610b2457610b0f575b50843b15610b0057856040517f8bcb651e000000000000000000000000000000000000000000000000000000008152604060048201528181806106316044820188611a17565b3060248301520381838b5af18015610b0457610aeb575b505260016020526040852073ffffffffffffffffffffffffffffffffffffffff85167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055838552600260205260408520815180519067ffffffffffffffff821161094d576106c5826106bf8554611bdc565b85611c2d565b602090601f8311600114610a4c576107129291899183610876575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790565b81555b60018101845180519067ffffffffffffffff8211610a1f5761073b826106bf8554611bdc565b602090601f831160011461097a5782604095936002959361078e938d926108765750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790565b90555b01910190815180519067ffffffffffffffff821161094d579060209783926107c7836107c18b9a99989754611bdc565b86611c2d565b8991601f84116001146108815783610865947f3d28a9862fc25712e3786cca6786a76a91e4c419977a1b164bbffdcabd96b4cc99979461085899979461083e94926108765750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790565b90555b5192516040519485946060865260608601906119d4565b908482038a8601526119d4565b9060408301520390a2604051908152f35b015190505f806106e0565b91907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08416858452828420935b8181106109335750937f3d28a9862fc25712e3786cca6786a76a91e4c419977a1b164bbffdcabd96b4cc9896936108589896936001938361086598106108fc575b505050811b019055610841565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690555f80806108ef565b8284015185558b9a50600190940193928c01928c016108ae565b6024887f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b838a52818a2091907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe084168b5b818110610a0757509260019285926040989660029896106109d0575b505050811b019055610791565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690555f80806109c3565b929360206001819287860151815501950193016109a7565b6024897f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b83895281892091907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe084168a5b818110610ad35750908460019594939210610a9c575b505050811b018155610715565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690555f8080610a8f565b92936020600181928786015181550195019301610a79565b81610af591611770565b610b0057855f610648565b8580fd5b6040513d84823e3d90fd5b610b1c9196505f90611770565b5f945f6105eb565b6040513d5f823e3d90fd5b5f80fd5b7fb06ebf3d000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f5ab75e0b000000000000000000000000000000000000000000000000000000005f5260045ffd5b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f57610bba611704565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c16159167ffffffffffffffff821680159081610d9c575b6001149081610d92575b159081610d89575b50610d6157818360017fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000610c739516177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0055610d0c575b50610c6b611e98565b6101cf611e98565b610c7957005b7fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054167ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b7fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000001668010000000000000001177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005583610c62565b7ff92ee8a9000000000000000000000000000000000000000000000000000000005f5260045ffd5b90501584610c0b565b303b159150610c03565b849150610bf9565b34610b2f5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f576004356024356044359073ffffffffffffffffffffffffffffffffffffffff8216809203610b2f57610e03611e2c565b8115610b5b5780610e21845f52600360205260405f20549081151590565b1591908215610e95575b5050610b5b577f2d85c152b87e7ab165fa8084701425fcdd10a7f5ccfab2eb6905ebcaabd7dba491816040925f525f602052825f20827fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905582519182526020820152a2005b141590508185610e2b565b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f5773ffffffffffffffffffffffffffffffffffffffff610eec611704565b610ef4611e2c565b168015610b5b577fffffffffffffffffffffffff000000000000000000000000000000000000000060055416176005555f80f35b34610b2f576020610f40610f3b3661183f565b611b09565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f576020610f97611704565b3b1515604051908152f35b34610b2f575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f57602073ffffffffffffffffffffffffffffffffffffffff7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005416604051908152f35b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f576004355f525f60205273ffffffffffffffffffffffffffffffffffffffff60405f2054168015610b5b575f600491604051928380927fffa1ad740000000000000000000000000000000000000000000000000000000082525afa8015610b24575f906110c4575b6110c0906040519182916020835260208301906119d4565b0390f35b503d805f833e6110d48183611770565b810190602081830312610b2f5780519067ffffffffffffffff8211610b2f57019080601f83011215610b2f5781519161110c836117b1565b9161111a6040519384611770565b83835260208483010111610b2f576110c09261113c91602080850191016119b3565b6110a8565b34610b2f575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f57611177611e2c565b5f73ffffffffffffffffffffffffffffffffffffffff7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300547fffffffffffffffffffffffff000000000000000000000000000000000000000081167f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610b2f5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f5760043567ffffffffffffffff8111610b2f5761126a903690600401611956565b60243567ffffffffffffffff8111610b2f5761128a903690600401611956565b906044359167ffffffffffffffff8311610b2f5736602384011215610b2f5782600401356112b78161193e565b936112c56040519586611770565b8185526024602086019260051b82010190368211610b2f57602401915b81831061141b575050506112f4611e2c565b8251815181149081159161140f575b50610b5b575f5b835181101561140d5761131d8184611aa3565b51906113298184611aa3565b519173ffffffffffffffffffffffffffffffffffffffff61134a8388611aa3565b5116611354611e2c565b8015610b5b5783611372835f52600360205260405f20549081151590565b1591908215611402575b5050610b5b5760407f2d85c152b87e7ab165fa8084701425fcdd10a7f5ccfab2eb6905ebcaabd7dba491856001965f525f602052825f2073ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905582519182526020820152a20161130a565b14159050848961137c565b005b90508251141584611303565b823573ffffffffffffffffffffffffffffffffffffffff81168103610b2f578152602092830192016112e2565b34610b2f57604061146061145b3661183f565b611a56565b73ffffffffffffffffffffffffffffffffffffffff83519216825215156020820152f35b34610b2f575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f57602073ffffffffffffffffffffffffffffffffffffffff60045416604051908152f35b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f576004355f525f602052602073ffffffffffffffffffffffffffffffffffffffff60405f205416604051908152f35b34610b2f5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f5760043560243561156f611e2c565b5f82815260036020526040902054610b5b5760207f49564762e2866e9dc959573af8fba43b9089624ee471955f601b49fe69716d9f91835f52600382528060405f2055604051908152a2005b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f576004355f52600360205260405f20545f525f602052602073ffffffffffffffffffffffffffffffffffffffff60405f205416604051908152f35b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f5773ffffffffffffffffffffffffffffffffffffffff611670611704565b611678611e2c565b168015610b5b577fffffffffffffffffffffffff000000000000000000000000000000000000000060045416176004555f80f35b34610b2f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610b2f5760406116f66004355f52600360205260405f20549081151590565b825191825215156020820152f35b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610b2f57565b6060810190811067ffffffffffffffff82111761174357604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761174357604052565b67ffffffffffffffff811161174357601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b9291926117f7826117b1565b916118056040519384611770565b829481845281830111610b2f578281602093845f960137010152565b9080601f83011215610b2f5781602061183c933591016117eb565b90565b60207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610b2f576004359067ffffffffffffffff8211610b2f5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8383030112610b2f57604051916118b583611727565b806004013567ffffffffffffffff8111610b2f578260046118d892840101611821565b8352602481013567ffffffffffffffff8111610b2f578260046118fd92840101611821565b602084015260448101359067ffffffffffffffff8211610b2f57019080602383011215610b2f57816024600461193694013591016117eb565b604082015290565b67ffffffffffffffff81116117435760051b60200190565b9080601f83011215610b2f57813561196d8161193e565b9261197b6040519485611770565b81845260208085019260051b820101928311610b2f57602001905b8282106119a35750505090565b8135815260209182019101611996565b5f5b8381106119c45750505f910152565b81810151838201526020016119b5565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093611a10815180928187528780880191016119b3565b0116010190565b61183c916040611a45611a3384516060855260608501906119d4565b602085015184820360208601526119d4565b9201519060408184039101526119d4565b90611a6082611e09565b5f52600160205273ffffffffffffffffffffffffffffffffffffffff60405f2054169182611a9b57611a93919250611b09565b90813b151590565b50813b151590565b8051821015611ab75760209160051b010190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9091611afb61183c936040845260408401906119d4565b9160208184039101526119d4565b73ffffffffffffffffffffffffffffffffffffffff600454168015610b5b57611b5f82516104ae611b496020860151604051928391602083019586611ae4565b5190205f52600360205260405f20549081151590565b905015610b5b576043605591611b8973ffffffffffffffffffffffffffffffffffffffff94611e09565b604051913060388401526f5af43d82803e903d91602b57fd5bf3ff60248401526014830152733d602d80600a3d3981f3363d3d373d3d3d363d73825260588201526037600c820120607882015201201690565b90600182811c92168015611c23575b6020831014611bf657565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b91607f1691611beb565b601f8211611c3a57505050565b5f5260205f20906020601f840160051c83019310611c72575b601f0160051c01905b818110611c67575050565b5f8155600101611c5c565b9091508190611c53565b5f9291815491611c8b83611bdc565b8083529260018116908115611ce05750600114611ca757505050565b5f9081526020812093945091925b838310611cc6575060209250010190565b600181602092949394548385870101520191019190611cb5565b905060209495507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091509291921683830152151560051b010190565b73ffffffffffffffffffffffffffffffffffffffff168015611ddd5773ffffffffffffffffffffffffffffffffffffffff7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930054827fffffffffffffffffffffffff00000000000000000000000000000000000000008216177f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b7f1e4fbdf7000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b604051611e26816104ae6020820194602086526040830190611a17565b51902090565b73ffffffffffffffffffffffffffffffffffffffff7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930054163303611e6c57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b60ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c1615611ec757565b7fd7e6bcf8000000000000000000000000000000000000000000000000000000005f5260045ffdfea26469706673582212207a7e72806af03bedf5b7d3d06ef33e49cac041c56ff0ac0f89b8e548dc0d506564736f6c634300081a0033")
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",
}
var 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,
}
var METHOD = struct { SVM struct { AddFunds string } EVM struct { AddFunds string } }{ SVM: struct{ AddFunds string }{AddFunds: "add_funds"}, EVM: struct{ AddFunds string }{AddFunds: "addFunds"}, }
var PROXY_ADMIN_SLOT = common.HexToHash("0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103")
var PROXY_IMPLEMENTATION_SLOT = common.HexToHash("0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc")
var ProxyAdminRuntimeBytecode = common.FromHex("0x608060405260043610610058575f3560e01c80639623609d116100415780639623609d146100aa578063ad3cb1cc146100bd578063f2fde38b14610112575f80fd5b8063715018a61461005c5780638da5cb5b14610072575b5f80fd5b348015610067575f80fd5b50610070610131565b005b34801561007d575f80fd5b505f5460405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100706100b8366004610351565b610144565b3480156100c8575f80fd5b506101056040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6040516100a191906104c6565b34801561011d575f80fd5b5061007061012c3660046104df565b6101d5565b61013961023d565b6101425f61028f565b565b61014c61023d565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef2869034906101a290869086906004016104fa565b5f604051808303818588803b1580156101b9575f80fd5b505af11580156101cb573d5f803e3d5ffd5b5050505050505050565b6101dd61023d565b73ffffffffffffffffffffffffffffffffffffffff8116610231576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b61023a8161028f565b50565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610142576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610228565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff8116811461023a575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f805f60608486031215610363575f80fd5b833561036e81610303565b9250602084013561037e81610303565b9150604084013567ffffffffffffffff811115610399575f80fd5b8401601f810186136103a9575f80fd5b803567ffffffffffffffff8111156103c3576103c3610324565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561042f5761042f610324565b604052818152828201602001881015610446575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084525f5b818110156104895760208185018101518683018201520161046d565b505f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6104d86020830184610465565b9392505050565b5f602082840312156104ef575f80fd5b81356104d881610303565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201525f6105286040830184610465565b94935050505056fea26469706673582212209ce80139bf41b00bc44c4532122ff649c1e8542240b8a5c13f39af0d72f21b2364736f6c634300081a0033")
var ProxyRuntimeBytecode = common.FromHex("0x608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000AA73ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033")
var RescueFundsOnSourceChainEventSig = crypto.Keccak256Hash([]byte(
"RescueFundsOnSourceChain(bytes32,address,string,address,uint8,uint256,uint256,uint256)",
)).Hex()
var Status_name = map[int32]string{
0: "UNSPECIFIED",
1: "PENDING",
2: "OBSERVED",
3: "REVERTED",
4: "ABORTED",
}
var Status_value = map[string]int32{
"UNSPECIFIED": 0,
"PENDING": 1,
"OBSERVED": 2,
"REVERTED": 3,
"ABORTED": 4,
}
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",
}
var 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,
}
var UniversalTxOutboundEventSig = crypto.Keccak256Hash([]byte(
"UniversalTxOutbound(bytes32,address,string,address,bytes,uint256,address,uint256,uint256,bytes,uint256,address,uint8,uint256)",
)).Hex()
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",
}
var 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,
}
var VerificationType_name = map[int32]string{
0: "signedVerification",
1: "universalTxVerification",
}
var VerificationType_value = map[string]int32{
"signedVerification": 0,
"universalTxVerification": 1,
}
Functions ¶
func EncodeUniversalPayloadToRaw ¶ added in v0.0.23
func EncodeUniversalPayloadToRaw(up *UniversalPayload) (string, error)
EncodeUniversalPayloadToRaw ABI-encodes a UniversalPayload into a hex string suitable for raw_payload. This is the inverse of DecodeUniversalPayloadEVM — used in tests and migration.
func GetInboundBallotKey ¶
GetInboundBallotKey: versioned canonical digest over every execution- relevant field (so quorum implies agreement on the outcome), excluding universal_payload (recomputed on-chain from raw_payload). Self-canonicalizes, so any caller gets one ballot per logical event.
func GetInboundUniversalTxKey ¶
GetInboundUniversalTxKey: UTX identity from canonical (source_chain, tx_hash, log_index). Canonicalizes locals; caller's inbound is not mutated.
func GetOutboundBallotKey ¶ added in v0.0.13
func GetOutboundBallotKey( utxId string, outboundIndex string, observedTx OutboundObservation, ) (string, error)
GetOutboundBallotKey: versioned canonical digest over all observation fields (all consensus-critical — gas_fee_used drives the refund, error_msg must be agreed so no voter can inject unconsensused text). Caller canonicalizes tx_hash for the destination chain at vote ingress.
func GetOutboundRevertId ¶ added in v0.0.13
GetOutboundRevertId generates a deterministic outbound ID for an inbound-revert outbound. sourceChain is the CAIP-2 identifier of the chain the inbound came from (e.g. "eip155:1"); logIndex disambiguates multiple bridge events in the same source tx. This ID is also used as the subTxId on the source-chain gateway call, providing replay protection — so it must be unique per inbound event.
func GetPcUniversalTxKey ¶ added in v0.0.13
GetPcUniversalTxKey: UTX identity for a Push-origin (outbound) tx, from the canonical (pc_caip, tx_hash). The tx_hash is EVM-minted (receipt.Hash, already 0x-lowercase), so canonicalization is a no-op today — but it is applied here so the identity is robust by contract, not by convention, mirroring GetInboundUniversalTxKey. Canonicalizes locals; caller's pc is not mutated.
func GetRescueFundsOutboundId ¶ added in v0.0.19
GetRescueFundsOutboundId generates a deterministic outbound ID for a rescue-funds outbound. pushChainCaip is the CAIP-2 identifier of Push Chain (e.g. "eip155:2240"), mirroring the convention used by GetPcUniversalTxKey. This ID is also used as the subTxId on the source-chain gateway call, providing replay protection.
func IsPC20Payload ¶ added in v0.0.42
IsPC20Payload reports whether payload begins with the PC20 selector, which is how the chain routes a gateway event to the PC20 path (lock/mint) versus the PRC20 path without needing a new event or TxType.
payload is a gateway event payload as decoded by the event decoders — a 0x-prefixed, lower-hex string (e.g. "0x50433230..."). Anything not prefixed with the PC20 selector (an empty PRC20 funds-only payload, a PRC20 call, or a distinct PRC20 selector prefix) reports false and takes the PRC20 path, so routing is correct as long as the PC20 and PRC20 selectors differ.
func NewOutboundCreatedEvent ¶ added in v0.0.13
func NewOutboundCreatedEvent(e OutboundCreatedEvent) (sdk.Event, error)
NewOutboundCreatedEvent creates a Cosmos SDK event for outbound creation.
func ParseCAIP2 ¶ added in v0.0.23
ParseCAIP2 parses a CAIP-2 chain identifier (e.g., "eip155:11155111") into its namespace and chain reference components. Returns an error if the format is invalid.
func ParseFactoryABI ¶
func ParsePRC20ABI ¶
func ParseRecipientContractABI ¶ added in v0.0.19
func ParseUeaABI ¶
func ParseUniswapQuoterV2ABI ¶ added in v0.0.19
func ParseUniversalCoreABI ¶
func ParseVaultPC20ABI ¶ added in v0.0.42
func ProtoTxTypeToSolidity ¶ added in v0.0.13
Cosmos TxType → Solidity uint8 (for emitting events from core module if ever needed)
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RouteInboundPayload ¶ added in v0.0.42
RouteInboundPayload inspects an inbound raw payload's leading selector and returns whether it is a PC20 return (burn wrapper -> unlock locked native) and the user payload with any recognised selector stripped. A payload with no recognised selector is returned unchanged — today's un-prefixed PRC20 behaviour — so this stays correct both before and after the PRC20 selector ships.
func StripSelector ¶ added in v0.0.42
StripSelector removes the leading 4-byte (8 hex char) magic selector from a hex payload and returns the remainder as a 0x-prefixed hex string. Callers must have already confirmed a selector is present (via IsPC20Payload / a PRC20 match); a payload with no room for the selector is returned unchanged.
func ValidateOutboundPayloadBlobSize ¶ added in v0.0.48
ValidateOutboundPayloadBlobSize enforces MaxOutboundPayloadBytes on an outbound's payload.
func ValidatePayloadBlobSize ¶ added in v0.0.48
ValidatePayloadBlobSize enforces MaxUniversalPayloadBytes on a hex blob that carries a universal payload (or its verification data) before it is decoded.
func ValidateUint256String ¶ added in v0.0.48
ValidateUint256String parses value as a base-10 uint256 and returns it.
The order of the three checks is load-bearing (audit finding F-2026-18798):
Length cap FIRST, before big.Int.SetString. big.Int decimal parsing is superlinear in the digit count — as reported in the finding: 78 digits 18µs · 100k 24.2ms · 400k 486.6ms · 900k 3.353s. This runs in ValidateBasic, which BaseApp executes via validateBasicTxMsgs *before* the ante handler, on messages that are gasless — so the work is free and unmetered to the attacker, and it is paid per field. Rejecting on len() makes that O(1) instead of O(n²).
Parse, rejecting non-numeric and negative input (pre-existing behaviour).
BitLen() <= 256. This is the authoritative range check and the one that closes the silent-truncation gap. The length cap alone is NOT sufficient: 78 nines is only 78 characters but has BitLen 260, i.e. it fits the cap and still overflows uint256.
errMsg is the caller's message for a malformed or negative value, so each call site keeps its own wording; the two range failures append a specific reason.
Types ¶
type AbiQuoteExactInputSingleParams ¶ added in v0.0.19
type AbiQuoteExactInputSingleParams struct {
TokenIn common.Address
TokenOut common.Address
AmountIn *big.Int
Fee *big.Int // uint24
SqrtPriceLimitX96 *big.Int // uint160, 0 = no limit
}
AbiQuoteExactInputSingleParams matches IQuoterV2.QuoteExactInputSingleParams
type AbiUniversalAccountId ¶
func NewAbiUniversalAccountId ¶
func NewAbiUniversalAccountId(proto *UniversalAccountId) (AbiUniversalAccountId, error)
type AbiUniversalPayload ¶
type AbiUniversalPayload struct {
To common.Address
Value *big.Int
Data []byte
GasLimit *big.Int
MaxFeePerGas *big.Int
MaxPriorityFeePerGas *big.Int
Nonce *big.Int
Deadline *big.Int
VType uint8
}
func NewAbiUniversalPayload ¶
func NewAbiUniversalPayload(proto *UniversalPayload) (AbiUniversalPayload, error)
type AccountKeeper ¶
type AccountKeeper interface {
GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
// SetAccount persists an account. Used to keep the uexecutor module
// account's EVM nonce in step with the nonce handed to DerivedEVMCall.
SetAccount(ctx context.Context, acc sdk.AccountI)
}
AccountKeeper defines the expected interface for the auth module
type BankKeeper ¶
type BankKeeper interface {
SendCoinsFromAccountToModule(
ctx context.Context,
senderAddr sdk.AccAddress,
recipientModule string,
amt sdk.Coins,
) error
SendCoinsFromModuleToAccount(
ctx context.Context,
senderModule string,
recipientAddr sdk.AccAddress,
amt sdk.Coins,
) error
BurnCoins(
ctx context.Context,
moduleName string,
amt sdk.Coins,
) error
MintCoins(
ctx context.Context,
moduleName string,
amt sdk.Coins,
) error
GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
}
BankKeeper defines the expected interface for the bank module.
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"`
Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
Prices []uint64 `protobuf:"varint,3,rep,packed,name=prices,proto3" json:"prices,omitempty"`
ChainHeights []uint64 `protobuf:"varint,4,rep,packed,name=chain_heights,json=chainHeights,proto3" json:"chain_heights,omitempty"`
StoredAts []uint64 `protobuf:"varint,5,rep,packed,name=stored_ats,json=storedAts,proto3" json:"stored_ats,omitempty"`
MedianIndex uint64 `protobuf:"varint,6,opt,name=median_index,json=medianIndex,proto3" json:"median_index,omitempty"`
LastAppliedChainHeight uint64 `` /* 132-byte string literal not displayed */
}
ChainMeta stores aggregated chain metadata (gas price + block height) for a given chain
func (*ChainMeta) Descriptor ¶ 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) MarshalToSizedBuffer ¶ added in v0.0.19
func (*ChainMeta) ProtoMessage ¶ added in v0.0.19
func (*ChainMeta) ProtoMessage()
func (ChainMeta) ValidateBasic ¶ added in v0.0.19
ValidateBasic does the sanity check on the ChainMeta fields.
func (*ChainMeta) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *ChainMeta) XXX_DiscardUnknown()
func (*ChainMeta) XXX_Marshal ¶ added in v0.0.19
func (*ChainMeta) XXX_Unmarshal ¶ added in v0.0.19
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"`
}
ChainMetaEntry is a key-value pair for exporting ChainMetas map state.
func (*ChainMetaEntry) Descriptor ¶ added in v0.0.23
func (*ChainMetaEntry) Descriptor() ([]byte, []int)
func (*ChainMetaEntry) GetKey ¶ added in v0.0.23
func (m *ChainMetaEntry) GetKey() string
func (*ChainMetaEntry) GetValue ¶ added in v0.0.23
func (m *ChainMetaEntry) GetValue() ChainMeta
func (*ChainMetaEntry) Marshal ¶ added in v0.0.23
func (m *ChainMetaEntry) Marshal() (dAtA []byte, err error)
func (*ChainMetaEntry) MarshalTo ¶ added in v0.0.23
func (m *ChainMetaEntry) MarshalTo(dAtA []byte) (int, error)
func (*ChainMetaEntry) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *ChainMetaEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainMetaEntry) ProtoMessage ¶ added in v0.0.23
func (*ChainMetaEntry) ProtoMessage()
func (*ChainMetaEntry) Reset ¶ added in v0.0.23
func (m *ChainMetaEntry) Reset()
func (*ChainMetaEntry) Size ¶ added in v0.0.23
func (m *ChainMetaEntry) Size() (n int)
func (*ChainMetaEntry) String ¶ added in v0.0.23
func (m *ChainMetaEntry) String() string
func (*ChainMetaEntry) Unmarshal ¶ added in v0.0.23
func (m *ChainMetaEntry) Unmarshal(dAtA []byte) error
func (*ChainMetaEntry) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *ChainMetaEntry) XXX_DiscardUnknown()
func (*ChainMetaEntry) XXX_Marshal ¶ added in v0.0.23
func (m *ChainMetaEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainMetaEntry) XXX_Merge ¶ added in v0.0.23
func (m *ChainMetaEntry) XXX_Merge(src proto.Message)
func (*ChainMetaEntry) XXX_Size ¶ added in v0.0.23
func (m *ChainMetaEntry) XXX_Size() int
func (*ChainMetaEntry) XXX_Unmarshal ¶ added in v0.0.23
func (m *ChainMetaEntry) XXX_Unmarshal(b []byte) error
type EVMKeeper ¶
type EVMKeeper interface {
// NewStateDB returns a fresh StateDB (empty TxConfig) to pass into CallEVM,
// which since cosmos/evm v0.6.0 requires a non-nil StateDB.
NewStateDB(ctx sdk.Context) *statedb.StateDB
CallEVM(
ctx sdk.Context,
stateDB *statedb.StateDB,
abi abi.ABI,
from, contract common.Address,
commit, callFromPrecompile bool,
gasCap *big.Int,
method string,
args ...interface{},
) (*types.MsgEthereumTxResponse, error)
SetAccount(ctx sdk.Context, addr common.Address, account statedb.Account) error
SetState(ctx sdk.Context, addr common.Address, key common.Hash, value []byte)
SetCode(ctx sdk.Context, codeHash, code []byte)
DerivedEVMCall(
ctx sdk.Context,
abi abi.ABI,
from, contract common.Address,
value, gasLimit *big.Int,
commit, gasless, isModuleSender bool,
manualNonce *uint64,
method string,
args ...interface{},
) (*types.MsgEthereumTxResponse, error)
GetCodeHash(ctx sdk.Context, addr common.Address) common.Hash
// GetNonce returns the account nonce (auth sequence) the EVM sees for addr.
GetNonce(ctx sdk.Context, addr common.Address) uint64
}
EVMKeeper defines the expected interface for the EVM module.
type ExpiredInboundEntry ¶ added in v0.0.40
type ExpiredInboundEntry struct {
UtxKey string `protobuf:"bytes,1,opt,name=utx_key,json=utxKey,proto3" json:"utx_key,omitempty"`
// Each variant carries its terminal_status (EXPIRED or REJECTED).
Variants []InboundVariant `protobuf:"bytes,2,rep,name=variants,proto3" json:"variants"`
// Block height when the entry was moved here (i.e. when the LAST
// variant's ballot reached a terminal state).
ExpiredAtHeight uint64 `protobuf:"varint,3,opt,name=expired_at_height,json=expiredAtHeight,proto3" json:"expired_at_height,omitempty"`
}
ExpiredInboundEntry preserves the full per-variant audit trail of an inbound that failed to reach quorum on any variant. Consumed by the future escape-hatch refund flow.
func (*ExpiredInboundEntry) Descriptor ¶ added in v0.0.40
func (*ExpiredInboundEntry) Descriptor() ([]byte, []int)
func (*ExpiredInboundEntry) Equal ¶ added in v0.0.40
func (this *ExpiredInboundEntry) Equal(that interface{}) bool
func (*ExpiredInboundEntry) GetExpiredAtHeight ¶ added in v0.0.40
func (m *ExpiredInboundEntry) GetExpiredAtHeight() uint64
func (*ExpiredInboundEntry) GetUtxKey ¶ added in v0.0.40
func (m *ExpiredInboundEntry) GetUtxKey() string
func (*ExpiredInboundEntry) GetVariants ¶ added in v0.0.40
func (m *ExpiredInboundEntry) GetVariants() []InboundVariant
func (*ExpiredInboundEntry) Marshal ¶ added in v0.0.40
func (m *ExpiredInboundEntry) Marshal() (dAtA []byte, err error)
func (*ExpiredInboundEntry) MarshalTo ¶ added in v0.0.40
func (m *ExpiredInboundEntry) MarshalTo(dAtA []byte) (int, error)
func (*ExpiredInboundEntry) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *ExpiredInboundEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExpiredInboundEntry) ProtoMessage ¶ added in v0.0.40
func (*ExpiredInboundEntry) ProtoMessage()
func (*ExpiredInboundEntry) Reset ¶ added in v0.0.40
func (m *ExpiredInboundEntry) Reset()
func (*ExpiredInboundEntry) Size ¶ added in v0.0.40
func (m *ExpiredInboundEntry) Size() (n int)
func (*ExpiredInboundEntry) String ¶ added in v0.0.40
func (m *ExpiredInboundEntry) String() string
func (*ExpiredInboundEntry) Unmarshal ¶ added in v0.0.40
func (m *ExpiredInboundEntry) Unmarshal(dAtA []byte) error
func (*ExpiredInboundEntry) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *ExpiredInboundEntry) XXX_DiscardUnknown()
func (*ExpiredInboundEntry) XXX_Marshal ¶ added in v0.0.40
func (m *ExpiredInboundEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExpiredInboundEntry) XXX_Merge ¶ added in v0.0.40
func (m *ExpiredInboundEntry) XXX_Merge(src proto.Message)
func (*ExpiredInboundEntry) XXX_Size ¶ added in v0.0.40
func (m *ExpiredInboundEntry) XXX_Size() int
func (*ExpiredInboundEntry) XXX_Unmarshal ¶ added in v0.0.40
func (m *ExpiredInboundEntry) XXX_Unmarshal(b []byte) error
type FeeMarketKeeper ¶
FeeMarketKeeper defines the expected interface for the fee market module.
type GasPrice ¶
type GasPrice struct {
ObservedChainId string `protobuf:"bytes,1,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"`
Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
BlockNums []uint64 `protobuf:"varint,3,rep,packed,name=block_nums,json=blockNums,proto3" json:"block_nums,omitempty"`
Prices []uint64 `protobuf:"varint,4,rep,packed,name=prices,proto3" json:"prices,omitempty"`
MedianIndex uint64 `protobuf:"varint,5,opt,name=median_index,json=medianIndex,proto3" json:"median_index,omitempty"`
}
GasPrice stores aggregated gas price data for a given chain
func (*GasPrice) Descriptor ¶
func (*GasPrice) GetBlockNums ¶
func (*GasPrice) GetMedianIndex ¶
func (*GasPrice) GetObservedChainId ¶
func (*GasPrice) GetSigners ¶
func (*GasPrice) MarshalToSizedBuffer ¶
func (*GasPrice) ProtoMessage ¶
func (*GasPrice) ProtoMessage()
func (GasPrice) ValidateBasic ¶
ValidateBasic does the sanity check on the GasPrice fields.
func (*GasPrice) XXX_DiscardUnknown ¶
func (m *GasPrice) XXX_DiscardUnknown()
func (*GasPrice) XXX_Marshal ¶
func (*GasPrice) XXX_Unmarshal ¶
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"`
}
GasPriceEntry is a key-value pair for exporting GasPrices map state.
func (*GasPriceEntry) Descriptor ¶ added in v0.0.23
func (*GasPriceEntry) Descriptor() ([]byte, []int)
func (*GasPriceEntry) GetKey ¶ added in v0.0.23
func (m *GasPriceEntry) GetKey() string
func (*GasPriceEntry) GetValue ¶ added in v0.0.23
func (m *GasPriceEntry) GetValue() GasPrice
func (*GasPriceEntry) Marshal ¶ added in v0.0.23
func (m *GasPriceEntry) Marshal() (dAtA []byte, err error)
func (*GasPriceEntry) MarshalTo ¶ added in v0.0.23
func (m *GasPriceEntry) MarshalTo(dAtA []byte) (int, error)
func (*GasPriceEntry) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *GasPriceEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GasPriceEntry) ProtoMessage ¶ added in v0.0.23
func (*GasPriceEntry) ProtoMessage()
func (*GasPriceEntry) Reset ¶ added in v0.0.23
func (m *GasPriceEntry) Reset()
func (*GasPriceEntry) Size ¶ added in v0.0.23
func (m *GasPriceEntry) Size() (n int)
func (*GasPriceEntry) String ¶ added in v0.0.23
func (m *GasPriceEntry) String() string
func (*GasPriceEntry) Unmarshal ¶ added in v0.0.23
func (m *GasPriceEntry) Unmarshal(dAtA []byte) error
func (*GasPriceEntry) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *GasPriceEntry) XXX_DiscardUnknown()
func (*GasPriceEntry) XXX_Marshal ¶ added in v0.0.23
func (m *GasPriceEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GasPriceEntry) XXX_Merge ¶ added in v0.0.23
func (m *GasPriceEntry) XXX_Merge(src proto.Message)
func (*GasPriceEntry) XXX_Size ¶ added in v0.0.23
func (m *GasPriceEntry) XXX_Size() int
func (*GasPriceEntry) XXX_Unmarshal ¶ added in v0.0.23
func (m *GasPriceEntry) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
// Params defines all the parameters of the module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
// pending_inbounds are entries from the PendingInbounds index.
// Per-variant audit-trail entries — see plan-pending-inbound-cleanup.md.
// Field 2 was previously `repeated string` (legacy KeySet keys); the
// shape change is non-breaking for in-flight state because the
// collection moved to a fresh prefix and the old prefix entries are
// dropped at upgrade time by a one-shot migration.
PendingInbounds []PendingInboundEntry `protobuf:"bytes,2,rep,name=pending_inbounds,json=pendingInbounds,proto3" json:"pending_inbounds"`
// 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"`
// 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"`
// 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"`
// 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"`
// expired_inbounds are entries from the ExpiredInbounds index.
// Per-variant audit-trail of inbounds whose ballots all reached
// EXPIRED/REJECTED without producing a UniversalTx. Consumed by the
// future escape-hatch refund flow.
ExpiredInbounds []ExpiredInboundEntry `protobuf:"bytes,9,rep,name=expired_inbounds,json=expiredInbounds,proto3" json:"expired_inbounds"`
}
GenesisState defines the module genesis state
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetChainMetas ¶ added in v0.0.23
func (m *GenesisState) GetChainMetas() []ChainMetaEntry
func (*GenesisState) GetExpiredInbounds ¶ added in v0.0.40
func (m *GenesisState) GetExpiredInbounds() []ExpiredInboundEntry
func (*GenesisState) GetExported ¶ added in v0.0.23
func (m *GenesisState) GetExported() bool
func (*GenesisState) GetGasPrices ¶ added in v0.0.23
func (m *GenesisState) GetGasPrices() []GasPriceEntry
func (*GenesisState) GetModuleAccountNonce ¶ added in v0.0.23
func (m *GenesisState) GetModuleAccountNonce() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPendingInbounds ¶ added in v0.0.23
func (m *GenesisState) GetPendingInbounds() []PendingInboundEntry
func (*GenesisState) GetPendingOutbounds ¶ added in v0.0.23
func (m *GenesisState) GetPendingOutbounds() []PendingOutboundEntry
func (*GenesisState) GetUniversalTxs ¶ added in v0.0.23
func (m *GenesisState) GetUniversalTxs() []UniversalTxEntry
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) ValidateBasic ¶
func (gs GenesisState) ValidateBasic() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Inbound ¶
type Inbound struct {
SourceChain string `protobuf:"bytes,1,opt,name=source_chain,json=sourceChain,proto3" json:"source_chain,omitempty"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
AssetAddr string `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
LogIndex string `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
TxType TxType `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.TxType" json:"tx_type,omitempty"`
UniversalPayload *UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
VerificationData string `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
RevertInstructions *RevertInstructions `protobuf:"bytes,11,opt,name=revert_instructions,json=revertInstructions,proto3" json:"revert_instructions,omitempty"`
IsCEA bool `protobuf:"varint,12,opt,name=isCEA,proto3" json:"isCEA,omitempty"`
RawPayload string `protobuf:"bytes,13,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"`
IsPc20 bool `protobuf:"varint,14,opt,name=is_pc20,json=isPc20,proto3" json:"is_pc20,omitempty"`
}
func (*Inbound) Canonicalize ¶ added in v0.0.40
func (p *Inbound) Canonicalize()
Canonicalize normalizes encoding-variant fields in place (per source-chain namespace) so the same event from any observer is byte-identical across ballot keys, UTX keys and registry lookups. Lenient (unparseable values are kept trimmed, never rejected) because the vote path must always record a UTX — execution-level validation rejects malformed inbounds later.
func (*Inbound) Descriptor ¶
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 (m *Inbound) GetRevertInstructions() *RevertInstructions
func (*Inbound) GetSourceChain ¶
func (*Inbound) GetUniversalPayload ¶
func (m *Inbound) GetUniversalPayload() *UniversalPayload
func (*Inbound) GetVerificationData ¶
func (*Inbound) MarshalToSizedBuffer ¶
func (*Inbound) NormalizeForTxType ¶ added in v0.0.23
NormalizeForTxType zeroes out fields that are irrelevant for the given TxType, and decodes raw_payload into universal_payload for payload types. This should be called by the core module after ballot finalization. Returns an error if raw_payload decoding fails.
func (*Inbound) ProtoMessage ¶
func (*Inbound) ProtoMessage()
func (Inbound) ValidateBasic ¶
ValidateBasic does minimal sanity checks needed to accept a vote. Only fields required to identify the inbound and create a UTX key are validated here. Execution-level validation (amount, addresses, payload, recipient) is deferred to ValidateForExecution so that invalid inbounds still produce an on-chain UTX record (with a failed PCTx / revert) instead of silently dropping the vote and leaving user funds stuck in the gateway.
func (Inbound) ValidateForExecution ¶ added in v0.0.23
ValidateForExecution checks fields that are required for actual execution of the inbound. Called after ballot finalization, before ExecuteInbound. Failures here produce a failed PCTx and (for non-isCEA) a revert outbound, rather than dropping the vote.
func (*Inbound) ValidateSize ¶ added in v0.0.48
ValidateSize enforces MaxUniversalPayloadBytes on every variable-length payload field an inbound carries. raw_payload is the wire form of the universal payload and universal_payload is what a validator submits before the core decodes raw_payload itself; both land in PendingInbounds state on the first vote, on a fee-exempt msg, so both are bounded here.
Split out of ValidateBasic so the keeper can apply the cap on its own: a universal validator submits votes wrapped in authz.MsgExec (universalClient/pushsigner/pushsigner.go wrapWithAuthZ), which baseapp does not validate at CheckTx, so the cap must not depend on one call site.
func (*Inbound) XXX_DiscardUnknown ¶
func (m *Inbound) XXX_DiscardUnknown()
func (*Inbound) XXX_Marshal ¶
func (*Inbound) XXX_Unmarshal ¶
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"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
AssetAddr string `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
LogIndex string `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
TxType InboundTxTypeLegacy `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.InboundTxTypeLegacy" json:"tx_type,omitempty"`
UniversalPayload *UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
VerificationData string `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
}
func (*InboundLegacy) Descriptor ¶ added in v0.0.15
func (*InboundLegacy) Descriptor() ([]byte, []int)
func (*InboundLegacy) Equal ¶ added in v0.0.15
func (this *InboundLegacy) Equal(that interface{}) bool
func (*InboundLegacy) GetAmount ¶ added in v0.0.15
func (m *InboundLegacy) GetAmount() string
func (*InboundLegacy) GetAssetAddr ¶ added in v0.0.15
func (m *InboundLegacy) GetAssetAddr() string
func (*InboundLegacy) GetLogIndex ¶ added in v0.0.15
func (m *InboundLegacy) GetLogIndex() string
func (*InboundLegacy) GetRecipient ¶ added in v0.0.15
func (m *InboundLegacy) GetRecipient() string
func (*InboundLegacy) GetSender ¶ added in v0.0.15
func (m *InboundLegacy) GetSender() string
func (*InboundLegacy) GetSourceChain ¶ added in v0.0.15
func (m *InboundLegacy) GetSourceChain() string
func (*InboundLegacy) GetTxHash ¶ added in v0.0.15
func (m *InboundLegacy) GetTxHash() string
func (*InboundLegacy) GetTxType ¶ added in v0.0.15
func (m *InboundLegacy) GetTxType() InboundTxTypeLegacy
func (*InboundLegacy) GetUniversalPayload ¶ added in v0.0.15
func (m *InboundLegacy) GetUniversalPayload() *UniversalPayload
func (*InboundLegacy) GetVerificationData ¶ added in v0.0.15
func (m *InboundLegacy) GetVerificationData() string
func (*InboundLegacy) Marshal ¶ added in v0.0.15
func (m *InboundLegacy) Marshal() (dAtA []byte, err error)
func (*InboundLegacy) MarshalTo ¶ added in v0.0.15
func (m *InboundLegacy) MarshalTo(dAtA []byte) (int, error)
func (*InboundLegacy) MarshalToSizedBuffer ¶ added in v0.0.15
func (m *InboundLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InboundLegacy) ProtoMessage ¶ added in v0.0.15
func (*InboundLegacy) ProtoMessage()
func (*InboundLegacy) Reset ¶ added in v0.0.15
func (m *InboundLegacy) Reset()
func (*InboundLegacy) Size ¶ added in v0.0.15
func (m *InboundLegacy) Size() (n int)
func (*InboundLegacy) String ¶ added in v0.0.15
func (m *InboundLegacy) String() string
func (*InboundLegacy) Unmarshal ¶ added in v0.0.15
func (m *InboundLegacy) Unmarshal(dAtA []byte) error
func (*InboundLegacy) XXX_DiscardUnknown ¶ added in v0.0.15
func (m *InboundLegacy) XXX_DiscardUnknown()
func (*InboundLegacy) XXX_Marshal ¶ added in v0.0.15
func (m *InboundLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InboundLegacy) XXX_Merge ¶ added in v0.0.15
func (m *InboundLegacy) XXX_Merge(src proto.Message)
func (*InboundLegacy) XXX_Size ¶ added in v0.0.15
func (m *InboundLegacy) XXX_Size() int
func (*InboundLegacy) XXX_Unmarshal ¶ added in v0.0.15
func (m *InboundLegacy) XXX_Unmarshal(b []byte) error
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 InboundTxTypeLegacy_INBOUND_LEGACY_FUNDS InboundTxTypeLegacy = 2 InboundTxTypeLegacy_INBOUND_LEGACY_FUNDS_AND_PAYLOAD InboundTxTypeLegacy = 3 InboundTxTypeLegacy_INBOUND_LEGACY_GAS_AND_PAYLOAD InboundTxTypeLegacy = 4 )
func (InboundTxTypeLegacy) EnumDescriptor ¶ added in v0.0.15
func (InboundTxTypeLegacy) EnumDescriptor() ([]byte, []int)
func (InboundTxTypeLegacy) String ¶ added in v0.0.15
func (x InboundTxTypeLegacy) String() string
type InboundVariant ¶ added in v0.0.40
type InboundVariant struct {
// ballot_id == hex(marshal(Inbound)) — the ballot key used by uvalidator.
BallotId string `protobuf:"bytes,1,opt,name=ballot_id,json=ballotId,proto3" json:"ballot_id,omitempty"`
// The full Inbound payload exactly as voted (the bytes that produced
// this ballot_id).
Inbound *Inbound `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
// Validator addresses (bech32) that voted on this exact variant.
Voters []string `protobuf:"bytes,3,rep,name=voters,proto3" json:"voters,omitempty"`
// Block height of the first vote on this variant.
FirstVotedAtHeight uint64 `protobuf:"varint,4,opt,name=first_voted_at_height,json=firstVotedAtHeight,proto3" json:"first_voted_at_height,omitempty"`
// Block height of the most recent vote on this variant.
LastVotedAtHeight uint64 `protobuf:"varint,5,opt,name=last_voted_at_height,json=lastVotedAtHeight,proto3" json:"last_voted_at_height,omitempty"`
// Terminal status of this variant's ballot. PENDING while in-flight.
// Populated by the uvalidator BallotHooks terminal callback.
TerminalStatus types.BallotStatus `` /* 136-byte string literal not displayed */
}
InboundVariant captures one Inbound payload variant submitted by one or more validators against a single logical inbound event (identified by the UTX key = sha256(source_chain:tx_hash:log_index)). Multiple variants may exist for the same UTX key when validators marshal slightly different bytes for the same logical event.
func (*InboundVariant) Descriptor ¶ added in v0.0.40
func (*InboundVariant) Descriptor() ([]byte, []int)
func (*InboundVariant) Equal ¶ added in v0.0.40
func (this *InboundVariant) Equal(that interface{}) bool
func (*InboundVariant) GetBallotId ¶ added in v0.0.40
func (m *InboundVariant) GetBallotId() string
func (*InboundVariant) GetFirstVotedAtHeight ¶ added in v0.0.40
func (m *InboundVariant) GetFirstVotedAtHeight() uint64
func (*InboundVariant) GetInbound ¶ added in v0.0.40
func (m *InboundVariant) GetInbound() *Inbound
func (*InboundVariant) GetLastVotedAtHeight ¶ added in v0.0.40
func (m *InboundVariant) GetLastVotedAtHeight() uint64
func (*InboundVariant) GetTerminalStatus ¶ added in v0.0.40
func (m *InboundVariant) GetTerminalStatus() types.BallotStatus
func (*InboundVariant) GetVoters ¶ added in v0.0.40
func (m *InboundVariant) GetVoters() []string
func (*InboundVariant) Marshal ¶ added in v0.0.40
func (m *InboundVariant) Marshal() (dAtA []byte, err error)
func (*InboundVariant) MarshalTo ¶ added in v0.0.40
func (m *InboundVariant) MarshalTo(dAtA []byte) (int, error)
func (*InboundVariant) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *InboundVariant) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InboundVariant) ProtoMessage ¶ added in v0.0.40
func (*InboundVariant) ProtoMessage()
func (*InboundVariant) Reset ¶ added in v0.0.40
func (m *InboundVariant) Reset()
func (*InboundVariant) Size ¶ added in v0.0.40
func (m *InboundVariant) Size() (n int)
func (*InboundVariant) String ¶ added in v0.0.40
func (m *InboundVariant) String() string
func (*InboundVariant) Unmarshal ¶ added in v0.0.40
func (m *InboundVariant) Unmarshal(dAtA []byte) error
func (*InboundVariant) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *InboundVariant) XXX_DiscardUnknown()
func (*InboundVariant) XXX_Marshal ¶ added in v0.0.40
func (m *InboundVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InboundVariant) XXX_Merge ¶ added in v0.0.40
func (m *InboundVariant) XXX_Merge(src proto.Message)
func (*InboundVariant) XXX_Size ¶ added in v0.0.40
func (m *InboundVariant) XXX_Size() int
func (*InboundVariant) XXX_Unmarshal ¶ added in v0.0.40
func (m *InboundVariant) XXX_Unmarshal(b []byte) error
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)
// 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)
// RevertStuckInbound creates an INBOUND_REVERT outbound for an inbound whose
// ballot has expired without finalizing, refunding the user on the source
// chain via the normal revert/outbound flow. Admin-only escape hatch.
RevertStuckInbound(ctx context.Context, in *MsgRevertStuckInbound, opts ...grpc.CallOption) (*MsgRevertStuckInboundResponse, error)
// ExecuteStuckInbound finalizes an inbound ballot that is provably unable to
// finalize on its own yet already carries enough YES votes, then runs the
// normal post-finalization pipeline so the user receives funds on Push.
// Admin-only escape hatch, sibling of RevertStuckInbound.
ExecuteStuckInbound(ctx context.Context, in *MsgExecuteStuckInbound, opts ...grpc.CallOption) (*MsgExecuteStuckInboundResponse, error)
// ExecuteStuckOutbound settles an outbound whose ballot can no longer reach a
// terminal-and-settled state, running the same post-finalization pipeline a
// finalizing vote would have run. Admin-only escape hatch.
ExecuteStuckOutbound(ctx context.Context, in *MsgExecuteStuckOutbound, opts ...grpc.CallOption) (*MsgExecuteStuckOutboundResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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"`
}
MsgExecutePayload defines a message for executing a universal payload
func NewMsgExecutePayload ¶
func NewMsgExecutePayload( sender sdk.Address, universalAccountId *UniversalAccountId, universalPayload *UniversalPayload, verificationData string, ) *MsgExecutePayload
NewMsgExecutePayload creates new instance of MsgExecutePayload
func (*MsgExecutePayload) Descriptor ¶
func (*MsgExecutePayload) Descriptor() ([]byte, []int)
func (MsgExecutePayload) GetSignBytes ¶
func (msg MsgExecutePayload) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgExecutePayload) GetSigner ¶
func (m *MsgExecutePayload) GetSigner() string
func (*MsgExecutePayload) GetSigners ¶
func (msg *MsgExecutePayload) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgExecutePayload message.
func (*MsgExecutePayload) GetUniversalAccountId ¶
func (m *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId
func (*MsgExecutePayload) GetUniversalPayload ¶
func (m *MsgExecutePayload) GetUniversalPayload() *UniversalPayload
func (*MsgExecutePayload) GetVerificationData ¶
func (m *MsgExecutePayload) GetVerificationData() string
func (*MsgExecutePayload) Marshal ¶
func (m *MsgExecutePayload) Marshal() (dAtA []byte, err error)
func (*MsgExecutePayload) MarshalTo ¶
func (m *MsgExecutePayload) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecutePayload) MarshalToSizedBuffer ¶
func (m *MsgExecutePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecutePayload) ProtoMessage ¶
func (*MsgExecutePayload) ProtoMessage()
func (*MsgExecutePayload) Reset ¶
func (m *MsgExecutePayload) Reset()
func (MsgExecutePayload) Route ¶
func (msg MsgExecutePayload) Route() string
Route returns the name of the module
func (*MsgExecutePayload) Size ¶
func (m *MsgExecutePayload) Size() (n int)
func (*MsgExecutePayload) String ¶
func (m *MsgExecutePayload) String() string
func (*MsgExecutePayload) Unmarshal ¶
func (m *MsgExecutePayload) Unmarshal(dAtA []byte) error
func (*MsgExecutePayload) ValidateBasic ¶
func (msg *MsgExecutePayload) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgExecutePayload) XXX_DiscardUnknown ¶
func (m *MsgExecutePayload) XXX_DiscardUnknown()
func (*MsgExecutePayload) XXX_Marshal ¶
func (m *MsgExecutePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecutePayload) XXX_Merge ¶
func (m *MsgExecutePayload) XXX_Merge(src proto.Message)
func (*MsgExecutePayload) XXX_Size ¶
func (m *MsgExecutePayload) XXX_Size() int
func (*MsgExecutePayload) XXX_Unmarshal ¶
func (m *MsgExecutePayload) XXX_Unmarshal(b []byte) error
type MsgExecutePayloadResponse ¶
type MsgExecutePayloadResponse struct {
}
MsgExecutePayloadResponse defines the response for MsgExecutePayload.
func (*MsgExecutePayloadResponse) Descriptor ¶
func (*MsgExecutePayloadResponse) Descriptor() ([]byte, []int)
func (*MsgExecutePayloadResponse) Marshal ¶
func (m *MsgExecutePayloadResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecutePayloadResponse) MarshalTo ¶
func (m *MsgExecutePayloadResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecutePayloadResponse) MarshalToSizedBuffer ¶
func (m *MsgExecutePayloadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecutePayloadResponse) ProtoMessage ¶
func (*MsgExecutePayloadResponse) ProtoMessage()
func (*MsgExecutePayloadResponse) Reset ¶
func (m *MsgExecutePayloadResponse) Reset()
func (*MsgExecutePayloadResponse) Size ¶
func (m *MsgExecutePayloadResponse) Size() (n int)
func (*MsgExecutePayloadResponse) String ¶
func (m *MsgExecutePayloadResponse) String() string
func (*MsgExecutePayloadResponse) Unmarshal ¶
func (m *MsgExecutePayloadResponse) Unmarshal(dAtA []byte) error
func (*MsgExecutePayloadResponse) XXX_DiscardUnknown ¶
func (m *MsgExecutePayloadResponse) XXX_DiscardUnknown()
func (*MsgExecutePayloadResponse) XXX_Marshal ¶
func (m *MsgExecutePayloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecutePayloadResponse) XXX_Merge ¶
func (m *MsgExecutePayloadResponse) XXX_Merge(src proto.Message)
func (*MsgExecutePayloadResponse) XXX_Size ¶
func (m *MsgExecutePayloadResponse) XXX_Size() int
func (*MsgExecutePayloadResponse) XXX_Unmarshal ¶
func (m *MsgExecutePayloadResponse) XXX_Unmarshal(b []byte) error
type MsgExecuteStuckInbound ¶ added in v0.0.48
type MsgExecuteStuckInbound struct {
// signer must equal uvalidator Params.Admin
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// inbound is the original payload the stuck ballot was voting on. Admin
// supplies this from off-chain UV observation logs since the chain does not
// persist ballot payloads.
Inbound *Inbound `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
}
MsgExecuteStuckInbound is an admin escape hatch and the sibling of MsgRevertStuckInbound. For an inbound whose ballot is stored PENDING but can never finalize on its own, and whose YES votes already meet the recomputed threshold, this marks the ballot PASSED and runs the same post-finalization pipeline a finalizing vote would have run - so the user receives the bridged funds on Push instead of a source-chain refund.
func (*MsgExecuteStuckInbound) Descriptor ¶ added in v0.0.48
func (*MsgExecuteStuckInbound) Descriptor() ([]byte, []int)
func (*MsgExecuteStuckInbound) GetInbound ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) GetInbound() *Inbound
func (*MsgExecuteStuckInbound) GetSigner ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) GetSigner() string
func (*MsgExecuteStuckInbound) Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) Marshal() (dAtA []byte, err error)
func (*MsgExecuteStuckInbound) MarshalTo ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteStuckInbound) MarshalToSizedBuffer ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteStuckInbound) ProtoMessage ¶ added in v0.0.48
func (*MsgExecuteStuckInbound) ProtoMessage()
func (*MsgExecuteStuckInbound) Reset ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) Reset()
func (*MsgExecuteStuckInbound) Size ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) Size() (n int)
func (*MsgExecuteStuckInbound) String ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) String() string
func (*MsgExecuteStuckInbound) Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) Unmarshal(dAtA []byte) error
func (*MsgExecuteStuckInbound) XXX_DiscardUnknown ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) XXX_DiscardUnknown()
func (*MsgExecuteStuckInbound) XXX_Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteStuckInbound) XXX_Merge ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) XXX_Merge(src proto.Message)
func (*MsgExecuteStuckInbound) XXX_Size ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) XXX_Size() int
func (*MsgExecuteStuckInbound) XXX_Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInbound) XXX_Unmarshal(b []byte) error
type MsgExecuteStuckInboundResponse ¶ added in v0.0.48
type MsgExecuteStuckInboundResponse struct {
UtxId string `protobuf:"bytes,1,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"`
}
func (*MsgExecuteStuckInboundResponse) Descriptor ¶ added in v0.0.48
func (*MsgExecuteStuckInboundResponse) Descriptor() ([]byte, []int)
func (*MsgExecuteStuckInboundResponse) GetUtxId ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) GetUtxId() string
func (*MsgExecuteStuckInboundResponse) Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecuteStuckInboundResponse) MarshalTo ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteStuckInboundResponse) MarshalToSizedBuffer ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteStuckInboundResponse) ProtoMessage ¶ added in v0.0.48
func (*MsgExecuteStuckInboundResponse) ProtoMessage()
func (*MsgExecuteStuckInboundResponse) Reset ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) Reset()
func (*MsgExecuteStuckInboundResponse) Size ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) Size() (n int)
func (*MsgExecuteStuckInboundResponse) String ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) String() string
func (*MsgExecuteStuckInboundResponse) Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) Unmarshal(dAtA []byte) error
func (*MsgExecuteStuckInboundResponse) XXX_DiscardUnknown ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) XXX_DiscardUnknown()
func (*MsgExecuteStuckInboundResponse) XXX_Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteStuckInboundResponse) XXX_Merge ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) XXX_Merge(src proto.Message)
func (*MsgExecuteStuckInboundResponse) XXX_Size ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) XXX_Size() int
func (*MsgExecuteStuckInboundResponse) XXX_Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckInboundResponse) XXX_Unmarshal(b []byte) error
type MsgExecuteStuckOutbound ¶ added in v0.0.48
type MsgExecuteStuckOutbound struct {
// signer must equal uvalidator Params.Admin
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"`
UtxId string `protobuf:"bytes,3,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"`
// observed_tx is the destination-chain observation the stuck ballot was voting
// on. Admin supplies this from off-chain UV observation logs since the chain
// does not persist ballot payloads; it must match field-for-field or the
// derived ballot key finds no ballot.
ObservedTx *OutboundObservation `protobuf:"bytes,4,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx,omitempty"`
}
MsgExecuteStuckOutbound is an admin escape hatch for an outbound whose ballot can no longer reach a terminal-and-settled state — EXPIRED, or PENDING with every eligible voter already voted and the YES votes at the stored threshold. It runs the same settlement pipeline a finalizing vote would have run, so the outcome follows observed_tx.success: a success settles, a failure mints the bridged tokens back to the revert recipient and refunds the excess gas.
func (*MsgExecuteStuckOutbound) Descriptor ¶ added in v0.0.48
func (*MsgExecuteStuckOutbound) Descriptor() ([]byte, []int)
func (*MsgExecuteStuckOutbound) GetObservedTx ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) GetObservedTx() *OutboundObservation
func (*MsgExecuteStuckOutbound) GetSigner ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) GetSigner() string
func (*MsgExecuteStuckOutbound) GetTxId ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) GetTxId() string
func (*MsgExecuteStuckOutbound) GetUtxId ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) GetUtxId() string
func (*MsgExecuteStuckOutbound) Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) Marshal() (dAtA []byte, err error)
func (*MsgExecuteStuckOutbound) MarshalTo ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteStuckOutbound) MarshalToSizedBuffer ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteStuckOutbound) ProtoMessage ¶ added in v0.0.48
func (*MsgExecuteStuckOutbound) ProtoMessage()
func (*MsgExecuteStuckOutbound) Reset ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) Reset()
func (*MsgExecuteStuckOutbound) Size ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) Size() (n int)
func (*MsgExecuteStuckOutbound) String ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) String() string
func (*MsgExecuteStuckOutbound) Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) Unmarshal(dAtA []byte) error
func (*MsgExecuteStuckOutbound) ValidateBasic ¶ added in v0.0.48
func (msg *MsgExecuteStuckOutbound) ValidateBasic() error
ValidateBasic mirrors MsgVoteOutbound: the admin must supply exactly the observation the validators voted on.
func (*MsgExecuteStuckOutbound) XXX_DiscardUnknown ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) XXX_DiscardUnknown()
func (*MsgExecuteStuckOutbound) XXX_Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteStuckOutbound) XXX_Merge ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) XXX_Merge(src proto.Message)
func (*MsgExecuteStuckOutbound) XXX_Size ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) XXX_Size() int
func (*MsgExecuteStuckOutbound) XXX_Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutbound) XXX_Unmarshal(b []byte) error
type MsgExecuteStuckOutboundResponse ¶ added in v0.0.48
type MsgExecuteStuckOutboundResponse struct {
OutboundId string `protobuf:"bytes,1,opt,name=outbound_id,json=outboundId,proto3" json:"outbound_id,omitempty"`
}
func (*MsgExecuteStuckOutboundResponse) Descriptor ¶ added in v0.0.48
func (*MsgExecuteStuckOutboundResponse) Descriptor() ([]byte, []int)
func (*MsgExecuteStuckOutboundResponse) GetOutboundId ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) GetOutboundId() string
func (*MsgExecuteStuckOutboundResponse) Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecuteStuckOutboundResponse) MarshalTo ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteStuckOutboundResponse) MarshalToSizedBuffer ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteStuckOutboundResponse) ProtoMessage ¶ added in v0.0.48
func (*MsgExecuteStuckOutboundResponse) ProtoMessage()
func (*MsgExecuteStuckOutboundResponse) Reset ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) Reset()
func (*MsgExecuteStuckOutboundResponse) Size ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) Size() (n int)
func (*MsgExecuteStuckOutboundResponse) String ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) String() string
func (*MsgExecuteStuckOutboundResponse) Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) Unmarshal(dAtA []byte) error
func (*MsgExecuteStuckOutboundResponse) XXX_DiscardUnknown ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) XXX_DiscardUnknown()
func (*MsgExecuteStuckOutboundResponse) XXX_Marshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteStuckOutboundResponse) XXX_Merge ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) XXX_Merge(src proto.Message)
func (*MsgExecuteStuckOutboundResponse) XXX_Size ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) XXX_Size() int
func (*MsgExecuteStuckOutboundResponse) XXX_Unmarshal ¶ added in v0.0.48
func (m *MsgExecuteStuckOutboundResponse) XXX_Unmarshal(b []byte) error
type MsgRevertStuckInbound ¶ added in v0.0.40
type MsgRevertStuckInbound struct {
// signer must equal uvalidator Params.Admin
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// inbound is the original payload the stuck ballot was voting on. Admin
// supplies this from off-chain UV observation logs since the chain does not
// persist ballot payloads.
Inbound *Inbound `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
}
MsgRevertStuckInbound is an admin escape hatch. For an inbound whose ballot has expired without finalizing, this builds an INBOUND_REVERT outbound that refunds the user on the source chain via the normal outbound/TSS flow.
func (*MsgRevertStuckInbound) Descriptor ¶ added in v0.0.40
func (*MsgRevertStuckInbound) Descriptor() ([]byte, []int)
func (*MsgRevertStuckInbound) GetInbound ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) GetInbound() *Inbound
func (*MsgRevertStuckInbound) GetSigner ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) GetSigner() string
func (*MsgRevertStuckInbound) Marshal ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) Marshal() (dAtA []byte, err error)
func (*MsgRevertStuckInbound) MarshalTo ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevertStuckInbound) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevertStuckInbound) ProtoMessage ¶ added in v0.0.40
func (*MsgRevertStuckInbound) ProtoMessage()
func (*MsgRevertStuckInbound) Reset ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) Reset()
func (*MsgRevertStuckInbound) Size ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) Size() (n int)
func (*MsgRevertStuckInbound) String ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) String() string
func (*MsgRevertStuckInbound) Unmarshal ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) Unmarshal(dAtA []byte) error
func (*MsgRevertStuckInbound) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) XXX_DiscardUnknown()
func (*MsgRevertStuckInbound) XXX_Marshal ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevertStuckInbound) XXX_Merge ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) XXX_Merge(src proto.Message)
func (*MsgRevertStuckInbound) XXX_Size ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) XXX_Size() int
func (*MsgRevertStuckInbound) XXX_Unmarshal ¶ added in v0.0.40
func (m *MsgRevertStuckInbound) XXX_Unmarshal(b []byte) error
type MsgRevertStuckInboundResponse ¶ added in v0.0.40
type MsgRevertStuckInboundResponse struct {
UtxId string `protobuf:"bytes,1,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"`
OutboundId string `protobuf:"bytes,2,opt,name=outbound_id,json=outboundId,proto3" json:"outbound_id,omitempty"`
}
func (*MsgRevertStuckInboundResponse) Descriptor ¶ added in v0.0.40
func (*MsgRevertStuckInboundResponse) Descriptor() ([]byte, []int)
func (*MsgRevertStuckInboundResponse) GetOutboundId ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) GetOutboundId() string
func (*MsgRevertStuckInboundResponse) GetUtxId ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) GetUtxId() string
func (*MsgRevertStuckInboundResponse) Marshal ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevertStuckInboundResponse) MarshalTo ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevertStuckInboundResponse) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevertStuckInboundResponse) ProtoMessage ¶ added in v0.0.40
func (*MsgRevertStuckInboundResponse) ProtoMessage()
func (*MsgRevertStuckInboundResponse) Reset ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) Reset()
func (*MsgRevertStuckInboundResponse) Size ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) Size() (n int)
func (*MsgRevertStuckInboundResponse) String ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) String() string
func (*MsgRevertStuckInboundResponse) Unmarshal ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) Unmarshal(dAtA []byte) error
func (*MsgRevertStuckInboundResponse) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) XXX_DiscardUnknown()
func (*MsgRevertStuckInboundResponse) XXX_Marshal ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevertStuckInboundResponse) XXX_Merge ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) XXX_Merge(src proto.Message)
func (*MsgRevertStuckInboundResponse) XXX_Size ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) XXX_Size() int
func (*MsgRevertStuckInboundResponse) XXX_Unmarshal ¶ added in v0.0.40
func (m *MsgRevertStuckInboundResponse) XXX_Unmarshal(b []byte) error
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)
// 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)
// RevertStuckInbound creates an INBOUND_REVERT outbound for an inbound whose
// ballot has expired without finalizing, refunding the user on the source
// chain via the normal revert/outbound flow. Admin-only escape hatch.
RevertStuckInbound(context.Context, *MsgRevertStuckInbound) (*MsgRevertStuckInboundResponse, error)
// ExecuteStuckInbound finalizes an inbound ballot that is provably unable to
// finalize on its own yet already carries enough YES votes, then runs the
// normal post-finalization pipeline so the user receives funds on Push.
// Admin-only escape hatch, sibling of RevertStuckInbound.
ExecuteStuckInbound(context.Context, *MsgExecuteStuckInbound) (*MsgExecuteStuckInboundResponse, error)
// ExecuteStuckOutbound settles an outbound whose ballot can no longer reach a
// terminal-and-settled state, running the same post-finalization pipeline a
// finalizing vote would have run. Admin-only escape hatch.
ExecuteStuckOutbound(context.Context, *MsgExecuteStuckOutbound) (*MsgExecuteStuckOutboundResponse, error)
}
MsgServer is the server API for Msg service.
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"`
}
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgVoteChainMeta ¶ added in v0.0.19
type MsgVoteChainMeta struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
ObservedChainId string `protobuf:"bytes,2,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"`
Price uint64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
ChainHeight uint64 `protobuf:"varint,4,opt,name=chain_height,json=chainHeight,proto3" json:"chain_height,omitempty"`
}
MsgVoteChainMeta is broadcasted by Universal Validators to submit observed chain metadata (gas price + block height)
func NewMsgVoteChainMeta ¶ added in v0.0.19
func NewMsgVoteChainMeta( sender sdk.Address, observedChainId string, price, chainHeight uint64, ) *MsgVoteChainMeta
NewMsgVoteChainMeta creates new instance of MsgVoteChainMeta
func (*MsgVoteChainMeta) Descriptor ¶ added in v0.0.19
func (*MsgVoteChainMeta) Descriptor() ([]byte, []int)
func (*MsgVoteChainMeta) GetChainHeight ¶ added in v0.0.19
func (m *MsgVoteChainMeta) GetChainHeight() uint64
func (*MsgVoteChainMeta) GetObservedChainId ¶ added in v0.0.19
func (m *MsgVoteChainMeta) GetObservedChainId() string
func (*MsgVoteChainMeta) GetPrice ¶ added in v0.0.19
func (m *MsgVoteChainMeta) GetPrice() uint64
func (MsgVoteChainMeta) GetSignBytes ¶ added in v0.0.19
func (msg MsgVoteChainMeta) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgVoteChainMeta) GetSigner ¶ added in v0.0.19
func (m *MsgVoteChainMeta) GetSigner() string
func (*MsgVoteChainMeta) GetSigners ¶ added in v0.0.19
func (msg *MsgVoteChainMeta) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteChainMeta message.
func (*MsgVoteChainMeta) Marshal ¶ added in v0.0.19
func (m *MsgVoteChainMeta) Marshal() (dAtA []byte, err error)
func (*MsgVoteChainMeta) MarshalTo ¶ added in v0.0.19
func (m *MsgVoteChainMeta) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteChainMeta) MarshalToSizedBuffer ¶ added in v0.0.19
func (m *MsgVoteChainMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteChainMeta) ProtoMessage ¶ added in v0.0.19
func (*MsgVoteChainMeta) ProtoMessage()
func (*MsgVoteChainMeta) Reset ¶ added in v0.0.19
func (m *MsgVoteChainMeta) Reset()
func (MsgVoteChainMeta) Route ¶ added in v0.0.19
func (msg MsgVoteChainMeta) Route() string
Route returns the name of the module
func (*MsgVoteChainMeta) Size ¶ added in v0.0.19
func (m *MsgVoteChainMeta) Size() (n int)
func (*MsgVoteChainMeta) String ¶ added in v0.0.19
func (m *MsgVoteChainMeta) String() string
func (MsgVoteChainMeta) Type ¶ added in v0.0.19
func (msg MsgVoteChainMeta) Type() string
Type returns the action
func (*MsgVoteChainMeta) Unmarshal ¶ added in v0.0.19
func (m *MsgVoteChainMeta) Unmarshal(dAtA []byte) error
func (*MsgVoteChainMeta) ValidateBasic ¶ added in v0.0.19
func (msg *MsgVoteChainMeta) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgVoteChainMeta) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *MsgVoteChainMeta) XXX_DiscardUnknown()
func (*MsgVoteChainMeta) XXX_Marshal ¶ added in v0.0.19
func (m *MsgVoteChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteChainMeta) XXX_Merge ¶ added in v0.0.19
func (m *MsgVoteChainMeta) XXX_Merge(src proto.Message)
func (*MsgVoteChainMeta) XXX_Size ¶ added in v0.0.19
func (m *MsgVoteChainMeta) XXX_Size() int
func (*MsgVoteChainMeta) XXX_Unmarshal ¶ added in v0.0.19
func (m *MsgVoteChainMeta) XXX_Unmarshal(b []byte) error
type MsgVoteChainMetaResponse ¶ added in v0.0.19
type MsgVoteChainMetaResponse struct {
}
MsgVoteChainMetaResponse defines the response for MsgVoteChainMeta
func (*MsgVoteChainMetaResponse) Descriptor ¶ added in v0.0.19
func (*MsgVoteChainMetaResponse) Descriptor() ([]byte, []int)
func (*MsgVoteChainMetaResponse) Marshal ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteChainMetaResponse) MarshalTo ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteChainMetaResponse) MarshalToSizedBuffer ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteChainMetaResponse) ProtoMessage ¶ added in v0.0.19
func (*MsgVoteChainMetaResponse) ProtoMessage()
func (*MsgVoteChainMetaResponse) Reset ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) Reset()
func (*MsgVoteChainMetaResponse) Size ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) Size() (n int)
func (*MsgVoteChainMetaResponse) String ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) String() string
func (*MsgVoteChainMetaResponse) Unmarshal ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) Unmarshal(dAtA []byte) error
func (*MsgVoteChainMetaResponse) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) XXX_DiscardUnknown()
func (*MsgVoteChainMetaResponse) XXX_Marshal ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteChainMetaResponse) XXX_Merge ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) XXX_Merge(src proto.Message)
func (*MsgVoteChainMetaResponse) XXX_Size ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) XXX_Size() int
func (*MsgVoteChainMetaResponse) XXX_Unmarshal ¶ added in v0.0.19
func (m *MsgVoteChainMetaResponse) XXX_Unmarshal(b []byte) error
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"`
}
MsgVoteInbound allows a universal validator to vote on an inbound transfer.
func NewMsgVoteInbound ¶
func NewMsgVoteInbound( sender sdk.Address, sourceChain string, txHash string, recipient string, amount string, assetAddr string, logIndex string, ) *MsgVoteInbound
NewMsgVoteInbound creates new instance of MsgVoteInbound
func (*MsgVoteInbound) Descriptor ¶
func (*MsgVoteInbound) Descriptor() ([]byte, []int)
func (*MsgVoteInbound) GetInbound ¶
func (m *MsgVoteInbound) GetInbound() *Inbound
func (MsgVoteInbound) GetSignBytes ¶
func (msg MsgVoteInbound) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgVoteInbound) GetSigner ¶
func (m *MsgVoteInbound) GetSigner() string
func (*MsgVoteInbound) GetSigners ¶
func (msg *MsgVoteInbound) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteInbound message.
func (*MsgVoteInbound) Marshal ¶
func (m *MsgVoteInbound) Marshal() (dAtA []byte, err error)
func (*MsgVoteInbound) MarshalToSizedBuffer ¶
func (m *MsgVoteInbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteInbound) ProtoMessage ¶
func (*MsgVoteInbound) ProtoMessage()
func (*MsgVoteInbound) Reset ¶
func (m *MsgVoteInbound) Reset()
func (MsgVoteInbound) Route ¶
func (msg MsgVoteInbound) Route() string
Route returns the name of the module
func (*MsgVoteInbound) Size ¶
func (m *MsgVoteInbound) Size() (n int)
func (*MsgVoteInbound) String ¶
func (m *MsgVoteInbound) String() string
func (*MsgVoteInbound) Unmarshal ¶
func (m *MsgVoteInbound) Unmarshal(dAtA []byte) error
func (*MsgVoteInbound) ValidateBasic ¶
func (msg *MsgVoteInbound) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgVoteInbound) XXX_DiscardUnknown ¶
func (m *MsgVoteInbound) XXX_DiscardUnknown()
func (*MsgVoteInbound) XXX_Marshal ¶
func (m *MsgVoteInbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteInbound) XXX_Merge ¶
func (m *MsgVoteInbound) XXX_Merge(src proto.Message)
func (*MsgVoteInbound) XXX_Size ¶
func (m *MsgVoteInbound) XXX_Size() int
func (*MsgVoteInbound) XXX_Unmarshal ¶
func (m *MsgVoteInbound) XXX_Unmarshal(b []byte) error
type MsgVoteInboundResponse ¶
type MsgVoteInboundResponse struct {
}
MsgVoteInboundResponse defines the response for MsgExecutePayload.
func (*MsgVoteInboundResponse) Descriptor ¶
func (*MsgVoteInboundResponse) Descriptor() ([]byte, []int)
func (*MsgVoteInboundResponse) Marshal ¶
func (m *MsgVoteInboundResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteInboundResponse) MarshalTo ¶
func (m *MsgVoteInboundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteInboundResponse) MarshalToSizedBuffer ¶
func (m *MsgVoteInboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteInboundResponse) ProtoMessage ¶
func (*MsgVoteInboundResponse) ProtoMessage()
func (*MsgVoteInboundResponse) Reset ¶
func (m *MsgVoteInboundResponse) Reset()
func (*MsgVoteInboundResponse) Size ¶
func (m *MsgVoteInboundResponse) Size() (n int)
func (*MsgVoteInboundResponse) String ¶
func (m *MsgVoteInboundResponse) String() string
func (*MsgVoteInboundResponse) Unmarshal ¶
func (m *MsgVoteInboundResponse) Unmarshal(dAtA []byte) error
func (*MsgVoteInboundResponse) XXX_DiscardUnknown ¶
func (m *MsgVoteInboundResponse) XXX_DiscardUnknown()
func (*MsgVoteInboundResponse) XXX_Marshal ¶
func (m *MsgVoteInboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteInboundResponse) XXX_Merge ¶
func (m *MsgVoteInboundResponse) XXX_Merge(src proto.Message)
func (*MsgVoteInboundResponse) XXX_Size ¶
func (m *MsgVoteInboundResponse) XXX_Size() int
func (*MsgVoteInboundResponse) XXX_Unmarshal ¶
func (m *MsgVoteInboundResponse) XXX_Unmarshal(b []byte) error
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"`
UtxId string `protobuf:"bytes,3,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"`
ObservedTx *OutboundObservation `protobuf:"bytes,4,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx,omitempty"`
}
MsgVoteOutbound allows a universal validator to vote on an outbound tx observation.
func NewMsgVoteOutbound ¶ added in v0.0.13
func NewMsgVoteOutbound( sender sdk.Address, txID, utxID string, observedTx OutboundObservation, ) *MsgVoteOutbound
NewMsgVoteOutbound creates new instance of MsgVoteOutbound
func (*MsgVoteOutbound) Descriptor ¶ added in v0.0.13
func (*MsgVoteOutbound) Descriptor() ([]byte, []int)
func (*MsgVoteOutbound) GetObservedTx ¶ added in v0.0.13
func (m *MsgVoteOutbound) GetObservedTx() *OutboundObservation
func (MsgVoteOutbound) GetSignBytes ¶ added in v0.0.13
func (msg MsgVoteOutbound) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgVoteOutbound) GetSigner ¶ added in v0.0.13
func (m *MsgVoteOutbound) GetSigner() string
func (*MsgVoteOutbound) GetSigners ¶ added in v0.0.13
func (msg *MsgVoteOutbound) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteOutbound message.
func (*MsgVoteOutbound) GetTxId ¶ added in v0.0.13
func (m *MsgVoteOutbound) GetTxId() string
func (*MsgVoteOutbound) GetUtxId ¶ added in v0.0.13
func (m *MsgVoteOutbound) GetUtxId() string
func (*MsgVoteOutbound) Marshal ¶ added in v0.0.13
func (m *MsgVoteOutbound) Marshal() (dAtA []byte, err error)
func (*MsgVoteOutbound) MarshalTo ¶ added in v0.0.13
func (m *MsgVoteOutbound) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteOutbound) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *MsgVoteOutbound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteOutbound) ProtoMessage ¶ added in v0.0.13
func (*MsgVoteOutbound) ProtoMessage()
func (*MsgVoteOutbound) Reset ¶ added in v0.0.13
func (m *MsgVoteOutbound) Reset()
func (MsgVoteOutbound) Route ¶ added in v0.0.13
func (msg MsgVoteOutbound) Route() string
Route returns the name of the module
func (*MsgVoteOutbound) Size ¶ added in v0.0.13
func (m *MsgVoteOutbound) Size() (n int)
func (*MsgVoteOutbound) String ¶ added in v0.0.13
func (m *MsgVoteOutbound) String() string
func (MsgVoteOutbound) Type ¶ added in v0.0.13
func (msg MsgVoteOutbound) Type() string
Type returns the action
func (*MsgVoteOutbound) Unmarshal ¶ added in v0.0.13
func (m *MsgVoteOutbound) Unmarshal(dAtA []byte) error
func (*MsgVoteOutbound) ValidateBasic ¶ added in v0.0.13
func (msg *MsgVoteOutbound) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgVoteOutbound) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *MsgVoteOutbound) XXX_DiscardUnknown()
func (*MsgVoteOutbound) XXX_Marshal ¶ added in v0.0.13
func (m *MsgVoteOutbound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteOutbound) XXX_Merge ¶ added in v0.0.13
func (m *MsgVoteOutbound) XXX_Merge(src proto.Message)
func (*MsgVoteOutbound) XXX_Size ¶ added in v0.0.13
func (m *MsgVoteOutbound) XXX_Size() int
func (*MsgVoteOutbound) XXX_Unmarshal ¶ added in v0.0.13
func (m *MsgVoteOutbound) XXX_Unmarshal(b []byte) error
type MsgVoteOutboundResponse ¶ added in v0.0.13
type MsgVoteOutboundResponse struct {
}
MsgVoteInboundResponse defines the response for MsgExecutePayload.
func (*MsgVoteOutboundResponse) Descriptor ¶ added in v0.0.13
func (*MsgVoteOutboundResponse) Descriptor() ([]byte, []int)
func (*MsgVoteOutboundResponse) Marshal ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteOutboundResponse) MarshalTo ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteOutboundResponse) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteOutboundResponse) ProtoMessage ¶ added in v0.0.13
func (*MsgVoteOutboundResponse) ProtoMessage()
func (*MsgVoteOutboundResponse) Reset ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) Reset()
func (*MsgVoteOutboundResponse) Size ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) Size() (n int)
func (*MsgVoteOutboundResponse) String ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) String() string
func (*MsgVoteOutboundResponse) Unmarshal ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) Unmarshal(dAtA []byte) error
func (*MsgVoteOutboundResponse) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) XXX_DiscardUnknown()
func (*MsgVoteOutboundResponse) XXX_Marshal ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteOutboundResponse) XXX_Merge ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) XXX_Merge(src proto.Message)
func (*MsgVoteOutboundResponse) XXX_Size ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) XXX_Size() int
func (*MsgVoteOutboundResponse) XXX_Unmarshal ¶ added in v0.0.13
func (m *MsgVoteOutboundResponse) XXX_Unmarshal(b []byte) error
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"`
LogIndex string `protobuf:"bytes,2,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
}
func (*OriginatingPcTx) Descriptor ¶ added in v0.0.13
func (*OriginatingPcTx) Descriptor() ([]byte, []int)
func (*OriginatingPcTx) Equal ¶ added in v0.0.13
func (this *OriginatingPcTx) Equal(that interface{}) bool
func (*OriginatingPcTx) GetLogIndex ¶ added in v0.0.13
func (m *OriginatingPcTx) GetLogIndex() string
func (*OriginatingPcTx) GetTxHash ¶ added in v0.0.13
func (m *OriginatingPcTx) GetTxHash() string
func (*OriginatingPcTx) Marshal ¶ added in v0.0.13
func (m *OriginatingPcTx) Marshal() (dAtA []byte, err error)
func (*OriginatingPcTx) MarshalTo ¶ added in v0.0.13
func (m *OriginatingPcTx) MarshalTo(dAtA []byte) (int, error)
func (*OriginatingPcTx) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *OriginatingPcTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OriginatingPcTx) ProtoMessage ¶ added in v0.0.13
func (*OriginatingPcTx) ProtoMessage()
func (*OriginatingPcTx) Reset ¶ added in v0.0.13
func (m *OriginatingPcTx) Reset()
func (*OriginatingPcTx) Size ¶ added in v0.0.13
func (m *OriginatingPcTx) Size() (n int)
func (*OriginatingPcTx) String ¶ added in v0.0.13
func (m *OriginatingPcTx) String() string
func (*OriginatingPcTx) Unmarshal ¶ added in v0.0.13
func (m *OriginatingPcTx) Unmarshal(dAtA []byte) error
func (*OriginatingPcTx) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *OriginatingPcTx) XXX_DiscardUnknown()
func (*OriginatingPcTx) XXX_Marshal ¶ added in v0.0.13
func (m *OriginatingPcTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OriginatingPcTx) XXX_Merge ¶ added in v0.0.13
func (m *OriginatingPcTx) XXX_Merge(src proto.Message)
func (*OriginatingPcTx) XXX_Size ¶ added in v0.0.13
func (m *OriginatingPcTx) XXX_Size() int
func (*OriginatingPcTx) XXX_Unmarshal ¶ added in v0.0.13
func (m *OriginatingPcTx) XXX_Unmarshal(b []byte) error
type OutboundCreatedEvent ¶ added in v0.0.13
type OutboundCreatedEvent struct {
UniversalTxId string `json:"utx_id"`
TxID string `json:"tx_id"`
DestinationChain string `json:"destination_chain"`
Recipient string `json:"recipient"`
Amount string `json:"amount"`
AssetAddr string `json:"asset_addr"`
Sender string `json:"sender"`
Payload string `json:"payload"`
GasFee string `json:"gas_fee"`
GasLimit string `json:"gas_limit"`
GasPrice string `json:"gas_price"`
GasToken string `json:"gas_token"`
TxType string `json:"tx_type"`
PcTxHash string `json:"pc_tx_hash"`
LogIndex string `json:"log_index"`
RevertMsg string `json:"revert_msg"`
SigningDeadline int64 `json:"signing_deadline,omitempty"`
// PC20 export only: true routes settlement to the PC20 mint path, and
// pc20_contract_address is the Push-native source token to mint the wrapper
// for (asset_addr is empty for PC20 since the wrapper address is not known
// until settlement).
IsPc20 bool `json:"is_pc20,omitempty"`
Pc20ContractAddress string `json:"pc20_contract_address,omitempty"`
}
OutboundCreatedEvent represents an emitted outbound transaction.
type OutboundObservation ¶ added in v0.0.13
type OutboundObservation struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
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"`
Pc20WrapperAddress string `protobuf:"bytes,6,opt,name=pc20_wrapper_address,json=pc20WrapperAddress,proto3" json:"pc20_wrapper_address,omitempty"`
}
func (*OutboundObservation) Descriptor ¶ added in v0.0.13
func (*OutboundObservation) Descriptor() ([]byte, []int)
func (*OutboundObservation) Equal ¶ added in v0.0.13
func (this *OutboundObservation) Equal(that interface{}) bool
func (*OutboundObservation) GetBlockHeight ¶ added in v0.0.13
func (m *OutboundObservation) GetBlockHeight() uint64
func (*OutboundObservation) GetErrorMsg ¶ added in v0.0.13
func (m *OutboundObservation) GetErrorMsg() string
func (*OutboundObservation) GetGasFeeUsed ¶ added in v0.0.19
func (m *OutboundObservation) GetGasFeeUsed() string
func (*OutboundObservation) GetPc20WrapperAddress ¶ added in v0.0.42
func (m *OutboundObservation) GetPc20WrapperAddress() string
func (*OutboundObservation) GetSuccess ¶ added in v0.0.13
func (m *OutboundObservation) GetSuccess() bool
func (*OutboundObservation) GetTxHash ¶ added in v0.0.13
func (m *OutboundObservation) GetTxHash() string
func (*OutboundObservation) Marshal ¶ added in v0.0.13
func (m *OutboundObservation) Marshal() (dAtA []byte, err error)
func (*OutboundObservation) MarshalTo ¶ added in v0.0.13
func (m *OutboundObservation) MarshalTo(dAtA []byte) (int, error)
func (*OutboundObservation) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *OutboundObservation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutboundObservation) ProtoMessage ¶ added in v0.0.13
func (*OutboundObservation) ProtoMessage()
func (*OutboundObservation) Reset ¶ added in v0.0.13
func (m *OutboundObservation) Reset()
func (*OutboundObservation) Size ¶ added in v0.0.13
func (m *OutboundObservation) Size() (n int)
func (*OutboundObservation) String ¶ added in v0.0.13
func (m *OutboundObservation) String() string
func (*OutboundObservation) Unmarshal ¶ added in v0.0.13
func (m *OutboundObservation) Unmarshal(dAtA []byte) error
func (*OutboundObservation) ValidateBasic ¶ added in v0.0.48
func (obs *OutboundObservation) ValidateBasic() error
ValidateBasic sanity-checks a destination-chain observation. Shared by MsgVoteOutbound and MsgExecuteStuckOutbound so the two cannot drift.
func (*OutboundObservation) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *OutboundObservation) XXX_DiscardUnknown()
func (*OutboundObservation) XXX_Marshal ¶ added in v0.0.13
func (m *OutboundObservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutboundObservation) XXX_Merge ¶ added in v0.0.13
func (m *OutboundObservation) XXX_Merge(src proto.Message)
func (*OutboundObservation) XXX_Size ¶ added in v0.0.13
func (m *OutboundObservation) XXX_Size() int
func (*OutboundObservation) XXX_Unmarshal ¶ added in v0.0.13
func (m *OutboundObservation) XXX_Unmarshal(b []byte) error
type OutboundObservationVariant ¶ added in v0.0.40
type OutboundObservationVariant struct {
// ballot_id == sha256(utxId:outboundId:marshal(observedTx)).
BallotId string `protobuf:"bytes,1,opt,name=ballot_id,json=ballotId,proto3" json:"ballot_id,omitempty"`
// The exact OutboundObservation that produced this ballot_id.
ObservedTx OutboundObservation `protobuf:"bytes,2,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx"`
// Validator addresses (bech32) that voted on this exact variant.
Voters []string `protobuf:"bytes,3,rep,name=voters,proto3" json:"voters,omitempty"`
// Block height of the first vote on this variant.
FirstVotedAtHeight uint64 `protobuf:"varint,4,opt,name=first_voted_at_height,json=firstVotedAtHeight,proto3" json:"first_voted_at_height,omitempty"`
// Block height of the most recent vote on this variant.
LastVotedAtHeight uint64 `protobuf:"varint,5,opt,name=last_voted_at_height,json=lastVotedAtHeight,proto3" json:"last_voted_at_height,omitempty"`
}
OutboundObservationVariant captures one OutboundObservation variant submitted by one or more validators against a single outbound (the outbound itself is deterministic — chain-side at outbound creation — so all variants share the same outbound_id). Multiple variants exist when validators see different destination-chain results (different success/tx_hash/error_msg/gas_fee_used).
NOTE: Unlike inbound variants, outbound variants do not carry a terminal_status field. Outbound PendingOutbounds entries persist until validators reach consensus (existing inline removal in msg_vote_outbound.go on PASSED). Operators investigate stuck outbounds by correlating each variant's ballot_id with the uvalidator ballot status separately.
func (*OutboundObservationVariant) Descriptor ¶ added in v0.0.40
func (*OutboundObservationVariant) Descriptor() ([]byte, []int)
func (*OutboundObservationVariant) Equal ¶ added in v0.0.40
func (this *OutboundObservationVariant) Equal(that interface{}) bool
func (*OutboundObservationVariant) GetBallotId ¶ added in v0.0.40
func (m *OutboundObservationVariant) GetBallotId() string
func (*OutboundObservationVariant) GetFirstVotedAtHeight ¶ added in v0.0.40
func (m *OutboundObservationVariant) GetFirstVotedAtHeight() uint64
func (*OutboundObservationVariant) GetLastVotedAtHeight ¶ added in v0.0.40
func (m *OutboundObservationVariant) GetLastVotedAtHeight() uint64
func (*OutboundObservationVariant) GetObservedTx ¶ added in v0.0.40
func (m *OutboundObservationVariant) GetObservedTx() OutboundObservation
func (*OutboundObservationVariant) GetVoters ¶ added in v0.0.40
func (m *OutboundObservationVariant) GetVoters() []string
func (*OutboundObservationVariant) Marshal ¶ added in v0.0.40
func (m *OutboundObservationVariant) Marshal() (dAtA []byte, err error)
func (*OutboundObservationVariant) MarshalTo ¶ added in v0.0.40
func (m *OutboundObservationVariant) MarshalTo(dAtA []byte) (int, error)
func (*OutboundObservationVariant) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *OutboundObservationVariant) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutboundObservationVariant) ProtoMessage ¶ added in v0.0.40
func (*OutboundObservationVariant) ProtoMessage()
func (*OutboundObservationVariant) Reset ¶ added in v0.0.40
func (m *OutboundObservationVariant) Reset()
func (*OutboundObservationVariant) Size ¶ added in v0.0.40
func (m *OutboundObservationVariant) Size() (n int)
func (*OutboundObservationVariant) String ¶ added in v0.0.40
func (m *OutboundObservationVariant) String() string
func (*OutboundObservationVariant) Unmarshal ¶ added in v0.0.40
func (m *OutboundObservationVariant) Unmarshal(dAtA []byte) error
func (*OutboundObservationVariant) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *OutboundObservationVariant) XXX_DiscardUnknown()
func (*OutboundObservationVariant) XXX_Marshal ¶ added in v0.0.40
func (m *OutboundObservationVariant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutboundObservationVariant) XXX_Merge ¶ added in v0.0.40
func (m *OutboundObservationVariant) XXX_Merge(src proto.Message)
func (*OutboundObservationVariant) XXX_Size ¶ added in v0.0.40
func (m *OutboundObservationVariant) XXX_Size() int
func (*OutboundObservationVariant) XXX_Unmarshal ¶ added in v0.0.40
func (m *OutboundObservationVariant) XXX_Unmarshal(b []byte) error
type OutboundTx ¶
type OutboundTx struct {
DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"`
Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
ExternalAssetAddr string `protobuf:"bytes,4,opt,name=external_asset_addr,json=externalAssetAddr,proto3" json:"external_asset_addr,omitempty"`
Prc20AssetAddr string `protobuf:"bytes,5,opt,name=prc20_asset_addr,json=prc20AssetAddr,proto3" json:"prc20_asset_addr,omitempty"`
Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
Payload string `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`
GasLimit string `protobuf:"bytes,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
TxType TxType `protobuf:"varint,9,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.TxType" json:"tx_type,omitempty"`
PcTx *OriginatingPcTx `protobuf:"bytes,10,opt,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"`
ObservedTx *OutboundObservation `protobuf:"bytes,11,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx,omitempty"`
Id string `protobuf:"bytes,12,opt,name=id,proto3" json:"id,omitempty"`
OutboundStatus Status `` /* 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"`
GasFee string `protobuf:"bytes,17,opt,name=gas_fee,json=gasFee,proto3" json:"gas_fee,omitempty"`
PcRefundExecution *PCTx `protobuf:"bytes,18,opt,name=pc_refund_execution,json=pcRefundExecution,proto3" json:"pc_refund_execution,omitempty"`
RefundSwapError string `protobuf:"bytes,19,opt,name=refund_swap_error,json=refundSwapError,proto3" json:"refund_swap_error,omitempty"`
GasToken string `protobuf:"bytes,20,opt,name=gas_token,json=gasToken,proto3" json:"gas_token,omitempty"`
AbortReason string `protobuf:"bytes,21,opt,name=abort_reason,json=abortReason,proto3" json:"abort_reason,omitempty"`
IsPc20 bool `protobuf:"varint,22,opt,name=is_pc20,json=isPc20,proto3" json:"is_pc20,omitempty"`
Pc20ContractAddress string `protobuf:"bytes,23,opt,name=pc20_contract_address,json=pc20ContractAddress,proto3" json:"pc20_contract_address,omitempty"`
}
func (*OutboundTx) Descriptor ¶
func (*OutboundTx) Descriptor() ([]byte, []int)
func (*OutboundTx) Equal ¶
func (this *OutboundTx) Equal(that interface{}) bool
func (*OutboundTx) GetAbortReason ¶ added in v0.0.23
func (m *OutboundTx) GetAbortReason() string
func (*OutboundTx) GetAmount ¶
func (m *OutboundTx) GetAmount() string
func (*OutboundTx) GetDestinationChain ¶
func (m *OutboundTx) GetDestinationChain() string
func (*OutboundTx) GetExternalAssetAddr ¶ added in v0.0.13
func (m *OutboundTx) GetExternalAssetAddr() string
func (*OutboundTx) GetGasFee ¶ added in v0.0.19
func (m *OutboundTx) GetGasFee() string
func (*OutboundTx) GetGasLimit ¶ added in v0.0.13
func (m *OutboundTx) GetGasLimit() string
func (*OutboundTx) GetGasPrice ¶ added in v0.0.19
func (m *OutboundTx) GetGasPrice() string
func (*OutboundTx) GetGasToken ¶ added in v0.0.19
func (m *OutboundTx) GetGasToken() string
func (*OutboundTx) GetId ¶ added in v0.0.13
func (m *OutboundTx) GetId() string
func (*OutboundTx) GetIsPc20 ¶ added in v0.0.42
func (m *OutboundTx) GetIsPc20() bool
func (*OutboundTx) GetObservedTx ¶ added in v0.0.13
func (m *OutboundTx) GetObservedTx() *OutboundObservation
func (*OutboundTx) GetOutboundStatus ¶ added in v0.0.13
func (m *OutboundTx) GetOutboundStatus() Status
func (*OutboundTx) GetPayload ¶ added in v0.0.13
func (m *OutboundTx) GetPayload() string
func (*OutboundTx) GetPc20ContractAddress ¶ added in v0.0.42
func (m *OutboundTx) GetPc20ContractAddress() string
func (*OutboundTx) GetPcRefundExecution ¶ added in v0.0.19
func (m *OutboundTx) GetPcRefundExecution() *PCTx
func (*OutboundTx) GetPcRevertExecution ¶ added in v0.0.13
func (m *OutboundTx) GetPcRevertExecution() *PCTx
func (*OutboundTx) GetPcTx ¶ added in v0.0.13
func (m *OutboundTx) GetPcTx() *OriginatingPcTx
func (*OutboundTx) GetPrc20AssetAddr ¶ added in v0.0.13
func (m *OutboundTx) GetPrc20AssetAddr() string
func (*OutboundTx) GetRecipient ¶
func (m *OutboundTx) GetRecipient() string
func (*OutboundTx) GetRefundSwapError ¶ added in v0.0.19
func (m *OutboundTx) GetRefundSwapError() string
func (*OutboundTx) GetRevertInstructions ¶ added in v0.0.13
func (m *OutboundTx) GetRevertInstructions() *RevertInstructions
func (*OutboundTx) GetSender ¶ added in v0.0.13
func (m *OutboundTx) GetSender() string
func (*OutboundTx) GetTxType ¶ added in v0.0.13
func (m *OutboundTx) GetTxType() TxType
func (*OutboundTx) Marshal ¶
func (m *OutboundTx) Marshal() (dAtA []byte, err error)
func (*OutboundTx) MarshalToSizedBuffer ¶
func (m *OutboundTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutboundTx) ProtoMessage ¶
func (*OutboundTx) ProtoMessage()
func (*OutboundTx) Reset ¶
func (m *OutboundTx) Reset()
func (*OutboundTx) Size ¶
func (m *OutboundTx) Size() (n int)
func (*OutboundTx) Unmarshal ¶
func (m *OutboundTx) Unmarshal(dAtA []byte) error
func (OutboundTx) ValidateBasic ¶
func (p OutboundTx) ValidateBasic() error
func (*OutboundTx) ValidateSize ¶ added in v0.0.48
func (p *OutboundTx) ValidateSize() error
ValidateBasic does the sanity check on the OutboundTx fields. ValidateSize caps the payload. Split out so the keeper can apply it to an event-sourced outbound before the row is built.
func (*OutboundTx) XXX_DiscardUnknown ¶
func (m *OutboundTx) XXX_DiscardUnknown()
func (*OutboundTx) XXX_Marshal ¶
func (m *OutboundTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutboundTx) XXX_Merge ¶
func (m *OutboundTx) XXX_Merge(src proto.Message)
func (*OutboundTx) XXX_Size ¶
func (m *OutboundTx) XXX_Size() int
func (*OutboundTx) XXX_Unmarshal ¶
func (m *OutboundTx) XXX_Unmarshal(b []byte) error
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"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
AssetAddr string `protobuf:"bytes,5,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
}
func (*OutboundTxLegacy) Descriptor ¶ added in v0.0.15
func (*OutboundTxLegacy) Descriptor() ([]byte, []int)
func (*OutboundTxLegacy) Equal ¶ added in v0.0.15
func (this *OutboundTxLegacy) Equal(that interface{}) bool
func (*OutboundTxLegacy) GetAmount ¶ added in v0.0.15
func (m *OutboundTxLegacy) GetAmount() string
func (*OutboundTxLegacy) GetAssetAddr ¶ added in v0.0.15
func (m *OutboundTxLegacy) GetAssetAddr() string
func (*OutboundTxLegacy) GetDestinationChain ¶ added in v0.0.15
func (m *OutboundTxLegacy) GetDestinationChain() string
func (*OutboundTxLegacy) GetRecipient ¶ added in v0.0.15
func (m *OutboundTxLegacy) GetRecipient() string
func (*OutboundTxLegacy) GetTxHash ¶ added in v0.0.15
func (m *OutboundTxLegacy) GetTxHash() string
func (*OutboundTxLegacy) Marshal ¶ added in v0.0.15
func (m *OutboundTxLegacy) Marshal() (dAtA []byte, err error)
func (*OutboundTxLegacy) MarshalTo ¶ added in v0.0.15
func (m *OutboundTxLegacy) MarshalTo(dAtA []byte) (int, error)
func (*OutboundTxLegacy) MarshalToSizedBuffer ¶ added in v0.0.15
func (m *OutboundTxLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutboundTxLegacy) ProtoMessage ¶ added in v0.0.15
func (*OutboundTxLegacy) ProtoMessage()
func (*OutboundTxLegacy) Reset ¶ added in v0.0.15
func (m *OutboundTxLegacy) Reset()
func (*OutboundTxLegacy) Size ¶ added in v0.0.15
func (m *OutboundTxLegacy) Size() (n int)
func (*OutboundTxLegacy) String ¶ added in v0.0.15
func (m *OutboundTxLegacy) String() string
func (*OutboundTxLegacy) Unmarshal ¶ added in v0.0.15
func (m *OutboundTxLegacy) Unmarshal(dAtA []byte) error
func (*OutboundTxLegacy) XXX_DiscardUnknown ¶ added in v0.0.15
func (m *OutboundTxLegacy) XXX_DiscardUnknown()
func (*OutboundTxLegacy) XXX_Marshal ¶ added in v0.0.15
func (m *OutboundTxLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutboundTxLegacy) XXX_Merge ¶ added in v0.0.15
func (m *OutboundTxLegacy) XXX_Merge(src proto.Message)
func (*OutboundTxLegacy) XXX_Size ¶ added in v0.0.15
func (m *OutboundTxLegacy) XXX_Size() int
func (*OutboundTxLegacy) XXX_Unmarshal ¶ added in v0.0.15
func (m *OutboundTxLegacy) XXX_Unmarshal(b []byte) error
type PCTx ¶
type PCTx struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
GasUsed uint64 `protobuf:"varint,3,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
BlockHeight uint64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
ErrorMsg string `protobuf:"bytes,7,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
}
func (*PCTx) Descriptor ¶
func (*PCTx) GetBlockHeight ¶
func (*PCTx) GetErrorMsg ¶
func (*PCTx) GetGasUsed ¶
func (*PCTx) ProtoMessage ¶
func (*PCTx) ProtoMessage()
func (PCTx) ValidateBasic ¶
ValidateBasic does the sanity check on the PCTx fields.
func (*PCTx) XXX_DiscardUnknown ¶
func (m *PCTx) XXX_DiscardUnknown()
func (*PCTx) XXX_Unmarshal ¶
type ParamSubspace ¶
type ParamSubspace interface {
Get(context.Context, []byte, interface{})
Set(context.Context, []byte, interface{})
}
ParamSubspace defines the expected Subspace interface for parameters.
type Params ¶
type Params struct {
SomeValue bool `protobuf:"varint,2,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
// max_gasless_tx_gas is the maximum gas limit a fee-exempt (gasless)
// transaction is allowed to declare. Gasless transactions pay no fee, so
// their declared gas is not bounded by anything the sender has to spend;
// this cap is the only bound on how much a single gasless transaction can
// contribute to the block's cumulative gas wanted.
MaxGaslessTxGas uint64 `protobuf:"varint,3,opt,name=max_gasless_tx_gas,json=maxGaslessTxGas,proto3" json:"max_gasless_tx_gas,omitempty"`
}
Params defines the set of module parameters.
func (*Params) Descriptor ¶
func (*Params) GetMaxGaslessTxGas ¶ added in v0.0.48
func (*Params) GetSomeValue ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶
Validate does the sanity check on the params.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PendingInboundEntry ¶ added in v0.0.40
type PendingInboundEntry struct {
// sha256(source_chain:tx_hash:log_index) — same key used by
// GetInboundUniversalTxKey and the UniversalTx record (when it
// eventually exists).
UtxKey string `protobuf:"bytes,1,opt,name=utx_key,json=utxKey,proto3" json:"utx_key,omitempty"`
Variants []InboundVariant `protobuf:"bytes,2,rep,name=variants,proto3" json:"variants"`
// Block height when this entry was created (first vote on any variant).
CreatedAtHeight uint64 `protobuf:"varint,3,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"`
}
PendingInboundEntry tracks all ballot variants for a single logical inbound event (identified by utx_key). Created by the first vote (RecordInboundVote). Removed only when ALL variants reach a terminal state. If any variant ended PASSED, the existing post-finalization path produces the UniversalTx. If ALL variants ended EXPIRED/REJECTED, the entry is moved to ExpiredInbounds.
func (*PendingInboundEntry) Descriptor ¶ added in v0.0.40
func (*PendingInboundEntry) Descriptor() ([]byte, []int)
func (*PendingInboundEntry) Equal ¶ added in v0.0.40
func (this *PendingInboundEntry) Equal(that interface{}) bool
func (*PendingInboundEntry) GetCreatedAtHeight ¶ added in v0.0.40
func (m *PendingInboundEntry) GetCreatedAtHeight() uint64
func (*PendingInboundEntry) GetUtxKey ¶ added in v0.0.40
func (m *PendingInboundEntry) GetUtxKey() string
func (*PendingInboundEntry) GetVariants ¶ added in v0.0.40
func (m *PendingInboundEntry) GetVariants() []InboundVariant
func (*PendingInboundEntry) Marshal ¶ added in v0.0.40
func (m *PendingInboundEntry) Marshal() (dAtA []byte, err error)
func (*PendingInboundEntry) MarshalTo ¶ added in v0.0.40
func (m *PendingInboundEntry) MarshalTo(dAtA []byte) (int, error)
func (*PendingInboundEntry) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *PendingInboundEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PendingInboundEntry) ProtoMessage ¶ added in v0.0.40
func (*PendingInboundEntry) ProtoMessage()
func (*PendingInboundEntry) Reset ¶ added in v0.0.40
func (m *PendingInboundEntry) Reset()
func (*PendingInboundEntry) Size ¶ added in v0.0.40
func (m *PendingInboundEntry) Size() (n int)
func (*PendingInboundEntry) String ¶ added in v0.0.40
func (m *PendingInboundEntry) String() string
func (*PendingInboundEntry) Unmarshal ¶ added in v0.0.40
func (m *PendingInboundEntry) Unmarshal(dAtA []byte) error
func (*PendingInboundEntry) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *PendingInboundEntry) XXX_DiscardUnknown()
func (*PendingInboundEntry) XXX_Marshal ¶ added in v0.0.40
func (m *PendingInboundEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingInboundEntry) XXX_Merge ¶ added in v0.0.40
func (m *PendingInboundEntry) XXX_Merge(src proto.Message)
func (*PendingInboundEntry) XXX_Size ¶ added in v0.0.40
func (m *PendingInboundEntry) XXX_Size() int
func (*PendingInboundEntry) XXX_Unmarshal ¶ added in v0.0.40
func (m *PendingInboundEntry) XXX_Unmarshal(b []byte) error
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"`
SigningDeadline int64 `protobuf:"varint,4,opt,name=signing_deadline,json=signingDeadline,proto3" json:"signing_deadline,omitempty"`
// Per-variant audit trail, populated as votes arrive (RecordOutboundVote).
Variants []OutboundObservationVariant `protobuf:"bytes,5,rep,name=variants,proto3" json:"variants"`
}
Pending outbound index entry. Created by chain code at outbound creation (see create_outbound.go). Removed only when validators reach consensus on an OutboundObservation (see msg_vote_outbound.go). Ballot expiry does NOT remove the entry — operators investigate stuck outbounds via the per-variant audit trail (variants below) plus separate uvalidator ballot queries to see which ballots have terminated. See plan-pending-outbound-cleanup.md for design rationale.
func (*PendingOutboundEntry) Descriptor ¶ added in v0.0.23
func (*PendingOutboundEntry) Descriptor() ([]byte, []int)
func (*PendingOutboundEntry) GetCreatedAt ¶ added in v0.0.23
func (m *PendingOutboundEntry) GetCreatedAt() int64
func (*PendingOutboundEntry) GetOutboundId ¶ added in v0.0.23
func (m *PendingOutboundEntry) GetOutboundId() string
func (*PendingOutboundEntry) GetSigningDeadline ¶ added in v0.0.36
func (m *PendingOutboundEntry) GetSigningDeadline() int64
func (*PendingOutboundEntry) GetUniversalTxId ¶ added in v0.0.23
func (m *PendingOutboundEntry) GetUniversalTxId() string
func (*PendingOutboundEntry) GetVariants ¶ added in v0.0.40
func (m *PendingOutboundEntry) GetVariants() []OutboundObservationVariant
func (*PendingOutboundEntry) Marshal ¶ added in v0.0.23
func (m *PendingOutboundEntry) Marshal() (dAtA []byte, err error)
func (*PendingOutboundEntry) MarshalTo ¶ added in v0.0.23
func (m *PendingOutboundEntry) MarshalTo(dAtA []byte) (int, error)
func (*PendingOutboundEntry) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *PendingOutboundEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PendingOutboundEntry) ProtoMessage ¶ added in v0.0.23
func (*PendingOutboundEntry) ProtoMessage()
func (*PendingOutboundEntry) Reset ¶ added in v0.0.23
func (m *PendingOutboundEntry) Reset()
func (*PendingOutboundEntry) Size ¶ added in v0.0.23
func (m *PendingOutboundEntry) Size() (n int)
func (*PendingOutboundEntry) String ¶ added in v0.0.23
func (m *PendingOutboundEntry) String() string
func (*PendingOutboundEntry) Unmarshal ¶ added in v0.0.23
func (m *PendingOutboundEntry) Unmarshal(dAtA []byte) error
func (*PendingOutboundEntry) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *PendingOutboundEntry) XXX_DiscardUnknown()
func (*PendingOutboundEntry) XXX_Marshal ¶ added in v0.0.23
func (m *PendingOutboundEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PendingOutboundEntry) XXX_Merge ¶ added in v0.0.23
func (m *PendingOutboundEntry) XXX_Merge(src proto.Message)
func (*PendingOutboundEntry) XXX_Size ¶ added in v0.0.23
func (m *PendingOutboundEntry) XXX_Size() int
func (*PendingOutboundEntry) XXX_Unmarshal ¶ added in v0.0.23
func (m *PendingOutboundEntry) XXX_Unmarshal(b []byte) error
type QueryAllChainMetasRequest ¶ added in v0.0.19
type QueryAllChainMetasRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
All chain metas
func (*QueryAllChainMetasRequest) Descriptor ¶ added in v0.0.19
func (*QueryAllChainMetasRequest) Descriptor() ([]byte, []int)
func (*QueryAllChainMetasRequest) GetPagination ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) GetPagination() *query.PageRequest
func (*QueryAllChainMetasRequest) Marshal ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllChainMetasRequest) MarshalTo ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllChainMetasRequest) MarshalToSizedBuffer ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllChainMetasRequest) ProtoMessage ¶ added in v0.0.19
func (*QueryAllChainMetasRequest) ProtoMessage()
func (*QueryAllChainMetasRequest) Reset ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) Reset()
func (*QueryAllChainMetasRequest) Size ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) Size() (n int)
func (*QueryAllChainMetasRequest) String ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) String() string
func (*QueryAllChainMetasRequest) Unmarshal ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) Unmarshal(dAtA []byte) error
func (*QueryAllChainMetasRequest) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) XXX_DiscardUnknown()
func (*QueryAllChainMetasRequest) XXX_Marshal ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllChainMetasRequest) XXX_Merge ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) XXX_Merge(src proto.Message)
func (*QueryAllChainMetasRequest) XXX_Size ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) XXX_Size() int
func (*QueryAllChainMetasRequest) XXX_Unmarshal ¶ added in v0.0.19
func (m *QueryAllChainMetasRequest) XXX_Unmarshal(b []byte) error
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 *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllChainMetasResponse) Descriptor ¶ added in v0.0.19
func (*QueryAllChainMetasResponse) Descriptor() ([]byte, []int)
func (*QueryAllChainMetasResponse) GetChainMetas ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) GetChainMetas() []*ChainMeta
func (*QueryAllChainMetasResponse) GetPagination ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) GetPagination() *query.PageResponse
func (*QueryAllChainMetasResponse) Marshal ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllChainMetasResponse) MarshalTo ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllChainMetasResponse) MarshalToSizedBuffer ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllChainMetasResponse) ProtoMessage ¶ added in v0.0.19
func (*QueryAllChainMetasResponse) ProtoMessage()
func (*QueryAllChainMetasResponse) Reset ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) Reset()
func (*QueryAllChainMetasResponse) Size ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) Size() (n int)
func (*QueryAllChainMetasResponse) String ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) String() string
func (*QueryAllChainMetasResponse) Unmarshal ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) Unmarshal(dAtA []byte) error
func (*QueryAllChainMetasResponse) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) XXX_DiscardUnknown()
func (*QueryAllChainMetasResponse) XXX_Marshal ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllChainMetasResponse) XXX_Merge ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) XXX_Merge(src proto.Message)
func (*QueryAllChainMetasResponse) XXX_Size ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) XXX_Size() int
func (*QueryAllChainMetasResponse) XXX_Unmarshal ¶ added in v0.0.19
func (m *QueryAllChainMetasResponse) XXX_Unmarshal(b []byte) error
type QueryAllExpiredInboundsRequest ¶ added in v0.0.40
type QueryAllExpiredInboundsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
Expired Inbounds
func (*QueryAllExpiredInboundsRequest) Descriptor ¶ added in v0.0.40
func (*QueryAllExpiredInboundsRequest) Descriptor() ([]byte, []int)
func (*QueryAllExpiredInboundsRequest) GetPagination ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) GetPagination() *query.PageRequest
func (*QueryAllExpiredInboundsRequest) Marshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllExpiredInboundsRequest) MarshalTo ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllExpiredInboundsRequest) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllExpiredInboundsRequest) ProtoMessage ¶ added in v0.0.40
func (*QueryAllExpiredInboundsRequest) ProtoMessage()
func (*QueryAllExpiredInboundsRequest) Reset ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) Reset()
func (*QueryAllExpiredInboundsRequest) Size ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) Size() (n int)
func (*QueryAllExpiredInboundsRequest) String ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) String() string
func (*QueryAllExpiredInboundsRequest) Unmarshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllExpiredInboundsRequest) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) XXX_DiscardUnknown()
func (*QueryAllExpiredInboundsRequest) XXX_Marshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllExpiredInboundsRequest) XXX_Merge ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) XXX_Merge(src proto.Message)
func (*QueryAllExpiredInboundsRequest) XXX_Size ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) XXX_Size() int
func (*QueryAllExpiredInboundsRequest) XXX_Unmarshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsRequest) XXX_Unmarshal(b []byte) error
type QueryAllExpiredInboundsResponse ¶ added in v0.0.40
type QueryAllExpiredInboundsResponse struct {
Entries []ExpiredInboundEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllExpiredInboundsResponse) Descriptor ¶ added in v0.0.40
func (*QueryAllExpiredInboundsResponse) Descriptor() ([]byte, []int)
func (*QueryAllExpiredInboundsResponse) GetEntries ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) GetEntries() []ExpiredInboundEntry
func (*QueryAllExpiredInboundsResponse) GetPagination ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) GetPagination() *query.PageResponse
func (*QueryAllExpiredInboundsResponse) Marshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllExpiredInboundsResponse) MarshalTo ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllExpiredInboundsResponse) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllExpiredInboundsResponse) ProtoMessage ¶ added in v0.0.40
func (*QueryAllExpiredInboundsResponse) ProtoMessage()
func (*QueryAllExpiredInboundsResponse) Reset ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) Reset()
func (*QueryAllExpiredInboundsResponse) Size ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) Size() (n int)
func (*QueryAllExpiredInboundsResponse) String ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) String() string
func (*QueryAllExpiredInboundsResponse) Unmarshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllExpiredInboundsResponse) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) XXX_DiscardUnknown()
func (*QueryAllExpiredInboundsResponse) XXX_Marshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllExpiredInboundsResponse) XXX_Merge ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) XXX_Merge(src proto.Message)
func (*QueryAllExpiredInboundsResponse) XXX_Size ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) XXX_Size() int
func (*QueryAllExpiredInboundsResponse) XXX_Unmarshal ¶ added in v0.0.40
func (m *QueryAllExpiredInboundsResponse) XXX_Unmarshal(b []byte) error
type QueryAllGasPricesRequest ¶
type QueryAllGasPricesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
All gas prices
func (*QueryAllGasPricesRequest) Descriptor ¶
func (*QueryAllGasPricesRequest) Descriptor() ([]byte, []int)
func (*QueryAllGasPricesRequest) GetPagination ¶
func (m *QueryAllGasPricesRequest) GetPagination() *query.PageRequest
func (*QueryAllGasPricesRequest) Marshal ¶
func (m *QueryAllGasPricesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllGasPricesRequest) MarshalTo ¶
func (m *QueryAllGasPricesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllGasPricesRequest) MarshalToSizedBuffer ¶
func (m *QueryAllGasPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllGasPricesRequest) ProtoMessage ¶
func (*QueryAllGasPricesRequest) ProtoMessage()
func (*QueryAllGasPricesRequest) Reset ¶
func (m *QueryAllGasPricesRequest) Reset()
func (*QueryAllGasPricesRequest) Size ¶
func (m *QueryAllGasPricesRequest) Size() (n int)
func (*QueryAllGasPricesRequest) String ¶
func (m *QueryAllGasPricesRequest) String() string
func (*QueryAllGasPricesRequest) Unmarshal ¶
func (m *QueryAllGasPricesRequest) Unmarshal(dAtA []byte) error
func (*QueryAllGasPricesRequest) XXX_DiscardUnknown ¶
func (m *QueryAllGasPricesRequest) XXX_DiscardUnknown()
func (*QueryAllGasPricesRequest) XXX_Marshal ¶
func (m *QueryAllGasPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllGasPricesRequest) XXX_Merge ¶
func (m *QueryAllGasPricesRequest) XXX_Merge(src proto.Message)
func (*QueryAllGasPricesRequest) XXX_Size ¶
func (m *QueryAllGasPricesRequest) XXX_Size() int
func (*QueryAllGasPricesRequest) XXX_Unmarshal ¶
func (m *QueryAllGasPricesRequest) XXX_Unmarshal(b []byte) error
type QueryAllGasPricesResponse ¶
type QueryAllGasPricesResponse struct {
GasPrices []*GasPrice `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllGasPricesResponse) Descriptor ¶
func (*QueryAllGasPricesResponse) Descriptor() ([]byte, []int)
func (*QueryAllGasPricesResponse) GetGasPrices ¶
func (m *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice
func (*QueryAllGasPricesResponse) GetPagination ¶
func (m *QueryAllGasPricesResponse) GetPagination() *query.PageResponse
func (*QueryAllGasPricesResponse) Marshal ¶
func (m *QueryAllGasPricesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllGasPricesResponse) MarshalTo ¶
func (m *QueryAllGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllGasPricesResponse) MarshalToSizedBuffer ¶
func (m *QueryAllGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllGasPricesResponse) ProtoMessage ¶
func (*QueryAllGasPricesResponse) ProtoMessage()
func (*QueryAllGasPricesResponse) Reset ¶
func (m *QueryAllGasPricesResponse) Reset()
func (*QueryAllGasPricesResponse) Size ¶
func (m *QueryAllGasPricesResponse) Size() (n int)
func (*QueryAllGasPricesResponse) String ¶
func (m *QueryAllGasPricesResponse) String() string
func (*QueryAllGasPricesResponse) Unmarshal ¶
func (m *QueryAllGasPricesResponse) Unmarshal(dAtA []byte) error
func (*QueryAllGasPricesResponse) XXX_DiscardUnknown ¶
func (m *QueryAllGasPricesResponse) XXX_DiscardUnknown()
func (*QueryAllGasPricesResponse) XXX_Marshal ¶
func (m *QueryAllGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllGasPricesResponse) XXX_Merge ¶
func (m *QueryAllGasPricesResponse) XXX_Merge(src proto.Message)
func (*QueryAllGasPricesResponse) XXX_Size ¶
func (m *QueryAllGasPricesResponse) XXX_Size() int
func (*QueryAllGasPricesResponse) XXX_Unmarshal ¶
func (m *QueryAllGasPricesResponse) XXX_Unmarshal(b []byte) error
type QueryAllPendingInboundsRequest ¶
type QueryAllPendingInboundsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
Pending Inbounds
func (*QueryAllPendingInboundsRequest) Descriptor ¶
func (*QueryAllPendingInboundsRequest) Descriptor() ([]byte, []int)
func (*QueryAllPendingInboundsRequest) GetPagination ¶
func (m *QueryAllPendingInboundsRequest) GetPagination() *query.PageRequest
func (*QueryAllPendingInboundsRequest) Marshal ¶
func (m *QueryAllPendingInboundsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPendingInboundsRequest) MarshalTo ¶
func (m *QueryAllPendingInboundsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPendingInboundsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPendingInboundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPendingInboundsRequest) ProtoMessage ¶
func (*QueryAllPendingInboundsRequest) ProtoMessage()
func (*QueryAllPendingInboundsRequest) Reset ¶
func (m *QueryAllPendingInboundsRequest) Reset()
func (*QueryAllPendingInboundsRequest) Size ¶
func (m *QueryAllPendingInboundsRequest) Size() (n int)
func (*QueryAllPendingInboundsRequest) String ¶
func (m *QueryAllPendingInboundsRequest) String() string
func (*QueryAllPendingInboundsRequest) Unmarshal ¶
func (m *QueryAllPendingInboundsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPendingInboundsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPendingInboundsRequest) XXX_DiscardUnknown()
func (*QueryAllPendingInboundsRequest) XXX_Marshal ¶
func (m *QueryAllPendingInboundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPendingInboundsRequest) XXX_Merge ¶
func (m *QueryAllPendingInboundsRequest) XXX_Merge(src proto.Message)
func (*QueryAllPendingInboundsRequest) XXX_Size ¶
func (m *QueryAllPendingInboundsRequest) XXX_Size() int
func (*QueryAllPendingInboundsRequest) XXX_Unmarshal ¶
func (m *QueryAllPendingInboundsRequest) XXX_Unmarshal(b []byte) error
type QueryAllPendingInboundsResponse ¶
type QueryAllPendingInboundsResponse struct {
// Full per-variant audit-trail entries.
Entries []PendingInboundEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPendingInboundsResponse) Descriptor ¶
func (*QueryAllPendingInboundsResponse) Descriptor() ([]byte, []int)
func (*QueryAllPendingInboundsResponse) GetEntries ¶ added in v0.0.40
func (m *QueryAllPendingInboundsResponse) GetEntries() []PendingInboundEntry
func (*QueryAllPendingInboundsResponse) GetPagination ¶
func (m *QueryAllPendingInboundsResponse) GetPagination() *query.PageResponse
func (*QueryAllPendingInboundsResponse) Marshal ¶
func (m *QueryAllPendingInboundsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPendingInboundsResponse) MarshalTo ¶
func (m *QueryAllPendingInboundsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPendingInboundsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPendingInboundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPendingInboundsResponse) ProtoMessage ¶
func (*QueryAllPendingInboundsResponse) ProtoMessage()
func (*QueryAllPendingInboundsResponse) Reset ¶
func (m *QueryAllPendingInboundsResponse) Reset()
func (*QueryAllPendingInboundsResponse) Size ¶
func (m *QueryAllPendingInboundsResponse) Size() (n int)
func (*QueryAllPendingInboundsResponse) String ¶
func (m *QueryAllPendingInboundsResponse) String() string
func (*QueryAllPendingInboundsResponse) Unmarshal ¶
func (m *QueryAllPendingInboundsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPendingInboundsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPendingInboundsResponse) XXX_DiscardUnknown()
func (*QueryAllPendingInboundsResponse) XXX_Marshal ¶
func (m *QueryAllPendingInboundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPendingInboundsResponse) XXX_Merge ¶
func (m *QueryAllPendingInboundsResponse) XXX_Merge(src proto.Message)
func (*QueryAllPendingInboundsResponse) XXX_Size ¶
func (m *QueryAllPendingInboundsResponse) XXX_Size() int
func (*QueryAllPendingInboundsResponse) XXX_Unmarshal ¶
func (m *QueryAllPendingInboundsResponse) XXX_Unmarshal(b []byte) error
type QueryAllPendingOutboundsRequest ¶ added in v0.0.23
type QueryAllPendingOutboundsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPendingOutboundsRequest) Descriptor ¶ added in v0.0.23
func (*QueryAllPendingOutboundsRequest) Descriptor() ([]byte, []int)
func (*QueryAllPendingOutboundsRequest) GetPagination ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) GetPagination() *query.PageRequest
func (*QueryAllPendingOutboundsRequest) Marshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPendingOutboundsRequest) MarshalTo ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPendingOutboundsRequest) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPendingOutboundsRequest) ProtoMessage ¶ added in v0.0.23
func (*QueryAllPendingOutboundsRequest) ProtoMessage()
func (*QueryAllPendingOutboundsRequest) Reset ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) Reset()
func (*QueryAllPendingOutboundsRequest) Size ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) Size() (n int)
func (*QueryAllPendingOutboundsRequest) String ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) String() string
func (*QueryAllPendingOutboundsRequest) Unmarshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPendingOutboundsRequest) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) XXX_DiscardUnknown()
func (*QueryAllPendingOutboundsRequest) XXX_Marshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPendingOutboundsRequest) XXX_Merge ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) XXX_Merge(src proto.Message)
func (*QueryAllPendingOutboundsRequest) XXX_Size ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) XXX_Size() int
func (*QueryAllPendingOutboundsRequest) XXX_Unmarshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsRequest) XXX_Unmarshal(b []byte) error
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 *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPendingOutboundsResponse) Descriptor ¶ added in v0.0.23
func (*QueryAllPendingOutboundsResponse) Descriptor() ([]byte, []int)
func (*QueryAllPendingOutboundsResponse) GetEntries ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) GetEntries() []*PendingOutboundEntry
func (*QueryAllPendingOutboundsResponse) GetOutbounds ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) GetOutbounds() []*OutboundTx
func (*QueryAllPendingOutboundsResponse) GetPagination ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) GetPagination() *query.PageResponse
func (*QueryAllPendingOutboundsResponse) Marshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPendingOutboundsResponse) MarshalTo ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPendingOutboundsResponse) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPendingOutboundsResponse) ProtoMessage ¶ added in v0.0.23
func (*QueryAllPendingOutboundsResponse) ProtoMessage()
func (*QueryAllPendingOutboundsResponse) Reset ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) Reset()
func (*QueryAllPendingOutboundsResponse) Size ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) Size() (n int)
func (*QueryAllPendingOutboundsResponse) String ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) String() string
func (*QueryAllPendingOutboundsResponse) Unmarshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPendingOutboundsResponse) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) XXX_DiscardUnknown()
func (*QueryAllPendingOutboundsResponse) XXX_Marshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPendingOutboundsResponse) XXX_Merge ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) XXX_Merge(src proto.Message)
func (*QueryAllPendingOutboundsResponse) XXX_Size ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) XXX_Size() int
func (*QueryAllPendingOutboundsResponse) XXX_Unmarshal ¶ added in v0.0.23
func (m *QueryAllPendingOutboundsResponse) XXX_Unmarshal(b []byte) error
type QueryAllUniversalTxRequest ¶
type QueryAllUniversalTxRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllUniversalTxRequest) Descriptor ¶
func (*QueryAllUniversalTxRequest) Descriptor() ([]byte, []int)
func (*QueryAllUniversalTxRequest) GetPagination ¶
func (m *QueryAllUniversalTxRequest) GetPagination() *query.PageRequest
func (*QueryAllUniversalTxRequest) Marshal ¶
func (m *QueryAllUniversalTxRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllUniversalTxRequest) MarshalTo ¶
func (m *QueryAllUniversalTxRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllUniversalTxRequest) MarshalToSizedBuffer ¶
func (m *QueryAllUniversalTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllUniversalTxRequest) ProtoMessage ¶
func (*QueryAllUniversalTxRequest) ProtoMessage()
func (*QueryAllUniversalTxRequest) Reset ¶
func (m *QueryAllUniversalTxRequest) Reset()
func (*QueryAllUniversalTxRequest) Size ¶
func (m *QueryAllUniversalTxRequest) Size() (n int)
func (*QueryAllUniversalTxRequest) String ¶
func (m *QueryAllUniversalTxRequest) String() string
func (*QueryAllUniversalTxRequest) Unmarshal ¶
func (m *QueryAllUniversalTxRequest) Unmarshal(dAtA []byte) error
func (*QueryAllUniversalTxRequest) XXX_DiscardUnknown ¶
func (m *QueryAllUniversalTxRequest) XXX_DiscardUnknown()
func (*QueryAllUniversalTxRequest) XXX_Marshal ¶
func (m *QueryAllUniversalTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllUniversalTxRequest) XXX_Merge ¶
func (m *QueryAllUniversalTxRequest) XXX_Merge(src proto.Message)
func (*QueryAllUniversalTxRequest) XXX_Size ¶
func (m *QueryAllUniversalTxRequest) XXX_Size() int
func (*QueryAllUniversalTxRequest) XXX_Unmarshal ¶
func (m *QueryAllUniversalTxRequest) XXX_Unmarshal(b []byte) error
type QueryAllUniversalTxResponse ¶
type QueryAllUniversalTxResponse struct {
UniversalTxs []*UniversalTx `protobuf:"bytes,1,rep,name=universal_txs,json=universalTxs,proto3" json:"universal_txs,omitempty"`
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllUniversalTxResponse) Descriptor ¶
func (*QueryAllUniversalTxResponse) Descriptor() ([]byte, []int)
func (*QueryAllUniversalTxResponse) GetPagination ¶
func (m *QueryAllUniversalTxResponse) GetPagination() *query.PageResponse
func (*QueryAllUniversalTxResponse) GetUniversalTxs ¶
func (m *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx
func (*QueryAllUniversalTxResponse) Marshal ¶
func (m *QueryAllUniversalTxResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllUniversalTxResponse) MarshalTo ¶
func (m *QueryAllUniversalTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllUniversalTxResponse) MarshalToSizedBuffer ¶
func (m *QueryAllUniversalTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllUniversalTxResponse) ProtoMessage ¶
func (*QueryAllUniversalTxResponse) ProtoMessage()
func (*QueryAllUniversalTxResponse) Reset ¶
func (m *QueryAllUniversalTxResponse) Reset()
func (*QueryAllUniversalTxResponse) Size ¶
func (m *QueryAllUniversalTxResponse) Size() (n int)
func (*QueryAllUniversalTxResponse) String ¶
func (m *QueryAllUniversalTxResponse) String() string
func (*QueryAllUniversalTxResponse) Unmarshal ¶
func (m *QueryAllUniversalTxResponse) Unmarshal(dAtA []byte) error
func (*QueryAllUniversalTxResponse) XXX_DiscardUnknown ¶
func (m *QueryAllUniversalTxResponse) XXX_DiscardUnknown()
func (*QueryAllUniversalTxResponse) XXX_Marshal ¶
func (m *QueryAllUniversalTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllUniversalTxResponse) XXX_Merge ¶
func (m *QueryAllUniversalTxResponse) XXX_Merge(src proto.Message)
func (*QueryAllUniversalTxResponse) XXX_Size ¶
func (m *QueryAllUniversalTxResponse) XXX_Size() int
func (*QueryAllUniversalTxResponse) XXX_Unmarshal ¶
func (m *QueryAllUniversalTxResponse) XXX_Unmarshal(b []byte) error
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"`
}
Single chain meta
func (*QueryChainMetaRequest) Descriptor ¶ added in v0.0.19
func (*QueryChainMetaRequest) Descriptor() ([]byte, []int)
func (*QueryChainMetaRequest) GetChainId ¶ added in v0.0.19
func (m *QueryChainMetaRequest) GetChainId() string
func (*QueryChainMetaRequest) Marshal ¶ added in v0.0.19
func (m *QueryChainMetaRequest) Marshal() (dAtA []byte, err error)
func (*QueryChainMetaRequest) MarshalTo ¶ added in v0.0.19
func (m *QueryChainMetaRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryChainMetaRequest) MarshalToSizedBuffer ¶ added in v0.0.19
func (m *QueryChainMetaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryChainMetaRequest) ProtoMessage ¶ added in v0.0.19
func (*QueryChainMetaRequest) ProtoMessage()
func (*QueryChainMetaRequest) Reset ¶ added in v0.0.19
func (m *QueryChainMetaRequest) Reset()
func (*QueryChainMetaRequest) Size ¶ added in v0.0.19
func (m *QueryChainMetaRequest) Size() (n int)
func (*QueryChainMetaRequest) String ¶ added in v0.0.19
func (m *QueryChainMetaRequest) String() string
func (*QueryChainMetaRequest) Unmarshal ¶ added in v0.0.19
func (m *QueryChainMetaRequest) Unmarshal(dAtA []byte) error
func (*QueryChainMetaRequest) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *QueryChainMetaRequest) XXX_DiscardUnknown()
func (*QueryChainMetaRequest) XXX_Marshal ¶ added in v0.0.19
func (m *QueryChainMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryChainMetaRequest) XXX_Merge ¶ added in v0.0.19
func (m *QueryChainMetaRequest) XXX_Merge(src proto.Message)
func (*QueryChainMetaRequest) XXX_Size ¶ added in v0.0.19
func (m *QueryChainMetaRequest) XXX_Size() int
func (*QueryChainMetaRequest) XXX_Unmarshal ¶ added in v0.0.19
func (m *QueryChainMetaRequest) XXX_Unmarshal(b []byte) error
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"`
}
func (*QueryChainMetaResponse) Descriptor ¶ added in v0.0.19
func (*QueryChainMetaResponse) Descriptor() ([]byte, []int)
func (*QueryChainMetaResponse) GetChainMeta ¶ added in v0.0.19
func (m *QueryChainMetaResponse) GetChainMeta() *ChainMeta
func (*QueryChainMetaResponse) Marshal ¶ added in v0.0.19
func (m *QueryChainMetaResponse) Marshal() (dAtA []byte, err error)
func (*QueryChainMetaResponse) MarshalTo ¶ added in v0.0.19
func (m *QueryChainMetaResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryChainMetaResponse) MarshalToSizedBuffer ¶ added in v0.0.19
func (m *QueryChainMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryChainMetaResponse) ProtoMessage ¶ added in v0.0.19
func (*QueryChainMetaResponse) ProtoMessage()
func (*QueryChainMetaResponse) Reset ¶ added in v0.0.19
func (m *QueryChainMetaResponse) Reset()
func (*QueryChainMetaResponse) Size ¶ added in v0.0.19
func (m *QueryChainMetaResponse) Size() (n int)
func (*QueryChainMetaResponse) String ¶ added in v0.0.19
func (m *QueryChainMetaResponse) String() string
func (*QueryChainMetaResponse) Unmarshal ¶ added in v0.0.19
func (m *QueryChainMetaResponse) Unmarshal(dAtA []byte) error
func (*QueryChainMetaResponse) XXX_DiscardUnknown ¶ added in v0.0.19
func (m *QueryChainMetaResponse) XXX_DiscardUnknown()
func (*QueryChainMetaResponse) XXX_Marshal ¶ added in v0.0.19
func (m *QueryChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryChainMetaResponse) XXX_Merge ¶ added in v0.0.19
func (m *QueryChainMetaResponse) XXX_Merge(src proto.Message)
func (*QueryChainMetaResponse) XXX_Size ¶ added in v0.0.19
func (m *QueryChainMetaResponse) XXX_Size() int
func (*QueryChainMetaResponse) XXX_Unmarshal ¶ added in v0.0.19
func (m *QueryChainMetaResponse) XXX_Unmarshal(b []byte) error
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)
// Queries all expired inbound entries (per-variant audit trail of
// inbounds whose ballots all reached EXPIRED/REJECTED without producing
// a UniversalTx). Consumed by the future escape-hatch refund flow.
AllExpiredInbounds(ctx context.Context, in *QueryAllExpiredInboundsRequest, opts ...grpc.CallOption) (*QueryAllExpiredInboundsResponse, error)
// Derives the canonical UTX id and inbound ballot id for a given inbound,
// so off-chain validators read the keys from the chain instead of
// re-implementing the canonicalization + digest rules.
InboundKeys(ctx context.Context, in *QueryInboundKeysRequest, opts ...grpc.CallOption) (*QueryInboundKeysResponse, error)
// Derives the canonical outbound ballot id for a given observation. The
// observed tx hash is canonicalized against the outbound's destination
// chain (looked up by utx_id/outbound_id).
OutboundBallotKey(ctx context.Context, in *QueryOutboundBallotKeyRequest, opts ...grpc.CallOption) (*QueryOutboundBallotKeyResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGasPriceRequest ¶
type QueryGasPriceRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
Single gas price
func (*QueryGasPriceRequest) Descriptor ¶
func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGasPriceRequest) GetChainId ¶
func (m *QueryGasPriceRequest) GetChainId() string
func (*QueryGasPriceRequest) Marshal ¶
func (m *QueryGasPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGasPriceRequest) MarshalTo ¶
func (m *QueryGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGasPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGasPriceRequest) ProtoMessage ¶
func (*QueryGasPriceRequest) ProtoMessage()
func (*QueryGasPriceRequest) Reset ¶
func (m *QueryGasPriceRequest) Reset()
func (*QueryGasPriceRequest) Size ¶
func (m *QueryGasPriceRequest) Size() (n int)
func (*QueryGasPriceRequest) String ¶
func (m *QueryGasPriceRequest) String() string
func (*QueryGasPriceRequest) Unmarshal ¶
func (m *QueryGasPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGasPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGasPriceRequest) XXX_DiscardUnknown()
func (*QueryGasPriceRequest) XXX_Marshal ¶
func (m *QueryGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGasPriceRequest) XXX_Merge ¶
func (m *QueryGasPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGasPriceRequest) XXX_Size ¶
func (m *QueryGasPriceRequest) XXX_Size() int
func (*QueryGasPriceRequest) XXX_Unmarshal ¶
func (m *QueryGasPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGasPriceResponse ¶
type QueryGasPriceResponse struct {
GasPrice *GasPrice `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
}
func (*QueryGasPriceResponse) Descriptor ¶
func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGasPriceResponse) GetGasPrice ¶
func (m *QueryGasPriceResponse) GetGasPrice() *GasPrice
func (*QueryGasPriceResponse) Marshal ¶
func (m *QueryGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGasPriceResponse) MarshalTo ¶
func (m *QueryGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGasPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGasPriceResponse) ProtoMessage ¶
func (*QueryGasPriceResponse) ProtoMessage()
func (*QueryGasPriceResponse) Reset ¶
func (m *QueryGasPriceResponse) Reset()
func (*QueryGasPriceResponse) Size ¶
func (m *QueryGasPriceResponse) Size() (n int)
func (*QueryGasPriceResponse) String ¶
func (m *QueryGasPriceResponse) String() string
func (*QueryGasPriceResponse) Unmarshal ¶
func (m *QueryGasPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGasPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGasPriceResponse) XXX_DiscardUnknown()
func (*QueryGasPriceResponse) XXX_Marshal ¶
func (m *QueryGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGasPriceResponse) XXX_Merge ¶
func (m *QueryGasPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGasPriceResponse) XXX_Size ¶
func (m *QueryGasPriceResponse) XXX_Size() int
func (*QueryGasPriceResponse) XXX_Unmarshal ¶
func (m *QueryGasPriceResponse) XXX_Unmarshal(b []byte) error
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"`
}
func (*QueryGetPendingOutboundRequest) Descriptor ¶ added in v0.0.23
func (*QueryGetPendingOutboundRequest) Descriptor() ([]byte, []int)
func (*QueryGetPendingOutboundRequest) GetOutboundId ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) GetOutboundId() string
func (*QueryGetPendingOutboundRequest) Marshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPendingOutboundRequest) MarshalTo ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPendingOutboundRequest) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPendingOutboundRequest) ProtoMessage ¶ added in v0.0.23
func (*QueryGetPendingOutboundRequest) ProtoMessage()
func (*QueryGetPendingOutboundRequest) Reset ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) Reset()
func (*QueryGetPendingOutboundRequest) Size ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) Size() (n int)
func (*QueryGetPendingOutboundRequest) String ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) String() string
func (*QueryGetPendingOutboundRequest) Unmarshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPendingOutboundRequest) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) XXX_DiscardUnknown()
func (*QueryGetPendingOutboundRequest) XXX_Marshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPendingOutboundRequest) XXX_Merge ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) XXX_Merge(src proto.Message)
func (*QueryGetPendingOutboundRequest) XXX_Size ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) XXX_Size() int
func (*QueryGetPendingOutboundRequest) XXX_Unmarshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundRequest) XXX_Unmarshal(b []byte) error
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"`
}
func (*QueryGetPendingOutboundResponse) Descriptor ¶ added in v0.0.23
func (*QueryGetPendingOutboundResponse) Descriptor() ([]byte, []int)
func (*QueryGetPendingOutboundResponse) GetEntry ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) GetEntry() *PendingOutboundEntry
func (*QueryGetPendingOutboundResponse) GetOutbound ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) GetOutbound() *OutboundTx
func (*QueryGetPendingOutboundResponse) Marshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPendingOutboundResponse) MarshalTo ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPendingOutboundResponse) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPendingOutboundResponse) ProtoMessage ¶ added in v0.0.23
func (*QueryGetPendingOutboundResponse) ProtoMessage()
func (*QueryGetPendingOutboundResponse) Reset ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) Reset()
func (*QueryGetPendingOutboundResponse) Size ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) Size() (n int)
func (*QueryGetPendingOutboundResponse) String ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) String() string
func (*QueryGetPendingOutboundResponse) Unmarshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPendingOutboundResponse) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) XXX_DiscardUnknown()
func (*QueryGetPendingOutboundResponse) XXX_Marshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPendingOutboundResponse) XXX_Merge ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) XXX_Merge(src proto.Message)
func (*QueryGetPendingOutboundResponse) XXX_Size ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) XXX_Size() int
func (*QueryGetPendingOutboundResponse) XXX_Unmarshal ¶ added in v0.0.23
func (m *QueryGetPendingOutboundResponse) XXX_Unmarshal(b []byte) error
type QueryGetUniversalTxRequest ¶
type QueryGetUniversalTxRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
Get UniversalTx
func (*QueryGetUniversalTxRequest) Descriptor ¶
func (*QueryGetUniversalTxRequest) Descriptor() ([]byte, []int)
func (*QueryGetUniversalTxRequest) GetId ¶
func (m *QueryGetUniversalTxRequest) GetId() string
func (*QueryGetUniversalTxRequest) Marshal ¶
func (m *QueryGetUniversalTxRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetUniversalTxRequest) MarshalTo ¶
func (m *QueryGetUniversalTxRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetUniversalTxRequest) MarshalToSizedBuffer ¶
func (m *QueryGetUniversalTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetUniversalTxRequest) ProtoMessage ¶
func (*QueryGetUniversalTxRequest) ProtoMessage()
func (*QueryGetUniversalTxRequest) Reset ¶
func (m *QueryGetUniversalTxRequest) Reset()
func (*QueryGetUniversalTxRequest) Size ¶
func (m *QueryGetUniversalTxRequest) Size() (n int)
func (*QueryGetUniversalTxRequest) String ¶
func (m *QueryGetUniversalTxRequest) String() string
func (*QueryGetUniversalTxRequest) Unmarshal ¶
func (m *QueryGetUniversalTxRequest) Unmarshal(dAtA []byte) error
func (*QueryGetUniversalTxRequest) XXX_DiscardUnknown ¶
func (m *QueryGetUniversalTxRequest) XXX_DiscardUnknown()
func (*QueryGetUniversalTxRequest) XXX_Marshal ¶
func (m *QueryGetUniversalTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetUniversalTxRequest) XXX_Merge ¶
func (m *QueryGetUniversalTxRequest) XXX_Merge(src proto.Message)
func (*QueryGetUniversalTxRequest) XXX_Size ¶
func (m *QueryGetUniversalTxRequest) XXX_Size() int
func (*QueryGetUniversalTxRequest) XXX_Unmarshal ¶
func (m *QueryGetUniversalTxRequest) XXX_Unmarshal(b []byte) error
type QueryGetUniversalTxResponse ¶
type QueryGetUniversalTxResponse struct {
UniversalTx *UniversalTxLegacy `protobuf:"bytes,1,opt,name=universal_tx,json=universalTx,proto3" json:"universal_tx,omitempty"`
}
func (*QueryGetUniversalTxResponse) Descriptor ¶
func (*QueryGetUniversalTxResponse) Descriptor() ([]byte, []int)
func (*QueryGetUniversalTxResponse) GetUniversalTx ¶
func (m *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTxLegacy
func (*QueryGetUniversalTxResponse) Marshal ¶
func (m *QueryGetUniversalTxResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetUniversalTxResponse) MarshalTo ¶
func (m *QueryGetUniversalTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetUniversalTxResponse) MarshalToSizedBuffer ¶
func (m *QueryGetUniversalTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetUniversalTxResponse) ProtoMessage ¶
func (*QueryGetUniversalTxResponse) ProtoMessage()
func (*QueryGetUniversalTxResponse) Reset ¶
func (m *QueryGetUniversalTxResponse) Reset()
func (*QueryGetUniversalTxResponse) Size ¶
func (m *QueryGetUniversalTxResponse) Size() (n int)
func (*QueryGetUniversalTxResponse) String ¶
func (m *QueryGetUniversalTxResponse) String() string
func (*QueryGetUniversalTxResponse) Unmarshal ¶
func (m *QueryGetUniversalTxResponse) Unmarshal(dAtA []byte) error
func (*QueryGetUniversalTxResponse) XXX_DiscardUnknown ¶
func (m *QueryGetUniversalTxResponse) XXX_DiscardUnknown()
func (*QueryGetUniversalTxResponse) XXX_Marshal ¶
func (m *QueryGetUniversalTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetUniversalTxResponse) XXX_Merge ¶
func (m *QueryGetUniversalTxResponse) XXX_Merge(src proto.Message)
func (*QueryGetUniversalTxResponse) XXX_Size ¶
func (m *QueryGetUniversalTxResponse) XXX_Size() int
func (*QueryGetUniversalTxResponse) XXX_Unmarshal ¶
func (m *QueryGetUniversalTxResponse) XXX_Unmarshal(b []byte) error
type QueryInboundKeysRequest ¶ added in v0.0.40
type QueryInboundKeysRequest struct {
Inbound *Inbound `protobuf:"bytes,1,opt,name=inbound,proto3" json:"inbound,omitempty"`
}
InboundKeys: derive canonical UTX id + inbound ballot id from an inbound.
func (*QueryInboundKeysRequest) Descriptor ¶ added in v0.0.40
func (*QueryInboundKeysRequest) Descriptor() ([]byte, []int)
func (*QueryInboundKeysRequest) GetInbound ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) GetInbound() *Inbound
func (*QueryInboundKeysRequest) Marshal ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) Marshal() (dAtA []byte, err error)
func (*QueryInboundKeysRequest) MarshalTo ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInboundKeysRequest) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInboundKeysRequest) ProtoMessage ¶ added in v0.0.40
func (*QueryInboundKeysRequest) ProtoMessage()
func (*QueryInboundKeysRequest) Reset ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) Reset()
func (*QueryInboundKeysRequest) Size ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) Size() (n int)
func (*QueryInboundKeysRequest) String ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) String() string
func (*QueryInboundKeysRequest) Unmarshal ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) Unmarshal(dAtA []byte) error
func (*QueryInboundKeysRequest) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) XXX_DiscardUnknown()
func (*QueryInboundKeysRequest) XXX_Marshal ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInboundKeysRequest) XXX_Merge ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) XXX_Merge(src proto.Message)
func (*QueryInboundKeysRequest) XXX_Size ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) XXX_Size() int
func (*QueryInboundKeysRequest) XXX_Unmarshal ¶ added in v0.0.40
func (m *QueryInboundKeysRequest) XXX_Unmarshal(b []byte) error
type QueryInboundKeysResponse ¶ added in v0.0.40
type QueryInboundKeysResponse struct {
UtxId string `protobuf:"bytes,1,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"`
BallotId string `protobuf:"bytes,2,opt,name=ballot_id,json=ballotId,proto3" json:"ballot_id,omitempty"`
CanonicalInbound *Inbound `protobuf:"bytes,3,opt,name=canonical_inbound,json=canonicalInbound,proto3" json:"canonical_inbound,omitempty"`
}
func (*QueryInboundKeysResponse) Descriptor ¶ added in v0.0.40
func (*QueryInboundKeysResponse) Descriptor() ([]byte, []int)
func (*QueryInboundKeysResponse) GetBallotId ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) GetBallotId() string
func (*QueryInboundKeysResponse) GetCanonicalInbound ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) GetCanonicalInbound() *Inbound
func (*QueryInboundKeysResponse) GetUtxId ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) GetUtxId() string
func (*QueryInboundKeysResponse) Marshal ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) Marshal() (dAtA []byte, err error)
func (*QueryInboundKeysResponse) MarshalTo ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInboundKeysResponse) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInboundKeysResponse) ProtoMessage ¶ added in v0.0.40
func (*QueryInboundKeysResponse) ProtoMessage()
func (*QueryInboundKeysResponse) Reset ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) Reset()
func (*QueryInboundKeysResponse) Size ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) Size() (n int)
func (*QueryInboundKeysResponse) String ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) String() string
func (*QueryInboundKeysResponse) Unmarshal ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) Unmarshal(dAtA []byte) error
func (*QueryInboundKeysResponse) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) XXX_DiscardUnknown()
func (*QueryInboundKeysResponse) XXX_Marshal ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInboundKeysResponse) XXX_Merge ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) XXX_Merge(src proto.Message)
func (*QueryInboundKeysResponse) XXX_Size ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) XXX_Size() int
func (*QueryInboundKeysResponse) XXX_Unmarshal ¶ added in v0.0.40
func (m *QueryInboundKeysResponse) XXX_Unmarshal(b []byte) error
type QueryOutboundBallotKeyRequest ¶ added in v0.0.40
type QueryOutboundBallotKeyRequest struct {
UtxId string `protobuf:"bytes,1,opt,name=utx_id,json=utxId,proto3" json:"utx_id,omitempty"`
OutboundId string `protobuf:"bytes,2,opt,name=outbound_id,json=outboundId,proto3" json:"outbound_id,omitempty"`
ObservedTx *OutboundObservation `protobuf:"bytes,3,opt,name=observed_tx,json=observedTx,proto3" json:"observed_tx,omitempty"`
}
OutboundBallotKey: derive the canonical outbound ballot id for an observation.
func (*QueryOutboundBallotKeyRequest) Descriptor ¶ added in v0.0.40
func (*QueryOutboundBallotKeyRequest) Descriptor() ([]byte, []int)
func (*QueryOutboundBallotKeyRequest) GetObservedTx ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) GetObservedTx() *OutboundObservation
func (*QueryOutboundBallotKeyRequest) GetOutboundId ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) GetOutboundId() string
func (*QueryOutboundBallotKeyRequest) GetUtxId ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) GetUtxId() string
func (*QueryOutboundBallotKeyRequest) Marshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) Marshal() (dAtA []byte, err error)
func (*QueryOutboundBallotKeyRequest) MarshalTo ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOutboundBallotKeyRequest) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOutboundBallotKeyRequest) ProtoMessage ¶ added in v0.0.40
func (*QueryOutboundBallotKeyRequest) ProtoMessage()
func (*QueryOutboundBallotKeyRequest) Reset ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) Reset()
func (*QueryOutboundBallotKeyRequest) Size ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) Size() (n int)
func (*QueryOutboundBallotKeyRequest) String ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) String() string
func (*QueryOutboundBallotKeyRequest) Unmarshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) Unmarshal(dAtA []byte) error
func (*QueryOutboundBallotKeyRequest) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) XXX_DiscardUnknown()
func (*QueryOutboundBallotKeyRequest) XXX_Marshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOutboundBallotKeyRequest) XXX_Merge ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) XXX_Merge(src proto.Message)
func (*QueryOutboundBallotKeyRequest) XXX_Size ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) XXX_Size() int
func (*QueryOutboundBallotKeyRequest) XXX_Unmarshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyRequest) XXX_Unmarshal(b []byte) error
type QueryOutboundBallotKeyResponse ¶ added in v0.0.40
type QueryOutboundBallotKeyResponse struct {
BallotId string `protobuf:"bytes,1,opt,name=ballot_id,json=ballotId,proto3" json:"ballot_id,omitempty"`
CanonicalObservedTx *OutboundObservation `protobuf:"bytes,2,opt,name=canonical_observed_tx,json=canonicalObservedTx,proto3" json:"canonical_observed_tx,omitempty"`
}
func (*QueryOutboundBallotKeyResponse) Descriptor ¶ added in v0.0.40
func (*QueryOutboundBallotKeyResponse) Descriptor() ([]byte, []int)
func (*QueryOutboundBallotKeyResponse) GetBallotId ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) GetBallotId() string
func (*QueryOutboundBallotKeyResponse) GetCanonicalObservedTx ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) GetCanonicalObservedTx() *OutboundObservation
func (*QueryOutboundBallotKeyResponse) Marshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) Marshal() (dAtA []byte, err error)
func (*QueryOutboundBallotKeyResponse) MarshalTo ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOutboundBallotKeyResponse) MarshalToSizedBuffer ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOutboundBallotKeyResponse) ProtoMessage ¶ added in v0.0.40
func (*QueryOutboundBallotKeyResponse) ProtoMessage()
func (*QueryOutboundBallotKeyResponse) Reset ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) Reset()
func (*QueryOutboundBallotKeyResponse) Size ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) Size() (n int)
func (*QueryOutboundBallotKeyResponse) String ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) String() string
func (*QueryOutboundBallotKeyResponse) Unmarshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) Unmarshal(dAtA []byte) error
func (*QueryOutboundBallotKeyResponse) XXX_DiscardUnknown ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) XXX_DiscardUnknown()
func (*QueryOutboundBallotKeyResponse) XXX_Marshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOutboundBallotKeyResponse) XXX_Merge ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) XXX_Merge(src proto.Message)
func (*QueryOutboundBallotKeyResponse) XXX_Size ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) XXX_Size() int
func (*QueryOutboundBallotKeyResponse) XXX_Unmarshal ¶ added in v0.0.40
func (m *QueryOutboundBallotKeyResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct {
}
Existing types
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params defines the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
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)
// Queries all expired inbound entries (per-variant audit trail of
// inbounds whose ballots all reached EXPIRED/REJECTED without producing
// a UniversalTx). Consumed by the future escape-hatch refund flow.
AllExpiredInbounds(context.Context, *QueryAllExpiredInboundsRequest) (*QueryAllExpiredInboundsResponse, error)
// Derives the canonical UTX id and inbound ballot id for a given inbound,
// so off-chain validators read the keys from the chain instead of
// re-implementing the canonicalization + digest rules.
InboundKeys(context.Context, *QueryInboundKeysRequest) (*QueryInboundKeysResponse, error)
// Derives the canonical outbound ballot id for a given observation. The
// observed tx hash is canonicalized against the outbound's destination
// chain (looked up by utx_id/outbound_id).
OutboundBallotKey(context.Context, *QueryOutboundBallotKeyRequest) (*QueryOutboundBallotKeyResponse, error)
}
QueryServer is the server API for Query service.
type RescueFundsOnSourceChainEvent ¶ added in v0.0.19
type RescueFundsOnSourceChainEvent struct {
UniversalTxId string // 0x-prefixed bytes32 — the original UTX whose funds are stuck
PRC20 string // 0x-prefixed address — PRC20 token whose counterpart is locked
ChainNamespace string // source chain namespace (e.g. "eip155")
Sender string // 0x-prefixed address — user who initiated the rescue
TxType TxType // always TxType_RESCUE_FUNDS
GasFee *big.Int // gas fee charged (in gas-token units)
GasPrice *big.Int // gas price on the source chain
GasLimit *big.Int // gas limit used for the rescue execution
}
RescueFundsOnSourceChainEvent holds decoded data from the RescueFundsOnSourceChain event emitted by UniversalGatewayPC when a user initiates a rescue on the source chain.
func DecodeRescueFundsOnSourceChainFromLog ¶ added in v0.0.19
func DecodeRescueFundsOnSourceChainFromLog(log *evmtypes.Log) (*RescueFundsOnSourceChainEvent, error)
DecodeRescueFundsOnSourceChainFromLog decodes a RescueFundsOnSourceChain event log.
Event signature:
RescueFundsOnSourceChain(bytes32 indexed universalTxId, address indexed prc20, string chainNamespace, address indexed sender, uint8 txType, uint256 gasFee, uint256 gasPrice, uint256 gasLimit)
Topics: [sig, universalTxId, prc20, sender] Data: [chainNamespace, txType, gasFee, gasPrice, gasLimit]
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"`
}
func (*RevertInstructions) Descriptor ¶ added in v0.0.13
func (*RevertInstructions) Descriptor() ([]byte, []int)
func (*RevertInstructions) Equal ¶ added in v0.0.13
func (this *RevertInstructions) Equal(that interface{}) bool
func (*RevertInstructions) GetFundRecipient ¶ added in v0.0.13
func (m *RevertInstructions) GetFundRecipient() string
func (*RevertInstructions) Marshal ¶ added in v0.0.13
func (m *RevertInstructions) Marshal() (dAtA []byte, err error)
func (*RevertInstructions) MarshalTo ¶ added in v0.0.13
func (m *RevertInstructions) MarshalTo(dAtA []byte) (int, error)
func (*RevertInstructions) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *RevertInstructions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevertInstructions) ProtoMessage ¶ added in v0.0.13
func (*RevertInstructions) ProtoMessage()
func (*RevertInstructions) Reset ¶ added in v0.0.13
func (m *RevertInstructions) Reset()
func (*RevertInstructions) Size ¶ added in v0.0.13
func (m *RevertInstructions) Size() (n int)
func (*RevertInstructions) String ¶ added in v0.0.13
func (m *RevertInstructions) String() string
func (*RevertInstructions) Unmarshal ¶ added in v0.0.13
func (m *RevertInstructions) Unmarshal(dAtA []byte) error
func (*RevertInstructions) XXX_DiscardUnknown ¶ added in v0.0.13
func (m *RevertInstructions) XXX_DiscardUnknown()
func (*RevertInstructions) XXX_Marshal ¶ added in v0.0.13
func (m *RevertInstructions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevertInstructions) XXX_Merge ¶ added in v0.0.13
func (m *RevertInstructions) XXX_Merge(src proto.Message)
func (*RevertInstructions) XXX_Size ¶ added in v0.0.13
func (m *RevertInstructions) XXX_Size() int
func (*RevertInstructions) XXX_Unmarshal ¶ added in v0.0.13
func (m *RevertInstructions) XXX_Unmarshal(b []byte) error
type Status ¶
type Status int32
func (Status) EnumDescriptor ¶
func (Status) ValidateBasic ¶
TODO: update the validation fn Validate does the sanity check on the params.
type TxType ¶ added in v0.0.13
type TxType int32
func SolidityTxTypeToProto ¶ added in v0.0.13
Solidity TX_TYPE (uint8) → Cosmos TxType
func (TxType) EnumDescriptor ¶ added in v0.0.13
type UCallbackKeeper ¶ added in v0.0.47
type UCallbackKeeper interface {
IngestReadRequests(ctx context.Context, receipt *types.MsgEthereumTxResponse) error
}
UCallbackKeeper ingests read requests from derived-call receipts, which the EVM post-tx hook never sees.
type UValidatorKeeper ¶
type UValidatorKeeper interface {
IsTombstonedUniversalValidator(ctx context.Context, universalValidator string) (bool, error)
IsBondedUniversalValidator(ctx context.Context, universalValidator string) (bool, error)
VoteOnBallot(
ctx context.Context,
id string,
ballotType uvalidatortypes.BallotObservationType,
voter string,
voteResult uvalidatortypes.VoteResult,
voters []string,
votesNeeded int64,
expiryAfterBlocks int64,
) (
ballot uvalidatortypes.Ballot,
isFinalized bool,
isNew bool,
err error)
GetEligibleVoters(ctx context.Context) ([]uvalidatortypes.UniversalValidator, error)
GetBallot(ctx context.Context, id string) (uvalidatortypes.Ballot, error)
GetAdmin(ctx context.Context) (string, error)
// MarkBallotFinalized drives a ballot to PASSED/REJECTED. Needed by the
// ExecuteStuckInbound escape hatch, which finalizes a ballot the vote flow
// can no longer finalize on its own.
MarkBallotFinalized(ctx context.Context, id string, status uvalidatortypes.BallotStatus) error
}
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ExecutePayload ¶
func (*UnimplementedMsgServer) ExecutePayload(ctx context.Context, req *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
func (*UnimplementedMsgServer) ExecuteStuckInbound ¶ added in v0.0.48
func (*UnimplementedMsgServer) ExecuteStuckInbound(ctx context.Context, req *MsgExecuteStuckInbound) (*MsgExecuteStuckInboundResponse, error)
func (*UnimplementedMsgServer) ExecuteStuckOutbound ¶ added in v0.0.48
func (*UnimplementedMsgServer) ExecuteStuckOutbound(ctx context.Context, req *MsgExecuteStuckOutbound) (*MsgExecuteStuckOutboundResponse, error)
func (*UnimplementedMsgServer) RevertStuckInbound ¶ added in v0.0.40
func (*UnimplementedMsgServer) RevertStuckInbound(ctx context.Context, req *MsgRevertStuckInbound) (*MsgRevertStuckInboundResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) VoteChainMeta ¶ added in v0.0.19
func (*UnimplementedMsgServer) VoteChainMeta(ctx context.Context, req *MsgVoteChainMeta) (*MsgVoteChainMetaResponse, error)
func (*UnimplementedMsgServer) VoteInbound ¶
func (*UnimplementedMsgServer) VoteInbound(ctx context.Context, req *MsgVoteInbound) (*MsgVoteInboundResponse, error)
func (*UnimplementedMsgServer) VoteOutbound ¶ added in v0.0.13
func (*UnimplementedMsgServer) VoteOutbound(ctx context.Context, req *MsgVoteOutbound) (*MsgVoteOutboundResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllChainMetas ¶ added in v0.0.19
func (*UnimplementedQueryServer) AllChainMetas(ctx context.Context, req *QueryAllChainMetasRequest) (*QueryAllChainMetasResponse, error)
func (*UnimplementedQueryServer) AllExpiredInbounds ¶ added in v0.0.40
func (*UnimplementedQueryServer) AllExpiredInbounds(ctx context.Context, req *QueryAllExpiredInboundsRequest) (*QueryAllExpiredInboundsResponse, error)
func (*UnimplementedQueryServer) AllGasPrices ¶
func (*UnimplementedQueryServer) AllGasPrices(ctx context.Context, req *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
func (*UnimplementedQueryServer) AllPendingInbounds ¶
func (*UnimplementedQueryServer) AllPendingInbounds(ctx context.Context, req *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
func (*UnimplementedQueryServer) AllPendingOutbounds ¶ added in v0.0.23
func (*UnimplementedQueryServer) AllPendingOutbounds(ctx context.Context, req *QueryAllPendingOutboundsRequest) (*QueryAllPendingOutboundsResponse, error)
func (*UnimplementedQueryServer) AllUniversalTx ¶
func (*UnimplementedQueryServer) AllUniversalTx(ctx context.Context, req *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
func (*UnimplementedQueryServer) ChainMeta ¶ added in v0.0.19
func (*UnimplementedQueryServer) ChainMeta(ctx context.Context, req *QueryChainMetaRequest) (*QueryChainMetaResponse, error)
func (*UnimplementedQueryServer) GasPrice ¶
func (*UnimplementedQueryServer) GasPrice(ctx context.Context, req *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
func (*UnimplementedQueryServer) GetPendingOutbound ¶ added in v0.0.23
func (*UnimplementedQueryServer) GetPendingOutbound(ctx context.Context, req *QueryGetPendingOutboundRequest) (*QueryGetPendingOutboundResponse, error)
func (*UnimplementedQueryServer) GetUniversalTx ¶
func (*UnimplementedQueryServer) GetUniversalTx(ctx context.Context, req *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
func (*UnimplementedQueryServer) InboundKeys ¶ added in v0.0.40
func (*UnimplementedQueryServer) InboundKeys(ctx context.Context, req *QueryInboundKeysRequest) (*QueryInboundKeysResponse, error)
func (*UnimplementedQueryServer) OutboundBallotKey ¶ added in v0.0.40
func (*UnimplementedQueryServer) OutboundBallotKey(ctx context.Context, req *QueryOutboundBallotKeyRequest) (*QueryOutboundBallotKeyResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type UniversalAccountId ¶
type UniversalAccountId struct {
ChainNamespace string `protobuf:"bytes,1,opt,name=chain_namespace,json=chainNamespace,proto3" json:"chain_namespace,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}
UniversalAccountId is the identifier of a owner account
func (*UniversalAccountId) Descriptor ¶
func (*UniversalAccountId) Descriptor() ([]byte, []int)
func (*UniversalAccountId) Equal ¶
func (this *UniversalAccountId) Equal(that interface{}) bool
func (UniversalAccountId) GetCAIP2 ¶
func (p UniversalAccountId) GetCAIP2() string
GetCAIP2 returns the CAIP-2 identifier for the UniversalAccountId.
func (*UniversalAccountId) GetChainId ¶
func (m *UniversalAccountId) GetChainId() string
func (*UniversalAccountId) GetChainNamespace ¶
func (m *UniversalAccountId) GetChainNamespace() string
func (*UniversalAccountId) GetOwner ¶
func (m *UniversalAccountId) GetOwner() string
func (*UniversalAccountId) Marshal ¶
func (m *UniversalAccountId) Marshal() (dAtA []byte, err error)
func (*UniversalAccountId) MarshalTo ¶
func (m *UniversalAccountId) MarshalTo(dAtA []byte) (int, error)
func (*UniversalAccountId) MarshalToSizedBuffer ¶
func (m *UniversalAccountId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniversalAccountId) ProtoMessage ¶
func (*UniversalAccountId) ProtoMessage()
func (*UniversalAccountId) Reset ¶
func (m *UniversalAccountId) Reset()
func (*UniversalAccountId) Size ¶
func (m *UniversalAccountId) Size() (n int)
func (UniversalAccountId) String ¶
func (p UniversalAccountId) String() string
Stringer method for Params.
func (*UniversalAccountId) Unmarshal ¶
func (m *UniversalAccountId) Unmarshal(dAtA []byte) error
func (UniversalAccountId) ValidateBasic ¶
func (p UniversalAccountId) ValidateBasic() error
Validate does the sanity check on the params.
func (*UniversalAccountId) XXX_DiscardUnknown ¶
func (m *UniversalAccountId) XXX_DiscardUnknown()
func (*UniversalAccountId) XXX_Marshal ¶
func (m *UniversalAccountId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniversalAccountId) XXX_Merge ¶
func (m *UniversalAccountId) XXX_Merge(src proto.Message)
func (*UniversalAccountId) XXX_Size ¶
func (m *UniversalAccountId) XXX_Size() int
func (*UniversalAccountId) XXX_Unmarshal ¶
func (m *UniversalAccountId) XXX_Unmarshal(b []byte) error
type UniversalPayload ¶
type UniversalPayload struct {
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
GasLimit string `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
MaxFeePerGas string `protobuf:"bytes,5,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"`
MaxPriorityFeePerGas string `` /* 127-byte string literal not displayed */
Nonce string `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"`
Deadline string `protobuf:"bytes,8,opt,name=deadline,proto3" json:"deadline,omitempty"`
VType VerificationType `protobuf:"varint,9,opt,name=v_type,json=vType,proto3,enum=uexecutor.v1.VerificationType" json:"v_type,omitempty"`
}
UniversalPayload mirrors the Solidity struct
func DecodeRawPayload ¶ added in v0.0.23
func DecodeRawPayload(rawPayload string, sourceChain string) (*UniversalPayload, error)
DecodeRawPayload decodes raw hex-encoded payload bytes based on the source chain namespace. sourceChain is in CAIP-2 format (e.g., "eip155:11155111" or "solana:devnet").
func DecodeUniversalPayloadEVM ¶ added in v0.0.23
func DecodeUniversalPayloadEVM(hexStr string) (*UniversalPayload, error)
DecodeUniversalPayloadEVM decodes an ABI-encoded UniversalPayload from a hex string. The hex string should contain ABI-encoded tuple data as emitted by the EVM gateway contract. Ported from universalClient/externalchains/evm/event_parser.go:decodeUniversalPayload.
func DecodeUniversalPayloadSolana ¶ added in v0.0.29
func DecodeUniversalPayloadSolana(hexStr string) (*UniversalPayload, error)
DecodeUniversalPayloadSolana decodes a Borsh-serialized UniversalPayload from a hex string. Matches the Rust Anchor/Borsh layout:
pub struct UniversalPayload {
pub to: [u8; 20],
pub value: u64,
pub data: Vec<u8>,
pub gas_limit: u64,
pub max_fee_per_gas: u64,
pub max_priority_fee_per_gas: u64,
pub nonce: u64,
pub deadline: i64,
pub v_type: u8,
}
Borsh encoding: fixed-size fields are little-endian, Vec<u8> is a 4-byte LE length prefix + data.
func (*UniversalPayload) Descriptor ¶
func (*UniversalPayload) Descriptor() ([]byte, []int)
func (*UniversalPayload) Equal ¶
func (this *UniversalPayload) Equal(that interface{}) bool
func (*UniversalPayload) GetData ¶
func (m *UniversalPayload) GetData() string
func (*UniversalPayload) GetDeadline ¶
func (m *UniversalPayload) GetDeadline() string
func (*UniversalPayload) GetGasLimit ¶
func (m *UniversalPayload) GetGasLimit() string
func (*UniversalPayload) GetMaxFeePerGas ¶
func (m *UniversalPayload) GetMaxFeePerGas() string
func (*UniversalPayload) GetMaxPriorityFeePerGas ¶
func (m *UniversalPayload) GetMaxPriorityFeePerGas() string
func (*UniversalPayload) GetNonce ¶
func (m *UniversalPayload) GetNonce() string
func (*UniversalPayload) GetTo ¶
func (m *UniversalPayload) GetTo() string
func (*UniversalPayload) GetVType ¶
func (m *UniversalPayload) GetVType() VerificationType
func (*UniversalPayload) GetValue ¶
func (m *UniversalPayload) GetValue() string
func (*UniversalPayload) Marshal ¶
func (m *UniversalPayload) Marshal() (dAtA []byte, err error)
func (*UniversalPayload) MarshalToSizedBuffer ¶
func (m *UniversalPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniversalPayload) ProtoMessage ¶
func (*UniversalPayload) ProtoMessage()
func (*UniversalPayload) Reset ¶
func (m *UniversalPayload) Reset()
func (*UniversalPayload) Size ¶
func (m *UniversalPayload) Size() (n int)
func (UniversalPayload) String ¶
func (p UniversalPayload) String() string
Stringer method for Params.
func (*UniversalPayload) Unmarshal ¶
func (m *UniversalPayload) Unmarshal(dAtA []byte) error
func (UniversalPayload) ValidateBasic ¶
func (p UniversalPayload) ValidateBasic() error
ValidateBasic does the sanity check on the UniversalPayload fields.
func (*UniversalPayload) ValidateSize ¶ added in v0.0.48
func (p *UniversalPayload) ValidateSize() error
ValidateSize enforces the flat MaxUniversalPayloadBytes cap on the serialized payload. Split out of ValidateBasic so the keeper can apply the cap on its own, independently of whichever msg carried the payload in.
func (*UniversalPayload) XXX_DiscardUnknown ¶
func (m *UniversalPayload) XXX_DiscardUnknown()
func (*UniversalPayload) XXX_Marshal ¶
func (m *UniversalPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniversalPayload) XXX_Merge ¶
func (m *UniversalPayload) XXX_Merge(src proto.Message)
func (*UniversalPayload) XXX_Size ¶
func (m *UniversalPayload) XXX_Size() int
func (*UniversalPayload) XXX_Unmarshal ¶
func (m *UniversalPayload) XXX_Unmarshal(b []byte) error
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"`
PcTx []*PCTx `protobuf:"bytes,3,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"`
OutboundTx []*OutboundTx `protobuf:"bytes,4,rep,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"`
RevertError string `protobuf:"bytes,6,opt,name=revert_error,json=revertError,proto3" json:"revert_error,omitempty"`
}
func (*UniversalTx) Descriptor ¶
func (*UniversalTx) Descriptor() ([]byte, []int)
func (*UniversalTx) Equal ¶
func (this *UniversalTx) Equal(that interface{}) bool
func (*UniversalTx) GetId ¶ added in v0.0.13
func (m *UniversalTx) GetId() string
func (*UniversalTx) GetInboundTx ¶
func (m *UniversalTx) GetInboundTx() *Inbound
func (*UniversalTx) GetOutboundTx ¶
func (m *UniversalTx) GetOutboundTx() []*OutboundTx
func (*UniversalTx) GetPcTx ¶
func (m *UniversalTx) GetPcTx() []*PCTx
func (*UniversalTx) GetRevertError ¶ added in v0.0.23
func (m *UniversalTx) GetRevertError() string
func (*UniversalTx) Marshal ¶
func (m *UniversalTx) Marshal() (dAtA []byte, err error)
func (*UniversalTx) MarshalToSizedBuffer ¶
func (m *UniversalTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniversalTx) ProtoMessage ¶
func (*UniversalTx) ProtoMessage()
func (*UniversalTx) Reset ¶
func (m *UniversalTx) Reset()
func (*UniversalTx) Size ¶
func (m *UniversalTx) Size() (n int)
func (*UniversalTx) Unmarshal ¶
func (m *UniversalTx) Unmarshal(dAtA []byte) error
func (UniversalTx) ValidateBasic ¶
func (p UniversalTx) ValidateBasic() error
ValidateBasic does the sanity check on the UniversalTx fields.
func (*UniversalTx) XXX_DiscardUnknown ¶
func (m *UniversalTx) XXX_DiscardUnknown()
func (*UniversalTx) XXX_Marshal ¶
func (m *UniversalTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniversalTx) XXX_Merge ¶
func (m *UniversalTx) XXX_Merge(src proto.Message)
func (*UniversalTx) XXX_Size ¶
func (m *UniversalTx) XXX_Size() int
func (*UniversalTx) XXX_Unmarshal ¶
func (m *UniversalTx) XXX_Unmarshal(b []byte) error
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"`
}
UniversalTxEntry is a key-value pair for exporting UniversalTx map state.
func (*UniversalTxEntry) Descriptor ¶ added in v0.0.23
func (*UniversalTxEntry) Descriptor() ([]byte, []int)
func (*UniversalTxEntry) GetKey ¶ added in v0.0.23
func (m *UniversalTxEntry) GetKey() string
func (*UniversalTxEntry) GetValue ¶ added in v0.0.23
func (m *UniversalTxEntry) GetValue() UniversalTx
func (*UniversalTxEntry) Marshal ¶ added in v0.0.23
func (m *UniversalTxEntry) Marshal() (dAtA []byte, err error)
func (*UniversalTxEntry) MarshalTo ¶ added in v0.0.23
func (m *UniversalTxEntry) MarshalTo(dAtA []byte) (int, error)
func (*UniversalTxEntry) MarshalToSizedBuffer ¶ added in v0.0.23
func (m *UniversalTxEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniversalTxEntry) ProtoMessage ¶ added in v0.0.23
func (*UniversalTxEntry) ProtoMessage()
func (*UniversalTxEntry) Reset ¶ added in v0.0.23
func (m *UniversalTxEntry) Reset()
func (*UniversalTxEntry) Size ¶ added in v0.0.23
func (m *UniversalTxEntry) Size() (n int)
func (*UniversalTxEntry) String ¶ added in v0.0.23
func (m *UniversalTxEntry) String() string
func (*UniversalTxEntry) Unmarshal ¶ added in v0.0.23
func (m *UniversalTxEntry) Unmarshal(dAtA []byte) error
func (*UniversalTxEntry) XXX_DiscardUnknown ¶ added in v0.0.23
func (m *UniversalTxEntry) XXX_DiscardUnknown()
func (*UniversalTxEntry) XXX_Marshal ¶ added in v0.0.23
func (m *UniversalTxEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniversalTxEntry) XXX_Merge ¶ added in v0.0.23
func (m *UniversalTxEntry) XXX_Merge(src proto.Message)
func (*UniversalTxEntry) XXX_Size ¶ added in v0.0.23
func (m *UniversalTxEntry) XXX_Size() int
func (*UniversalTxEntry) XXX_Unmarshal ¶ added in v0.0.23
func (m *UniversalTxEntry) XXX_Unmarshal(b []byte) error
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"`
PcTx []*PCTx `protobuf:"bytes,2,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"`
OutboundTx *OutboundTxLegacy `protobuf:"bytes,3,opt,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"`
UniversalStatus UniversalTxStatus `` /* 143-byte string literal not displayed */
}
func (*UniversalTxLegacy) Descriptor ¶ added in v0.0.15
func (*UniversalTxLegacy) Descriptor() ([]byte, []int)
func (*UniversalTxLegacy) Equal ¶ added in v0.0.15
func (this *UniversalTxLegacy) Equal(that interface{}) bool
func (*UniversalTxLegacy) GetInboundTx ¶ added in v0.0.15
func (m *UniversalTxLegacy) GetInboundTx() *InboundLegacy
func (*UniversalTxLegacy) GetOutboundTx ¶ added in v0.0.15
func (m *UniversalTxLegacy) GetOutboundTx() *OutboundTxLegacy
func (*UniversalTxLegacy) GetPcTx ¶ added in v0.0.15
func (m *UniversalTxLegacy) GetPcTx() []*PCTx
func (*UniversalTxLegacy) GetUniversalStatus ¶ added in v0.0.15
func (m *UniversalTxLegacy) GetUniversalStatus() UniversalTxStatus
func (*UniversalTxLegacy) Marshal ¶ added in v0.0.15
func (m *UniversalTxLegacy) Marshal() (dAtA []byte, err error)
func (*UniversalTxLegacy) MarshalTo ¶ added in v0.0.15
func (m *UniversalTxLegacy) MarshalTo(dAtA []byte) (int, error)
func (*UniversalTxLegacy) MarshalToSizedBuffer ¶ added in v0.0.15
func (m *UniversalTxLegacy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniversalTxLegacy) ProtoMessage ¶ added in v0.0.15
func (*UniversalTxLegacy) ProtoMessage()
func (*UniversalTxLegacy) Reset ¶ added in v0.0.15
func (m *UniversalTxLegacy) Reset()
func (*UniversalTxLegacy) Size ¶ added in v0.0.15
func (m *UniversalTxLegacy) Size() (n int)
func (*UniversalTxLegacy) String ¶ added in v0.0.15
func (m *UniversalTxLegacy) String() string
func (*UniversalTxLegacy) Unmarshal ¶ added in v0.0.15
func (m *UniversalTxLegacy) Unmarshal(dAtA []byte) error
func (*UniversalTxLegacy) XXX_DiscardUnknown ¶ added in v0.0.15
func (m *UniversalTxLegacy) XXX_DiscardUnknown()
func (*UniversalTxLegacy) XXX_Marshal ¶ added in v0.0.15
func (m *UniversalTxLegacy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniversalTxLegacy) XXX_Merge ¶ added in v0.0.15
func (m *UniversalTxLegacy) XXX_Merge(src proto.Message)
func (*UniversalTxLegacy) XXX_Size ¶ added in v0.0.15
func (m *UniversalTxLegacy) XXX_Size() int
func (*UniversalTxLegacy) XXX_Unmarshal ¶ added in v0.0.15
func (m *UniversalTxLegacy) XXX_Unmarshal(b []byte) error
type UniversalTxOutboundEvent ¶ added in v0.0.13
type UniversalTxOutboundEvent struct {
TxID string // 0x... bytes32
Sender string // 0x... address
ChainId string // destination chain (CAIP-2 string)
Token string // 0x... ERC20 or zero address for native
Target string // 0x-hex encoded bytes (non-EVM recipient)
Amount *big.Int // amount of Token to bridge
GasToken string // 0x... token used to pay gas fee
GasFee *big.Int // amount of GasToken paid to relayer
GasLimit *big.Int // gas limit for destination execution
Payload string // 0x-hex calldata
ProtocolFee *big.Int // fee kept by protocol
RevertRecipient string // where funds go on full revert
TxType TxType // ← single source of truth from proto
GasPrice *big.Int // gas price on destination chain at time of outbound
}
func DecodeUniversalTxOutboundFromLog ¶ added in v0.0.13
func DecodeUniversalTxOutboundFromLog(log *evmtypes.Log) (*UniversalTxOutboundEvent, error)
type UniversalTxStatus ¶
type UniversalTxStatus int32
const ( UniversalTxStatus_UNIVERSAL_TX_STATUS_UNSPECIFIED UniversalTxStatus = 0 UniversalTxStatus_INBOUND_SUCCESS UniversalTxStatus = 1 UniversalTxStatus_PENDING_INBOUND_EXECUTION UniversalTxStatus = 2 UniversalTxStatus_PC_EXECUTED_SUCCESS UniversalTxStatus = 3 UniversalTxStatus_PC_EXECUTED_FAILED UniversalTxStatus = 4 UniversalTxStatus_PC_PENDING_REVERT UniversalTxStatus = 5 UniversalTxStatus_OUTBOUND_PENDING UniversalTxStatus = 6 UniversalTxStatus_OUTBOUND_SUCCESS UniversalTxStatus = 7 UniversalTxStatus_OUTBOUND_FAILED UniversalTxStatus = 8 UniversalTxStatus_CANCELED UniversalTxStatus = 9 )
func (UniversalTxStatus) EnumDescriptor ¶
func (UniversalTxStatus) EnumDescriptor() ([]byte, []int)
func (UniversalTxStatus) String ¶
func (x UniversalTxStatus) String() string
type UregistryKeeper ¶
type UregistryKeeper interface {
GetChainConfig(ctx context.Context, chain string) (uregistrytypes.ChainConfig, error)
IsChainOutboundEnabled(ctx context.Context, chain string) (bool, error)
IsChainInboundEnabled(ctx context.Context, chain string) (bool, error)
GetTokenConfig(ctx context.Context, chain, address string) (uregistrytypes.TokenConfig, error)
GetTokenConfigByPRC20(
ctx context.Context,
chain string,
prc20Addr string,
) (uregistrytypes.TokenConfig, error)
}
UregistryKeeper defines the expected interface for the UE module.
type VerificationType ¶
type VerificationType int32
Signature verification types
const ( VerificationType_signedVerification VerificationType = 0 VerificationType_universalTxVerification VerificationType = 1 )
func (VerificationType) EnumDescriptor ¶
func (VerificationType) EnumDescriptor() ([]byte, []int)
func (VerificationType) String ¶
func (x VerificationType) String() string
Source Files
¶
- abi.go
- caip2.go
- chain_meta.go
- chain_meta.pb.go
- codec.go
- constants.go
- decode_payload.go
- events.go
- expected_keepers.go
- gas_price.go
- gas_price.pb.go
- gateway_pc_event_decode.go
- genesis.go
- genesis.pb.go
- inbound.go
- keys.go
- msg_execute_payload.go
- msg_execute_stuck_outbound.go
- msg_vote_chain_meta.go
- msg_vote_inbound.go
- msg_vote_outbound.go
- outbound_observation.go
- outbound_tx.go
- params.go
- pc20.go
- pc_tx.go
- pending.pb.go
- query.pb.go
- query.pb.gw.go
- status.go
- tx.pb.go
- tx_type.go
- types.pb.go
- uint256.go
- universal_account_id.go
- universal_payload.go
- universal_tx.go