Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AllowlistCapKey(chainID string, providerAddr ProviderConsAddress) []byte
- func ChainIdAndConsAddrKey(prefix byte, chainID string, addr sdk.ConsAddress) []byte
- func ChainIdAndTsKey(prefix byte, chainID string, timestamp time.Time) []byte
- func ChainIdAndUintIdKey(prefix byte, chainID string, uintId uint64) []byte
- func ChainIdWithLenKey(prefix byte, chainID string) []byte
- func ChainToChannelKey(chainID string) []byte
- func ChainToClientKey(chainID string) []byte
- func ChannelToChainKey(channelID string) []byte
- func ConsumerAddrsToPruneKey(chainID string, vscID uint64) []byte
- func ConsumerCommissionRateKey(chainID string, providerAddr ProviderConsAddress) []byte
- func ConsumerGenesisKey(chainID string) []byte
- func ConsumerRewardDenomsKey(denom string) []byte
- func ConsumerRewardsAllocationKey(chainID string) []byte
- func ConsumerValidatorKey(chainID string, providerAddr []byte) []byte
- func ConsumerValidatorsKey(chainID string, addr ProviderConsAddress) []byte
- func DenylistCapKey(chainID string, providerAddr ProviderConsAddress) []byte
- func EquivocationEvidenceMinHeightKey(consumerChainID string) []byte
- func GlobalSlashEntryKey(entry GlobalSlashEntry) []byte
- func InitChainHeightKey(chainID string) []byte
- func InitTimeoutTimestampKey(chainID string) []byte
- func KeyAssignmentValidateBasic(assignedKeys []ValidatorConsumerPubKey, ...) error
- func MaturedUnbondingOpsKey() []byte
- func MinimumPowerInTopNKey(chainID string) []byte
- func MustParseGlobalSlashEntryKey(bz []byte) (recvTime time.Time, consumerChainID string, ibcSeqNum uint64)
- func MustParseThrottledPacketDataKey(key []byte) (string, uint64)
- func NewChangeRewardDenomsProposal(title, description string, denomsToAdd, denomsToRemove []string) govv1beta1.Content
- func NewConsumerAdditionProposal(title, description, chainID string, initialHeight clienttypes.Height, ...) govv1beta1.Content
- func NewConsumerModificationProposal(title, description, chainID string, topN uint32, validatorsPowerCap uint32, ...) govv1beta1.Content
- func NewConsumerRemovalProposal(title, description, chainID string, stopTime time.Time) govv1beta1.Content
- func NewEquivocationProposal(title, description string, equivocations []*evidencetypes.Equivocation) govv1beta1.Content
- func OptedInKey(chainID string, providerAddr ProviderConsAddress) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func ParseChainIdAndConsAddrKey(prefix byte, bz []byte) (string, sdk.ConsAddress, error)
- func ParseChainIdAndTsKey(prefix byte, bz []byte) (string, time.Time, error)
- func ParseChainIdAndUintIdKey(prefix byte, bz []byte) (string, uint64, error)
- func ParseConsumerKeyFromJson(jsonStr string) (pkType, key string, err error)
- func ParseProposedConsumerChainKey(prefix byte, bz []byte) (uint64, error)
- func ParseThrottledPacketDataKey(key []byte) (chainId string, ibcSeqNum uint64, err error)
- func ParseUnbondingOpIndexKey(key []byte) (string, uint64, error)
- func ParseVscSendingTimestampKey(bz []byte) (string, uint64, error)
- func PendingCAPKey(timestamp time.Time, chainID string) []byte
- func PendingCRPKey(timestamp time.Time, chainID string) []byte
- func PendingVSCsKey(chainID string) []byte
- func PortKey() []byte
- func ProposedConsumerChainKey(proposalID uint64) []byte
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SlashAcksKey(chainID string) []byte
- func SlashLogKey(providerAddr ProviderConsAddress) []byte
- func SlashMeterKey() []byte
- func SlashMeterReplenishTimeCandidateKey() []byte
- func ThrottledPacketDataKey(consumerChainID string, ibcSeqNum uint64) []byte
- func ThrottledPacketDataSizeKey(consumerChainID string) []byte
- func TopNKey(chainID string) []byte
- func UnbondingOpIndexKey(chainID string, vscID uint64) []byte
- func UnbondingOpKey(id uint64) []byte
- func VSCMaturedHandledThisBlockKey() []byte
- func ValidateCoin(i interface{}) error
- func ValidatePSSFeatures(topN, validatorsPowerCap uint32) error
- func ValidateTemplateClient(i interface{}) error
- func ValidatorSetCapKey(chainID string) []byte
- func ValidatorSetUpdateIdKey() []byte
- func ValidatorsByConsumerAddrKey(chainID string, addr ConsumerConsAddress) []byte
- func ValidatorsPowerCapKey(chainID string) []byte
- func ValsetUpdateBlockHeightKey(valsetUpdateId uint64) []byte
- func VscSendingTimestampKey(chainID string, vscID uint64) []byte
- type AddressList
- func (*AddressList) Descriptor() ([]byte, []int)
- func (m *AddressList) GetAddresses() [][]byte
- func (m *AddressList) Marshal() (dAtA []byte, err error)
- func (m *AddressList) MarshalTo(dAtA []byte) (int, error)
- func (m *AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddressList) ProtoMessage()
- func (m *AddressList) Reset()
- func (m *AddressList) Size() (n int)
- func (m *AddressList) String() string
- func (m *AddressList) Unmarshal(dAtA []byte) error
- func (m *AddressList) XXX_DiscardUnknown()
- func (m *AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddressList) XXX_Merge(src proto.Message)
- func (m *AddressList) XXX_Size() int
- func (m *AddressList) XXX_Unmarshal(b []byte) error
- type Chain
- func (*Chain) Descriptor() ([]byte, []int)
- func (m *Chain) GetAllowlist() []string
- func (m *Chain) GetChainId() string
- func (m *Chain) GetClientId() string
- func (m *Chain) GetDenylist() []string
- func (m *Chain) GetMinPowerInTop_N() int64
- func (m *Chain) GetTop_N() uint32
- func (m *Chain) GetValidatorSetCap() uint32
- func (m *Chain) GetValidatorsPowerCap() uint32
- func (m *Chain) Marshal() (dAtA []byte, err error)
- func (m *Chain) MarshalTo(dAtA []byte) (int, error)
- func (m *Chain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chain) ProtoMessage()
- func (m *Chain) Reset()
- func (m *Chain) Size() (n int)
- func (m *Chain) String() string
- func (m *Chain) Unmarshal(dAtA []byte) error
- func (m *Chain) XXX_DiscardUnknown()
- func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chain) XXX_Merge(src proto.Message)
- func (m *Chain) XXX_Size() int
- func (m *Chain) XXX_Unmarshal(b []byte) error
- type ChangeRewardDenomsProposal
- func (*ChangeRewardDenomsProposal) Descriptor() ([]byte, []int)
- func (m *ChangeRewardDenomsProposal) GetDenomsToAdd() []string
- func (m *ChangeRewardDenomsProposal) GetDenomsToRemove() []string
- func (m *ChangeRewardDenomsProposal) GetDescription() string
- func (m *ChangeRewardDenomsProposal) GetTitle() string
- func (m *ChangeRewardDenomsProposal) Marshal() (dAtA []byte, err error)
- func (m *ChangeRewardDenomsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ChangeRewardDenomsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (crdp *ChangeRewardDenomsProposal) ProposalRoute() string
- func (crdp *ChangeRewardDenomsProposal) ProposalType() string
- func (*ChangeRewardDenomsProposal) ProtoMessage()
- func (m *ChangeRewardDenomsProposal) Reset()
- func (m *ChangeRewardDenomsProposal) Size() (n int)
- func (m *ChangeRewardDenomsProposal) String() string
- func (m *ChangeRewardDenomsProposal) Unmarshal(dAtA []byte) error
- func (crdp *ChangeRewardDenomsProposal) ValidateBasic() error
- func (m *ChangeRewardDenomsProposal) XXX_DiscardUnknown()
- func (m *ChangeRewardDenomsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeRewardDenomsProposal) XXX_Merge(src proto.Message)
- func (m *ChangeRewardDenomsProposal) XXX_Size() int
- func (m *ChangeRewardDenomsProposal) XXX_Unmarshal(b []byte) error
- type ChannelToChain
- func (*ChannelToChain) Descriptor() ([]byte, []int)
- func (m *ChannelToChain) GetChainId() string
- func (m *ChannelToChain) GetChannelId() string
- func (m *ChannelToChain) Marshal() (dAtA []byte, err error)
- func (m *ChannelToChain) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelToChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelToChain) ProtoMessage()
- func (m *ChannelToChain) Reset()
- func (m *ChannelToChain) Size() (n int)
- func (m *ChannelToChain) String() string
- func (m *ChannelToChain) Unmarshal(dAtA []byte) error
- func (m *ChannelToChain) XXX_DiscardUnknown()
- func (m *ChannelToChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelToChain) XXX_Merge(src proto.Message)
- func (m *ChannelToChain) XXX_Size() int
- func (m *ChannelToChain) XXX_Unmarshal(b []byte) error
- type ConsumerAdditionProposal
- func (*ConsumerAdditionProposal) Descriptor() ([]byte, []int)
- func (cccp *ConsumerAdditionProposal) GetDescription() string
- func (cccp *ConsumerAdditionProposal) GetTitle() string
- func (m *ConsumerAdditionProposal) Marshal() (dAtA []byte, err error)
- func (m *ConsumerAdditionProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerAdditionProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (cccp *ConsumerAdditionProposal) ProposalRoute() string
- func (cccp *ConsumerAdditionProposal) ProposalType() string
- func (*ConsumerAdditionProposal) ProtoMessage()
- func (m *ConsumerAdditionProposal) Reset()
- func (m *ConsumerAdditionProposal) Size() (n int)
- func (cccp *ConsumerAdditionProposal) String() string
- func (m *ConsumerAdditionProposal) Unmarshal(dAtA []byte) error
- func (cccp *ConsumerAdditionProposal) ValidateBasic() error
- func (m *ConsumerAdditionProposal) XXX_DiscardUnknown()
- func (m *ConsumerAdditionProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerAdditionProposal) XXX_Merge(src proto.Message)
- func (m *ConsumerAdditionProposal) XXX_Size() int
- func (m *ConsumerAdditionProposal) XXX_Unmarshal(b []byte) error
- type ConsumerAdditionProposals
- func (*ConsumerAdditionProposals) Descriptor() ([]byte, []int)
- func (m *ConsumerAdditionProposals) GetPending() []*ConsumerAdditionProposal
- func (m *ConsumerAdditionProposals) Marshal() (dAtA []byte, err error)
- func (m *ConsumerAdditionProposals) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerAdditionProposals) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerAdditionProposals) ProtoMessage()
- func (m *ConsumerAdditionProposals) Reset()
- func (m *ConsumerAdditionProposals) Size() (n int)
- func (m *ConsumerAdditionProposals) String() string
- func (m *ConsumerAdditionProposals) Unmarshal(dAtA []byte) error
- func (m *ConsumerAdditionProposals) XXX_DiscardUnknown()
- func (m *ConsumerAdditionProposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerAdditionProposals) XXX_Merge(src proto.Message)
- func (m *ConsumerAdditionProposals) XXX_Size() int
- func (m *ConsumerAdditionProposals) XXX_Unmarshal(b []byte) error
- type ConsumerAddrsToPrune
- func (*ConsumerAddrsToPrune) Descriptor() ([]byte, []int)
- func (m *ConsumerAddrsToPrune) GetChainId() string
- func (m *ConsumerAddrsToPrune) GetConsumerAddrs() *AddressList
- func (m *ConsumerAddrsToPrune) GetVscId() uint64
- func (m *ConsumerAddrsToPrune) Marshal() (dAtA []byte, err error)
- func (m *ConsumerAddrsToPrune) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerAddrsToPrune) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerAddrsToPrune) ProtoMessage()
- func (m *ConsumerAddrsToPrune) Reset()
- func (m *ConsumerAddrsToPrune) Size() (n int)
- func (m *ConsumerAddrsToPrune) String() string
- func (m *ConsumerAddrsToPrune) Unmarshal(dAtA []byte) error
- func (m *ConsumerAddrsToPrune) XXX_DiscardUnknown()
- func (m *ConsumerAddrsToPrune) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerAddrsToPrune) XXX_Merge(src proto.Message)
- func (m *ConsumerAddrsToPrune) XXX_Size() int
- func (m *ConsumerAddrsToPrune) XXX_Unmarshal(b []byte) error
- type ConsumerConsAddress
- type ConsumerModificationProposal
- func (*ConsumerModificationProposal) Descriptor() ([]byte, []int)
- func (m *ConsumerModificationProposal) GetAllowlist() []string
- func (m *ConsumerModificationProposal) GetChainId() string
- func (m *ConsumerModificationProposal) GetDenylist() []string
- func (m *ConsumerModificationProposal) GetDescription() string
- func (m *ConsumerModificationProposal) GetTitle() string
- func (m *ConsumerModificationProposal) GetTop_N() uint32
- func (m *ConsumerModificationProposal) GetValidatorSetCap() uint32
- func (m *ConsumerModificationProposal) GetValidatorsPowerCap() uint32
- func (m *ConsumerModificationProposal) Marshal() (dAtA []byte, err error)
- func (m *ConsumerModificationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (cccp *ConsumerModificationProposal) ProposalRoute() string
- func (cccp *ConsumerModificationProposal) ProposalType() string
- func (*ConsumerModificationProposal) ProtoMessage()
- func (m *ConsumerModificationProposal) Reset()
- func (m *ConsumerModificationProposal) Size() (n int)
- func (m *ConsumerModificationProposal) String() string
- func (m *ConsumerModificationProposal) Unmarshal(dAtA []byte) error
- func (cccp *ConsumerModificationProposal) ValidateBasic() error
- func (m *ConsumerModificationProposal) XXX_DiscardUnknown()
- func (m *ConsumerModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerModificationProposal) XXX_Merge(src proto.Message)
- func (m *ConsumerModificationProposal) XXX_Size() int
- func (m *ConsumerModificationProposal) XXX_Unmarshal(b []byte) error
- type ConsumerRemovalProposal
- func (*ConsumerRemovalProposal) Descriptor() ([]byte, []int)
- func (m *ConsumerRemovalProposal) GetChainId() string
- func (m *ConsumerRemovalProposal) GetDescription() string
- func (m *ConsumerRemovalProposal) GetStopTime() time.Time
- func (m *ConsumerRemovalProposal) GetTitle() string
- func (m *ConsumerRemovalProposal) Marshal() (dAtA []byte, err error)
- func (m *ConsumerRemovalProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerRemovalProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sccp *ConsumerRemovalProposal) ProposalRoute() string
- func (sccp *ConsumerRemovalProposal) ProposalType() string
- func (*ConsumerRemovalProposal) ProtoMessage()
- func (m *ConsumerRemovalProposal) Reset()
- func (m *ConsumerRemovalProposal) Size() (n int)
- func (m *ConsumerRemovalProposal) String() string
- func (m *ConsumerRemovalProposal) Unmarshal(dAtA []byte) error
- func (sccp *ConsumerRemovalProposal) ValidateBasic() error
- func (m *ConsumerRemovalProposal) XXX_DiscardUnknown()
- func (m *ConsumerRemovalProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerRemovalProposal) XXX_Merge(src proto.Message)
- func (m *ConsumerRemovalProposal) XXX_Size() int
- func (m *ConsumerRemovalProposal) XXX_Unmarshal(b []byte) error
- type ConsumerRemovalProposals
- func (*ConsumerRemovalProposals) Descriptor() ([]byte, []int)
- func (m *ConsumerRemovalProposals) GetPending() []*ConsumerRemovalProposal
- func (m *ConsumerRemovalProposals) Marshal() (dAtA []byte, err error)
- func (m *ConsumerRemovalProposals) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerRemovalProposals) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerRemovalProposals) ProtoMessage()
- func (m *ConsumerRemovalProposals) Reset()
- func (m *ConsumerRemovalProposals) Size() (n int)
- func (m *ConsumerRemovalProposals) String() string
- func (m *ConsumerRemovalProposals) Unmarshal(dAtA []byte) error
- func (m *ConsumerRemovalProposals) XXX_DiscardUnknown()
- func (m *ConsumerRemovalProposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerRemovalProposals) XXX_Merge(src proto.Message)
- func (m *ConsumerRemovalProposals) XXX_Size() int
- func (m *ConsumerRemovalProposals) XXX_Unmarshal(b []byte) error
- type ConsumerRewardsAllocation
- func (*ConsumerRewardsAllocation) Descriptor() ([]byte, []int)
- func (m *ConsumerRewardsAllocation) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *ConsumerRewardsAllocation) Marshal() (dAtA []byte, err error)
- func (m *ConsumerRewardsAllocation) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerRewardsAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerRewardsAllocation) ProtoMessage()
- func (m *ConsumerRewardsAllocation) Reset()
- func (m *ConsumerRewardsAllocation) Size() (n int)
- func (m *ConsumerRewardsAllocation) String() string
- func (m *ConsumerRewardsAllocation) Unmarshal(dAtA []byte) error
- func (m *ConsumerRewardsAllocation) XXX_DiscardUnknown()
- func (m *ConsumerRewardsAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerRewardsAllocation) XXX_Merge(src proto.Message)
- func (m *ConsumerRewardsAllocation) XXX_Size() int
- func (m *ConsumerRewardsAllocation) XXX_Unmarshal(b []byte) error
- type ConsumerState
- func (*ConsumerState) Descriptor() ([]byte, []int)
- func (m *ConsumerState) GetChainId() string
- func (m *ConsumerState) GetChannelId() string
- func (m *ConsumerState) GetClientId() string
- func (m *ConsumerState) GetConsumerGenesis() types.ConsumerGenesisState
- func (m *ConsumerState) GetInitialHeight() uint64
- func (m *ConsumerState) GetPendingValsetChanges() []types.ValidatorSetChangePacketData
- func (m *ConsumerState) GetSlashDowntimeAck() []string
- func (m *ConsumerState) GetUnbondingOpsIndex() []VscUnbondingOps
- func (m *ConsumerState) Marshal() (dAtA []byte, err error)
- func (m *ConsumerState) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerState) ProtoMessage()
- func (m *ConsumerState) Reset()
- func (m *ConsumerState) Size() (n int)
- func (m *ConsumerState) String() string
- func (m *ConsumerState) Unmarshal(dAtA []byte) error
- func (cs ConsumerState) Validate() error
- func (m *ConsumerState) XXX_DiscardUnknown()
- func (m *ConsumerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerState) XXX_Merge(src proto.Message)
- func (m *ConsumerState) XXX_Size() int
- func (m *ConsumerState) XXX_Unmarshal(b []byte) error
- type ConsumerValidator
- func (*ConsumerValidator) Descriptor() ([]byte, []int)
- func (m *ConsumerValidator) GetConsumerPublicKey() *crypto.PublicKey
- func (m *ConsumerValidator) GetJoinHeight() int64
- func (m *ConsumerValidator) GetPower() int64
- func (m *ConsumerValidator) GetProviderConsAddr() []byte
- func (m *ConsumerValidator) Marshal() (dAtA []byte, err error)
- func (m *ConsumerValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerValidator) ProtoMessage()
- func (m *ConsumerValidator) Reset()
- func (m *ConsumerValidator) Size() (n int)
- func (m *ConsumerValidator) String() string
- func (m *ConsumerValidator) Unmarshal(dAtA []byte) error
- func (m *ConsumerValidator) XXX_DiscardUnknown()
- func (m *ConsumerValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerValidator) XXX_Merge(src proto.Message)
- func (m *ConsumerValidator) XXX_Size() int
- func (m *ConsumerValidator) XXX_Unmarshal(b []byte) error
- type EquivocationProposaldeprecated
- func (*EquivocationProposal) Descriptor() ([]byte, []int)
- func (m *EquivocationProposal) GetDescription() string
- func (m *EquivocationProposal) GetEquivocations() []*types1.Equivocation
- func (m *EquivocationProposal) GetTitle() string
- func (m *EquivocationProposal) Marshal() (dAtA []byte, err error)
- func (m *EquivocationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *EquivocationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (sp *EquivocationProposal) ProposalRoute() string
- func (sp *EquivocationProposal) ProposalType() string
- func (*EquivocationProposal) ProtoMessage()
- func (m *EquivocationProposal) Reset()
- func (m *EquivocationProposal) Size() (n int)
- func (m *EquivocationProposal) String() string
- func (m *EquivocationProposal) Unmarshal(dAtA []byte) error
- func (sp *EquivocationProposal) ValidateBasic() error
- func (m *EquivocationProposal) XXX_DiscardUnknown()
- func (m *EquivocationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EquivocationProposal) XXX_Merge(src proto.Message)
- func (m *EquivocationProposal) XXX_Size() int
- func (m *EquivocationProposal) XXX_Unmarshal(b []byte) error
- type ExportedVscSendTimestamp
- func (*ExportedVscSendTimestamp) Descriptor() ([]byte, []int)
- func (m *ExportedVscSendTimestamp) GetChainId() string
- func (m *ExportedVscSendTimestamp) GetVscSendTimestamps() []VscSendTimestamp
- func (m *ExportedVscSendTimestamp) Marshal() (dAtA []byte, err error)
- func (m *ExportedVscSendTimestamp) MarshalTo(dAtA []byte) (int, error)
- func (m *ExportedVscSendTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExportedVscSendTimestamp) ProtoMessage()
- func (m *ExportedVscSendTimestamp) Reset()
- func (m *ExportedVscSendTimestamp) Size() (n int)
- func (m *ExportedVscSendTimestamp) String() string
- func (m *ExportedVscSendTimestamp) Unmarshal(dAtA []byte) error
- func (m *ExportedVscSendTimestamp) XXX_DiscardUnknown()
- func (m *ExportedVscSendTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportedVscSendTimestamp) XXX_Merge(src proto.Message)
- func (m *ExportedVscSendTimestamp) XXX_Size() int
- func (m *ExportedVscSendTimestamp) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetConsumerAdditionProposals() []ConsumerAdditionProposal
- func (m *GenesisState) GetConsumerAddrsToPrune() []ConsumerAddrsToPrune
- func (m *GenesisState) GetConsumerRemovalProposals() []ConsumerRemovalProposal
- func (m *GenesisState) GetConsumerStates() []ConsumerState
- func (m *GenesisState) GetExportedVscSendTimestamps() []ExportedVscSendTimestamp
- func (m *GenesisState) GetInitTimeoutTimestamps() []InitTimeoutTimestamp
- func (m *GenesisState) GetMatureUnbondingOps() *MaturedUnbondingOps
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetUnbondingOps() []UnbondingOp
- func (m *GenesisState) GetValidatorConsumerPubkeys() []ValidatorConsumerPubKey
- func (m *GenesisState) GetValidatorsByConsumerAddr() []ValidatorByConsumerAddr
- func (m *GenesisState) GetValsetUpdateId() uint64
- func (m *GenesisState) GetValsetUpdateIdToHeight() []ValsetUpdateIdToHeight
- 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 (gs GenesisState) ValidateUnbondingOp(ubdOp UnbondingOp) 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 GlobalSlashEntry
- func (*GlobalSlashEntry) Descriptor() ([]byte, []int)
- func (m *GlobalSlashEntry) GetConsumerChainID() string
- func (m *GlobalSlashEntry) GetIbcSeqNum() uint64
- func (m *GlobalSlashEntry) GetProviderValConsAddr() []byte
- func (m *GlobalSlashEntry) GetRecvTime() time.Time
- func (m *GlobalSlashEntry) Marshal() (dAtA []byte, err error)
- func (m *GlobalSlashEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *GlobalSlashEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GlobalSlashEntry) ProtoMessage()
- func (m *GlobalSlashEntry) Reset()
- func (m *GlobalSlashEntry) Size() (n int)
- func (m *GlobalSlashEntry) String() string
- func (m *GlobalSlashEntry) Unmarshal(dAtA []byte) error
- func (m *GlobalSlashEntry) XXX_DiscardUnknown()
- func (m *GlobalSlashEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GlobalSlashEntry) XXX_Merge(src proto.Message)
- func (m *GlobalSlashEntry) XXX_Size() int
- func (m *GlobalSlashEntry) XXX_Unmarshal(b []byte) error
- type InitTimeoutTimestamp
- func (*InitTimeoutTimestamp) Descriptor() ([]byte, []int)
- func (m *InitTimeoutTimestamp) GetChainId() string
- func (m *InitTimeoutTimestamp) GetTimestamp() uint64
- func (m *InitTimeoutTimestamp) Marshal() (dAtA []byte, err error)
- func (m *InitTimeoutTimestamp) MarshalTo(dAtA []byte) (int, error)
- func (m *InitTimeoutTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InitTimeoutTimestamp) ProtoMessage()
- func (m *InitTimeoutTimestamp) Reset()
- func (m *InitTimeoutTimestamp) Size() (n int)
- func (m *InitTimeoutTimestamp) String() string
- func (m *InitTimeoutTimestamp) Unmarshal(dAtA []byte) error
- func (m *InitTimeoutTimestamp) XXX_DiscardUnknown()
- func (m *InitTimeoutTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitTimeoutTimestamp) XXX_Merge(src proto.Message)
- func (m *InitTimeoutTimestamp) XXX_Size() int
- func (m *InitTimeoutTimestamp) XXX_Unmarshal(b []byte) error
- type KeyAssignmentReplacement
- func (*KeyAssignmentReplacement) Descriptor() ([]byte, []int)
- func (m *KeyAssignmentReplacement) GetPower() int64
- func (m *KeyAssignmentReplacement) GetPrevCKey() *crypto.PublicKey
- func (m *KeyAssignmentReplacement) GetProviderAddr() []byte
- func (m *KeyAssignmentReplacement) Marshal() (dAtA []byte, err error)
- func (m *KeyAssignmentReplacement) MarshalTo(dAtA []byte) (int, error)
- func (m *KeyAssignmentReplacement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KeyAssignmentReplacement) ProtoMessage()
- func (m *KeyAssignmentReplacement) Reset()
- func (m *KeyAssignmentReplacement) Size() (n int)
- func (m *KeyAssignmentReplacement) String() string
- func (m *KeyAssignmentReplacement) Unmarshal(dAtA []byte) error
- func (m *KeyAssignmentReplacement) XXX_DiscardUnknown()
- func (m *KeyAssignmentReplacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyAssignmentReplacement) XXX_Merge(src proto.Message)
- func (m *KeyAssignmentReplacement) XXX_Size() int
- func (m *KeyAssignmentReplacement) XXX_Unmarshal(b []byte) error
- type MaturedUnbondingOps
- func (*MaturedUnbondingOps) Descriptor() ([]byte, []int)
- func (m *MaturedUnbondingOps) GetIds() []uint64
- func (m *MaturedUnbondingOps) Marshal() (dAtA []byte, err error)
- func (m *MaturedUnbondingOps) MarshalTo(dAtA []byte) (int, error)
- func (m *MaturedUnbondingOps) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MaturedUnbondingOps) ProtoMessage()
- func (m *MaturedUnbondingOps) Reset()
- func (m *MaturedUnbondingOps) Size() (n int)
- func (m *MaturedUnbondingOps) String() string
- func (m *MaturedUnbondingOps) Unmarshal(dAtA []byte) error
- func (m *MaturedUnbondingOps) XXX_DiscardUnknown()
- func (m *MaturedUnbondingOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MaturedUnbondingOps) XXX_Merge(src proto.Message)
- func (m *MaturedUnbondingOps) XXX_Size() int
- func (m *MaturedUnbondingOps) XXX_Unmarshal(b []byte) error
- type MsgAssignConsumerKey
- func (*MsgAssignConsumerKey) Descriptor() ([]byte, []int)
- func (msg MsgAssignConsumerKey) GetSignBytes() []byte
- func (msg MsgAssignConsumerKey) GetSigners() []sdk.AccAddress
- func (m *MsgAssignConsumerKey) Marshal() (dAtA []byte, err error)
- func (m *MsgAssignConsumerKey) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAssignConsumerKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAssignConsumerKey) ProtoMessage()
- func (m *MsgAssignConsumerKey) Reset()
- func (msg MsgAssignConsumerKey) Route() string
- func (m *MsgAssignConsumerKey) Size() (n int)
- func (m *MsgAssignConsumerKey) String() string
- func (msg MsgAssignConsumerKey) Type() string
- func (m *MsgAssignConsumerKey) Unmarshal(dAtA []byte) error
- func (msg MsgAssignConsumerKey) ValidateBasic() error
- func (m *MsgAssignConsumerKey) XXX_DiscardUnknown()
- func (m *MsgAssignConsumerKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAssignConsumerKey) XXX_Merge(src proto.Message)
- func (m *MsgAssignConsumerKey) XXX_Size() int
- func (m *MsgAssignConsumerKey) XXX_Unmarshal(b []byte) error
- type MsgAssignConsumerKeyResponse
- func (*MsgAssignConsumerKeyResponse) Descriptor() ([]byte, []int)
- func (m *MsgAssignConsumerKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAssignConsumerKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAssignConsumerKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAssignConsumerKeyResponse) ProtoMessage()
- func (m *MsgAssignConsumerKeyResponse) Reset()
- func (m *MsgAssignConsumerKeyResponse) Size() (n int)
- func (m *MsgAssignConsumerKeyResponse) String() string
- func (m *MsgAssignConsumerKeyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAssignConsumerKeyResponse) XXX_DiscardUnknown()
- func (m *MsgAssignConsumerKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAssignConsumerKeyResponse) XXX_Merge(src proto.Message)
- func (m *MsgAssignConsumerKeyResponse) XXX_Size() int
- func (m *MsgAssignConsumerKeyResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgOptIn
- func (*MsgOptIn) Descriptor() ([]byte, []int)
- func (msg MsgOptIn) GetSignBytes() []byte
- func (msg MsgOptIn) GetSigners() []sdk.AccAddress
- func (m *MsgOptIn) Marshal() (dAtA []byte, err error)
- func (m *MsgOptIn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOptIn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOptIn) ProtoMessage()
- func (m *MsgOptIn) Reset()
- func (msg MsgOptIn) Route() string
- func (m *MsgOptIn) Size() (n int)
- func (m *MsgOptIn) String() string
- func (msg MsgOptIn) Type() string
- func (m *MsgOptIn) Unmarshal(dAtA []byte) error
- func (msg MsgOptIn) ValidateBasic() error
- func (m *MsgOptIn) XXX_DiscardUnknown()
- func (m *MsgOptIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptIn) XXX_Merge(src proto.Message)
- func (m *MsgOptIn) XXX_Size() int
- func (m *MsgOptIn) XXX_Unmarshal(b []byte) error
- type MsgOptInResponse
- func (*MsgOptInResponse) Descriptor() ([]byte, []int)
- func (m *MsgOptInResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOptInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOptInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOptInResponse) ProtoMessage()
- func (m *MsgOptInResponse) Reset()
- func (m *MsgOptInResponse) Size() (n int)
- func (m *MsgOptInResponse) String() string
- func (m *MsgOptInResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOptInResponse) XXX_DiscardUnknown()
- func (m *MsgOptInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptInResponse) XXX_Merge(src proto.Message)
- func (m *MsgOptInResponse) XXX_Size() int
- func (m *MsgOptInResponse) XXX_Unmarshal(b []byte) error
- type MsgOptOut
- func (*MsgOptOut) Descriptor() ([]byte, []int)
- func (msg MsgOptOut) GetSignBytes() []byte
- func (msg MsgOptOut) GetSigners() []sdk.AccAddress
- func (m *MsgOptOut) Marshal() (dAtA []byte, err error)
- func (m *MsgOptOut) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOptOut) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOptOut) ProtoMessage()
- func (m *MsgOptOut) Reset()
- func (msg MsgOptOut) Route() string
- func (m *MsgOptOut) Size() (n int)
- func (m *MsgOptOut) String() string
- func (msg MsgOptOut) Type() string
- func (m *MsgOptOut) Unmarshal(dAtA []byte) error
- func (msg MsgOptOut) ValidateBasic() error
- func (m *MsgOptOut) XXX_DiscardUnknown()
- func (m *MsgOptOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptOut) XXX_Merge(src proto.Message)
- func (m *MsgOptOut) XXX_Size() int
- func (m *MsgOptOut) XXX_Unmarshal(b []byte) error
- type MsgOptOutResponse
- func (*MsgOptOutResponse) Descriptor() ([]byte, []int)
- func (m *MsgOptOutResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOptOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOptOutResponse) ProtoMessage()
- func (m *MsgOptOutResponse) Reset()
- func (m *MsgOptOutResponse) Size() (n int)
- func (m *MsgOptOutResponse) String() string
- func (m *MsgOptOutResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOptOutResponse) XXX_DiscardUnknown()
- func (m *MsgOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptOutResponse) XXX_Merge(src proto.Message)
- func (m *MsgOptOutResponse) XXX_Size() int
- func (m *MsgOptOutResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetConsumerCommissionRate
- func (*MsgSetConsumerCommissionRate) Descriptor() ([]byte, []int)
- func (msg MsgSetConsumerCommissionRate) GetSignBytes() []byte
- func (msg MsgSetConsumerCommissionRate) GetSigners() []sdk.AccAddress
- func (m *MsgSetConsumerCommissionRate) Marshal() (dAtA []byte, err error)
- func (m *MsgSetConsumerCommissionRate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetConsumerCommissionRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetConsumerCommissionRate) ProtoMessage()
- func (m *MsgSetConsumerCommissionRate) Reset()
- func (msg MsgSetConsumerCommissionRate) Route() string
- func (m *MsgSetConsumerCommissionRate) Size() (n int)
- func (m *MsgSetConsumerCommissionRate) String() string
- func (msg MsgSetConsumerCommissionRate) Type() string
- func (m *MsgSetConsumerCommissionRate) Unmarshal(dAtA []byte) error
- func (msg MsgSetConsumerCommissionRate) ValidateBasic() error
- func (m *MsgSetConsumerCommissionRate) XXX_DiscardUnknown()
- func (m *MsgSetConsumerCommissionRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetConsumerCommissionRate) XXX_Merge(src proto.Message)
- func (m *MsgSetConsumerCommissionRate) XXX_Size() int
- func (m *MsgSetConsumerCommissionRate) XXX_Unmarshal(b []byte) error
- type MsgSetConsumerCommissionRateResponse
- func (*MsgSetConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetConsumerCommissionRateResponse) ProtoMessage()
- func (m *MsgSetConsumerCommissionRateResponse) Reset()
- func (m *MsgSetConsumerCommissionRateResponse) Size() (n int)
- func (m *MsgSetConsumerCommissionRateResponse) String() string
- func (m *MsgSetConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetConsumerCommissionRateResponse) XXX_DiscardUnknown()
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Size() int
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
- type MsgSubmitConsumerDoubleVoting
- func (*MsgSubmitConsumerDoubleVoting) Descriptor() ([]byte, []int)
- func (msg MsgSubmitConsumerDoubleVoting) GetSignBytes() []byte
- func (msg MsgSubmitConsumerDoubleVoting) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitConsumerDoubleVoting) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitConsumerDoubleVoting) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitConsumerDoubleVoting) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitConsumerDoubleVoting) ProtoMessage()
- func (m *MsgSubmitConsumerDoubleVoting) Reset()
- func (msg MsgSubmitConsumerDoubleVoting) Route() string
- func (m *MsgSubmitConsumerDoubleVoting) Size() (n int)
- func (m *MsgSubmitConsumerDoubleVoting) String() string
- func (msg MsgSubmitConsumerDoubleVoting) Type() string
- func (m *MsgSubmitConsumerDoubleVoting) Unmarshal(dAtA []byte) error
- func (msg MsgSubmitConsumerDoubleVoting) ValidateBasic() error
- func (m *MsgSubmitConsumerDoubleVoting) XXX_DiscardUnknown()
- func (m *MsgSubmitConsumerDoubleVoting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitConsumerDoubleVoting) XXX_Merge(src proto.Message)
- func (m *MsgSubmitConsumerDoubleVoting) XXX_Size() int
- func (m *MsgSubmitConsumerDoubleVoting) XXX_Unmarshal(b []byte) error
- type MsgSubmitConsumerDoubleVotingResponse
- func (*MsgSubmitConsumerDoubleVotingResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitConsumerDoubleVotingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitConsumerDoubleVotingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitConsumerDoubleVotingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitConsumerDoubleVotingResponse) ProtoMessage()
- func (m *MsgSubmitConsumerDoubleVotingResponse) Reset()
- func (m *MsgSubmitConsumerDoubleVotingResponse) Size() (n int)
- func (m *MsgSubmitConsumerDoubleVotingResponse) String() string
- func (m *MsgSubmitConsumerDoubleVotingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Size() int
- func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Unmarshal(b []byte) error
- type MsgSubmitConsumerMisbehaviour
- func (*MsgSubmitConsumerMisbehaviour) Descriptor() ([]byte, []int)
- func (msg MsgSubmitConsumerMisbehaviour) GetSignBytes() []byte
- func (msg MsgSubmitConsumerMisbehaviour) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitConsumerMisbehaviour) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitConsumerMisbehaviour) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitConsumerMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitConsumerMisbehaviour) ProtoMessage()
- func (m *MsgSubmitConsumerMisbehaviour) Reset()
- func (msg MsgSubmitConsumerMisbehaviour) Route() string
- func (m *MsgSubmitConsumerMisbehaviour) Size() (n int)
- func (m *MsgSubmitConsumerMisbehaviour) String() string
- func (msg MsgSubmitConsumerMisbehaviour) Type() string
- func (m *MsgSubmitConsumerMisbehaviour) Unmarshal(dAtA []byte) error
- func (msg MsgSubmitConsumerMisbehaviour) ValidateBasic() error
- func (m *MsgSubmitConsumerMisbehaviour) XXX_DiscardUnknown()
- func (m *MsgSubmitConsumerMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitConsumerMisbehaviour) XXX_Merge(src proto.Message)
- func (m *MsgSubmitConsumerMisbehaviour) XXX_Size() int
- func (m *MsgSubmitConsumerMisbehaviour) XXX_Unmarshal(b []byte) error
- type MsgSubmitConsumerMisbehaviourResponse
- func (*MsgSubmitConsumerMisbehaviourResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitConsumerMisbehaviourResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitConsumerMisbehaviourResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitConsumerMisbehaviourResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitConsumerMisbehaviourResponse) ProtoMessage()
- func (m *MsgSubmitConsumerMisbehaviourResponse) Reset()
- func (m *MsgSubmitConsumerMisbehaviourResponse) Size() (n int)
- func (m *MsgSubmitConsumerMisbehaviourResponse) String() string
- func (m *MsgSubmitConsumerMisbehaviourResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Size() int
- func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Unmarshal(b []byte) error
- type PairValConAddrProviderAndConsumer
- func (*PairValConAddrProviderAndConsumer) Descriptor() ([]byte, []int)
- func (m *PairValConAddrProviderAndConsumer) GetConsumerAddress() string
- func (m *PairValConAddrProviderAndConsumer) GetConsumerKey() *crypto.PublicKey
- func (m *PairValConAddrProviderAndConsumer) GetProviderAddress() string
- func (m *PairValConAddrProviderAndConsumer) Marshal() (dAtA []byte, err error)
- func (m *PairValConAddrProviderAndConsumer) MarshalTo(dAtA []byte) (int, error)
- func (m *PairValConAddrProviderAndConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PairValConAddrProviderAndConsumer) ProtoMessage()
- func (m *PairValConAddrProviderAndConsumer) Reset()
- func (m *PairValConAddrProviderAndConsumer) Size() (n int)
- func (m *PairValConAddrProviderAndConsumer) String() string
- func (m *PairValConAddrProviderAndConsumer) Unmarshal(dAtA []byte) error
- func (m *PairValConAddrProviderAndConsumer) XXX_DiscardUnknown()
- func (m *PairValConAddrProviderAndConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PairValConAddrProviderAndConsumer) XXX_Merge(src proto.Message)
- func (m *PairValConAddrProviderAndConsumer) XXX_Size() int
- func (m *PairValConAddrProviderAndConsumer) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetBlocksPerEpoch() int64
- func (m *Params) GetCcvTimeoutPeriod() time.Duration
- func (m *Params) GetConsumerRewardDenomRegistrationFee() types2.Coin
- func (m *Params) GetInitTimeoutPeriod() time.Duration
- func (m *Params) GetNumberOfEpochsToStartReceivingRewards() int64
- func (m *Params) GetSlashMeterReplenishFraction() string
- func (m *Params) GetSlashMeterReplenishPeriod() time.Duration
- func (m *Params) GetTemplateClient() *_07_tendermint.ClientState
- func (m *Params) GetTrustingPeriodFraction() string
- func (m *Params) GetVscTimeoutPeriod() time.Duration
- 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) Validate() 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 ProposedChain
- func (*ProposedChain) Descriptor() ([]byte, []int)
- func (m *ProposedChain) GetChainID() string
- func (m *ProposedChain) GetProposalID() uint64
- func (m *ProposedChain) Marshal() (dAtA []byte, err error)
- func (m *ProposedChain) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposedChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposedChain) ProtoMessage()
- func (m *ProposedChain) Reset()
- func (m *ProposedChain) Size() (n int)
- func (m *ProposedChain) String() string
- func (m *ProposedChain) Unmarshal(dAtA []byte) error
- func (m *ProposedChain) XXX_DiscardUnknown()
- func (m *ProposedChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposedChain) XXX_Merge(src proto.Message)
- func (m *ProposedChain) XXX_Size() int
- func (m *ProposedChain) XXX_Unmarshal(b []byte) error
- type ProviderConsAddress
- type QueryAllPairsValConAddrByConsumerChainIDRequest
- func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) GetChainId() string
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPairsValConAddrByConsumerChainIDRequest) ProtoMessage()
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Reset()
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Size() (n int)
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) String() string
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_DiscardUnknown()
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Size() int
- func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPairsValConAddrByConsumerChainIDResponse
- func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) GetPairValConAddr() []*PairValConAddrProviderAndConsumer
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPairsValConAddrByConsumerChainIDResponse) ProtoMessage()
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Reset()
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Size() (n int)
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) String() string
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_DiscardUnknown()
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Size() int
- func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryConsumerChainOptedInValidatorsRequest
- func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainOptedInValidatorsRequest) GetChainId() string
- func (m *QueryConsumerChainOptedInValidatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainOptedInValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainOptedInValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainOptedInValidatorsRequest) ProtoMessage()
- func (m *QueryConsumerChainOptedInValidatorsRequest) Reset()
- func (m *QueryConsumerChainOptedInValidatorsRequest) Size() (n int)
- func (m *QueryConsumerChainOptedInValidatorsRequest) String() string
- func (m *QueryConsumerChainOptedInValidatorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Size() int
- func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainOptedInValidatorsResponse
- func (*QueryConsumerChainOptedInValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainOptedInValidatorsResponse) GetValidatorsProviderAddresses() []string
- func (m *QueryConsumerChainOptedInValidatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainOptedInValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainOptedInValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainOptedInValidatorsResponse) ProtoMessage()
- func (m *QueryConsumerChainOptedInValidatorsResponse) Reset()
- func (m *QueryConsumerChainOptedInValidatorsResponse) Size() (n int)
- func (m *QueryConsumerChainOptedInValidatorsResponse) String() string
- func (m *QueryConsumerChainOptedInValidatorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Size() int
- func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainStartProposalsRequest
- func (*QueryConsumerChainStartProposalsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainStartProposalsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainStartProposalsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainStartProposalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainStartProposalsRequest) ProtoMessage()
- func (m *QueryConsumerChainStartProposalsRequest) Reset()
- func (m *QueryConsumerChainStartProposalsRequest) Size() (n int)
- func (m *QueryConsumerChainStartProposalsRequest) String() string
- func (m *QueryConsumerChainStartProposalsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainStartProposalsRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainStartProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainStartProposalsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainStartProposalsRequest) XXX_Size() int
- func (m *QueryConsumerChainStartProposalsRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainStartProposalsResponse
- func (*QueryConsumerChainStartProposalsResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainStartProposalsResponse) GetProposals() *ConsumerAdditionProposals
- func (m *QueryConsumerChainStartProposalsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainStartProposalsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainStartProposalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainStartProposalsResponse) ProtoMessage()
- func (m *QueryConsumerChainStartProposalsResponse) Reset()
- func (m *QueryConsumerChainStartProposalsResponse) Size() (n int)
- func (m *QueryConsumerChainStartProposalsResponse) String() string
- func (m *QueryConsumerChainStartProposalsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainStartProposalsResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainStartProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainStartProposalsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainStartProposalsResponse) XXX_Size() int
- func (m *QueryConsumerChainStartProposalsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainStopProposalsRequest
- func (*QueryConsumerChainStopProposalsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainStopProposalsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainStopProposalsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainStopProposalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainStopProposalsRequest) ProtoMessage()
- func (m *QueryConsumerChainStopProposalsRequest) Reset()
- func (m *QueryConsumerChainStopProposalsRequest) Size() (n int)
- func (m *QueryConsumerChainStopProposalsRequest) String() string
- func (m *QueryConsumerChainStopProposalsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainStopProposalsRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainStopProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainStopProposalsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainStopProposalsRequest) XXX_Size() int
- func (m *QueryConsumerChainStopProposalsRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainStopProposalsResponse
- func (*QueryConsumerChainStopProposalsResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainStopProposalsResponse) GetProposals() *ConsumerRemovalProposals
- func (m *QueryConsumerChainStopProposalsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainStopProposalsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainStopProposalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainStopProposalsResponse) ProtoMessage()
- func (m *QueryConsumerChainStopProposalsResponse) Reset()
- func (m *QueryConsumerChainStopProposalsResponse) Size() (n int)
- func (m *QueryConsumerChainStopProposalsResponse) String() string
- func (m *QueryConsumerChainStopProposalsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainStopProposalsResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainStopProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainStopProposalsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainStopProposalsResponse) XXX_Size() int
- func (m *QueryConsumerChainStopProposalsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsRequest
- func (*QueryConsumerChainsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsRequest) ProtoMessage()
- func (m *QueryConsumerChainsRequest) Reset()
- func (m *QueryConsumerChainsRequest) Size() (n int)
- func (m *QueryConsumerChainsRequest) String() string
- func (m *QueryConsumerChainsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsRequest) XXX_Size() int
- func (m *QueryConsumerChainsRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsResponse
- func (*QueryConsumerChainsResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsResponse) GetChains() []*Chain
- func (m *QueryConsumerChainsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsResponse) ProtoMessage()
- func (m *QueryConsumerChainsResponse) Reset()
- func (m *QueryConsumerChainsResponse) Size() (n int)
- func (m *QueryConsumerChainsResponse) String() string
- func (m *QueryConsumerChainsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsResponse) XXX_Size() int
- func (m *QueryConsumerChainsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsValidatorHasToValidateRequest
- func (*QueryConsumerChainsValidatorHasToValidateRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) GetProviderAddress() string
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsValidatorHasToValidateRequest) ProtoMessage()
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Reset()
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Size() (n int)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) String() string
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Size() int
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsValidatorHasToValidateResponse
- func (*QueryConsumerChainsValidatorHasToValidateResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) GetConsumerChainIds() []string
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsValidatorHasToValidateResponse) ProtoMessage()
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Reset()
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Size() (n int)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) String() string
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Size() int
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerGenesisRequest
- func (*QueryConsumerGenesisRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerGenesisRequest) GetChainId() string
- func (m *QueryConsumerGenesisRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerGenesisRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerGenesisRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerGenesisRequest) ProtoMessage()
- func (m *QueryConsumerGenesisRequest) Reset()
- func (m *QueryConsumerGenesisRequest) Size() (n int)
- func (m *QueryConsumerGenesisRequest) String() string
- func (m *QueryConsumerGenesisRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerGenesisRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerGenesisRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerGenesisRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerGenesisRequest) XXX_Size() int
- func (m *QueryConsumerGenesisRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerGenesisResponse
- func (*QueryConsumerGenesisResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerGenesisResponse) GetGenesisState() types.ConsumerGenesisState
- func (m *QueryConsumerGenesisResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerGenesisResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerGenesisResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerGenesisResponse) ProtoMessage()
- func (m *QueryConsumerGenesisResponse) Reset()
- func (m *QueryConsumerGenesisResponse) Size() (n int)
- func (m *QueryConsumerGenesisResponse) String() string
- func (m *QueryConsumerGenesisResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerGenesisResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerGenesisResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerGenesisResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerGenesisResponse) XXX_Size() int
- func (m *QueryConsumerGenesisResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerValidatorsRequest
- func (*QueryConsumerValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerValidatorsRequest) GetChainId() string
- func (m *QueryConsumerValidatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerValidatorsRequest) ProtoMessage()
- func (m *QueryConsumerValidatorsRequest) Reset()
- func (m *QueryConsumerValidatorsRequest) Size() (n int)
- func (m *QueryConsumerValidatorsRequest) String() string
- func (m *QueryConsumerValidatorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerValidatorsRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerValidatorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerValidatorsRequest) XXX_Size() int
- func (m *QueryConsumerValidatorsRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerValidatorsResponse
- func (*QueryConsumerValidatorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerValidatorsResponse) GetValidators() []*QueryConsumerValidatorsValidator
- func (m *QueryConsumerValidatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerValidatorsResponse) ProtoMessage()
- func (m *QueryConsumerValidatorsResponse) Reset()
- func (m *QueryConsumerValidatorsResponse) Size() (n int)
- func (m *QueryConsumerValidatorsResponse) String() string
- func (m *QueryConsumerValidatorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerValidatorsResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerValidatorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerValidatorsResponse) XXX_Size() int
- func (m *QueryConsumerValidatorsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerValidatorsValidator
- func (*QueryConsumerValidatorsValidator) Descriptor() ([]byte, []int)
- func (m *QueryConsumerValidatorsValidator) GetConsumerKey() *crypto.PublicKey
- func (m *QueryConsumerValidatorsValidator) GetPower() int64
- func (m *QueryConsumerValidatorsValidator) GetProviderAddress() string
- func (m *QueryConsumerValidatorsValidator) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerValidatorsValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerValidatorsValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerValidatorsValidator) ProtoMessage()
- func (m *QueryConsumerValidatorsValidator) Reset()
- func (m *QueryConsumerValidatorsValidator) Size() (n int)
- func (m *QueryConsumerValidatorsValidator) String() string
- func (m *QueryConsumerValidatorsValidator) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerValidatorsValidator) XXX_DiscardUnknown()
- func (m *QueryConsumerValidatorsValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerValidatorsValidator) XXX_Merge(src proto.Message)
- func (m *QueryConsumerValidatorsValidator) XXX_Size() int
- func (m *QueryConsumerValidatorsValidator) XXX_Unmarshal(b []byte) error
- type QueryOldestUnconfirmedVscRequest
- func (*QueryOldestUnconfirmedVscRequest) Descriptor() ([]byte, []int)
- func (m *QueryOldestUnconfirmedVscRequest) GetChainId() string
- func (m *QueryOldestUnconfirmedVscRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOldestUnconfirmedVscRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOldestUnconfirmedVscRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOldestUnconfirmedVscRequest) ProtoMessage()
- func (m *QueryOldestUnconfirmedVscRequest) Reset()
- func (m *QueryOldestUnconfirmedVscRequest) Size() (n int)
- func (m *QueryOldestUnconfirmedVscRequest) String() string
- func (m *QueryOldestUnconfirmedVscRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOldestUnconfirmedVscRequest) XXX_DiscardUnknown()
- func (m *QueryOldestUnconfirmedVscRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOldestUnconfirmedVscRequest) XXX_Merge(src proto.Message)
- func (m *QueryOldestUnconfirmedVscRequest) XXX_Size() int
- func (m *QueryOldestUnconfirmedVscRequest) XXX_Unmarshal(b []byte) error
- type QueryOldestUnconfirmedVscResponse
- func (*QueryOldestUnconfirmedVscResponse) Descriptor() ([]byte, []int)
- func (m *QueryOldestUnconfirmedVscResponse) GetVscSendTimestamp() VscSendTimestamp
- func (m *QueryOldestUnconfirmedVscResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOldestUnconfirmedVscResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOldestUnconfirmedVscResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOldestUnconfirmedVscResponse) ProtoMessage()
- func (m *QueryOldestUnconfirmedVscResponse) Reset()
- func (m *QueryOldestUnconfirmedVscResponse) Size() (n int)
- func (m *QueryOldestUnconfirmedVscResponse) String() string
- func (m *QueryOldestUnconfirmedVscResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOldestUnconfirmedVscResponse) XXX_DiscardUnknown()
- func (m *QueryOldestUnconfirmedVscResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOldestUnconfirmedVscResponse) XXX_Merge(src proto.Message)
- func (m *QueryOldestUnconfirmedVscResponse) XXX_Size() int
- func (m *QueryOldestUnconfirmedVscResponse) 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 QueryProposedChainIDsRequest
- func (*QueryProposedChainIDsRequest) Descriptor() ([]byte, []int)
- func (m *QueryProposedChainIDsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProposedChainIDsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposedChainIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposedChainIDsRequest) ProtoMessage()
- func (m *QueryProposedChainIDsRequest) Reset()
- func (m *QueryProposedChainIDsRequest) Size() (n int)
- func (m *QueryProposedChainIDsRequest) String() string
- func (m *QueryProposedChainIDsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProposedChainIDsRequest) XXX_DiscardUnknown()
- func (m *QueryProposedChainIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposedChainIDsRequest) XXX_Merge(src proto.Message)
- func (m *QueryProposedChainIDsRequest) XXX_Size() int
- func (m *QueryProposedChainIDsRequest) XXX_Unmarshal(b []byte) error
- type QueryProposedChainIDsResponse
- func (*QueryProposedChainIDsResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposedChainIDsResponse) GetProposedChains() []ProposedChain
- func (m *QueryProposedChainIDsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposedChainIDsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposedChainIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposedChainIDsResponse) ProtoMessage()
- func (m *QueryProposedChainIDsResponse) Reset()
- func (m *QueryProposedChainIDsResponse) Size() (n int)
- func (m *QueryProposedChainIDsResponse) String() string
- func (m *QueryProposedChainIDsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposedChainIDsResponse) XXX_DiscardUnknown()
- func (m *QueryProposedChainIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposedChainIDsResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposedChainIDsResponse) XXX_Size() int
- func (m *QueryProposedChainIDsResponse) XXX_Unmarshal(b []byte) error
- type QueryRegisteredConsumerRewardDenomsRequest
- func (*QueryRegisteredConsumerRewardDenomsRequest) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredConsumerRewardDenomsRequest) ProtoMessage()
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Reset()
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Size() (n int)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) String() string
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_DiscardUnknown()
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Size() int
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Unmarshal(b []byte) error
- type QueryRegisteredConsumerRewardDenomsResponse
- func (*QueryRegisteredConsumerRewardDenomsResponse) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) GetDenoms() []string
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredConsumerRewardDenomsResponse) ProtoMessage()
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Reset()
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Size() (n int)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) String() string
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_DiscardUnknown()
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Size() int
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryThrottleStateRequest
- func (*QueryThrottleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryThrottleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryThrottleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryThrottleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryThrottleStateRequest) ProtoMessage()
- func (m *QueryThrottleStateRequest) Reset()
- func (m *QueryThrottleStateRequest) Size() (n int)
- func (m *QueryThrottleStateRequest) String() string
- func (m *QueryThrottleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryThrottleStateRequest) XXX_DiscardUnknown()
- func (m *QueryThrottleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryThrottleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryThrottleStateRequest) XXX_Size() int
- func (m *QueryThrottleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryThrottleStateResponse
- func (*QueryThrottleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryThrottleStateResponse) GetNextReplenishCandidate() time.Time
- func (m *QueryThrottleStateResponse) GetSlashMeter() int64
- func (m *QueryThrottleStateResponse) GetSlashMeterAllowance() int64
- func (m *QueryThrottleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryThrottleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryThrottleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryThrottleStateResponse) ProtoMessage()
- func (m *QueryThrottleStateResponse) Reset()
- func (m *QueryThrottleStateResponse) Size() (n int)
- func (m *QueryThrottleStateResponse) String() string
- func (m *QueryThrottleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryThrottleStateResponse) XXX_DiscardUnknown()
- func (m *QueryThrottleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryThrottleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryThrottleStateResponse) XXX_Size() int
- func (m *QueryThrottleStateResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerAddrRequest
- func (*QueryValidatorConsumerAddrRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerAddrRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerAddrRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerAddrRequest) ProtoMessage()
- func (m *QueryValidatorConsumerAddrRequest) Reset()
- func (m *QueryValidatorConsumerAddrRequest) Size() (n int)
- func (m *QueryValidatorConsumerAddrRequest) String() string
- func (m *QueryValidatorConsumerAddrRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerAddrRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerAddrRequest) XXX_Size() int
- func (m *QueryValidatorConsumerAddrRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerAddrResponse
- func (*QueryValidatorConsumerAddrResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerAddrResponse) GetConsumerAddress() string
- func (m *QueryValidatorConsumerAddrResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerAddrResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerAddrResponse) ProtoMessage()
- func (m *QueryValidatorConsumerAddrResponse) Reset()
- func (m *QueryValidatorConsumerAddrResponse) Size() (n int)
- func (m *QueryValidatorConsumerAddrResponse) String() string
- func (m *QueryValidatorConsumerAddrResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerAddrResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerAddrResponse) XXX_Size() int
- func (m *QueryValidatorConsumerAddrResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerCommissionRateRequest
- func (*QueryValidatorConsumerCommissionRateRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerCommissionRateRequest) GetChainId() string
- func (m *QueryValidatorConsumerCommissionRateRequest) GetProviderAddress() string
- func (m *QueryValidatorConsumerCommissionRateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerCommissionRateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerCommissionRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerCommissionRateRequest) ProtoMessage()
- func (m *QueryValidatorConsumerCommissionRateRequest) Reset()
- func (m *QueryValidatorConsumerCommissionRateRequest) Size() (n int)
- func (m *QueryValidatorConsumerCommissionRateRequest) String() string
- func (m *QueryValidatorConsumerCommissionRateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Size() int
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerCommissionRateResponse
- func (*QueryValidatorConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerCommissionRateResponse) ProtoMessage()
- func (m *QueryValidatorConsumerCommissionRateResponse) Reset()
- func (m *QueryValidatorConsumerCommissionRateResponse) Size() (n int)
- func (m *QueryValidatorConsumerCommissionRateResponse) String() string
- func (m *QueryValidatorConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Size() int
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorProviderAddrRequest
- func (*QueryValidatorProviderAddrRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorProviderAddrRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorProviderAddrRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorProviderAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorProviderAddrRequest) ProtoMessage()
- func (m *QueryValidatorProviderAddrRequest) Reset()
- func (m *QueryValidatorProviderAddrRequest) Size() (n int)
- func (m *QueryValidatorProviderAddrRequest) String() string
- func (m *QueryValidatorProviderAddrRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorProviderAddrRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorProviderAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorProviderAddrRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorProviderAddrRequest) XXX_Size() int
- func (m *QueryValidatorProviderAddrRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorProviderAddrResponse
- func (*QueryValidatorProviderAddrResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorProviderAddrResponse) GetProviderAddress() string
- func (m *QueryValidatorProviderAddrResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorProviderAddrResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorProviderAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorProviderAddrResponse) ProtoMessage()
- func (m *QueryValidatorProviderAddrResponse) Reset()
- func (m *QueryValidatorProviderAddrResponse) Size() (n int)
- func (m *QueryValidatorProviderAddrResponse) String() string
- func (m *QueryValidatorProviderAddrResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorProviderAddrResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorProviderAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorProviderAddrResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorProviderAddrResponse) XXX_Size() int
- func (m *QueryValidatorProviderAddrResponse) XXX_Unmarshal(b []byte) error
- type SlashAcks
- func (*SlashAcks) Descriptor() ([]byte, []int)
- func (m *SlashAcks) GetAddresses() []string
- func (m *SlashAcks) Marshal() (dAtA []byte, err error)
- func (m *SlashAcks) MarshalTo(dAtA []byte) (int, error)
- func (m *SlashAcks) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SlashAcks) ProtoMessage()
- func (m *SlashAcks) Reset()
- func (m *SlashAcks) Size() (n int)
- func (m *SlashAcks) String() string
- func (m *SlashAcks) Unmarshal(dAtA []byte) error
- func (m *SlashAcks) XXX_DiscardUnknown()
- func (m *SlashAcks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SlashAcks) XXX_Merge(src proto.Message)
- func (m *SlashAcks) XXX_Size() int
- func (m *SlashAcks) XXX_Unmarshal(b []byte) error
- type Status
- type UnbondingOp
- func (*UnbondingOp) Descriptor() ([]byte, []int)
- func (m *UnbondingOp) GetId() uint64
- func (m *UnbondingOp) GetUnbondingConsumerChains() []string
- func (m *UnbondingOp) Marshal() (dAtA []byte, err error)
- func (m *UnbondingOp) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingOp) ProtoMessage()
- func (m *UnbondingOp) Reset()
- func (m *UnbondingOp) Size() (n int)
- func (m *UnbondingOp) String() string
- func (m *UnbondingOp) Unmarshal(dAtA []byte) error
- func (m *UnbondingOp) XXX_DiscardUnknown()
- func (m *UnbondingOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingOp) XXX_Merge(src proto.Message)
- func (m *UnbondingOp) XXX_Size() int
- func (m *UnbondingOp) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AssignConsumerKey(ctx context.Context, req *MsgAssignConsumerKey) (*MsgAssignConsumerKeyResponse, error)
- func (*UnimplementedMsgServer) OptIn(ctx context.Context, req *MsgOptIn) (*MsgOptInResponse, error)
- func (*UnimplementedMsgServer) OptOut(ctx context.Context, req *MsgOptOut) (*MsgOptOutResponse, error)
- func (*UnimplementedMsgServer) SetConsumerCommissionRate(ctx context.Context, req *MsgSetConsumerCommissionRate) (*MsgSetConsumerCommissionRateResponse, error)
- func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting(ctx context.Context, req *MsgSubmitConsumerDoubleVoting) (*MsgSubmitConsumerDoubleVotingResponse, error)
- func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour(ctx context.Context, req *MsgSubmitConsumerMisbehaviour) (*MsgSubmitConsumerMisbehaviourResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryAllPairsValConAddrByConsumerChainID(ctx context.Context, req *QueryAllPairsValConAddrByConsumerChainIDRequest) (*QueryAllPairsValConAddrByConsumerChainIDResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChainOptedInValidators(ctx context.Context, req *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChainStarts(ctx context.Context, req *QueryConsumerChainStartProposalsRequest) (*QueryConsumerChainStartProposalsResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChainStops(ctx context.Context, req *QueryConsumerChainStopProposalsRequest) (*QueryConsumerChainStopProposalsResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChains(ctx context.Context, req *QueryConsumerChainsRequest) (*QueryConsumerChainsResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChainsValidatorHasToValidate(ctx context.Context, req *QueryConsumerChainsValidatorHasToValidateRequest) (*QueryConsumerChainsValidatorHasToValidateResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerGenesis(ctx context.Context, req *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerValidators(ctx context.Context, req *QueryConsumerValidatorsRequest) (*QueryConsumerValidatorsResponse, error)
- func (*UnimplementedQueryServer) QueryOldestUnconfirmedVsc(ctx context.Context, req *QueryOldestUnconfirmedVscRequest) (*QueryOldestUnconfirmedVscResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryProposedConsumerChainIDs(ctx context.Context, req *QueryProposedChainIDsRequest) (*QueryProposedChainIDsResponse, error)
- func (*UnimplementedQueryServer) QueryRegisteredConsumerRewardDenoms(ctx context.Context, req *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error)
- func (*UnimplementedQueryServer) QueryThrottleState(ctx context.Context, req *QueryThrottleStateRequest) (*QueryThrottleStateResponse, error)
- func (*UnimplementedQueryServer) QueryValidatorConsumerAddr(ctx context.Context, req *QueryValidatorConsumerAddrRequest) (*QueryValidatorConsumerAddrResponse, error)
- func (*UnimplementedQueryServer) QueryValidatorConsumerCommissionRate(ctx context.Context, req *QueryValidatorConsumerCommissionRateRequest) (*QueryValidatorConsumerCommissionRateResponse, error)
- func (*UnimplementedQueryServer) QueryValidatorProviderAddr(ctx context.Context, req *QueryValidatorProviderAddrRequest) (*QueryValidatorProviderAddrResponse, error)
- type ValidatorByConsumerAddr
- func (*ValidatorByConsumerAddr) Descriptor() ([]byte, []int)
- func (m *ValidatorByConsumerAddr) GetChainId() string
- func (m *ValidatorByConsumerAddr) GetConsumerAddr() []byte
- func (m *ValidatorByConsumerAddr) GetProviderAddr() []byte
- func (m *ValidatorByConsumerAddr) Marshal() (dAtA []byte, err error)
- func (m *ValidatorByConsumerAddr) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorByConsumerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorByConsumerAddr) ProtoMessage()
- func (m *ValidatorByConsumerAddr) Reset()
- func (m *ValidatorByConsumerAddr) Size() (n int)
- func (m *ValidatorByConsumerAddr) String() string
- func (m *ValidatorByConsumerAddr) Unmarshal(dAtA []byte) error
- func (m *ValidatorByConsumerAddr) XXX_DiscardUnknown()
- func (m *ValidatorByConsumerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorByConsumerAddr) XXX_Merge(src proto.Message)
- func (m *ValidatorByConsumerAddr) XXX_Size() int
- func (m *ValidatorByConsumerAddr) XXX_Unmarshal(b []byte) error
- type ValidatorConsumerPubKey
- func (*ValidatorConsumerPubKey) Descriptor() ([]byte, []int)
- func (m *ValidatorConsumerPubKey) GetChainId() string
- func (m *ValidatorConsumerPubKey) GetConsumerKey() *crypto.PublicKey
- func (m *ValidatorConsumerPubKey) GetProviderAddr() []byte
- func (m *ValidatorConsumerPubKey) Marshal() (dAtA []byte, err error)
- func (m *ValidatorConsumerPubKey) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorConsumerPubKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorConsumerPubKey) ProtoMessage()
- func (m *ValidatorConsumerPubKey) Reset()
- func (m *ValidatorConsumerPubKey) Size() (n int)
- func (m *ValidatorConsumerPubKey) String() string
- func (m *ValidatorConsumerPubKey) Unmarshal(dAtA []byte) error
- func (m *ValidatorConsumerPubKey) XXX_DiscardUnknown()
- func (m *ValidatorConsumerPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorConsumerPubKey) XXX_Merge(src proto.Message)
- func (m *ValidatorConsumerPubKey) XXX_Size() int
- func (m *ValidatorConsumerPubKey) XXX_Unmarshal(b []byte) error
- type ValidatorSetChangePackets
- func (*ValidatorSetChangePackets) Descriptor() ([]byte, []int)
- func (m *ValidatorSetChangePackets) GetList() []types3.ValidatorSetChangePacketData
- func (m *ValidatorSetChangePackets) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSetChangePackets) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSetChangePackets) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSetChangePackets) ProtoMessage()
- func (m *ValidatorSetChangePackets) Reset()
- func (m *ValidatorSetChangePackets) Size() (n int)
- func (m *ValidatorSetChangePackets) String() string
- func (m *ValidatorSetChangePackets) Unmarshal(dAtA []byte) error
- func (m *ValidatorSetChangePackets) XXX_DiscardUnknown()
- func (m *ValidatorSetChangePackets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSetChangePackets) XXX_Merge(src proto.Message)
- func (m *ValidatorSetChangePackets) XXX_Size() int
- func (m *ValidatorSetChangePackets) XXX_Unmarshal(b []byte) error
- type ValsetUpdateIdToHeight
- func (*ValsetUpdateIdToHeight) Descriptor() ([]byte, []int)
- func (m *ValsetUpdateIdToHeight) GetHeight() uint64
- func (m *ValsetUpdateIdToHeight) GetValsetUpdateId() uint64
- func (m *ValsetUpdateIdToHeight) Marshal() (dAtA []byte, err error)
- func (m *ValsetUpdateIdToHeight) MarshalTo(dAtA []byte) (int, error)
- func (m *ValsetUpdateIdToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValsetUpdateIdToHeight) ProtoMessage()
- func (m *ValsetUpdateIdToHeight) Reset()
- func (m *ValsetUpdateIdToHeight) Size() (n int)
- func (m *ValsetUpdateIdToHeight) String() string
- func (m *ValsetUpdateIdToHeight) Unmarshal(dAtA []byte) error
- func (m *ValsetUpdateIdToHeight) XXX_DiscardUnknown()
- func (m *ValsetUpdateIdToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValsetUpdateIdToHeight) XXX_Merge(src proto.Message)
- func (m *ValsetUpdateIdToHeight) XXX_Size() int
- func (m *ValsetUpdateIdToHeight) XXX_Unmarshal(b []byte) error
- type VscSendTimestamp
- func (*VscSendTimestamp) Descriptor() ([]byte, []int)
- func (m *VscSendTimestamp) GetTimestamp() time.Time
- func (m *VscSendTimestamp) GetVscId() uint64
- func (m *VscSendTimestamp) Marshal() (dAtA []byte, err error)
- func (m *VscSendTimestamp) MarshalTo(dAtA []byte) (int, error)
- func (m *VscSendTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VscSendTimestamp) ProtoMessage()
- func (m *VscSendTimestamp) Reset()
- func (m *VscSendTimestamp) Size() (n int)
- func (m *VscSendTimestamp) String() string
- func (m *VscSendTimestamp) Unmarshal(dAtA []byte) error
- func (m *VscSendTimestamp) XXX_DiscardUnknown()
- func (m *VscSendTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VscSendTimestamp) XXX_Merge(src proto.Message)
- func (m *VscSendTimestamp) XXX_Size() int
- func (m *VscSendTimestamp) XXX_Unmarshal(b []byte) error
- type VscUnbondingOps
- func (*VscUnbondingOps) Descriptor() ([]byte, []int)
- func (m *VscUnbondingOps) GetUnbondingOpIds() []uint64
- func (m *VscUnbondingOps) GetVscId() uint64
- func (m *VscUnbondingOps) Marshal() (dAtA []byte, err error)
- func (m *VscUnbondingOps) MarshalTo(dAtA []byte) (int, error)
- func (m *VscUnbondingOps) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VscUnbondingOps) ProtoMessage()
- func (m *VscUnbondingOps) Reset()
- func (m *VscUnbondingOps) Size() (n int)
- func (m *VscUnbondingOps) String() string
- func (m *VscUnbondingOps) Unmarshal(dAtA []byte) error
- func (m *VscUnbondingOps) XXX_DiscardUnknown()
- func (m *VscUnbondingOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VscUnbondingOps) XXX_Merge(src proto.Message)
- func (m *VscUnbondingOps) XXX_Size() int
- func (m *VscUnbondingOps) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeConsumerClientCreated = "consumer_client_created" EventTypeAssignConsumerKey = "assign_consumer_key" EventTypeAddConsumerRewardDenom = "add_consumer_reward_denom" EventTypeRemoveConsumerRewardDenom = "remove_consumer_reward_denom" EventTypeExecuteConsumerChainSlash = "execute_consumer_chain_slash" EventTypeSetConsumerCommissionRate = "set_consumer_commission_rate" EventTypeOptIn = "opt_in" EventTypeOptOut = "opt_out" AttributeInfractionHeight = "infraction_height" AttributeInitialHeight = "initial_height" AttributeInitializationTimeout = "initialization_timeout" AttributeTrustingPeriod = "trusting_period" AttributeUnbondingPeriod = "unbonding_period" AttributeProviderValidatorAddress = "provider_validator_address" AttributeConsumerConsensusPubKey = "consumer_consensus_pub_key" AttributeConsumerRewardDenom = "consumer_reward_denom" AttributeConsumerCommissionRate = "consumer_commission_rate" AttributeConsumerChainID = "consumer_chain_id" )
Provider events
const ( // ModuleName defines the CCV provider module name ModuleName = "provider" // StoreKey is the store key string for IBC transfer StoreKey = ModuleName // RouterKey is the message route for IBC transfer RouterKey = ModuleName // QuerierRoute is the querier route for IBC transfer QuerierRoute = ModuleName // Default validator set update ID DefaultValsetUpdateID = 1 // This address receives rewards from consumer chains ConsumerRewardsPool = "consumer_rewards_pool" )
const ( // PortKey defines the key to store the port ID in store PortByteKey byte = iota // MaturedUnbondingOpsByteKey is the byte key that stores the list of all unbonding operations ids // that have matured from a consumer chain perspective, // i.e., no longer waiting on the unbonding period to elapse on any consumer chain MaturedUnbondingOpsByteKey // ValidatorSetUpdateIdByteKey is the byte key that stores the current validator set update id ValidatorSetUpdateIdByteKey // SlashMeterByteKey is the byte key for storing the slash meter SlashMeterByteKey // SlashMeterReplenishTimeCandidateByteKey is the byte key for storing the slash meter replenish time candidate SlashMeterReplenishTimeCandidateByteKey // ChainToChannelBytePrefix is the byte prefix for storing mapping // from chainID to the channel ID that is used to send over validator set changes. ChainToChannelBytePrefix // ChannelToChainBytePrefix is the byte prefix for storing mapping // from the CCV channel ID to the consumer chain ID. ChannelToChainBytePrefix // ChainToClientBytePrefix is the byte prefix for storing the client ID for a given consumer chainID. ChainToClientBytePrefix // InitTimeoutTimestampBytePrefix is the byte prefix for storing // the init timeout timestamp for a given consumer chainID. InitTimeoutTimestampBytePrefix // PendingCAPBytePrefix is the byte prefix for storing pending consumer addition proposals before the spawn time occurs. // The key includes the BigEndian timestamp to allow for efficient chronological iteration PendingCAPBytePrefix // PendingCRPBytePrefix is the byte prefix for storing pending consumer removal proposals before the stop time occurs. // The key includes the BigEndian timestamp to allow for efficient chronological iteration PendingCRPBytePrefix // UnbondingOpBytePrefix is the byte prefix that stores a record of all the ids of consumer chains that // need to unbond before a given unbonding operation can unbond on this chain. UnbondingOpBytePrefix // UnbondingOpIndexBytePrefix is byte prefix of the index for looking up which unbonding // operations are waiting for a given consumer chain to unbond UnbondingOpIndexBytePrefix // ValsetUpdateBlockHeightBytePrefix is the byte prefix that will store the mapping from vscIDs to block heights ValsetUpdateBlockHeightBytePrefix // ConsumerGenesisBytePrefix stores consumer genesis state material (consensus state and client state) indexed by consumer chain id ConsumerGenesisBytePrefix // SlashAcksBytePrefix is the byte prefix that will store consensus address of consumer chain validators successfully slashed on the provider chain SlashAcksBytePrefix // InitChainHeightBytePrefix is the byte prefix that will store the mapping from a chain id to the corresponding block height on the provider // this consumer chain was initialized InitChainHeightBytePrefix // PendingVSCsBytePrefix is the byte prefix that will store pending ValidatorSetChangePacket data PendingVSCsBytePrefix // VscSendTimestampBytePrefix is the byte prefix for storing // the list of VSC sending timestamps for a given consumer chainID. VscSendTimestampBytePrefix // ThrottledPacketDataSizeBytePrefix is the byte prefix for storing the size of chain-specific throttled packet data queues ThrottledPacketDataSizeBytePrefix // ThrottledPacketDataBytePrefix is the byte prefix storing throttled packet data ThrottledPacketDataBytePrefix // GlobalSlashEntryBytePrefix is the byte prefix storing global slash queue entries GlobalSlashEntryBytePrefix // ConsumerValidatorsBytePrefix is the byte prefix that will store the validator assigned keys for every consumer chain ConsumerValidatorsBytePrefix // ValidatorsByConsumerAddrBytePrefix is the byte prefix that will store the mapping from validator addresses // on consumer chains to validator addresses on the provider chain ValidatorsByConsumerAddrBytePrefix // KeyAssignmentReplacementsBytePrefix was the byte prefix used to store the key assignments that needed to be replaced in the current block // NOTE: This prefix is deprecated, but left in place to avoid consumer state migrations // [DEPRECATED] KeyAssignmentReplacementsBytePrefix // ConsumerAddrsToPruneBytePrefix is the byte prefix that will store the mapping from VSC ids // to consumer validators addresses needed for pruning ConsumerAddrsToPruneBytePrefix // SlashLogBytePrefix is the byte prefix that will store the mapping from provider address to boolean // denoting whether the provider address has committed any double signign infractions SlashLogBytePrefix // ConsumerRewardDenomsBytePrefix is the byte prefix that will store a list of consumer reward denoms ConsumerRewardDenomsBytePrefix // VSCMaturedHandledThisBlockBytePrefix is the byte prefix storing the number of vsc matured packets // handled in the current block VSCMaturedHandledThisBlockBytePrefix // EquivocationEvidenceMinHeightBytePrefix is the byte prefix storing the mapping from consumer chain IDs // to the minimum height of a valid consumer equivocation evidence EquivocationEvidenceMinHeightBytePrefix // ProposedConsumerChainByteKey is the byte prefix storing the consumer chainId in consumerAddition gov proposal submitted before voting finishes ProposedConsumerChainByteKey // ConsumerValidatorBytePrefix is the byte prefix used when storing for each consumer chain all the consumer // validators in this epoch that are validating the consumer chain ConsumerValidatorBytePrefix // OptedInBytePrefix is the byte prefix for storing whether a validator is opted in to validate on a consumer chain OptedInBytePrefix // TopNBytePrefix is the byte prefix storing the mapping from a consumer chain to the N value of this chain, // that corresponds to the N% of the top validators that have to validate this consumer chain TopNBytePrefix // ValidatorsPowerCapPrefix is the byte prefix storing the mapping from a consumer chain to the power-cap value of this chain, // that corresponds to p% such that no validator can have more than p% of the voting power on the consumer chain. // Operates on a best-effort basis. ValidatorsPowerCapPrefix // ValidatorSetCapPrefix is the byte prefix storing the mapping from a consumer chain to the validator-set cap value // of this chain. ValidatorSetCapPrefix // AllowlistPrefix is the byte prefix storing the mapping from a consumer chain to the set of validators that are // allowlisted. AllowlistPrefix // DenylistPrefix is the byte prefix storing the mapping from a consumer chain to the set of validators that are // denylisted. DenylistPrefix // ConsumerRewardsAllocationBytePrefix is the byte prefix for storing for each consumer the ICS rewards // allocated to the consumer rewards pool ConsumerRewardsAllocationBytePrefix // ConsumerCommissionRatePrefix is the byte prefix for storing the commission rate // per validator per consumer chain ConsumerCommissionRatePrefix // MinimumPowerInTopNBytePrefix is the byte prefix for storing the // minimum power required to be in the top N per consumer chain. MinimumPowerInTopNBytePrefix )
Iota generated keys/byte prefixes (as a byte), supports 256 possible values
const ( TypeMsgAssignConsumerKey = "assign_consumer_key" TypeMsgSubmitConsumerMisbehaviour = "submit_consumer_misbehaviour" TypeMsgSubmitConsumerDoubleVoting = "submit_consumer_double_vote" TypeMsgOptIn = "opt_in" TypeMsgOptOut = "opt_out" TypeMsgSetConsumerCommissionRate = "set_consumer_commission_rate" )
provider message types
const ( // DefaultMaxClockDrift defines how much new (untrusted) header's Time can drift into the future. // This default is only used in the default template client param. DefaultMaxClockDrift = 10 * time.Second // DefaultTrustingPeriodFraction is the default fraction used to compute TrustingPeriod // as UnbondingPeriod * TrustingPeriodFraction DefaultTrustingPeriodFraction = "0.66" // DefaultInitTimeoutPeriod defines the init timeout period DefaultInitTimeoutPeriod = 7 * 24 * time.Hour // DefaultVscTimeoutPeriod defines the VSC timeout period DefaultVscTimeoutPeriod = 5 * 7 * 24 * time.Hour // DefaultSlashMeterReplenishPeriod defines the default period for which the slash gas meter is replenished DefaultSlashMeterReplenishPeriod = time.Hour // DefaultSlashMeterReplenishFraction defines the default fraction of total voting power // that is replenished to the slash meter every replenish period. This param also serves as a maximum // fraction of total voting power that the slash meter can hold. DefaultSlashMeterReplenishFraction = "0.05" // DefaultBlocksPerEpoch defines the default blocks that constitute an epoch. Assuming we need 6 seconds per block, // an epoch corresponds to 1 hour (6 * 600 = 3600 seconds). // forcing int64 as the Params KeyTable expects an int64 and not int. DefaultBlocksPerEpoch = int64(600) // DefaultNumberOfEpochsToStartReceivingRewards defines the default minimum number of epochs required by a validator to validate // during so that the validator can start receiving rewards. This would mean that a validator has to be a consumer validator for at least // `DefaultNumberOfEpochsToStartReceivingRewards * DefaultBlocksPerEpoch` on a consumer chain to start receiving rewards from the chain. // Note that after a validator starts receiving rewards, the validator would keep receiving rewards every time the // consumer chain sends an IBC transfer over to the provider. This value only sets a constraint on when a validator // can first start receiving rewards to avoid cases where a validator just opts in to receive rewards and then opts out // immediately afterward. // Current default values for blocks per epoch corresponds to about 1 hour, so with 24 being the // minimum amount of epochs, this would imply that a validator has to validate at least for 1 day to receive rewards. DefaultNumberOfEpochsToStartReceivingRewards = int64(24) )
const ( ProposalTypeConsumerAddition = "ConsumerAddition" ProposalTypeConsumerRemoval = "ConsumerRemoval" ProposalTypeConsumerModification = "ConsumerModification" ProposalTypeEquivocation = "Equivocation" ProposalTypeChangeRewardDenoms = "ChangeRewardDenoms" )
Variables ¶
var ( // ModuleCdc references the global x/ibc-transfer module codec. Note, the codec // should ONLY be used in certain instances of tests and for JSON encoding. // // The actual codec used for serialization should be provided to x/ibc transfer and // defined at the application level. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) // AminoCdc is a amino codec created to support amino json compatible msgs. AminoCdc = codec.NewAminoCodec(amino) )
var ( ErrInvalidConsumerAdditionProposal = errorsmod.Register(ModuleName, 1, "invalid consumer addition proposal") ErrInvalidConsumerRemovalProp = errorsmod.Register(ModuleName, 2, "invalid consumer removal proposal") ErrUnknownConsumerChainId = errorsmod.Register(ModuleName, 3, "no consumer chain with this chain id") ErrUnknownConsumerChannelId = errorsmod.Register(ModuleName, 4, "no consumer chain with this channel id") ErrInvalidConsumerConsensusPubKey = errorsmod.Register(ModuleName, 5, "empty consumer consensus public key") ErrInvalidConsumerChainID = errorsmod.Register(ModuleName, 6, "invalid consumer chain id") ErrConsumerKeyNotFound = errorsmod.Register(ModuleName, 7, "consumer key not found") ErrNoValidatorConsumerAddress = errorsmod.Register(ModuleName, 8, "error getting validator consumer address") ErrNoValidatorProviderAddress = errorsmod.Register(ModuleName, 9, "error getting validator provider address") ErrConsumerKeyInUse = errorsmod.Register(ModuleName, 10, "consumer key is already in use by a validator") ErrCannotAssignDefaultKeyAssignment = errorsmod.Register(ModuleName, 11, "cannot re-assign default key assignment") ErrInvalidConsumerParams = errorsmod.Register(ModuleName, 12, "invalid consumer params") ErrInvalidProviderAddress = errorsmod.Register(ModuleName, 13, "invalid provider address") ErrInvalidConsumerRewardDenom = errorsmod.Register(ModuleName, 14, "invalid consumer reward denom") ErrInvalidDepositorAddress = errorsmod.Register(ModuleName, 15, "invalid depositor address") ErrInvalidConsumerClient = errorsmod.Register(ModuleName, 16, "ccv channel is not built on correct client") ErrDuplicateConsumerChain = errorsmod.Register(ModuleName, 17, "consumer chain already exists") ErrConsumerChainNotFound = errorsmod.Register(ModuleName, 18, "consumer chain not found") ErrInvalidConsumerCommissionRate = errorsmod.Register(ModuleName, 19, "consumer commission rate is invalid") ErrCannotOptOutFromTopN = errorsmod.Register(ModuleName, 20, "cannot opt out from a Top N chain") ErrNoUnconfirmedVSCPacket = errorsmod.Register(ModuleName, 21, "no unconfirmed vsc packet for this chain id") ErrInvalidConsumerModificationProposal = errorsmod.Register(ModuleName, 22, "invalid consumer modification proposal") )
Provider sentinel errors
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 ( KeyTemplateClient = []byte("TemplateClient") KeyTrustingPeriodFraction = []byte("TrustingPeriodFraction") KeyInitTimeoutPeriod = []byte("InitTimeoutPeriod") KeyVscTimeoutPeriod = []byte("VscTimeoutPeriod") KeySlashMeterReplenishPeriod = []byte("SlashMeterReplenishPeriod") KeySlashMeterReplenishFraction = []byte("SlashMeterReplenishFraction") KeyConsumerRewardDenomRegistrationFee = []byte("ConsumerRewardDenomRegistrationFee") KeyBlocksPerEpoch = []byte("BlocksPerEpoch") KeyNumberOfEpochsToStartReceivingRewards = []byte("NumberOfEpochsToStartReceivingRewards") )
Reflection based keys for params subspace
var ( ErrInvalidLengthProvider = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProvider = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProvider = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func AllowlistCapKey ¶ added in v4.2.0
func AllowlistCapKey(chainID string, providerAddr ProviderConsAddress) []byte
AllowlistCapKey returns the key to a validator's slash log
func ChainIdAndConsAddrKey ¶
func ChainIdAndConsAddrKey(prefix byte, chainID string, addr sdk.ConsAddress) []byte
ChainIdAndConsAddrKey returns the key with the following format: bytePrefix | len(chainID) | chainID | ConsAddress
func ChainIdAndTsKey ¶
ChainIdAndTsKey returns the key with the following format: bytePrefix | len(chainID) | chainID | timestamp
func ChainIdAndUintIdKey ¶
ChainIdAndUintIdKey returns the key with the following format: bytePrefix | len(chainID) | chainID | uint64(ID)
func ChainIdWithLenKey ¶
ChainIdWithLenKey returns the key with the following format: bytePrefix | len(chainID) | chainID
func ChainToChannelKey ¶
ChainToChannelKey returns the key under which the CCV channel ID will be stored for the given consumer chain.
func ChainToClientKey ¶
ChainToClientKey returns the key under which the clientID for the given chainID is stored.
func ChannelToChainKey ¶
ChannelToChainKey returns the key under which the consumer chain ID will be stored for the given channelID.
func ConsumerAddrsToPruneKey ¶
ConsumerAddrsToPruneKey returns the key under which the mapping from VSC ids to consumer validators addresses is stored
func ConsumerCommissionRateKey ¶ added in v4.2.0
func ConsumerCommissionRateKey(chainID string, providerAddr ProviderConsAddress) []byte
ConsumerCommissionRateKey returns the key used to store the commission rate per validator per consumer chain.
func ConsumerGenesisKey ¶
ConsumerGenesisKey returns the key corresponding to consumer genesis state material (consensus state and client state) indexed by consumer chain id
func ConsumerRewardDenomsKey ¶
ConsumerRewardDenomsKey returns the key under which consumer reward denoms are stored
func ConsumerRewardsAllocationKey ¶ added in v4.2.0
ConsumerRewardsAllocationKey returns the key used to store the ICS rewards per consumer chain
func ConsumerValidatorKey ¶ added in v4.1.0
ConsumerValidatorKey returns the key of consumer chain `chainID` and validator with `providerAddr`
func ConsumerValidatorsKey ¶
func ConsumerValidatorsKey(chainID string, addr ProviderConsAddress) []byte
ConsumerValidatorsKey returns the key under which the validator assigned keys for every consumer chain are stored
func DenylistCapKey ¶ added in v4.2.0
func DenylistCapKey(chainID string, providerAddr ProviderConsAddress) []byte
DenylistCapKey returns the key to a validator's slash log
func EquivocationEvidenceMinHeightKey ¶
EquivocationEvidenceMinHeightKey returns the key storing the minimum height of a valid consumer equivocation evidence for a given consumer chain ID
func GlobalSlashEntryKey ¶
func GlobalSlashEntryKey(entry GlobalSlashEntry) []byte
GlobalSlashEntryKey returns the key for storing a global slash queue entry.
func InitChainHeightKey ¶
InitChainHeightKey returns the key under which the block height for a given chain ID is stored
func InitTimeoutTimestampKey ¶
InitTimeoutTimestampKey returns the key under which the init timeout timestamp for the given chainID is stored.
func KeyAssignmentValidateBasic ¶
func KeyAssignmentValidateBasic( assignedKeys []ValidatorConsumerPubKey, byConsumerAddrs []ValidatorByConsumerAddr, consumerAddrsToPrune []ConsumerAddrsToPrune, ) error
KeyAssignmentValidateBasic validates all the genesis state for key assignment This is a utility. Key Assignment does not define any new proto types, but has a lot of nested data.
func MaturedUnbondingOpsKey ¶
func MaturedUnbondingOpsKey() []byte
MaturedUnbondingOpsKey returns the key for storing the list of matured unbonding operations.
func MinimumPowerInTopNKey ¶ added in v4.3.0
func MustParseGlobalSlashEntryKey ¶
func MustParseGlobalSlashEntryKey(bz []byte) ( recvTime time.Time, consumerChainID string, ibcSeqNum uint64, )
MustParseGlobalSlashEntryKey returns the received time and chainID for a global slash queue entry key, or panics if the key is invalid.
func MustParseThrottledPacketDataKey ¶
MustParseThrottledPacketDataKey parses a throttled packet data key or panics upon failure
func NewChangeRewardDenomsProposal ¶
func NewChangeRewardDenomsProposal(title, description string, denomsToAdd, denomsToRemove []string, ) govv1beta1.Content
func NewConsumerAdditionProposal ¶
func NewConsumerAdditionProposal(title, description, chainID string, initialHeight clienttypes.Height, genesisHash, binaryHash []byte, spawnTime time.Time, consumerRedistributionFraction string, blocksPerDistributionTransmission int64, distributionTransmissionChannel string, historicalEntries int64, ccvTimeoutPeriod time.Duration, transferTimeoutPeriod time.Duration, unbondingPeriod time.Duration, topN uint32, validatorsPowerCap uint32, validatorSetCap uint32, allowlist []string, denylist []string, ) govv1beta1.Content
NewConsumerAdditionProposal creates a new consumer addition proposal.
func NewConsumerModificationProposal ¶ added in v4.3.0
func NewConsumerModificationProposal(title, description, chainID string, topN uint32, validatorsPowerCap uint32, validatorSetCap uint32, allowlist []string, denylist []string, ) govv1beta1.Content
NewConsumerModificationProposal creates a new consumer modification proposal.
func NewConsumerRemovalProposal ¶
func NewConsumerRemovalProposal(title, description, chainID string, stopTime time.Time) govv1beta1.Content
NewConsumerRemovalProposal creates a new consumer removal proposal.
func NewEquivocationProposal ¶
func NewEquivocationProposal(title, description string, equivocations []*evidencetypes.Equivocation) govv1beta1.Content
NewEquivocationProposal creates a new equivocation proposal. [DEPRECATED]: do not use because equivocations can be submitted and verified automatically on the provider.
func OptedInKey ¶ added in v4.2.0
func OptedInKey(chainID string, providerAddr ProviderConsAddress) []byte
OptedInKey returns the key used to store whether a validator is opted in on a consumer chain.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns a key table with the necessary registered provider params
func ParseChainIdAndConsAddrKey ¶
ParseChainIdAndConsAddrKey returns the chain ID and ConsAddress for a ChainIdAndConsAddrKey key
func ParseChainIdAndTsKey ¶
ParseChainIdAndTsKey returns the chain ID and time for a ChainIdAndTs key
func ParseChainIdAndUintIdKey ¶
ParseChainIdAndUintIdKey returns the chain ID and uint ID for a ChainIdAndUintId key
func ParseConsumerKeyFromJson ¶
ParseConsumerKeyFromJson parses the consumer key from a JSON string, this replaces deserializing a protobuf any.
func ParseProposedConsumerChainKey ¶
ParseProposedConsumerChainKey get the proposalID in the key
func ParseThrottledPacketDataKey ¶
ParseThrottledPacketDataKey parses a throttled packet data key
func ParseUnbondingOpIndexKey ¶
ParseUnbondingOpIndexKey parses an unbonding op index key for VSC ID Removes the prefix + chainID from index key and returns only the key part.
func ParseVscSendingTimestampKey ¶
ParseVscTimeoutTimestampKey returns chain ID and vsc ID for a VscSendingTimestampKey or an error if unparsable
func PendingCAPKey ¶
PendingCAPKey returns the key under which a pending consumer addition proposal is stored. The key has the following format: PendingCAPBytePrefix | timestamp.UnixNano() | chainID
func PendingCRPKey ¶
PendingCRPKey returns the key under which pending consumer removal proposals are stored. The key has the following format: PendingCRPBytePrefix | timestamp.UnixNano() | chainID
func PendingVSCsKey ¶
PendingVSCsKey returns the key under which pending ValidatorSetChangePacket data is stored for a given chain ID
func ProposedConsumerChainKey ¶
ProposedConsumerChainKey returns the key of proposed consumer chainId in consumerAddition gov proposal before voting finishes, the stored key format is prefix|proposalID, value is chainID
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the provider proposal structs to the interface registry
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/ibc transfer interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SlashAcksKey ¶
SlashAcksKey returns the key under which slashing acks are stored for a given chain ID
func SlashLogKey ¶
func SlashLogKey(providerAddr ProviderConsAddress) []byte
SlashLogKey returns the key to a validator's slash log
func SlashMeterKey ¶
func SlashMeterKey() []byte
SlashMeterKey returns the key storing the slash meter
func SlashMeterReplenishTimeCandidateKey ¶
func SlashMeterReplenishTimeCandidateKey() []byte
SlashMeterReplenishTimeCandidateKey returns the key storing the slash meter replenish time candidate
func ThrottledPacketDataKey ¶
ThrottledPacketDataKey returns the key storing the throttled packet data queue for a given chain ID and ibc seq num
func ThrottledPacketDataSizeKey ¶
ThrottledPacketDataSizeKey returns the key storing the size of the throttled packet data queue for a given chain ID
func TopNKey ¶ added in v4.2.0
TopNKey returns the key used to store the Top N value per consumer chain. This value corresponds to the N% of the top validators that have to validate the consumer chain.
func UnbondingOpIndexKey ¶
UnbondingOpIndexKey returns an unbonding op index key Note: chainId is hashed to a fixed length sequence of bytes here to prevent injection attack between chainIDs.
func UnbondingOpKey ¶
UnbondingOpKey returns the key that stores a record of all the ids of consumer chains that need to unbond before a given unbonding operation can unbond on this chain.
func VSCMaturedHandledThisBlockKey ¶
func VSCMaturedHandledThisBlockKey() []byte
func ValidateCoin ¶
func ValidateCoin(i interface{}) error
func ValidatePSSFeatures ¶ added in v4.3.0
ValidatePSSFeatures returns an error if the `topN` and `validatorsPowerCap` parameters are no in the correct ranges
func ValidateTemplateClient ¶
func ValidateTemplateClient(i interface{}) error
func ValidatorSetCapKey ¶ added in v4.2.0
ValidatorSetCapKey returns the key of consumer chain `chainID`
func ValidatorSetUpdateIdKey ¶
func ValidatorSetUpdateIdKey() []byte
ValidatorSetUpdateIdKey is the key that stores the current validator set update id
func ValidatorsByConsumerAddrKey ¶
func ValidatorsByConsumerAddrKey(chainID string, addr ConsumerConsAddress) []byte
ValidatorsByConsumerAddrKey returns the key under which the mapping from validator addresses on consumer chains to validator addresses on the provider chain is stored
func ValidatorsPowerCapKey ¶ added in v4.2.0
ValidatorSetPowerKey returns the key of consumer chain `chainID`
func ValsetUpdateBlockHeightKey ¶
ValsetUpdateBlockHeightKey returns the key that storing the mapping from valset update ID to block height
func VscSendingTimestampKey ¶
VscSendingTimestampKey returns the key under which the sending timestamp of the VSCPacket with vsc ID is stored
Types ¶
type AddressList ¶
type AddressList struct {
Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}
AddressList contains a list of consensus addresses
func (*AddressList) Descriptor ¶
func (*AddressList) Descriptor() ([]byte, []int)
func (*AddressList) GetAddresses ¶
func (m *AddressList) GetAddresses() [][]byte
func (*AddressList) Marshal ¶
func (m *AddressList) Marshal() (dAtA []byte, err error)
func (*AddressList) MarshalToSizedBuffer ¶
func (m *AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddressList) ProtoMessage ¶
func (*AddressList) ProtoMessage()
func (*AddressList) Reset ¶
func (m *AddressList) Reset()
func (*AddressList) Size ¶
func (m *AddressList) Size() (n int)
func (*AddressList) String ¶
func (m *AddressList) String() string
func (*AddressList) Unmarshal ¶
func (m *AddressList) Unmarshal(dAtA []byte) error
func (*AddressList) XXX_DiscardUnknown ¶
func (m *AddressList) XXX_DiscardUnknown()
func (*AddressList) XXX_Marshal ¶
func (m *AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressList) XXX_Merge ¶
func (m *AddressList) XXX_Merge(src proto.Message)
func (*AddressList) XXX_Size ¶
func (m *AddressList) XXX_Size() int
func (*AddressList) XXX_Unmarshal ¶
func (m *AddressList) XXX_Unmarshal(b []byte) error
type Chain ¶
type Chain struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // If chain with `chainID` is a Top-N chain, i.e., enforces at least one validator to validate chain `chainID` Top_N uint32 `protobuf:"varint,3,opt,name=top_N,json=topN,proto3" json:"top_N,omitempty"` // If the chain is a Top-N chain, this is the minimum power required to be in the top N. // Otherwise, this is -1. MinPowerInTop_N int64 `protobuf:"varint,4,opt,name=min_power_in_top_N,json=minPowerInTopN,proto3" json:"min_power_in_top_N,omitempty"` // Corresponds to the maximum power (percentage-wise) a validator can have on the consumer chain. ValidatorsPowerCap uint32 `protobuf:"varint,5,opt,name=validators_power_cap,json=validatorsPowerCap,proto3" json:"validators_power_cap,omitempty"` // Corresponds to the maximum number of validators that can validate a consumer chain. // Only applicable to Opt In chains. Setting `validator_set_cap` on a Top N chain is a no-op. ValidatorSetCap uint32 `protobuf:"varint,6,opt,name=validator_set_cap,json=validatorSetCap,proto3" json:"validator_set_cap,omitempty"` // Corresponds to a list of provider consensus addresses of validators that are the ONLY ones that can validate // the consumer chain. Allowlist []string `protobuf:"bytes,7,rep,name=allowlist,proto3" json:"allowlist,omitempty"` // Corresponds to a list of provider consensus addresses of validators that CANNOT validate the consumer chain. Denylist []string `protobuf:"bytes,8,rep,name=denylist,proto3" json:"denylist,omitempty"` }
func (*Chain) Descriptor ¶
func (*Chain) GetAllowlist ¶ added in v4.2.0
func (*Chain) GetChainId ¶
func (*Chain) GetClientId ¶
func (*Chain) GetDenylist ¶ added in v4.2.0
func (*Chain) GetMinPowerInTop_N ¶ added in v4.2.0
func (*Chain) GetValidatorSetCap ¶ added in v4.2.0
func (*Chain) GetValidatorsPowerCap ¶ added in v4.2.0
func (*Chain) ProtoMessage ¶
func (*Chain) ProtoMessage()
func (*Chain) XXX_DiscardUnknown ¶
func (m *Chain) XXX_DiscardUnknown()
func (*Chain) XXX_Marshal ¶
func (*Chain) XXX_Unmarshal ¶
type ChangeRewardDenomsProposal ¶
type ChangeRewardDenomsProposal struct { // the title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the list of consumer reward denoms to add DenomsToAdd []string `protobuf:"bytes,3,rep,name=denoms_to_add,json=denomsToAdd,proto3" json:"denoms_to_add,omitempty"` // the list of consumer reward denoms to remove DenomsToRemove []string `protobuf:"bytes,4,rep,name=denoms_to_remove,json=denomsToRemove,proto3" json:"denoms_to_remove,omitempty"` }
ChangeRewardDenomsProposal is a governance proposal on the provider chain to mutate the set of denoms accepted by the provider as rewards.
func (*ChangeRewardDenomsProposal) Descriptor ¶
func (*ChangeRewardDenomsProposal) Descriptor() ([]byte, []int)
func (*ChangeRewardDenomsProposal) GetDenomsToAdd ¶
func (m *ChangeRewardDenomsProposal) GetDenomsToAdd() []string
func (*ChangeRewardDenomsProposal) GetDenomsToRemove ¶
func (m *ChangeRewardDenomsProposal) GetDenomsToRemove() []string
func (*ChangeRewardDenomsProposal) GetDescription ¶
func (m *ChangeRewardDenomsProposal) GetDescription() string
func (*ChangeRewardDenomsProposal) GetTitle ¶
func (m *ChangeRewardDenomsProposal) GetTitle() string
func (*ChangeRewardDenomsProposal) Marshal ¶
func (m *ChangeRewardDenomsProposal) Marshal() (dAtA []byte, err error)
func (*ChangeRewardDenomsProposal) MarshalTo ¶
func (m *ChangeRewardDenomsProposal) MarshalTo(dAtA []byte) (int, error)
func (*ChangeRewardDenomsProposal) MarshalToSizedBuffer ¶
func (m *ChangeRewardDenomsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChangeRewardDenomsProposal) ProposalRoute ¶
func (crdp *ChangeRewardDenomsProposal) ProposalRoute() string
ProposalRoute returns the routing key of a change reward denoms proposal.
func (*ChangeRewardDenomsProposal) ProposalType ¶
func (crdp *ChangeRewardDenomsProposal) ProposalType() string
ProposalType returns the type of a change reward denoms proposal.
func (*ChangeRewardDenomsProposal) ProtoMessage ¶
func (*ChangeRewardDenomsProposal) ProtoMessage()
func (*ChangeRewardDenomsProposal) Reset ¶
func (m *ChangeRewardDenomsProposal) Reset()
func (*ChangeRewardDenomsProposal) Size ¶
func (m *ChangeRewardDenomsProposal) Size() (n int)
func (*ChangeRewardDenomsProposal) String ¶
func (m *ChangeRewardDenomsProposal) String() string
func (*ChangeRewardDenomsProposal) Unmarshal ¶
func (m *ChangeRewardDenomsProposal) Unmarshal(dAtA []byte) error
func (*ChangeRewardDenomsProposal) ValidateBasic ¶
func (crdp *ChangeRewardDenomsProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks on a ChangeRewardDenomsProposal.
func (*ChangeRewardDenomsProposal) XXX_DiscardUnknown ¶
func (m *ChangeRewardDenomsProposal) XXX_DiscardUnknown()
func (*ChangeRewardDenomsProposal) XXX_Marshal ¶
func (m *ChangeRewardDenomsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeRewardDenomsProposal) XXX_Merge ¶
func (m *ChangeRewardDenomsProposal) XXX_Merge(src proto.Message)
func (*ChangeRewardDenomsProposal) XXX_Size ¶
func (m *ChangeRewardDenomsProposal) XXX_Size() int
func (*ChangeRewardDenomsProposal) XXX_Unmarshal ¶
func (m *ChangeRewardDenomsProposal) XXX_Unmarshal(b []byte) error
type ChannelToChain ¶
type ChannelToChain struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` }
ChannelToChain is used to map a CCV channel ID to the consumer chainID
func (*ChannelToChain) Descriptor ¶
func (*ChannelToChain) Descriptor() ([]byte, []int)
func (*ChannelToChain) GetChainId ¶
func (m *ChannelToChain) GetChainId() string
func (*ChannelToChain) GetChannelId ¶
func (m *ChannelToChain) GetChannelId() string
func (*ChannelToChain) Marshal ¶
func (m *ChannelToChain) Marshal() (dAtA []byte, err error)
func (*ChannelToChain) MarshalToSizedBuffer ¶
func (m *ChannelToChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelToChain) ProtoMessage ¶
func (*ChannelToChain) ProtoMessage()
func (*ChannelToChain) Reset ¶
func (m *ChannelToChain) Reset()
func (*ChannelToChain) Size ¶
func (m *ChannelToChain) Size() (n int)
func (*ChannelToChain) String ¶
func (m *ChannelToChain) String() string
func (*ChannelToChain) Unmarshal ¶
func (m *ChannelToChain) Unmarshal(dAtA []byte) error
func (*ChannelToChain) XXX_DiscardUnknown ¶
func (m *ChannelToChain) XXX_DiscardUnknown()
func (*ChannelToChain) XXX_Marshal ¶
func (m *ChannelToChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelToChain) XXX_Merge ¶
func (m *ChannelToChain) XXX_Merge(src proto.Message)
func (*ChannelToChain) XXX_Size ¶
func (m *ChannelToChain) XXX_Size() int
func (*ChannelToChain) XXX_Unmarshal ¶
func (m *ChannelToChain) XXX_Unmarshal(b []byte) error
type ConsumerAdditionProposal ¶
type ConsumerAdditionProposal struct { // the title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the proposed chain-id of the new consumer chain, must be different from all // other consumer chain ids of the executing provider chain. ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // the proposed initial height of new consumer chain. // For a completely new chain, this will be {0,1}. However, it may be // different if this is a chain that is converting to a consumer chain. InitialHeight types.Height `protobuf:"bytes,4,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height"` // The hash of the consumer chain genesis state without the consumer CCV // module genesis params. It is used for off-chain confirmation of // genesis.json validity by validators and other parties. GenesisHash []byte `protobuf:"bytes,5,opt,name=genesis_hash,json=genesisHash,proto3" json:"genesis_hash,omitempty"` // The hash of the consumer chain binary that should be run by validators on // chain initialization. It is used for off-chain confirmation of binary // validity by validators and other parties. BinaryHash []byte `protobuf:"bytes,6,opt,name=binary_hash,json=binaryHash,proto3" json:"binary_hash,omitempty"` // spawn time is the time on the provider chain at which the consumer chain // genesis is finalized and all validators will be responsible for starting // their consumer chain validator node. SpawnTime time.Time `protobuf:"bytes,7,opt,name=spawn_time,json=spawnTime,proto3,stdtime" json:"spawn_time"` // Unbonding period for the consumer, // which should be smaller than that of the provider in general. UnbondingPeriod time.Duration `protobuf:"bytes,8,opt,name=unbonding_period,json=unbondingPeriod,proto3,stdduration" json:"unbonding_period"` // Sent CCV related IBC packets will timeout after this duration CcvTimeoutPeriod time.Duration `protobuf:"bytes,9,opt,name=ccv_timeout_period,json=ccvTimeoutPeriod,proto3,stdduration" json:"ccv_timeout_period"` // Sent transfer related IBC packets will timeout after this duration TransferTimeoutPeriod time.Duration `` /* 129-byte string literal not displayed */ // The fraction of tokens allocated to the consumer redistribution address // during distribution events. The fraction is a string representing a // decimal number. For example "0.75" would represent 75%. ConsumerRedistributionFraction string `` /* 154-byte string literal not displayed */ // BlocksPerDistributionTransmission is the number of blocks between // ibc-token-transfers from the consumer chain to the provider chain. On // sending transmission event, `consumer_redistribution_fraction` of the // accumulated tokens are sent to the consumer redistribution address. BlocksPerDistributionTransmission int64 `` /* 166-byte string literal not displayed */ // The number of historical info entries to persist in store. // This param is a part of the cosmos sdk staking module. In the case of // a ccv enabled consumer chain, the ccv module acts as the staking module. HistoricalEntries int64 `protobuf:"varint,13,opt,name=historical_entries,json=historicalEntries,proto3" json:"historical_entries,omitempty"` // The ID of a token transfer channel used for the Reward Distribution // sub-protocol. If DistributionTransmissionChannel == "", a new transfer // channel is created on top of the same connection as the CCV channel. // Note that transfer_channel_id is the ID of the channel end on the consumer // chain. it is most relevant for chains performing a sovereign to consumer // changeover in order to maintain the existing ibc transfer channel DistributionTransmissionChannel string `` /* 157-byte string literal not displayed */ // Corresponds to the percentage of validators that have to validate the chain under the Top N case. // For example, 53 corresponds to a Top 53% chain, meaning that the top 53% provider validators by voting power // have to validate the proposed consumer chain. top_N can either be 0 or any value in [50, 100]. // A chain can join with top_N == 0 as an Opt In chain, or with top_N ∈ [50, 100] as a Top N chain. Top_N uint32 `protobuf:"varint,15,opt,name=top_N,json=topN,proto3" json:"top_N,omitempty"` // Corresponds to the maximum power (percentage-wise) a validator can have on the consumer chain. For instance, if // `validators_power_cap` is set to 32, it means that no validator can have more than 32% of the voting power on the // consumer chain. Note that this might not be feasible. For example, think of a consumer chain with only // 5 validators and with `validators_power_cap` set to 10%. In such a scenario, at least one validator would need // to have more than 20% of the total voting power. Therefore, `validators_power_cap` operates on a best-effort basis. ValidatorsPowerCap uint32 `protobuf:"varint,16,opt,name=validators_power_cap,json=validatorsPowerCap,proto3" json:"validators_power_cap,omitempty"` // Corresponds to the maximum number of validators that can validate a consumer chain. // Only applicable to Opt In chains. Setting `validator_set_cap` on a Top N chain is a no-op. ValidatorSetCap uint32 `protobuf:"varint,17,opt,name=validator_set_cap,json=validatorSetCap,proto3" json:"validator_set_cap,omitempty"` // Corresponds to a list of provider consensus addresses of validators that are the ONLY ones that can validate // the consumer chain. Allowlist []string `protobuf:"bytes,18,rep,name=allowlist,proto3" json:"allowlist,omitempty"` // Corresponds to a list of provider consensus addresses of validators that CANNOT validate the consumer chain. Denylist []string `protobuf:"bytes,19,rep,name=denylist,proto3" json:"denylist,omitempty"` }
ConsumerAdditionProposal is a governance proposal on the provider chain to spawn a new consumer chain. If it passes, then all validators on the provider chain are expected to validate the consumer chain at spawn time or get slashed. It is recommended that spawn time occurs after the proposal end time.
func (*ConsumerAdditionProposal) Descriptor ¶
func (*ConsumerAdditionProposal) Descriptor() ([]byte, []int)
func (*ConsumerAdditionProposal) GetDescription ¶
func (cccp *ConsumerAdditionProposal) GetDescription() string
GetDescription returns the description of a consumer addition proposal.
func (*ConsumerAdditionProposal) GetTitle ¶
func (cccp *ConsumerAdditionProposal) GetTitle() string
GetTitle returns the title of a consumer addition proposal.
func (*ConsumerAdditionProposal) Marshal ¶
func (m *ConsumerAdditionProposal) Marshal() (dAtA []byte, err error)
func (*ConsumerAdditionProposal) MarshalTo ¶
func (m *ConsumerAdditionProposal) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerAdditionProposal) MarshalToSizedBuffer ¶
func (m *ConsumerAdditionProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerAdditionProposal) ProposalRoute ¶
func (cccp *ConsumerAdditionProposal) ProposalRoute() string
ProposalRoute returns the routing key of a consumer addition proposal.
func (*ConsumerAdditionProposal) ProposalType ¶
func (cccp *ConsumerAdditionProposal) ProposalType() string
ProposalType returns the type of a consumer addition proposal.
func (*ConsumerAdditionProposal) ProtoMessage ¶
func (*ConsumerAdditionProposal) ProtoMessage()
func (*ConsumerAdditionProposal) Reset ¶
func (m *ConsumerAdditionProposal) Reset()
func (*ConsumerAdditionProposal) Size ¶
func (m *ConsumerAdditionProposal) Size() (n int)
func (*ConsumerAdditionProposal) String ¶
func (cccp *ConsumerAdditionProposal) String() string
String returns the string representation of the ConsumerAdditionProposal.
func (*ConsumerAdditionProposal) Unmarshal ¶
func (m *ConsumerAdditionProposal) Unmarshal(dAtA []byte) error
func (*ConsumerAdditionProposal) ValidateBasic ¶
func (cccp *ConsumerAdditionProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*ConsumerAdditionProposal) XXX_DiscardUnknown ¶
func (m *ConsumerAdditionProposal) XXX_DiscardUnknown()
func (*ConsumerAdditionProposal) XXX_Marshal ¶
func (m *ConsumerAdditionProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerAdditionProposal) XXX_Merge ¶
func (m *ConsumerAdditionProposal) XXX_Merge(src proto.Message)
func (*ConsumerAdditionProposal) XXX_Size ¶
func (m *ConsumerAdditionProposal) XXX_Size() int
func (*ConsumerAdditionProposal) XXX_Unmarshal ¶
func (m *ConsumerAdditionProposal) XXX_Unmarshal(b []byte) error
type ConsumerAdditionProposals ¶
type ConsumerAdditionProposals struct { // proposals waiting for spawn_time to pass Pending []*ConsumerAdditionProposal `protobuf:"bytes,1,rep,name=pending,proto3" json:"pending,omitempty"` }
ConsumerAdditionProposals holds pending governance proposals on the provider chain to spawn a new chain.
func (*ConsumerAdditionProposals) Descriptor ¶
func (*ConsumerAdditionProposals) Descriptor() ([]byte, []int)
func (*ConsumerAdditionProposals) GetPending ¶
func (m *ConsumerAdditionProposals) GetPending() []*ConsumerAdditionProposal
func (*ConsumerAdditionProposals) Marshal ¶
func (m *ConsumerAdditionProposals) Marshal() (dAtA []byte, err error)
func (*ConsumerAdditionProposals) MarshalTo ¶
func (m *ConsumerAdditionProposals) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerAdditionProposals) MarshalToSizedBuffer ¶
func (m *ConsumerAdditionProposals) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerAdditionProposals) ProtoMessage ¶
func (*ConsumerAdditionProposals) ProtoMessage()
func (*ConsumerAdditionProposals) Reset ¶
func (m *ConsumerAdditionProposals) Reset()
func (*ConsumerAdditionProposals) Size ¶
func (m *ConsumerAdditionProposals) Size() (n int)
func (*ConsumerAdditionProposals) String ¶
func (m *ConsumerAdditionProposals) String() string
func (*ConsumerAdditionProposals) Unmarshal ¶
func (m *ConsumerAdditionProposals) Unmarshal(dAtA []byte) error
func (*ConsumerAdditionProposals) XXX_DiscardUnknown ¶
func (m *ConsumerAdditionProposals) XXX_DiscardUnknown()
func (*ConsumerAdditionProposals) XXX_Marshal ¶
func (m *ConsumerAdditionProposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerAdditionProposals) XXX_Merge ¶
func (m *ConsumerAdditionProposals) XXX_Merge(src proto.Message)
func (*ConsumerAdditionProposals) XXX_Size ¶
func (m *ConsumerAdditionProposals) XXX_Size() int
func (*ConsumerAdditionProposals) XXX_Unmarshal ¶
func (m *ConsumerAdditionProposals) XXX_Unmarshal(b []byte) error
type ConsumerAddrsToPrune ¶
type ConsumerAddrsToPrune struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` VscId uint64 `protobuf:"varint,2,opt,name=vsc_id,json=vscId,proto3" json:"vsc_id,omitempty"` ConsumerAddrs *AddressList `protobuf:"bytes,3,opt,name=consumer_addrs,json=consumerAddrs,proto3" json:"consumer_addrs,omitempty"` }
Used to serialize the ConsumerAddrsToPrune index from key assignment ConsumerAddrsToPrune: (chainID, vscID uint64) -> consumerAddrs AddressList
func (*ConsumerAddrsToPrune) Descriptor ¶
func (*ConsumerAddrsToPrune) Descriptor() ([]byte, []int)
func (*ConsumerAddrsToPrune) GetChainId ¶
func (m *ConsumerAddrsToPrune) GetChainId() string
func (*ConsumerAddrsToPrune) GetConsumerAddrs ¶
func (m *ConsumerAddrsToPrune) GetConsumerAddrs() *AddressList
func (*ConsumerAddrsToPrune) GetVscId ¶
func (m *ConsumerAddrsToPrune) GetVscId() uint64
func (*ConsumerAddrsToPrune) Marshal ¶
func (m *ConsumerAddrsToPrune) Marshal() (dAtA []byte, err error)
func (*ConsumerAddrsToPrune) MarshalTo ¶
func (m *ConsumerAddrsToPrune) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerAddrsToPrune) MarshalToSizedBuffer ¶
func (m *ConsumerAddrsToPrune) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerAddrsToPrune) ProtoMessage ¶
func (*ConsumerAddrsToPrune) ProtoMessage()
func (*ConsumerAddrsToPrune) Reset ¶
func (m *ConsumerAddrsToPrune) Reset()
func (*ConsumerAddrsToPrune) Size ¶
func (m *ConsumerAddrsToPrune) Size() (n int)
func (*ConsumerAddrsToPrune) String ¶
func (m *ConsumerAddrsToPrune) String() string
func (*ConsumerAddrsToPrune) Unmarshal ¶
func (m *ConsumerAddrsToPrune) Unmarshal(dAtA []byte) error
func (*ConsumerAddrsToPrune) XXX_DiscardUnknown ¶
func (m *ConsumerAddrsToPrune) XXX_DiscardUnknown()
func (*ConsumerAddrsToPrune) XXX_Marshal ¶
func (m *ConsumerAddrsToPrune) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerAddrsToPrune) XXX_Merge ¶
func (m *ConsumerAddrsToPrune) XXX_Merge(src proto.Message)
func (*ConsumerAddrsToPrune) XXX_Size ¶
func (m *ConsumerAddrsToPrune) XXX_Size() int
func (*ConsumerAddrsToPrune) XXX_Unmarshal ¶
func (m *ConsumerAddrsToPrune) XXX_Unmarshal(b []byte) error
type ConsumerConsAddress ¶
type ConsumerConsAddress struct {
Address sdk.ConsAddress
}
A validator's assigned consensus address for a consumer chain. Note this type is for type safety within provider code, consumer code uses normal sdk.ConsAddress, since there's no notion of provider vs consumer address.
func NewConsumerConsAddress ¶
func NewConsumerConsAddress(addr sdk.ConsAddress) ConsumerConsAddress
NewConsumerConsAddress creates a new ConsumerConsAddress, a validator's assigned consensus address for a consumer chain. Note this type is for type safety within provider code, consumer code uses normal sdk.ConsAddress, since there's no notion of provider vs consumer address.
func (*ConsumerConsAddress) String ¶
func (c *ConsumerConsAddress) String() string
String implements the Stringer interface for ConsumerConsAddress, in the same format as sdk.ConsAddress
func (*ConsumerConsAddress) ToSdkConsAddr ¶
func (c *ConsumerConsAddress) ToSdkConsAddr() sdk.ConsAddress
type ConsumerModificationProposal ¶ added in v4.3.0
type ConsumerModificationProposal struct { // the title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the chain-id of the consumer chain to be modified ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Corresponds to the percentage of validators that have to validate the chain under the Top N case. // For example, 53 corresponds to a Top 53% chain, meaning that the top 53% provider validators by voting power // have to validate the proposed consumer chain. top_N can either be 0 or any value in [50, 100]. // A chain can join with top_N == 0 as an Opt In chain, or with top_N ∈ [50, 100] as a Top N chain. Top_N uint32 `protobuf:"varint,4,opt,name=top_N,json=topN,proto3" json:"top_N,omitempty"` // Corresponds to the maximum power (percentage-wise) a validator can have on the consumer chain. For instance, if // `validators_power_cap` is set to 32, it means that no validator can have more than 32% of the voting power on the // consumer chain. Note that this might not be feasible. For example, think of a consumer chain with only // 5 validators and with `validators_power_cap` set to 10%. In such a scenario, at least one validator would need // to have more than 20% of the total voting power. Therefore, `validators_power_cap` operates on a best-effort basis. ValidatorsPowerCap uint32 `protobuf:"varint,5,opt,name=validators_power_cap,json=validatorsPowerCap,proto3" json:"validators_power_cap,omitempty"` // Corresponds to the maximum number of validators that can validate a consumer chain. // Only applicable to Opt In chains. Setting `validator_set_cap` on a Top N chain is a no-op. ValidatorSetCap uint32 `protobuf:"varint,6,opt,name=validator_set_cap,json=validatorSetCap,proto3" json:"validator_set_cap,omitempty"` // Corresponds to a list of provider consensus addresses of validators that are the ONLY ones that can validate // the consumer chain. Allowlist []string `protobuf:"bytes,7,rep,name=allowlist,proto3" json:"allowlist,omitempty"` // Corresponds to a list of provider consensus addresses of validators that CANNOT validate the consumer chain. Denylist []string `protobuf:"bytes,8,rep,name=denylist,proto3" json:"denylist,omitempty"` }
ConsumerModificationProposal is a governance proposal on the provider chain to modify parameters of a running consumer chain. If it passes, the consumer chain's state is updated to take into account the newest params.
func (*ConsumerModificationProposal) Descriptor ¶ added in v4.3.0
func (*ConsumerModificationProposal) Descriptor() ([]byte, []int)
func (*ConsumerModificationProposal) GetAllowlist ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetAllowlist() []string
func (*ConsumerModificationProposal) GetChainId ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetChainId() string
func (*ConsumerModificationProposal) GetDenylist ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetDenylist() []string
func (*ConsumerModificationProposal) GetDescription ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetDescription() string
func (*ConsumerModificationProposal) GetTitle ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetTitle() string
func (*ConsumerModificationProposal) GetTop_N ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetTop_N() uint32
func (*ConsumerModificationProposal) GetValidatorSetCap ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetValidatorSetCap() uint32
func (*ConsumerModificationProposal) GetValidatorsPowerCap ¶ added in v4.3.0
func (m *ConsumerModificationProposal) GetValidatorsPowerCap() uint32
func (*ConsumerModificationProposal) Marshal ¶ added in v4.3.0
func (m *ConsumerModificationProposal) Marshal() (dAtA []byte, err error)
func (*ConsumerModificationProposal) MarshalTo ¶ added in v4.3.0
func (m *ConsumerModificationProposal) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerModificationProposal) MarshalToSizedBuffer ¶ added in v4.3.0
func (m *ConsumerModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerModificationProposal) ProposalRoute ¶ added in v4.3.0
func (cccp *ConsumerModificationProposal) ProposalRoute() string
ProposalRoute returns the routing key of a consumer modification proposal.
func (*ConsumerModificationProposal) ProposalType ¶ added in v4.3.0
func (cccp *ConsumerModificationProposal) ProposalType() string
ProposalType returns the type of the consumer modification proposal.
func (*ConsumerModificationProposal) ProtoMessage ¶ added in v4.3.0
func (*ConsumerModificationProposal) ProtoMessage()
func (*ConsumerModificationProposal) Reset ¶ added in v4.3.0
func (m *ConsumerModificationProposal) Reset()
func (*ConsumerModificationProposal) Size ¶ added in v4.3.0
func (m *ConsumerModificationProposal) Size() (n int)
func (*ConsumerModificationProposal) String ¶ added in v4.3.0
func (m *ConsumerModificationProposal) String() string
func (*ConsumerModificationProposal) Unmarshal ¶ added in v4.3.0
func (m *ConsumerModificationProposal) Unmarshal(dAtA []byte) error
func (*ConsumerModificationProposal) ValidateBasic ¶ added in v4.3.0
func (cccp *ConsumerModificationProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*ConsumerModificationProposal) XXX_DiscardUnknown ¶ added in v4.3.0
func (m *ConsumerModificationProposal) XXX_DiscardUnknown()
func (*ConsumerModificationProposal) XXX_Marshal ¶ added in v4.3.0
func (m *ConsumerModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerModificationProposal) XXX_Merge ¶ added in v4.3.0
func (m *ConsumerModificationProposal) XXX_Merge(src proto.Message)
func (*ConsumerModificationProposal) XXX_Size ¶ added in v4.3.0
func (m *ConsumerModificationProposal) XXX_Size() int
func (*ConsumerModificationProposal) XXX_Unmarshal ¶ added in v4.3.0
func (m *ConsumerModificationProposal) XXX_Unmarshal(b []byte) error
type ConsumerRemovalProposal ¶
type ConsumerRemovalProposal struct { // the title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the chain-id of the consumer chain to be stopped ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // the time on the provider chain at which all validators are responsible to // stop their consumer chain validator node StopTime time.Time `protobuf:"bytes,4,opt,name=stop_time,json=stopTime,proto3,stdtime" json:"stop_time"` }
ConsumerRemovalProposal is a governance proposal on the provider chain to remove (and stop) a consumer chain. If it passes, all the consumer chain's state is removed from the provider chain. The outstanding unbonding operation funds are released.
func (*ConsumerRemovalProposal) Descriptor ¶
func (*ConsumerRemovalProposal) Descriptor() ([]byte, []int)
func (*ConsumerRemovalProposal) GetChainId ¶
func (m *ConsumerRemovalProposal) GetChainId() string
func (*ConsumerRemovalProposal) GetDescription ¶
func (m *ConsumerRemovalProposal) GetDescription() string
func (*ConsumerRemovalProposal) GetStopTime ¶
func (m *ConsumerRemovalProposal) GetStopTime() time.Time
func (*ConsumerRemovalProposal) GetTitle ¶
func (m *ConsumerRemovalProposal) GetTitle() string
func (*ConsumerRemovalProposal) Marshal ¶
func (m *ConsumerRemovalProposal) Marshal() (dAtA []byte, err error)
func (*ConsumerRemovalProposal) MarshalTo ¶
func (m *ConsumerRemovalProposal) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerRemovalProposal) MarshalToSizedBuffer ¶
func (m *ConsumerRemovalProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerRemovalProposal) ProposalRoute ¶
func (sccp *ConsumerRemovalProposal) ProposalRoute() string
ProposalRoute returns the routing key of a consumer removal proposal.
func (*ConsumerRemovalProposal) ProposalType ¶
func (sccp *ConsumerRemovalProposal) ProposalType() string
ProposalType returns the type of a consumer removal proposal.
func (*ConsumerRemovalProposal) ProtoMessage ¶
func (*ConsumerRemovalProposal) ProtoMessage()
func (*ConsumerRemovalProposal) Reset ¶
func (m *ConsumerRemovalProposal) Reset()
func (*ConsumerRemovalProposal) Size ¶
func (m *ConsumerRemovalProposal) Size() (n int)
func (*ConsumerRemovalProposal) String ¶
func (m *ConsumerRemovalProposal) String() string
func (*ConsumerRemovalProposal) Unmarshal ¶
func (m *ConsumerRemovalProposal) Unmarshal(dAtA []byte) error
func (*ConsumerRemovalProposal) ValidateBasic ¶
func (sccp *ConsumerRemovalProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*ConsumerRemovalProposal) XXX_DiscardUnknown ¶
func (m *ConsumerRemovalProposal) XXX_DiscardUnknown()
func (*ConsumerRemovalProposal) XXX_Marshal ¶
func (m *ConsumerRemovalProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerRemovalProposal) XXX_Merge ¶
func (m *ConsumerRemovalProposal) XXX_Merge(src proto.Message)
func (*ConsumerRemovalProposal) XXX_Size ¶
func (m *ConsumerRemovalProposal) XXX_Size() int
func (*ConsumerRemovalProposal) XXX_Unmarshal ¶
func (m *ConsumerRemovalProposal) XXX_Unmarshal(b []byte) error
type ConsumerRemovalProposals ¶
type ConsumerRemovalProposals struct { // proposals waiting for stop_time to pass Pending []*ConsumerRemovalProposal `protobuf:"bytes,1,rep,name=pending,proto3" json:"pending,omitempty"` }
ConsumerRemovalProposals holds pending governance proposals on the provider chain to remove (and stop) a consumer chain.
func (*ConsumerRemovalProposals) Descriptor ¶
func (*ConsumerRemovalProposals) Descriptor() ([]byte, []int)
func (*ConsumerRemovalProposals) GetPending ¶
func (m *ConsumerRemovalProposals) GetPending() []*ConsumerRemovalProposal
func (*ConsumerRemovalProposals) Marshal ¶
func (m *ConsumerRemovalProposals) Marshal() (dAtA []byte, err error)
func (*ConsumerRemovalProposals) MarshalTo ¶
func (m *ConsumerRemovalProposals) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerRemovalProposals) MarshalToSizedBuffer ¶
func (m *ConsumerRemovalProposals) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerRemovalProposals) ProtoMessage ¶
func (*ConsumerRemovalProposals) ProtoMessage()
func (*ConsumerRemovalProposals) Reset ¶
func (m *ConsumerRemovalProposals) Reset()
func (*ConsumerRemovalProposals) Size ¶
func (m *ConsumerRemovalProposals) Size() (n int)
func (*ConsumerRemovalProposals) String ¶
func (m *ConsumerRemovalProposals) String() string
func (*ConsumerRemovalProposals) Unmarshal ¶
func (m *ConsumerRemovalProposals) Unmarshal(dAtA []byte) error
func (*ConsumerRemovalProposals) XXX_DiscardUnknown ¶
func (m *ConsumerRemovalProposals) XXX_DiscardUnknown()
func (*ConsumerRemovalProposals) XXX_Marshal ¶
func (m *ConsumerRemovalProposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerRemovalProposals) XXX_Merge ¶
func (m *ConsumerRemovalProposals) XXX_Merge(src proto.Message)
func (*ConsumerRemovalProposals) XXX_Size ¶
func (m *ConsumerRemovalProposals) XXX_Size() int
func (*ConsumerRemovalProposals) XXX_Unmarshal ¶
func (m *ConsumerRemovalProposals) XXX_Unmarshal(b []byte) error
type ConsumerRewardsAllocation ¶ added in v4.2.0
type ConsumerRewardsAllocation struct {
Rewards github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"rewards"`
}
ConsumerRewardsAllocation stores the rewards allocated by a consumer chain to the consumer rewards pool. It is used to allocate the tokens to the consumer opted-in validators and the community pool during BeginBlock.
func (*ConsumerRewardsAllocation) Descriptor ¶ added in v4.2.0
func (*ConsumerRewardsAllocation) Descriptor() ([]byte, []int)
func (*ConsumerRewardsAllocation) GetRewards ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*ConsumerRewardsAllocation) Marshal ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) Marshal() (dAtA []byte, err error)
func (*ConsumerRewardsAllocation) MarshalTo ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerRewardsAllocation) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerRewardsAllocation) ProtoMessage ¶ added in v4.2.0
func (*ConsumerRewardsAllocation) ProtoMessage()
func (*ConsumerRewardsAllocation) Reset ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) Reset()
func (*ConsumerRewardsAllocation) Size ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) Size() (n int)
func (*ConsumerRewardsAllocation) String ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) String() string
func (*ConsumerRewardsAllocation) Unmarshal ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) Unmarshal(dAtA []byte) error
func (*ConsumerRewardsAllocation) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) XXX_DiscardUnknown()
func (*ConsumerRewardsAllocation) XXX_Marshal ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerRewardsAllocation) XXX_Merge ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) XXX_Merge(src proto.Message)
func (*ConsumerRewardsAllocation) XXX_Size ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) XXX_Size() int
func (*ConsumerRewardsAllocation) XXX_Unmarshal ¶ added in v4.2.0
func (m *ConsumerRewardsAllocation) XXX_Unmarshal(b []byte) error
type ConsumerState ¶
type ConsumerState struct { // ChainID defines the chain ID for the consumer chain ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // ChannelID defines the IBC channel ID for the consumer chain ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // ClientID defines the IBC client ID for the consumer chain ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // InitalHeight defines the initial block height for the consumer chain InitialHeight uint64 `protobuf:"varint,4,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"` // ConsumerGenesis defines the initial consumer chain genesis states ConsumerGenesis types.ConsumerGenesisState `protobuf:"bytes,5,opt,name=consumer_genesis,json=consumerGenesis,proto3" json:"consumer_genesis"` // PendingValsetChanges defines the pending validator set changes for the // consumer chain PendingValsetChanges []types.ValidatorSetChangePacketData `protobuf:"bytes,6,rep,name=pending_valset_changes,json=pendingValsetChanges,proto3" json:"pending_valset_changes"` SlashDowntimeAck []string `protobuf:"bytes,7,rep,name=slash_downtime_ack,json=slashDowntimeAck,proto3" json:"slash_downtime_ack,omitempty"` // UnbondingOpsIndex defines the unbonding operations waiting on this consumer // chain UnbondingOpsIndex []VscUnbondingOps `protobuf:"bytes,8,rep,name=unbonding_ops_index,json=unbondingOpsIndex,proto3" json:"unbonding_ops_index"` }
The provider CCV module's knowledge of consumer state.
Note this type is only used internally to the provider CCV module.
func NewConsumerStates ¶
func NewConsumerStates( chainID, clientID, channelID string, initialHeight uint64, genesis ccv.ConsumerGenesisState, unbondingOpsIndexes []VscUnbondingOps, pendingValsetChanges []ccv.ValidatorSetChangePacketData, slashDowntimeAck []string, ) ConsumerState
func (*ConsumerState) Descriptor ¶
func (*ConsumerState) Descriptor() ([]byte, []int)
func (*ConsumerState) GetChainId ¶
func (m *ConsumerState) GetChainId() string
func (*ConsumerState) GetChannelId ¶
func (m *ConsumerState) GetChannelId() string
func (*ConsumerState) GetClientId ¶
func (m *ConsumerState) GetClientId() string
func (*ConsumerState) GetConsumerGenesis ¶
func (m *ConsumerState) GetConsumerGenesis() types.ConsumerGenesisState
func (*ConsumerState) GetInitialHeight ¶
func (m *ConsumerState) GetInitialHeight() uint64
func (*ConsumerState) GetPendingValsetChanges ¶
func (m *ConsumerState) GetPendingValsetChanges() []types.ValidatorSetChangePacketData
func (*ConsumerState) GetSlashDowntimeAck ¶
func (m *ConsumerState) GetSlashDowntimeAck() []string
func (*ConsumerState) GetUnbondingOpsIndex ¶
func (m *ConsumerState) GetUnbondingOpsIndex() []VscUnbondingOps
func (*ConsumerState) Marshal ¶
func (m *ConsumerState) Marshal() (dAtA []byte, err error)
func (*ConsumerState) MarshalToSizedBuffer ¶
func (m *ConsumerState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerState) ProtoMessage ¶
func (*ConsumerState) ProtoMessage()
func (*ConsumerState) Reset ¶
func (m *ConsumerState) Reset()
func (*ConsumerState) Size ¶
func (m *ConsumerState) Size() (n int)
func (*ConsumerState) String ¶
func (m *ConsumerState) String() string
func (*ConsumerState) Unmarshal ¶
func (m *ConsumerState) Unmarshal(dAtA []byte) error
func (ConsumerState) Validate ¶
func (cs ConsumerState) Validate() error
Validate performs a consumer state validation returning an error upon any failure. It ensures that the chain id, client id and consumer genesis states are valid and non-empty.
func (*ConsumerState) XXX_DiscardUnknown ¶
func (m *ConsumerState) XXX_DiscardUnknown()
func (*ConsumerState) XXX_Marshal ¶
func (m *ConsumerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerState) XXX_Merge ¶
func (m *ConsumerState) XXX_Merge(src proto.Message)
func (*ConsumerState) XXX_Size ¶
func (m *ConsumerState) XXX_Size() int
func (*ConsumerState) XXX_Unmarshal ¶
func (m *ConsumerState) XXX_Unmarshal(b []byte) error
type ConsumerValidator ¶ added in v4.1.0
type ConsumerValidator struct { // validator's consensus address on the provider chain ProviderConsAddr []byte `protobuf:"bytes,1,opt,name=provider_cons_addr,json=providerConsAddr,proto3" json:"provider_cons_addr,omitempty"` // voting power the validator has during this epoch Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` // public key the validator uses on the consumer chain during this epoch ConsumerPublicKey *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_public_key,json=consumerPublicKey,proto3" json:"consumer_public_key,omitempty"` // height the validator had when it FIRST became a consumer validator // If a validator becomes a consumer validator at height `H` and is continuously a consumer validator for all the upcoming // epochs, then the height of the validator SHOULD remain `H`. This height only resets to a different height if a validator // stops being a consumer validator during an epoch and later becomes again a consumer validator. JoinHeight int64 `protobuf:"varint,4,opt,name=join_height,json=joinHeight,proto3" json:"join_height,omitempty"` }
ConsumerValidator is used to facilitate epoch-based transitions. It contains relevant info for a validator that is expected to validate on a consumer chain during an epoch.
func (*ConsumerValidator) Descriptor ¶ added in v4.1.0
func (*ConsumerValidator) Descriptor() ([]byte, []int)
func (*ConsumerValidator) GetConsumerPublicKey ¶ added in v4.1.0
func (m *ConsumerValidator) GetConsumerPublicKey() *crypto.PublicKey
func (*ConsumerValidator) GetJoinHeight ¶ added in v4.3.0
func (m *ConsumerValidator) GetJoinHeight() int64
func (*ConsumerValidator) GetPower ¶ added in v4.1.0
func (m *ConsumerValidator) GetPower() int64
func (*ConsumerValidator) GetProviderConsAddr ¶ added in v4.1.0
func (m *ConsumerValidator) GetProviderConsAddr() []byte
func (*ConsumerValidator) Marshal ¶ added in v4.1.0
func (m *ConsumerValidator) Marshal() (dAtA []byte, err error)
func (*ConsumerValidator) MarshalTo ¶ added in v4.1.0
func (m *ConsumerValidator) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerValidator) MarshalToSizedBuffer ¶ added in v4.1.0
func (m *ConsumerValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerValidator) ProtoMessage ¶ added in v4.1.0
func (*ConsumerValidator) ProtoMessage()
func (*ConsumerValidator) Reset ¶ added in v4.1.0
func (m *ConsumerValidator) Reset()
func (*ConsumerValidator) Size ¶ added in v4.1.0
func (m *ConsumerValidator) Size() (n int)
func (*ConsumerValidator) String ¶ added in v4.1.0
func (m *ConsumerValidator) String() string
func (*ConsumerValidator) Unmarshal ¶ added in v4.1.0
func (m *ConsumerValidator) Unmarshal(dAtA []byte) error
func (*ConsumerValidator) XXX_DiscardUnknown ¶ added in v4.1.0
func (m *ConsumerValidator) XXX_DiscardUnknown()
func (*ConsumerValidator) XXX_Marshal ¶ added in v4.1.0
func (m *ConsumerValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerValidator) XXX_Merge ¶ added in v4.1.0
func (m *ConsumerValidator) XXX_Merge(src proto.Message)
func (*ConsumerValidator) XXX_Size ¶ added in v4.1.0
func (m *ConsumerValidator) XXX_Size() int
func (*ConsumerValidator) XXX_Unmarshal ¶ added in v4.1.0
func (m *ConsumerValidator) XXX_Unmarshal(b []byte) error
type EquivocationProposal
deprecated
type EquivocationProposal struct { // the title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the list of equivocations that will be processed Equivocations []*types1.Equivocation `protobuf:"bytes,3,rep,name=equivocations,proto3" json:"equivocations,omitempty"` }
EquivocationProposal is a governance proposal on the provider chain to punish a validator for equivocation on a consumer chain.
This type is only used internally to the consumer CCV module. WARNING: This message is deprecated now that equivocations can be submitted and verified automatically on the provider. (see SubmitConsumerDoubleVoting in proto/interchain-security/ccv/provider/v1/tx.proto).
Deprecated: Do not use.
func (*EquivocationProposal) Descriptor ¶
func (*EquivocationProposal) Descriptor() ([]byte, []int)
func (*EquivocationProposal) GetDescription ¶
func (m *EquivocationProposal) GetDescription() string
func (*EquivocationProposal) GetEquivocations ¶
func (m *EquivocationProposal) GetEquivocations() []*types1.Equivocation
func (*EquivocationProposal) GetTitle ¶
func (m *EquivocationProposal) GetTitle() string
func (*EquivocationProposal) Marshal ¶
func (m *EquivocationProposal) Marshal() (dAtA []byte, err error)
func (*EquivocationProposal) MarshalTo ¶
func (m *EquivocationProposal) MarshalTo(dAtA []byte) (int, error)
func (*EquivocationProposal) MarshalToSizedBuffer ¶
func (m *EquivocationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EquivocationProposal) ProposalRoute ¶
func (sp *EquivocationProposal) ProposalRoute() string
ProposalRoute returns the routing key of an equivocation proposal.
func (*EquivocationProposal) ProposalType ¶
func (sp *EquivocationProposal) ProposalType() string
ProposalType returns the type of a equivocation proposal.
func (*EquivocationProposal) ProtoMessage ¶
func (*EquivocationProposal) ProtoMessage()
func (*EquivocationProposal) Reset ¶
func (m *EquivocationProposal) Reset()
func (*EquivocationProposal) Size ¶
func (m *EquivocationProposal) Size() (n int)
func (*EquivocationProposal) String ¶
func (m *EquivocationProposal) String() string
func (*EquivocationProposal) Unmarshal ¶
func (m *EquivocationProposal) Unmarshal(dAtA []byte) error
func (*EquivocationProposal) ValidateBasic ¶
func (sp *EquivocationProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*EquivocationProposal) XXX_DiscardUnknown ¶
func (m *EquivocationProposal) XXX_DiscardUnknown()
func (*EquivocationProposal) XXX_Marshal ¶
func (m *EquivocationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EquivocationProposal) XXX_Merge ¶
func (m *EquivocationProposal) XXX_Merge(src proto.Message)
func (*EquivocationProposal) XXX_Size ¶
func (m *EquivocationProposal) XXX_Size() int
func (*EquivocationProposal) XXX_Unmarshal ¶
func (m *EquivocationProposal) XXX_Unmarshal(b []byte) error
type ExportedVscSendTimestamp ¶
type ExportedVscSendTimestamp struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` VscSendTimestamps []VscSendTimestamp `protobuf:"bytes,2,rep,name=vsc_send_timestamps,json=vscSendTimestamps,proto3" json:"vsc_send_timestamps"` }
ExportedVscSendTimestamps is VscSendTimestamp with chainID info for exporting to genesis
func (*ExportedVscSendTimestamp) Descriptor ¶
func (*ExportedVscSendTimestamp) Descriptor() ([]byte, []int)
func (*ExportedVscSendTimestamp) GetChainId ¶
func (m *ExportedVscSendTimestamp) GetChainId() string
func (*ExportedVscSendTimestamp) GetVscSendTimestamps ¶
func (m *ExportedVscSendTimestamp) GetVscSendTimestamps() []VscSendTimestamp
func (*ExportedVscSendTimestamp) Marshal ¶
func (m *ExportedVscSendTimestamp) Marshal() (dAtA []byte, err error)
func (*ExportedVscSendTimestamp) MarshalTo ¶
func (m *ExportedVscSendTimestamp) MarshalTo(dAtA []byte) (int, error)
func (*ExportedVscSendTimestamp) MarshalToSizedBuffer ¶
func (m *ExportedVscSendTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExportedVscSendTimestamp) ProtoMessage ¶
func (*ExportedVscSendTimestamp) ProtoMessage()
func (*ExportedVscSendTimestamp) Reset ¶
func (m *ExportedVscSendTimestamp) Reset()
func (*ExportedVscSendTimestamp) Size ¶
func (m *ExportedVscSendTimestamp) Size() (n int)
func (*ExportedVscSendTimestamp) String ¶
func (m *ExportedVscSendTimestamp) String() string
func (*ExportedVscSendTimestamp) Unmarshal ¶
func (m *ExportedVscSendTimestamp) Unmarshal(dAtA []byte) error
func (*ExportedVscSendTimestamp) XXX_DiscardUnknown ¶
func (m *ExportedVscSendTimestamp) XXX_DiscardUnknown()
func (*ExportedVscSendTimestamp) XXX_Marshal ¶
func (m *ExportedVscSendTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportedVscSendTimestamp) XXX_Merge ¶
func (m *ExportedVscSendTimestamp) XXX_Merge(src proto.Message)
func (*ExportedVscSendTimestamp) XXX_Size ¶
func (m *ExportedVscSendTimestamp) XXX_Size() int
func (*ExportedVscSendTimestamp) XXX_Unmarshal ¶
func (m *ExportedVscSendTimestamp) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // strictly positive and set to 1 (DefaultValsetUpdateID) for a new chain ValsetUpdateId uint64 `protobuf:"varint,1,opt,name=valset_update_id,json=valsetUpdateId,proto3" json:"valset_update_id,omitempty"` // empty for a new chain ConsumerStates []ConsumerState `protobuf:"bytes,2,rep,name=consumer_states,json=consumerStates,proto3" json:"consumer_states" yaml:"consumer_states"` // empty for a new chain UnbondingOps []UnbondingOp `protobuf:"bytes,3,rep,name=unbonding_ops,json=unbondingOps,proto3" json:"unbonding_ops"` // empty for a new chain MatureUnbondingOps *MaturedUnbondingOps `protobuf:"bytes,4,opt,name=mature_unbonding_ops,json=matureUnbondingOps,proto3" json:"mature_unbonding_ops,omitempty"` // empty for a new chain ValsetUpdateIdToHeight []ValsetUpdateIdToHeight `protobuf:"bytes,5,rep,name=valset_update_id_to_height,json=valsetUpdateIdToHeight,proto3" json:"valset_update_id_to_height"` // empty for a new chain ConsumerAdditionProposals []ConsumerAdditionProposal `` /* 128-byte string literal not displayed */ // empty for a new chain ConsumerRemovalProposals []ConsumerRemovalProposal `protobuf:"bytes,7,rep,name=consumer_removal_proposals,json=consumerRemovalProposals,proto3" json:"consumer_removal_proposals"` Params Params `protobuf:"bytes,8,opt,name=params,proto3" json:"params"` // empty for a new chain ValidatorConsumerPubkeys []ValidatorConsumerPubKey `protobuf:"bytes,9,rep,name=validator_consumer_pubkeys,json=validatorConsumerPubkeys,proto3" json:"validator_consumer_pubkeys"` // empty for a new chain ValidatorsByConsumerAddr []ValidatorByConsumerAddr `` /* 128-byte string literal not displayed */ // empty for a new chain ConsumerAddrsToPrune []ConsumerAddrsToPrune `protobuf:"bytes,11,rep,name=consumer_addrs_to_prune,json=consumerAddrsToPrune,proto3" json:"consumer_addrs_to_prune"` InitTimeoutTimestamps []InitTimeoutTimestamp `protobuf:"bytes,12,rep,name=init_timeout_timestamps,json=initTimeoutTimestamps,proto3" json:"init_timeout_timestamps"` ExportedVscSendTimestamps []ExportedVscSendTimestamp `` /* 131-byte string literal not displayed */ }
GenesisState defines the CCV provider chain genesis state
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState( vscID uint64, vscIdToHeights []ValsetUpdateIdToHeight, consumerStates []ConsumerState, unbondingOps []UnbondingOp, matureUbdOps *MaturedUnbondingOps, additionProposals []ConsumerAdditionProposal, removalProposals []ConsumerRemovalProposal, params Params, validatorConsumerPubkeys []ValidatorConsumerPubKey, validatorsByConsumerAddr []ValidatorByConsumerAddr, consumerAddrsToPrune []ConsumerAddrsToPrune, initTimeoutTimestamps []InitTimeoutTimestamp, exportedVscSendTimestamps []ExportedVscSendTimestamp, ) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetConsumerAdditionProposals ¶
func (m *GenesisState) GetConsumerAdditionProposals() []ConsumerAdditionProposal
func (*GenesisState) GetConsumerAddrsToPrune ¶
func (m *GenesisState) GetConsumerAddrsToPrune() []ConsumerAddrsToPrune
func (*GenesisState) GetConsumerRemovalProposals ¶
func (m *GenesisState) GetConsumerRemovalProposals() []ConsumerRemovalProposal
func (*GenesisState) GetConsumerStates ¶
func (m *GenesisState) GetConsumerStates() []ConsumerState
func (*GenesisState) GetExportedVscSendTimestamps ¶
func (m *GenesisState) GetExportedVscSendTimestamps() []ExportedVscSendTimestamp
func (*GenesisState) GetInitTimeoutTimestamps ¶
func (m *GenesisState) GetInitTimeoutTimestamps() []InitTimeoutTimestamp
func (*GenesisState) GetMatureUnbondingOps ¶
func (m *GenesisState) GetMatureUnbondingOps() *MaturedUnbondingOps
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetUnbondingOps ¶
func (m *GenesisState) GetUnbondingOps() []UnbondingOp
func (*GenesisState) GetValidatorConsumerPubkeys ¶
func (m *GenesisState) GetValidatorConsumerPubkeys() []ValidatorConsumerPubKey
func (*GenesisState) GetValidatorsByConsumerAddr ¶
func (m *GenesisState) GetValidatorsByConsumerAddr() []ValidatorByConsumerAddr
func (*GenesisState) GetValsetUpdateId ¶
func (m *GenesisState) GetValsetUpdateId() uint64
func (*GenesisState) GetValsetUpdateIdToHeight ¶
func (m *GenesisState) GetValsetUpdateIdToHeight() []ValsetUpdateIdToHeight
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
func (GenesisState) ValidateUnbondingOp ¶
func (gs GenesisState) ValidateUnbondingOp(ubdOp UnbondingOp) error
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 GlobalSlashEntry ¶
type GlobalSlashEntry struct { // Block time that slash packet was received by provider chain. // This field is used for store key iteration ordering. RecvTime time.Time `protobuf:"bytes,1,opt,name=recv_time,json=recvTime,proto3,stdtime" json:"recv_time"` // The consumer that sent a slash packet. ConsumerChainID string `protobuf:"bytes,2,opt,name=consumer_chain_id,json=consumerChainId,proto3" json:"consumer_chain_id,omitempty"` // The IBC sequence number of the recv packet. // This field is used in the store key to ensure uniqueness. IbcSeqNum uint64 `protobuf:"varint,3,opt,name=ibc_seq_num,json=ibcSeqNum,proto3" json:"ibc_seq_num,omitempty"` // The provider's consensus address of the validator being slashed. // This field is used to obtain validator power in HandleThrottleQueues. // // This field is not used in the store key, but is persisted in value bytes, // see QueueGlobalSlashEntry. ProviderValConsAddr []byte `protobuf:"bytes,4,opt,name=provider_val_cons_addr,json=providerValConsAddr,proto3" json:"provider_val_cons_addr,omitempty"` }
A persisted queue entry indicating that a slash packet data instance needs to be handled. This type belongs in the "global" queue, to coordinate slash packet handling times between consumers.
func NewGlobalSlashEntry ¶
func NewGlobalSlashEntry(recvTime time.Time, consumerChainID string, ibcSeqNum uint64, providerValConsAddr ProviderConsAddress, ) GlobalSlashEntry
NewGlobalSlashEntry creates a new GlobalSlashEntry.
func (*GlobalSlashEntry) Descriptor ¶
func (*GlobalSlashEntry) Descriptor() ([]byte, []int)
func (*GlobalSlashEntry) GetConsumerChainID ¶
func (m *GlobalSlashEntry) GetConsumerChainID() string
func (*GlobalSlashEntry) GetIbcSeqNum ¶
func (m *GlobalSlashEntry) GetIbcSeqNum() uint64
func (*GlobalSlashEntry) GetProviderValConsAddr ¶
func (m *GlobalSlashEntry) GetProviderValConsAddr() []byte
func (*GlobalSlashEntry) GetRecvTime ¶
func (m *GlobalSlashEntry) GetRecvTime() time.Time
func (*GlobalSlashEntry) Marshal ¶
func (m *GlobalSlashEntry) Marshal() (dAtA []byte, err error)
func (*GlobalSlashEntry) MarshalToSizedBuffer ¶
func (m *GlobalSlashEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GlobalSlashEntry) ProtoMessage ¶
func (*GlobalSlashEntry) ProtoMessage()
func (*GlobalSlashEntry) Reset ¶
func (m *GlobalSlashEntry) Reset()
func (*GlobalSlashEntry) Size ¶
func (m *GlobalSlashEntry) Size() (n int)
func (*GlobalSlashEntry) String ¶
func (m *GlobalSlashEntry) String() string
func (*GlobalSlashEntry) Unmarshal ¶
func (m *GlobalSlashEntry) Unmarshal(dAtA []byte) error
func (*GlobalSlashEntry) XXX_DiscardUnknown ¶
func (m *GlobalSlashEntry) XXX_DiscardUnknown()
func (*GlobalSlashEntry) XXX_Marshal ¶
func (m *GlobalSlashEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GlobalSlashEntry) XXX_Merge ¶
func (m *GlobalSlashEntry) XXX_Merge(src proto.Message)
func (*GlobalSlashEntry) XXX_Size ¶
func (m *GlobalSlashEntry) XXX_Size() int
func (*GlobalSlashEntry) XXX_Unmarshal ¶
func (m *GlobalSlashEntry) XXX_Unmarshal(b []byte) error
type InitTimeoutTimestamp ¶
type InitTimeoutTimestamp struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*InitTimeoutTimestamp) Descriptor ¶
func (*InitTimeoutTimestamp) Descriptor() ([]byte, []int)
func (*InitTimeoutTimestamp) GetChainId ¶
func (m *InitTimeoutTimestamp) GetChainId() string
func (*InitTimeoutTimestamp) GetTimestamp ¶
func (m *InitTimeoutTimestamp) GetTimestamp() uint64
func (*InitTimeoutTimestamp) Marshal ¶
func (m *InitTimeoutTimestamp) Marshal() (dAtA []byte, err error)
func (*InitTimeoutTimestamp) MarshalTo ¶
func (m *InitTimeoutTimestamp) MarshalTo(dAtA []byte) (int, error)
func (*InitTimeoutTimestamp) MarshalToSizedBuffer ¶
func (m *InitTimeoutTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InitTimeoutTimestamp) ProtoMessage ¶
func (*InitTimeoutTimestamp) ProtoMessage()
func (*InitTimeoutTimestamp) Reset ¶
func (m *InitTimeoutTimestamp) Reset()
func (*InitTimeoutTimestamp) Size ¶
func (m *InitTimeoutTimestamp) Size() (n int)
func (*InitTimeoutTimestamp) String ¶
func (m *InitTimeoutTimestamp) String() string
func (*InitTimeoutTimestamp) Unmarshal ¶
func (m *InitTimeoutTimestamp) Unmarshal(dAtA []byte) error
func (*InitTimeoutTimestamp) XXX_DiscardUnknown ¶
func (m *InitTimeoutTimestamp) XXX_DiscardUnknown()
func (*InitTimeoutTimestamp) XXX_Marshal ¶
func (m *InitTimeoutTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitTimeoutTimestamp) XXX_Merge ¶
func (m *InitTimeoutTimestamp) XXX_Merge(src proto.Message)
func (*InitTimeoutTimestamp) XXX_Size ¶
func (m *InitTimeoutTimestamp) XXX_Size() int
func (*InitTimeoutTimestamp) XXX_Unmarshal ¶
func (m *InitTimeoutTimestamp) XXX_Unmarshal(b []byte) error
type KeyAssignmentReplacement ¶
type KeyAssignmentReplacement struct { ProviderAddr []byte `protobuf:"bytes,1,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"` PrevCKey *crypto.PublicKey `protobuf:"bytes,2,opt,name=prev_c_key,json=prevCKey,proto3" json:"prev_c_key,omitempty"` Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` }
func (*KeyAssignmentReplacement) Descriptor ¶
func (*KeyAssignmentReplacement) Descriptor() ([]byte, []int)
func (*KeyAssignmentReplacement) GetPower ¶
func (m *KeyAssignmentReplacement) GetPower() int64
func (*KeyAssignmentReplacement) GetPrevCKey ¶
func (m *KeyAssignmentReplacement) GetPrevCKey() *crypto.PublicKey
func (*KeyAssignmentReplacement) GetProviderAddr ¶
func (m *KeyAssignmentReplacement) GetProviderAddr() []byte
func (*KeyAssignmentReplacement) Marshal ¶
func (m *KeyAssignmentReplacement) Marshal() (dAtA []byte, err error)
func (*KeyAssignmentReplacement) MarshalTo ¶
func (m *KeyAssignmentReplacement) MarshalTo(dAtA []byte) (int, error)
func (*KeyAssignmentReplacement) MarshalToSizedBuffer ¶
func (m *KeyAssignmentReplacement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KeyAssignmentReplacement) ProtoMessage ¶
func (*KeyAssignmentReplacement) ProtoMessage()
func (*KeyAssignmentReplacement) Reset ¶
func (m *KeyAssignmentReplacement) Reset()
func (*KeyAssignmentReplacement) Size ¶
func (m *KeyAssignmentReplacement) Size() (n int)
func (*KeyAssignmentReplacement) String ¶
func (m *KeyAssignmentReplacement) String() string
func (*KeyAssignmentReplacement) Unmarshal ¶
func (m *KeyAssignmentReplacement) Unmarshal(dAtA []byte) error
func (*KeyAssignmentReplacement) XXX_DiscardUnknown ¶
func (m *KeyAssignmentReplacement) XXX_DiscardUnknown()
func (*KeyAssignmentReplacement) XXX_Marshal ¶
func (m *KeyAssignmentReplacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyAssignmentReplacement) XXX_Merge ¶
func (m *KeyAssignmentReplacement) XXX_Merge(src proto.Message)
func (*KeyAssignmentReplacement) XXX_Size ¶
func (m *KeyAssignmentReplacement) XXX_Size() int
func (*KeyAssignmentReplacement) XXX_Unmarshal ¶
func (m *KeyAssignmentReplacement) XXX_Unmarshal(b []byte) error
type MaturedUnbondingOps ¶
type MaturedUnbondingOps struct {
Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
}
MaturedUnbondingOps defines a list of ids corresponding to ids of matured unbonding operations.
func (*MaturedUnbondingOps) Descriptor ¶
func (*MaturedUnbondingOps) Descriptor() ([]byte, []int)
func (*MaturedUnbondingOps) GetIds ¶
func (m *MaturedUnbondingOps) GetIds() []uint64
func (*MaturedUnbondingOps) Marshal ¶
func (m *MaturedUnbondingOps) Marshal() (dAtA []byte, err error)
func (*MaturedUnbondingOps) MarshalTo ¶
func (m *MaturedUnbondingOps) MarshalTo(dAtA []byte) (int, error)
func (*MaturedUnbondingOps) MarshalToSizedBuffer ¶
func (m *MaturedUnbondingOps) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MaturedUnbondingOps) ProtoMessage ¶
func (*MaturedUnbondingOps) ProtoMessage()
func (*MaturedUnbondingOps) Reset ¶
func (m *MaturedUnbondingOps) Reset()
func (*MaturedUnbondingOps) Size ¶
func (m *MaturedUnbondingOps) Size() (n int)
func (*MaturedUnbondingOps) String ¶
func (m *MaturedUnbondingOps) String() string
func (*MaturedUnbondingOps) Unmarshal ¶
func (m *MaturedUnbondingOps) Unmarshal(dAtA []byte) error
func (*MaturedUnbondingOps) XXX_DiscardUnknown ¶
func (m *MaturedUnbondingOps) XXX_DiscardUnknown()
func (*MaturedUnbondingOps) XXX_Marshal ¶
func (m *MaturedUnbondingOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MaturedUnbondingOps) XXX_Merge ¶
func (m *MaturedUnbondingOps) XXX_Merge(src proto.Message)
func (*MaturedUnbondingOps) XXX_Size ¶
func (m *MaturedUnbondingOps) XXX_Size() int
func (*MaturedUnbondingOps) XXX_Unmarshal ¶
func (m *MaturedUnbondingOps) XXX_Unmarshal(b []byte) error
type MsgAssignConsumerKey ¶
type MsgAssignConsumerKey struct { // The chain id of the consumer chain to assign a consensus public key to ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The validator address on the provider ProviderAddr string `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"` // The consensus public key to use on the consumer. // in json string format corresponding to proto-any, ex: // `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"Ui5Gf1+mtWUdH8u3xlmzdKID+F3PK0sfXZ73GZ6q6is="}` ConsumerKey string `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"` }
func NewMsgAssignConsumerKey ¶
func NewMsgAssignConsumerKey(chainID string, providerValidatorAddress sdk.ValAddress, consumerConsensusPubKey string, ) (*MsgAssignConsumerKey, error)
NewMsgAssignConsumerKey creates a new MsgAssignConsumerKey instance. Delegator address and validator address are the same.
func (*MsgAssignConsumerKey) Descriptor ¶
func (*MsgAssignConsumerKey) Descriptor() ([]byte, []int)
func (MsgAssignConsumerKey) GetSignBytes ¶
func (msg MsgAssignConsumerKey) GetSignBytes() []byte
GetSignBytes returns the message bytes to sign over.
func (MsgAssignConsumerKey) GetSigners ¶
func (msg MsgAssignConsumerKey) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes(). If the validator address is not same as delegator's, then the validator must sign the msg as well.
func (*MsgAssignConsumerKey) Marshal ¶
func (m *MsgAssignConsumerKey) Marshal() (dAtA []byte, err error)
func (*MsgAssignConsumerKey) MarshalTo ¶
func (m *MsgAssignConsumerKey) MarshalTo(dAtA []byte) (int, error)
func (*MsgAssignConsumerKey) MarshalToSizedBuffer ¶
func (m *MsgAssignConsumerKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAssignConsumerKey) ProtoMessage ¶
func (*MsgAssignConsumerKey) ProtoMessage()
func (*MsgAssignConsumerKey) Reset ¶
func (m *MsgAssignConsumerKey) Reset()
func (MsgAssignConsumerKey) Route ¶
func (msg MsgAssignConsumerKey) Route() string
Route implements the sdk.Msg interface.
func (*MsgAssignConsumerKey) Size ¶
func (m *MsgAssignConsumerKey) Size() (n int)
func (*MsgAssignConsumerKey) String ¶
func (m *MsgAssignConsumerKey) String() string
func (MsgAssignConsumerKey) Type ¶
func (msg MsgAssignConsumerKey) Type() string
Type implements the sdk.Msg interface.
func (*MsgAssignConsumerKey) Unmarshal ¶
func (m *MsgAssignConsumerKey) Unmarshal(dAtA []byte) error
func (MsgAssignConsumerKey) ValidateBasic ¶
func (msg MsgAssignConsumerKey) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgAssignConsumerKey) XXX_DiscardUnknown ¶
func (m *MsgAssignConsumerKey) XXX_DiscardUnknown()
func (*MsgAssignConsumerKey) XXX_Marshal ¶
func (m *MsgAssignConsumerKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAssignConsumerKey) XXX_Merge ¶
func (m *MsgAssignConsumerKey) XXX_Merge(src proto.Message)
func (*MsgAssignConsumerKey) XXX_Size ¶
func (m *MsgAssignConsumerKey) XXX_Size() int
func (*MsgAssignConsumerKey) XXX_Unmarshal ¶
func (m *MsgAssignConsumerKey) XXX_Unmarshal(b []byte) error
type MsgAssignConsumerKeyResponse ¶
type MsgAssignConsumerKeyResponse struct { }
func (*MsgAssignConsumerKeyResponse) Descriptor ¶
func (*MsgAssignConsumerKeyResponse) Descriptor() ([]byte, []int)
func (*MsgAssignConsumerKeyResponse) Marshal ¶
func (m *MsgAssignConsumerKeyResponse) Marshal() (dAtA []byte, err error)
func (*MsgAssignConsumerKeyResponse) MarshalTo ¶
func (m *MsgAssignConsumerKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAssignConsumerKeyResponse) MarshalToSizedBuffer ¶
func (m *MsgAssignConsumerKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAssignConsumerKeyResponse) ProtoMessage ¶
func (*MsgAssignConsumerKeyResponse) ProtoMessage()
func (*MsgAssignConsumerKeyResponse) Reset ¶
func (m *MsgAssignConsumerKeyResponse) Reset()
func (*MsgAssignConsumerKeyResponse) Size ¶
func (m *MsgAssignConsumerKeyResponse) Size() (n int)
func (*MsgAssignConsumerKeyResponse) String ¶
func (m *MsgAssignConsumerKeyResponse) String() string
func (*MsgAssignConsumerKeyResponse) Unmarshal ¶
func (m *MsgAssignConsumerKeyResponse) Unmarshal(dAtA []byte) error
func (*MsgAssignConsumerKeyResponse) XXX_DiscardUnknown ¶
func (m *MsgAssignConsumerKeyResponse) XXX_DiscardUnknown()
func (*MsgAssignConsumerKeyResponse) XXX_Marshal ¶
func (m *MsgAssignConsumerKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAssignConsumerKeyResponse) XXX_Merge ¶
func (m *MsgAssignConsumerKeyResponse) XXX_Merge(src proto.Message)
func (*MsgAssignConsumerKeyResponse) XXX_Size ¶
func (m *MsgAssignConsumerKeyResponse) XXX_Size() int
func (*MsgAssignConsumerKeyResponse) XXX_Unmarshal ¶
func (m *MsgAssignConsumerKeyResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AssignConsumerKey(ctx context.Context, in *MsgAssignConsumerKey, opts ...grpc.CallOption) (*MsgAssignConsumerKeyResponse, error) SubmitConsumerMisbehaviour(ctx context.Context, in *MsgSubmitConsumerMisbehaviour, opts ...grpc.CallOption) (*MsgSubmitConsumerMisbehaviourResponse, error) SubmitConsumerDoubleVoting(ctx context.Context, in *MsgSubmitConsumerDoubleVoting, opts ...grpc.CallOption) (*MsgSubmitConsumerDoubleVotingResponse, error) OptIn(ctx context.Context, in *MsgOptIn, opts ...grpc.CallOption) (*MsgOptInResponse, error) OptOut(ctx context.Context, in *MsgOptOut, opts ...grpc.CallOption) (*MsgOptOutResponse, error) SetConsumerCommissionRate(ctx context.Context, in *MsgSetConsumerCommissionRate, opts ...grpc.CallOption) (*MsgSetConsumerCommissionRateResponse, 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 MsgOptIn ¶ added in v4.2.0
type MsgOptIn struct { // the chain id of the consumer chain to opt in to ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // the validator address on the provider ProviderAddr string `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"` // (optional) The consensus public key to use on the consumer in json string format corresponding to proto-any, // for example `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"Ui5Gf1+mtWUdH8u3xlmzdKID+F3PK0sfXZ73GZ6q6is="}`. // This field is optional and can remain empty (i.e., `consumer_key = ""`). A validator can always change the // consumer public key at a later stage by issuing a `MsgAssignConsumerKey` message. ConsumerKey string `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"` }
func NewMsgOptIn ¶ added in v4.2.0
func NewMsgOptIn(chainID string, providerValidatorAddress sdk.ValAddress, consumerConsensusPubKey string) (*MsgOptIn, error)
NewMsgOptIn creates a new NewMsgOptIn instance.
func (*MsgOptIn) Descriptor ¶ added in v4.2.0
func (MsgOptIn) GetSignBytes ¶ added in v4.2.0
GetSignBytes returns the message bytes to sign over.
func (MsgOptIn) GetSigners ¶ added in v4.2.0
func (msg MsgOptIn) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes().
func (*MsgOptIn) MarshalToSizedBuffer ¶ added in v4.2.0
func (*MsgOptIn) ProtoMessage ¶ added in v4.2.0
func (*MsgOptIn) ProtoMessage()
func (MsgOptIn) ValidateBasic ¶ added in v4.2.0
ValidateBasic implements the sdk.Msg interface.
func (*MsgOptIn) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgOptIn) XXX_DiscardUnknown()
func (*MsgOptIn) XXX_Marshal ¶ added in v4.2.0
func (*MsgOptIn) XXX_Unmarshal ¶ added in v4.2.0
type MsgOptInResponse ¶ added in v4.2.0
type MsgOptInResponse struct { }
func (*MsgOptInResponse) Descriptor ¶ added in v4.2.0
func (*MsgOptInResponse) Descriptor() ([]byte, []int)
func (*MsgOptInResponse) Marshal ¶ added in v4.2.0
func (m *MsgOptInResponse) Marshal() (dAtA []byte, err error)
func (*MsgOptInResponse) MarshalTo ¶ added in v4.2.0
func (m *MsgOptInResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOptInResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *MsgOptInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOptInResponse) ProtoMessage ¶ added in v4.2.0
func (*MsgOptInResponse) ProtoMessage()
func (*MsgOptInResponse) Reset ¶ added in v4.2.0
func (m *MsgOptInResponse) Reset()
func (*MsgOptInResponse) Size ¶ added in v4.2.0
func (m *MsgOptInResponse) Size() (n int)
func (*MsgOptInResponse) String ¶ added in v4.2.0
func (m *MsgOptInResponse) String() string
func (*MsgOptInResponse) Unmarshal ¶ added in v4.2.0
func (m *MsgOptInResponse) Unmarshal(dAtA []byte) error
func (*MsgOptInResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgOptInResponse) XXX_DiscardUnknown()
func (*MsgOptInResponse) XXX_Marshal ¶ added in v4.2.0
func (m *MsgOptInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOptInResponse) XXX_Merge ¶ added in v4.2.0
func (m *MsgOptInResponse) XXX_Merge(src proto.Message)
func (*MsgOptInResponse) XXX_Size ¶ added in v4.2.0
func (m *MsgOptInResponse) XXX_Size() int
func (*MsgOptInResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *MsgOptInResponse) XXX_Unmarshal(b []byte) error
type MsgOptOut ¶ added in v4.2.0
type MsgOptOut struct { // the chain id of the consumer chain to opt out from ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // the validator address on the provider ProviderAddr string `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"` }
func NewMsgOptOut ¶ added in v4.2.0
func NewMsgOptOut(chainID string, providerValidatorAddress sdk.ValAddress) (*MsgOptOut, error)
NewMsgOptOut creates a new NewMsgOptIn instance.
func (*MsgOptOut) Descriptor ¶ added in v4.2.0
func (MsgOptOut) GetSignBytes ¶ added in v4.2.0
GetSignBytes returns the message bytes to sign over.
func (MsgOptOut) GetSigners ¶ added in v4.2.0
func (msg MsgOptOut) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes().
func (*MsgOptOut) MarshalToSizedBuffer ¶ added in v4.2.0
func (*MsgOptOut) ProtoMessage ¶ added in v4.2.0
func (*MsgOptOut) ProtoMessage()
func (MsgOptOut) ValidateBasic ¶ added in v4.2.0
ValidateBasic implements the sdk.Msg interface.
func (*MsgOptOut) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgOptOut) XXX_DiscardUnknown()
func (*MsgOptOut) XXX_Marshal ¶ added in v4.2.0
func (*MsgOptOut) XXX_Unmarshal ¶ added in v4.2.0
type MsgOptOutResponse ¶ added in v4.2.0
type MsgOptOutResponse struct { }
func (*MsgOptOutResponse) Descriptor ¶ added in v4.2.0
func (*MsgOptOutResponse) Descriptor() ([]byte, []int)
func (*MsgOptOutResponse) Marshal ¶ added in v4.2.0
func (m *MsgOptOutResponse) Marshal() (dAtA []byte, err error)
func (*MsgOptOutResponse) MarshalTo ¶ added in v4.2.0
func (m *MsgOptOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOptOutResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *MsgOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOptOutResponse) ProtoMessage ¶ added in v4.2.0
func (*MsgOptOutResponse) ProtoMessage()
func (*MsgOptOutResponse) Reset ¶ added in v4.2.0
func (m *MsgOptOutResponse) Reset()
func (*MsgOptOutResponse) Size ¶ added in v4.2.0
func (m *MsgOptOutResponse) Size() (n int)
func (*MsgOptOutResponse) String ¶ added in v4.2.0
func (m *MsgOptOutResponse) String() string
func (*MsgOptOutResponse) Unmarshal ¶ added in v4.2.0
func (m *MsgOptOutResponse) Unmarshal(dAtA []byte) error
func (*MsgOptOutResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgOptOutResponse) XXX_DiscardUnknown()
func (*MsgOptOutResponse) XXX_Marshal ¶ added in v4.2.0
func (m *MsgOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOptOutResponse) XXX_Merge ¶ added in v4.2.0
func (m *MsgOptOutResponse) XXX_Merge(src proto.Message)
func (*MsgOptOutResponse) XXX_Size ¶ added in v4.2.0
func (m *MsgOptOutResponse) XXX_Size() int
func (*MsgOptOutResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *MsgOptOutResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { AssignConsumerKey(context.Context, *MsgAssignConsumerKey) (*MsgAssignConsumerKeyResponse, error) SubmitConsumerMisbehaviour(context.Context, *MsgSubmitConsumerMisbehaviour) (*MsgSubmitConsumerMisbehaviourResponse, error) SubmitConsumerDoubleVoting(context.Context, *MsgSubmitConsumerDoubleVoting) (*MsgSubmitConsumerDoubleVotingResponse, error) OptIn(context.Context, *MsgOptIn) (*MsgOptInResponse, error) OptOut(context.Context, *MsgOptOut) (*MsgOptOutResponse, error) SetConsumerCommissionRate(context.Context, *MsgSetConsumerCommissionRate) (*MsgSetConsumerCommissionRateResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetConsumerCommissionRate ¶ added in v4.2.0
type MsgSetConsumerCommissionRate struct { // The validator address on the provider ProviderAddr string `protobuf:"bytes,1,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"` // The chain id of the consumer chain to set a commission rate ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The rate to charge delegators on the consumer chain, as a fraction Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rate"` }
MsgSetConsumerCommissionRate allows validators to set a per-consumer chain commission rate
func NewMsgSetConsumerCommissionRate ¶ added in v4.2.0
func NewMsgSetConsumerCommissionRate(chainID string, commission sdk.Dec, providerValidatorAddress sdk.ValAddress) *MsgSetConsumerCommissionRate
NewMsgSetConsumerCommissionRate creates a new MsgSetConsumerCommissionRate msg instance.
func (*MsgSetConsumerCommissionRate) Descriptor ¶ added in v4.2.0
func (*MsgSetConsumerCommissionRate) Descriptor() ([]byte, []int)
func (MsgSetConsumerCommissionRate) GetSignBytes ¶ added in v4.2.0
func (msg MsgSetConsumerCommissionRate) GetSignBytes() []byte
func (MsgSetConsumerCommissionRate) GetSigners ¶ added in v4.2.0
func (msg MsgSetConsumerCommissionRate) GetSigners() []sdk.AccAddress
func (*MsgSetConsumerCommissionRate) Marshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) Marshal() (dAtA []byte, err error)
func (*MsgSetConsumerCommissionRate) MarshalTo ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRate) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRate) ProtoMessage ¶ added in v4.2.0
func (*MsgSetConsumerCommissionRate) ProtoMessage()
func (*MsgSetConsumerCommissionRate) Reset ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) Reset()
func (MsgSetConsumerCommissionRate) Route ¶ added in v4.2.0
func (msg MsgSetConsumerCommissionRate) Route() string
func (*MsgSetConsumerCommissionRate) Size ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) Size() (n int)
func (*MsgSetConsumerCommissionRate) String ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) String() string
func (MsgSetConsumerCommissionRate) Type ¶ added in v4.2.0
func (msg MsgSetConsumerCommissionRate) Type() string
func (*MsgSetConsumerCommissionRate) Unmarshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) Unmarshal(dAtA []byte) error
func (MsgSetConsumerCommissionRate) ValidateBasic ¶ added in v4.2.0
func (msg MsgSetConsumerCommissionRate) ValidateBasic() error
func (*MsgSetConsumerCommissionRate) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) XXX_DiscardUnknown()
func (*MsgSetConsumerCommissionRate) XXX_Marshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetConsumerCommissionRate) XXX_Merge ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) XXX_Merge(src proto.Message)
func (*MsgSetConsumerCommissionRate) XXX_Size ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) XXX_Size() int
func (*MsgSetConsumerCommissionRate) XXX_Unmarshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRate) XXX_Unmarshal(b []byte) error
type MsgSetConsumerCommissionRateResponse ¶ added in v4.2.0
type MsgSetConsumerCommissionRateResponse struct { }
func (*MsgSetConsumerCommissionRateResponse) Descriptor ¶ added in v4.2.0
func (*MsgSetConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
func (*MsgSetConsumerCommissionRateResponse) Marshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetConsumerCommissionRateResponse) MarshalTo ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRateResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRateResponse) ProtoMessage ¶ added in v4.2.0
func (*MsgSetConsumerCommissionRateResponse) ProtoMessage()
func (*MsgSetConsumerCommissionRateResponse) Reset ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) Reset()
func (*MsgSetConsumerCommissionRateResponse) Size ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) Size() (n int)
func (*MsgSetConsumerCommissionRateResponse) String ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) String() string
func (*MsgSetConsumerCommissionRateResponse) Unmarshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
func (*MsgSetConsumerCommissionRateResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) XXX_DiscardUnknown()
func (*MsgSetConsumerCommissionRateResponse) XXX_Marshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetConsumerCommissionRateResponse) XXX_Merge ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
func (*MsgSetConsumerCommissionRateResponse) XXX_Size ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) XXX_Size() int
func (*MsgSetConsumerCommissionRateResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *MsgSetConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
type MsgSubmitConsumerDoubleVoting ¶
type MsgSubmitConsumerDoubleVoting struct { Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"` // The equivocation of the consumer chain wrapping // an evidence of a validator that signed two conflicting votes DuplicateVoteEvidence *types.DuplicateVoteEvidence `` /* 126-byte string literal not displayed */ // The light client header of the infraction block InfractionBlockHeader *_07_tendermint.Header `` /* 126-byte string literal not displayed */ }
MsgSubmitConsumerDoubleVoting defines a message that reports a double signing infraction observed on a consumer chain
func NewMsgSubmitConsumerDoubleVoting ¶
func NewMsgSubmitConsumerDoubleVoting(submitter sdk.AccAddress, ev *tmtypes.DuplicateVoteEvidence, header *ibctmtypes.Header) (*MsgSubmitConsumerDoubleVoting, error)
func (*MsgSubmitConsumerDoubleVoting) Descriptor ¶
func (*MsgSubmitConsumerDoubleVoting) Descriptor() ([]byte, []int)
func (MsgSubmitConsumerDoubleVoting) GetSignBytes ¶
func (msg MsgSubmitConsumerDoubleVoting) GetSignBytes() []byte
Type implements the sdk.Msg interface.
func (MsgSubmitConsumerDoubleVoting) GetSigners ¶
func (msg MsgSubmitConsumerDoubleVoting) GetSigners() []sdk.AccAddress
Type implements the sdk.Msg interface.
func (*MsgSubmitConsumerDoubleVoting) Marshal ¶
func (m *MsgSubmitConsumerDoubleVoting) Marshal() (dAtA []byte, err error)
func (*MsgSubmitConsumerDoubleVoting) MarshalTo ¶
func (m *MsgSubmitConsumerDoubleVoting) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitConsumerDoubleVoting) MarshalToSizedBuffer ¶
func (m *MsgSubmitConsumerDoubleVoting) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitConsumerDoubleVoting) ProtoMessage ¶
func (*MsgSubmitConsumerDoubleVoting) ProtoMessage()
func (*MsgSubmitConsumerDoubleVoting) Reset ¶
func (m *MsgSubmitConsumerDoubleVoting) Reset()
func (MsgSubmitConsumerDoubleVoting) Route ¶
func (msg MsgSubmitConsumerDoubleVoting) Route() string
Route implements the sdk.Msg interface.
func (*MsgSubmitConsumerDoubleVoting) Size ¶
func (m *MsgSubmitConsumerDoubleVoting) Size() (n int)
func (*MsgSubmitConsumerDoubleVoting) String ¶
func (m *MsgSubmitConsumerDoubleVoting) String() string
func (MsgSubmitConsumerDoubleVoting) Type ¶
func (msg MsgSubmitConsumerDoubleVoting) Type() string
Type implements the sdk.Msg interface.
func (*MsgSubmitConsumerDoubleVoting) Unmarshal ¶
func (m *MsgSubmitConsumerDoubleVoting) Unmarshal(dAtA []byte) error
func (MsgSubmitConsumerDoubleVoting) ValidateBasic ¶
func (msg MsgSubmitConsumerDoubleVoting) ValidateBasic() error
Type implements the sdk.Msg interface.
func (*MsgSubmitConsumerDoubleVoting) XXX_DiscardUnknown ¶
func (m *MsgSubmitConsumerDoubleVoting) XXX_DiscardUnknown()
func (*MsgSubmitConsumerDoubleVoting) XXX_Marshal ¶
func (m *MsgSubmitConsumerDoubleVoting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitConsumerDoubleVoting) XXX_Merge ¶
func (m *MsgSubmitConsumerDoubleVoting) XXX_Merge(src proto.Message)
func (*MsgSubmitConsumerDoubleVoting) XXX_Size ¶
func (m *MsgSubmitConsumerDoubleVoting) XXX_Size() int
func (*MsgSubmitConsumerDoubleVoting) XXX_Unmarshal ¶
func (m *MsgSubmitConsumerDoubleVoting) XXX_Unmarshal(b []byte) error
type MsgSubmitConsumerDoubleVotingResponse ¶
type MsgSubmitConsumerDoubleVotingResponse struct { }
func (*MsgSubmitConsumerDoubleVotingResponse) Descriptor ¶
func (*MsgSubmitConsumerDoubleVotingResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitConsumerDoubleVotingResponse) Marshal ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitConsumerDoubleVotingResponse) MarshalTo ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitConsumerDoubleVotingResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitConsumerDoubleVotingResponse) ProtoMessage ¶
func (*MsgSubmitConsumerDoubleVotingResponse) ProtoMessage()
func (*MsgSubmitConsumerDoubleVotingResponse) Reset ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) Reset()
func (*MsgSubmitConsumerDoubleVotingResponse) Size ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) Size() (n int)
func (*MsgSubmitConsumerDoubleVotingResponse) String ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) String() string
func (*MsgSubmitConsumerDoubleVotingResponse) Unmarshal ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitConsumerDoubleVotingResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_DiscardUnknown()
func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Marshal ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Merge ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Size ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Size() int
func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Unmarshal ¶
func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Unmarshal(b []byte) error
type MsgSubmitConsumerMisbehaviour ¶
type MsgSubmitConsumerMisbehaviour struct { Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"` // The Misbehaviour of the consumer chain wrapping // two conflicting IBC headers Misbehaviour *_07_tendermint.Misbehaviour `protobuf:"bytes,2,opt,name=misbehaviour,proto3" json:"misbehaviour,omitempty"` }
MsgSubmitConsumerMisbehaviour defines a message that reports a light client attack, also known as a misbehaviour, observed on a consumer chain
func NewMsgSubmitConsumerMisbehaviour ¶
func NewMsgSubmitConsumerMisbehaviour(submitter sdk.AccAddress, misbehaviour *ibctmtypes.Misbehaviour) (*MsgSubmitConsumerMisbehaviour, error)
func (*MsgSubmitConsumerMisbehaviour) Descriptor ¶
func (*MsgSubmitConsumerMisbehaviour) Descriptor() ([]byte, []int)
func (MsgSubmitConsumerMisbehaviour) GetSignBytes ¶
func (msg MsgSubmitConsumerMisbehaviour) GetSignBytes() []byte
Type implements the sdk.Msg interface.
func (MsgSubmitConsumerMisbehaviour) GetSigners ¶
func (msg MsgSubmitConsumerMisbehaviour) GetSigners() []sdk.AccAddress
Type implements the sdk.Msg interface.
func (*MsgSubmitConsumerMisbehaviour) Marshal ¶
func (m *MsgSubmitConsumerMisbehaviour) Marshal() (dAtA []byte, err error)
func (*MsgSubmitConsumerMisbehaviour) MarshalTo ¶
func (m *MsgSubmitConsumerMisbehaviour) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitConsumerMisbehaviour) MarshalToSizedBuffer ¶
func (m *MsgSubmitConsumerMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitConsumerMisbehaviour) ProtoMessage ¶
func (*MsgSubmitConsumerMisbehaviour) ProtoMessage()
func (*MsgSubmitConsumerMisbehaviour) Reset ¶
func (m *MsgSubmitConsumerMisbehaviour) Reset()
func (MsgSubmitConsumerMisbehaviour) Route ¶
func (msg MsgSubmitConsumerMisbehaviour) Route() string
Route implements the sdk.Msg interface.
func (*MsgSubmitConsumerMisbehaviour) Size ¶
func (m *MsgSubmitConsumerMisbehaviour) Size() (n int)
func (*MsgSubmitConsumerMisbehaviour) String ¶
func (m *MsgSubmitConsumerMisbehaviour) String() string
func (MsgSubmitConsumerMisbehaviour) Type ¶
func (msg MsgSubmitConsumerMisbehaviour) Type() string
Type implements the sdk.Msg interface.
func (*MsgSubmitConsumerMisbehaviour) Unmarshal ¶
func (m *MsgSubmitConsumerMisbehaviour) Unmarshal(dAtA []byte) error
func (MsgSubmitConsumerMisbehaviour) ValidateBasic ¶
func (msg MsgSubmitConsumerMisbehaviour) ValidateBasic() error
Type implements the sdk.Msg interface.
func (*MsgSubmitConsumerMisbehaviour) XXX_DiscardUnknown ¶
func (m *MsgSubmitConsumerMisbehaviour) XXX_DiscardUnknown()
func (*MsgSubmitConsumerMisbehaviour) XXX_Marshal ¶
func (m *MsgSubmitConsumerMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitConsumerMisbehaviour) XXX_Merge ¶
func (m *MsgSubmitConsumerMisbehaviour) XXX_Merge(src proto.Message)
func (*MsgSubmitConsumerMisbehaviour) XXX_Size ¶
func (m *MsgSubmitConsumerMisbehaviour) XXX_Size() int
func (*MsgSubmitConsumerMisbehaviour) XXX_Unmarshal ¶
func (m *MsgSubmitConsumerMisbehaviour) XXX_Unmarshal(b []byte) error
type MsgSubmitConsumerMisbehaviourResponse ¶
type MsgSubmitConsumerMisbehaviourResponse struct { }
func (*MsgSubmitConsumerMisbehaviourResponse) Descriptor ¶
func (*MsgSubmitConsumerMisbehaviourResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitConsumerMisbehaviourResponse) Marshal ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitConsumerMisbehaviourResponse) MarshalTo ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitConsumerMisbehaviourResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitConsumerMisbehaviourResponse) ProtoMessage ¶
func (*MsgSubmitConsumerMisbehaviourResponse) ProtoMessage()
func (*MsgSubmitConsumerMisbehaviourResponse) Reset ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) Reset()
func (*MsgSubmitConsumerMisbehaviourResponse) Size ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) Size() (n int)
func (*MsgSubmitConsumerMisbehaviourResponse) String ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) String() string
func (*MsgSubmitConsumerMisbehaviourResponse) Unmarshal ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitConsumerMisbehaviourResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_DiscardUnknown()
func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Marshal ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Merge ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Size ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Size() int
func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Unmarshal ¶
func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Unmarshal(b []byte) error
type PairValConAddrProviderAndConsumer ¶
type PairValConAddrProviderAndConsumer struct { // The consensus address of the validator on the provider chain ProviderAddress string `` /* 130-byte string literal not displayed */ // The consensus address of the validator on the consumer chain ConsumerAddress string `` /* 130-byte string literal not displayed */ ConsumerKey *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"` }
func (*PairValConAddrProviderAndConsumer) Descriptor ¶
func (*PairValConAddrProviderAndConsumer) Descriptor() ([]byte, []int)
func (*PairValConAddrProviderAndConsumer) GetConsumerAddress ¶
func (m *PairValConAddrProviderAndConsumer) GetConsumerAddress() string
func (*PairValConAddrProviderAndConsumer) GetConsumerKey ¶
func (m *PairValConAddrProviderAndConsumer) GetConsumerKey() *crypto.PublicKey
func (*PairValConAddrProviderAndConsumer) GetProviderAddress ¶
func (m *PairValConAddrProviderAndConsumer) GetProviderAddress() string
func (*PairValConAddrProviderAndConsumer) Marshal ¶
func (m *PairValConAddrProviderAndConsumer) Marshal() (dAtA []byte, err error)
func (*PairValConAddrProviderAndConsumer) MarshalTo ¶
func (m *PairValConAddrProviderAndConsumer) MarshalTo(dAtA []byte) (int, error)
func (*PairValConAddrProviderAndConsumer) MarshalToSizedBuffer ¶
func (m *PairValConAddrProviderAndConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PairValConAddrProviderAndConsumer) ProtoMessage ¶
func (*PairValConAddrProviderAndConsumer) ProtoMessage()
func (*PairValConAddrProviderAndConsumer) Reset ¶
func (m *PairValConAddrProviderAndConsumer) Reset()
func (*PairValConAddrProviderAndConsumer) Size ¶
func (m *PairValConAddrProviderAndConsumer) Size() (n int)
func (*PairValConAddrProviderAndConsumer) String ¶
func (m *PairValConAddrProviderAndConsumer) String() string
func (*PairValConAddrProviderAndConsumer) Unmarshal ¶
func (m *PairValConAddrProviderAndConsumer) Unmarshal(dAtA []byte) error
func (*PairValConAddrProviderAndConsumer) XXX_DiscardUnknown ¶
func (m *PairValConAddrProviderAndConsumer) XXX_DiscardUnknown()
func (*PairValConAddrProviderAndConsumer) XXX_Marshal ¶
func (m *PairValConAddrProviderAndConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PairValConAddrProviderAndConsumer) XXX_Merge ¶
func (m *PairValConAddrProviderAndConsumer) XXX_Merge(src proto.Message)
func (*PairValConAddrProviderAndConsumer) XXX_Size ¶
func (m *PairValConAddrProviderAndConsumer) XXX_Size() int
func (*PairValConAddrProviderAndConsumer) XXX_Unmarshal ¶
func (m *PairValConAddrProviderAndConsumer) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { TemplateClient *_07_tendermint.ClientState `protobuf:"bytes,1,opt,name=template_client,json=templateClient,proto3" json:"template_client,omitempty"` // TrustingPeriodFraction is used to compute the consumer and provider IBC // client's TrustingPeriod from the chain defined UnbondingPeriod TrustingPeriodFraction string `` /* 129-byte string literal not displayed */ // Sent IBC packets will timeout after this duration CcvTimeoutPeriod time.Duration `protobuf:"bytes,3,opt,name=ccv_timeout_period,json=ccvTimeoutPeriod,proto3,stdduration" json:"ccv_timeout_period"` // The channel initialization (IBC channel opening handshake) will timeout // after this duration InitTimeoutPeriod time.Duration `protobuf:"bytes,4,opt,name=init_timeout_period,json=initTimeoutPeriod,proto3,stdduration" json:"init_timeout_period"` // The VSC packets sent by the provider will timeout after this duration. // Note that unlike ccv_timeout_period which is an IBC param, // the vsc_timeout_period is a provider-side param that enables the provider // to timeout VSC packets even when a consumer chain is not live. VscTimeoutPeriod time.Duration `protobuf:"bytes,5,opt,name=vsc_timeout_period,json=vscTimeoutPeriod,proto3,stdduration" json:"vsc_timeout_period"` // The period for which the slash meter is replenished SlashMeterReplenishPeriod time.Duration `` /* 142-byte string literal not displayed */ // The fraction of total voting power that is replenished to the slash meter // every replenish period. This param also serves as a maximum fraction of // total voting power that the slash meter can hold. SlashMeterReplenishFraction string `` /* 146-byte string literal not displayed */ // The fee required to be paid to add a reward denom ConsumerRewardDenomRegistrationFee types2.Coin `` /* 159-byte string literal not displayed */ // The number of blocks that comprise an epoch. BlocksPerEpoch int64 `protobuf:"varint,10,opt,name=blocks_per_epoch,json=blocksPerEpoch,proto3" json:"blocks_per_epoch,omitempty"` // The number of epochs a validator has to validate a consumer chain in order to start receiving rewards from that chain. NumberOfEpochsToStartReceivingRewards int64 `` /* 184-byte string literal not displayed */ }
Params defines the parameters for CCV Provider module
func DefaultParams ¶
func DefaultParams() Params
DefaultParams is the default params for the provider module
func NewParams ¶
func NewParams( cs *ibctmtypes.ClientState, trustingPeriodFraction string, ccvTimeoutPeriod time.Duration, initTimeoutPeriod time.Duration, vscTimeoutPeriod time.Duration, slashMeterReplenishPeriod time.Duration, slashMeterReplenishFraction string, consumerRewardDenomRegistrationFee sdk.Coin, blocksPerEpoch int64, numberOfEpochsToStartReceivingRewards int64, ) Params
NewParams creates new provider parameters with provided arguments
func (*Params) Descriptor ¶
func (*Params) GetBlocksPerEpoch ¶ added in v4.1.0
func (*Params) GetCcvTimeoutPeriod ¶
func (*Params) GetConsumerRewardDenomRegistrationFee ¶
func (*Params) GetInitTimeoutPeriod ¶
func (*Params) GetNumberOfEpochsToStartReceivingRewards ¶ added in v4.3.0
func (*Params) GetSlashMeterReplenishFraction ¶
func (*Params) GetSlashMeterReplenishPeriod ¶
func (*Params) GetTemplateClient ¶
func (m *Params) GetTemplateClient() *_07_tendermint.ClientState
func (*Params) GetTrustingPeriodFraction ¶
func (*Params) GetVscTimeoutPeriod ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ProposedChain ¶
type ProposedChain struct { ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` ProposalID uint64 `protobuf:"varint,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"` }
func (*ProposedChain) Descriptor ¶
func (*ProposedChain) Descriptor() ([]byte, []int)
func (*ProposedChain) GetChainID ¶
func (m *ProposedChain) GetChainID() string
func (*ProposedChain) GetProposalID ¶
func (m *ProposedChain) GetProposalID() uint64
func (*ProposedChain) Marshal ¶
func (m *ProposedChain) Marshal() (dAtA []byte, err error)
func (*ProposedChain) MarshalToSizedBuffer ¶
func (m *ProposedChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposedChain) ProtoMessage ¶
func (*ProposedChain) ProtoMessage()
func (*ProposedChain) Reset ¶
func (m *ProposedChain) Reset()
func (*ProposedChain) Size ¶
func (m *ProposedChain) Size() (n int)
func (*ProposedChain) String ¶
func (m *ProposedChain) String() string
func (*ProposedChain) Unmarshal ¶
func (m *ProposedChain) Unmarshal(dAtA []byte) error
func (*ProposedChain) XXX_DiscardUnknown ¶
func (m *ProposedChain) XXX_DiscardUnknown()
func (*ProposedChain) XXX_Marshal ¶
func (m *ProposedChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposedChain) XXX_Merge ¶
func (m *ProposedChain) XXX_Merge(src proto.Message)
func (*ProposedChain) XXX_Size ¶
func (m *ProposedChain) XXX_Size() int
func (*ProposedChain) XXX_Unmarshal ¶
func (m *ProposedChain) XXX_Unmarshal(b []byte) error
type ProviderConsAddress ¶
type ProviderConsAddress struct {
Address sdk.ConsAddress
}
A validator's consensus address on the provider chain.
func NewProviderConsAddress ¶
func NewProviderConsAddress(addr sdk.ConsAddress) ProviderConsAddress
NewProviderConsAddress creates a new ProviderConsAddress, a validator's consensus address on the provider chain.
func (*ProviderConsAddress) String ¶
func (p *ProviderConsAddress) String() string
String implements the Stringer interface for ProviderConsAddress, in the same format as sdk.ConsAddress
func (*ProviderConsAddress) ToSdkConsAddr ¶
func (p *ProviderConsAddress) ToSdkConsAddr() sdk.ConsAddress
type QueryAllPairsValConAddrByConsumerChainIDRequest ¶
type QueryAllPairsValConAddrByConsumerChainIDRequest struct { // The id of the consumer chain ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` }
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Descriptor ¶
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Descriptor() ([]byte, []int)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) GetChainId ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) GetChainId() string
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Marshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalTo ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) ProtoMessage ¶
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) ProtoMessage()
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Reset ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Reset()
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Size ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Size() (n int)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) String ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) String() string
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Unmarshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_DiscardUnknown()
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Marshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Merge ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Merge(src proto.Message)
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Size ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Size() int
func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Unmarshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Unmarshal(b []byte) error
type QueryAllPairsValConAddrByConsumerChainIDResponse ¶
type QueryAllPairsValConAddrByConsumerChainIDResponse struct {
PairValConAddr []*PairValConAddrProviderAndConsumer `protobuf:"bytes,1,rep,name=pair_val_con_addr,json=pairValConAddr,proto3" json:"pair_val_con_addr,omitempty"`
}
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Descriptor ¶
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Descriptor() ([]byte, []int)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) GetPairValConAddr ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) GetPairValConAddr() []*PairValConAddrProviderAndConsumer
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Marshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalTo ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) ProtoMessage ¶
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) ProtoMessage()
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Reset ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Reset()
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Size ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Size() (n int)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) String ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) String() string
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Unmarshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_DiscardUnknown()
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Marshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Merge ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Merge(src proto.Message)
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Size ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Size() int
func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Unmarshal ¶
func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // ConsumerGenesis queries the genesis state needed to start a consumer chain // whose proposal has been accepted QueryConsumerGenesis(ctx context.Context, in *QueryConsumerGenesisRequest, opts ...grpc.CallOption) (*QueryConsumerGenesisResponse, error) // ConsumerChains queries active consumer chains supported by the provider // chain QueryConsumerChains(ctx context.Context, in *QueryConsumerChainsRequest, opts ...grpc.CallOption) (*QueryConsumerChainsResponse, error) // QueryConsumerChainStarts queries consumer chain start proposals. QueryConsumerChainStarts(ctx context.Context, in *QueryConsumerChainStartProposalsRequest, opts ...grpc.CallOption) (*QueryConsumerChainStartProposalsResponse, error) // QueryConsumerChainStops queries consumer chain stop proposals. QueryConsumerChainStops(ctx context.Context, in *QueryConsumerChainStopProposalsRequest, opts ...grpc.CallOption) (*QueryConsumerChainStopProposalsResponse, error) // QueryValidatorConsumerAddr queries the address // assigned by a validator for a consumer chain. QueryValidatorConsumerAddr(ctx context.Context, in *QueryValidatorConsumerAddrRequest, opts ...grpc.CallOption) (*QueryValidatorConsumerAddrResponse, error) // QueryProviderAddr returns the provider chain validator // given a consumer chain validator address QueryValidatorProviderAddr(ctx context.Context, in *QueryValidatorProviderAddrRequest, opts ...grpc.CallOption) (*QueryValidatorProviderAddrResponse, error) // QueryThrottleState returns the main on-chain state relevant to currently // throttled slash packets QueryThrottleState(ctx context.Context, in *QueryThrottleStateRequest, opts ...grpc.CallOption) (*QueryThrottleStateResponse, error) // QueryRegisteredConsumerRewardDenoms returns a list of consumer reward // denoms that are registered QueryRegisteredConsumerRewardDenoms(ctx context.Context, in *QueryRegisteredConsumerRewardDenomsRequest, opts ...grpc.CallOption) (*QueryRegisteredConsumerRewardDenomsResponse, error) // QueryProposedConsumerChainIDs returns the chain IDs of the proposed consumer chain addition proposals // that are still in the voting period QueryProposedConsumerChainIDs(ctx context.Context, in *QueryProposedChainIDsRequest, opts ...grpc.CallOption) (*QueryProposedChainIDsResponse, error) // QueryAllPairsValConAddrByConsumerChainID returns a list of pair valconsensus address // between provider and consumer chain QueryAllPairsValConAddrByConsumerChainID(ctx context.Context, in *QueryAllPairsValConAddrByConsumerChainIDRequest, opts ...grpc.CallOption) (*QueryAllPairsValConAddrByConsumerChainIDResponse, error) // QueryParams returns all current values of provider parameters QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // QueryConsumerChainOptedInValidators returns a list of validators consensus addresses // that opted-in to the given consumer chain QueryConsumerChainOptedInValidators(ctx context.Context, in *QueryConsumerChainOptedInValidatorsRequest, opts ...grpc.CallOption) (*QueryConsumerChainOptedInValidatorsResponse, error) // QueryConsumerChainsValidatorHasToValidate returns a list of consumer chains // that a given validator must validate QueryConsumerChainsValidatorHasToValidate(ctx context.Context, in *QueryConsumerChainsValidatorHasToValidateRequest, opts ...grpc.CallOption) (*QueryConsumerChainsValidatorHasToValidateResponse, error) // QueryValidatorConsumerCommissionRate returns the commission rate a given // validator charges on a given consumer chain QueryValidatorConsumerCommissionRate(ctx context.Context, in *QueryValidatorConsumerCommissionRateRequest, opts ...grpc.CallOption) (*QueryValidatorConsumerCommissionRateResponse, error) // QueryOldestUnconfirmedVsc returns the send timestamp of the oldest unconfirmed VSCPacket for a given chainID QueryOldestUnconfirmedVsc(ctx context.Context, in *QueryOldestUnconfirmedVscRequest, opts ...grpc.CallOption) (*QueryOldestUnconfirmedVscResponse, error) // QueryConsumerValidators returns the latest set consumer-validator set for a given chainID // Note that this does not necessarily mean that the consumer chain is using this validator set at this exact moment // because a VSCPacket could be delayed to be delivered on the consumer chain. QueryConsumerValidators(ctx context.Context, in *QueryConsumerValidatorsRequest, opts ...grpc.CallOption) (*QueryConsumerValidatorsResponse, 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 QueryConsumerChainOptedInValidatorsRequest ¶ added in v4.2.0
type QueryConsumerChainOptedInValidatorsRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor ¶ added in v4.2.0
func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainOptedInValidatorsRequest) GetChainId ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) GetChainId() string
func (*QueryConsumerChainOptedInValidatorsRequest) Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainOptedInValidatorsRequest) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsRequest) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsRequest) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerChainOptedInValidatorsRequest) ProtoMessage()
func (*QueryConsumerChainOptedInValidatorsRequest) Reset ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) Reset()
func (*QueryConsumerChainOptedInValidatorsRequest) Size ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) Size() (n int)
func (*QueryConsumerChainOptedInValidatorsRequest) String ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) String() string
func (*QueryConsumerChainOptedInValidatorsRequest) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Size() int
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainOptedInValidatorsResponse ¶ added in v4.2.0
type QueryConsumerChainOptedInValidatorsResponse struct { // The consensus addresses of the validators on the provider chain ValidatorsProviderAddresses []string `` /* 144-byte string literal not displayed */ }
func (*QueryConsumerChainOptedInValidatorsResponse) Descriptor ¶ added in v4.2.0
func (*QueryConsumerChainOptedInValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainOptedInValidatorsResponse) GetValidatorsProviderAddresses ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) GetValidatorsProviderAddresses() []string
func (*QueryConsumerChainOptedInValidatorsResponse) Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainOptedInValidatorsResponse) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsResponse) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerChainOptedInValidatorsResponse) ProtoMessage()
func (*QueryConsumerChainOptedInValidatorsResponse) Reset ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) Reset()
func (*QueryConsumerChainOptedInValidatorsResponse) Size ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) Size() (n int)
func (*QueryConsumerChainOptedInValidatorsResponse) String ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) String() string
func (*QueryConsumerChainOptedInValidatorsResponse) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Size() int
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerChainStartProposalsRequest ¶
type QueryConsumerChainStartProposalsRequest struct { }
func (*QueryConsumerChainStartProposalsRequest) Descriptor ¶
func (*QueryConsumerChainStartProposalsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainStartProposalsRequest) Marshal ¶
func (m *QueryConsumerChainStartProposalsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainStartProposalsRequest) MarshalTo ¶
func (m *QueryConsumerChainStartProposalsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainStartProposalsRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainStartProposalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainStartProposalsRequest) ProtoMessage ¶
func (*QueryConsumerChainStartProposalsRequest) ProtoMessage()
func (*QueryConsumerChainStartProposalsRequest) Reset ¶
func (m *QueryConsumerChainStartProposalsRequest) Reset()
func (*QueryConsumerChainStartProposalsRequest) Size ¶
func (m *QueryConsumerChainStartProposalsRequest) Size() (n int)
func (*QueryConsumerChainStartProposalsRequest) String ¶
func (m *QueryConsumerChainStartProposalsRequest) String() string
func (*QueryConsumerChainStartProposalsRequest) Unmarshal ¶
func (m *QueryConsumerChainStartProposalsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainStartProposalsRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainStartProposalsRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainStartProposalsRequest) XXX_Marshal ¶
func (m *QueryConsumerChainStartProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainStartProposalsRequest) XXX_Merge ¶
func (m *QueryConsumerChainStartProposalsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainStartProposalsRequest) XXX_Size ¶
func (m *QueryConsumerChainStartProposalsRequest) XXX_Size() int
func (*QueryConsumerChainStartProposalsRequest) XXX_Unmarshal ¶
func (m *QueryConsumerChainStartProposalsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainStartProposalsResponse ¶
type QueryConsumerChainStartProposalsResponse struct {
Proposals *ConsumerAdditionProposals `protobuf:"bytes,1,opt,name=proposals,proto3" json:"proposals,omitempty"`
}
func (*QueryConsumerChainStartProposalsResponse) Descriptor ¶
func (*QueryConsumerChainStartProposalsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainStartProposalsResponse) GetProposals ¶
func (m *QueryConsumerChainStartProposalsResponse) GetProposals() *ConsumerAdditionProposals
func (*QueryConsumerChainStartProposalsResponse) Marshal ¶
func (m *QueryConsumerChainStartProposalsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainStartProposalsResponse) MarshalTo ¶
func (m *QueryConsumerChainStartProposalsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainStartProposalsResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainStartProposalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainStartProposalsResponse) ProtoMessage ¶
func (*QueryConsumerChainStartProposalsResponse) ProtoMessage()
func (*QueryConsumerChainStartProposalsResponse) Reset ¶
func (m *QueryConsumerChainStartProposalsResponse) Reset()
func (*QueryConsumerChainStartProposalsResponse) Size ¶
func (m *QueryConsumerChainStartProposalsResponse) Size() (n int)
func (*QueryConsumerChainStartProposalsResponse) String ¶
func (m *QueryConsumerChainStartProposalsResponse) String() string
func (*QueryConsumerChainStartProposalsResponse) Unmarshal ¶
func (m *QueryConsumerChainStartProposalsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainStartProposalsResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainStartProposalsResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainStartProposalsResponse) XXX_Marshal ¶
func (m *QueryConsumerChainStartProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainStartProposalsResponse) XXX_Merge ¶
func (m *QueryConsumerChainStartProposalsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainStartProposalsResponse) XXX_Size ¶
func (m *QueryConsumerChainStartProposalsResponse) XXX_Size() int
func (*QueryConsumerChainStartProposalsResponse) XXX_Unmarshal ¶
func (m *QueryConsumerChainStartProposalsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerChainStopProposalsRequest ¶
type QueryConsumerChainStopProposalsRequest struct { }
func (*QueryConsumerChainStopProposalsRequest) Descriptor ¶
func (*QueryConsumerChainStopProposalsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainStopProposalsRequest) Marshal ¶
func (m *QueryConsumerChainStopProposalsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainStopProposalsRequest) MarshalTo ¶
func (m *QueryConsumerChainStopProposalsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainStopProposalsRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainStopProposalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainStopProposalsRequest) ProtoMessage ¶
func (*QueryConsumerChainStopProposalsRequest) ProtoMessage()
func (*QueryConsumerChainStopProposalsRequest) Reset ¶
func (m *QueryConsumerChainStopProposalsRequest) Reset()
func (*QueryConsumerChainStopProposalsRequest) Size ¶
func (m *QueryConsumerChainStopProposalsRequest) Size() (n int)
func (*QueryConsumerChainStopProposalsRequest) String ¶
func (m *QueryConsumerChainStopProposalsRequest) String() string
func (*QueryConsumerChainStopProposalsRequest) Unmarshal ¶
func (m *QueryConsumerChainStopProposalsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainStopProposalsRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainStopProposalsRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainStopProposalsRequest) XXX_Marshal ¶
func (m *QueryConsumerChainStopProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainStopProposalsRequest) XXX_Merge ¶
func (m *QueryConsumerChainStopProposalsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainStopProposalsRequest) XXX_Size ¶
func (m *QueryConsumerChainStopProposalsRequest) XXX_Size() int
func (*QueryConsumerChainStopProposalsRequest) XXX_Unmarshal ¶
func (m *QueryConsumerChainStopProposalsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainStopProposalsResponse ¶
type QueryConsumerChainStopProposalsResponse struct {
Proposals *ConsumerRemovalProposals `protobuf:"bytes,1,opt,name=proposals,proto3" json:"proposals,omitempty"`
}
func (*QueryConsumerChainStopProposalsResponse) Descriptor ¶
func (*QueryConsumerChainStopProposalsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainStopProposalsResponse) GetProposals ¶
func (m *QueryConsumerChainStopProposalsResponse) GetProposals() *ConsumerRemovalProposals
func (*QueryConsumerChainStopProposalsResponse) Marshal ¶
func (m *QueryConsumerChainStopProposalsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainStopProposalsResponse) MarshalTo ¶
func (m *QueryConsumerChainStopProposalsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainStopProposalsResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainStopProposalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainStopProposalsResponse) ProtoMessage ¶
func (*QueryConsumerChainStopProposalsResponse) ProtoMessage()
func (*QueryConsumerChainStopProposalsResponse) Reset ¶
func (m *QueryConsumerChainStopProposalsResponse) Reset()
func (*QueryConsumerChainStopProposalsResponse) Size ¶
func (m *QueryConsumerChainStopProposalsResponse) Size() (n int)
func (*QueryConsumerChainStopProposalsResponse) String ¶
func (m *QueryConsumerChainStopProposalsResponse) String() string
func (*QueryConsumerChainStopProposalsResponse) Unmarshal ¶
func (m *QueryConsumerChainStopProposalsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainStopProposalsResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainStopProposalsResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainStopProposalsResponse) XXX_Marshal ¶
func (m *QueryConsumerChainStopProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainStopProposalsResponse) XXX_Merge ¶
func (m *QueryConsumerChainStopProposalsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainStopProposalsResponse) XXX_Size ¶
func (m *QueryConsumerChainStopProposalsResponse) XXX_Size() int
func (*QueryConsumerChainStopProposalsResponse) XXX_Unmarshal ¶
func (m *QueryConsumerChainStopProposalsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsRequest ¶
type QueryConsumerChainsRequest struct { }
func (*QueryConsumerChainsRequest) Descriptor ¶
func (*QueryConsumerChainsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsRequest) Marshal ¶
func (m *QueryConsumerChainsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsRequest) MarshalTo ¶
func (m *QueryConsumerChainsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsRequest) ProtoMessage ¶
func (*QueryConsumerChainsRequest) ProtoMessage()
func (*QueryConsumerChainsRequest) Reset ¶
func (m *QueryConsumerChainsRequest) Reset()
func (*QueryConsumerChainsRequest) Size ¶
func (m *QueryConsumerChainsRequest) Size() (n int)
func (*QueryConsumerChainsRequest) String ¶
func (m *QueryConsumerChainsRequest) String() string
func (*QueryConsumerChainsRequest) Unmarshal ¶
func (m *QueryConsumerChainsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainsRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainsRequest) XXX_Marshal ¶
func (m *QueryConsumerChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsRequest) XXX_Merge ¶
func (m *QueryConsumerChainsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsRequest) XXX_Size ¶
func (m *QueryConsumerChainsRequest) XXX_Size() int
func (*QueryConsumerChainsRequest) XXX_Unmarshal ¶
func (m *QueryConsumerChainsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsResponse ¶
type QueryConsumerChainsResponse struct {
Chains []*Chain `protobuf:"bytes,1,rep,name=chains,proto3" json:"chains,omitempty"`
}
func (*QueryConsumerChainsResponse) Descriptor ¶
func (*QueryConsumerChainsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsResponse) GetChains ¶
func (m *QueryConsumerChainsResponse) GetChains() []*Chain
func (*QueryConsumerChainsResponse) Marshal ¶
func (m *QueryConsumerChainsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsResponse) MarshalTo ¶
func (m *QueryConsumerChainsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsResponse) ProtoMessage ¶
func (*QueryConsumerChainsResponse) ProtoMessage()
func (*QueryConsumerChainsResponse) Reset ¶
func (m *QueryConsumerChainsResponse) Reset()
func (*QueryConsumerChainsResponse) Size ¶
func (m *QueryConsumerChainsResponse) Size() (n int)
func (*QueryConsumerChainsResponse) String ¶
func (m *QueryConsumerChainsResponse) String() string
func (*QueryConsumerChainsResponse) Unmarshal ¶
func (m *QueryConsumerChainsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainsResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainsResponse) XXX_Marshal ¶
func (m *QueryConsumerChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsResponse) XXX_Merge ¶
func (m *QueryConsumerChainsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsResponse) XXX_Size ¶
func (m *QueryConsumerChainsResponse) XXX_Size() int
func (*QueryConsumerChainsResponse) XXX_Unmarshal ¶
func (m *QueryConsumerChainsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsValidatorHasToValidateRequest ¶ added in v4.2.0
type QueryConsumerChainsValidatorHasToValidateRequest struct { // The consensus address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,1,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"` }
func (*QueryConsumerChainsValidatorHasToValidateRequest) Descriptor ¶ added in v4.2.0
func (*QueryConsumerChainsValidatorHasToValidateRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsValidatorHasToValidateRequest) GetProviderAddress ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) GetProviderAddress() string
func (*QueryConsumerChainsValidatorHasToValidateRequest) Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerChainsValidatorHasToValidateRequest) ProtoMessage()
func (*QueryConsumerChainsValidatorHasToValidateRequest) Reset ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Reset()
func (*QueryConsumerChainsValidatorHasToValidateRequest) Size ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Size() (n int)
func (*QueryConsumerChainsValidatorHasToValidateRequest) String ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) String() string
func (*QueryConsumerChainsValidatorHasToValidateRequest) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Size() int
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsValidatorHasToValidateResponse ¶ added in v4.2.0
type QueryConsumerChainsValidatorHasToValidateResponse struct {
ConsumerChainIds []string `protobuf:"bytes,1,rep,name=consumer_chain_ids,json=consumerChainIds,proto3" json:"consumer_chain_ids,omitempty"`
}
func (*QueryConsumerChainsValidatorHasToValidateResponse) Descriptor ¶ added in v4.2.0
func (*QueryConsumerChainsValidatorHasToValidateResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsValidatorHasToValidateResponse) GetConsumerChainIds ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) GetConsumerChainIds() []string
func (*QueryConsumerChainsValidatorHasToValidateResponse) Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerChainsValidatorHasToValidateResponse) ProtoMessage()
func (*QueryConsumerChainsValidatorHasToValidateResponse) Reset ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Reset()
func (*QueryConsumerChainsValidatorHasToValidateResponse) Size ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Size() (n int)
func (*QueryConsumerChainsValidatorHasToValidateResponse) String ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) String() string
func (*QueryConsumerChainsValidatorHasToValidateResponse) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Size() int
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerGenesisRequest ¶
type QueryConsumerGenesisRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryConsumerGenesisRequest) Descriptor ¶
func (*QueryConsumerGenesisRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerGenesisRequest) GetChainId ¶
func (m *QueryConsumerGenesisRequest) GetChainId() string
func (*QueryConsumerGenesisRequest) Marshal ¶
func (m *QueryConsumerGenesisRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerGenesisRequest) MarshalTo ¶
func (m *QueryConsumerGenesisRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerGenesisRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerGenesisRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerGenesisRequest) ProtoMessage ¶
func (*QueryConsumerGenesisRequest) ProtoMessage()
func (*QueryConsumerGenesisRequest) Reset ¶
func (m *QueryConsumerGenesisRequest) Reset()
func (*QueryConsumerGenesisRequest) Size ¶
func (m *QueryConsumerGenesisRequest) Size() (n int)
func (*QueryConsumerGenesisRequest) String ¶
func (m *QueryConsumerGenesisRequest) String() string
func (*QueryConsumerGenesisRequest) Unmarshal ¶
func (m *QueryConsumerGenesisRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerGenesisRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerGenesisRequest) XXX_DiscardUnknown()
func (*QueryConsumerGenesisRequest) XXX_Marshal ¶
func (m *QueryConsumerGenesisRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerGenesisRequest) XXX_Merge ¶
func (m *QueryConsumerGenesisRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerGenesisRequest) XXX_Size ¶
func (m *QueryConsumerGenesisRequest) XXX_Size() int
func (*QueryConsumerGenesisRequest) XXX_Unmarshal ¶
func (m *QueryConsumerGenesisRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerGenesisResponse ¶
type QueryConsumerGenesisResponse struct {
GenesisState types.ConsumerGenesisState `protobuf:"bytes,1,opt,name=genesis_state,json=genesisState,proto3" json:"genesis_state"`
}
func (*QueryConsumerGenesisResponse) Descriptor ¶
func (*QueryConsumerGenesisResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerGenesisResponse) GetGenesisState ¶
func (m *QueryConsumerGenesisResponse) GetGenesisState() types.ConsumerGenesisState
func (*QueryConsumerGenesisResponse) Marshal ¶
func (m *QueryConsumerGenesisResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerGenesisResponse) MarshalTo ¶
func (m *QueryConsumerGenesisResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerGenesisResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerGenesisResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerGenesisResponse) ProtoMessage ¶
func (*QueryConsumerGenesisResponse) ProtoMessage()
func (*QueryConsumerGenesisResponse) Reset ¶
func (m *QueryConsumerGenesisResponse) Reset()
func (*QueryConsumerGenesisResponse) Size ¶
func (m *QueryConsumerGenesisResponse) Size() (n int)
func (*QueryConsumerGenesisResponse) String ¶
func (m *QueryConsumerGenesisResponse) String() string
func (*QueryConsumerGenesisResponse) Unmarshal ¶
func (m *QueryConsumerGenesisResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerGenesisResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerGenesisResponse) XXX_DiscardUnknown()
func (*QueryConsumerGenesisResponse) XXX_Marshal ¶
func (m *QueryConsumerGenesisResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerGenesisResponse) XXX_Merge ¶
func (m *QueryConsumerGenesisResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerGenesisResponse) XXX_Size ¶
func (m *QueryConsumerGenesisResponse) XXX_Size() int
func (*QueryConsumerGenesisResponse) XXX_Unmarshal ¶
func (m *QueryConsumerGenesisResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerValidatorsRequest ¶ added in v4.2.0
type QueryConsumerValidatorsRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryConsumerValidatorsRequest) Descriptor ¶ added in v4.2.0
func (*QueryConsumerValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsRequest) GetChainId ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) GetChainId() string
func (*QueryConsumerValidatorsRequest) Marshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerValidatorsRequest) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsRequest) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsRequest) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerValidatorsRequest) ProtoMessage()
func (*QueryConsumerValidatorsRequest) Reset ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) Reset()
func (*QueryConsumerValidatorsRequest) Size ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) Size() (n int)
func (*QueryConsumerValidatorsRequest) String ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) String() string
func (*QueryConsumerValidatorsRequest) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerValidatorsRequest) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) XXX_DiscardUnknown()
func (*QueryConsumerValidatorsRequest) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerValidatorsRequest) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerValidatorsRequest) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) XXX_Size() int
func (*QueryConsumerValidatorsRequest) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerValidatorsResponse ¶ added in v4.2.0
type QueryConsumerValidatorsResponse struct {
Validators []*QueryConsumerValidatorsValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
}
func (*QueryConsumerValidatorsResponse) Descriptor ¶ added in v4.2.0
func (*QueryConsumerValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsResponse) GetValidators ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) GetValidators() []*QueryConsumerValidatorsValidator
func (*QueryConsumerValidatorsResponse) Marshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerValidatorsResponse) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsResponse) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerValidatorsResponse) ProtoMessage()
func (*QueryConsumerValidatorsResponse) Reset ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) Reset()
func (*QueryConsumerValidatorsResponse) Size ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) Size() (n int)
func (*QueryConsumerValidatorsResponse) String ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) String() string
func (*QueryConsumerValidatorsResponse) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerValidatorsResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) XXX_DiscardUnknown()
func (*QueryConsumerValidatorsResponse) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerValidatorsResponse) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerValidatorsResponse) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) XXX_Size() int
func (*QueryConsumerValidatorsResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerValidatorsValidator ¶ added in v4.2.0
type QueryConsumerValidatorsValidator struct { // The consensus address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,1,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"` // The consumer public key of the validator used on the consumer chain ConsumerKey *crypto.PublicKey `protobuf:"bytes,2,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"` // The power of the validator used on the consumer chain Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` }
func (*QueryConsumerValidatorsValidator) Descriptor ¶ added in v4.2.0
func (*QueryConsumerValidatorsValidator) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsValidator) GetConsumerKey ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) GetConsumerKey() *crypto.PublicKey
func (*QueryConsumerValidatorsValidator) GetPower ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) GetPower() int64
func (*QueryConsumerValidatorsValidator) GetProviderAddress ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) GetProviderAddress() string
func (*QueryConsumerValidatorsValidator) Marshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) Marshal() (dAtA []byte, err error)
func (*QueryConsumerValidatorsValidator) MarshalTo ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsValidator) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsValidator) ProtoMessage ¶ added in v4.2.0
func (*QueryConsumerValidatorsValidator) ProtoMessage()
func (*QueryConsumerValidatorsValidator) Reset ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) Reset()
func (*QueryConsumerValidatorsValidator) Size ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) Size() (n int)
func (*QueryConsumerValidatorsValidator) String ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) String() string
func (*QueryConsumerValidatorsValidator) Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) Unmarshal(dAtA []byte) error
func (*QueryConsumerValidatorsValidator) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) XXX_DiscardUnknown()
func (*QueryConsumerValidatorsValidator) XXX_Marshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerValidatorsValidator) XXX_Merge ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) XXX_Merge(src proto.Message)
func (*QueryConsumerValidatorsValidator) XXX_Size ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) XXX_Size() int
func (*QueryConsumerValidatorsValidator) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryConsumerValidatorsValidator) XXX_Unmarshal(b []byte) error
type QueryOldestUnconfirmedVscRequest ¶ added in v4.1.0
type QueryOldestUnconfirmedVscRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryOldestUnconfirmedVscRequest) Descriptor ¶ added in v4.1.0
func (*QueryOldestUnconfirmedVscRequest) Descriptor() ([]byte, []int)
func (*QueryOldestUnconfirmedVscRequest) GetChainId ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) GetChainId() string
func (*QueryOldestUnconfirmedVscRequest) Marshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) Marshal() (dAtA []byte, err error)
func (*QueryOldestUnconfirmedVscRequest) MarshalTo ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOldestUnconfirmedVscRequest) MarshalToSizedBuffer ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOldestUnconfirmedVscRequest) ProtoMessage ¶ added in v4.1.0
func (*QueryOldestUnconfirmedVscRequest) ProtoMessage()
func (*QueryOldestUnconfirmedVscRequest) Reset ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) Reset()
func (*QueryOldestUnconfirmedVscRequest) Size ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) Size() (n int)
func (*QueryOldestUnconfirmedVscRequest) String ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) String() string
func (*QueryOldestUnconfirmedVscRequest) Unmarshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) Unmarshal(dAtA []byte) error
func (*QueryOldestUnconfirmedVscRequest) XXX_DiscardUnknown ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) XXX_DiscardUnknown()
func (*QueryOldestUnconfirmedVscRequest) XXX_Marshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOldestUnconfirmedVscRequest) XXX_Merge ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) XXX_Merge(src proto.Message)
func (*QueryOldestUnconfirmedVscRequest) XXX_Size ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) XXX_Size() int
func (*QueryOldestUnconfirmedVscRequest) XXX_Unmarshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscRequest) XXX_Unmarshal(b []byte) error
type QueryOldestUnconfirmedVscResponse ¶ added in v4.1.0
type QueryOldestUnconfirmedVscResponse struct {
VscSendTimestamp VscSendTimestamp `protobuf:"bytes,1,opt,name=vsc_send_timestamp,json=vscSendTimestamp,proto3" json:"vsc_send_timestamp"`
}
func (*QueryOldestUnconfirmedVscResponse) Descriptor ¶ added in v4.1.0
func (*QueryOldestUnconfirmedVscResponse) Descriptor() ([]byte, []int)
func (*QueryOldestUnconfirmedVscResponse) GetVscSendTimestamp ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) GetVscSendTimestamp() VscSendTimestamp
func (*QueryOldestUnconfirmedVscResponse) Marshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) Marshal() (dAtA []byte, err error)
func (*QueryOldestUnconfirmedVscResponse) MarshalTo ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOldestUnconfirmedVscResponse) MarshalToSizedBuffer ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOldestUnconfirmedVscResponse) ProtoMessage ¶ added in v4.1.0
func (*QueryOldestUnconfirmedVscResponse) ProtoMessage()
func (*QueryOldestUnconfirmedVscResponse) Reset ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) Reset()
func (*QueryOldestUnconfirmedVscResponse) Size ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) Size() (n int)
func (*QueryOldestUnconfirmedVscResponse) String ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) String() string
func (*QueryOldestUnconfirmedVscResponse) Unmarshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) Unmarshal(dAtA []byte) error
func (*QueryOldestUnconfirmedVscResponse) XXX_DiscardUnknown ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) XXX_DiscardUnknown()
func (*QueryOldestUnconfirmedVscResponse) XXX_Marshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOldestUnconfirmedVscResponse) XXX_Merge ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) XXX_Merge(src proto.Message)
func (*QueryOldestUnconfirmedVscResponse) XXX_Size ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) XXX_Size() int
func (*QueryOldestUnconfirmedVscResponse) XXX_Unmarshal ¶ added in v4.1.0
func (m *QueryOldestUnconfirmedVscResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v4.1.0
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶ added in v4.1.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v4.1.0
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v4.1.0
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v4.1.0
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v4.1.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v4.1.0
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v4.1.0
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v4.1.0
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v4.1.0
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v4.1.0
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v4.1.0
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v4.1.0
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v4.1.0
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v4.1.0
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v4.1.0
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶ added in v4.1.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v4.1.0
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v4.1.0
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v4.1.0
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v4.1.0
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v4.1.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v4.1.0
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v4.1.0
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v4.1.0
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v4.1.0
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v4.1.0
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v4.1.0
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v4.1.0
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v4.1.0
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v4.1.0
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProposedChainIDsRequest ¶
type QueryProposedChainIDsRequest struct { }
func (*QueryProposedChainIDsRequest) Descriptor ¶
func (*QueryProposedChainIDsRequest) Descriptor() ([]byte, []int)
func (*QueryProposedChainIDsRequest) Marshal ¶
func (m *QueryProposedChainIDsRequest) Marshal() (dAtA []byte, err error)
func (*QueryProposedChainIDsRequest) MarshalTo ¶
func (m *QueryProposedChainIDsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposedChainIDsRequest) MarshalToSizedBuffer ¶
func (m *QueryProposedChainIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposedChainIDsRequest) ProtoMessage ¶
func (*QueryProposedChainIDsRequest) ProtoMessage()
func (*QueryProposedChainIDsRequest) Reset ¶
func (m *QueryProposedChainIDsRequest) Reset()
func (*QueryProposedChainIDsRequest) Size ¶
func (m *QueryProposedChainIDsRequest) Size() (n int)
func (*QueryProposedChainIDsRequest) String ¶
func (m *QueryProposedChainIDsRequest) String() string
func (*QueryProposedChainIDsRequest) Unmarshal ¶
func (m *QueryProposedChainIDsRequest) Unmarshal(dAtA []byte) error
func (*QueryProposedChainIDsRequest) XXX_DiscardUnknown ¶
func (m *QueryProposedChainIDsRequest) XXX_DiscardUnknown()
func (*QueryProposedChainIDsRequest) XXX_Marshal ¶
func (m *QueryProposedChainIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposedChainIDsRequest) XXX_Merge ¶
func (m *QueryProposedChainIDsRequest) XXX_Merge(src proto.Message)
func (*QueryProposedChainIDsRequest) XXX_Size ¶
func (m *QueryProposedChainIDsRequest) XXX_Size() int
func (*QueryProposedChainIDsRequest) XXX_Unmarshal ¶
func (m *QueryProposedChainIDsRequest) XXX_Unmarshal(b []byte) error
type QueryProposedChainIDsResponse ¶
type QueryProposedChainIDsResponse struct {
ProposedChains []ProposedChain `protobuf:"bytes,1,rep,name=proposedChains,proto3" json:"proposedChains"`
}
func (*QueryProposedChainIDsResponse) Descriptor ¶
func (*QueryProposedChainIDsResponse) Descriptor() ([]byte, []int)
func (*QueryProposedChainIDsResponse) GetProposedChains ¶
func (m *QueryProposedChainIDsResponse) GetProposedChains() []ProposedChain
func (*QueryProposedChainIDsResponse) Marshal ¶
func (m *QueryProposedChainIDsResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposedChainIDsResponse) MarshalTo ¶
func (m *QueryProposedChainIDsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposedChainIDsResponse) MarshalToSizedBuffer ¶
func (m *QueryProposedChainIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposedChainIDsResponse) ProtoMessage ¶
func (*QueryProposedChainIDsResponse) ProtoMessage()
func (*QueryProposedChainIDsResponse) Reset ¶
func (m *QueryProposedChainIDsResponse) Reset()
func (*QueryProposedChainIDsResponse) Size ¶
func (m *QueryProposedChainIDsResponse) Size() (n int)
func (*QueryProposedChainIDsResponse) String ¶
func (m *QueryProposedChainIDsResponse) String() string
func (*QueryProposedChainIDsResponse) Unmarshal ¶
func (m *QueryProposedChainIDsResponse) Unmarshal(dAtA []byte) error
func (*QueryProposedChainIDsResponse) XXX_DiscardUnknown ¶
func (m *QueryProposedChainIDsResponse) XXX_DiscardUnknown()
func (*QueryProposedChainIDsResponse) XXX_Marshal ¶
func (m *QueryProposedChainIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposedChainIDsResponse) XXX_Merge ¶
func (m *QueryProposedChainIDsResponse) XXX_Merge(src proto.Message)
func (*QueryProposedChainIDsResponse) XXX_Size ¶
func (m *QueryProposedChainIDsResponse) XXX_Size() int
func (*QueryProposedChainIDsResponse) XXX_Unmarshal ¶
func (m *QueryProposedChainIDsResponse) XXX_Unmarshal(b []byte) error
type QueryRegisteredConsumerRewardDenomsRequest ¶
type QueryRegisteredConsumerRewardDenomsRequest struct { }
func (*QueryRegisteredConsumerRewardDenomsRequest) Descriptor ¶
func (*QueryRegisteredConsumerRewardDenomsRequest) Descriptor() ([]byte, []int)
func (*QueryRegisteredConsumerRewardDenomsRequest) Marshal ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredConsumerRewardDenomsRequest) MarshalTo ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredConsumerRewardDenomsRequest) MarshalToSizedBuffer ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredConsumerRewardDenomsRequest) ProtoMessage ¶
func (*QueryRegisteredConsumerRewardDenomsRequest) ProtoMessage()
func (*QueryRegisteredConsumerRewardDenomsRequest) Reset ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) Reset()
func (*QueryRegisteredConsumerRewardDenomsRequest) Size ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) Size() (n int)
func (*QueryRegisteredConsumerRewardDenomsRequest) String ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) String() string
func (*QueryRegisteredConsumerRewardDenomsRequest) Unmarshal ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) Unmarshal(dAtA []byte) error
func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_DiscardUnknown ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_DiscardUnknown()
func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Marshal ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Merge ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Merge(src proto.Message)
func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Size ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Size() int
func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Unmarshal ¶
func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Unmarshal(b []byte) error
type QueryRegisteredConsumerRewardDenomsResponse ¶
type QueryRegisteredConsumerRewardDenomsResponse struct {
Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
}
func (*QueryRegisteredConsumerRewardDenomsResponse) Descriptor ¶
func (*QueryRegisteredConsumerRewardDenomsResponse) Descriptor() ([]byte, []int)
func (*QueryRegisteredConsumerRewardDenomsResponse) GetDenoms ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) GetDenoms() []string
func (*QueryRegisteredConsumerRewardDenomsResponse) Marshal ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredConsumerRewardDenomsResponse) MarshalTo ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredConsumerRewardDenomsResponse) ProtoMessage ¶
func (*QueryRegisteredConsumerRewardDenomsResponse) ProtoMessage()
func (*QueryRegisteredConsumerRewardDenomsResponse) Reset ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) Reset()
func (*QueryRegisteredConsumerRewardDenomsResponse) Size ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) Size() (n int)
func (*QueryRegisteredConsumerRewardDenomsResponse) String ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) String() string
func (*QueryRegisteredConsumerRewardDenomsResponse) Unmarshal ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) Unmarshal(dAtA []byte) error
func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_DiscardUnknown ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_DiscardUnknown()
func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Marshal ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Merge ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Merge(src proto.Message)
func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Size ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Size() int
func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Unmarshal ¶
func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // ConsumerGenesis queries the genesis state needed to start a consumer chain // whose proposal has been accepted QueryConsumerGenesis(context.Context, *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error) // ConsumerChains queries active consumer chains supported by the provider // chain QueryConsumerChains(context.Context, *QueryConsumerChainsRequest) (*QueryConsumerChainsResponse, error) // QueryConsumerChainStarts queries consumer chain start proposals. QueryConsumerChainStarts(context.Context, *QueryConsumerChainStartProposalsRequest) (*QueryConsumerChainStartProposalsResponse, error) // QueryConsumerChainStops queries consumer chain stop proposals. QueryConsumerChainStops(context.Context, *QueryConsumerChainStopProposalsRequest) (*QueryConsumerChainStopProposalsResponse, error) // QueryValidatorConsumerAddr queries the address // assigned by a validator for a consumer chain. QueryValidatorConsumerAddr(context.Context, *QueryValidatorConsumerAddrRequest) (*QueryValidatorConsumerAddrResponse, error) // QueryProviderAddr returns the provider chain validator // given a consumer chain validator address QueryValidatorProviderAddr(context.Context, *QueryValidatorProviderAddrRequest) (*QueryValidatorProviderAddrResponse, error) // QueryThrottleState returns the main on-chain state relevant to currently // throttled slash packets QueryThrottleState(context.Context, *QueryThrottleStateRequest) (*QueryThrottleStateResponse, error) // QueryRegisteredConsumerRewardDenoms returns a list of consumer reward // denoms that are registered QueryRegisteredConsumerRewardDenoms(context.Context, *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error) // QueryProposedConsumerChainIDs returns the chain IDs of the proposed consumer chain addition proposals // that are still in the voting period QueryProposedConsumerChainIDs(context.Context, *QueryProposedChainIDsRequest) (*QueryProposedChainIDsResponse, error) // QueryAllPairsValConAddrByConsumerChainID returns a list of pair valconsensus address // between provider and consumer chain QueryAllPairsValConAddrByConsumerChainID(context.Context, *QueryAllPairsValConAddrByConsumerChainIDRequest) (*QueryAllPairsValConAddrByConsumerChainIDResponse, error) // QueryParams returns all current values of provider parameters QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // QueryConsumerChainOptedInValidators returns a list of validators consensus addresses // that opted-in to the given consumer chain QueryConsumerChainOptedInValidators(context.Context, *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, error) // QueryConsumerChainsValidatorHasToValidate returns a list of consumer chains // that a given validator must validate QueryConsumerChainsValidatorHasToValidate(context.Context, *QueryConsumerChainsValidatorHasToValidateRequest) (*QueryConsumerChainsValidatorHasToValidateResponse, error) // QueryValidatorConsumerCommissionRate returns the commission rate a given // validator charges on a given consumer chain QueryValidatorConsumerCommissionRate(context.Context, *QueryValidatorConsumerCommissionRateRequest) (*QueryValidatorConsumerCommissionRateResponse, error) // QueryOldestUnconfirmedVsc returns the send timestamp of the oldest unconfirmed VSCPacket for a given chainID QueryOldestUnconfirmedVsc(context.Context, *QueryOldestUnconfirmedVscRequest) (*QueryOldestUnconfirmedVscResponse, error) // QueryConsumerValidators returns the latest set consumer-validator set for a given chainID // Note that this does not necessarily mean that the consumer chain is using this validator set at this exact moment // because a VSCPacket could be delayed to be delivered on the consumer chain. QueryConsumerValidators(context.Context, *QueryConsumerValidatorsRequest) (*QueryConsumerValidatorsResponse, error) }
QueryServer is the server API for Query service.
type QueryThrottleStateRequest ¶
type QueryThrottleStateRequest struct { }
func (*QueryThrottleStateRequest) Descriptor ¶
func (*QueryThrottleStateRequest) Descriptor() ([]byte, []int)
func (*QueryThrottleStateRequest) Marshal ¶
func (m *QueryThrottleStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryThrottleStateRequest) MarshalTo ¶
func (m *QueryThrottleStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryThrottleStateRequest) MarshalToSizedBuffer ¶
func (m *QueryThrottleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryThrottleStateRequest) ProtoMessage ¶
func (*QueryThrottleStateRequest) ProtoMessage()
func (*QueryThrottleStateRequest) Reset ¶
func (m *QueryThrottleStateRequest) Reset()
func (*QueryThrottleStateRequest) Size ¶
func (m *QueryThrottleStateRequest) Size() (n int)
func (*QueryThrottleStateRequest) String ¶
func (m *QueryThrottleStateRequest) String() string
func (*QueryThrottleStateRequest) Unmarshal ¶
func (m *QueryThrottleStateRequest) Unmarshal(dAtA []byte) error
func (*QueryThrottleStateRequest) XXX_DiscardUnknown ¶
func (m *QueryThrottleStateRequest) XXX_DiscardUnknown()
func (*QueryThrottleStateRequest) XXX_Marshal ¶
func (m *QueryThrottleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryThrottleStateRequest) XXX_Merge ¶
func (m *QueryThrottleStateRequest) XXX_Merge(src proto.Message)
func (*QueryThrottleStateRequest) XXX_Size ¶
func (m *QueryThrottleStateRequest) XXX_Size() int
func (*QueryThrottleStateRequest) XXX_Unmarshal ¶
func (m *QueryThrottleStateRequest) XXX_Unmarshal(b []byte) error
type QueryThrottleStateResponse ¶
type QueryThrottleStateResponse struct { // current slash_meter state SlashMeter int64 `protobuf:"varint,1,opt,name=slash_meter,json=slashMeter,proto3" json:"slash_meter,omitempty"` // allowance of voting power units (int) that the slash meter is given per // replenish period this also serves as the max value for the meter. SlashMeterAllowance int64 `protobuf:"varint,2,opt,name=slash_meter_allowance,json=slashMeterAllowance,proto3" json:"slash_meter_allowance,omitempty"` // next time the slash meter could potentially be replenished, iff it's not // full NextReplenishCandidate time.Time `` /* 127-byte string literal not displayed */ }
func (*QueryThrottleStateResponse) Descriptor ¶
func (*QueryThrottleStateResponse) Descriptor() ([]byte, []int)
func (*QueryThrottleStateResponse) GetNextReplenishCandidate ¶
func (m *QueryThrottleStateResponse) GetNextReplenishCandidate() time.Time
func (*QueryThrottleStateResponse) GetSlashMeter ¶
func (m *QueryThrottleStateResponse) GetSlashMeter() int64
func (*QueryThrottleStateResponse) GetSlashMeterAllowance ¶
func (m *QueryThrottleStateResponse) GetSlashMeterAllowance() int64
func (*QueryThrottleStateResponse) Marshal ¶
func (m *QueryThrottleStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryThrottleStateResponse) MarshalTo ¶
func (m *QueryThrottleStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryThrottleStateResponse) MarshalToSizedBuffer ¶
func (m *QueryThrottleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryThrottleStateResponse) ProtoMessage ¶
func (*QueryThrottleStateResponse) ProtoMessage()
func (*QueryThrottleStateResponse) Reset ¶
func (m *QueryThrottleStateResponse) Reset()
func (*QueryThrottleStateResponse) Size ¶
func (m *QueryThrottleStateResponse) Size() (n int)
func (*QueryThrottleStateResponse) String ¶
func (m *QueryThrottleStateResponse) String() string
func (*QueryThrottleStateResponse) Unmarshal ¶
func (m *QueryThrottleStateResponse) Unmarshal(dAtA []byte) error
func (*QueryThrottleStateResponse) XXX_DiscardUnknown ¶
func (m *QueryThrottleStateResponse) XXX_DiscardUnknown()
func (*QueryThrottleStateResponse) XXX_Marshal ¶
func (m *QueryThrottleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryThrottleStateResponse) XXX_Merge ¶
func (m *QueryThrottleStateResponse) XXX_Merge(src proto.Message)
func (*QueryThrottleStateResponse) XXX_Size ¶
func (m *QueryThrottleStateResponse) XXX_Size() int
func (*QueryThrottleStateResponse) XXX_Unmarshal ¶
func (m *QueryThrottleStateResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerAddrRequest ¶
type QueryValidatorConsumerAddrRequest struct { // The id of the consumer chain ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The consensus address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,2,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"` }
func (*QueryValidatorConsumerAddrRequest) Descriptor ¶
func (*QueryValidatorConsumerAddrRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerAddrRequest) Marshal ¶
func (m *QueryValidatorConsumerAddrRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerAddrRequest) MarshalTo ¶
func (m *QueryValidatorConsumerAddrRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrRequest) ProtoMessage ¶
func (*QueryValidatorConsumerAddrRequest) ProtoMessage()
func (*QueryValidatorConsumerAddrRequest) Reset ¶
func (m *QueryValidatorConsumerAddrRequest) Reset()
func (*QueryValidatorConsumerAddrRequest) Size ¶
func (m *QueryValidatorConsumerAddrRequest) Size() (n int)
func (*QueryValidatorConsumerAddrRequest) String ¶
func (m *QueryValidatorConsumerAddrRequest) String() string
func (*QueryValidatorConsumerAddrRequest) Unmarshal ¶
func (m *QueryValidatorConsumerAddrRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown()
func (*QueryValidatorConsumerAddrRequest) XXX_Marshal ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerAddrRequest) XXX_Merge ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerAddrRequest) XXX_Size ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Size() int
func (*QueryValidatorConsumerAddrRequest) XXX_Unmarshal ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerAddrResponse ¶
type QueryValidatorConsumerAddrResponse struct { // The address of the validator on the consumer chain ConsumerAddress string `protobuf:"bytes,1,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty"` }
func (*QueryValidatorConsumerAddrResponse) Descriptor ¶
func (*QueryValidatorConsumerAddrResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerAddrResponse) GetConsumerAddress ¶
func (m *QueryValidatorConsumerAddrResponse) GetConsumerAddress() string
func (*QueryValidatorConsumerAddrResponse) Marshal ¶
func (m *QueryValidatorConsumerAddrResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerAddrResponse) MarshalTo ¶
func (m *QueryValidatorConsumerAddrResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrResponse) ProtoMessage ¶
func (*QueryValidatorConsumerAddrResponse) ProtoMessage()
func (*QueryValidatorConsumerAddrResponse) Reset ¶
func (m *QueryValidatorConsumerAddrResponse) Reset()
func (*QueryValidatorConsumerAddrResponse) Size ¶
func (m *QueryValidatorConsumerAddrResponse) Size() (n int)
func (*QueryValidatorConsumerAddrResponse) String ¶
func (m *QueryValidatorConsumerAddrResponse) String() string
func (*QueryValidatorConsumerAddrResponse) Unmarshal ¶
func (m *QueryValidatorConsumerAddrResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown()
func (*QueryValidatorConsumerAddrResponse) XXX_Marshal ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerAddrResponse) XXX_Merge ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerAddrResponse) XXX_Size ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Size() int
func (*QueryValidatorConsumerAddrResponse) XXX_Unmarshal ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerCommissionRateRequest ¶ added in v4.2.0
type QueryValidatorConsumerCommissionRateRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The consensus address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,2,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"` }
func (*QueryValidatorConsumerCommissionRateRequest) Descriptor ¶ added in v4.2.0
func (*QueryValidatorConsumerCommissionRateRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerCommissionRateRequest) GetChainId ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) GetChainId() string
func (*QueryValidatorConsumerCommissionRateRequest) GetProviderAddress ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) GetProviderAddress() string
func (*QueryValidatorConsumerCommissionRateRequest) Marshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerCommissionRateRequest) MarshalTo ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateRequest) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateRequest) ProtoMessage ¶ added in v4.2.0
func (*QueryValidatorConsumerCommissionRateRequest) ProtoMessage()
func (*QueryValidatorConsumerCommissionRateRequest) Reset ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) Reset()
func (*QueryValidatorConsumerCommissionRateRequest) Size ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) Size() (n int)
func (*QueryValidatorConsumerCommissionRateRequest) String ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) String() string
func (*QueryValidatorConsumerCommissionRateRequest) Unmarshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerCommissionRateRequest) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_DiscardUnknown()
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Marshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Merge ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Size ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Size() int
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerCommissionRateResponse ¶ added in v4.2.0
type QueryValidatorConsumerCommissionRateResponse struct { // The rate to charge delegators on the consumer chain, as a fraction Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rate"` }
func (*QueryValidatorConsumerCommissionRateResponse) Descriptor ¶ added in v4.2.0
func (*QueryValidatorConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerCommissionRateResponse) Marshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerCommissionRateResponse) MarshalTo ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateResponse) MarshalToSizedBuffer ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateResponse) ProtoMessage ¶ added in v4.2.0
func (*QueryValidatorConsumerCommissionRateResponse) ProtoMessage()
func (*QueryValidatorConsumerCommissionRateResponse) Reset ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) Reset()
func (*QueryValidatorConsumerCommissionRateResponse) Size ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) Size() (n int)
func (*QueryValidatorConsumerCommissionRateResponse) String ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) String() string
func (*QueryValidatorConsumerCommissionRateResponse) Unmarshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerCommissionRateResponse) XXX_DiscardUnknown ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_DiscardUnknown()
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Marshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Merge ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Size ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Size() int
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Unmarshal ¶ added in v4.2.0
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorProviderAddrRequest ¶
type QueryValidatorProviderAddrRequest struct { // The id of the provider chain ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The consensus address of the validator on the consumer chain ConsumerAddress string `protobuf:"bytes,2,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty" yaml:"address"` }
func (*QueryValidatorProviderAddrRequest) Descriptor ¶
func (*QueryValidatorProviderAddrRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorProviderAddrRequest) Marshal ¶
func (m *QueryValidatorProviderAddrRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorProviderAddrRequest) MarshalTo ¶
func (m *QueryValidatorProviderAddrRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorProviderAddrRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorProviderAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorProviderAddrRequest) ProtoMessage ¶
func (*QueryValidatorProviderAddrRequest) ProtoMessage()
func (*QueryValidatorProviderAddrRequest) Reset ¶
func (m *QueryValidatorProviderAddrRequest) Reset()
func (*QueryValidatorProviderAddrRequest) Size ¶
func (m *QueryValidatorProviderAddrRequest) Size() (n int)
func (*QueryValidatorProviderAddrRequest) String ¶
func (m *QueryValidatorProviderAddrRequest) String() string
func (*QueryValidatorProviderAddrRequest) Unmarshal ¶
func (m *QueryValidatorProviderAddrRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorProviderAddrRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorProviderAddrRequest) XXX_DiscardUnknown()
func (*QueryValidatorProviderAddrRequest) XXX_Marshal ¶
func (m *QueryValidatorProviderAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorProviderAddrRequest) XXX_Merge ¶
func (m *QueryValidatorProviderAddrRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorProviderAddrRequest) XXX_Size ¶
func (m *QueryValidatorProviderAddrRequest) XXX_Size() int
func (*QueryValidatorProviderAddrRequest) XXX_Unmarshal ¶
func (m *QueryValidatorProviderAddrRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorProviderAddrResponse ¶
type QueryValidatorProviderAddrResponse struct { // The address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,1,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty"` }
func (*QueryValidatorProviderAddrResponse) Descriptor ¶
func (*QueryValidatorProviderAddrResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorProviderAddrResponse) GetProviderAddress ¶
func (m *QueryValidatorProviderAddrResponse) GetProviderAddress() string
func (*QueryValidatorProviderAddrResponse) Marshal ¶
func (m *QueryValidatorProviderAddrResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorProviderAddrResponse) MarshalTo ¶
func (m *QueryValidatorProviderAddrResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorProviderAddrResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorProviderAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorProviderAddrResponse) ProtoMessage ¶
func (*QueryValidatorProviderAddrResponse) ProtoMessage()
func (*QueryValidatorProviderAddrResponse) Reset ¶
func (m *QueryValidatorProviderAddrResponse) Reset()
func (*QueryValidatorProviderAddrResponse) Size ¶
func (m *QueryValidatorProviderAddrResponse) Size() (n int)
func (*QueryValidatorProviderAddrResponse) String ¶
func (m *QueryValidatorProviderAddrResponse) String() string
func (*QueryValidatorProviderAddrResponse) Unmarshal ¶
func (m *QueryValidatorProviderAddrResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorProviderAddrResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorProviderAddrResponse) XXX_DiscardUnknown()
func (*QueryValidatorProviderAddrResponse) XXX_Marshal ¶
func (m *QueryValidatorProviderAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorProviderAddrResponse) XXX_Merge ¶
func (m *QueryValidatorProviderAddrResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorProviderAddrResponse) XXX_Size ¶
func (m *QueryValidatorProviderAddrResponse) XXX_Size() int
func (*QueryValidatorProviderAddrResponse) XXX_Unmarshal ¶
func (m *QueryValidatorProviderAddrResponse) XXX_Unmarshal(b []byte) error
type SlashAcks ¶
type SlashAcks struct {
Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}
SlashAcks contains cons addresses of consumer chain validators successfully slashed on the provider chain.
func (*SlashAcks) Descriptor ¶
func (*SlashAcks) GetAddresses ¶
func (*SlashAcks) MarshalToSizedBuffer ¶
func (*SlashAcks) ProtoMessage ¶
func (*SlashAcks) ProtoMessage()
func (*SlashAcks) XXX_DiscardUnknown ¶
func (m *SlashAcks) XXX_DiscardUnknown()
func (*SlashAcks) XXX_Marshal ¶
func (*SlashAcks) XXX_Unmarshal ¶
type UnbondingOp ¶
type UnbondingOp struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // consumer chains that are still unbonding UnbondingConsumerChains []string `` /* 132-byte string literal not displayed */ }
UnbondingOp contains the ids of consumer chains that need to unbond before the unbonding operation with the given ID can unbond
func (*UnbondingOp) Descriptor ¶
func (*UnbondingOp) Descriptor() ([]byte, []int)
func (*UnbondingOp) GetId ¶
func (m *UnbondingOp) GetId() uint64
func (*UnbondingOp) GetUnbondingConsumerChains ¶
func (m *UnbondingOp) GetUnbondingConsumerChains() []string
func (*UnbondingOp) Marshal ¶
func (m *UnbondingOp) Marshal() (dAtA []byte, err error)
func (*UnbondingOp) MarshalToSizedBuffer ¶
func (m *UnbondingOp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingOp) ProtoMessage ¶
func (*UnbondingOp) ProtoMessage()
func (*UnbondingOp) Reset ¶
func (m *UnbondingOp) Reset()
func (*UnbondingOp) Size ¶
func (m *UnbondingOp) Size() (n int)
func (*UnbondingOp) String ¶
func (m *UnbondingOp) String() string
func (*UnbondingOp) Unmarshal ¶
func (m *UnbondingOp) Unmarshal(dAtA []byte) error
func (*UnbondingOp) XXX_DiscardUnknown ¶
func (m *UnbondingOp) XXX_DiscardUnknown()
func (*UnbondingOp) XXX_Marshal ¶
func (m *UnbondingOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingOp) XXX_Merge ¶
func (m *UnbondingOp) XXX_Merge(src proto.Message)
func (*UnbondingOp) XXX_Size ¶
func (m *UnbondingOp) XXX_Size() int
func (*UnbondingOp) XXX_Unmarshal ¶
func (m *UnbondingOp) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AssignConsumerKey ¶
func (*UnimplementedMsgServer) AssignConsumerKey(ctx context.Context, req *MsgAssignConsumerKey) (*MsgAssignConsumerKeyResponse, error)
func (*UnimplementedMsgServer) OptIn ¶ added in v4.2.0
func (*UnimplementedMsgServer) OptIn(ctx context.Context, req *MsgOptIn) (*MsgOptInResponse, error)
func (*UnimplementedMsgServer) OptOut ¶ added in v4.2.0
func (*UnimplementedMsgServer) OptOut(ctx context.Context, req *MsgOptOut) (*MsgOptOutResponse, error)
func (*UnimplementedMsgServer) SetConsumerCommissionRate ¶ added in v4.2.0
func (*UnimplementedMsgServer) SetConsumerCommissionRate(ctx context.Context, req *MsgSetConsumerCommissionRate) (*MsgSetConsumerCommissionRateResponse, error)
func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting ¶
func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting(ctx context.Context, req *MsgSubmitConsumerDoubleVoting) (*MsgSubmitConsumerDoubleVotingResponse, error)
func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour ¶
func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour(ctx context.Context, req *MsgSubmitConsumerMisbehaviour) (*MsgSubmitConsumerMisbehaviourResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) QueryAllPairsValConAddrByConsumerChainID ¶
func (*UnimplementedQueryServer) QueryAllPairsValConAddrByConsumerChainID(ctx context.Context, req *QueryAllPairsValConAddrByConsumerChainIDRequest) (*QueryAllPairsValConAddrByConsumerChainIDResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChainOptedInValidators ¶ added in v4.2.0
func (*UnimplementedQueryServer) QueryConsumerChainOptedInValidators(ctx context.Context, req *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChainStarts ¶
func (*UnimplementedQueryServer) QueryConsumerChainStarts(ctx context.Context, req *QueryConsumerChainStartProposalsRequest) (*QueryConsumerChainStartProposalsResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChainStops ¶
func (*UnimplementedQueryServer) QueryConsumerChainStops(ctx context.Context, req *QueryConsumerChainStopProposalsRequest) (*QueryConsumerChainStopProposalsResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChains ¶
func (*UnimplementedQueryServer) QueryConsumerChains(ctx context.Context, req *QueryConsumerChainsRequest) (*QueryConsumerChainsResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChainsValidatorHasToValidate ¶ added in v4.2.0
func (*UnimplementedQueryServer) QueryConsumerChainsValidatorHasToValidate(ctx context.Context, req *QueryConsumerChainsValidatorHasToValidateRequest) (*QueryConsumerChainsValidatorHasToValidateResponse, error)
func (*UnimplementedQueryServer) QueryConsumerGenesis ¶
func (*UnimplementedQueryServer) QueryConsumerGenesis(ctx context.Context, req *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
func (*UnimplementedQueryServer) QueryConsumerValidators ¶ added in v4.2.0
func (*UnimplementedQueryServer) QueryConsumerValidators(ctx context.Context, req *QueryConsumerValidatorsRequest) (*QueryConsumerValidatorsResponse, error)
func (*UnimplementedQueryServer) QueryOldestUnconfirmedVsc ¶ added in v4.1.0
func (*UnimplementedQueryServer) QueryOldestUnconfirmedVsc(ctx context.Context, req *QueryOldestUnconfirmedVscRequest) (*QueryOldestUnconfirmedVscResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶ added in v4.1.0
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueryProposedConsumerChainIDs ¶
func (*UnimplementedQueryServer) QueryProposedConsumerChainIDs(ctx context.Context, req *QueryProposedChainIDsRequest) (*QueryProposedChainIDsResponse, error)
func (*UnimplementedQueryServer) QueryRegisteredConsumerRewardDenoms ¶
func (*UnimplementedQueryServer) QueryRegisteredConsumerRewardDenoms(ctx context.Context, req *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error)
func (*UnimplementedQueryServer) QueryThrottleState ¶
func (*UnimplementedQueryServer) QueryThrottleState(ctx context.Context, req *QueryThrottleStateRequest) (*QueryThrottleStateResponse, error)
func (*UnimplementedQueryServer) QueryValidatorConsumerAddr ¶
func (*UnimplementedQueryServer) QueryValidatorConsumerAddr(ctx context.Context, req *QueryValidatorConsumerAddrRequest) (*QueryValidatorConsumerAddrResponse, error)
func (*UnimplementedQueryServer) QueryValidatorConsumerCommissionRate ¶ added in v4.2.0
func (*UnimplementedQueryServer) QueryValidatorConsumerCommissionRate(ctx context.Context, req *QueryValidatorConsumerCommissionRateRequest) (*QueryValidatorConsumerCommissionRateResponse, error)
func (*UnimplementedQueryServer) QueryValidatorProviderAddr ¶
func (*UnimplementedQueryServer) QueryValidatorProviderAddr(ctx context.Context, req *QueryValidatorProviderAddrRequest) (*QueryValidatorProviderAddrResponse, error)
type ValidatorByConsumerAddr ¶
type ValidatorByConsumerAddr struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsumerAddr []byte `protobuf:"bytes,2,opt,name=consumer_addr,json=consumerAddr,proto3" json:"consumer_addr,omitempty"` ProviderAddr []byte `protobuf:"bytes,3,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"` }
Used to serialize the ValidatorConsumerAddr index from key assignment ValidatorByConsumerAddr: (chainID, consumerAddr consAddr) -> providerAddr consAddr
func (*ValidatorByConsumerAddr) Descriptor ¶
func (*ValidatorByConsumerAddr) Descriptor() ([]byte, []int)
func (*ValidatorByConsumerAddr) GetChainId ¶
func (m *ValidatorByConsumerAddr) GetChainId() string
func (*ValidatorByConsumerAddr) GetConsumerAddr ¶
func (m *ValidatorByConsumerAddr) GetConsumerAddr() []byte
func (*ValidatorByConsumerAddr) GetProviderAddr ¶
func (m *ValidatorByConsumerAddr) GetProviderAddr() []byte
func (*ValidatorByConsumerAddr) Marshal ¶
func (m *ValidatorByConsumerAddr) Marshal() (dAtA []byte, err error)
func (*ValidatorByConsumerAddr) MarshalTo ¶
func (m *ValidatorByConsumerAddr) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorByConsumerAddr) MarshalToSizedBuffer ¶
func (m *ValidatorByConsumerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorByConsumerAddr) ProtoMessage ¶
func (*ValidatorByConsumerAddr) ProtoMessage()
func (*ValidatorByConsumerAddr) Reset ¶
func (m *ValidatorByConsumerAddr) Reset()
func (*ValidatorByConsumerAddr) Size ¶
func (m *ValidatorByConsumerAddr) Size() (n int)
func (*ValidatorByConsumerAddr) String ¶
func (m *ValidatorByConsumerAddr) String() string
func (*ValidatorByConsumerAddr) Unmarshal ¶
func (m *ValidatorByConsumerAddr) Unmarshal(dAtA []byte) error
func (*ValidatorByConsumerAddr) XXX_DiscardUnknown ¶
func (m *ValidatorByConsumerAddr) XXX_DiscardUnknown()
func (*ValidatorByConsumerAddr) XXX_Marshal ¶
func (m *ValidatorByConsumerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorByConsumerAddr) XXX_Merge ¶
func (m *ValidatorByConsumerAddr) XXX_Merge(src proto.Message)
func (*ValidatorByConsumerAddr) XXX_Size ¶
func (m *ValidatorByConsumerAddr) XXX_Size() int
func (*ValidatorByConsumerAddr) XXX_Unmarshal ¶
func (m *ValidatorByConsumerAddr) XXX_Unmarshal(b []byte) error
type ValidatorConsumerPubKey ¶
type ValidatorConsumerPubKey struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ProviderAddr []byte `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"` ConsumerKey *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"` }
Used to serialize the ValidatorConsumerPubKey index from key assignment ValidatorConsumerPubKey: (chainID, providerAddr consAddr) -> consumerKey tmprotocrypto.PublicKey
func (*ValidatorConsumerPubKey) Descriptor ¶
func (*ValidatorConsumerPubKey) Descriptor() ([]byte, []int)
func (*ValidatorConsumerPubKey) GetChainId ¶
func (m *ValidatorConsumerPubKey) GetChainId() string
func (*ValidatorConsumerPubKey) GetConsumerKey ¶
func (m *ValidatorConsumerPubKey) GetConsumerKey() *crypto.PublicKey
func (*ValidatorConsumerPubKey) GetProviderAddr ¶
func (m *ValidatorConsumerPubKey) GetProviderAddr() []byte
func (*ValidatorConsumerPubKey) Marshal ¶
func (m *ValidatorConsumerPubKey) Marshal() (dAtA []byte, err error)
func (*ValidatorConsumerPubKey) MarshalTo ¶
func (m *ValidatorConsumerPubKey) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorConsumerPubKey) MarshalToSizedBuffer ¶
func (m *ValidatorConsumerPubKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorConsumerPubKey) ProtoMessage ¶
func (*ValidatorConsumerPubKey) ProtoMessage()
func (*ValidatorConsumerPubKey) Reset ¶
func (m *ValidatorConsumerPubKey) Reset()
func (*ValidatorConsumerPubKey) Size ¶
func (m *ValidatorConsumerPubKey) Size() (n int)
func (*ValidatorConsumerPubKey) String ¶
func (m *ValidatorConsumerPubKey) String() string
func (*ValidatorConsumerPubKey) Unmarshal ¶
func (m *ValidatorConsumerPubKey) Unmarshal(dAtA []byte) error
func (*ValidatorConsumerPubKey) XXX_DiscardUnknown ¶
func (m *ValidatorConsumerPubKey) XXX_DiscardUnknown()
func (*ValidatorConsumerPubKey) XXX_Marshal ¶
func (m *ValidatorConsumerPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorConsumerPubKey) XXX_Merge ¶
func (m *ValidatorConsumerPubKey) XXX_Merge(src proto.Message)
func (*ValidatorConsumerPubKey) XXX_Size ¶
func (m *ValidatorConsumerPubKey) XXX_Size() int
func (*ValidatorConsumerPubKey) XXX_Unmarshal ¶
func (m *ValidatorConsumerPubKey) XXX_Unmarshal(b []byte) error
type ValidatorSetChangePackets ¶
type ValidatorSetChangePackets struct {
List []types3.ValidatorSetChangePacketData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
}
ValidatorSetChangePackets is a pb list of ccv.ValidatorSetChangePacketData.
func (*ValidatorSetChangePackets) Descriptor ¶
func (*ValidatorSetChangePackets) Descriptor() ([]byte, []int)
func (*ValidatorSetChangePackets) GetList ¶
func (m *ValidatorSetChangePackets) GetList() []types3.ValidatorSetChangePacketData
func (*ValidatorSetChangePackets) Marshal ¶
func (m *ValidatorSetChangePackets) Marshal() (dAtA []byte, err error)
func (*ValidatorSetChangePackets) MarshalTo ¶
func (m *ValidatorSetChangePackets) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSetChangePackets) MarshalToSizedBuffer ¶
func (m *ValidatorSetChangePackets) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSetChangePackets) ProtoMessage ¶
func (*ValidatorSetChangePackets) ProtoMessage()
func (*ValidatorSetChangePackets) Reset ¶
func (m *ValidatorSetChangePackets) Reset()
func (*ValidatorSetChangePackets) Size ¶
func (m *ValidatorSetChangePackets) Size() (n int)
func (*ValidatorSetChangePackets) String ¶
func (m *ValidatorSetChangePackets) String() string
func (*ValidatorSetChangePackets) Unmarshal ¶
func (m *ValidatorSetChangePackets) Unmarshal(dAtA []byte) error
func (*ValidatorSetChangePackets) XXX_DiscardUnknown ¶
func (m *ValidatorSetChangePackets) XXX_DiscardUnknown()
func (*ValidatorSetChangePackets) XXX_Marshal ¶
func (m *ValidatorSetChangePackets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSetChangePackets) XXX_Merge ¶
func (m *ValidatorSetChangePackets) XXX_Merge(src proto.Message)
func (*ValidatorSetChangePackets) XXX_Size ¶
func (m *ValidatorSetChangePackets) XXX_Size() int
func (*ValidatorSetChangePackets) XXX_Unmarshal ¶
func (m *ValidatorSetChangePackets) XXX_Unmarshal(b []byte) error
type ValsetUpdateIdToHeight ¶
type ValsetUpdateIdToHeight struct { ValsetUpdateId uint64 `protobuf:"varint,1,opt,name=valset_update_id,json=valsetUpdateId,proto3" json:"valset_update_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
ValsetUpdateIdToHeight defines the genesis information for the mapping of each valset update id to a block height
func (*ValsetUpdateIdToHeight) Descriptor ¶
func (*ValsetUpdateIdToHeight) Descriptor() ([]byte, []int)
func (*ValsetUpdateIdToHeight) GetHeight ¶
func (m *ValsetUpdateIdToHeight) GetHeight() uint64
func (*ValsetUpdateIdToHeight) GetValsetUpdateId ¶
func (m *ValsetUpdateIdToHeight) GetValsetUpdateId() uint64
func (*ValsetUpdateIdToHeight) Marshal ¶
func (m *ValsetUpdateIdToHeight) Marshal() (dAtA []byte, err error)
func (*ValsetUpdateIdToHeight) MarshalTo ¶
func (m *ValsetUpdateIdToHeight) MarshalTo(dAtA []byte) (int, error)
func (*ValsetUpdateIdToHeight) MarshalToSizedBuffer ¶
func (m *ValsetUpdateIdToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValsetUpdateIdToHeight) ProtoMessage ¶
func (*ValsetUpdateIdToHeight) ProtoMessage()
func (*ValsetUpdateIdToHeight) Reset ¶
func (m *ValsetUpdateIdToHeight) Reset()
func (*ValsetUpdateIdToHeight) Size ¶
func (m *ValsetUpdateIdToHeight) Size() (n int)
func (*ValsetUpdateIdToHeight) String ¶
func (m *ValsetUpdateIdToHeight) String() string
func (*ValsetUpdateIdToHeight) Unmarshal ¶
func (m *ValsetUpdateIdToHeight) Unmarshal(dAtA []byte) error
func (*ValsetUpdateIdToHeight) XXX_DiscardUnknown ¶
func (m *ValsetUpdateIdToHeight) XXX_DiscardUnknown()
func (*ValsetUpdateIdToHeight) XXX_Marshal ¶
func (m *ValsetUpdateIdToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValsetUpdateIdToHeight) XXX_Merge ¶
func (m *ValsetUpdateIdToHeight) XXX_Merge(src proto.Message)
func (*ValsetUpdateIdToHeight) XXX_Size ¶
func (m *ValsetUpdateIdToHeight) XXX_Size() int
func (*ValsetUpdateIdToHeight) XXX_Unmarshal ¶
func (m *ValsetUpdateIdToHeight) XXX_Unmarshal(b []byte) error
type VscSendTimestamp ¶
type VscSendTimestamp struct { VscId uint64 `protobuf:"varint,1,opt,name=vsc_id,json=vscId,proto3" json:"vsc_id,omitempty"` Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp"` }
func (*VscSendTimestamp) Descriptor ¶
func (*VscSendTimestamp) Descriptor() ([]byte, []int)
func (*VscSendTimestamp) GetTimestamp ¶
func (m *VscSendTimestamp) GetTimestamp() time.Time
func (*VscSendTimestamp) GetVscId ¶
func (m *VscSendTimestamp) GetVscId() uint64
func (*VscSendTimestamp) Marshal ¶
func (m *VscSendTimestamp) Marshal() (dAtA []byte, err error)
func (*VscSendTimestamp) MarshalToSizedBuffer ¶
func (m *VscSendTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VscSendTimestamp) ProtoMessage ¶
func (*VscSendTimestamp) ProtoMessage()
func (*VscSendTimestamp) Reset ¶
func (m *VscSendTimestamp) Reset()
func (*VscSendTimestamp) Size ¶
func (m *VscSendTimestamp) Size() (n int)
func (*VscSendTimestamp) String ¶
func (m *VscSendTimestamp) String() string
func (*VscSendTimestamp) Unmarshal ¶
func (m *VscSendTimestamp) Unmarshal(dAtA []byte) error
func (*VscSendTimestamp) XXX_DiscardUnknown ¶
func (m *VscSendTimestamp) XXX_DiscardUnknown()
func (*VscSendTimestamp) XXX_Marshal ¶
func (m *VscSendTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VscSendTimestamp) XXX_Merge ¶
func (m *VscSendTimestamp) XXX_Merge(src proto.Message)
func (*VscSendTimestamp) XXX_Size ¶
func (m *VscSendTimestamp) XXX_Size() int
func (*VscSendTimestamp) XXX_Unmarshal ¶
func (m *VscSendTimestamp) XXX_Unmarshal(b []byte) error
type VscUnbondingOps ¶
type VscUnbondingOps struct { VscId uint64 `protobuf:"varint,1,opt,name=vsc_id,json=vscId,proto3" json:"vsc_id,omitempty"` UnbondingOpIds []uint64 `protobuf:"varint,2,rep,packed,name=unbonding_op_ids,json=unbondingOpIds,proto3" json:"unbonding_op_ids,omitempty"` }
VscUnbondingOps contains the IDs of unbonding operations that are waiting for at least one VSCMaturedPacket with vscID from a consumer chain
func (*VscUnbondingOps) Descriptor ¶
func (*VscUnbondingOps) Descriptor() ([]byte, []int)
func (*VscUnbondingOps) GetUnbondingOpIds ¶
func (m *VscUnbondingOps) GetUnbondingOpIds() []uint64
func (*VscUnbondingOps) GetVscId ¶
func (m *VscUnbondingOps) GetVscId() uint64
func (*VscUnbondingOps) Marshal ¶
func (m *VscUnbondingOps) Marshal() (dAtA []byte, err error)
func (*VscUnbondingOps) MarshalToSizedBuffer ¶
func (m *VscUnbondingOps) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VscUnbondingOps) ProtoMessage ¶
func (*VscUnbondingOps) ProtoMessage()
func (*VscUnbondingOps) Reset ¶
func (m *VscUnbondingOps) Reset()
func (*VscUnbondingOps) Size ¶
func (m *VscUnbondingOps) Size() (n int)
func (*VscUnbondingOps) String ¶
func (m *VscUnbondingOps) String() string
func (*VscUnbondingOps) Unmarshal ¶
func (m *VscUnbondingOps) Unmarshal(dAtA []byte) error
func (*VscUnbondingOps) XXX_DiscardUnknown ¶
func (m *VscUnbondingOps) XXX_DiscardUnknown()
func (*VscUnbondingOps) XXX_Marshal ¶
func (m *VscUnbondingOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VscUnbondingOps) XXX_Merge ¶
func (m *VscUnbondingOps) XXX_Merge(src proto.Message)
func (*VscUnbondingOps) XXX_Size ¶
func (m *VscUnbondingOps) XXX_Size() int
func (*VscUnbondingOps) XXX_Unmarshal ¶
func (m *VscUnbondingOps) XXX_Unmarshal(b []byte) error