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 ConsumerAddrsToPruneV2Key(chainID string, pruneTs time.Time) []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 IsReservedChainId(chainId string) bool
- func KeyAssignmentValidateBasic(assignedKeys []ValidatorConsumerPubKey, ...) error
- 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) 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 ParametersKey() []byte
- 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 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 ValidateChainId(field, chainId string) error
- func ValidateCoin(i interface{}) 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
- 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) GetChainId() string
- func (m *Chain) GetClientId() string
- func (m *Chain) GetMinPowerInTop_N() int64
- func (m *Chain) GetTop_N() 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 ConsumerAddrsToPruneV2
- func (*ConsumerAddrsToPruneV2) Descriptor() ([]byte, []int)
- func (m *ConsumerAddrsToPruneV2) GetChainId() string
- func (m *ConsumerAddrsToPruneV2) GetConsumerAddrs() *AddressList
- func (m *ConsumerAddrsToPruneV2) GetPruneTs() time.Time
- func (m *ConsumerAddrsToPruneV2) Marshal() (dAtA []byte, err error)
- func (m *ConsumerAddrsToPruneV2) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerAddrsToPruneV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerAddrsToPruneV2) ProtoMessage()
- func (m *ConsumerAddrsToPruneV2) Reset()
- func (m *ConsumerAddrsToPruneV2) Size() (n int)
- func (m *ConsumerAddrsToPruneV2) String() string
- func (m *ConsumerAddrsToPruneV2) Unmarshal(dAtA []byte) error
- func (m *ConsumerAddrsToPruneV2) XXX_DiscardUnknown()
- func (m *ConsumerAddrsToPruneV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerAddrsToPruneV2) XXX_Merge(src proto.Message)
- func (m *ConsumerAddrsToPruneV2) XXX_Size() int
- func (m *ConsumerAddrsToPruneV2) 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) 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 GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetConsumerAdditionProposals() []ConsumerAdditionProposal
- func (m *GenesisState) GetConsumerAddrsToPruneV2() []ConsumerAddrsToPruneV2
- func (m *GenesisState) GetConsumerRemovalProposals() []ConsumerRemovalProposal
- func (m *GenesisState) GetConsumerStates() []ConsumerState
- func (m *GenesisState) GetParams() Params
- 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 (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 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 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 MsgChangeRewardDenoms
- func (*MsgChangeRewardDenoms) Descriptor() ([]byte, []int)
- func (m *MsgChangeRewardDenoms) GetAuthority() string
- func (m *MsgChangeRewardDenoms) GetDenomsToAdd() []string
- func (m *MsgChangeRewardDenoms) GetDenomsToRemove() []string
- func (m *MsgChangeRewardDenoms) Marshal() (dAtA []byte, err error)
- func (m *MsgChangeRewardDenoms) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgChangeRewardDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgChangeRewardDenoms) ProtoMessage()
- func (m *MsgChangeRewardDenoms) Reset()
- func (m *MsgChangeRewardDenoms) Size() (n int)
- func (m *MsgChangeRewardDenoms) String() string
- func (m *MsgChangeRewardDenoms) Unmarshal(dAtA []byte) error
- func (msg *MsgChangeRewardDenoms) ValidateBasic() error
- func (m *MsgChangeRewardDenoms) XXX_DiscardUnknown()
- func (m *MsgChangeRewardDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgChangeRewardDenoms) XXX_Merge(src proto.Message)
- func (m *MsgChangeRewardDenoms) XXX_Size() int
- func (m *MsgChangeRewardDenoms) XXX_Unmarshal(b []byte) error
- type MsgChangeRewardDenomsResponse
- func (*MsgChangeRewardDenomsResponse) Descriptor() ([]byte, []int)
- func (m *MsgChangeRewardDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgChangeRewardDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgChangeRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgChangeRewardDenomsResponse) ProtoMessage()
- func (m *MsgChangeRewardDenomsResponse) Reset()
- func (m *MsgChangeRewardDenomsResponse) Size() (n int)
- func (m *MsgChangeRewardDenomsResponse) String() string
- func (m *MsgChangeRewardDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgChangeRewardDenomsResponse) XXX_DiscardUnknown()
- func (m *MsgChangeRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgChangeRewardDenomsResponse) XXX_Merge(src proto.Message)
- func (m *MsgChangeRewardDenomsResponse) XXX_Size() int
- func (m *MsgChangeRewardDenomsResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgConsumerAddition
- func (*MsgConsumerAddition) Descriptor() ([]byte, []int)
- func (m *MsgConsumerAddition) GetAllowlist() []string
- func (m *MsgConsumerAddition) GetAuthority() string
- func (m *MsgConsumerAddition) GetBinaryHash() []byte
- func (m *MsgConsumerAddition) GetBlocksPerDistributionTransmission() int64
- func (m *MsgConsumerAddition) GetCcvTimeoutPeriod() time.Duration
- func (m *MsgConsumerAddition) GetChainId() string
- func (m *MsgConsumerAddition) GetConnectionId() string
- func (m *MsgConsumerAddition) GetConsumerRedistributionFraction() string
- func (m *MsgConsumerAddition) GetDenylist() []string
- func (m *MsgConsumerAddition) GetDistributionTransmissionChannel() string
- func (m *MsgConsumerAddition) GetGenesisHash() []byte
- func (m *MsgConsumerAddition) GetHistoricalEntries() int64
- func (m *MsgConsumerAddition) GetInitialHeight() types1.Height
- func (msg *MsgConsumerAddition) GetSigners() []sdk.AccAddress
- func (m *MsgConsumerAddition) GetSpawnTime() time.Time
- func (m *MsgConsumerAddition) GetTop_N() uint32
- func (m *MsgConsumerAddition) GetTransferTimeoutPeriod() time.Duration
- func (m *MsgConsumerAddition) GetUnbondingPeriod() time.Duration
- func (m *MsgConsumerAddition) GetValidatorSetCap() uint32
- func (m *MsgConsumerAddition) GetValidatorsPowerCap() uint32
- func (m *MsgConsumerAddition) Marshal() (dAtA []byte, err error)
- func (m *MsgConsumerAddition) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsumerAddition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsumerAddition) ProtoMessage()
- func (m *MsgConsumerAddition) Reset()
- func (m *MsgConsumerAddition) Size() (n int)
- func (m *MsgConsumerAddition) String() string
- func (m *MsgConsumerAddition) Unmarshal(dAtA []byte) error
- func (msg *MsgConsumerAddition) ValidateBasic() error
- func (m *MsgConsumerAddition) XXX_DiscardUnknown()
- func (m *MsgConsumerAddition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsumerAddition) XXX_Merge(src proto.Message)
- func (m *MsgConsumerAddition) XXX_Size() int
- func (m *MsgConsumerAddition) XXX_Unmarshal(b []byte) error
- type MsgConsumerAdditionResponse
- func (*MsgConsumerAdditionResponse) Descriptor() ([]byte, []int)
- func (m *MsgConsumerAdditionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgConsumerAdditionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsumerAdditionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsumerAdditionResponse) ProtoMessage()
- func (m *MsgConsumerAdditionResponse) Reset()
- func (m *MsgConsumerAdditionResponse) Size() (n int)
- func (m *MsgConsumerAdditionResponse) String() string
- func (m *MsgConsumerAdditionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgConsumerAdditionResponse) XXX_DiscardUnknown()
- func (m *MsgConsumerAdditionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsumerAdditionResponse) XXX_Merge(src proto.Message)
- func (m *MsgConsumerAdditionResponse) XXX_Size() int
- func (m *MsgConsumerAdditionResponse) XXX_Unmarshal(b []byte) error
- type MsgConsumerModification
- func (*MsgConsumerModification) Descriptor() ([]byte, []int)
- func (m *MsgConsumerModification) GetAllowlist() []string
- func (m *MsgConsumerModification) GetAuthority() string
- func (m *MsgConsumerModification) GetChainId() string
- func (m *MsgConsumerModification) GetDenylist() []string
- func (m *MsgConsumerModification) GetDescription() string
- func (m *MsgConsumerModification) GetNewChainId() string
- func (m *MsgConsumerModification) GetTitle() string
- func (m *MsgConsumerModification) GetTop_N() uint32
- func (m *MsgConsumerModification) GetValidatorSetCap() uint32
- func (m *MsgConsumerModification) GetValidatorsPowerCap() uint32
- func (m *MsgConsumerModification) Marshal() (dAtA []byte, err error)
- func (m *MsgConsumerModification) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsumerModification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsumerModification) ProtoMessage()
- func (m *MsgConsumerModification) Reset()
- func (m *MsgConsumerModification) Size() (n int)
- func (m *MsgConsumerModification) String() string
- func (m *MsgConsumerModification) Unmarshal(dAtA []byte) error
- func (msg *MsgConsumerModification) ValidateBasic() error
- func (m *MsgConsumerModification) XXX_DiscardUnknown()
- func (m *MsgConsumerModification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsumerModification) XXX_Merge(src proto.Message)
- func (m *MsgConsumerModification) XXX_Size() int
- func (m *MsgConsumerModification) XXX_Unmarshal(b []byte) error
- type MsgConsumerModificationResponse
- func (*MsgConsumerModificationResponse) Descriptor() ([]byte, []int)
- func (m *MsgConsumerModificationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgConsumerModificationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsumerModificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsumerModificationResponse) ProtoMessage()
- func (m *MsgConsumerModificationResponse) Reset()
- func (m *MsgConsumerModificationResponse) Size() (n int)
- func (m *MsgConsumerModificationResponse) String() string
- func (m *MsgConsumerModificationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgConsumerModificationResponse) XXX_DiscardUnknown()
- func (m *MsgConsumerModificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsumerModificationResponse) XXX_Merge(src proto.Message)
- func (m *MsgConsumerModificationResponse) XXX_Size() int
- func (m *MsgConsumerModificationResponse) XXX_Unmarshal(b []byte) error
- type MsgConsumerRemoval
- func (*MsgConsumerRemoval) Descriptor() ([]byte, []int)
- func (m *MsgConsumerRemoval) GetAuthority() string
- func (m *MsgConsumerRemoval) GetChainId() string
- func (m *MsgConsumerRemoval) GetStopTime() time.Time
- func (m *MsgConsumerRemoval) Marshal() (dAtA []byte, err error)
- func (m *MsgConsumerRemoval) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsumerRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsumerRemoval) ProtoMessage()
- func (m *MsgConsumerRemoval) Reset()
- func (m *MsgConsumerRemoval) Size() (n int)
- func (m *MsgConsumerRemoval) String() string
- func (m *MsgConsumerRemoval) Unmarshal(dAtA []byte) error
- func (msg *MsgConsumerRemoval) ValidateBasic() error
- func (m *MsgConsumerRemoval) XXX_DiscardUnknown()
- func (m *MsgConsumerRemoval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsumerRemoval) XXX_Merge(src proto.Message)
- func (m *MsgConsumerRemoval) XXX_Size() int
- func (m *MsgConsumerRemoval) XXX_Unmarshal(b []byte) error
- type MsgConsumerRemovalResponse
- func (*MsgConsumerRemovalResponse) Descriptor() ([]byte, []int)
- func (m *MsgConsumerRemovalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgConsumerRemovalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConsumerRemovalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConsumerRemovalResponse) ProtoMessage()
- func (m *MsgConsumerRemovalResponse) Reset()
- func (m *MsgConsumerRemovalResponse) Size() (n int)
- func (m *MsgConsumerRemovalResponse) String() string
- func (m *MsgConsumerRemovalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgConsumerRemovalResponse) XXX_DiscardUnknown()
- func (m *MsgConsumerRemovalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConsumerRemovalResponse) XXX_Merge(src proto.Message)
- func (m *MsgConsumerRemovalResponse) XXX_Size() int
- func (m *MsgConsumerRemovalResponse) XXX_Unmarshal(b []byte) error
- type MsgOptIn
- func (*MsgOptIn) Descriptor() ([]byte, []int)
- 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 (m *MsgOptIn) Size() (n int)
- func (m *MsgOptIn) String() string
- func (m *MsgOptIn) Unmarshal(dAtA []byte) 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 (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 (m *MsgOptOut) Size() (n int)
- func (m *MsgOptOut) String() string
- func (m *MsgOptOut) Unmarshal(dAtA []byte) 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 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 MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type 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) 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) 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 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 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 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 UnimplementedMsgServer
- func (*UnimplementedMsgServer) AssignConsumerKey(ctx context.Context, req *MsgAssignConsumerKey) (*MsgAssignConsumerKeyResponse, error)
- func (*UnimplementedMsgServer) ConsumerAddition(ctx context.Context, req *MsgConsumerAddition) (*MsgConsumerAdditionResponse, error)
- func (*UnimplementedMsgServer) ConsumerModification(ctx context.Context, req *MsgConsumerModification) (*MsgConsumerModificationResponse, error)
- func (*UnimplementedMsgServer) ConsumerRemoval(ctx context.Context, req *MsgConsumerRemoval) (*MsgConsumerRemovalResponse, error)
- func (*UnimplementedMsgServer) OptIn(ctx context.Context, req *MsgOptIn) (*MsgOptInResponse, error)
- func (*UnimplementedMsgServer) OptOut(ctx context.Context, req *MsgOptOut) (*MsgOptOutResponse, error)
- func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting(ctx context.Context, req *MsgSubmitConsumerDoubleVoting) (*MsgSubmitConsumerDoubleVotingResponse, error)
- func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour(ctx context.Context, req *MsgSubmitConsumerMisbehaviour) (*MsgSubmitConsumerMisbehaviourResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, 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) QueryConsumerGenesis(ctx context.Context, req *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerValidators(ctx context.Context, req *QueryConsumerValidatorsRequest) (*QueryConsumerValidatorsResponse, 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) 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
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" EventTypeOptIn = "opt_in" EventTypeOptOut = "opt_out" AttributeInfractionHeight = "infraction_height" AttributeInitialHeight = "initial_height" AttributeTrustingPeriod = "trusting_period" AttributeUnbondingPeriod = "unbonding_period" AttributeProviderValidatorAddress = "provider_validator_address" AttributeConsumerConsensusPubKey = "consumer_consensus_pub_key" AttributeConsumerRewardDenom = "consumer_reward_denom" 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 // Note: This was Deprecated when removing vscmatured packet DeprecatedMaturedUnbondingOpsByteKey // 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. // Note: This was Deprecated when removing vscmatured packet DeprecatedInitTimeoutTimestampBytePrefix // 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. // Note: This was Deprecated when removing vscmatured packet DeprecatedUnbondingOpBytePrefix // UnbondingOpIndexBytePrefix is byte prefix of the index for looking up which unbonding // operations are waiting for a given consumer chain to unbond // Note: This was Deprecated when removing vscmatured packet DeprecatedUnbondingOpIndexBytePrefix // 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. // Note: This was Deprecated when removing vscmatured packet DeprecatedVscSendTimestampBytePrefix // 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] // Note: THAT WAS THE OLD NOTE, WHAT DO I DO // This was Deprecated when removing vscmatured packet DeprecatedKeyAssignmentReplacementsBytePrefix // 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 // This was Deprecated when removing vscmatured packet DeprecatedVSCMaturedHandledThisBlockBytePrefix // 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 // ConsumerAddrsToPruneV2Key is the byte prefix for storing consumer validators addresses // that need to be pruned. ConsumerAddrsToPruneV2BytePrefix // 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 ( ProposalTypeConsumerAddition = "ConsumerAddition" ProposalTypeConsumerRemoval = "ConsumerRemoval" ProposalTypeConsumerModification = "ConsumerModification" ProposalTypeEquivocation = "Equivocation" ProposalTypeChangeRewardDenoms = "ChangeRewardDenoms" )
const ( TypeMsgAssignConsumerKey = "assign_consumer_key" TypeMsgSubmitConsumerMisbehaviour = "submit_consumer_misbehaviour" TypeMsgSubmitConsumerDoubleVoting = "submit_consumer_double_vote" )
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" // 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 ( // ParametersKey is the is the single byte key for storing provider's parameters. // note that this was set to the max uint8 type value 0xFF in order to protect // from using the ICS v5.0.0 provider module by mistake ParametersByteKey = byte(0xFF) )
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") 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") ErrNoUnbondingTime = errorsmod.Register(ModuleName, 23, "provider unbonding time not found") ErrInvalidAddress = errorsmod.Register(ModuleName, 24, "invalid address") ErrBlankConsumerChainID = errorsmod.Register(ModuleName, 26, "consumer chain id must not be blank") )
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") KeySlashMeterReplenishPeriod = []byte("SlashMeterReplenishPeriod") KeySlashMeterReplenishFraction = []byte("SlashMeterReplenishFraction") KeyConsumerRewardDenomRegistrationFee = []byte("ConsumerRewardDenomRegistrationFee") KeyBlocksPerEpoch = []byte("BlocksPerEpoch") KeyNumberOfEpochsToStartReceivingRewards = []byte("NumberOfEpochsToStartReceivingRewards") )
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated. Use x/ccv/provider/keeper/params instead [DEPRECATED]
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 ¶
func AllowlistCapKey(chainID string, providerAddr ProviderConsAddress) []byte
AllowlistCapKey returns the key used to store the allowlist entry for a validator on a given consumer chain.
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 ConsumerAddrsToPruneV2Key ¶
ConsumerAddrsToPruneV2Key returns the key for storing the consumer validators addresses that need to be pruned.
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 ¶
ConsumerRewardsAllocationKey returns the key used to store the ICS rewards per consumer chain
func ConsumerValidatorKey ¶
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 ¶
func DenylistCapKey(chainID string, providerAddr ProviderConsAddress) []byte
DenylistCapKey returns the key used to store the denylist entry for a validator on a given consumer chain.
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 IsReservedChainId ¶
IsReservedChainId returns true if the chain id is reserved and cannot be reused. This mirrors upstream’s temporary block on reusing known Top-N chain ids.
func KeyAssignmentValidateBasic ¶
func KeyAssignmentValidateBasic( assignedKeys []ValidatorConsumerPubKey, byConsumerAddrs []ValidatorByConsumerAddr, consumerAddrsToPrune []ConsumerAddrsToPruneV2, ) 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 MinimumPowerInTopNKey ¶
MinimumPowerInTopNKey returns the key used to store the minimum power required to be in the top N for a given consumer chain.
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, connectionId string, ) govv1beta1.Content
NewConsumerAdditionProposal creates a new consumer addition proposal.
func NewConsumerModificationProposal ¶
func NewConsumerModificationProposal(title, description, chainID 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 ¶
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 ParametersKey ¶
func ParametersKey() []byte
ParametersKey returns the key for the parameters of the provider module in the store
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 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)
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 ¶
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 ValidateChainId ¶
ValidateChainId validates a chain id and enforces the reserved list. `field` is used only to make error messages clearer at call sites.
func ValidateCoin ¶
func ValidateCoin(i interface{}) error
func ValidateTemplateClient ¶
func ValidateTemplateClient(i interface{}) error
func ValidatorSetCapKey ¶
ValidatorSetCapKey returns the key used to store the validator set cap for a given consumer chain.
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 ¶
ValidatorsPowerCapKey returns the key used to store the power cap for validators on a given consumer chain.
func ValsetUpdateBlockHeightKey ¶
ValsetUpdateBlockHeightKey returns the key that storing the mapping from valset update ID to block height
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"`
}
func (*Chain) Descriptor ¶
func (*Chain) GetChainId ¶
func (*Chain) GetClientId ¶
func (*Chain) GetMinPowerInTop_N ¶
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. Use MsgChangeRewardDenoms to submit this proposal type.
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"`
// ICS1_DEVIATION: v6.4.0 structure adaptation
// Upstream v6.4.0 moved connection_id to ConsumerInitializationParameters message.
// Since we're based on v5.2.0 which uses ConsumerAdditionProposal for all init params,
// we add connection_id here to maintain the same functionality.
//
// The ID of the connection end on the provider chain on top of which the CCV channel will be established.
// If connection_id is empty, a new client will be created and a new connection on top of this client will be
// established for the consumer chain.
ConnectionId string `protobuf:"bytes,20,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,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. Use MsgConsumerAddition to submit this proposal type.
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 ConsumerAddrsToPruneV2 ¶
type ConsumerAddrsToPruneV2 struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
PruneTs time.Time `protobuf:"bytes,2,opt,name=prune_ts,json=pruneTs,proto3,stdtime" json:"prune_ts"`
ConsumerAddrs *AddressList `protobuf:"bytes,3,opt,name=consumer_addrs,json=consumerAddrs,proto3" json:"consumer_addrs,omitempty"`
}
Used to serialize the ConsumerAddrsToPruneV2 index from key assignment ConsumerAddrsToPruneV2: (chainID, pruneTs time.Time) -> consumerAddrs AddressList
func (*ConsumerAddrsToPruneV2) Descriptor ¶
func (*ConsumerAddrsToPruneV2) Descriptor() ([]byte, []int)
func (*ConsumerAddrsToPruneV2) GetChainId ¶
func (m *ConsumerAddrsToPruneV2) GetChainId() string
func (*ConsumerAddrsToPruneV2) GetConsumerAddrs ¶
func (m *ConsumerAddrsToPruneV2) GetConsumerAddrs() *AddressList
func (*ConsumerAddrsToPruneV2) GetPruneTs ¶
func (m *ConsumerAddrsToPruneV2) GetPruneTs() time.Time
func (*ConsumerAddrsToPruneV2) Marshal ¶
func (m *ConsumerAddrsToPruneV2) Marshal() (dAtA []byte, err error)
func (*ConsumerAddrsToPruneV2) MarshalTo ¶
func (m *ConsumerAddrsToPruneV2) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerAddrsToPruneV2) MarshalToSizedBuffer ¶
func (m *ConsumerAddrsToPruneV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerAddrsToPruneV2) ProtoMessage ¶
func (*ConsumerAddrsToPruneV2) ProtoMessage()
func (*ConsumerAddrsToPruneV2) Reset ¶
func (m *ConsumerAddrsToPruneV2) Reset()
func (*ConsumerAddrsToPruneV2) Size ¶
func (m *ConsumerAddrsToPruneV2) Size() (n int)
func (*ConsumerAddrsToPruneV2) String ¶
func (m *ConsumerAddrsToPruneV2) String() string
func (*ConsumerAddrsToPruneV2) Unmarshal ¶
func (m *ConsumerAddrsToPruneV2) Unmarshal(dAtA []byte) error
func (*ConsumerAddrsToPruneV2) XXX_DiscardUnknown ¶
func (m *ConsumerAddrsToPruneV2) XXX_DiscardUnknown()
func (*ConsumerAddrsToPruneV2) XXX_Marshal ¶
func (m *ConsumerAddrsToPruneV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerAddrsToPruneV2) XXX_Merge ¶
func (m *ConsumerAddrsToPruneV2) XXX_Merge(src proto.Message)
func (*ConsumerAddrsToPruneV2) XXX_Size ¶
func (m *ConsumerAddrsToPruneV2) XXX_Size() int
func (*ConsumerAddrsToPruneV2) XXX_Unmarshal ¶
func (m *ConsumerAddrsToPruneV2) 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 ¶
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 ¶
func (*ConsumerModificationProposal) Descriptor() ([]byte, []int)
func (*ConsumerModificationProposal) GetAllowlist ¶
func (m *ConsumerModificationProposal) GetAllowlist() []string
func (*ConsumerModificationProposal) GetChainId ¶
func (m *ConsumerModificationProposal) GetChainId() string
func (*ConsumerModificationProposal) GetDenylist ¶
func (m *ConsumerModificationProposal) GetDenylist() []string
func (*ConsumerModificationProposal) GetDescription ¶
func (m *ConsumerModificationProposal) GetDescription() string
func (*ConsumerModificationProposal) GetTitle ¶
func (m *ConsumerModificationProposal) GetTitle() string
func (*ConsumerModificationProposal) GetTop_N ¶
func (m *ConsumerModificationProposal) GetTop_N() uint32
func (*ConsumerModificationProposal) GetValidatorSetCap ¶
func (m *ConsumerModificationProposal) GetValidatorSetCap() uint32
func (*ConsumerModificationProposal) GetValidatorsPowerCap ¶
func (m *ConsumerModificationProposal) GetValidatorsPowerCap() uint32
func (*ConsumerModificationProposal) Marshal ¶
func (m *ConsumerModificationProposal) Marshal() (dAtA []byte, err error)
func (*ConsumerModificationProposal) MarshalTo ¶
func (m *ConsumerModificationProposal) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerModificationProposal) MarshalToSizedBuffer ¶
func (m *ConsumerModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerModificationProposal) ProposalRoute ¶
func (cccp *ConsumerModificationProposal) ProposalRoute() string
ProposalRoute returns the routing key of a consumer modification proposal.
func (*ConsumerModificationProposal) ProposalType ¶
func (cccp *ConsumerModificationProposal) ProposalType() string
ProposalType returns the type of the consumer modification proposal.
func (*ConsumerModificationProposal) ProtoMessage ¶
func (*ConsumerModificationProposal) ProtoMessage()
func (*ConsumerModificationProposal) Reset ¶
func (m *ConsumerModificationProposal) Reset()
func (*ConsumerModificationProposal) Size ¶
func (m *ConsumerModificationProposal) Size() (n int)
func (*ConsumerModificationProposal) String ¶
func (m *ConsumerModificationProposal) String() string
func (*ConsumerModificationProposal) Unmarshal ¶
func (m *ConsumerModificationProposal) Unmarshal(dAtA []byte) error
func (*ConsumerModificationProposal) ValidateBasic ¶
func (cccp *ConsumerModificationProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*ConsumerModificationProposal) XXX_DiscardUnknown ¶
func (m *ConsumerModificationProposal) XXX_DiscardUnknown()
func (*ConsumerModificationProposal) XXX_Marshal ¶
func (m *ConsumerModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerModificationProposal) XXX_Merge ¶
func (m *ConsumerModificationProposal) XXX_Merge(src proto.Message)
func (*ConsumerModificationProposal) XXX_Size ¶
func (m *ConsumerModificationProposal) XXX_Size() int
func (*ConsumerModificationProposal) XXX_Unmarshal ¶
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. Use MsgConsumerRemoval to submit this proposal type.
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 ¶
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 ¶
func (*ConsumerRewardsAllocation) Descriptor() ([]byte, []int)
func (*ConsumerRewardsAllocation) GetRewards ¶
func (m *ConsumerRewardsAllocation) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*ConsumerRewardsAllocation) Marshal ¶
func (m *ConsumerRewardsAllocation) Marshal() (dAtA []byte, err error)
func (*ConsumerRewardsAllocation) MarshalTo ¶
func (m *ConsumerRewardsAllocation) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerRewardsAllocation) MarshalToSizedBuffer ¶
func (m *ConsumerRewardsAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerRewardsAllocation) ProtoMessage ¶
func (*ConsumerRewardsAllocation) ProtoMessage()
func (*ConsumerRewardsAllocation) Reset ¶
func (m *ConsumerRewardsAllocation) Reset()
func (*ConsumerRewardsAllocation) Size ¶
func (m *ConsumerRewardsAllocation) Size() (n int)
func (*ConsumerRewardsAllocation) String ¶
func (m *ConsumerRewardsAllocation) String() string
func (*ConsumerRewardsAllocation) Unmarshal ¶
func (m *ConsumerRewardsAllocation) Unmarshal(dAtA []byte) error
func (*ConsumerRewardsAllocation) XXX_DiscardUnknown ¶
func (m *ConsumerRewardsAllocation) XXX_DiscardUnknown()
func (*ConsumerRewardsAllocation) XXX_Marshal ¶
func (m *ConsumerRewardsAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerRewardsAllocation) XXX_Merge ¶
func (m *ConsumerRewardsAllocation) XXX_Merge(src proto.Message)
func (*ConsumerRewardsAllocation) XXX_Size ¶
func (m *ConsumerRewardsAllocation) XXX_Size() int
func (*ConsumerRewardsAllocation) XXX_Unmarshal ¶
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"`
}
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, 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) 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 ¶
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 ¶
func (*ConsumerValidator) Descriptor() ([]byte, []int)
func (*ConsumerValidator) GetConsumerPublicKey ¶
func (m *ConsumerValidator) GetConsumerPublicKey() *crypto.PublicKey
func (*ConsumerValidator) GetJoinHeight ¶
func (m *ConsumerValidator) GetJoinHeight() int64
func (*ConsumerValidator) GetPower ¶
func (m *ConsumerValidator) GetPower() int64
func (*ConsumerValidator) GetProviderConsAddr ¶
func (m *ConsumerValidator) GetProviderConsAddr() []byte
func (*ConsumerValidator) Marshal ¶
func (m *ConsumerValidator) Marshal() (dAtA []byte, err error)
func (*ConsumerValidator) MarshalTo ¶
func (m *ConsumerValidator) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerValidator) MarshalToSizedBuffer ¶
func (m *ConsumerValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerValidator) ProtoMessage ¶
func (*ConsumerValidator) ProtoMessage()
func (*ConsumerValidator) Reset ¶
func (m *ConsumerValidator) Reset()
func (*ConsumerValidator) Size ¶
func (m *ConsumerValidator) Size() (n int)
func (*ConsumerValidator) String ¶
func (m *ConsumerValidator) String() string
func (*ConsumerValidator) Unmarshal ¶
func (m *ConsumerValidator) Unmarshal(dAtA []byte) error
func (*ConsumerValidator) XXX_DiscardUnknown ¶
func (m *ConsumerValidator) XXX_DiscardUnknown()
func (*ConsumerValidator) XXX_Marshal ¶
func (m *ConsumerValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerValidator) XXX_Merge ¶
func (m *ConsumerValidator) XXX_Merge(src proto.Message)
func (*ConsumerValidator) XXX_Size ¶
func (m *ConsumerValidator) XXX_Size() int
func (*ConsumerValidator) XXX_Unmarshal ¶
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 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
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
ConsumerAddrsToPruneV2 []ConsumerAddrsToPruneV2 `protobuf:"bytes,14,rep,name=consumer_addrs_to_prune_v2,json=consumerAddrsToPruneV2,proto3" json:"consumer_addrs_to_prune_v2"`
}
GenesisState defines the CCV provider chain genesis state
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState( vscID uint64, vscIdToHeights []ValsetUpdateIdToHeight, consumerStates []ConsumerState, additionProposals []ConsumerAdditionProposal, removalProposals []ConsumerRemovalProposal, params Params, validatorConsumerPubkeys []ValidatorConsumerPubKey, validatorsByConsumerAddr []ValidatorByConsumerAddr, consumerAddrsToPrune []ConsumerAddrsToPruneV2, ) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetConsumerAdditionProposals ¶
func (m *GenesisState) GetConsumerAdditionProposals() []ConsumerAdditionProposal
func (*GenesisState) GetConsumerAddrsToPruneV2 ¶
func (m *GenesisState) GetConsumerAddrsToPruneV2() []ConsumerAddrsToPruneV2
func (*GenesisState) GetConsumerRemovalProposals ¶
func (m *GenesisState) GetConsumerRemovalProposals() []ConsumerRemovalProposal
func (*GenesisState) GetConsumerStates ¶
func (m *GenesisState) GetConsumerStates() []ConsumerState
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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) 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 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 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"`
// Tx signer address
Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}
func NewMsgAssignConsumerKey ¶
func NewMsgAssignConsumerKey(chainID string, providerValidatorAddress sdk.ValAddress, consumerConsensusPubKey, signer 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 MsgChangeRewardDenoms ¶
type MsgChangeRewardDenoms struct {
// the list of consumer reward denoms to add
DenomsToAdd []string `protobuf:"bytes,1,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,2,rep,name=denoms_to_remove,json=denomsToRemove,proto3" json:"denoms_to_remove,omitempty"`
// signer address
Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
}
ChangeRewardDenomsProposal is a governance proposal on the provider chain to mutate the set of denoms accepted by the provider as rewards.
Note: this replaces ChangeRewardDenomsProposal which is deprecated and will be removed soon
func (*MsgChangeRewardDenoms) Descriptor ¶
func (*MsgChangeRewardDenoms) Descriptor() ([]byte, []int)
func (*MsgChangeRewardDenoms) GetAuthority ¶
func (m *MsgChangeRewardDenoms) GetAuthority() string
func (*MsgChangeRewardDenoms) GetDenomsToAdd ¶
func (m *MsgChangeRewardDenoms) GetDenomsToAdd() []string
func (*MsgChangeRewardDenoms) GetDenomsToRemove ¶
func (m *MsgChangeRewardDenoms) GetDenomsToRemove() []string
func (*MsgChangeRewardDenoms) Marshal ¶
func (m *MsgChangeRewardDenoms) Marshal() (dAtA []byte, err error)
func (*MsgChangeRewardDenoms) MarshalTo ¶
func (m *MsgChangeRewardDenoms) MarshalTo(dAtA []byte) (int, error)
func (*MsgChangeRewardDenoms) MarshalToSizedBuffer ¶
func (m *MsgChangeRewardDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgChangeRewardDenoms) ProtoMessage ¶
func (*MsgChangeRewardDenoms) ProtoMessage()
func (*MsgChangeRewardDenoms) Reset ¶
func (m *MsgChangeRewardDenoms) Reset()
func (*MsgChangeRewardDenoms) Size ¶
func (m *MsgChangeRewardDenoms) Size() (n int)
func (*MsgChangeRewardDenoms) String ¶
func (m *MsgChangeRewardDenoms) String() string
func (*MsgChangeRewardDenoms) Unmarshal ¶
func (m *MsgChangeRewardDenoms) Unmarshal(dAtA []byte) error
func (*MsgChangeRewardDenoms) ValidateBasic ¶
func (msg *MsgChangeRewardDenoms) ValidateBasic() error
func (*MsgChangeRewardDenoms) XXX_DiscardUnknown ¶
func (m *MsgChangeRewardDenoms) XXX_DiscardUnknown()
func (*MsgChangeRewardDenoms) XXX_Marshal ¶
func (m *MsgChangeRewardDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgChangeRewardDenoms) XXX_Merge ¶
func (m *MsgChangeRewardDenoms) XXX_Merge(src proto.Message)
func (*MsgChangeRewardDenoms) XXX_Size ¶
func (m *MsgChangeRewardDenoms) XXX_Size() int
func (*MsgChangeRewardDenoms) XXX_Unmarshal ¶
func (m *MsgChangeRewardDenoms) XXX_Unmarshal(b []byte) error
type MsgChangeRewardDenomsResponse ¶
type MsgChangeRewardDenomsResponse struct {
}
MsgChangeRewardDenomsResponse defines response type for MsgChangeRewardDenoms messages
func (*MsgChangeRewardDenomsResponse) Descriptor ¶
func (*MsgChangeRewardDenomsResponse) Descriptor() ([]byte, []int)
func (*MsgChangeRewardDenomsResponse) Marshal ¶
func (m *MsgChangeRewardDenomsResponse) Marshal() (dAtA []byte, err error)
func (*MsgChangeRewardDenomsResponse) MarshalTo ¶
func (m *MsgChangeRewardDenomsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgChangeRewardDenomsResponse) MarshalToSizedBuffer ¶
func (m *MsgChangeRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgChangeRewardDenomsResponse) ProtoMessage ¶
func (*MsgChangeRewardDenomsResponse) ProtoMessage()
func (*MsgChangeRewardDenomsResponse) Reset ¶
func (m *MsgChangeRewardDenomsResponse) Reset()
func (*MsgChangeRewardDenomsResponse) Size ¶
func (m *MsgChangeRewardDenomsResponse) Size() (n int)
func (*MsgChangeRewardDenomsResponse) String ¶
func (m *MsgChangeRewardDenomsResponse) String() string
func (*MsgChangeRewardDenomsResponse) Unmarshal ¶
func (m *MsgChangeRewardDenomsResponse) Unmarshal(dAtA []byte) error
func (*MsgChangeRewardDenomsResponse) XXX_DiscardUnknown ¶
func (m *MsgChangeRewardDenomsResponse) XXX_DiscardUnknown()
func (*MsgChangeRewardDenomsResponse) XXX_Marshal ¶
func (m *MsgChangeRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgChangeRewardDenomsResponse) XXX_Merge ¶
func (m *MsgChangeRewardDenomsResponse) XXX_Merge(src proto.Message)
func (*MsgChangeRewardDenomsResponse) XXX_Size ¶
func (m *MsgChangeRewardDenomsResponse) XXX_Size() int
func (*MsgChangeRewardDenomsResponse) XXX_Unmarshal ¶
func (m *MsgChangeRewardDenomsResponse) 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)
ConsumerAddition(ctx context.Context, in *MsgConsumerAddition, opts ...grpc.CallOption) (*MsgConsumerAdditionResponse, error)
ConsumerRemoval(ctx context.Context, in *MsgConsumerRemoval, opts ...grpc.CallOption) (*MsgConsumerRemovalResponse, error)
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
OptIn(ctx context.Context, in *MsgOptIn, opts ...grpc.CallOption) (*MsgOptInResponse, error)
OptOut(ctx context.Context, in *MsgOptOut, opts ...grpc.CallOption) (*MsgOptOutResponse, error)
ConsumerModification(ctx context.Context, in *MsgConsumerModification, opts ...grpc.CallOption) (*MsgConsumerModificationResponse, 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 MsgConsumerAddition ¶
type MsgConsumerAddition struct {
// 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,1,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 types1.Height `protobuf:"bytes,2,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,3,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,4,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,5,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,6,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,7,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 `` /* 128-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 `` /* 153-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,11,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 maintan 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,13,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,14,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,15,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,16,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,17,rep,name=denylist,proto3" json:"denylist,omitempty"`
// signer address
Authority string `protobuf:"bytes,18,opt,name=authority,proto3" json:"authority,omitempty"`
// ICS1_DEVIATION: v6.4.0 structure adaptation
// Upstream v6.4.0 moved connection_id to ConsumerInitializationParameters message.
// Since we're based on v5.2.0 which uses MsgConsumerAddition for all init params,
// we add connection_id here to maintain the same functionality.
//
// The ID of the connection end on the provider chain on top of which the CCV channel will be established.
// If connection_id is empty, a new client will be created and a new connection on top of this client will be
// established for the consumer chain.
ConnectionId string `protobuf:"bytes,19,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
MsgConsumerAddition defines the message used to spawn a new consumer chain using a v1 governance proposal. 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.
Note: this replaces ConsumerAdditionProposal which is deprecated and will be removed soon
func (*MsgConsumerAddition) Descriptor ¶
func (*MsgConsumerAddition) Descriptor() ([]byte, []int)
func (*MsgConsumerAddition) GetAllowlist ¶
func (m *MsgConsumerAddition) GetAllowlist() []string
func (*MsgConsumerAddition) GetAuthority ¶
func (m *MsgConsumerAddition) GetAuthority() string
func (*MsgConsumerAddition) GetBinaryHash ¶
func (m *MsgConsumerAddition) GetBinaryHash() []byte
func (*MsgConsumerAddition) GetBlocksPerDistributionTransmission ¶
func (m *MsgConsumerAddition) GetBlocksPerDistributionTransmission() int64
func (*MsgConsumerAddition) GetCcvTimeoutPeriod ¶
func (m *MsgConsumerAddition) GetCcvTimeoutPeriod() time.Duration
func (*MsgConsumerAddition) GetChainId ¶
func (m *MsgConsumerAddition) GetChainId() string
func (*MsgConsumerAddition) GetConnectionId ¶
func (m *MsgConsumerAddition) GetConnectionId() string
func (*MsgConsumerAddition) GetConsumerRedistributionFraction ¶
func (m *MsgConsumerAddition) GetConsumerRedistributionFraction() string
func (*MsgConsumerAddition) GetDenylist ¶
func (m *MsgConsumerAddition) GetDenylist() []string
func (*MsgConsumerAddition) GetDistributionTransmissionChannel ¶
func (m *MsgConsumerAddition) GetDistributionTransmissionChannel() string
func (*MsgConsumerAddition) GetGenesisHash ¶
func (m *MsgConsumerAddition) GetGenesisHash() []byte
func (*MsgConsumerAddition) GetHistoricalEntries ¶
func (m *MsgConsumerAddition) GetHistoricalEntries() int64
func (*MsgConsumerAddition) GetInitialHeight ¶
func (m *MsgConsumerAddition) GetInitialHeight() types1.Height
func (*MsgConsumerAddition) GetSigners ¶
func (msg *MsgConsumerAddition) 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 (*MsgConsumerAddition) GetSpawnTime ¶
func (m *MsgConsumerAddition) GetSpawnTime() time.Time
func (*MsgConsumerAddition) GetTop_N ¶
func (m *MsgConsumerAddition) GetTop_N() uint32
func (*MsgConsumerAddition) GetTransferTimeoutPeriod ¶
func (m *MsgConsumerAddition) GetTransferTimeoutPeriod() time.Duration
func (*MsgConsumerAddition) GetUnbondingPeriod ¶
func (m *MsgConsumerAddition) GetUnbondingPeriod() time.Duration
func (*MsgConsumerAddition) GetValidatorSetCap ¶
func (m *MsgConsumerAddition) GetValidatorSetCap() uint32
func (*MsgConsumerAddition) GetValidatorsPowerCap ¶
func (m *MsgConsumerAddition) GetValidatorsPowerCap() uint32
func (*MsgConsumerAddition) Marshal ¶
func (m *MsgConsumerAddition) Marshal() (dAtA []byte, err error)
func (*MsgConsumerAddition) MarshalTo ¶
func (m *MsgConsumerAddition) MarshalTo(dAtA []byte) (int, error)
func (*MsgConsumerAddition) MarshalToSizedBuffer ¶
func (m *MsgConsumerAddition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsumerAddition) ProtoMessage ¶
func (*MsgConsumerAddition) ProtoMessage()
func (*MsgConsumerAddition) Reset ¶
func (m *MsgConsumerAddition) Reset()
func (*MsgConsumerAddition) Size ¶
func (m *MsgConsumerAddition) Size() (n int)
func (*MsgConsumerAddition) String ¶
func (m *MsgConsumerAddition) String() string
func (*MsgConsumerAddition) Unmarshal ¶
func (m *MsgConsumerAddition) Unmarshal(dAtA []byte) error
func (*MsgConsumerAddition) ValidateBasic ¶
func (msg *MsgConsumerAddition) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgConsumerAddition) XXX_DiscardUnknown ¶
func (m *MsgConsumerAddition) XXX_DiscardUnknown()
func (*MsgConsumerAddition) XXX_Marshal ¶
func (m *MsgConsumerAddition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsumerAddition) XXX_Merge ¶
func (m *MsgConsumerAddition) XXX_Merge(src proto.Message)
func (*MsgConsumerAddition) XXX_Size ¶
func (m *MsgConsumerAddition) XXX_Size() int
func (*MsgConsumerAddition) XXX_Unmarshal ¶
func (m *MsgConsumerAddition) XXX_Unmarshal(b []byte) error
type MsgConsumerAdditionResponse ¶
type MsgConsumerAdditionResponse struct {
}
MsgConsumerAdditionResponse defines response type for MsgConsumerAddition messages
func (*MsgConsumerAdditionResponse) Descriptor ¶
func (*MsgConsumerAdditionResponse) Descriptor() ([]byte, []int)
func (*MsgConsumerAdditionResponse) Marshal ¶
func (m *MsgConsumerAdditionResponse) Marshal() (dAtA []byte, err error)
func (*MsgConsumerAdditionResponse) MarshalTo ¶
func (m *MsgConsumerAdditionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgConsumerAdditionResponse) MarshalToSizedBuffer ¶
func (m *MsgConsumerAdditionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsumerAdditionResponse) ProtoMessage ¶
func (*MsgConsumerAdditionResponse) ProtoMessage()
func (*MsgConsumerAdditionResponse) Reset ¶
func (m *MsgConsumerAdditionResponse) Reset()
func (*MsgConsumerAdditionResponse) Size ¶
func (m *MsgConsumerAdditionResponse) Size() (n int)
func (*MsgConsumerAdditionResponse) String ¶
func (m *MsgConsumerAdditionResponse) String() string
func (*MsgConsumerAdditionResponse) Unmarshal ¶
func (m *MsgConsumerAdditionResponse) Unmarshal(dAtA []byte) error
func (*MsgConsumerAdditionResponse) XXX_DiscardUnknown ¶
func (m *MsgConsumerAdditionResponse) XXX_DiscardUnknown()
func (*MsgConsumerAdditionResponse) XXX_Marshal ¶
func (m *MsgConsumerAdditionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsumerAdditionResponse) XXX_Merge ¶
func (m *MsgConsumerAdditionResponse) XXX_Merge(src proto.Message)
func (*MsgConsumerAdditionResponse) XXX_Size ¶
func (m *MsgConsumerAdditionResponse) XXX_Size() int
func (*MsgConsumerAdditionResponse) XXX_Unmarshal ¶
func (m *MsgConsumerAdditionResponse) XXX_Unmarshal(b []byte) error
type MsgConsumerModification ¶
type MsgConsumerModification 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"`
// signer address
Authority string `protobuf:"bytes,9,opt,name=authority,proto3" json:"authority,omitempty"`
// (optional) If the consumer chain has NOT yet launched, the chain id can be updated.
// After a chain has launched the chain id CANNOT be updated.
//
// This field is optional and can remain empty (i.e., `new_chain_id = ""`) or
// correspond to the chain id the chain already has. Renaming is only allowed
// in the chain’s pre-launch phase (registered/initialized in v6 terms). In this
// v5 fork we treat “pre-launch” as “no IBC client exists yet for the current chain id”.
//
// Example use case: correcting a typo before launch.
NewChainId string `protobuf:"bytes,10,opt,name=new_chain_id,json=newChainId,proto3" json:"new_chain_id,omitempty"`
}
MsgConsumerModification message contains a governance proposal on the provider chain to modify a running consumer chain. If it passes, the consumer chain's parameters are updated.
Note: this replaces ConsumerModificationProposal which is deprecated and will be removed soon
func (*MsgConsumerModification) Descriptor ¶
func (*MsgConsumerModification) Descriptor() ([]byte, []int)
func (*MsgConsumerModification) GetAllowlist ¶
func (m *MsgConsumerModification) GetAllowlist() []string
func (*MsgConsumerModification) GetAuthority ¶
func (m *MsgConsumerModification) GetAuthority() string
func (*MsgConsumerModification) GetChainId ¶
func (m *MsgConsumerModification) GetChainId() string
func (*MsgConsumerModification) GetDenylist ¶
func (m *MsgConsumerModification) GetDenylist() []string
func (*MsgConsumerModification) GetDescription ¶
func (m *MsgConsumerModification) GetDescription() string
func (*MsgConsumerModification) GetNewChainId ¶
func (m *MsgConsumerModification) GetNewChainId() string
func (*MsgConsumerModification) GetTitle ¶
func (m *MsgConsumerModification) GetTitle() string
func (*MsgConsumerModification) GetTop_N ¶
func (m *MsgConsumerModification) GetTop_N() uint32
func (*MsgConsumerModification) GetValidatorSetCap ¶
func (m *MsgConsumerModification) GetValidatorSetCap() uint32
func (*MsgConsumerModification) GetValidatorsPowerCap ¶
func (m *MsgConsumerModification) GetValidatorsPowerCap() uint32
func (*MsgConsumerModification) Marshal ¶
func (m *MsgConsumerModification) Marshal() (dAtA []byte, err error)
func (*MsgConsumerModification) MarshalTo ¶
func (m *MsgConsumerModification) MarshalTo(dAtA []byte) (int, error)
func (*MsgConsumerModification) MarshalToSizedBuffer ¶
func (m *MsgConsumerModification) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsumerModification) ProtoMessage ¶
func (*MsgConsumerModification) ProtoMessage()
func (*MsgConsumerModification) Reset ¶
func (m *MsgConsumerModification) Reset()
func (*MsgConsumerModification) Size ¶
func (m *MsgConsumerModification) Size() (n int)
func (*MsgConsumerModification) String ¶
func (m *MsgConsumerModification) String() string
func (*MsgConsumerModification) Unmarshal ¶
func (m *MsgConsumerModification) Unmarshal(dAtA []byte) error
func (*MsgConsumerModification) ValidateBasic ¶
func (msg *MsgConsumerModification) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface.
func (*MsgConsumerModification) XXX_DiscardUnknown ¶
func (m *MsgConsumerModification) XXX_DiscardUnknown()
func (*MsgConsumerModification) XXX_Marshal ¶
func (m *MsgConsumerModification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsumerModification) XXX_Merge ¶
func (m *MsgConsumerModification) XXX_Merge(src proto.Message)
func (*MsgConsumerModification) XXX_Size ¶
func (m *MsgConsumerModification) XXX_Size() int
func (*MsgConsumerModification) XXX_Unmarshal ¶
func (m *MsgConsumerModification) XXX_Unmarshal(b []byte) error
type MsgConsumerModificationResponse ¶
type MsgConsumerModificationResponse struct {
}
func (*MsgConsumerModificationResponse) Descriptor ¶
func (*MsgConsumerModificationResponse) Descriptor() ([]byte, []int)
func (*MsgConsumerModificationResponse) Marshal ¶
func (m *MsgConsumerModificationResponse) Marshal() (dAtA []byte, err error)
func (*MsgConsumerModificationResponse) MarshalTo ¶
func (m *MsgConsumerModificationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgConsumerModificationResponse) MarshalToSizedBuffer ¶
func (m *MsgConsumerModificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsumerModificationResponse) ProtoMessage ¶
func (*MsgConsumerModificationResponse) ProtoMessage()
func (*MsgConsumerModificationResponse) Reset ¶
func (m *MsgConsumerModificationResponse) Reset()
func (*MsgConsumerModificationResponse) Size ¶
func (m *MsgConsumerModificationResponse) Size() (n int)
func (*MsgConsumerModificationResponse) String ¶
func (m *MsgConsumerModificationResponse) String() string
func (*MsgConsumerModificationResponse) Unmarshal ¶
func (m *MsgConsumerModificationResponse) Unmarshal(dAtA []byte) error
func (*MsgConsumerModificationResponse) XXX_DiscardUnknown ¶
func (m *MsgConsumerModificationResponse) XXX_DiscardUnknown()
func (*MsgConsumerModificationResponse) XXX_Marshal ¶
func (m *MsgConsumerModificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsumerModificationResponse) XXX_Merge ¶
func (m *MsgConsumerModificationResponse) XXX_Merge(src proto.Message)
func (*MsgConsumerModificationResponse) XXX_Size ¶
func (m *MsgConsumerModificationResponse) XXX_Size() int
func (*MsgConsumerModificationResponse) XXX_Unmarshal ¶
func (m *MsgConsumerModificationResponse) XXX_Unmarshal(b []byte) error
type MsgConsumerRemoval ¶
type MsgConsumerRemoval struct {
// the chain-id of the consumer chain to be stopped
ChainId string `protobuf:"bytes,1,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,2,opt,name=stop_time,json=stopTime,proto3,stdtime" json:"stop_time"`
// signer address
Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
}
MsgConsumerRemoval message contains 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.
Note: this replaces ConsumerRemovalProposal which is deprecated and will be removed soon
func (*MsgConsumerRemoval) Descriptor ¶
func (*MsgConsumerRemoval) Descriptor() ([]byte, []int)
func (*MsgConsumerRemoval) GetAuthority ¶
func (m *MsgConsumerRemoval) GetAuthority() string
func (*MsgConsumerRemoval) GetChainId ¶
func (m *MsgConsumerRemoval) GetChainId() string
func (*MsgConsumerRemoval) GetStopTime ¶
func (m *MsgConsumerRemoval) GetStopTime() time.Time
func (*MsgConsumerRemoval) Marshal ¶
func (m *MsgConsumerRemoval) Marshal() (dAtA []byte, err error)
func (*MsgConsumerRemoval) MarshalTo ¶
func (m *MsgConsumerRemoval) MarshalTo(dAtA []byte) (int, error)
func (*MsgConsumerRemoval) MarshalToSizedBuffer ¶
func (m *MsgConsumerRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsumerRemoval) ProtoMessage ¶
func (*MsgConsumerRemoval) ProtoMessage()
func (*MsgConsumerRemoval) Reset ¶
func (m *MsgConsumerRemoval) Reset()
func (*MsgConsumerRemoval) Size ¶
func (m *MsgConsumerRemoval) Size() (n int)
func (*MsgConsumerRemoval) String ¶
func (m *MsgConsumerRemoval) String() string
func (*MsgConsumerRemoval) Unmarshal ¶
func (m *MsgConsumerRemoval) Unmarshal(dAtA []byte) error
func (*MsgConsumerRemoval) ValidateBasic ¶
func (msg *MsgConsumerRemoval) ValidateBasic() error
func (*MsgConsumerRemoval) XXX_DiscardUnknown ¶
func (m *MsgConsumerRemoval) XXX_DiscardUnknown()
func (*MsgConsumerRemoval) XXX_Marshal ¶
func (m *MsgConsumerRemoval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsumerRemoval) XXX_Merge ¶
func (m *MsgConsumerRemoval) XXX_Merge(src proto.Message)
func (*MsgConsumerRemoval) XXX_Size ¶
func (m *MsgConsumerRemoval) XXX_Size() int
func (*MsgConsumerRemoval) XXX_Unmarshal ¶
func (m *MsgConsumerRemoval) XXX_Unmarshal(b []byte) error
type MsgConsumerRemovalResponse ¶
type MsgConsumerRemovalResponse struct {
}
MsgConsumerRemovalResponse defines response type for MsgConsumerRemoval messages
func (*MsgConsumerRemovalResponse) Descriptor ¶
func (*MsgConsumerRemovalResponse) Descriptor() ([]byte, []int)
func (*MsgConsumerRemovalResponse) Marshal ¶
func (m *MsgConsumerRemovalResponse) Marshal() (dAtA []byte, err error)
func (*MsgConsumerRemovalResponse) MarshalTo ¶
func (m *MsgConsumerRemovalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgConsumerRemovalResponse) MarshalToSizedBuffer ¶
func (m *MsgConsumerRemovalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConsumerRemovalResponse) ProtoMessage ¶
func (*MsgConsumerRemovalResponse) ProtoMessage()
func (*MsgConsumerRemovalResponse) Reset ¶
func (m *MsgConsumerRemovalResponse) Reset()
func (*MsgConsumerRemovalResponse) Size ¶
func (m *MsgConsumerRemovalResponse) Size() (n int)
func (*MsgConsumerRemovalResponse) String ¶
func (m *MsgConsumerRemovalResponse) String() string
func (*MsgConsumerRemovalResponse) Unmarshal ¶
func (m *MsgConsumerRemovalResponse) Unmarshal(dAtA []byte) error
func (*MsgConsumerRemovalResponse) XXX_DiscardUnknown ¶
func (m *MsgConsumerRemovalResponse) XXX_DiscardUnknown()
func (*MsgConsumerRemovalResponse) XXX_Marshal ¶
func (m *MsgConsumerRemovalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConsumerRemovalResponse) XXX_Merge ¶
func (m *MsgConsumerRemovalResponse) XXX_Merge(src proto.Message)
func (*MsgConsumerRemovalResponse) XXX_Size ¶
func (m *MsgConsumerRemovalResponse) XXX_Size() int
func (*MsgConsumerRemovalResponse) XXX_Unmarshal ¶
func (m *MsgConsumerRemovalResponse) XXX_Unmarshal(b []byte) error
type MsgOptIn ¶
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"`
// signer address
Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}
func (*MsgOptIn) Descriptor ¶
func (*MsgOptIn) MarshalToSizedBuffer ¶
func (*MsgOptIn) ProtoMessage ¶
func (*MsgOptIn) ProtoMessage()
func (*MsgOptIn) XXX_DiscardUnknown ¶
func (m *MsgOptIn) XXX_DiscardUnknown()
func (*MsgOptIn) XXX_Marshal ¶
func (*MsgOptIn) XXX_Unmarshal ¶
type MsgOptInResponse ¶
type MsgOptInResponse struct {
}
func (*MsgOptInResponse) Descriptor ¶
func (*MsgOptInResponse) Descriptor() ([]byte, []int)
func (*MsgOptInResponse) Marshal ¶
func (m *MsgOptInResponse) Marshal() (dAtA []byte, err error)
func (*MsgOptInResponse) MarshalToSizedBuffer ¶
func (m *MsgOptInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOptInResponse) ProtoMessage ¶
func (*MsgOptInResponse) ProtoMessage()
func (*MsgOptInResponse) Reset ¶
func (m *MsgOptInResponse) Reset()
func (*MsgOptInResponse) Size ¶
func (m *MsgOptInResponse) Size() (n int)
func (*MsgOptInResponse) String ¶
func (m *MsgOptInResponse) String() string
func (*MsgOptInResponse) Unmarshal ¶
func (m *MsgOptInResponse) Unmarshal(dAtA []byte) error
func (*MsgOptInResponse) XXX_DiscardUnknown ¶
func (m *MsgOptInResponse) XXX_DiscardUnknown()
func (*MsgOptInResponse) XXX_Marshal ¶
func (m *MsgOptInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOptInResponse) XXX_Merge ¶
func (m *MsgOptInResponse) XXX_Merge(src proto.Message)
func (*MsgOptInResponse) XXX_Size ¶
func (m *MsgOptInResponse) XXX_Size() int
func (*MsgOptInResponse) XXX_Unmarshal ¶
func (m *MsgOptInResponse) XXX_Unmarshal(b []byte) error
type MsgOptOut ¶
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"`
// signer address
Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}
func (*MsgOptOut) Descriptor ¶
func (*MsgOptOut) MarshalToSizedBuffer ¶
func (*MsgOptOut) ProtoMessage ¶
func (*MsgOptOut) ProtoMessage()
func (*MsgOptOut) XXX_DiscardUnknown ¶
func (m *MsgOptOut) XXX_DiscardUnknown()
func (*MsgOptOut) XXX_Marshal ¶
func (*MsgOptOut) XXX_Unmarshal ¶
type MsgOptOutResponse ¶
type MsgOptOutResponse struct {
}
func (*MsgOptOutResponse) Descriptor ¶
func (*MsgOptOutResponse) Descriptor() ([]byte, []int)
func (*MsgOptOutResponse) Marshal ¶
func (m *MsgOptOutResponse) Marshal() (dAtA []byte, err error)
func (*MsgOptOutResponse) MarshalTo ¶
func (m *MsgOptOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOptOutResponse) MarshalToSizedBuffer ¶
func (m *MsgOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOptOutResponse) ProtoMessage ¶
func (*MsgOptOutResponse) ProtoMessage()
func (*MsgOptOutResponse) Reset ¶
func (m *MsgOptOutResponse) Reset()
func (*MsgOptOutResponse) Size ¶
func (m *MsgOptOutResponse) Size() (n int)
func (*MsgOptOutResponse) String ¶
func (m *MsgOptOutResponse) String() string
func (*MsgOptOutResponse) Unmarshal ¶
func (m *MsgOptOutResponse) Unmarshal(dAtA []byte) error
func (*MsgOptOutResponse) XXX_DiscardUnknown ¶
func (m *MsgOptOutResponse) XXX_DiscardUnknown()
func (*MsgOptOutResponse) XXX_Marshal ¶
func (m *MsgOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOptOutResponse) XXX_Merge ¶
func (m *MsgOptOutResponse) XXX_Merge(src proto.Message)
func (*MsgOptOutResponse) XXX_Size ¶
func (m *MsgOptOutResponse) XXX_Size() int
func (*MsgOptOutResponse) XXX_Unmarshal ¶
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)
ConsumerAddition(context.Context, *MsgConsumerAddition) (*MsgConsumerAdditionResponse, error)
ConsumerRemoval(context.Context, *MsgConsumerRemoval) (*MsgConsumerRemovalResponse, error)
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
OptIn(context.Context, *MsgOptIn) (*MsgOptInResponse, error)
OptOut(context.Context, *MsgOptOut) (*MsgOptOutResponse, error)
ConsumerModification(context.Context, *MsgConsumerModification) (*MsgConsumerModificationResponse, error)
}
MsgServer is the server API for Msg service.
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 MsgUpdateParams ¶
type MsgUpdateParams struct {
// signer is the address of the governance account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the x/provider parameters to update.
Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}
MsgUpdateParams is the Msg/UpdateParams request type
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
}
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type 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 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, 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 ¶
func (*Params) GetCcvTimeoutPeriod ¶
func (*Params) GetConsumerRewardDenomRegistrationFee ¶
func (*Params) GetNumberOfEpochsToStartReceivingRewards ¶
func (*Params) GetSlashMeterReplenishFraction ¶
func (*Params) GetSlashMeterReplenishPeriod ¶
func (*Params) GetTemplateClient ¶
func (m *Params) GetTemplateClient() *_07_tendermint.ClientState
func (*Params) GetTrustingPeriodFraction ¶
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)
// 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)
// QueryConsumerChainOptedInValidators returns all opted-in validators for a
// given consumer chain
QueryConsumerChainOptedInValidators(ctx context.Context, in *QueryConsumerChainOptedInValidatorsRequest, opts ...grpc.CallOption) (*QueryConsumerChainOptedInValidatorsResponse, 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 ¶
type QueryConsumerChainOptedInValidatorsRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor ¶
func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainOptedInValidatorsRequest) GetChainId ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) GetChainId() string
func (*QueryConsumerChainOptedInValidatorsRequest) Marshal ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainOptedInValidatorsRequest) MarshalTo ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsRequest) ProtoMessage ¶
func (*QueryConsumerChainOptedInValidatorsRequest) ProtoMessage()
func (*QueryConsumerChainOptedInValidatorsRequest) Reset ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) Reset()
func (*QueryConsumerChainOptedInValidatorsRequest) Size ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) Size() (n int)
func (*QueryConsumerChainOptedInValidatorsRequest) String ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) String() string
func (*QueryConsumerChainOptedInValidatorsRequest) Unmarshal ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Marshal ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Merge ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Size ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Size() int
func (*QueryConsumerChainOptedInValidatorsRequest) XXX_Unmarshal ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainOptedInValidatorsResponse ¶
type QueryConsumerChainOptedInValidatorsResponse struct {
// The consensus addresses of opted-in validators on the provider chain
ValidatorsProviderAddresses []string `` /* 144-byte string literal not displayed */
}
func (*QueryConsumerChainOptedInValidatorsResponse) Descriptor ¶
func (*QueryConsumerChainOptedInValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainOptedInValidatorsResponse) GetValidatorsProviderAddresses ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) GetValidatorsProviderAddresses() []string
func (*QueryConsumerChainOptedInValidatorsResponse) Marshal ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainOptedInValidatorsResponse) MarshalTo ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainOptedInValidatorsResponse) ProtoMessage ¶
func (*QueryConsumerChainOptedInValidatorsResponse) ProtoMessage()
func (*QueryConsumerChainOptedInValidatorsResponse) Reset ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) Reset()
func (*QueryConsumerChainOptedInValidatorsResponse) Size ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) Size() (n int)
func (*QueryConsumerChainOptedInValidatorsResponse) String ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) String() string
func (*QueryConsumerChainOptedInValidatorsResponse) Unmarshal ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Marshal ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Merge ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Size ¶
func (m *QueryConsumerChainOptedInValidatorsResponse) XXX_Size() int
func (*QueryConsumerChainOptedInValidatorsResponse) XXX_Unmarshal ¶
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 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 ¶
type QueryConsumerValidatorsRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
func (*QueryConsumerValidatorsRequest) Descriptor ¶
func (*QueryConsumerValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsRequest) GetChainId ¶
func (m *QueryConsumerValidatorsRequest) GetChainId() string
func (*QueryConsumerValidatorsRequest) Marshal ¶
func (m *QueryConsumerValidatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerValidatorsRequest) MarshalTo ¶
func (m *QueryConsumerValidatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsRequest) ProtoMessage ¶
func (*QueryConsumerValidatorsRequest) ProtoMessage()
func (*QueryConsumerValidatorsRequest) Reset ¶
func (m *QueryConsumerValidatorsRequest) Reset()
func (*QueryConsumerValidatorsRequest) Size ¶
func (m *QueryConsumerValidatorsRequest) Size() (n int)
func (*QueryConsumerValidatorsRequest) String ¶
func (m *QueryConsumerValidatorsRequest) String() string
func (*QueryConsumerValidatorsRequest) Unmarshal ¶
func (m *QueryConsumerValidatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerValidatorsRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerValidatorsRequest) XXX_DiscardUnknown()
func (*QueryConsumerValidatorsRequest) XXX_Marshal ¶
func (m *QueryConsumerValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerValidatorsRequest) XXX_Merge ¶
func (m *QueryConsumerValidatorsRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerValidatorsRequest) XXX_Size ¶
func (m *QueryConsumerValidatorsRequest) XXX_Size() int
func (*QueryConsumerValidatorsRequest) XXX_Unmarshal ¶
func (m *QueryConsumerValidatorsRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerValidatorsResponse ¶
type QueryConsumerValidatorsResponse struct {
Validators []*QueryConsumerValidatorsValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
}
func (*QueryConsumerValidatorsResponse) Descriptor ¶
func (*QueryConsumerValidatorsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsResponse) GetValidators ¶
func (m *QueryConsumerValidatorsResponse) GetValidators() []*QueryConsumerValidatorsValidator
func (*QueryConsumerValidatorsResponse) Marshal ¶
func (m *QueryConsumerValidatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerValidatorsResponse) MarshalTo ¶
func (m *QueryConsumerValidatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsResponse) ProtoMessage ¶
func (*QueryConsumerValidatorsResponse) ProtoMessage()
func (*QueryConsumerValidatorsResponse) Reset ¶
func (m *QueryConsumerValidatorsResponse) Reset()
func (*QueryConsumerValidatorsResponse) Size ¶
func (m *QueryConsumerValidatorsResponse) Size() (n int)
func (*QueryConsumerValidatorsResponse) String ¶
func (m *QueryConsumerValidatorsResponse) String() string
func (*QueryConsumerValidatorsResponse) Unmarshal ¶
func (m *QueryConsumerValidatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerValidatorsResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerValidatorsResponse) XXX_DiscardUnknown()
func (*QueryConsumerValidatorsResponse) XXX_Marshal ¶
func (m *QueryConsumerValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerValidatorsResponse) XXX_Merge ¶
func (m *QueryConsumerValidatorsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerValidatorsResponse) XXX_Size ¶
func (m *QueryConsumerValidatorsResponse) XXX_Size() int
func (*QueryConsumerValidatorsResponse) XXX_Unmarshal ¶
func (m *QueryConsumerValidatorsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerValidatorsValidator ¶
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 ¶
func (*QueryConsumerValidatorsValidator) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsValidator) GetConsumerKey ¶
func (m *QueryConsumerValidatorsValidator) GetConsumerKey() *crypto.PublicKey
func (*QueryConsumerValidatorsValidator) GetPower ¶
func (m *QueryConsumerValidatorsValidator) GetPower() int64
func (*QueryConsumerValidatorsValidator) GetProviderAddress ¶
func (m *QueryConsumerValidatorsValidator) GetProviderAddress() string
func (*QueryConsumerValidatorsValidator) Marshal ¶
func (m *QueryConsumerValidatorsValidator) Marshal() (dAtA []byte, err error)
func (*QueryConsumerValidatorsValidator) MarshalTo ¶
func (m *QueryConsumerValidatorsValidator) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsValidator) MarshalToSizedBuffer ¶
func (m *QueryConsumerValidatorsValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerValidatorsValidator) ProtoMessage ¶
func (*QueryConsumerValidatorsValidator) ProtoMessage()
func (*QueryConsumerValidatorsValidator) Reset ¶
func (m *QueryConsumerValidatorsValidator) Reset()
func (*QueryConsumerValidatorsValidator) Size ¶
func (m *QueryConsumerValidatorsValidator) Size() (n int)
func (*QueryConsumerValidatorsValidator) String ¶
func (m *QueryConsumerValidatorsValidator) String() string
func (*QueryConsumerValidatorsValidator) Unmarshal ¶
func (m *QueryConsumerValidatorsValidator) Unmarshal(dAtA []byte) error
func (*QueryConsumerValidatorsValidator) XXX_DiscardUnknown ¶
func (m *QueryConsumerValidatorsValidator) XXX_DiscardUnknown()
func (*QueryConsumerValidatorsValidator) XXX_Marshal ¶
func (m *QueryConsumerValidatorsValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerValidatorsValidator) XXX_Merge ¶
func (m *QueryConsumerValidatorsValidator) XXX_Merge(src proto.Message)
func (*QueryConsumerValidatorsValidator) XXX_Size ¶
func (m *QueryConsumerValidatorsValidator) XXX_Size() int
func (*QueryConsumerValidatorsValidator) XXX_Unmarshal ¶
func (m *QueryConsumerValidatorsValidator) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct {
}
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type 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)
// 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)
// QueryConsumerChainOptedInValidators returns all opted-in validators for a
// given consumer chain
QueryConsumerChainOptedInValidators(context.Context, *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, 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 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 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) ConsumerAddition ¶
func (*UnimplementedMsgServer) ConsumerAddition(ctx context.Context, req *MsgConsumerAddition) (*MsgConsumerAdditionResponse, error)
func (*UnimplementedMsgServer) ConsumerModification ¶
func (*UnimplementedMsgServer) ConsumerModification(ctx context.Context, req *MsgConsumerModification) (*MsgConsumerModificationResponse, error)
func (*UnimplementedMsgServer) ConsumerRemoval ¶
func (*UnimplementedMsgServer) ConsumerRemoval(ctx context.Context, req *MsgConsumerRemoval) (*MsgConsumerRemovalResponse, error)
func (*UnimplementedMsgServer) OptIn ¶
func (*UnimplementedMsgServer) OptIn(ctx context.Context, req *MsgOptIn) (*MsgOptInResponse, error)
func (*UnimplementedMsgServer) OptOut ¶
func (*UnimplementedMsgServer) OptOut(ctx context.Context, req *MsgOptOut) (*MsgOptOutResponse, 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)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, 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 ¶
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) QueryConsumerGenesis ¶
func (*UnimplementedQueryServer) QueryConsumerGenesis(ctx context.Context, req *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
func (*UnimplementedQueryServer) QueryConsumerValidators ¶
func (*UnimplementedQueryServer) QueryConsumerValidators(ctx context.Context, req *QueryConsumerValidatorsRequest) (*QueryConsumerValidatorsResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
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) 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