Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ConvertByteArrToString(value []byte) string
- func DefaultEVMAddress(addr sdk.ValAddress) gethcommon.Address
- func EVMAddrLessThan(e common.Address, o common.Address) bool
- func GetAttestationKey(nonce uint64) string
- func GetEVMKey(valAddress sdk.ValAddress) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error
- func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error
- 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 UInt64Bytes(n uint64) []byte
- type AttestationRequestI
- type BridgeValidator
- func (*BridgeValidator) Descriptor() ([]byte, []int)
- func (m *BridgeValidator) GetEvmAddress() string
- func (m *BridgeValidator) GetPower() uint64
- func (m *BridgeValidator) Marshal() (dAtA []byte, err error)
- func (m *BridgeValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *BridgeValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BridgeValidator) ProtoMessage()
- func (m *BridgeValidator) Reset()
- func (m *BridgeValidator) Size() (n int)
- func (m *BridgeValidator) String() string
- func (b BridgeValidator) ToInternal() (*InternalBridgeValidator, error)
- func (m *BridgeValidator) Unmarshal(dAtA []byte) error
- func (m *BridgeValidator) XXX_DiscardUnknown()
- func (m *BridgeValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BridgeValidator) XXX_Merge(src proto.Message)
- func (m *BridgeValidator) XXX_Size() int
- func (m *BridgeValidator) XXX_Unmarshal(b []byte) error
- type BridgeValidators
- type DataCommitment
- func (m *DataCommitment) BlockTime() time.Time
- func (*DataCommitment) Descriptor() ([]byte, []int)
- func (m *DataCommitment) GetBeginBlock() uint64
- func (m *DataCommitment) GetEndBlock() uint64
- func (m *DataCommitment) GetNonce() uint64
- func (m *DataCommitment) GetTime() time.Time
- func (m *DataCommitment) Marshal() (dAtA []byte, err error)
- func (m *DataCommitment) MarshalTo(dAtA []byte) (int, error)
- func (m *DataCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataCommitment) ProtoMessage()
- func (m *DataCommitment) Reset()
- func (m *DataCommitment) Size() (n int)
- func (m *DataCommitment) String() string
- func (m *DataCommitment) Unmarshal(dAtA []byte) error
- func (m *DataCommitment) XXX_DiscardUnknown()
- func (m *DataCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataCommitment) XXX_Merge(src proto.Message)
- func (m *DataCommitment) XXX_Size() int
- func (m *DataCommitment) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() *Params
- 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) Validate() 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 InternalBridgeValidator
- type InternalBridgeValidators
- func (ibv InternalBridgeValidators) GetPowers() []uint64
- func (ibv InternalBridgeValidators) HasDuplicates() bool
- func (ibv InternalBridgeValidators) PowerDiff(c InternalBridgeValidators) sdk.Dec
- func (ibv InternalBridgeValidators) Sort()
- func (ibv InternalBridgeValidators) ToExternal() BridgeValidators
- func (ibv InternalBridgeValidators) TotalPower() (out uint64)
- func (ibv InternalBridgeValidators) ValidateBasic() error
- type MsgClient
- type MsgRegisterEVMAddress
- func (*MsgRegisterEVMAddress) Descriptor() ([]byte, []int)
- func (m *MsgRegisterEVMAddress) GetEvmAddress() string
- func (msg MsgRegisterEVMAddress) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterEVMAddress) GetValidatorAddress() string
- func (m *MsgRegisterEVMAddress) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterEVMAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterEVMAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterEVMAddress) ProtoMessage()
- func (m *MsgRegisterEVMAddress) Reset()
- func (m *MsgRegisterEVMAddress) Size() (n int)
- func (m *MsgRegisterEVMAddress) String() string
- func (m *MsgRegisterEVMAddress) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterEVMAddress) ValidateBasic() error
- func (m *MsgRegisterEVMAddress) XXX_DiscardUnknown()
- func (m *MsgRegisterEVMAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterEVMAddress) XXX_Merge(src proto.Message)
- func (m *MsgRegisterEVMAddress) XXX_Size() int
- func (m *MsgRegisterEVMAddress) XXX_Unmarshal(b []byte) error
- type MsgRegisterEVMAddressResponse
- func (*MsgRegisterEVMAddressResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterEVMAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterEVMAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterEVMAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterEVMAddressResponse) ProtoMessage()
- func (m *MsgRegisterEVMAddressResponse) Reset()
- func (m *MsgRegisterEVMAddressResponse) Size() (n int)
- func (m *MsgRegisterEVMAddressResponse) String() string
- func (m *MsgRegisterEVMAddressResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterEVMAddressResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterEVMAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterEVMAddressResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterEVMAddressResponse) XXX_Size() int
- func (m *MsgRegisterEVMAddressResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDataCommitmentWindow() uint64
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *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 QueryAttestationRequestByNonceRequest
- func (*QueryAttestationRequestByNonceRequest) Descriptor() ([]byte, []int)
- func (m *QueryAttestationRequestByNonceRequest) GetNonce() uint64
- func (m *QueryAttestationRequestByNonceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationRequestByNonceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationRequestByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationRequestByNonceRequest) ProtoMessage()
- func (m *QueryAttestationRequestByNonceRequest) Reset()
- func (m *QueryAttestationRequestByNonceRequest) Size() (n int)
- func (m *QueryAttestationRequestByNonceRequest) String() string
- func (m *QueryAttestationRequestByNonceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationRequestByNonceRequest) XXX_DiscardUnknown()
- func (m *QueryAttestationRequestByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationRequestByNonceRequest) XXX_Merge(src proto.Message)
- func (m *QueryAttestationRequestByNonceRequest) XXX_Size() int
- func (m *QueryAttestationRequestByNonceRequest) XXX_Unmarshal(b []byte) error
- type QueryAttestationRequestByNonceResponse
- func (*QueryAttestationRequestByNonceResponse) Descriptor() ([]byte, []int)
- func (m *QueryAttestationRequestByNonceResponse) GetAttestation() *types.Any
- func (m *QueryAttestationRequestByNonceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAttestationRequestByNonceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAttestationRequestByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAttestationRequestByNonceResponse) ProtoMessage()
- func (m *QueryAttestationRequestByNonceResponse) Reset()
- func (m *QueryAttestationRequestByNonceResponse) Size() (n int)
- func (m *QueryAttestationRequestByNonceResponse) String() string
- func (m *QueryAttestationRequestByNonceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAttestationRequestByNonceResponse) XXX_DiscardUnknown()
- func (m *QueryAttestationRequestByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAttestationRequestByNonceResponse) XXX_Merge(src proto.Message)
- func (m *QueryAttestationRequestByNonceResponse) XXX_Size() int
- func (m *QueryAttestationRequestByNonceResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDataCommitmentRangeForHeightRequest
- func (*QueryDataCommitmentRangeForHeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryDataCommitmentRangeForHeightRequest) GetHeight() uint64
- func (m *QueryDataCommitmentRangeForHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDataCommitmentRangeForHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDataCommitmentRangeForHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDataCommitmentRangeForHeightRequest) ProtoMessage()
- func (m *QueryDataCommitmentRangeForHeightRequest) Reset()
- func (m *QueryDataCommitmentRangeForHeightRequest) Size() (n int)
- func (m *QueryDataCommitmentRangeForHeightRequest) String() string
- func (m *QueryDataCommitmentRangeForHeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDataCommitmentRangeForHeightRequest) XXX_DiscardUnknown()
- func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Size() int
- func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Unmarshal(b []byte) error
- type QueryDataCommitmentRangeForHeightResponse
- func (*QueryDataCommitmentRangeForHeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryDataCommitmentRangeForHeightResponse) GetDataCommitment() *DataCommitment
- func (m *QueryDataCommitmentRangeForHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDataCommitmentRangeForHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDataCommitmentRangeForHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDataCommitmentRangeForHeightResponse) ProtoMessage()
- func (m *QueryDataCommitmentRangeForHeightResponse) Reset()
- func (m *QueryDataCommitmentRangeForHeightResponse) Size() (n int)
- func (m *QueryDataCommitmentRangeForHeightResponse) String() string
- func (m *QueryDataCommitmentRangeForHeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDataCommitmentRangeForHeightResponse) XXX_DiscardUnknown()
- func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Size() int
- func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Unmarshal(b []byte) error
- type QueryEVMAddressRequest
- func (*QueryEVMAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryEVMAddressRequest) GetValidatorAddress() string
- func (m *QueryEVMAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEVMAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEVMAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEVMAddressRequest) ProtoMessage()
- func (m *QueryEVMAddressRequest) Reset()
- func (m *QueryEVMAddressRequest) Size() (n int)
- func (m *QueryEVMAddressRequest) String() string
- func (m *QueryEVMAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEVMAddressRequest) XXX_DiscardUnknown()
- func (m *QueryEVMAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEVMAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryEVMAddressRequest) XXX_Size() int
- func (m *QueryEVMAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryEVMAddressResponse
- func (*QueryEVMAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryEVMAddressResponse) GetEvmAddress() string
- func (m *QueryEVMAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEVMAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEVMAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEVMAddressResponse) ProtoMessage()
- func (m *QueryEVMAddressResponse) Reset()
- func (m *QueryEVMAddressResponse) Size() (n int)
- func (m *QueryEVMAddressResponse) String() string
- func (m *QueryEVMAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEVMAddressResponse) XXX_DiscardUnknown()
- func (m *QueryEVMAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEVMAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryEVMAddressResponse) XXX_Size() int
- func (m *QueryEVMAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryEarliestAttestationNonceRequest
- func (*QueryEarliestAttestationNonceRequest) Descriptor() ([]byte, []int)
- func (m *QueryEarliestAttestationNonceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEarliestAttestationNonceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEarliestAttestationNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEarliestAttestationNonceRequest) ProtoMessage()
- func (m *QueryEarliestAttestationNonceRequest) Reset()
- func (m *QueryEarliestAttestationNonceRequest) Size() (n int)
- func (m *QueryEarliestAttestationNonceRequest) String() string
- func (m *QueryEarliestAttestationNonceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEarliestAttestationNonceRequest) XXX_DiscardUnknown()
- func (m *QueryEarliestAttestationNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEarliestAttestationNonceRequest) XXX_Merge(src proto.Message)
- func (m *QueryEarliestAttestationNonceRequest) XXX_Size() int
- func (m *QueryEarliestAttestationNonceRequest) XXX_Unmarshal(b []byte) error
- type QueryEarliestAttestationNonceResponse
- func (*QueryEarliestAttestationNonceResponse) Descriptor() ([]byte, []int)
- func (m *QueryEarliestAttestationNonceResponse) GetNonce() uint64
- func (m *QueryEarliestAttestationNonceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEarliestAttestationNonceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEarliestAttestationNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEarliestAttestationNonceResponse) ProtoMessage()
- func (m *QueryEarliestAttestationNonceResponse) Reset()
- func (m *QueryEarliestAttestationNonceResponse) Size() (n int)
- func (m *QueryEarliestAttestationNonceResponse) String() string
- func (m *QueryEarliestAttestationNonceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEarliestAttestationNonceResponse) XXX_DiscardUnknown()
- func (m *QueryEarliestAttestationNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEarliestAttestationNonceResponse) XXX_Merge(src proto.Message)
- func (m *QueryEarliestAttestationNonceResponse) XXX_Size() int
- func (m *QueryEarliestAttestationNonceResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestAttestationNonceRequest
- func (*QueryLatestAttestationNonceRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestAttestationNonceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestAttestationNonceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestAttestationNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestAttestationNonceRequest) ProtoMessage()
- func (m *QueryLatestAttestationNonceRequest) Reset()
- func (m *QueryLatestAttestationNonceRequest) Size() (n int)
- func (m *QueryLatestAttestationNonceRequest) String() string
- func (m *QueryLatestAttestationNonceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestAttestationNonceRequest) XXX_DiscardUnknown()
- func (m *QueryLatestAttestationNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestAttestationNonceRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestAttestationNonceRequest) XXX_Size() int
- func (m *QueryLatestAttestationNonceRequest) XXX_Unmarshal(b []byte) error
- type QueryLatestAttestationNonceResponse
- func (*QueryLatestAttestationNonceResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestAttestationNonceResponse) GetNonce() uint64
- func (m *QueryLatestAttestationNonceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestAttestationNonceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestAttestationNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestAttestationNonceResponse) ProtoMessage()
- func (m *QueryLatestAttestationNonceResponse) Reset()
- func (m *QueryLatestAttestationNonceResponse) Size() (n int)
- func (m *QueryLatestAttestationNonceResponse) String() string
- func (m *QueryLatestAttestationNonceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestAttestationNonceResponse) XXX_DiscardUnknown()
- func (m *QueryLatestAttestationNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestAttestationNonceResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestAttestationNonceResponse) XXX_Size() int
- func (m *QueryLatestAttestationNonceResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestDataCommitmentRequest
- func (*QueryLatestDataCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestDataCommitmentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestDataCommitmentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestDataCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestDataCommitmentRequest) ProtoMessage()
- func (m *QueryLatestDataCommitmentRequest) Reset()
- func (m *QueryLatestDataCommitmentRequest) Size() (n int)
- func (m *QueryLatestDataCommitmentRequest) String() string
- func (m *QueryLatestDataCommitmentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestDataCommitmentRequest) XXX_DiscardUnknown()
- func (m *QueryLatestDataCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestDataCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestDataCommitmentRequest) XXX_Size() int
- func (m *QueryLatestDataCommitmentRequest) XXX_Unmarshal(b []byte) error
- type QueryLatestDataCommitmentResponse
- func (*QueryLatestDataCommitmentResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestDataCommitmentResponse) GetDataCommitment() *DataCommitment
- func (m *QueryLatestDataCommitmentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestDataCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestDataCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestDataCommitmentResponse) ProtoMessage()
- func (m *QueryLatestDataCommitmentResponse) Reset()
- func (m *QueryLatestDataCommitmentResponse) Size() (n int)
- func (m *QueryLatestDataCommitmentResponse) String() string
- func (m *QueryLatestDataCommitmentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestDataCommitmentResponse) XXX_DiscardUnknown()
- func (m *QueryLatestDataCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestDataCommitmentResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestDataCommitmentResponse) XXX_Size() int
- func (m *QueryLatestDataCommitmentResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestUnbondingHeightRequest
- func (*QueryLatestUnbondingHeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestUnbondingHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestUnbondingHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestUnbondingHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestUnbondingHeightRequest) ProtoMessage()
- func (m *QueryLatestUnbondingHeightRequest) Reset()
- func (m *QueryLatestUnbondingHeightRequest) Size() (n int)
- func (m *QueryLatestUnbondingHeightRequest) String() string
- func (m *QueryLatestUnbondingHeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestUnbondingHeightRequest) XXX_DiscardUnknown()
- func (m *QueryLatestUnbondingHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestUnbondingHeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestUnbondingHeightRequest) XXX_Size() int
- func (m *QueryLatestUnbondingHeightRequest) XXX_Unmarshal(b []byte) error
- type QueryLatestUnbondingHeightResponse
- func (*QueryLatestUnbondingHeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestUnbondingHeightResponse) GetHeight() uint64
- func (m *QueryLatestUnbondingHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestUnbondingHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestUnbondingHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestUnbondingHeightResponse) ProtoMessage()
- func (m *QueryLatestUnbondingHeightResponse) Reset()
- func (m *QueryLatestUnbondingHeightResponse) Size() (n int)
- func (m *QueryLatestUnbondingHeightResponse) String() string
- func (m *QueryLatestUnbondingHeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestUnbondingHeightResponse) XXX_DiscardUnknown()
- func (m *QueryLatestUnbondingHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestUnbondingHeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestUnbondingHeightResponse) XXX_Size() int
- func (m *QueryLatestUnbondingHeightResponse) XXX_Unmarshal(b []byte) error
- type QueryLatestValsetRequestBeforeNonceRequest
- func (*QueryLatestValsetRequestBeforeNonceRequest) Descriptor() ([]byte, []int)
- func (m *QueryLatestValsetRequestBeforeNonceRequest) GetNonce() uint64
- func (m *QueryLatestValsetRequestBeforeNonceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestValsetRequestBeforeNonceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestValsetRequestBeforeNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestValsetRequestBeforeNonceRequest) ProtoMessage()
- func (m *QueryLatestValsetRequestBeforeNonceRequest) Reset()
- func (m *QueryLatestValsetRequestBeforeNonceRequest) Size() (n int)
- func (m *QueryLatestValsetRequestBeforeNonceRequest) String() string
- func (m *QueryLatestValsetRequestBeforeNonceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_DiscardUnknown()
- func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Merge(src proto.Message)
- func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Size() int
- func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Unmarshal(b []byte) error
- type QueryLatestValsetRequestBeforeNonceResponse
- func (*QueryLatestValsetRequestBeforeNonceResponse) Descriptor() ([]byte, []int)
- func (m *QueryLatestValsetRequestBeforeNonceResponse) GetValset() *Valset
- func (m *QueryLatestValsetRequestBeforeNonceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLatestValsetRequestBeforeNonceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLatestValsetRequestBeforeNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLatestValsetRequestBeforeNonceResponse) ProtoMessage()
- func (m *QueryLatestValsetRequestBeforeNonceResponse) Reset()
- func (m *QueryLatestValsetRequestBeforeNonceResponse) Size() (n int)
- func (m *QueryLatestValsetRequestBeforeNonceResponse) String() string
- func (m *QueryLatestValsetRequestBeforeNonceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_DiscardUnknown()
- func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Merge(src proto.Message)
- func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Size() int
- func (m *QueryLatestValsetRequestBeforeNonceResponse) 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 UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AttestationRequestByNonce(ctx context.Context, req *QueryAttestationRequestByNonceRequest) (*QueryAttestationRequestByNonceResponse, error)
- func (*UnimplementedQueryServer) DataCommitmentRangeForHeight(ctx context.Context, req *QueryDataCommitmentRangeForHeightRequest) (*QueryDataCommitmentRangeForHeightResponse, error)
- func (*UnimplementedQueryServer) EVMAddress(ctx context.Context, req *QueryEVMAddressRequest) (*QueryEVMAddressResponse, error)
- func (*UnimplementedQueryServer) EarliestAttestationNonce(ctx context.Context, req *QueryEarliestAttestationNonceRequest) (*QueryEarliestAttestationNonceResponse, error)
- func (*UnimplementedQueryServer) LatestAttestationNonce(ctx context.Context, req *QueryLatestAttestationNonceRequest) (*QueryLatestAttestationNonceResponse, error)
- func (*UnimplementedQueryServer) LatestDataCommitment(ctx context.Context, req *QueryLatestDataCommitmentRequest) (*QueryLatestDataCommitmentResponse, error)
- func (*UnimplementedQueryServer) LatestUnbondingHeight(ctx context.Context, req *QueryLatestUnbondingHeightRequest) (*QueryLatestUnbondingHeightResponse, error)
- func (*UnimplementedQueryServer) LatestValsetRequestBeforeNonce(ctx context.Context, req *QueryLatestValsetRequestBeforeNonceRequest) (*QueryLatestValsetRequestBeforeNonceResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type Valset
- func (v *Valset) BlockTime() time.Time
- func (*Valset) Descriptor() ([]byte, []int)
- func (m *Valset) GetHeight() uint64
- func (m *Valset) GetMembers() []BridgeValidator
- func (m *Valset) GetNonce() uint64
- func (m *Valset) GetTime() time.Time
- func (v *Valset) Hash() (ethcmn.Hash, error)
- func (m *Valset) Marshal() (dAtA []byte, err error)
- func (m *Valset) MarshalTo(dAtA []byte) (int, error)
- func (m *Valset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Valset) ProtoMessage()
- func (m *Valset) Reset()
- func (v *Valset) SignBytes() (ethcmn.Hash, error)
- func (m *Valset) Size() (n int)
- func (m *Valset) String() string
- func (v *Valset) TwoThirdsThreshold() uint64
- func (m *Valset) Unmarshal(dAtA []byte) error
- func (m *Valset) XXX_DiscardUnknown()
- func (m *Valset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Valset) XXX_Merge(src proto.Message)
- func (m *Valset) XXX_Size() int
- func (m *Valset) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // InternalQGBabiJSON is the json encoded abi for private functions in the // qgb contract. This is needed to encode data that is signed over in a way // that the contracts can easily verify. InternalQGBabiJSON = `` /* 1660-byte string literal not displayed */ // Domain separator constants copied directly from the contracts. ValidatorSetDomainSeparator = "0x636865636b706f696e7400000000000000000000000000000000000000000000" DataCommitmentDomainSeparator = "0x7472616e73616374696f6e426174636800000000000000000000000000000000" )
const ( EventTypeAttestationRequest = "AttestationRequest" AttributeKeyNonce = "nonce" )
const ( DefaultParamspace = ModuleName // MinimumDataCommitmentWindow is a constant that defines the minimum // allowable window for the QGB data commitments. MinimumDataCommitmentWindow = 100 )
DefaultParamspace defines the default qgb module parameter subspace
const ( // ModuleName is the name of the module. ModuleName = "qgb" // StoreKey to be used when creating the KVStore. StoreKey = ModuleName // RouterKey is the module name router key. RouterKey = ModuleName // QuerierRoute to be used for querier msgs. QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key. MemStoreKey = "mem_qgb" )
const ( // AttestationRequestKey indexes attestation requests by nonce AttestationRequestKey = "AttestationRequestKey" // LatestUnBondingBlockHeight indexes the latest validator unbonding block // height LatestUnBondingBlockHeight = "LatestUnBondingBlockHeight" // LatestAttestationNonce indexes the latest attestation request nonce LatestAttestationNonce = "LatestAttestationNonce" // EarliestAvailableAttestationNonce indexes the earliest available // attestation nonce EarliestAvailableAttestationNonce = "EarliestAvailableAttestationNonce" // EVMAddress indexes evm addresses by validator address EVMAddress = "EVMAddress" )
const URLMsgRegisterEVMAddress = "/celestia.blob.v1.MsgRegisterEVMAddress"
Variables ¶
var ( ExternalQGBabi abi.ABI InternalQGBabi abi.ABI BridgeValidatorAbi abi.Arguments VsDomainSeparator ethcmn.Hash DcDomainSeparator ethcmn.Hash )
var ( ErrDuplicate = errors.Register(ModuleName, 2, "duplicate") ErrEmpty = errors.Register(ModuleName, 6, "empty") ErrNoValidators = errors.Register(ModuleName, 12, "no bonded validators in active set") ErrInvalidValAddress = errors.Register(ModuleName, 13, "invalid validator address in current valset %v") ErrInvalidEVMAddress = errors.Register(ModuleName, 14, "discovered invalid EVM address stored for validator %v") ErrInvalidValset = errors.Register(ModuleName, 15, "generated invalid valset") ErrAttestationNotValsetRequest = errors.Register(ModuleName, 16, "attestation is not a valset request") ErrAttestationNotFound = errors.Register(ModuleName, 18, "attestation not found") ErrNilAttestation = errors.Register(ModuleName, 22, "nil attestation") ErrUnmarshalllAttestation = errors.Register(ModuleName, 26, "couldn't unmarshall attestation from store") ErrNonceHigherThanLatestAttestationNonce = errors.Register(ModuleName, 27, "the provided nonce is higher than the latest attestation nonce") ErrNoValsetBeforeNonceOne = errors.Register(ModuleName, 28, "there is no valset before attestation nonce 1") ErrDataCommitmentNotGenerated = errors.Register(ModuleName, 29, "no data commitment has been generated for the provided height") ErrDataCommitmentNotFound = errors.Register(ModuleName, 30, "data commitment not found") ErrLatestAttestationNonceStillNotInitialized = errors.Register(ModuleName, 31, "the latest attestation nonce has still not been defined in store") ErrInvalidDataCommitmentWindow = errors.Register(ModuleName, 32, "invalid data commitment window") ErrEarliestAvailableNonceStillNotInitialized = errors.Register(ModuleName, 33, "the earliest available nonce after pruning has still not been defined in store") ErrRequestedNonceWasPruned = errors.Register(ModuleName, 34, "the requested nonce has been pruned") ErrUnknownAttestationType = errors.Register(ModuleName, 35, "unknown attestation type") ErrEVMAddressNotHex = errors.Register(ModuleName, 36, "the provided evm address is not a valid hex address") ErrEVMAddressAlreadyExists = errors.Register(ModuleName, 37, "the provided evm address already exists") ErrEVMAddressNotFound = errors.Register(ModuleName, 38, "EVM address not found") )
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 ( 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 ParamsStoreKeyDataCommitmentWindow = []byte("DataCommitmentWindow")
ParamsStoreKeyDataCommitmentWindow is the key used for the DataCommitmentWindow param.
Functions ¶
func ConvertByteArrToString ¶ added in v0.7.0
func DefaultEVMAddress ¶ added in v1.0.0
func DefaultEVMAddress(addr sdk.ValAddress) gethcommon.Address
func EVMAddrLessThan ¶ added in v0.9.0
EVMAddrLessThan migrates the EVM address less than function.
func GetAttestationKey ¶ added in v0.7.0
GetAttestationKey returns the following key format prefix nonce [0x0][0 0 0 0 0 0 0 1]
func GetEVMKey ¶ added in v1.0.0
func GetEVMKey(valAddress sdk.ValAddress) []byte
func ParamKeyTable ¶ added in v0.7.0
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable for qgb module
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v1.0.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgHandler ¶
RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMsgHandlerClient ¶
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.
func RegisterMsgHandlerFromEndpoint ¶
func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMsgHandlerServer ¶
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer 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 RegisterMsgHandlerFromEndpoint instead.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶ added in v0.7.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.7.0
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 ¶ added in v0.7.0
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 ¶ added in v0.7.0
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 UInt64Bytes ¶ added in v0.7.0
UInt64Bytes uses the SDK byte marshaling to encode a uint64.
Types ¶
type AttestationRequestI ¶ added in v0.7.0
type AttestationRequestI interface { proto.Message codec.ProtoMarshaler GetNonce() uint64 BlockTime() time.Time }
AttestationRequestI is either a DataCommitment or a Valset. This was decided as part of the universal nonce approach under: https://github.com/celestiaorg/celestia-app/issues/468#issuecomment-1156887715
type BridgeValidator ¶ added in v0.7.0
type BridgeValidator struct { // Voting power of the validator. Power uint64 `protobuf:"varint,1,opt,name=power,proto3" json:"power,omitempty"` // EVM address that will be used by the validator to sign messages. EvmAddress string `protobuf:"bytes,2,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"` }
BridgeValidator represents a validator's ETH address and its power
func (*BridgeValidator) Descriptor ¶ added in v0.7.0
func (*BridgeValidator) Descriptor() ([]byte, []int)
func (*BridgeValidator) GetEvmAddress ¶ added in v0.9.0
func (m *BridgeValidator) GetEvmAddress() string
func (*BridgeValidator) GetPower ¶ added in v0.7.0
func (m *BridgeValidator) GetPower() uint64
func (*BridgeValidator) Marshal ¶ added in v0.7.0
func (m *BridgeValidator) Marshal() (dAtA []byte, err error)
func (*BridgeValidator) MarshalTo ¶ added in v0.7.0
func (m *BridgeValidator) MarshalTo(dAtA []byte) (int, error)
func (*BridgeValidator) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *BridgeValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BridgeValidator) ProtoMessage ¶ added in v0.7.0
func (*BridgeValidator) ProtoMessage()
func (*BridgeValidator) Reset ¶ added in v0.7.0
func (m *BridgeValidator) Reset()
func (*BridgeValidator) Size ¶ added in v0.7.0
func (m *BridgeValidator) Size() (n int)
func (*BridgeValidator) String ¶ added in v0.7.0
func (m *BridgeValidator) String() string
func (BridgeValidator) ToInternal ¶ added in v0.7.0
func (b BridgeValidator) ToInternal() (*InternalBridgeValidator, error)
ToInternal transforms a BridgeValidator into its fully validated internal type.
func (*BridgeValidator) Unmarshal ¶ added in v0.7.0
func (m *BridgeValidator) Unmarshal(dAtA []byte) error
func (*BridgeValidator) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *BridgeValidator) XXX_DiscardUnknown()
func (*BridgeValidator) XXX_Marshal ¶ added in v0.7.0
func (m *BridgeValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BridgeValidator) XXX_Merge ¶ added in v0.7.0
func (m *BridgeValidator) XXX_Merge(src proto.Message)
func (*BridgeValidator) XXX_Size ¶ added in v0.7.0
func (m *BridgeValidator) XXX_Size() int
func (*BridgeValidator) XXX_Unmarshal ¶ added in v0.7.0
func (m *BridgeValidator) XXX_Unmarshal(b []byte) error
type BridgeValidators ¶ added in v0.7.0
type BridgeValidators []BridgeValidator
BridgeValidators is the sorted set of validators EVM address and their corresponding power.
func (BridgeValidators) ToInternal ¶ added in v0.7.0
func (b BridgeValidators) ToInternal() (*InternalBridgeValidators, error)
type DataCommitment ¶ added in v0.7.0
type DataCommitment struct { // Universal nonce defined under: // https://github.com/celestiaorg/celestia-app/pull/464 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // First block defining the ordered set of blocks used to create the // commitment. BeginBlock uint64 `protobuf:"varint,2,opt,name=begin_block,json=beginBlock,proto3" json:"begin_block,omitempty"` // End exclusive last block defining the ordered set of blocks used to create // the commitment. EndBlock uint64 `protobuf:"varint,3,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"` // Block time where this data commitment was created Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"` }
DataCommitment is the data commitment request message that will be signed using orchestrators. It does not contain a `commitment` field as this message will be created inside the state machine and it doesn't make sense to ask tendermint for the commitment there. The range defined by begin_block and end_block is end exclusive.
func NewDataCommitment ¶ added in v0.7.0
func NewDataCommitment( nonce uint64, beginBlock uint64, endBlock uint64, blockTime time.Time, ) *DataCommitment
NewDataCommitment creates a new DataCommitment.
func (*DataCommitment) BlockTime ¶ added in v1.0.0
func (m *DataCommitment) BlockTime() time.Time
func (*DataCommitment) Descriptor ¶ added in v0.7.0
func (*DataCommitment) Descriptor() ([]byte, []int)
func (*DataCommitment) GetBeginBlock ¶ added in v0.7.0
func (m *DataCommitment) GetBeginBlock() uint64
func (*DataCommitment) GetEndBlock ¶ added in v0.7.0
func (m *DataCommitment) GetEndBlock() uint64
func (*DataCommitment) GetNonce ¶ added in v0.7.0
func (m *DataCommitment) GetNonce() uint64
func (*DataCommitment) GetTime ¶ added in v1.0.0
func (m *DataCommitment) GetTime() time.Time
func (*DataCommitment) Marshal ¶ added in v0.7.0
func (m *DataCommitment) Marshal() (dAtA []byte, err error)
func (*DataCommitment) MarshalTo ¶ added in v0.7.0
func (m *DataCommitment) MarshalTo(dAtA []byte) (int, error)
func (*DataCommitment) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *DataCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DataCommitment) ProtoMessage ¶ added in v0.7.0
func (*DataCommitment) ProtoMessage()
func (*DataCommitment) Reset ¶ added in v0.7.0
func (m *DataCommitment) Reset()
func (*DataCommitment) Size ¶ added in v0.7.0
func (m *DataCommitment) Size() (n int)
func (*DataCommitment) String ¶ added in v0.7.0
func (m *DataCommitment) String() string
func (*DataCommitment) Unmarshal ¶ added in v0.7.0
func (m *DataCommitment) Unmarshal(dAtA []byte) error
func (*DataCommitment) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *DataCommitment) XXX_DiscardUnknown()
func (*DataCommitment) XXX_Marshal ¶ added in v0.7.0
func (m *DataCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataCommitment) XXX_Merge ¶ added in v0.7.0
func (m *DataCommitment) XXX_Merge(src proto.Message)
func (*DataCommitment) XXX_Size ¶ added in v0.7.0
func (m *DataCommitment) XXX_Size() int
func (*DataCommitment) XXX_Unmarshal ¶ added in v0.7.0
func (m *DataCommitment) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
GenesisState struct, containing all persistent data required by the QGB module
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶ added in v0.7.0
func (m *GenesisState) GetParams() *Params
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) Validate ¶
func (gs GenesisState) Validate() 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 InternalBridgeValidator ¶ added in v0.7.0
InternalBridgeValidator bridges Validator but with validated EVMAddress.
func NewInternalBridgeValidator ¶ added in v0.7.0
func NewInternalBridgeValidator(bridgeValidator BridgeValidator) (*InternalBridgeValidator, error)
func (InternalBridgeValidator) ToExternal ¶ added in v0.7.0
func (i InternalBridgeValidator) ToExternal() BridgeValidator
func (InternalBridgeValidator) ValidateBasic ¶ added in v0.7.0
func (i InternalBridgeValidator) ValidateBasic() error
type InternalBridgeValidators ¶ added in v0.7.0
type InternalBridgeValidators []*InternalBridgeValidator
InternalBridgeValidators is the sorted set of validator data for EVM bridge MultiSig set.
func (InternalBridgeValidators) GetPowers ¶ added in v0.7.0
func (ibv InternalBridgeValidators) GetPowers() []uint64
GetPowers returns only the power values for all members.
func (InternalBridgeValidators) HasDuplicates ¶ added in v0.7.0
func (ibv InternalBridgeValidators) HasDuplicates() bool
HasDuplicates returns true if there are duplicates in the set.
func (InternalBridgeValidators) PowerDiff ¶ added in v0.7.0
func (ibv InternalBridgeValidators) PowerDiff(c InternalBridgeValidators) sdk.Dec
PowerDiff returns the difference in power between two bridge validator sets. Note this is QGB bridge power *not* Cosmos voting power. Cosmos voting power is based on the absolute number of tokens in the staking pool at any given time. QGB bridge power is normalized using the equation.
validators cosmos voting power / total cosmos voting power in this block = QGB bridge power / u32_max
As an example if someone has 52% of the Cosmos voting power when a validator set is created their QGB bridge voting power is u32_max * .52
Normalized voting power dramatically reduces how often we have to produce new validator set updates. For example if the total on chain voting power increases by 1% due to inflation, we shouldn't have to generate a new validator set, after all the validators retained their relative percentages during inflation and normalized QGB power shows no difference.
func (InternalBridgeValidators) Sort ¶ added in v0.7.0
func (ibv InternalBridgeValidators) Sort()
Sort sorts the validators by power.
func (InternalBridgeValidators) ToExternal ¶ added in v0.7.0
func (ibv InternalBridgeValidators) ToExternal() BridgeValidators
func (InternalBridgeValidators) TotalPower ¶ added in v0.7.0
func (ibv InternalBridgeValidators) TotalPower() (out uint64)
TotalPower returns the total power in the bridge validator set.
func (InternalBridgeValidators) ValidateBasic ¶ added in v0.7.0
func (ibv InternalBridgeValidators) ValidateBasic() error
ValidateBasic performs stateless checks.
type MsgClient ¶
type MsgClient interface { // RegisterEVMAddress records an evm address for the validator which is used // by the relayer to aggregate signatures. A validator can only register a // single EVM address. The EVM address can be overridden by a later message. // There are no validity checks of the EVM addresses existence on the Ethereum // state machine. RegisterEVMAddress(ctx context.Context, in *MsgRegisterEVMAddress, opts ...grpc.CallOption) (*MsgRegisterEVMAddressResponse, 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 MsgRegisterEVMAddress ¶ added in v1.0.0
type MsgRegisterEVMAddress struct { // The operating address of the validator. ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // The matching HEX encoded EVM address. EvmAddress string `protobuf:"bytes,2,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"` }
MsgRegisterEVMAddress registers an evm address to a validator.
func NewMsgRegisterEVMAddress ¶ added in v1.0.0
func NewMsgRegisterEVMAddress(valAddress sdk.ValAddress, evmAddress common.Address) *MsgRegisterEVMAddress
func (*MsgRegisterEVMAddress) Descriptor ¶ added in v1.0.0
func (*MsgRegisterEVMAddress) Descriptor() ([]byte, []int)
func (*MsgRegisterEVMAddress) GetEvmAddress ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) GetEvmAddress() string
func (MsgRegisterEVMAddress) GetSigners ¶ added in v1.0.0
func (msg MsgRegisterEVMAddress) GetSigners() []sdk.AccAddress
GetSigner fulfills the sdk.Msg interface. The signer must be the validator address
func (*MsgRegisterEVMAddress) GetValidatorAddress ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) GetValidatorAddress() string
func (*MsgRegisterEVMAddress) Marshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) Marshal() (dAtA []byte, err error)
func (*MsgRegisterEVMAddress) MarshalTo ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterEVMAddress) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterEVMAddress) ProtoMessage ¶ added in v1.0.0
func (*MsgRegisterEVMAddress) ProtoMessage()
func (*MsgRegisterEVMAddress) Reset ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) Reset()
func (*MsgRegisterEVMAddress) Size ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) Size() (n int)
func (*MsgRegisterEVMAddress) String ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) String() string
func (*MsgRegisterEVMAddress) Unmarshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) Unmarshal(dAtA []byte) error
func (MsgRegisterEVMAddress) ValidateBasic ¶ added in v1.0.0
func (msg MsgRegisterEVMAddress) ValidateBasic() error
ValidateBasic verifies that the EVM address and val address are of a valid type
func (*MsgRegisterEVMAddress) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) XXX_DiscardUnknown()
func (*MsgRegisterEVMAddress) XXX_Marshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterEVMAddress) XXX_Merge ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) XXX_Merge(src proto.Message)
func (*MsgRegisterEVMAddress) XXX_Size ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) XXX_Size() int
func (*MsgRegisterEVMAddress) XXX_Unmarshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddress) XXX_Unmarshal(b []byte) error
type MsgRegisterEVMAddressResponse ¶ added in v1.0.0
type MsgRegisterEVMAddressResponse struct { }
MsgRegisterEVMAddressResponse is the response to registering an EVM address.
func (*MsgRegisterEVMAddressResponse) Descriptor ¶ added in v1.0.0
func (*MsgRegisterEVMAddressResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterEVMAddressResponse) Marshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterEVMAddressResponse) MarshalTo ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterEVMAddressResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterEVMAddressResponse) ProtoMessage ¶ added in v1.0.0
func (*MsgRegisterEVMAddressResponse) ProtoMessage()
func (*MsgRegisterEVMAddressResponse) Reset ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) Reset()
func (*MsgRegisterEVMAddressResponse) Size ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) Size() (n int)
func (*MsgRegisterEVMAddressResponse) String ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) String() string
func (*MsgRegisterEVMAddressResponse) Unmarshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterEVMAddressResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) XXX_DiscardUnknown()
func (*MsgRegisterEVMAddressResponse) XXX_Marshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterEVMAddressResponse) XXX_Merge ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterEVMAddressResponse) XXX_Size ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) XXX_Size() int
func (*MsgRegisterEVMAddressResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *MsgRegisterEVMAddressResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // RegisterEVMAddress records an evm address for the validator which is used // by the relayer to aggregate signatures. A validator can only register a // single EVM address. The EVM address can be overridden by a later message. // There are no validity checks of the EVM addresses existence on the Ethereum // state machine. RegisterEVMAddress(context.Context, *MsgRegisterEVMAddress) (*MsgRegisterEVMAddressResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶ added in v0.7.0
type Params struct {
DataCommitmentWindow uint64 `protobuf:"varint,1,opt,name=data_commitment_window,json=dataCommitmentWindow,proto3" json:"data_commitment_window,omitempty"`
}
Params represent the Quantum Gravity Bridge genesis and store parameters.
func (*Params) Descriptor ¶ added in v0.7.0
func (*Params) GetDataCommitmentWindow ¶ added in v0.7.0
func (*Params) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Params) ParamSetPairs ¶ added in v0.7.0
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns all the key/value pairs of auth module's parameters.
func (*Params) ProtoMessage ¶ added in v0.7.0
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶ added in v0.7.0
ValidateBasic checks that the parameters have valid values.
func (*Params) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.7.0
func (*Params) XXX_Unmarshal ¶ added in v0.7.0
type QueryAttestationRequestByNonceRequest ¶ added in v0.7.0
type QueryAttestationRequestByNonceRequest struct {
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
QueryAttestationRequestByNonceRequest
func (*QueryAttestationRequestByNonceRequest) Descriptor ¶ added in v0.7.0
func (*QueryAttestationRequestByNonceRequest) Descriptor() ([]byte, []int)
func (*QueryAttestationRequestByNonceRequest) GetNonce ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) GetNonce() uint64
func (*QueryAttestationRequestByNonceRequest) Marshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) Marshal() (dAtA []byte, err error)
func (*QueryAttestationRequestByNonceRequest) MarshalTo ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationRequestByNonceRequest) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationRequestByNonceRequest) ProtoMessage ¶ added in v0.7.0
func (*QueryAttestationRequestByNonceRequest) ProtoMessage()
func (*QueryAttestationRequestByNonceRequest) Reset ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) Reset()
func (*QueryAttestationRequestByNonceRequest) Size ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) Size() (n int)
func (*QueryAttestationRequestByNonceRequest) String ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) String() string
func (*QueryAttestationRequestByNonceRequest) Unmarshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) Unmarshal(dAtA []byte) error
func (*QueryAttestationRequestByNonceRequest) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) XXX_DiscardUnknown()
func (*QueryAttestationRequestByNonceRequest) XXX_Marshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationRequestByNonceRequest) XXX_Merge ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) XXX_Merge(src proto.Message)
func (*QueryAttestationRequestByNonceRequest) XXX_Size ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) XXX_Size() int
func (*QueryAttestationRequestByNonceRequest) XXX_Unmarshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceRequest) XXX_Unmarshal(b []byte) error
type QueryAttestationRequestByNonceResponse ¶ added in v0.7.0
type QueryAttestationRequestByNonceResponse struct { // AttestationRequestI is either a Data Commitment or a Valset. // This was decided as part of the universal nonce approach under: // https://github.com/celestiaorg/celestia-app/issues/468#issuecomment-1156887715 Attestation *types.Any `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"` }
QueryAttestationRequestByNonceResponse
func (*QueryAttestationRequestByNonceResponse) Descriptor ¶ added in v0.7.0
func (*QueryAttestationRequestByNonceResponse) Descriptor() ([]byte, []int)
func (*QueryAttestationRequestByNonceResponse) GetAttestation ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) GetAttestation() *types.Any
func (*QueryAttestationRequestByNonceResponse) Marshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) Marshal() (dAtA []byte, err error)
func (*QueryAttestationRequestByNonceResponse) MarshalTo ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAttestationRequestByNonceResponse) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAttestationRequestByNonceResponse) ProtoMessage ¶ added in v0.7.0
func (*QueryAttestationRequestByNonceResponse) ProtoMessage()
func (*QueryAttestationRequestByNonceResponse) Reset ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) Reset()
func (*QueryAttestationRequestByNonceResponse) Size ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) Size() (n int)
func (*QueryAttestationRequestByNonceResponse) String ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) String() string
func (*QueryAttestationRequestByNonceResponse) Unmarshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) Unmarshal(dAtA []byte) error
func (*QueryAttestationRequestByNonceResponse) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) XXX_DiscardUnknown()
func (*QueryAttestationRequestByNonceResponse) XXX_Marshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAttestationRequestByNonceResponse) XXX_Merge ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) XXX_Merge(src proto.Message)
func (*QueryAttestationRequestByNonceResponse) XXX_Size ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) XXX_Size() int
func (*QueryAttestationRequestByNonceResponse) XXX_Unmarshal ¶ added in v0.7.0
func (m *QueryAttestationRequestByNonceResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Params queries the current parameters for the qgb module Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // AttestationRequestByNonce queries attestation request by nonce. // Returns nil if not found. AttestationRequestByNonce(ctx context.Context, in *QueryAttestationRequestByNonceRequest, opts ...grpc.CallOption) (*QueryAttestationRequestByNonceResponse, error) // LatestAttestationNonce queries latest attestation nonce. LatestAttestationNonce(ctx context.Context, in *QueryLatestAttestationNonceRequest, opts ...grpc.CallOption) (*QueryLatestAttestationNonceResponse, error) // EarliestAttestationNonce queries the earliest attestation nonce. EarliestAttestationNonce(ctx context.Context, in *QueryEarliestAttestationNonceRequest, opts ...grpc.CallOption) (*QueryEarliestAttestationNonceResponse, error) // LatestValsetRequestBeforeNonce Queries latest Valset request before nonce. // And, even if the current nonce is a valset, it will return the previous // one. // If the provided nonce is 1, it will return an error, because, there is // no valset before nonce 1. LatestValsetRequestBeforeNonce(ctx context.Context, in *QueryLatestValsetRequestBeforeNonceRequest, opts ...grpc.CallOption) (*QueryLatestValsetRequestBeforeNonceResponse, error) // LatestUnbondingHeight returns the latest unbonding height LatestUnbondingHeight(ctx context.Context, in *QueryLatestUnbondingHeightRequest, opts ...grpc.CallOption) (*QueryLatestUnbondingHeightResponse, error) // DataCommitmentRangeForHeight returns the data commitment window // that includes the provided height DataCommitmentRangeForHeight(ctx context.Context, in *QueryDataCommitmentRangeForHeightRequest, opts ...grpc.CallOption) (*QueryDataCommitmentRangeForHeightResponse, error) // LatestDataCommitment returns the latest data commitment in store LatestDataCommitment(ctx context.Context, in *QueryLatestDataCommitmentRequest, opts ...grpc.CallOption) (*QueryLatestDataCommitmentResponse, error) // EVMAddress returns the evm address associated with a supplied // validator address EVMAddress(ctx context.Context, in *QueryEVMAddressRequest, opts ...grpc.CallOption) (*QueryEVMAddressResponse, 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 QueryDataCommitmentRangeForHeightRequest ¶ added in v0.12.0
type QueryDataCommitmentRangeForHeightRequest struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
QueryDataCommitmentRangeForHeightRequest
func (*QueryDataCommitmentRangeForHeightRequest) Descriptor ¶ added in v0.12.0
func (*QueryDataCommitmentRangeForHeightRequest) Descriptor() ([]byte, []int)
func (*QueryDataCommitmentRangeForHeightRequest) GetHeight ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) GetHeight() uint64
func (*QueryDataCommitmentRangeForHeightRequest) Marshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryDataCommitmentRangeForHeightRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDataCommitmentRangeForHeightRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDataCommitmentRangeForHeightRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryDataCommitmentRangeForHeightRequest) ProtoMessage()
func (*QueryDataCommitmentRangeForHeightRequest) Reset ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) Reset()
func (*QueryDataCommitmentRangeForHeightRequest) Size ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) Size() (n int)
func (*QueryDataCommitmentRangeForHeightRequest) String ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) String() string
func (*QueryDataCommitmentRangeForHeightRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) Unmarshal(dAtA []byte) error
func (*QueryDataCommitmentRangeForHeightRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) XXX_DiscardUnknown()
func (*QueryDataCommitmentRangeForHeightRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataCommitmentRangeForHeightRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Merge(src proto.Message)
func (*QueryDataCommitmentRangeForHeightRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Size() int
func (*QueryDataCommitmentRangeForHeightRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightRequest) XXX_Unmarshal(b []byte) error
type QueryDataCommitmentRangeForHeightResponse ¶ added in v0.12.0
type QueryDataCommitmentRangeForHeightResponse struct {
DataCommitment *DataCommitment `protobuf:"bytes,1,opt,name=data_commitment,json=dataCommitment,proto3" json:"data_commitment,omitempty"`
}
QueryDataCommitmentRangeForHeightResponse
func (*QueryDataCommitmentRangeForHeightResponse) Descriptor ¶ added in v0.12.0
func (*QueryDataCommitmentRangeForHeightResponse) Descriptor() ([]byte, []int)
func (*QueryDataCommitmentRangeForHeightResponse) GetDataCommitment ¶ added in v1.0.0
func (m *QueryDataCommitmentRangeForHeightResponse) GetDataCommitment() *DataCommitment
func (*QueryDataCommitmentRangeForHeightResponse) Marshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryDataCommitmentRangeForHeightResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDataCommitmentRangeForHeightResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDataCommitmentRangeForHeightResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryDataCommitmentRangeForHeightResponse) ProtoMessage()
func (*QueryDataCommitmentRangeForHeightResponse) Reset ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) Reset()
func (*QueryDataCommitmentRangeForHeightResponse) Size ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) Size() (n int)
func (*QueryDataCommitmentRangeForHeightResponse) String ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) String() string
func (*QueryDataCommitmentRangeForHeightResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) Unmarshal(dAtA []byte) error
func (*QueryDataCommitmentRangeForHeightResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) XXX_DiscardUnknown()
func (*QueryDataCommitmentRangeForHeightResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataCommitmentRangeForHeightResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Merge(src proto.Message)
func (*QueryDataCommitmentRangeForHeightResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Size() int
func (*QueryDataCommitmentRangeForHeightResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryDataCommitmentRangeForHeightResponse) XXX_Unmarshal(b []byte) error
type QueryEVMAddressRequest ¶ added in v1.0.0
type QueryEVMAddressRequest struct {
ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}
QueryEVMAddressRequest
func (*QueryEVMAddressRequest) Descriptor ¶ added in v1.0.0
func (*QueryEVMAddressRequest) Descriptor() ([]byte, []int)
func (*QueryEVMAddressRequest) GetValidatorAddress ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) GetValidatorAddress() string
func (*QueryEVMAddressRequest) Marshal ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryEVMAddressRequest) MarshalTo ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEVMAddressRequest) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEVMAddressRequest) ProtoMessage ¶ added in v1.0.0
func (*QueryEVMAddressRequest) ProtoMessage()
func (*QueryEVMAddressRequest) Reset ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) Reset()
func (*QueryEVMAddressRequest) Size ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) Size() (n int)
func (*QueryEVMAddressRequest) String ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) String() string
func (*QueryEVMAddressRequest) Unmarshal ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryEVMAddressRequest) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) XXX_DiscardUnknown()
func (*QueryEVMAddressRequest) XXX_Marshal ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEVMAddressRequest) XXX_Merge ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) XXX_Merge(src proto.Message)
func (*QueryEVMAddressRequest) XXX_Size ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) XXX_Size() int
func (*QueryEVMAddressRequest) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryEVMAddressRequest) XXX_Unmarshal(b []byte) error
type QueryEVMAddressResponse ¶ added in v1.0.0
type QueryEVMAddressResponse struct {
EvmAddress string `protobuf:"bytes,1,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"`
}
QueryEVMAddressResponse
func (*QueryEVMAddressResponse) Descriptor ¶ added in v1.0.0
func (*QueryEVMAddressResponse) Descriptor() ([]byte, []int)
func (*QueryEVMAddressResponse) GetEvmAddress ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) GetEvmAddress() string
func (*QueryEVMAddressResponse) Marshal ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryEVMAddressResponse) MarshalTo ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEVMAddressResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEVMAddressResponse) ProtoMessage ¶ added in v1.0.0
func (*QueryEVMAddressResponse) ProtoMessage()
func (*QueryEVMAddressResponse) Reset ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) Reset()
func (*QueryEVMAddressResponse) Size ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) Size() (n int)
func (*QueryEVMAddressResponse) String ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) String() string
func (*QueryEVMAddressResponse) Unmarshal ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryEVMAddressResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) XXX_DiscardUnknown()
func (*QueryEVMAddressResponse) XXX_Marshal ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEVMAddressResponse) XXX_Merge ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) XXX_Merge(src proto.Message)
func (*QueryEVMAddressResponse) XXX_Size ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) XXX_Size() int
func (*QueryEVMAddressResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryEVMAddressResponse) XXX_Unmarshal(b []byte) error
type QueryEarliestAttestationNonceRequest ¶ added in v1.2.0
type QueryEarliestAttestationNonceRequest struct { }
QueryEarliestAttestationNonceRequest earliest attestation nonce request
func (*QueryEarliestAttestationNonceRequest) Descriptor ¶ added in v1.2.0
func (*QueryEarliestAttestationNonceRequest) Descriptor() ([]byte, []int)
func (*QueryEarliestAttestationNonceRequest) Marshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) Marshal() (dAtA []byte, err error)
func (*QueryEarliestAttestationNonceRequest) MarshalTo ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEarliestAttestationNonceRequest) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEarliestAttestationNonceRequest) ProtoMessage ¶ added in v1.2.0
func (*QueryEarliestAttestationNonceRequest) ProtoMessage()
func (*QueryEarliestAttestationNonceRequest) Reset ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) Reset()
func (*QueryEarliestAttestationNonceRequest) Size ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) Size() (n int)
func (*QueryEarliestAttestationNonceRequest) String ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) String() string
func (*QueryEarliestAttestationNonceRequest) Unmarshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) Unmarshal(dAtA []byte) error
func (*QueryEarliestAttestationNonceRequest) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) XXX_DiscardUnknown()
func (*QueryEarliestAttestationNonceRequest) XXX_Marshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEarliestAttestationNonceRequest) XXX_Merge ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) XXX_Merge(src proto.Message)
func (*QueryEarliestAttestationNonceRequest) XXX_Size ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) XXX_Size() int
func (*QueryEarliestAttestationNonceRequest) XXX_Unmarshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceRequest) XXX_Unmarshal(b []byte) error
type QueryEarliestAttestationNonceResponse ¶ added in v1.2.0
type QueryEarliestAttestationNonceResponse struct {
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
QueryEarliestAttestationNonceResponse earliest attestation nonce response
func (*QueryEarliestAttestationNonceResponse) Descriptor ¶ added in v1.2.0
func (*QueryEarliestAttestationNonceResponse) Descriptor() ([]byte, []int)
func (*QueryEarliestAttestationNonceResponse) GetNonce ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) GetNonce() uint64
func (*QueryEarliestAttestationNonceResponse) Marshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) Marshal() (dAtA []byte, err error)
func (*QueryEarliestAttestationNonceResponse) MarshalTo ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEarliestAttestationNonceResponse) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEarliestAttestationNonceResponse) ProtoMessage ¶ added in v1.2.0
func (*QueryEarliestAttestationNonceResponse) ProtoMessage()
func (*QueryEarliestAttestationNonceResponse) Reset ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) Reset()
func (*QueryEarliestAttestationNonceResponse) Size ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) Size() (n int)
func (*QueryEarliestAttestationNonceResponse) String ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) String() string
func (*QueryEarliestAttestationNonceResponse) Unmarshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) Unmarshal(dAtA []byte) error
func (*QueryEarliestAttestationNonceResponse) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) XXX_DiscardUnknown()
func (*QueryEarliestAttestationNonceResponse) XXX_Marshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEarliestAttestationNonceResponse) XXX_Merge ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) XXX_Merge(src proto.Message)
func (*QueryEarliestAttestationNonceResponse) XXX_Size ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) XXX_Size() int
func (*QueryEarliestAttestationNonceResponse) XXX_Unmarshal ¶ added in v1.2.0
func (m *QueryEarliestAttestationNonceResponse) XXX_Unmarshal(b []byte) error
type QueryLatestAttestationNonceRequest ¶ added in v0.7.0
type QueryLatestAttestationNonceRequest struct { }
QueryLatestAttestationNonceRequest latest attestation nonce request
func (*QueryLatestAttestationNonceRequest) Descriptor ¶ added in v0.7.0
func (*QueryLatestAttestationNonceRequest) Descriptor() ([]byte, []int)
func (*QueryLatestAttestationNonceRequest) Marshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestAttestationNonceRequest) MarshalTo ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestAttestationNonceRequest) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestAttestationNonceRequest) ProtoMessage ¶ added in v0.7.0
func (*QueryLatestAttestationNonceRequest) ProtoMessage()
func (*QueryLatestAttestationNonceRequest) Reset ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) Reset()
func (*QueryLatestAttestationNonceRequest) Size ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) Size() (n int)
func (*QueryLatestAttestationNonceRequest) String ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) String() string
func (*QueryLatestAttestationNonceRequest) Unmarshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestAttestationNonceRequest) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) XXX_DiscardUnknown()
func (*QueryLatestAttestationNonceRequest) XXX_Marshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestAttestationNonceRequest) XXX_Merge ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) XXX_Merge(src proto.Message)
func (*QueryLatestAttestationNonceRequest) XXX_Size ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) XXX_Size() int
func (*QueryLatestAttestationNonceRequest) XXX_Unmarshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceRequest) XXX_Unmarshal(b []byte) error
type QueryLatestAttestationNonceResponse ¶ added in v0.7.0
type QueryLatestAttestationNonceResponse struct {
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
QueryLatestAttestationNonceResponse latest attestation nonce response
func (*QueryLatestAttestationNonceResponse) Descriptor ¶ added in v0.7.0
func (*QueryLatestAttestationNonceResponse) Descriptor() ([]byte, []int)
func (*QueryLatestAttestationNonceResponse) GetNonce ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) GetNonce() uint64
func (*QueryLatestAttestationNonceResponse) Marshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestAttestationNonceResponse) MarshalTo ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestAttestationNonceResponse) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestAttestationNonceResponse) ProtoMessage ¶ added in v0.7.0
func (*QueryLatestAttestationNonceResponse) ProtoMessage()
func (*QueryLatestAttestationNonceResponse) Reset ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) Reset()
func (*QueryLatestAttestationNonceResponse) Size ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) Size() (n int)
func (*QueryLatestAttestationNonceResponse) String ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) String() string
func (*QueryLatestAttestationNonceResponse) Unmarshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestAttestationNonceResponse) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) XXX_DiscardUnknown()
func (*QueryLatestAttestationNonceResponse) XXX_Marshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestAttestationNonceResponse) XXX_Merge ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) XXX_Merge(src proto.Message)
func (*QueryLatestAttestationNonceResponse) XXX_Size ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) XXX_Size() int
func (*QueryLatestAttestationNonceResponse) XXX_Unmarshal ¶ added in v0.7.0
func (m *QueryLatestAttestationNonceResponse) XXX_Unmarshal(b []byte) error
type QueryLatestDataCommitmentRequest ¶ added in v1.0.0
type QueryLatestDataCommitmentRequest struct { }
QueryLatestDataCommitmentRequest
func (*QueryLatestDataCommitmentRequest) Descriptor ¶ added in v1.0.0
func (*QueryLatestDataCommitmentRequest) Descriptor() ([]byte, []int)
func (*QueryLatestDataCommitmentRequest) Marshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestDataCommitmentRequest) MarshalTo ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestDataCommitmentRequest) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestDataCommitmentRequest) ProtoMessage ¶ added in v1.0.0
func (*QueryLatestDataCommitmentRequest) ProtoMessage()
func (*QueryLatestDataCommitmentRequest) Reset ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) Reset()
func (*QueryLatestDataCommitmentRequest) Size ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) Size() (n int)
func (*QueryLatestDataCommitmentRequest) String ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) String() string
func (*QueryLatestDataCommitmentRequest) Unmarshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestDataCommitmentRequest) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) XXX_DiscardUnknown()
func (*QueryLatestDataCommitmentRequest) XXX_Marshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestDataCommitmentRequest) XXX_Merge ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) XXX_Merge(src proto.Message)
func (*QueryLatestDataCommitmentRequest) XXX_Size ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) XXX_Size() int
func (*QueryLatestDataCommitmentRequest) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentRequest) XXX_Unmarshal(b []byte) error
type QueryLatestDataCommitmentResponse ¶ added in v1.0.0
type QueryLatestDataCommitmentResponse struct {
DataCommitment *DataCommitment `protobuf:"bytes,1,opt,name=data_commitment,json=dataCommitment,proto3" json:"data_commitment,omitempty"`
}
QueryLatestDataCommitmentResponse
func (*QueryLatestDataCommitmentResponse) Descriptor ¶ added in v1.0.0
func (*QueryLatestDataCommitmentResponse) Descriptor() ([]byte, []int)
func (*QueryLatestDataCommitmentResponse) GetDataCommitment ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) GetDataCommitment() *DataCommitment
func (*QueryLatestDataCommitmentResponse) Marshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestDataCommitmentResponse) MarshalTo ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestDataCommitmentResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestDataCommitmentResponse) ProtoMessage ¶ added in v1.0.0
func (*QueryLatestDataCommitmentResponse) ProtoMessage()
func (*QueryLatestDataCommitmentResponse) Reset ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) Reset()
func (*QueryLatestDataCommitmentResponse) Size ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) Size() (n int)
func (*QueryLatestDataCommitmentResponse) String ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) String() string
func (*QueryLatestDataCommitmentResponse) Unmarshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestDataCommitmentResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) XXX_DiscardUnknown()
func (*QueryLatestDataCommitmentResponse) XXX_Marshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestDataCommitmentResponse) XXX_Merge ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) XXX_Merge(src proto.Message)
func (*QueryLatestDataCommitmentResponse) XXX_Size ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) XXX_Size() int
func (*QueryLatestDataCommitmentResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryLatestDataCommitmentResponse) XXX_Unmarshal(b []byte) error
type QueryLatestUnbondingHeightRequest ¶ added in v1.0.0
type QueryLatestUnbondingHeightRequest struct { }
QueryLatestUnbondingHeightRequest
func (*QueryLatestUnbondingHeightRequest) Descriptor ¶ added in v1.0.0
func (*QueryLatestUnbondingHeightRequest) Descriptor() ([]byte, []int)
func (*QueryLatestUnbondingHeightRequest) Marshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestUnbondingHeightRequest) MarshalTo ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestUnbondingHeightRequest) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestUnbondingHeightRequest) ProtoMessage ¶ added in v1.0.0
func (*QueryLatestUnbondingHeightRequest) ProtoMessage()
func (*QueryLatestUnbondingHeightRequest) Reset ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) Reset()
func (*QueryLatestUnbondingHeightRequest) Size ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) Size() (n int)
func (*QueryLatestUnbondingHeightRequest) String ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) String() string
func (*QueryLatestUnbondingHeightRequest) Unmarshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestUnbondingHeightRequest) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) XXX_DiscardUnknown()
func (*QueryLatestUnbondingHeightRequest) XXX_Marshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestUnbondingHeightRequest) XXX_Merge ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) XXX_Merge(src proto.Message)
func (*QueryLatestUnbondingHeightRequest) XXX_Size ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) XXX_Size() int
func (*QueryLatestUnbondingHeightRequest) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightRequest) XXX_Unmarshal(b []byte) error
type QueryLatestUnbondingHeightResponse ¶ added in v1.0.0
type QueryLatestUnbondingHeightResponse struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
QueryLatestUnbondingHeightResponse
func (*QueryLatestUnbondingHeightResponse) Descriptor ¶ added in v1.0.0
func (*QueryLatestUnbondingHeightResponse) Descriptor() ([]byte, []int)
func (*QueryLatestUnbondingHeightResponse) GetHeight ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) GetHeight() uint64
func (*QueryLatestUnbondingHeightResponse) Marshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestUnbondingHeightResponse) MarshalTo ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestUnbondingHeightResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestUnbondingHeightResponse) ProtoMessage ¶ added in v1.0.0
func (*QueryLatestUnbondingHeightResponse) ProtoMessage()
func (*QueryLatestUnbondingHeightResponse) Reset ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) Reset()
func (*QueryLatestUnbondingHeightResponse) Size ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) Size() (n int)
func (*QueryLatestUnbondingHeightResponse) String ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) String() string
func (*QueryLatestUnbondingHeightResponse) Unmarshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestUnbondingHeightResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) XXX_DiscardUnknown()
func (*QueryLatestUnbondingHeightResponse) XXX_Marshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestUnbondingHeightResponse) XXX_Merge ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) XXX_Merge(src proto.Message)
func (*QueryLatestUnbondingHeightResponse) XXX_Size ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) XXX_Size() int
func (*QueryLatestUnbondingHeightResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryLatestUnbondingHeightResponse) XXX_Unmarshal(b []byte) error
type QueryLatestValsetRequestBeforeNonceRequest ¶ added in v1.0.0
type QueryLatestValsetRequestBeforeNonceRequest struct {
Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}
QueryLatestValsetRequestBeforeNonceRequest latest Valset request before universal nonce request
func (*QueryLatestValsetRequestBeforeNonceRequest) Descriptor ¶ added in v1.0.0
func (*QueryLatestValsetRequestBeforeNonceRequest) Descriptor() ([]byte, []int)
func (*QueryLatestValsetRequestBeforeNonceRequest) GetNonce ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) GetNonce() uint64
func (*QueryLatestValsetRequestBeforeNonceRequest) Marshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) Marshal() (dAtA []byte, err error)
func (*QueryLatestValsetRequestBeforeNonceRequest) MarshalTo ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestValsetRequestBeforeNonceRequest) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestValsetRequestBeforeNonceRequest) ProtoMessage ¶ added in v1.0.0
func (*QueryLatestValsetRequestBeforeNonceRequest) ProtoMessage()
func (*QueryLatestValsetRequestBeforeNonceRequest) Reset ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) Reset()
func (*QueryLatestValsetRequestBeforeNonceRequest) Size ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) Size() (n int)
func (*QueryLatestValsetRequestBeforeNonceRequest) String ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) String() string
func (*QueryLatestValsetRequestBeforeNonceRequest) Unmarshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) Unmarshal(dAtA []byte) error
func (*QueryLatestValsetRequestBeforeNonceRequest) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_DiscardUnknown()
func (*QueryLatestValsetRequestBeforeNonceRequest) XXX_Marshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestValsetRequestBeforeNonceRequest) XXX_Merge ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Merge(src proto.Message)
func (*QueryLatestValsetRequestBeforeNonceRequest) XXX_Size ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Size() int
func (*QueryLatestValsetRequestBeforeNonceRequest) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceRequest) XXX_Unmarshal(b []byte) error
type QueryLatestValsetRequestBeforeNonceResponse ¶ added in v1.0.0
type QueryLatestValsetRequestBeforeNonceResponse struct {
Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"`
}
QueryLatestValsetRequestBeforeNonceResponse latest Valset request before height response
func (*QueryLatestValsetRequestBeforeNonceResponse) Descriptor ¶ added in v1.0.0
func (*QueryLatestValsetRequestBeforeNonceResponse) Descriptor() ([]byte, []int)
func (*QueryLatestValsetRequestBeforeNonceResponse) GetValset ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) GetValset() *Valset
func (*QueryLatestValsetRequestBeforeNonceResponse) Marshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) Marshal() (dAtA []byte, err error)
func (*QueryLatestValsetRequestBeforeNonceResponse) MarshalTo ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLatestValsetRequestBeforeNonceResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLatestValsetRequestBeforeNonceResponse) ProtoMessage ¶ added in v1.0.0
func (*QueryLatestValsetRequestBeforeNonceResponse) ProtoMessage()
func (*QueryLatestValsetRequestBeforeNonceResponse) Reset ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) Reset()
func (*QueryLatestValsetRequestBeforeNonceResponse) Size ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) Size() (n int)
func (*QueryLatestValsetRequestBeforeNonceResponse) String ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) String() string
func (*QueryLatestValsetRequestBeforeNonceResponse) Unmarshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) Unmarshal(dAtA []byte) error
func (*QueryLatestValsetRequestBeforeNonceResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_DiscardUnknown()
func (*QueryLatestValsetRequestBeforeNonceResponse) XXX_Marshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLatestValsetRequestBeforeNonceResponse) XXX_Merge ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Merge(src proto.Message)
func (*QueryLatestValsetRequestBeforeNonceResponse) XXX_Size ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Size() int
func (*QueryLatestValsetRequestBeforeNonceResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *QueryLatestValsetRequestBeforeNonceResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v0.7.0
type QueryParamsRequest struct { }
QueryParamsRequest
func (*QueryParamsRequest) Descriptor ¶ added in v0.7.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.7.0
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.7.0
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.7.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.7.0
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.7.0
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.7.0
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.7.0
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.7.0
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.7.0
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.7.0
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.7.0
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.7.0
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse
func (*QueryParamsResponse) Descriptor ¶ added in v0.7.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.7.0
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.7.0
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.7.0
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.7.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.7.0
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.7.0
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.7.0
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.7.0
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.7.0
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.7.0
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.7.0
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.7.0
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Params queries the current parameters for the qgb module Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // AttestationRequestByNonce queries attestation request by nonce. // Returns nil if not found. AttestationRequestByNonce(context.Context, *QueryAttestationRequestByNonceRequest) (*QueryAttestationRequestByNonceResponse, error) // LatestAttestationNonce queries latest attestation nonce. LatestAttestationNonce(context.Context, *QueryLatestAttestationNonceRequest) (*QueryLatestAttestationNonceResponse, error) // EarliestAttestationNonce queries the earliest attestation nonce. EarliestAttestationNonce(context.Context, *QueryEarliestAttestationNonceRequest) (*QueryEarliestAttestationNonceResponse, error) // LatestValsetRequestBeforeNonce Queries latest Valset request before nonce. // And, even if the current nonce is a valset, it will return the previous // one. // If the provided nonce is 1, it will return an error, because, there is // no valset before nonce 1. LatestValsetRequestBeforeNonce(context.Context, *QueryLatestValsetRequestBeforeNonceRequest) (*QueryLatestValsetRequestBeforeNonceResponse, error) // LatestUnbondingHeight returns the latest unbonding height LatestUnbondingHeight(context.Context, *QueryLatestUnbondingHeightRequest) (*QueryLatestUnbondingHeightResponse, error) // DataCommitmentRangeForHeight returns the data commitment window // that includes the provided height DataCommitmentRangeForHeight(context.Context, *QueryDataCommitmentRangeForHeightRequest) (*QueryDataCommitmentRangeForHeightResponse, error) // LatestDataCommitment returns the latest data commitment in store LatestDataCommitment(context.Context, *QueryLatestDataCommitmentRequest) (*QueryLatestDataCommitmentResponse, error) // EVMAddress returns the evm address associated with a supplied // validator address EVMAddress(context.Context, *QueryEVMAddressRequest) (*QueryEVMAddressResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RegisterEVMAddress ¶ added in v1.0.0
func (*UnimplementedMsgServer) RegisterEVMAddress(ctx context.Context, req *MsgRegisterEVMAddress) (*MsgRegisterEVMAddressResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AttestationRequestByNonce ¶ added in v0.7.0
func (*UnimplementedQueryServer) AttestationRequestByNonce(ctx context.Context, req *QueryAttestationRequestByNonceRequest) (*QueryAttestationRequestByNonceResponse, error)
func (*UnimplementedQueryServer) DataCommitmentRangeForHeight ¶ added in v0.12.0
func (*UnimplementedQueryServer) DataCommitmentRangeForHeight(ctx context.Context, req *QueryDataCommitmentRangeForHeightRequest) (*QueryDataCommitmentRangeForHeightResponse, error)
func (*UnimplementedQueryServer) EVMAddress ¶ added in v1.0.0
func (*UnimplementedQueryServer) EVMAddress(ctx context.Context, req *QueryEVMAddressRequest) (*QueryEVMAddressResponse, error)
func (*UnimplementedQueryServer) EarliestAttestationNonce ¶ added in v1.2.0
func (*UnimplementedQueryServer) EarliestAttestationNonce(ctx context.Context, req *QueryEarliestAttestationNonceRequest) (*QueryEarliestAttestationNonceResponse, error)
func (*UnimplementedQueryServer) LatestAttestationNonce ¶ added in v0.7.0
func (*UnimplementedQueryServer) LatestAttestationNonce(ctx context.Context, req *QueryLatestAttestationNonceRequest) (*QueryLatestAttestationNonceResponse, error)
func (*UnimplementedQueryServer) LatestDataCommitment ¶ added in v1.0.0
func (*UnimplementedQueryServer) LatestDataCommitment(ctx context.Context, req *QueryLatestDataCommitmentRequest) (*QueryLatestDataCommitmentResponse, error)
func (*UnimplementedQueryServer) LatestUnbondingHeight ¶ added in v1.0.0
func (*UnimplementedQueryServer) LatestUnbondingHeight(ctx context.Context, req *QueryLatestUnbondingHeightRequest) (*QueryLatestUnbondingHeightResponse, error)
func (*UnimplementedQueryServer) LatestValsetRequestBeforeNonce ¶ added in v1.0.0
func (*UnimplementedQueryServer) LatestValsetRequestBeforeNonce(ctx context.Context, req *QueryLatestValsetRequestBeforeNonceRequest) (*QueryLatestValsetRequestBeforeNonceResponse, error)
func (*UnimplementedQueryServer) Params ¶ added in v0.7.0
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type Valset ¶ added in v0.7.0
type Valset struct { // Universal nonce defined under: // https://github.com/celestiaorg/celestia-app/pull/464 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // List of BridgeValidator containing the current validator set. Members []BridgeValidator `protobuf:"bytes,2,rep,name=members,proto3" json:"members"` // Current chain height Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // Block time where this valset was created Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"` }
Valset is the EVM Bridge Multsig Set, each qgb validator also maintains an ETH key to sign messages, these are used to check signatures on ETH because of the significant gas savings
func NewValset ¶ added in v0.7.0
func NewValset(nonce, height uint64, members InternalBridgeValidators, blockTime time.Time) (*Valset, error)
NewValset returns a new valset.
func (*Valset) Descriptor ¶ added in v0.7.0
func (*Valset) GetMembers ¶ added in v0.7.0
func (m *Valset) GetMembers() []BridgeValidator
func (*Valset) Hash ¶ added in v0.7.0
Hash mimics the 'computeValsetHash' function used by the qgb contracts by using a Valset to compute the hash of the abi encoded validator set.
func (*Valset) MarshalToSizedBuffer ¶ added in v0.7.0
func (*Valset) ProtoMessage ¶ added in v0.7.0
func (*Valset) ProtoMessage()
func (*Valset) SignBytes ¶ added in v0.7.0
SignBytes produces the bytes that celestia validators are required to sign over when the validator set changes.
func (*Valset) TwoThirdsThreshold ¶ added in v0.7.0
func (*Valset) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *Valset) XXX_DiscardUnknown()