Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GasPrice
- func (*GasPrice) Descriptor() ([]byte, []int)deprecated
- func (x *GasPrice) GetBlockNums() []uint64
- func (x *GasPrice) GetMedianIndex() uint64
- func (x *GasPrice) GetObservedChainId() string
- func (x *GasPrice) GetPrices() []uint64
- func (x *GasPrice) GetSigners() []string
- func (*GasPrice) ProtoMessage()
- func (x *GasPrice) ProtoReflect() protoreflect.Message
- func (x *GasPrice) Reset()
- func (x *GasPrice) String() string
- type GenesisState
- type Inbound
- func (*Inbound) Descriptor() ([]byte, []int)deprecated
- func (x *Inbound) GetAmount() string
- func (x *Inbound) GetAssetAddr() string
- func (x *Inbound) GetLogIndex() string
- func (x *Inbound) GetRecipient() string
- func (x *Inbound) GetSender() string
- func (x *Inbound) GetSourceChain() string
- func (x *Inbound) GetTxHash() string
- func (x *Inbound) GetTxType() InboundTxType
- func (x *Inbound) GetUniversalPayload() *UniversalPayload
- func (x *Inbound) GetVerificationData() string
- func (*Inbound) ProtoMessage()
- func (x *Inbound) ProtoReflect() protoreflect.Message
- func (x *Inbound) Reset()
- func (x *Inbound) String() string
- type InboundStatus
- type InboundTxType
- func (InboundTxType) Descriptor() protoreflect.EnumDescriptor
- func (x InboundTxType) Enum() *InboundTxType
- func (InboundTxType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboundTxType) Number() protoreflect.EnumNumber
- func (x InboundTxType) String() string
- func (InboundTxType) Type() protoreflect.EnumType
- type MigrationPayload
- func (*MigrationPayload) Descriptor() ([]byte, []int)deprecated
- func (x *MigrationPayload) GetDeadline() string
- func (x *MigrationPayload) GetMigration() string
- func (x *MigrationPayload) GetNonce() string
- func (*MigrationPayload) ProtoMessage()
- func (x *MigrationPayload) ProtoReflect() protoreflect.Message
- func (x *MigrationPayload) Reset()
- func (x *MigrationPayload) String() string
- type MsgClient
- type MsgExecutePayload
- func (*MsgExecutePayload) Descriptor() ([]byte, []int)deprecated
- func (x *MsgExecutePayload) GetSigner() string
- func (x *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId
- func (x *MsgExecutePayload) GetUniversalPayload() *UniversalPayload
- func (x *MsgExecutePayload) GetVerificationData() string
- func (*MsgExecutePayload) ProtoMessage()
- func (x *MsgExecutePayload) ProtoReflect() protoreflect.Message
- func (x *MsgExecutePayload) Reset()
- func (x *MsgExecutePayload) String() string
- type MsgExecutePayloadResponse
- type MsgMigrateUEA
- func (*MsgMigrateUEA) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMigrateUEA) GetMigrationPayload() *MigrationPayload
- func (x *MsgMigrateUEA) GetSignature() string
- func (x *MsgMigrateUEA) GetSigner() string
- func (x *MsgMigrateUEA) GetUniversalAccountId() *UniversalAccountId
- func (*MsgMigrateUEA) ProtoMessage()
- func (x *MsgMigrateUEA) ProtoReflect() protoreflect.Message
- func (x *MsgMigrateUEA) Reset()
- func (x *MsgMigrateUEA) String() string
- type MsgMigrateUEAResponse
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgVoteGasPrice
- func (*MsgVoteGasPrice) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVoteGasPrice) GetBlockNumber() uint64
- func (x *MsgVoteGasPrice) GetObservedChainId() string
- func (x *MsgVoteGasPrice) GetPrice() uint64
- func (x *MsgVoteGasPrice) GetSigner() string
- func (*MsgVoteGasPrice) ProtoMessage()
- func (x *MsgVoteGasPrice) ProtoReflect() protoreflect.Message
- func (x *MsgVoteGasPrice) Reset()
- func (x *MsgVoteGasPrice) String() string
- type MsgVoteGasPriceResponse
- type MsgVoteInbound
- func (*MsgVoteInbound) Descriptor() ([]byte, []int)deprecated
- func (x *MsgVoteInbound) GetInbound() *Inbound
- func (x *MsgVoteInbound) GetSigner() string
- func (*MsgVoteInbound) ProtoMessage()
- func (x *MsgVoteInbound) ProtoReflect() protoreflect.Message
- func (x *MsgVoteInbound) Reset()
- func (x *MsgVoteInbound) String() string
- type MsgVoteInboundResponse
- type OutboundTx
- func (*OutboundTx) Descriptor() ([]byte, []int)deprecated
- func (x *OutboundTx) GetAmount() string
- func (x *OutboundTx) GetAssetAddr() string
- func (x *OutboundTx) GetDestinationChain() string
- func (x *OutboundTx) GetRecipient() string
- func (x *OutboundTx) GetTxHash() string
- func (*OutboundTx) ProtoMessage()
- func (x *OutboundTx) ProtoReflect() protoreflect.Message
- func (x *OutboundTx) Reset()
- func (x *OutboundTx) String() string
- type PCTx
- func (*PCTx) Descriptor() ([]byte, []int)deprecated
- func (x *PCTx) GetBlockHeight() uint64
- func (x *PCTx) GetErrorMsg() string
- func (x *PCTx) GetGasUsed() uint64
- func (x *PCTx) GetSender() string
- func (x *PCTx) GetStatus() string
- func (x *PCTx) GetTxHash() string
- func (*PCTx) ProtoMessage()
- func (x *PCTx) ProtoReflect() protoreflect.Message
- func (x *PCTx) Reset()
- func (x *PCTx) String() string
- type Params
- type QueryAllGasPricesRequest
- func (*QueryAllGasPricesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllGasPricesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllGasPricesRequest) ProtoMessage()
- func (x *QueryAllGasPricesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllGasPricesRequest) Reset()
- func (x *QueryAllGasPricesRequest) String() string
- type QueryAllGasPricesResponse
- func (*QueryAllGasPricesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice
- func (x *QueryAllGasPricesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllGasPricesResponse) ProtoMessage()
- func (x *QueryAllGasPricesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllGasPricesResponse) Reset()
- func (x *QueryAllGasPricesResponse) String() string
- type QueryAllPendingInboundsRequest
- func (*QueryAllPendingInboundsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingInboundsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllPendingInboundsRequest) ProtoMessage()
- func (x *QueryAllPendingInboundsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingInboundsRequest) Reset()
- func (x *QueryAllPendingInboundsRequest) String() string
- type QueryAllPendingInboundsResponse
- func (*QueryAllPendingInboundsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllPendingInboundsResponse) GetInboundIds() []string
- func (x *QueryAllPendingInboundsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllPendingInboundsResponse) ProtoMessage()
- func (x *QueryAllPendingInboundsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllPendingInboundsResponse) Reset()
- func (x *QueryAllPendingInboundsResponse) String() string
- type QueryAllUniversalTxRequest
- func (*QueryAllUniversalTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUniversalTxRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllUniversalTxRequest) ProtoMessage()
- func (x *QueryAllUniversalTxRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllUniversalTxRequest) Reset()
- func (x *QueryAllUniversalTxRequest) String() string
- type QueryAllUniversalTxResponse
- func (*QueryAllUniversalTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllUniversalTxResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx
- func (*QueryAllUniversalTxResponse) ProtoMessage()
- func (x *QueryAllUniversalTxResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllUniversalTxResponse) Reset()
- func (x *QueryAllUniversalTxResponse) String() string
- type QueryClient
- type QueryGasPriceRequest
- func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGasPriceRequest) GetChainId() string
- func (*QueryGasPriceRequest) ProtoMessage()
- func (x *QueryGasPriceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGasPriceRequest) Reset()
- func (x *QueryGasPriceRequest) String() string
- type QueryGasPriceResponse
- func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGasPriceResponse) GetGasPrice() *GasPrice
- func (*QueryGasPriceResponse) ProtoMessage()
- func (x *QueryGasPriceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGasPriceResponse) Reset()
- func (x *QueryGasPriceResponse) String() string
- type QueryGetUniversalTxRequest
- func (*QueryGetUniversalTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUniversalTxRequest) GetId() string
- func (*QueryGetUniversalTxRequest) ProtoMessage()
- func (x *QueryGetUniversalTxRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetUniversalTxRequest) Reset()
- func (x *QueryGetUniversalTxRequest) String() string
- type QueryGetUniversalTxResponse
- func (*QueryGetUniversalTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTx
- func (*QueryGetUniversalTxResponse) ProtoMessage()
- func (x *QueryGetUniversalTxResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetUniversalTxResponse) Reset()
- func (x *QueryGetUniversalTxResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type Status
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
- func (UnimplementedMsgServer) MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) VoteGasPrice(context.Context, *MsgVoteGasPrice) (*MsgVoteGasPriceResponse, error)
- func (UnimplementedMsgServer) VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
- func (UnimplementedQueryServer) AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
- func (UnimplementedQueryServer) AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
- func (UnimplementedQueryServer) GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
- func (UnimplementedQueryServer) GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UniversalAccountId
- func (*UniversalAccountId) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalAccountId) GetChainId() string
- func (x *UniversalAccountId) GetChainNamespace() string
- func (x *UniversalAccountId) GetOwner() string
- func (*UniversalAccountId) ProtoMessage()
- func (x *UniversalAccountId) ProtoReflect() protoreflect.Message
- func (x *UniversalAccountId) Reset()
- func (x *UniversalAccountId) String() string
- type UniversalPayload
- func (*UniversalPayload) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalPayload) GetData() string
- func (x *UniversalPayload) GetDeadline() string
- func (x *UniversalPayload) GetGasLimit() string
- func (x *UniversalPayload) GetMaxFeePerGas() string
- func (x *UniversalPayload) GetMaxPriorityFeePerGas() string
- func (x *UniversalPayload) GetNonce() string
- func (x *UniversalPayload) GetTo() string
- func (x *UniversalPayload) GetVType() VerificationType
- func (x *UniversalPayload) GetValue() string
- func (*UniversalPayload) ProtoMessage()
- func (x *UniversalPayload) ProtoReflect() protoreflect.Message
- func (x *UniversalPayload) Reset()
- func (x *UniversalPayload) String() string
- type UniversalTx
- func (*UniversalTx) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalTx) GetInboundTx() *Inbound
- func (x *UniversalTx) GetOutboundTx() *OutboundTx
- func (x *UniversalTx) GetPcTx() []*PCTx
- func (x *UniversalTx) GetUniversalStatus() UniversalTxStatus
- func (*UniversalTx) ProtoMessage()
- func (x *UniversalTx) ProtoReflect() protoreflect.Message
- func (x *UniversalTx) Reset()
- func (x *UniversalTx) String() string
- type UniversalTxStatus
- func (UniversalTxStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UniversalTxStatus) Enum() *UniversalTxStatus
- func (UniversalTxStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x UniversalTxStatus) Number() protoreflect.EnumNumber
- func (x UniversalTxStatus) String() string
- func (UniversalTxStatus) Type() protoreflect.EnumType
- type UnsafeMsgServer
- type UnsafeQueryServer
- type VerificationType
- func (VerificationType) Descriptor() protoreflect.EnumDescriptor
- func (x VerificationType) Enum() *VerificationType
- func (VerificationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VerificationType) Number() protoreflect.EnumNumber
- func (x VerificationType) String() string
- func (VerificationType) Type() protoreflect.EnumType
Constants ¶
const ( Query_Params_FullMethodName = "/uexecutor.v1.Query/Params" Query_AllPendingInbounds_FullMethodName = "/uexecutor.v1.Query/AllPendingInbounds" Query_GetUniversalTx_FullMethodName = "/uexecutor.v1.Query/GetUniversalTx" Query_AllUniversalTx_FullMethodName = "/uexecutor.v1.Query/AllUniversalTx" Query_GasPrice_FullMethodName = "/uexecutor.v1.Query/GasPrice" Query_AllGasPrices_FullMethodName = "/uexecutor.v1.Query/AllGasPrices" )
const ( Msg_UpdateParams_FullMethodName = "/uexecutor.v1.Msg/UpdateParams" Msg_ExecutePayload_FullMethodName = "/uexecutor.v1.Msg/ExecutePayload" Msg_MigrateUEA_FullMethodName = "/uexecutor.v1.Msg/MigrateUEA" Msg_VoteInbound_FullMethodName = "/uexecutor.v1.Msg/VoteInbound" Msg_VoteGasPrice_FullMethodName = "/uexecutor.v1.Msg/VoteGasPrice" )
Variables ¶
var ( VerificationType_name = map[int32]string{ 0: "signedVerification", 1: "universalTxVerification", } VerificationType_value = map[string]int32{ "signedVerification": 0, "universalTxVerification": 1, } )
Enum value maps for VerificationType.
var ( UniversalTxStatus_name = map[int32]string{ 0: "UNIVERSAL_TX_STATUS_UNSPECIFIED", 1: "INBOUND_SUCCESS", 2: "PENDING_INBOUND_EXECUTION", 3: "PC_EXECUTED_SUCCESS", 4: "PC_EXECUTED_FAILED", 5: "PC_PENDING_REVERT", 6: "OUTBOUND_PENDING", 7: "OUTBOUND_SUCCESS", 8: "OUTBOUND_FAILED", 9: "CANCELED", } UniversalTxStatus_value = map[string]int32{ "UNIVERSAL_TX_STATUS_UNSPECIFIED": 0, "INBOUND_SUCCESS": 1, "PENDING_INBOUND_EXECUTION": 2, "PC_EXECUTED_SUCCESS": 3, "PC_EXECUTED_FAILED": 4, "PC_PENDING_REVERT": 5, "OUTBOUND_PENDING": 6, "OUTBOUND_SUCCESS": 7, "OUTBOUND_FAILED": 8, "CANCELED": 9, } )
Enum value maps for UniversalTxStatus.
var ( Status_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PENDING", 2: "FINALIZED", } Status_value = map[string]int32{ "UNSPECIFIED": 0, "PENDING": 1, "FINALIZED": 2, } )
Enum value maps for Status.
var ( InboundTxType_name = map[int32]string{ 0: "UNSPECIFIED_TX", 1: "GAS", 2: "FUNDS", 3: "FUNDS_AND_PAYLOAD", 4: "GAS_AND_PAYLOAD", } InboundTxType_value = map[string]int32{ "UNSPECIFIED_TX": 0, "GAS": 1, "FUNDS": 2, "FUNDS_AND_PAYLOAD": 3, "GAS_AND_PAYLOAD": 4, } )
Enum value maps for InboundTxType.
var File_uexecutor_v1_gas_price_proto protoreflect.FileDescriptor
var File_uexecutor_v1_genesis_proto protoreflect.FileDescriptor
var File_uexecutor_v1_query_proto protoreflect.FileDescriptor
var File_uexecutor_v1_tx_proto protoreflect.FileDescriptor
var File_uexecutor_v1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "uexecutor.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "ExecutePayload", Handler: _Msg_ExecutePayload_Handler, }, { MethodName: "MigrateUEA", Handler: _Msg_MigrateUEA_Handler, }, { MethodName: "VoteInbound", Handler: _Msg_VoteInbound_Handler, }, { MethodName: "VoteGasPrice", Handler: _Msg_VoteGasPrice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "uexecutor/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "uexecutor.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "AllPendingInbounds", Handler: _Query_AllPendingInbounds_Handler, }, { MethodName: "GetUniversalTx", Handler: _Query_GetUniversalTx_Handler, }, { MethodName: "AllUniversalTx", Handler: _Query_AllUniversalTx_Handler, }, { MethodName: "GasPrice", Handler: _Query_GasPrice_Handler, }, { MethodName: "AllGasPrices", Handler: _Query_AllGasPrices_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "uexecutor/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GasPrice ¶
type GasPrice struct {
ObservedChainId string `protobuf:"bytes,1,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"` // chain ID of observed external chain (e.g. "1" for ethereum mainnet)
Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` // Validators who submitted votes
BlockNums []uint64 `protobuf:"varint,3,rep,packed,name=block_nums,json=blockNums,proto3" json:"block_nums,omitempty"` // Block numbers corresponding to each price
Prices []uint64 `protobuf:"varint,4,rep,packed,name=prices,proto3" json:"prices,omitempty"` // Submitted gas prices
MedianIndex uint64 `protobuf:"varint,5,opt,name=median_index,json=medianIndex,proto3" json:"median_index,omitempty"` // Index of the median price in 'prices'
// contains filtered or unexported fields
}
GasPrice stores aggregated gas price data for a given chain
func (*GasPrice) Descriptor
deprecated
func (*GasPrice) GetBlockNums ¶
func (*GasPrice) GetMedianIndex ¶
func (*GasPrice) GetObservedChainId ¶
func (*GasPrice) GetSigners ¶
func (*GasPrice) ProtoMessage ¶
func (*GasPrice) ProtoMessage()
func (*GasPrice) ProtoReflect ¶
func (x *GasPrice) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct {
// Params defines all the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
GenesisState defines the module genesis state
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type Inbound ¶
type Inbound struct {
SourceChain string `protobuf:"bytes,1,opt,name=source_chain,json=sourceChain,proto3" json:"source_chain,omitempty"` // origin chain caip2 id (e.g. eip155:11155111)
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // unique tx hash / identifier from source chain
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // sender address on source chain
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient address on destination chain
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // synthetic token amount bridged in
AssetAddr string `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // address of erc20 token address on source chain
LogIndex string `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // log index that originated the cross chain tx
TxType InboundTxType `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.InboundTxType" json:"tx_type,omitempty"` // inbound tx type
UniversalPayload *UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"` // payload is the universal payload to be executed
VerificationData string `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"` // verification_data is the bytes passed as verifier data for the given payload.
// contains filtered or unexported fields
}
func (*Inbound) Descriptor
deprecated
func (*Inbound) GetAssetAddr ¶
func (*Inbound) GetLogIndex ¶
func (*Inbound) GetRecipient ¶
func (*Inbound) GetSourceChain ¶
func (*Inbound) GetTxType ¶
func (x *Inbound) GetTxType() InboundTxType
func (*Inbound) GetUniversalPayload ¶
func (x *Inbound) GetUniversalPayload() *UniversalPayload
func (*Inbound) GetVerificationData ¶
func (*Inbound) ProtoMessage ¶
func (*Inbound) ProtoMessage()
func (*Inbound) ProtoReflect ¶
func (x *Inbound) ProtoReflect() protoreflect.Message
type InboundStatus ¶
type InboundStatus struct {
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=uexecutor.v1.Status" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*InboundStatus) Descriptor
deprecated
func (*InboundStatus) Descriptor() ([]byte, []int)
Deprecated: Use InboundStatus.ProtoReflect.Descriptor instead.
func (*InboundStatus) GetStatus ¶
func (x *InboundStatus) GetStatus() Status
func (*InboundStatus) ProtoMessage ¶
func (*InboundStatus) ProtoMessage()
func (*InboundStatus) ProtoReflect ¶
func (x *InboundStatus) ProtoReflect() protoreflect.Message
func (*InboundStatus) Reset ¶
func (x *InboundStatus) Reset()
func (*InboundStatus) String ¶
func (x *InboundStatus) String() string
type InboundTxType ¶
type InboundTxType int32
const ( InboundTxType_UNSPECIFIED_TX InboundTxType = 0 InboundTxType_GAS InboundTxType = 1 // fee abstraction InboundTxType_FUNDS InboundTxType = 2 // synthetic InboundTxType_FUNDS_AND_PAYLOAD InboundTxType = 3 // synthetic + payload exec InboundTxType_GAS_AND_PAYLOAD InboundTxType = 4 // fee abstraction + payload exec )
func (InboundTxType) Descriptor ¶
func (InboundTxType) Descriptor() protoreflect.EnumDescriptor
func (InboundTxType) Enum ¶
func (x InboundTxType) Enum() *InboundTxType
func (InboundTxType) EnumDescriptor
deprecated
func (InboundTxType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboundTxType.Descriptor instead.
func (InboundTxType) Number ¶
func (x InboundTxType) Number() protoreflect.EnumNumber
func (InboundTxType) String ¶
func (x InboundTxType) String() string
func (InboundTxType) Type ¶
func (InboundTxType) Type() protoreflect.EnumType
type MigrationPayload ¶
type MigrationPayload struct {
Migration string `protobuf:"bytes,1,opt,name=migration,proto3" json:"migration,omitempty"` // Migration Address
Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // unit256 as string
Deadline string `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"` // unit256 as string
// contains filtered or unexported fields
}
MigrationPayload mirrors the Solidity struct
func (*MigrationPayload) Descriptor
deprecated
func (*MigrationPayload) Descriptor() ([]byte, []int)
Deprecated: Use MigrationPayload.ProtoReflect.Descriptor instead.
func (*MigrationPayload) GetDeadline ¶
func (x *MigrationPayload) GetDeadline() string
func (*MigrationPayload) GetMigration ¶
func (x *MigrationPayload) GetMigration() string
func (*MigrationPayload) GetNonce ¶
func (x *MigrationPayload) GetNonce() string
func (*MigrationPayload) ProtoMessage ¶
func (*MigrationPayload) ProtoMessage()
func (*MigrationPayload) ProtoReflect ¶
func (x *MigrationPayload) ProtoReflect() protoreflect.Message
func (*MigrationPayload) Reset ¶
func (x *MigrationPayload) Reset()
func (*MigrationPayload) String ¶
func (x *MigrationPayload) String() string
type MsgClient ¶
type MsgClient interface {
// UpdateParams defines a governance operation for updating the parameters.
//
// Since: cosmos-sdk 0.47
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// ExecutePayload defines a message for executing a universal payload
ExecutePayload(ctx context.Context, in *MsgExecutePayload, opts ...grpc.CallOption) (*MsgExecutePayloadResponse, error)
// MigrateUEA defines a message for migrating UEA
MigrateUEA(ctx context.Context, in *MsgMigrateUEA, opts ...grpc.CallOption) (*MsgMigrateUEAResponse, error)
// VoteInbound defines a message for voting on synthetic assets bridging from external chain to PC
VoteInbound(ctx context.Context, in *MsgVoteInbound, opts ...grpc.CallOption) (*MsgVoteInboundResponse, error)
// VoteGasPrice defines a message for universal validators to vote on the gas price
VoteGasPrice(ctx context.Context, in *MsgVoteGasPrice, opts ...grpc.CallOption) (*MsgVoteGasPriceResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgExecutePayload ¶
type MsgExecutePayload struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// universal_account_id is the identifier of the owner account
UniversalAccountId *UniversalAccountId `protobuf:"bytes,2,opt,name=universal_account_id,json=universalAccountId,proto3" json:"universal_account_id,omitempty"`
// payload is the universal payload to be executed
UniversalPayload *UniversalPayload `protobuf:"bytes,3,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
// verification_data is the bytes passed as verifier data for the given payload.
VerificationData string `protobuf:"bytes,4,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
// contains filtered or unexported fields
}
MsgExecutePayload defines a message for executing a universal payload
func (*MsgExecutePayload) Descriptor
deprecated
func (*MsgExecutePayload) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecutePayload.ProtoReflect.Descriptor instead.
func (*MsgExecutePayload) GetSigner ¶
func (x *MsgExecutePayload) GetSigner() string
func (*MsgExecutePayload) GetUniversalAccountId ¶
func (x *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId
func (*MsgExecutePayload) GetUniversalPayload ¶
func (x *MsgExecutePayload) GetUniversalPayload() *UniversalPayload
func (*MsgExecutePayload) GetVerificationData ¶
func (x *MsgExecutePayload) GetVerificationData() string
func (*MsgExecutePayload) ProtoMessage ¶
func (*MsgExecutePayload) ProtoMessage()
func (*MsgExecutePayload) ProtoReflect ¶
func (x *MsgExecutePayload) ProtoReflect() protoreflect.Message
func (*MsgExecutePayload) Reset ¶
func (x *MsgExecutePayload) Reset()
func (*MsgExecutePayload) String ¶
func (x *MsgExecutePayload) String() string
type MsgExecutePayloadResponse ¶
type MsgExecutePayloadResponse struct {
// contains filtered or unexported fields
}
MsgExecutePayloadResponse defines the response for MsgExecutePayload.
func (*MsgExecutePayloadResponse) Descriptor
deprecated
func (*MsgExecutePayloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecutePayloadResponse.ProtoReflect.Descriptor instead.
func (*MsgExecutePayloadResponse) ProtoMessage ¶
func (*MsgExecutePayloadResponse) ProtoMessage()
func (*MsgExecutePayloadResponse) ProtoReflect ¶
func (x *MsgExecutePayloadResponse) ProtoReflect() protoreflect.Message
func (*MsgExecutePayloadResponse) Reset ¶
func (x *MsgExecutePayloadResponse) Reset()
func (*MsgExecutePayloadResponse) String ¶
func (x *MsgExecutePayloadResponse) String() string
type MsgMigrateUEA ¶
type MsgMigrateUEA struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// universal_account_id is the identifier of the owner account
UniversalAccountId *UniversalAccountId `protobuf:"bytes,2,opt,name=universal_account_id,json=universalAccountId,proto3" json:"universal_account_id,omitempty"`
// payload is the migration payload to be executed
MigrationPayload *MigrationPayload `protobuf:"bytes,3,opt,name=migration_payload,json=migrationPayload,proto3" json:"migration_payload,omitempty"`
// signature is the bytes passed as verifier data for the given payload.
Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
MsgMigrateUEA defines a message for migarting Universal Executor Account (UEA)
func (*MsgMigrateUEA) Descriptor
deprecated
func (*MsgMigrateUEA) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateUEA.ProtoReflect.Descriptor instead.
func (*MsgMigrateUEA) GetMigrationPayload ¶
func (x *MsgMigrateUEA) GetMigrationPayload() *MigrationPayload
func (*MsgMigrateUEA) GetSignature ¶
func (x *MsgMigrateUEA) GetSignature() string
func (*MsgMigrateUEA) GetSigner ¶
func (x *MsgMigrateUEA) GetSigner() string
func (*MsgMigrateUEA) GetUniversalAccountId ¶
func (x *MsgMigrateUEA) GetUniversalAccountId() *UniversalAccountId
func (*MsgMigrateUEA) ProtoMessage ¶
func (*MsgMigrateUEA) ProtoMessage()
func (*MsgMigrateUEA) ProtoReflect ¶
func (x *MsgMigrateUEA) ProtoReflect() protoreflect.Message
func (*MsgMigrateUEA) Reset ¶
func (x *MsgMigrateUEA) Reset()
func (*MsgMigrateUEA) String ¶
func (x *MsgMigrateUEA) String() string
type MsgMigrateUEAResponse ¶
type MsgMigrateUEAResponse struct {
// contains filtered or unexported fields
}
MsgMigrateUEAResponse defines the response for MsgMigrateUEA.
func (*MsgMigrateUEAResponse) Descriptor
deprecated
func (*MsgMigrateUEAResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMigrateUEAResponse.ProtoReflect.Descriptor instead.
func (*MsgMigrateUEAResponse) ProtoMessage ¶
func (*MsgMigrateUEAResponse) ProtoMessage()
func (*MsgMigrateUEAResponse) ProtoReflect ¶
func (x *MsgMigrateUEAResponse) ProtoReflect() protoreflect.Message
func (*MsgMigrateUEAResponse) Reset ¶
func (x *MsgMigrateUEAResponse) Reset()
func (*MsgMigrateUEAResponse) String ¶
func (x *MsgMigrateUEAResponse) String() string
type MsgServer ¶
type MsgServer interface {
// UpdateParams defines a governance operation for updating the parameters.
//
// Since: cosmos-sdk 0.47
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// ExecutePayload defines a message for executing a universal payload
ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
// MigrateUEA defines a message for migrating UEA
MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
// VoteInbound defines a message for voting on synthetic assets bridging from external chain to PC
VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
// VoteGasPrice defines a message for universal validators to vote on the gas price
VoteGasPrice(context.Context, *MsgVoteGasPrice) (*MsgVoteGasPriceResponse, error)
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct {
// authority is the address of the governance account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the parameters to update.
//
// NOTE: All parameters must be supplied.
Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type MsgVoteGasPrice ¶
type MsgVoteGasPrice struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // Universal Validator address submitting the vote
ObservedChainId string `protobuf:"bytes,2,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"` // chain ID of observed external chain (e.g. "1" for ethereum mainnet)
Price uint64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` // Observed gas price in wei
BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // Block number from which price was observed
// contains filtered or unexported fields
}
MsgVoteGasPrice is broadcasted by Universal Validators to submit their observed gas prices
func (*MsgVoteGasPrice) Descriptor
deprecated
func (*MsgVoteGasPrice) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteGasPrice.ProtoReflect.Descriptor instead.
func (*MsgVoteGasPrice) GetBlockNumber ¶
func (x *MsgVoteGasPrice) GetBlockNumber() uint64
func (*MsgVoteGasPrice) GetObservedChainId ¶
func (x *MsgVoteGasPrice) GetObservedChainId() string
func (*MsgVoteGasPrice) GetPrice ¶
func (x *MsgVoteGasPrice) GetPrice() uint64
func (*MsgVoteGasPrice) GetSigner ¶
func (x *MsgVoteGasPrice) GetSigner() string
func (*MsgVoteGasPrice) ProtoMessage ¶
func (*MsgVoteGasPrice) ProtoMessage()
func (*MsgVoteGasPrice) ProtoReflect ¶
func (x *MsgVoteGasPrice) ProtoReflect() protoreflect.Message
func (*MsgVoteGasPrice) Reset ¶
func (x *MsgVoteGasPrice) Reset()
func (*MsgVoteGasPrice) String ¶
func (x *MsgVoteGasPrice) String() string
type MsgVoteGasPriceResponse ¶
type MsgVoteGasPriceResponse struct {
// contains filtered or unexported fields
}
MsgVoteGasPriceResponse defines the response for MsgVoteGasPrice
func (*MsgVoteGasPriceResponse) Descriptor
deprecated
func (*MsgVoteGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteGasPriceResponse.ProtoReflect.Descriptor instead.
func (*MsgVoteGasPriceResponse) ProtoMessage ¶
func (*MsgVoteGasPriceResponse) ProtoMessage()
func (*MsgVoteGasPriceResponse) ProtoReflect ¶
func (x *MsgVoteGasPriceResponse) ProtoReflect() protoreflect.Message
func (*MsgVoteGasPriceResponse) Reset ¶
func (x *MsgVoteGasPriceResponse) Reset()
func (*MsgVoteGasPriceResponse) String ¶
func (x *MsgVoteGasPriceResponse) String() string
type MsgVoteInbound ¶
type MsgVoteInbound struct {
// signer is the Cosmos address initiating the tx (used for tx signing)
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
Inbound *Inbound `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
// contains filtered or unexported fields
}
MsgVoteInbound allows a universal validator to vote on an inbound transfer.
func (*MsgVoteInbound) Descriptor
deprecated
func (*MsgVoteInbound) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteInbound.ProtoReflect.Descriptor instead.
func (*MsgVoteInbound) GetInbound ¶
func (x *MsgVoteInbound) GetInbound() *Inbound
func (*MsgVoteInbound) GetSigner ¶
func (x *MsgVoteInbound) GetSigner() string
func (*MsgVoteInbound) ProtoMessage ¶
func (*MsgVoteInbound) ProtoMessage()
func (*MsgVoteInbound) ProtoReflect ¶
func (x *MsgVoteInbound) ProtoReflect() protoreflect.Message
func (*MsgVoteInbound) Reset ¶
func (x *MsgVoteInbound) Reset()
func (*MsgVoteInbound) String ¶
func (x *MsgVoteInbound) String() string
type MsgVoteInboundResponse ¶
type MsgVoteInboundResponse struct {
// contains filtered or unexported fields
}
MsgVoteInboundResponse defines the response for MsgExecutePayload.
func (*MsgVoteInboundResponse) Descriptor
deprecated
func (*MsgVoteInboundResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgVoteInboundResponse.ProtoReflect.Descriptor instead.
func (*MsgVoteInboundResponse) ProtoMessage ¶
func (*MsgVoteInboundResponse) ProtoMessage()
func (*MsgVoteInboundResponse) ProtoReflect ¶
func (x *MsgVoteInboundResponse) ProtoReflect() protoreflect.Message
func (*MsgVoteInboundResponse) Reset ¶
func (x *MsgVoteInboundResponse) Reset()
func (*MsgVoteInboundResponse) String ¶
func (x *MsgVoteInboundResponse) String() string
type OutboundTx ¶
type OutboundTx struct {
DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"` // chain where this outbound is sent
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // outbound tx hash on destination chain
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` // recipient on destination chain
Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // token amount or payload
AssetAddr string `protobuf:"bytes,5,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"` // token contract if applicable
// contains filtered or unexported fields
}
func (*OutboundTx) Descriptor
deprecated
func (*OutboundTx) Descriptor() ([]byte, []int)
Deprecated: Use OutboundTx.ProtoReflect.Descriptor instead.
func (*OutboundTx) GetAmount ¶
func (x *OutboundTx) GetAmount() string
func (*OutboundTx) GetAssetAddr ¶
func (x *OutboundTx) GetAssetAddr() string
func (*OutboundTx) GetDestinationChain ¶
func (x *OutboundTx) GetDestinationChain() string
func (*OutboundTx) GetRecipient ¶
func (x *OutboundTx) GetRecipient() string
func (*OutboundTx) GetTxHash ¶
func (x *OutboundTx) GetTxHash() string
func (*OutboundTx) ProtoMessage ¶
func (*OutboundTx) ProtoMessage()
func (*OutboundTx) ProtoReflect ¶
func (x *OutboundTx) ProtoReflect() protoreflect.Message
func (*OutboundTx) Reset ¶
func (x *OutboundTx) Reset()
func (*OutboundTx) String ¶
func (x *OutboundTx) String() string
type PCTx ¶
type PCTx struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // hash of the execution on Push Chain
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // who executed it
GasUsed uint64 `protobuf:"varint,3,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // gas consumed by this tx
BlockHeight uint64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // block number on Push Chain
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // "SUCCESS" or "FAILED"
ErrorMsg string `protobuf:"bytes,7,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` // optional error info if failed
// contains filtered or unexported fields
}
func (*PCTx) Descriptor
deprecated
func (*PCTx) GetBlockHeight ¶
func (*PCTx) GetErrorMsg ¶
func (*PCTx) GetGasUsed ¶
func (*PCTx) ProtoMessage ¶
func (*PCTx) ProtoMessage()
func (*PCTx) ProtoReflect ¶
func (x *PCTx) ProtoReflect() protoreflect.Message
type Params ¶
type Params struct {
SomeValue bool `protobuf:"varint,2,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
// contains filtered or unexported fields
}
Params defines the set of module parameters.
func (*Params) Descriptor
deprecated
func (*Params) GetSomeValue ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllGasPricesRequest ¶
type QueryAllGasPricesRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
All gas prices
func (*QueryAllGasPricesRequest) Descriptor
deprecated
func (*QueryAllGasPricesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllGasPricesRequest.ProtoReflect.Descriptor instead.
func (*QueryAllGasPricesRequest) GetPagination ¶
func (x *QueryAllGasPricesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllGasPricesRequest) ProtoMessage ¶
func (*QueryAllGasPricesRequest) ProtoMessage()
func (*QueryAllGasPricesRequest) ProtoReflect ¶
func (x *QueryAllGasPricesRequest) ProtoReflect() protoreflect.Message
func (*QueryAllGasPricesRequest) Reset ¶
func (x *QueryAllGasPricesRequest) Reset()
func (*QueryAllGasPricesRequest) String ¶
func (x *QueryAllGasPricesRequest) String() string
type QueryAllGasPricesResponse ¶
type QueryAllGasPricesResponse struct {
GasPrices []*GasPrice `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllGasPricesResponse) Descriptor
deprecated
func (*QueryAllGasPricesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllGasPricesResponse.ProtoReflect.Descriptor instead.
func (*QueryAllGasPricesResponse) GetGasPrices ¶
func (x *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice
func (*QueryAllGasPricesResponse) GetPagination ¶
func (x *QueryAllGasPricesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllGasPricesResponse) ProtoMessage ¶
func (*QueryAllGasPricesResponse) ProtoMessage()
func (*QueryAllGasPricesResponse) ProtoReflect ¶
func (x *QueryAllGasPricesResponse) ProtoReflect() protoreflect.Message
func (*QueryAllGasPricesResponse) Reset ¶
func (x *QueryAllGasPricesResponse) Reset()
func (*QueryAllGasPricesResponse) String ¶
func (x *QueryAllGasPricesResponse) String() string
type QueryAllPendingInboundsRequest ¶
type QueryAllPendingInboundsRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
Pending Inbounds
func (*QueryAllPendingInboundsRequest) Descriptor
deprecated
func (*QueryAllPendingInboundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingInboundsRequest.ProtoReflect.Descriptor instead.
func (*QueryAllPendingInboundsRequest) GetPagination ¶
func (x *QueryAllPendingInboundsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllPendingInboundsRequest) ProtoMessage ¶
func (*QueryAllPendingInboundsRequest) ProtoMessage()
func (*QueryAllPendingInboundsRequest) ProtoReflect ¶
func (x *QueryAllPendingInboundsRequest) ProtoReflect() protoreflect.Message
func (*QueryAllPendingInboundsRequest) Reset ¶
func (x *QueryAllPendingInboundsRequest) Reset()
func (*QueryAllPendingInboundsRequest) String ¶
func (x *QueryAllPendingInboundsRequest) String() string
type QueryAllPendingInboundsResponse ¶
type QueryAllPendingInboundsResponse struct {
InboundIds []string `protobuf:"bytes,1,rep,name=inbound_ids,json=inboundIds,proto3" json:"inbound_ids,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllPendingInboundsResponse) Descriptor
deprecated
func (*QueryAllPendingInboundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllPendingInboundsResponse.ProtoReflect.Descriptor instead.
func (*QueryAllPendingInboundsResponse) GetInboundIds ¶
func (x *QueryAllPendingInboundsResponse) GetInboundIds() []string
func (*QueryAllPendingInboundsResponse) GetPagination ¶
func (x *QueryAllPendingInboundsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllPendingInboundsResponse) ProtoMessage ¶
func (*QueryAllPendingInboundsResponse) ProtoMessage()
func (*QueryAllPendingInboundsResponse) ProtoReflect ¶
func (x *QueryAllPendingInboundsResponse) ProtoReflect() protoreflect.Message
func (*QueryAllPendingInboundsResponse) Reset ¶
func (x *QueryAllPendingInboundsResponse) Reset()
func (*QueryAllPendingInboundsResponse) String ¶
func (x *QueryAllPendingInboundsResponse) String() string
type QueryAllUniversalTxRequest ¶
type QueryAllUniversalTxRequest struct {
Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllUniversalTxRequest) Descriptor
deprecated
func (*QueryAllUniversalTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUniversalTxRequest.ProtoReflect.Descriptor instead.
func (*QueryAllUniversalTxRequest) GetPagination ¶
func (x *QueryAllUniversalTxRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllUniversalTxRequest) ProtoMessage ¶
func (*QueryAllUniversalTxRequest) ProtoMessage()
func (*QueryAllUniversalTxRequest) ProtoReflect ¶
func (x *QueryAllUniversalTxRequest) ProtoReflect() protoreflect.Message
func (*QueryAllUniversalTxRequest) Reset ¶
func (x *QueryAllUniversalTxRequest) Reset()
func (*QueryAllUniversalTxRequest) String ¶
func (x *QueryAllUniversalTxRequest) String() string
type QueryAllUniversalTxResponse ¶
type QueryAllUniversalTxResponse struct {
UniversalTxs []*UniversalTx `protobuf:"bytes,1,rep,name=universal_txs,json=universalTxs,proto3" json:"universal_txs,omitempty"`
Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*QueryAllUniversalTxResponse) Descriptor
deprecated
func (*QueryAllUniversalTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllUniversalTxResponse.ProtoReflect.Descriptor instead.
func (*QueryAllUniversalTxResponse) GetPagination ¶
func (x *QueryAllUniversalTxResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllUniversalTxResponse) GetUniversalTxs ¶
func (x *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx
func (*QueryAllUniversalTxResponse) ProtoMessage ¶
func (*QueryAllUniversalTxResponse) ProtoMessage()
func (*QueryAllUniversalTxResponse) ProtoReflect ¶
func (x *QueryAllUniversalTxResponse) ProtoReflect() protoreflect.Message
func (*QueryAllUniversalTxResponse) Reset ¶
func (x *QueryAllUniversalTxResponse) Reset()
func (*QueryAllUniversalTxResponse) String ¶
func (x *QueryAllUniversalTxResponse) String() string
type 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)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGasPriceRequest ¶
type QueryGasPriceRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
Single gas price
func (*QueryGasPriceRequest) Descriptor
deprecated
func (*QueryGasPriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGasPriceRequest.ProtoReflect.Descriptor instead.
func (*QueryGasPriceRequest) GetChainId ¶
func (x *QueryGasPriceRequest) GetChainId() string
func (*QueryGasPriceRequest) ProtoMessage ¶
func (*QueryGasPriceRequest) ProtoMessage()
func (*QueryGasPriceRequest) ProtoReflect ¶
func (x *QueryGasPriceRequest) ProtoReflect() protoreflect.Message
func (*QueryGasPriceRequest) Reset ¶
func (x *QueryGasPriceRequest) Reset()
func (*QueryGasPriceRequest) String ¶
func (x *QueryGasPriceRequest) String() string
type QueryGasPriceResponse ¶
type QueryGasPriceResponse struct {
GasPrice *GasPrice `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGasPriceResponse) Descriptor
deprecated
func (*QueryGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGasPriceResponse.ProtoReflect.Descriptor instead.
func (*QueryGasPriceResponse) GetGasPrice ¶
func (x *QueryGasPriceResponse) GetGasPrice() *GasPrice
func (*QueryGasPriceResponse) ProtoMessage ¶
func (*QueryGasPriceResponse) ProtoMessage()
func (*QueryGasPriceResponse) ProtoReflect ¶
func (x *QueryGasPriceResponse) ProtoReflect() protoreflect.Message
func (*QueryGasPriceResponse) Reset ¶
func (x *QueryGasPriceResponse) Reset()
func (*QueryGasPriceResponse) String ¶
func (x *QueryGasPriceResponse) String() string
type QueryGetUniversalTxRequest ¶
type QueryGetUniversalTxRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Get UniversalTx
func (*QueryGetUniversalTxRequest) Descriptor
deprecated
func (*QueryGetUniversalTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUniversalTxRequest.ProtoReflect.Descriptor instead.
func (*QueryGetUniversalTxRequest) GetId ¶
func (x *QueryGetUniversalTxRequest) GetId() string
func (*QueryGetUniversalTxRequest) ProtoMessage ¶
func (*QueryGetUniversalTxRequest) ProtoMessage()
func (*QueryGetUniversalTxRequest) ProtoReflect ¶
func (x *QueryGetUniversalTxRequest) ProtoReflect() protoreflect.Message
func (*QueryGetUniversalTxRequest) Reset ¶
func (x *QueryGetUniversalTxRequest) Reset()
func (*QueryGetUniversalTxRequest) String ¶
func (x *QueryGetUniversalTxRequest) String() string
type QueryGetUniversalTxResponse ¶
type QueryGetUniversalTxResponse struct {
UniversalTx *UniversalTx `protobuf:"bytes,1,opt,name=universal_tx,json=universalTx,proto3" json:"universal_tx,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGetUniversalTxResponse) Descriptor
deprecated
func (*QueryGetUniversalTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetUniversalTxResponse.ProtoReflect.Descriptor instead.
func (*QueryGetUniversalTxResponse) GetUniversalTx ¶
func (x *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTx
func (*QueryGetUniversalTxResponse) ProtoMessage ¶
func (*QueryGetUniversalTxResponse) ProtoMessage()
func (*QueryGetUniversalTxResponse) ProtoReflect ¶
func (x *QueryGetUniversalTxResponse) ProtoReflect() protoreflect.Message
func (*QueryGetUniversalTxResponse) Reset ¶
func (x *QueryGetUniversalTxResponse) Reset()
func (*QueryGetUniversalTxResponse) String ¶
func (x *QueryGetUniversalTxResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
Existing types
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct {
// params defines the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface {
// Params queries all parameters of the module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// Queries all pending inbound IDs.
AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
// Queries a single UniversalTx by ID.
GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
// Queries all UniversalTxs.
AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
// 🔹 Queries gas price for a specific chain
GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
// 🔹 Queries all gas prices across chains
AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
// contains filtered or unexported methods
}
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) ExecutePayload ¶
func (UnimplementedMsgServer) ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
func (UnimplementedMsgServer) MigrateUEA ¶
func (UnimplementedMsgServer) MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) VoteGasPrice ¶
func (UnimplementedMsgServer) VoteGasPrice(context.Context, *MsgVoteGasPrice) (*MsgVoteGasPriceResponse, error)
func (UnimplementedMsgServer) VoteInbound ¶
func (UnimplementedMsgServer) VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AllGasPrices ¶
func (UnimplementedQueryServer) AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
func (UnimplementedQueryServer) AllPendingInbounds ¶
func (UnimplementedQueryServer) AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
func (UnimplementedQueryServer) AllUniversalTx ¶
func (UnimplementedQueryServer) AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
func (UnimplementedQueryServer) GasPrice ¶
func (UnimplementedQueryServer) GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
func (UnimplementedQueryServer) GetUniversalTx ¶
func (UnimplementedQueryServer) GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
type UniversalAccountId ¶
type UniversalAccountId struct {
ChainNamespace string `protobuf:"bytes,1,opt,name=chain_namespace,json=chainNamespace,proto3" json:"chain_namespace,omitempty"` // chain_namespace is the CAIP-2 namespace of the chain where the owner is located (e.g. "eip155" for Ethereum)
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // chain_id is the chain ID of the chain where the owner is located
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // Owner's public key bytes or address in hex format
// contains filtered or unexported fields
}
UniversalAccountId is the identifier of a owner account
func (*UniversalAccountId) Descriptor
deprecated
func (*UniversalAccountId) Descriptor() ([]byte, []int)
Deprecated: Use UniversalAccountId.ProtoReflect.Descriptor instead.
func (*UniversalAccountId) GetChainId ¶
func (x *UniversalAccountId) GetChainId() string
func (*UniversalAccountId) GetChainNamespace ¶
func (x *UniversalAccountId) GetChainNamespace() string
func (*UniversalAccountId) GetOwner ¶
func (x *UniversalAccountId) GetOwner() string
func (*UniversalAccountId) ProtoMessage ¶
func (*UniversalAccountId) ProtoMessage()
func (*UniversalAccountId) ProtoReflect ¶
func (x *UniversalAccountId) ProtoReflect() protoreflect.Message
func (*UniversalAccountId) Reset ¶
func (x *UniversalAccountId) Reset()
func (*UniversalAccountId) String ¶
func (x *UniversalAccountId) String() string
type UniversalPayload ¶
type UniversalPayload struct {
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` // EVM address as hex string (0x...)
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Amount in upc as string (uint256)
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // ABI-encoded calldata
GasLimit string `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // uint256 as string
MaxFeePerGas string `protobuf:"bytes,5,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"` // uint256 as string
MaxPriorityFeePerGas string `` // uint256 as string
/* 127-byte string literal not displayed */
Nonce string `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` // uint256 as string
Deadline string `protobuf:"bytes,8,opt,name=deadline,proto3" json:"deadline,omitempty"` // uint256 as string
VType VerificationType `protobuf:"varint,9,opt,name=v_type,json=vType,proto3,enum=uexecutor.v1.VerificationType" json:"v_type,omitempty"` // Type of verification to use before execution
// contains filtered or unexported fields
}
UniversalPayload mirrors the Solidity struct
func (*UniversalPayload) Descriptor
deprecated
func (*UniversalPayload) Descriptor() ([]byte, []int)
Deprecated: Use UniversalPayload.ProtoReflect.Descriptor instead.
func (*UniversalPayload) GetData ¶
func (x *UniversalPayload) GetData() string
func (*UniversalPayload) GetDeadline ¶
func (x *UniversalPayload) GetDeadline() string
func (*UniversalPayload) GetGasLimit ¶
func (x *UniversalPayload) GetGasLimit() string
func (*UniversalPayload) GetMaxFeePerGas ¶
func (x *UniversalPayload) GetMaxFeePerGas() string
func (*UniversalPayload) GetMaxPriorityFeePerGas ¶
func (x *UniversalPayload) GetMaxPriorityFeePerGas() string
func (*UniversalPayload) GetNonce ¶
func (x *UniversalPayload) GetNonce() string
func (*UniversalPayload) GetTo ¶
func (x *UniversalPayload) GetTo() string
func (*UniversalPayload) GetVType ¶
func (x *UniversalPayload) GetVType() VerificationType
func (*UniversalPayload) GetValue ¶
func (x *UniversalPayload) GetValue() string
func (*UniversalPayload) ProtoMessage ¶
func (*UniversalPayload) ProtoMessage()
func (*UniversalPayload) ProtoReflect ¶
func (x *UniversalPayload) ProtoReflect() protoreflect.Message
func (*UniversalPayload) Reset ¶
func (x *UniversalPayload) Reset()
func (*UniversalPayload) String ¶
func (x *UniversalPayload) String() string
type UniversalTx ¶
type UniversalTx struct {
InboundTx *Inbound `protobuf:"bytes,1,opt,name=inbound_tx,json=inboundTx,proto3" json:"inbound_tx,omitempty"` // Full inbound tx data
PcTx []*PCTx `protobuf:"bytes,2,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"` // Execution details on Push Chain
OutboundTx *OutboundTx `protobuf:"bytes,3,opt,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"` // Outbound tx triggered by this tx
UniversalStatus UniversalTxStatus `` // Current status
/* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UniversalTx) Descriptor
deprecated
func (*UniversalTx) Descriptor() ([]byte, []int)
Deprecated: Use UniversalTx.ProtoReflect.Descriptor instead.
func (*UniversalTx) GetInboundTx ¶
func (x *UniversalTx) GetInboundTx() *Inbound
func (*UniversalTx) GetOutboundTx ¶
func (x *UniversalTx) GetOutboundTx() *OutboundTx
func (*UniversalTx) GetPcTx ¶
func (x *UniversalTx) GetPcTx() []*PCTx
func (*UniversalTx) GetUniversalStatus ¶
func (x *UniversalTx) GetUniversalStatus() UniversalTxStatus
func (*UniversalTx) ProtoMessage ¶
func (*UniversalTx) ProtoMessage()
func (*UniversalTx) ProtoReflect ¶
func (x *UniversalTx) ProtoReflect() protoreflect.Message
func (*UniversalTx) Reset ¶
func (x *UniversalTx) Reset()
func (*UniversalTx) String ¶
func (x *UniversalTx) String() string
type UniversalTxStatus ¶
type UniversalTxStatus int32
const ( UniversalTxStatus_UNIVERSAL_TX_STATUS_UNSPECIFIED UniversalTxStatus = 0 UniversalTxStatus_INBOUND_SUCCESS UniversalTxStatus = 1 // inbound vote finalized successfully UniversalTxStatus_PENDING_INBOUND_EXECUTION UniversalTxStatus = 2 // created after inbound vote finalization, waiting PC execution UniversalTxStatus_PC_EXECUTED_SUCCESS UniversalTxStatus = 3 // executed successfully on Push Chain UniversalTxStatus_PC_EXECUTED_FAILED UniversalTxStatus = 4 // failed execution on Push Chain UniversalTxStatus_PC_PENDING_REVERT UniversalTxStatus = 5 // execution failed and pending revert UniversalTxStatus_OUTBOUND_PENDING UniversalTxStatus = 6 // outbound tx triggered but not confirmed UniversalTxStatus_OUTBOUND_SUCCESS UniversalTxStatus = 7 // outbound succeeded UniversalTxStatus_OUTBOUND_FAILED UniversalTxStatus = 8 // outbound failed UniversalTxStatus_CANCELED UniversalTxStatus = 9 )
func (UniversalTxStatus) Descriptor ¶
func (UniversalTxStatus) Descriptor() protoreflect.EnumDescriptor
func (UniversalTxStatus) Enum ¶
func (x UniversalTxStatus) Enum() *UniversalTxStatus
func (UniversalTxStatus) EnumDescriptor
deprecated
func (UniversalTxStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UniversalTxStatus.Descriptor instead.
func (UniversalTxStatus) Number ¶
func (x UniversalTxStatus) Number() protoreflect.EnumNumber
func (UniversalTxStatus) String ¶
func (x UniversalTxStatus) String() string
func (UniversalTxStatus) Type ¶
func (UniversalTxStatus) Type() protoreflect.EnumType
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type VerificationType ¶
type VerificationType int32
Signature verification types
const ( VerificationType_signedVerification VerificationType = 0 // Signed verification using a signature VerificationType_universalTxVerification VerificationType = 1 // Universal transaction verification )
func (VerificationType) Descriptor ¶
func (VerificationType) Descriptor() protoreflect.EnumDescriptor
func (VerificationType) Enum ¶
func (x VerificationType) Enum() *VerificationType
func (VerificationType) EnumDescriptor
deprecated
func (VerificationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerificationType.Descriptor instead.
func (VerificationType) Number ¶
func (x VerificationType) Number() protoreflect.EnumNumber
func (VerificationType) String ¶
func (x VerificationType) String() string
func (VerificationType) Type ¶
func (VerificationType) Type() protoreflect.EnumType