Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AllowlistKey(consumerId string, providerAddr ProviderConsAddress) []byte
- func AllowlistKeyPrefix() byte
- func ChannelIdToConsumerIdKeyPrefix() []byte
- func ChannelToConsumerIdKey(channelId string) []byte
- func ClientIdToConsumerIdKey(clientId string) []byte
- func ConsumerAddrsToPruneV2Key(consumerId string, pruneTs time.Time) []byte
- func ConsumerAddrsToPruneV2KeyPrefix() byte
- func ConsumerCommissionRateKey(consumerId string, providerAddr ProviderConsAddress) []byte
- func ConsumerCommissionRateKeyPrefix() byte
- func ConsumerGenesisKey(consumerId string) []byte
- func ConsumerIdKey() []byte
- func ConsumerIdToAllowlistedRewardDenomKey(consumerId string) []byte
- func ConsumerIdToAllowlistedRewardDenomKeyPrefix() byte
- func ConsumerIdToChainIdKey(consumerId string) []byte
- func ConsumerIdToChannelIdKey(consumerId string) []byte
- func ConsumerIdToClientIdKey(consumerId string) []byte
- func ConsumerIdToClientIdKeyPrefix() []byte
- func ConsumerIdToInitializationParametersKey(consumerId string) []byte
- func ConsumerIdToInitializationParametersKeyPrefix() byte
- func ConsumerIdToMetadataKey(consumerId string) []byte
- func ConsumerIdToMetadataKeyPrefix() byte
- func ConsumerIdToOwnerAddressKey(consumerId string) []byte
- func ConsumerIdToPhaseKey(consumerId string) []byte
- func ConsumerIdToPhaseKeyPrefix() byte
- func ConsumerIdToPowerShapingParametersKey(consumerId string) []byte
- func ConsumerIdToRemovalTimeKey(consumerId string) []byte
- func ConsumerIdToRemovalTimeKeyPrefix() byte
- func ConsumerRewardDenomsKey(denom string) []byte
- func ConsumerRewardDenomsKeyPrefix() []byte
- func ConsumerRewardsAllocationByDenomKey(consumerId string, denom string) []byte
- func ConsumerRewardsAllocationByDenomKeyPrefix() byte
- func ConsumerValidatorKey(consumerId string, providerAddr []byte) []byte
- func ConsumerValidatorKeyPrefix() byte
- func ConsumerValidatorsKey(consumerId string, addr ProviderConsAddress) []byte
- func ConsumerValidatorsKeyPrefix() byte
- func DenylistKey(consumerId string, providerAddr ProviderConsAddress) []byte
- func DenylistKeyPrefix() byte
- func EquivocationEvidenceMinHeightKey(consumerId string) []byte
- func GetAllKeyNames() []string
- func GetAllKeyPrefixes() []byte
- func InitChainHeightKey(consumerId string) []byte
- func KeyAssignmentValidateBasic(assignedKeys []ValidatorConsumerPubKey, ...) error
- func LastProviderConsensusValsPrefix() []byte
- func MinimumPowerInTopNKey(consumerId string) []byte
- func NewChangeRewardDenomsProposal(title, description string, denomsToAdd, denomsToRemove []string) govv1beta1.Content
- func NewConsumerAdditionProposal(title, description, chainID string, initialHeight clienttypes.Height, ...) govv1beta1.Content
- func NewConsumerModificationProposal(title, description, chainID string, topN uint32, validatorsPowerCap uint32, ...) govv1beta1.Content
- func NewConsumerRemovalProposal(title, description, chainID string, stopTime time.Time) govv1beta1.Content
- func NewEquivocationProposal(title, description string, equivocations []*evidencetypes.Equivocation) govv1beta1.Content
- func OptedInKey(consumerId string, providerAddr ProviderConsAddress) []byte
- func OptedInKeyPrefix() byte
- func ParamKeyTable() paramtypes.KeyTable
- func ParametersKey() []byte
- func ParseConsumerKeyFromJson(jsonStr string) (pkType, key string, err error)
- func ParseStringIdAndConsAddrKey(prefix byte, bz []byte) (string, sdk.ConsAddress, error)
- func ParseStringIdAndTsKey(prefix byte, bz []byte) (string, time.Time, error)
- func ParseStringIdAndUintIdKey(prefix byte, bz []byte) (string, uint64, error)
- func ParseStringIdWithLenKey(prefix byte, bz []byte) (string, error)
- func ParseTime(prefix byte, bz []byte) (time.Time, error)
- func PendingVSCsKey(consumerId string) []byte
- func PortKey() []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 RemovalTimeToConsumerIdsKey(removalTime time.Time) []byte
- func RemovalTimeToConsumerIdsKeyPrefix() byte
- func SlashAcksKey(consumerId string) []byte
- func SlashLogKey(providerAddr ProviderConsAddress) []byte
- func SlashMeterKey() []byte
- func SlashMeterReplenishTimeCandidateKey() []byte
- func SpawnTimeToConsumerIdsKey(spawnTime time.Time) []byte
- func SpawnTimeToConsumerIdsKeyPrefix() byte
- func StringIdAndConsAddrKey(prefix byte, stringId string, addr sdk.ConsAddress) []byte
- func StringIdAndTsKey(prefix byte, stringId string, timestamp time.Time) []byte
- func StringIdAndUintIdKey(prefix byte, stringId string, uintId uint64) []byte
- func StringIdWithLenKey(prefix byte, stringId string) []byte
- func TruncateString(str string, maxLength int) string
- func ValidateAllowlistedRewardDenoms(allowlistedRewardDenoms AllowlistedRewardDenoms) error
- func ValidateByteSlice(hash []byte, maxLength int) error
- func ValidateCoin(i interface{}) error
- func ValidateConsAddressList(list []string, maxLength int) error
- func ValidateConsumerMetadata(metadata ConsumerMetadata) error
- func ValidateHeaderForConsumerDoubleVoting(header *ibctmtypes.Header) error
- func ValidateInitialHeight(initialHeight clienttypes.Height, chainID string) error
- func ValidateInitializationParameters(initializationParameters ConsumerInitializationParameters) error
- func ValidatePowerShapingParameters(powerShapingParameters PowerShapingParameters) error
- func ValidateStringField(nameOfTheField, field string, maxLength int) error
- func ValidateTemplateClient(i interface{}) error
- func ValidatorSetUpdateIdKey() []byte
- func ValidatorsByConsumerAddrKey(consumerId string, addr ConsumerConsAddress) []byte
- func ValidatorsByConsumerAddrKeyPrefix() byte
- func ValsetUpdateBlockHeightKey(valsetUpdateId uint64) []byte
- func ValsetUpdateBlockHeightKeyPrefix() []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 AllowlistedRewardDenoms
- func (*AllowlistedRewardDenoms) Descriptor() ([]byte, []int)
- func (m *AllowlistedRewardDenoms) GetDenoms() []string
- func (m *AllowlistedRewardDenoms) Marshal() (dAtA []byte, err error)
- func (m *AllowlistedRewardDenoms) MarshalTo(dAtA []byte) (int, error)
- func (m *AllowlistedRewardDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllowlistedRewardDenoms) ProtoMessage()
- func (m *AllowlistedRewardDenoms) Reset()
- func (m *AllowlistedRewardDenoms) Size() (n int)
- func (m *AllowlistedRewardDenoms) String() string
- func (m *AllowlistedRewardDenoms) Unmarshal(dAtA []byte) error
- func (m *AllowlistedRewardDenoms) XXX_DiscardUnknown()
- func (m *AllowlistedRewardDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllowlistedRewardDenoms) XXX_Merge(src proto.Message)
- func (m *AllowlistedRewardDenoms) XXX_Size() int
- func (m *AllowlistedRewardDenoms) XXX_Unmarshal(b []byte) error
- type Chain
- func (*Chain) Descriptor() ([]byte, []int)
- func (m *Chain) GetAllowInactiveVals() bool
- func (m *Chain) GetAllowlist() []string
- func (m *Chain) GetAllowlistedRewardDenoms() *AllowlistedRewardDenoms
- func (m *Chain) GetChainId() string
- func (m *Chain) GetClientId() string
- func (m *Chain) GetConsumerId() string
- func (m *Chain) GetDenylist() []string
- func (m *Chain) GetMetadata() ConsumerMetadata
- func (m *Chain) GetMinPowerInTop_N() int64
- func (m *Chain) GetMinStake() uint64
- func (m *Chain) GetPhase() string
- func (m *Chain) GetTop_N() uint32
- func (m *Chain) GetValidatorSetCap() uint32
- func (m *Chain) GetValidatorsPowerCap() uint32
- func (m *Chain) Marshal() (dAtA []byte, err error)
- func (m *Chain) MarshalTo(dAtA []byte) (int, error)
- func (m *Chain) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Chain) ProtoMessage()
- func (m *Chain) Reset()
- func (m *Chain) Size() (n int)
- func (m *Chain) String() string
- func (m *Chain) Unmarshal(dAtA []byte) error
- func (m *Chain) XXX_DiscardUnknown()
- func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chain) XXX_Merge(src proto.Message)
- func (m *Chain) XXX_Size() int
- func (m *Chain) XXX_Unmarshal(b []byte) error
- type ChangeRewardDenomsProposal
- func (*ChangeRewardDenomsProposal) Descriptor() ([]byte, []int)
- func (m *ChangeRewardDenomsProposal) GetDenomsToAdd() []string
- func (m *ChangeRewardDenomsProposal) GetDenomsToRemove() []string
- func (m *ChangeRewardDenomsProposal) GetDescription() string
- func (m *ChangeRewardDenomsProposal) GetTitle() string
- func (m *ChangeRewardDenomsProposal) Marshal() (dAtA []byte, err error)
- func (m *ChangeRewardDenomsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ChangeRewardDenomsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (crdp *ChangeRewardDenomsProposal) ProposalRoute() string
- func (crdp *ChangeRewardDenomsProposal) ProposalType() string
- func (*ChangeRewardDenomsProposal) ProtoMessage()
- func (m *ChangeRewardDenomsProposal) Reset()
- func (m *ChangeRewardDenomsProposal) Size() (n int)
- func (m *ChangeRewardDenomsProposal) String() string
- func (m *ChangeRewardDenomsProposal) Unmarshal(dAtA []byte) error
- func (crdp *ChangeRewardDenomsProposal) ValidateBasic() error
- func (m *ChangeRewardDenomsProposal) XXX_DiscardUnknown()
- func (m *ChangeRewardDenomsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeRewardDenomsProposal) XXX_Merge(src proto.Message)
- func (m *ChangeRewardDenomsProposal) XXX_Size() int
- func (m *ChangeRewardDenomsProposal) XXX_Unmarshal(b []byte) error
- type ChannelToChaindeprecated
- 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 ConsensusValidator
- func (*ConsensusValidator) Descriptor() ([]byte, []int)
- func (m *ConsensusValidator) GetJoinHeight() int64
- func (m *ConsensusValidator) GetPower() int64
- func (m *ConsensusValidator) GetProviderConsAddr() []byte
- func (m *ConsensusValidator) GetPublicKey() *crypto.PublicKey
- func (m *ConsensusValidator) Marshal() (dAtA []byte, err error)
- func (m *ConsensusValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusValidator) ProtoMessage()
- func (m *ConsensusValidator) Reset()
- func (m *ConsensusValidator) Size() (n int)
- func (m *ConsensusValidator) String() string
- func (m *ConsensusValidator) Unmarshal(dAtA []byte) error
- func (m *ConsensusValidator) XXX_DiscardUnknown()
- func (m *ConsensusValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusValidator) XXX_Merge(src proto.Message)
- func (m *ConsensusValidator) XXX_Size() int
- func (m *ConsensusValidator) XXX_Unmarshal(b []byte) error
- type ConsumerAdditionProposaldeprecated
- 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 ConsumerIds
- func (*ConsumerIds) Descriptor() ([]byte, []int)
- func (m *ConsumerIds) GetIds() []string
- func (m *ConsumerIds) Marshal() (dAtA []byte, err error)
- func (m *ConsumerIds) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerIds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerIds) ProtoMessage()
- func (m *ConsumerIds) Reset()
- func (m *ConsumerIds) Size() (n int)
- func (m *ConsumerIds) String() string
- func (m *ConsumerIds) Unmarshal(dAtA []byte) error
- func (m *ConsumerIds) XXX_DiscardUnknown()
- func (m *ConsumerIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerIds) XXX_Merge(src proto.Message)
- func (m *ConsumerIds) XXX_Size() int
- func (m *ConsumerIds) XXX_Unmarshal(b []byte) error
- type ConsumerInitializationParameters
- func (*ConsumerInitializationParameters) Descriptor() ([]byte, []int)
- func (m *ConsumerInitializationParameters) GetBinaryHash() []byte
- func (m *ConsumerInitializationParameters) GetBlocksPerDistributionTransmission() int64
- func (m *ConsumerInitializationParameters) GetCcvTimeoutPeriod() time.Duration
- func (m *ConsumerInitializationParameters) GetConsumerRedistributionFraction() string
- func (m *ConsumerInitializationParameters) GetDistributionTransmissionChannel() string
- func (m *ConsumerInitializationParameters) GetGenesisHash() []byte
- func (m *ConsumerInitializationParameters) GetHistoricalEntries() int64
- func (m *ConsumerInitializationParameters) GetInitialHeight() types.Height
- func (m *ConsumerInitializationParameters) GetSpawnTime() time.Time
- func (m *ConsumerInitializationParameters) GetTransferTimeoutPeriod() time.Duration
- func (m *ConsumerInitializationParameters) GetUnbondingPeriod() time.Duration
- func (m *ConsumerInitializationParameters) Marshal() (dAtA []byte, err error)
- func (m *ConsumerInitializationParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerInitializationParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerInitializationParameters) ProtoMessage()
- func (m *ConsumerInitializationParameters) Reset()
- func (m *ConsumerInitializationParameters) Size() (n int)
- func (m *ConsumerInitializationParameters) String() string
- func (m *ConsumerInitializationParameters) Unmarshal(dAtA []byte) error
- func (m *ConsumerInitializationParameters) XXX_DiscardUnknown()
- func (m *ConsumerInitializationParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerInitializationParameters) XXX_Merge(src proto.Message)
- func (m *ConsumerInitializationParameters) XXX_Size() int
- func (m *ConsumerInitializationParameters) XXX_Unmarshal(b []byte) error
- type ConsumerMetadata
- func (*ConsumerMetadata) Descriptor() ([]byte, []int)
- func (m *ConsumerMetadata) GetDescription() string
- func (m *ConsumerMetadata) GetMetadata() string
- func (m *ConsumerMetadata) GetName() string
- func (m *ConsumerMetadata) Marshal() (dAtA []byte, err error)
- func (m *ConsumerMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsumerMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsumerMetadata) ProtoMessage()
- func (m *ConsumerMetadata) Reset()
- func (m *ConsumerMetadata) Size() (n int)
- func (m *ConsumerMetadata) String() string
- func (m *ConsumerMetadata) Unmarshal(dAtA []byte) error
- func (m *ConsumerMetadata) XXX_DiscardUnknown()
- func (m *ConsumerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsumerMetadata) XXX_Merge(src proto.Message)
- func (m *ConsumerMetadata) XXX_Size() int
- func (m *ConsumerMetadata) XXX_Unmarshal(b []byte) error
- type ConsumerModificationProposaldeprecated
- func (*ConsumerModificationProposal) Descriptor() ([]byte, []int)
- func (m *ConsumerModificationProposal) GetAllowInactiveVals() bool
- func (m *ConsumerModificationProposal) GetAllowlist() []string
- func (m *ConsumerModificationProposal) GetChainId() string
- func (m *ConsumerModificationProposal) GetDenylist() []string
- func (m *ConsumerModificationProposal) GetDescription() string
- func (m *ConsumerModificationProposal) GetMinStake() uint64
- 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 ConsumerPhase
- type ConsumerRemovalProposaldeprecated
- 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) GetPhase() ConsumerPhase
- 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 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) GetConsumerAddrsToPruneV2() []ConsumerAddrsToPruneV2
- 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 (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 (m *MsgAssignConsumerKey) Size() (n int)
- func (m *MsgAssignConsumerKey) String() 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 MsgConsumerAdditiondeprecated
- func (*MsgConsumerAddition) Descriptor() ([]byte, []int)
- func (m *MsgConsumerAddition) GetAllowInactiveVals() bool
- 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) 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 (m *MsgConsumerAddition) GetMinStake() uint64
- 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 (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 MsgConsumerModificationdeprecated
- func (*MsgConsumerModification) Descriptor() ([]byte, []int)
- func (m *MsgConsumerModification) GetAllowInactiveVals() bool
- 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) GetMinStake() uint64
- 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 (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 MsgConsumerRemovaldeprecated
- 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 (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 MsgCreateConsumer
- func (*MsgCreateConsumer) Descriptor() ([]byte, []int)
- func (m *MsgCreateConsumer) GetAllowlistedRewardDenoms() *AllowlistedRewardDenoms
- func (m *MsgCreateConsumer) GetChainId() string
- func (m *MsgCreateConsumer) GetInitializationParameters() *ConsumerInitializationParameters
- func (m *MsgCreateConsumer) GetMetadata() ConsumerMetadata
- func (m *MsgCreateConsumer) GetPowerShapingParameters() *PowerShapingParameters
- func (m *MsgCreateConsumer) GetSubmitter() string
- func (m *MsgCreateConsumer) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateConsumer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateConsumer) ProtoMessage()
- func (m *MsgCreateConsumer) Reset()
- func (m *MsgCreateConsumer) Size() (n int)
- func (m *MsgCreateConsumer) String() string
- func (m *MsgCreateConsumer) Unmarshal(dAtA []byte) error
- func (msg MsgCreateConsumer) ValidateBasic() error
- func (m *MsgCreateConsumer) XXX_DiscardUnknown()
- func (m *MsgCreateConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateConsumer) XXX_Merge(src proto.Message)
- func (m *MsgCreateConsumer) XXX_Size() int
- func (m *MsgCreateConsumer) XXX_Unmarshal(b []byte) error
- type MsgCreateConsumerResponse
- func (*MsgCreateConsumerResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateConsumerResponse) GetConsumerId() string
- func (m *MsgCreateConsumerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateConsumerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateConsumerResponse) ProtoMessage()
- func (m *MsgCreateConsumerResponse) Reset()
- func (m *MsgCreateConsumerResponse) Size() (n int)
- func (m *MsgCreateConsumerResponse) String() string
- func (m *MsgCreateConsumerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateConsumerResponse) XXX_DiscardUnknown()
- func (m *MsgCreateConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateConsumerResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateConsumerResponse) XXX_Size() int
- func (m *MsgCreateConsumerResponse) 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 (msg MsgOptIn) ValidateBasic() error
- func (m *MsgOptIn) XXX_DiscardUnknown()
- func (m *MsgOptIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptIn) XXX_Merge(src proto.Message)
- func (m *MsgOptIn) XXX_Size() int
- func (m *MsgOptIn) XXX_Unmarshal(b []byte) error
- type MsgOptInResponse
- func (*MsgOptInResponse) Descriptor() ([]byte, []int)
- func (m *MsgOptInResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOptInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOptInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOptInResponse) ProtoMessage()
- func (m *MsgOptInResponse) Reset()
- func (m *MsgOptInResponse) Size() (n int)
- func (m *MsgOptInResponse) String() string
- func (m *MsgOptInResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOptInResponse) XXX_DiscardUnknown()
- func (m *MsgOptInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptInResponse) XXX_Merge(src proto.Message)
- func (m *MsgOptInResponse) XXX_Size() int
- func (m *MsgOptInResponse) XXX_Unmarshal(b []byte) error
- type MsgOptOut
- func (*MsgOptOut) Descriptor() ([]byte, []int)
- func (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 (msg MsgOptOut) ValidateBasic() error
- func (m *MsgOptOut) XXX_DiscardUnknown()
- func (m *MsgOptOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptOut) XXX_Merge(src proto.Message)
- func (m *MsgOptOut) XXX_Size() int
- func (m *MsgOptOut) XXX_Unmarshal(b []byte) error
- type MsgOptOutResponse
- func (*MsgOptOutResponse) Descriptor() ([]byte, []int)
- func (m *MsgOptOutResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOptOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOptOutResponse) ProtoMessage()
- func (m *MsgOptOutResponse) Reset()
- func (m *MsgOptOutResponse) Size() (n int)
- func (m *MsgOptOutResponse) String() string
- func (m *MsgOptOutResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOptOutResponse) XXX_DiscardUnknown()
- func (m *MsgOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOptOutResponse) XXX_Merge(src proto.Message)
- func (m *MsgOptOutResponse) XXX_Size() int
- func (m *MsgOptOutResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveConsumer
- func (*MsgRemoveConsumer) Descriptor() ([]byte, []int)
- func (m *MsgRemoveConsumer) GetConsumerId() string
- func (m *MsgRemoveConsumer) GetOwner() string
- func (m *MsgRemoveConsumer) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveConsumer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveConsumer) ProtoMessage()
- func (m *MsgRemoveConsumer) Reset()
- func (m *MsgRemoveConsumer) Size() (n int)
- func (m *MsgRemoveConsumer) String() string
- func (m *MsgRemoveConsumer) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveConsumer) ValidateBasic() error
- func (m *MsgRemoveConsumer) XXX_DiscardUnknown()
- func (m *MsgRemoveConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveConsumer) XXX_Merge(src proto.Message)
- func (m *MsgRemoveConsumer) XXX_Size() int
- func (m *MsgRemoveConsumer) XXX_Unmarshal(b []byte) error
- type MsgRemoveConsumerResponse
- func (*MsgRemoveConsumerResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveConsumerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveConsumerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveConsumerResponse) ProtoMessage()
- func (m *MsgRemoveConsumerResponse) Reset()
- func (m *MsgRemoveConsumerResponse) Size() (n int)
- func (m *MsgRemoveConsumerResponse) String() string
- func (m *MsgRemoveConsumerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveConsumerResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveConsumerResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveConsumerResponse) XXX_Size() int
- func (m *MsgRemoveConsumerResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetConsumerCommissionRate
- func (*MsgSetConsumerCommissionRate) Descriptor() ([]byte, []int)
- func (m *MsgSetConsumerCommissionRate) Marshal() (dAtA []byte, err error)
- func (m *MsgSetConsumerCommissionRate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetConsumerCommissionRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetConsumerCommissionRate) ProtoMessage()
- func (m *MsgSetConsumerCommissionRate) Reset()
- func (m *MsgSetConsumerCommissionRate) Size() (n int)
- func (m *MsgSetConsumerCommissionRate) String() string
- func (m *MsgSetConsumerCommissionRate) Unmarshal(dAtA []byte) error
- func (msg MsgSetConsumerCommissionRate) ValidateBasic() error
- func (m *MsgSetConsumerCommissionRate) XXX_DiscardUnknown()
- func (m *MsgSetConsumerCommissionRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetConsumerCommissionRate) XXX_Merge(src proto.Message)
- func (m *MsgSetConsumerCommissionRate) XXX_Size() int
- func (m *MsgSetConsumerCommissionRate) XXX_Unmarshal(b []byte) error
- type MsgSetConsumerCommissionRateResponse
- func (*MsgSetConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetConsumerCommissionRateResponse) ProtoMessage()
- func (m *MsgSetConsumerCommissionRateResponse) Reset()
- func (m *MsgSetConsumerCommissionRateResponse) Size() (n int)
- func (m *MsgSetConsumerCommissionRateResponse) String() string
- func (m *MsgSetConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetConsumerCommissionRateResponse) XXX_DiscardUnknown()
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Size() int
- func (m *MsgSetConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
- type MsgSubmitConsumerDoubleVoting
- func (*MsgSubmitConsumerDoubleVoting) Descriptor() ([]byte, []int)
- func (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 (m *MsgSubmitConsumerDoubleVoting) Size() (n int)
- func (m *MsgSubmitConsumerDoubleVoting) String() 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 (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 (m *MsgSubmitConsumerMisbehaviour) Size() (n int)
- func (m *MsgSubmitConsumerMisbehaviour) String() 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 MsgUpdateConsumer
- func (*MsgUpdateConsumer) Descriptor() ([]byte, []int)
- func (m *MsgUpdateConsumer) GetAllowlistedRewardDenoms() *AllowlistedRewardDenoms
- func (m *MsgUpdateConsumer) GetConsumerId() string
- func (m *MsgUpdateConsumer) GetInitializationParameters() *ConsumerInitializationParameters
- func (m *MsgUpdateConsumer) GetMetadata() *ConsumerMetadata
- func (m *MsgUpdateConsumer) GetNewOwnerAddress() string
- func (m *MsgUpdateConsumer) GetOwner() string
- func (m *MsgUpdateConsumer) GetPowerShapingParameters() *PowerShapingParameters
- func (m *MsgUpdateConsumer) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateConsumer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateConsumer) ProtoMessage()
- func (m *MsgUpdateConsumer) Reset()
- func (m *MsgUpdateConsumer) Size() (n int)
- func (m *MsgUpdateConsumer) String() string
- func (m *MsgUpdateConsumer) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateConsumer) ValidateBasic() error
- func (m *MsgUpdateConsumer) XXX_DiscardUnknown()
- func (m *MsgUpdateConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateConsumer) XXX_Merge(src proto.Message)
- func (m *MsgUpdateConsumer) XXX_Size() int
- func (m *MsgUpdateConsumer) XXX_Unmarshal(b []byte) error
- type MsgUpdateConsumerResponse
- func (*MsgUpdateConsumerResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateConsumerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateConsumerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateConsumerResponse) ProtoMessage()
- func (m *MsgUpdateConsumerResponse) Reset()
- func (m *MsgUpdateConsumerResponse) Size() (n int)
- func (m *MsgUpdateConsumerResponse) String() string
- func (m *MsgUpdateConsumerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateConsumerResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateConsumerResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateConsumerResponse) XXX_Size() int
- func (m *MsgUpdateConsumerResponse) 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) GetMaxProviderConsensusValidators() int64
- 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 PowerShapingParameters
- func (*PowerShapingParameters) Descriptor() ([]byte, []int)
- func (m *PowerShapingParameters) GetAllowInactiveVals() bool
- func (m *PowerShapingParameters) GetAllowlist() []string
- func (m *PowerShapingParameters) GetDenylist() []string
- func (m *PowerShapingParameters) GetMinStake() uint64
- func (m *PowerShapingParameters) GetTop_N() uint32
- func (m *PowerShapingParameters) GetValidatorSetCap() uint32
- func (m *PowerShapingParameters) GetValidatorsPowerCap() uint32
- func (m *PowerShapingParameters) Marshal() (dAtA []byte, err error)
- func (m *PowerShapingParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *PowerShapingParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PowerShapingParameters) ProtoMessage()
- func (m *PowerShapingParameters) Reset()
- func (m *PowerShapingParameters) Size() (n int)
- func (m *PowerShapingParameters) String() string
- func (m *PowerShapingParameters) Unmarshal(dAtA []byte) error
- func (m *PowerShapingParameters) XXX_DiscardUnknown()
- func (m *PowerShapingParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PowerShapingParameters) XXX_Merge(src proto.Message)
- func (m *PowerShapingParameters) XXX_Size() int
- func (m *PowerShapingParameters) XXX_Unmarshal(b []byte) error
- type ProviderConsAddress
- type QueryAllPairsValConsAddrByConsumerRequest
- func (*QueryAllPairsValConsAddrByConsumerRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPairsValConsAddrByConsumerRequest) GetConsumerId() string
- func (m *QueryAllPairsValConsAddrByConsumerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPairsValConsAddrByConsumerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPairsValConsAddrByConsumerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPairsValConsAddrByConsumerRequest) ProtoMessage()
- func (m *QueryAllPairsValConsAddrByConsumerRequest) Reset()
- func (m *QueryAllPairsValConsAddrByConsumerRequest) Size() (n int)
- func (m *QueryAllPairsValConsAddrByConsumerRequest) String() string
- func (m *QueryAllPairsValConsAddrByConsumerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_DiscardUnknown()
- func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Size() int
- func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPairsValConsAddrByConsumerResponse
- func (*QueryAllPairsValConsAddrByConsumerResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPairsValConsAddrByConsumerResponse) GetPairValConAddr() []*PairValConAddrProviderAndConsumer
- func (m *QueryAllPairsValConsAddrByConsumerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPairsValConsAddrByConsumerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPairsValConsAddrByConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPairsValConsAddrByConsumerResponse) ProtoMessage()
- func (m *QueryAllPairsValConsAddrByConsumerResponse) Reset()
- func (m *QueryAllPairsValConsAddrByConsumerResponse) Size() (n int)
- func (m *QueryAllPairsValConsAddrByConsumerResponse) String() string
- func (m *QueryAllPairsValConsAddrByConsumerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_DiscardUnknown()
- func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Size() int
- func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Unmarshal(b []byte) error
- type QueryBlocksUntilNextEpochRequest
- func (*QueryBlocksUntilNextEpochRequest) Descriptor() ([]byte, []int)
- func (m *QueryBlocksUntilNextEpochRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBlocksUntilNextEpochRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlocksUntilNextEpochRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlocksUntilNextEpochRequest) ProtoMessage()
- func (m *QueryBlocksUntilNextEpochRequest) Reset()
- func (m *QueryBlocksUntilNextEpochRequest) Size() (n int)
- func (m *QueryBlocksUntilNextEpochRequest) String() string
- func (m *QueryBlocksUntilNextEpochRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBlocksUntilNextEpochRequest) XXX_DiscardUnknown()
- func (m *QueryBlocksUntilNextEpochRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlocksUntilNextEpochRequest) XXX_Merge(src proto.Message)
- func (m *QueryBlocksUntilNextEpochRequest) XXX_Size() int
- func (m *QueryBlocksUntilNextEpochRequest) XXX_Unmarshal(b []byte) error
- type QueryBlocksUntilNextEpochResponse
- func (*QueryBlocksUntilNextEpochResponse) Descriptor() ([]byte, []int)
- func (m *QueryBlocksUntilNextEpochResponse) GetBlocksUntilNextEpoch() uint64
- func (m *QueryBlocksUntilNextEpochResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBlocksUntilNextEpochResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlocksUntilNextEpochResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlocksUntilNextEpochResponse) ProtoMessage()
- func (m *QueryBlocksUntilNextEpochResponse) Reset()
- func (m *QueryBlocksUntilNextEpochResponse) Size() (n int)
- func (m *QueryBlocksUntilNextEpochResponse) String() string
- func (m *QueryBlocksUntilNextEpochResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBlocksUntilNextEpochResponse) XXX_DiscardUnknown()
- func (m *QueryBlocksUntilNextEpochResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlocksUntilNextEpochResponse) XXX_Merge(src proto.Message)
- func (m *QueryBlocksUntilNextEpochResponse) XXX_Size() int
- func (m *QueryBlocksUntilNextEpochResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryConsumerChainOptedInValidatorsRequest
- func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainOptedInValidatorsRequest) GetConsumerId() 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 QueryConsumerChainRequest
- func (*QueryConsumerChainRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainRequest) GetConsumerId() string
- func (m *QueryConsumerChainRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainRequest) ProtoMessage()
- func (m *QueryConsumerChainRequest) Reset()
- func (m *QueryConsumerChainRequest) Size() (n int)
- func (m *QueryConsumerChainRequest) String() string
- func (m *QueryConsumerChainRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainRequest) XXX_Size() int
- func (m *QueryConsumerChainRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainResponse
- func (*QueryConsumerChainResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainResponse) GetChainId() string
- func (m *QueryConsumerChainResponse) GetConsumerId() string
- func (m *QueryConsumerChainResponse) GetInitParams() *ConsumerInitializationParameters
- func (m *QueryConsumerChainResponse) GetMetadata() ConsumerMetadata
- func (m *QueryConsumerChainResponse) GetOwnerAddress() string
- func (m *QueryConsumerChainResponse) GetPhase() string
- func (m *QueryConsumerChainResponse) GetPowerShapingParams() *PowerShapingParameters
- func (m *QueryConsumerChainResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainResponse) ProtoMessage()
- func (m *QueryConsumerChainResponse) Reset()
- func (m *QueryConsumerChainResponse) Size() (n int)
- func (m *QueryConsumerChainResponse) String() string
- func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainResponse) XXX_Size() int
- func (m *QueryConsumerChainResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsRequest
- func (*QueryConsumerChainsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsRequest) GetPagination() *query.PageRequest
- func (m *QueryConsumerChainsRequest) GetPhase() ConsumerPhase
- 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) GetPagination() *query.PageResponse
- func (m *QueryConsumerChainsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsResponse) ProtoMessage()
- func (m *QueryConsumerChainsResponse) Reset()
- func (m *QueryConsumerChainsResponse) Size() (n int)
- func (m *QueryConsumerChainsResponse) String() string
- func (m *QueryConsumerChainsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsResponse) XXX_Size() int
- func (m *QueryConsumerChainsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsValidatorHasToValidateRequest
- func (*QueryConsumerChainsValidatorHasToValidateRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) GetProviderAddress() string
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsValidatorHasToValidateRequest) ProtoMessage()
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Reset()
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Size() (n int)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) String() string
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Size() int
- func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerChainsValidatorHasToValidateResponse
- func (*QueryConsumerChainsValidatorHasToValidateResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) GetConsumerIds() []string
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerChainsValidatorHasToValidateResponse) ProtoMessage()
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Reset()
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Size() (n int)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) String() string
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Size() int
- func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerGenesisRequest
- func (*QueryConsumerGenesisRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerGenesisRequest) GetConsumerId() 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 QueryConsumerIdFromClientIdRequest
- func (*QueryConsumerIdFromClientIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerIdFromClientIdRequest) GetClientId() string
- func (m *QueryConsumerIdFromClientIdRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerIdFromClientIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerIdFromClientIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerIdFromClientIdRequest) ProtoMessage()
- func (m *QueryConsumerIdFromClientIdRequest) Reset()
- func (m *QueryConsumerIdFromClientIdRequest) Size() (n int)
- func (m *QueryConsumerIdFromClientIdRequest) String() string
- func (m *QueryConsumerIdFromClientIdRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerIdFromClientIdRequest) XXX_DiscardUnknown()
- func (m *QueryConsumerIdFromClientIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerIdFromClientIdRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsumerIdFromClientIdRequest) XXX_Size() int
- func (m *QueryConsumerIdFromClientIdRequest) XXX_Unmarshal(b []byte) error
- type QueryConsumerIdFromClientIdResponse
- func (*QueryConsumerIdFromClientIdResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsumerIdFromClientIdResponse) GetConsumerId() string
- func (m *QueryConsumerIdFromClientIdResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsumerIdFromClientIdResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsumerIdFromClientIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsumerIdFromClientIdResponse) ProtoMessage()
- func (m *QueryConsumerIdFromClientIdResponse) Reset()
- func (m *QueryConsumerIdFromClientIdResponse) Size() (n int)
- func (m *QueryConsumerIdFromClientIdResponse) String() string
- func (m *QueryConsumerIdFromClientIdResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsumerIdFromClientIdResponse) XXX_DiscardUnknown()
- func (m *QueryConsumerIdFromClientIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsumerIdFromClientIdResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsumerIdFromClientIdResponse) XXX_Size() int
- func (m *QueryConsumerIdFromClientIdResponse) XXX_Unmarshal(b []byte) error
- type QueryConsumerValidatorsRequest
- func (*QueryConsumerValidatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsumerValidatorsRequest) GetConsumerId() 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) GetConsumerPower() int64
- func (m *QueryConsumerValidatorsValidator) GetDescription() types1.Description
- func (m *QueryConsumerValidatorsValidator) GetJailed() bool
- func (m *QueryConsumerValidatorsValidator) GetPower() int64deprecated
- func (m *QueryConsumerValidatorsValidator) GetProviderAddress() string
- func (m *QueryConsumerValidatorsValidator) GetProviderOperatorAddress() string
- func (m *QueryConsumerValidatorsValidator) GetProviderPower() int64
- func (m *QueryConsumerValidatorsValidator) GetStatus() types1.BondStatus
- func (m *QueryConsumerValidatorsValidator) GetValidatesCurrentEpoch() bool
- 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 QueryRegisteredConsumerRewardDenomsRequest
- func (*QueryRegisteredConsumerRewardDenomsRequest) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredConsumerRewardDenomsRequest) ProtoMessage()
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Reset()
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Size() (n int)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) String() string
- func (m *QueryRegisteredConsumerRewardDenomsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_DiscardUnknown()
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Size() int
- func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Unmarshal(b []byte) error
- type QueryRegisteredConsumerRewardDenomsResponse
- func (*QueryRegisteredConsumerRewardDenomsResponse) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) GetDenoms() []string
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredConsumerRewardDenomsResponse) ProtoMessage()
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Reset()
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Size() (n int)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) String() string
- func (m *QueryRegisteredConsumerRewardDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_DiscardUnknown()
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Size() int
- func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryThrottleStateRequest
- func (*QueryThrottleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryThrottleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryThrottleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryThrottleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryThrottleStateRequest) ProtoMessage()
- func (m *QueryThrottleStateRequest) Reset()
- func (m *QueryThrottleStateRequest) Size() (n int)
- func (m *QueryThrottleStateRequest) String() string
- func (m *QueryThrottleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryThrottleStateRequest) XXX_DiscardUnknown()
- func (m *QueryThrottleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryThrottleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryThrottleStateRequest) XXX_Size() int
- func (m *QueryThrottleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryThrottleStateResponse
- func (*QueryThrottleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryThrottleStateResponse) GetNextReplenishCandidate() time.Time
- func (m *QueryThrottleStateResponse) GetSlashMeter() int64
- func (m *QueryThrottleStateResponse) GetSlashMeterAllowance() int64
- func (m *QueryThrottleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryThrottleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryThrottleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryThrottleStateResponse) ProtoMessage()
- func (m *QueryThrottleStateResponse) Reset()
- func (m *QueryThrottleStateResponse) Size() (n int)
- func (m *QueryThrottleStateResponse) String() string
- func (m *QueryThrottleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryThrottleStateResponse) XXX_DiscardUnknown()
- func (m *QueryThrottleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryThrottleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryThrottleStateResponse) XXX_Size() int
- func (m *QueryThrottleStateResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerAddrRequest
- func (*QueryValidatorConsumerAddrRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerAddrRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerAddrRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerAddrRequest) ProtoMessage()
- func (m *QueryValidatorConsumerAddrRequest) Reset()
- func (m *QueryValidatorConsumerAddrRequest) Size() (n int)
- func (m *QueryValidatorConsumerAddrRequest) String() string
- func (m *QueryValidatorConsumerAddrRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerAddrRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerAddrRequest) XXX_Size() int
- func (m *QueryValidatorConsumerAddrRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerAddrResponse
- func (*QueryValidatorConsumerAddrResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerAddrResponse) GetConsumerAddress() string
- func (m *QueryValidatorConsumerAddrResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerAddrResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerAddrResponse) ProtoMessage()
- func (m *QueryValidatorConsumerAddrResponse) Reset()
- func (m *QueryValidatorConsumerAddrResponse) Size() (n int)
- func (m *QueryValidatorConsumerAddrResponse) String() string
- func (m *QueryValidatorConsumerAddrResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerAddrResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerAddrResponse) XXX_Size() int
- func (m *QueryValidatorConsumerAddrResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerCommissionRateRequest
- func (*QueryValidatorConsumerCommissionRateRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerCommissionRateRequest) GetConsumerId() string
- func (m *QueryValidatorConsumerCommissionRateRequest) GetProviderAddress() string
- func (m *QueryValidatorConsumerCommissionRateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerCommissionRateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerCommissionRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerCommissionRateRequest) ProtoMessage()
- func (m *QueryValidatorConsumerCommissionRateRequest) Reset()
- func (m *QueryValidatorConsumerCommissionRateRequest) Size() (n int)
- func (m *QueryValidatorConsumerCommissionRateRequest) String() string
- func (m *QueryValidatorConsumerCommissionRateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Size() int
- func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorConsumerCommissionRateResponse
- func (*QueryValidatorConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorConsumerCommissionRateResponse) ProtoMessage()
- func (m *QueryValidatorConsumerCommissionRateResponse) Reset()
- func (m *QueryValidatorConsumerCommissionRateResponse) Size() (n int)
- func (m *QueryValidatorConsumerCommissionRateResponse) String() string
- func (m *QueryValidatorConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Size() int
- func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorProviderAddrRequest
- func (*QueryValidatorProviderAddrRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorProviderAddrRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorProviderAddrRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorProviderAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorProviderAddrRequest) ProtoMessage()
- func (m *QueryValidatorProviderAddrRequest) Reset()
- func (m *QueryValidatorProviderAddrRequest) Size() (n int)
- func (m *QueryValidatorProviderAddrRequest) String() string
- func (m *QueryValidatorProviderAddrRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorProviderAddrRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorProviderAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorProviderAddrRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorProviderAddrRequest) XXX_Size() int
- func (m *QueryValidatorProviderAddrRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorProviderAddrResponse
- func (*QueryValidatorProviderAddrResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorProviderAddrResponse) GetProviderAddress() string
- func (m *QueryValidatorProviderAddrResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorProviderAddrResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorProviderAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorProviderAddrResponse) ProtoMessage()
- func (m *QueryValidatorProviderAddrResponse) Reset()
- func (m *QueryValidatorProviderAddrResponse) Size() (n int)
- func (m *QueryValidatorProviderAddrResponse) String() string
- func (m *QueryValidatorProviderAddrResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorProviderAddrResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorProviderAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorProviderAddrResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorProviderAddrResponse) XXX_Size() int
- func (m *QueryValidatorProviderAddrResponse) XXX_Unmarshal(b []byte) error
- type SlashAcks
- func (*SlashAcks) Descriptor() ([]byte, []int)
- func (m *SlashAcks) GetAddresses() []string
- func (m *SlashAcks) Marshal() (dAtA []byte, err error)
- func (m *SlashAcks) MarshalTo(dAtA []byte) (int, error)
- func (m *SlashAcks) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SlashAcks) ProtoMessage()
- func (m *SlashAcks) Reset()
- func (m *SlashAcks) Size() (n int)
- func (m *SlashAcks) String() string
- func (m *SlashAcks) Unmarshal(dAtA []byte) error
- func (m *SlashAcks) XXX_DiscardUnknown()
- func (m *SlashAcks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SlashAcks) XXX_Merge(src proto.Message)
- func (m *SlashAcks) XXX_Size() int
- func (m *SlashAcks) XXX_Unmarshal(b []byte) error
- type Status
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AssignConsumerKey(ctx context.Context, req *MsgAssignConsumerKey) (*MsgAssignConsumerKeyResponse, error)
- func (*UnimplementedMsgServer) ChangeRewardDenoms(ctx context.Context, req *MsgChangeRewardDenoms) (*MsgChangeRewardDenomsResponse, error)
- func (*UnimplementedMsgServer) CreateConsumer(ctx context.Context, req *MsgCreateConsumer) (*MsgCreateConsumerResponse, error)
- func (*UnimplementedMsgServer) OptIn(ctx context.Context, req *MsgOptIn) (*MsgOptInResponse, error)
- func (*UnimplementedMsgServer) OptOut(ctx context.Context, req *MsgOptOut) (*MsgOptOutResponse, error)
- func (*UnimplementedMsgServer) RemoveConsumer(ctx context.Context, req *MsgRemoveConsumer) (*MsgRemoveConsumerResponse, error)
- func (*UnimplementedMsgServer) SetConsumerCommissionRate(ctx context.Context, req *MsgSetConsumerCommissionRate) (*MsgSetConsumerCommissionRateResponse, error)
- func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting(ctx context.Context, req *MsgSubmitConsumerDoubleVoting) (*MsgSubmitConsumerDoubleVotingResponse, error)
- func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour(ctx context.Context, req *MsgSubmitConsumerMisbehaviour) (*MsgSubmitConsumerMisbehaviourResponse, error)
- func (*UnimplementedMsgServer) UpdateConsumer(ctx context.Context, req *MsgUpdateConsumer) (*MsgUpdateConsumerResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryAllPairsValConsAddrByConsumer(ctx context.Context, req *QueryAllPairsValConsAddrByConsumerRequest) (*QueryAllPairsValConsAddrByConsumerResponse, error)
- func (*UnimplementedQueryServer) QueryBlocksUntilNextEpoch(ctx context.Context, req *QueryBlocksUntilNextEpochRequest) (*QueryBlocksUntilNextEpochResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChain(ctx context.Context, req *QueryConsumerChainRequest) (*QueryConsumerChainResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChainOptedInValidators(ctx context.Context, req *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChains(ctx context.Context, req *QueryConsumerChainsRequest) (*QueryConsumerChainsResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerChainsValidatorHasToValidate(ctx context.Context, req *QueryConsumerChainsValidatorHasToValidateRequest) (*QueryConsumerChainsValidatorHasToValidateResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerGenesis(ctx context.Context, req *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerIdFromClientId(ctx context.Context, req *QueryConsumerIdFromClientIdRequest) (*QueryConsumerIdFromClientIdResponse, error)
- func (*UnimplementedQueryServer) QueryConsumerValidators(ctx context.Context, req *QueryConsumerValidatorsRequest) (*QueryConsumerValidatorsResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryRegisteredConsumerRewardDenoms(ctx context.Context, req *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error)
- func (*UnimplementedQueryServer) QueryThrottleState(ctx context.Context, req *QueryThrottleStateRequest) (*QueryThrottleStateResponse, error)
- func (*UnimplementedQueryServer) QueryValidatorConsumerAddr(ctx context.Context, req *QueryValidatorConsumerAddrRequest) (*QueryValidatorConsumerAddrResponse, error)
- func (*UnimplementedQueryServer) QueryValidatorConsumerCommissionRate(ctx context.Context, req *QueryValidatorConsumerCommissionRateRequest) (*QueryValidatorConsumerCommissionRateResponse, error)
- func (*UnimplementedQueryServer) QueryValidatorProviderAddr(ctx context.Context, req *QueryValidatorProviderAddrRequest) (*QueryValidatorProviderAddrResponse, error)
- type ValidatorByConsumerAddr
- func (*ValidatorByConsumerAddr) Descriptor() ([]byte, []int)
- func (m *ValidatorByConsumerAddr) GetChainId() string
- func (m *ValidatorByConsumerAddr) GetConsumerAddr() []byte
- func (m *ValidatorByConsumerAddr) GetProviderAddr() []byte
- func (m *ValidatorByConsumerAddr) Marshal() (dAtA []byte, err error)
- func (m *ValidatorByConsumerAddr) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorByConsumerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorByConsumerAddr) ProtoMessage()
- func (m *ValidatorByConsumerAddr) Reset()
- func (m *ValidatorByConsumerAddr) Size() (n int)
- func (m *ValidatorByConsumerAddr) String() string
- func (m *ValidatorByConsumerAddr) Unmarshal(dAtA []byte) error
- func (m *ValidatorByConsumerAddr) XXX_DiscardUnknown()
- func (m *ValidatorByConsumerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorByConsumerAddr) XXX_Merge(src proto.Message)
- func (m *ValidatorByConsumerAddr) XXX_Size() int
- func (m *ValidatorByConsumerAddr) XXX_Unmarshal(b []byte) error
- type ValidatorConsumerPubKey
- func (*ValidatorConsumerPubKey) Descriptor() ([]byte, []int)
- func (m *ValidatorConsumerPubKey) GetChainId() string
- func (m *ValidatorConsumerPubKey) GetConsumerKey() *crypto.PublicKey
- func (m *ValidatorConsumerPubKey) GetProviderAddr() []byte
- func (m *ValidatorConsumerPubKey) Marshal() (dAtA []byte, err error)
- func (m *ValidatorConsumerPubKey) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorConsumerPubKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorConsumerPubKey) ProtoMessage()
- func (m *ValidatorConsumerPubKey) Reset()
- func (m *ValidatorConsumerPubKey) Size() (n int)
- func (m *ValidatorConsumerPubKey) String() string
- func (m *ValidatorConsumerPubKey) Unmarshal(dAtA []byte) error
- func (m *ValidatorConsumerPubKey) XXX_DiscardUnknown()
- func (m *ValidatorConsumerPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorConsumerPubKey) XXX_Merge(src proto.Message)
- func (m *ValidatorConsumerPubKey) XXX_Size() int
- func (m *ValidatorConsumerPubKey) XXX_Unmarshal(b []byte) error
- type ValidatorSetChangePackets
- func (*ValidatorSetChangePackets) Descriptor() ([]byte, []int)
- func (m *ValidatorSetChangePackets) GetList() []types3.ValidatorSetChangePacketData
- func (m *ValidatorSetChangePackets) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSetChangePackets) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSetChangePackets) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSetChangePackets) ProtoMessage()
- func (m *ValidatorSetChangePackets) Reset()
- func (m *ValidatorSetChangePackets) Size() (n int)
- func (m *ValidatorSetChangePackets) String() string
- func (m *ValidatorSetChangePackets) Unmarshal(dAtA []byte) error
- func (m *ValidatorSetChangePackets) XXX_DiscardUnknown()
- func (m *ValidatorSetChangePackets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSetChangePackets) XXX_Merge(src proto.Message)
- func (m *ValidatorSetChangePackets) XXX_Size() int
- func (m *ValidatorSetChangePackets) XXX_Unmarshal(b []byte) error
- type ValsetUpdateIdToHeight
- func (*ValsetUpdateIdToHeight) Descriptor() ([]byte, []int)
- func (m *ValsetUpdateIdToHeight) GetHeight() uint64
- func (m *ValsetUpdateIdToHeight) GetValsetUpdateId() uint64
- func (m *ValsetUpdateIdToHeight) Marshal() (dAtA []byte, err error)
- func (m *ValsetUpdateIdToHeight) MarshalTo(dAtA []byte) (int, error)
- func (m *ValsetUpdateIdToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValsetUpdateIdToHeight) ProtoMessage()
- func (m *ValsetUpdateIdToHeight) Reset()
- func (m *ValsetUpdateIdToHeight) Size() (n int)
- func (m *ValsetUpdateIdToHeight) String() string
- func (m *ValsetUpdateIdToHeight) Unmarshal(dAtA []byte) error
- func (m *ValsetUpdateIdToHeight) XXX_DiscardUnknown()
- func (m *ValsetUpdateIdToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValsetUpdateIdToHeight) XXX_Merge(src proto.Message)
- func (m *ValsetUpdateIdToHeight) XXX_Size() int
- func (m *ValsetUpdateIdToHeight) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeConsumerClientCreated = "consumer_client_created" EventTypeAssignConsumerKey = "assign_consumer_key" EventTypeChangeConsumerRewardDenom = "change_consumer_reward_denom" EventTypeExecuteConsumerChainSlash = "execute_consumer_chain_slash" EventTypeSetConsumerCommissionRate = "set_consumer_commission_rate" EventTypeOptIn = "opt_in" EventTypeOptOut = "opt_out" EventTypeCreateConsumer = "create_consumer" EventTypeUpdateConsumer = "update_consumer" EventTypeRemoveConsumer = "remove_consumer" EventTypeReceivedRewards = "received_ics_rewards" EventTypeDistributedRewards = "distributed_ics_rewards" AttributeInfractionHeight = "infraction_height" AttributeInitialHeight = "initial_height" AttributeTrustingPeriod = "trusting_period" AttributeUnbondingPeriod = "unbonding_period" AttributeValsetHash = "valset_hash" AttributeProviderValidatorAddress = "provider_validator_address" AttributeConsumerConsensusPubKey = "consumer_consensus_pub_key" AttributeAddConsumerRewardDenom = "add_consumer_reward_denom" AttributeRemoveConsumerRewardDenom = "remove_consumer_reward_denom" AttributeSubmitterAddress = "submitter_address" AttributeConsumerCommissionRate = "consumer_commission_rate" AttributeConsumerId = "consumer_id" AttributeConsumerChainId = "consumer_chain_id" AttributeConsumerName = "consumer_name" AttributeConsumerOwner = "consumer_owner" AttributeConsumerSpawnTime = "consumer_spawn_time" AttributeConsumerPhase = "consumer_phase" AttributeConsumerTopN = "consumer_topn" AttributeRewardDenom = "reward_denom" AttributeRewardAmount = "reward_amount" AttributeRewardDistribution = "reward_distribution" AttributeRewardTotal = "total_rewards" AttributeRewardDistributed = "distributed_rewards" AttributeRewardCommunityPool = "community_pool_rewards" )
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" // MaxAllowlistedRewardDenomsPerChain corresponds to the maximum number of reward denoms // a consumer chain can allowlist MaxAllowlistedRewardDenomsPerChain = 3 ParametersKeyName = "ParametersKey" PortKeyName = "PortKey" DeprecatedMaturedUnbondingOpsKeyName = "DeprecatedMaturedUnbondingOpsKey" ValidatorSetUpdateIdKeyName = "ValidatorSetUpdateIdKey" SlashMeterKeyName = "SlashMeterKey" SlashMeterReplenishTimeCandidateKeyName = "SlashMeterReplenishTimeCandidateKey" ConsumerIdToChannelIdKeyName = "ConsumerIdToChannelIdKey" ChannelIdToConsumerIdKeyName = "ChannelToConsumerIdKey" ConsumerIdToClientIdKeyName = "ConsumerIdToClientIdKey" DeprecatedInitTimeoutTimestampKeyName = "DeprecatedInitTimeoutTimestampKey" DeprecatedPendingCAPKeyName = "DeprecatedPendingCAPKey" DeprecatedPendingCRPKeyName = "DeprecatedPendingCRPKey" DeprecatedUnbondingOpKeyName = "DeprecatedUnbondingOpKey" DeprecatedUnbondingOpIndexKeyName = "DeprecatedUnbondingOpIndexKey" ValsetUpdateBlockHeightKeyName = "ValsetUpdateBlockHeightKey" ConsumerGenesisKeyName = "ConsumerGenesisKey" SlashAcksKeyName = "SlashAcksKey" InitChainHeightKeyName = "InitChainHeightKey" PendingVSCsKeyName = "PendingVSCsKey" DeprecatedVscSendTimestampKeyName = "DeprecatedVscSendTimestampKey" DeprecatedThrottledPacketDataSizeKeyName = "DeprecatedThrottledPacketDataSizeKey" DeprecatedThrottledPacketDataKeyName = "DeprecatedThrottledPacketDataKey" DeprecatedGlobalSlashEntryKeyName = "DeprecatedGlobalSlashEntryKey" ConsumerValidatorsKeyName = "ConsumerValidatorsKey" ValidatorsByConsumerAddrKeyName = "ValidatorsByConsumerAddrKey" DeprecatedKeyAssignmentReplacementsKeyName = "DeprecatedKeyAssignmentReplacementsKey" DeprecatedConsumerAddrsToPruneKeyName = "DeprecatedConsumerAddrsToPruneKey" SlashLogKeyName = "SlashLogKey" ConsumerRewardDenomsKeyName = "ConsumerRewardDenomsKey" DeprecatedVSCMaturedHandledThisBlockKeyName = "DeprecatedVSCMaturedHandledThisBlockKey" EquivocationEvidenceMinHeightKeyName = "EquivocationEvidenceMinHeightKey" DeprecatedProposedConsumerChainKeyName = "DeprecatedProposedConsumerChainKey" ConsumerValidatorKeyName = "ConsumerValidatorKey" OptedInKeyName = "OptedInKey" DeprecatedTopNKeyName = "DeprecatedTopNKey" DeprecatedValidatorsPowerCapKeyName = "DeprecatedValidatorsPowerCapKey" DeprecatedValidatorSetCapKeyName = "DeprecatedValidatorSetCapKey" AllowlistKeyName = "AllowlistKey" DenylistKeyName = "DenylistKey" DeprecatedConsumerRewardsAllocationKeyName = "DeprecatedConsumerRewardsAllocationKey" ConsumerCommissionRateKeyName = "ConsumerCommissionRateKey" MinimumPowerInTopNKeyName = "MinimumPowerInTopNKey" LastProviderConsensusValsKeyName = "LastProviderConsensusValsKey" ConsumerAddrsToPruneV2KeyName = "ConsumerAddrsToPruneV2Key" ConsumerIdKeyName = "ConsumerIdKey" ConsumerIdToChainIdKeyName = "ConsumerIdToChainIdKey" ConsumerIdToOwnerAddressKeyName = "ConsumerIdToOwnerAddress" ConsumerIdToConsumerMetadataKeyName = "ConsumerIdToMetadataKey" ConsumerIdToInitializationParametersKeyName = "ConsumerIdToInitializationParametersKey" ConsumerIdToPowerShapingParameters = "ConsumerIdToPowerShapingParametersKey" ConsumerIdToPhaseKeyName = "ConsumerIdToPhaseKey" ConsumerIdToRemovalTimeKeyName = "ConsumerIdToRemovalTimeKey" SpawnTimeToConsumerIdsKeyName = "SpawnTimeToConsumerIdsKeyName" RemovalTimeToConsumerIdsKeyName = "RemovalTimeToConsumerIdsKeyName" ClientIdToConsumerIdKeyName = "ClientIdToConsumerIdKey" ConsumerIdToAllowlistedRewardDenomKeyName = "ConsumerIdToAllowlistedRewardDenomKey" ConsumerRewardsAllocationByDenomKeyName = "ConsumerRewardsAllocationByDenomKey" )
const ( ProposalTypeConsumerAddition = "ConsumerAddition" ProposalTypeConsumerRemoval = "ConsumerRemoval" ProposalTypeConsumerModification = "ConsumerModification" ProposalTypeEquivocation = "Equivocation" ProposalTypeChangeRewardDenoms = "ChangeRewardDenoms" )
const ( // MaxNameLength defines the maximum consumer name length MaxNameLength = 50 // MaxDescriptionLength defines the maximum consumer description length MaxDescriptionLength = 10000 // MaxMetadataLength defines the maximum consumer metadata length MaxMetadataLength = 255 // MaxHashLength defines the maximum length of a hash MaxHashLength = 64 // MaxValidatorCount defines the maximum number of validators MaxValidatorCount = 1000 )
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) // DefaultMaxProviderConsensusValidators is the default maximum number of validators that will // be passed on from the staking module to the consensus engine on the provider. DefaultMaxProviderConsensusValidators = 180 )
Variables ¶
var ( ErrUnknownConsumerId = errorsmod.Register(ModuleName, 3, "no consumer chain with this consumer id") ErrUnknownConsumerChannelId = errorsmod.Register(ModuleName, 4, "no consumer chain with this channel id") 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") ErrInvalidConsumerRewardDenom = errorsmod.Register(ModuleName, 14, "invalid consumer reward denom") ErrInvalidConsumerClient = errorsmod.Register(ModuleName, 16, "ccv channel is not built on correct client") ErrCannotOptOutFromTopN = errorsmod.Register(ModuleName, 20, "cannot opt out from a Top N chain") ErrNoUnbondingTime = errorsmod.Register(ModuleName, 23, "provider unbonding time not found") ErrInvalidPhase = errorsmod.Register(ModuleName, 27, "cannot perform action in the current phase of consumer chain") ErrInvalidConsumerMetadata = errorsmod.Register(ModuleName, 28, "invalid consumer metadata") ErrInvalidPowerShapingParameters = errorsmod.Register(ModuleName, 29, "invalid power shaping parameters") ErrInvalidConsumerInitializationParameters = errorsmod.Register(ModuleName, 30, "invalid consumer initialization parameters") ErrCannotUpdateMinimumPowerInTopN = errorsmod.Register(ModuleName, 31, "cannot update minimum power in Top N") ErrNoConsumerGenesis = errorsmod.Register(ModuleName, 33, "missing consumer genesis") ErrInvalidConsumerGenesis = errorsmod.Register(ModuleName, 34, "invalid consumer genesis") ErrNoConsumerId = errorsmod.Register(ModuleName, 35, "missing consumer id") ErrAlreadyOptedIn = errorsmod.Register(ModuleName, 36, "already opted in to a chain with the same chain id") ErrNoOwnerAddress = errorsmod.Register(ModuleName, 37, "missing owner address") ErrInvalidNewOwnerAddress = errorsmod.Register(ModuleName, 38, "invalid new owner address") ErrInvalidTransformToTopN = errorsmod.Register(ModuleName, 39, "invalid transform to Top N chain") ErrInvalidTransformToOptIn = errorsmod.Register(ModuleName, 40, "invalid transform to Opt In chain") ErrCannotCreateTopNChain = errorsmod.Register(ModuleName, 41, "cannot create Top N chain outside permissionlessly") ErrInvalidRemovalTime = errorsmod.Register(ModuleName, 43, "invalid removal time") ErrInvalidMsgCreateConsumer = errorsmod.Register(ModuleName, 44, "invalid create consumer message") ErrInvalidMsgUpdateConsumer = errorsmod.Register(ModuleName, 45, "invalid update consumer message") ErrInvalidMsgAssignConsumerKey = errorsmod.Register(ModuleName, 46, "invalid assign consumer key message") ErrInvalidMsgSubmitConsumerMisbehaviour = errorsmod.Register(ModuleName, 47, "invalid submit consumer misbehaviour message") ErrInvalidMsgSubmitConsumerDoubleVoting = errorsmod.Register(ModuleName, 48, "invalid submit consumer double voting message") ErrInvalidMsgOptIn = errorsmod.Register(ModuleName, 49, "invalid opt in message") ErrInvalidMsgOptOut = errorsmod.Register(ModuleName, 50, "invalid opt out message") ErrInvalidMsgSetConsumerCommissionRate = errorsmod.Register(ModuleName, 51, "invalid set consumer commission rate message") ErrInvalidMsgChangeRewardDenoms = errorsmod.Register(ModuleName, 52, "invalid change reward denoms message") ErrInvalidAllowlistedRewardDenoms = errorsmod.Register(ModuleName, 53, "invalid allowlisted reward denoms") )
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") KeyMaxProviderConsensusValidators = []byte("MaxProviderConsensusValidators") )
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") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ConsumerPhase_name = map[int32]string{
0: "CONSUMER_PHASE_UNSPECIFIED",
1: "CONSUMER_PHASE_REGISTERED",
2: "CONSUMER_PHASE_INITIALIZED",
3: "CONSUMER_PHASE_LAUNCHED",
4: "CONSUMER_PHASE_STOPPED",
5: "CONSUMER_PHASE_DELETED",
}
var ConsumerPhase_value = map[string]int32{
"CONSUMER_PHASE_UNSPECIFIED": 0,
"CONSUMER_PHASE_REGISTERED": 1,
"CONSUMER_PHASE_INITIALIZED": 2,
"CONSUMER_PHASE_LAUNCHED": 3,
"CONSUMER_PHASE_STOPPED": 4,
"CONSUMER_PHASE_DELETED": 5,
}
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()) )
Functions ¶
func AllowlistKey ¶
func AllowlistKey(consumerId string, providerAddr ProviderConsAddress) []byte
AllowlistKey returns the key for storing consumer chains allowlists
func AllowlistKeyPrefix ¶
func AllowlistKeyPrefix() byte
AllowlistKeyPrefix returns the key prefix for storing consumer chains allowlists
func ChannelIdToConsumerIdKeyPrefix ¶
func ChannelIdToConsumerIdKeyPrefix() []byte
ChannelIdToConsumerIdKeyPrefix returns the key prefix for storing the consumer chain ids.
func ChannelToConsumerIdKey ¶
ChannelToConsumerIdKey returns the key under which the consumer chain id will be stored for the given channelId.
func ClientIdToConsumerIdKey ¶
ClientIdToConsumerIdKey returns the consumer id that corresponds to this client id
func ConsumerAddrsToPruneV2Key ¶
ConsumerAddrsToPruneV2Key returns the key for storing the consumer validators addresses that need to be pruned.
func ConsumerAddrsToPruneV2KeyPrefix ¶
func ConsumerAddrsToPruneV2KeyPrefix() byte
ConsumerAddrsToPruneV2KeyPrefix returns the key prefix for storing the consumer validators addresses that need to be pruned. These are stored as a (chainID, ts) -> (consumer_address1, consumer_address2, ...) mapping, where ts is the timestamp at which the consumer validators addresses can be pruned.
func ConsumerCommissionRateKey ¶
func ConsumerCommissionRateKey(consumerId string, providerAddr ProviderConsAddress) []byte
ConsumerCommissionRateKey returns the key used to store the commission rate per validator per consumer chain.
func ConsumerCommissionRateKeyPrefix ¶
func ConsumerCommissionRateKeyPrefix() byte
ConsumerCommissionRateKeyPrefix returns the key prefix for storing the commission rate per validator per consumer chain.
func ConsumerGenesisKey ¶
ConsumerGenesisKey returns the key corresponding to consumer genesis state material (consensus state and client state) indexed by consumer id
func ConsumerIdKey ¶
func ConsumerIdKey() []byte
ConsumerIdKey returns the key used to store the consumerId of the next registered chain
func ConsumerIdToAllowlistedRewardDenomKey ¶ added in v6.2.0
ConsumerIdToAllowlistedRewardDenomKey returns the key used to store the allowlisted reward denom that corresponds to this consumer id
func ConsumerIdToAllowlistedRewardDenomKeyPrefix ¶ added in v6.2.0
func ConsumerIdToAllowlistedRewardDenomKeyPrefix() byte
ConsumerIdToAllowlistedRewardDenomKeyPrefix returns the key prefix for storing the allowlisted reward denom that corresponds to this consumer id
func ConsumerIdToChainIdKey ¶
ConsumerIdToChainIdKey returns the key used to store the chain id of this consumer id
func ConsumerIdToChannelIdKey ¶
ConsumerIdToChannelIdKey returns the key under which the CCV channel ID will be stored for the given consumer chain.
func ConsumerIdToClientIdKey ¶
ConsumerIdToClientIdKey returns the key under which the clientId for the given consumerId is stored.
func ConsumerIdToClientIdKeyPrefix ¶
func ConsumerIdToClientIdKeyPrefix() []byte
ConsumerIdToClientIdKeyPrefix returns the key prefix for storing the clientId for the given consumerId.
func ConsumerIdToInitializationParametersKey ¶
ConsumerIdToInitializationParametersKey returns the key used to store the initialization parameters that corresponds to this consumer id
func ConsumerIdToInitializationParametersKeyPrefix ¶
func ConsumerIdToInitializationParametersKeyPrefix() byte
ConsumerIdToInitializationParametersKeyPrefix returns the key prefix for storing consumer initialization parameters
func ConsumerIdToMetadataKey ¶
ConsumerIdToMetadataKey returns the key used to store the metadata that corresponds to this consumer id
func ConsumerIdToMetadataKeyPrefix ¶
func ConsumerIdToMetadataKeyPrefix() byte
ConsumerIdToMetadataKeyPrefix returns the key prefix for storing consumer metadata
func ConsumerIdToOwnerAddressKey ¶
ConsumerIdToOwnerAddressKey returns the owner address of this consumer id
func ConsumerIdToPhaseKey ¶
ConsumerIdToPhaseKey returns the key used to store the phase that corresponds to this consumer id
func ConsumerIdToPhaseKeyPrefix ¶
func ConsumerIdToPhaseKeyPrefix() byte
ConsumerIdToPhaseKeyPrefix returns the key prefix used to iterate over all the consumer ids and their phases.
func ConsumerIdToPowerShapingParametersKey ¶
ConsumerIdToPowerShapingParametersKey returns the key used to store the power-shaping parameters that corresponds to this consumer id
func ConsumerIdToRemovalTimeKey ¶
ConsumerIdToRemovalTimeKey returns the key used to store the removal time that corresponds to a to-be-removed chain with consumer id
func ConsumerIdToRemovalTimeKeyPrefix ¶
func ConsumerIdToRemovalTimeKeyPrefix() byte
ConsumerIdToRemovalTimeKeyPrefix returns the key prefix for storing the removal times of consumer chains that are about to be removed
func ConsumerRewardDenomsKey ¶
ConsumerRewardDenomsKey returns the key for storing consumer reward denoms
func ConsumerRewardDenomsKeyPrefix ¶
func ConsumerRewardDenomsKeyPrefix() []byte
ConsumerRewardDenomsKeyPrefix returns the key prefix for storing consumer reward denoms
func ConsumerRewardsAllocationByDenomKey ¶ added in v6.2.0
ConsumerRewardsAllocationByDenomKey returns the key used to store the ICS rewards per consumer chain
func ConsumerRewardsAllocationByDenomKeyPrefix ¶ added in v6.2.0
func ConsumerRewardsAllocationByDenomKeyPrefix() byte
ConsumerRewardsAllocationByDenomKeyPrefix returns the key prefix for storing the allowlisted reward denom that corresponds to this consumer id
func ConsumerValidatorKey ¶
ConsumerValidatorKey returns the key for storing consumer validators for the given consumer chain `consumerId` and validator with `providerAddr`
func ConsumerValidatorKeyPrefix ¶
func ConsumerValidatorKeyPrefix() byte
ConsumerValidatorKeyPrefix returns the key prefix for storing consumer validators
func ConsumerValidatorsKey ¶
func ConsumerValidatorsKey(consumerId string, addr ProviderConsAddress) []byte
ConsumerValidatorsKey returns the key under which the validator assigned keys for every consumer chain are stored
func ConsumerValidatorsKeyPrefix ¶
func ConsumerValidatorsKeyPrefix() byte
ConsumerValidatorsKey returns the key for storing the validator assigned keys for every consumer chain
func DenylistKey ¶
func DenylistKey(consumerId string, providerAddr ProviderConsAddress) []byte
DenylistKey returns the key for storing consumer chains denylists
func DenylistKeyPrefix ¶
func DenylistKeyPrefix() byte
DenylistKeyPrefix returns the key prefix for storing consumer chains denylists
func EquivocationEvidenceMinHeightKey ¶
EquivocationEvidenceMinHeightKey returns the key storing the minimum height of a valid consumer equivocation evidence for a given consumer id
func GetAllKeyNames ¶
func GetAllKeyNames() []string
GetAllKeys returns the names of all the keys. Only used for testing
func GetAllKeyPrefixes ¶
func GetAllKeyPrefixes() []byte
GetAllKeyPrefixes returns all the key prefixes. Only used for testing
func InitChainHeightKey ¶
InitChainHeightKey returns the key under which the block height for a given consumer id is stored
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 LastProviderConsensusValsPrefix ¶
func LastProviderConsensusValsPrefix() []byte
LastProviderConsensusValsPrefix returns the key prefix for storing the last validator set sent to the consensus engine of the provider chain
func MinimumPowerInTopNKey ¶
func NewChangeRewardDenomsProposal ¶
func NewChangeRewardDenomsProposal(title, description string, denomsToAdd, denomsToRemove []string, ) govv1beta1.Content
func NewConsumerAdditionProposal ¶
func NewConsumerAdditionProposal(title, description, chainID string, initialHeight clienttypes.Height, genesisHash, binaryHash []byte, spawnTime time.Time, consumerRedistributionFraction string, blocksPerDistributionTransmission int64, distributionTransmissionChannel string, historicalEntries int64, ccvTimeoutPeriod time.Duration, transferTimeoutPeriod time.Duration, unbondingPeriod time.Duration, topN uint32, validatorsPowerCap uint32, validatorSetCap uint32, allowlist []string, denylist []string, minStake uint64, allowInactiveVals bool, ) govv1beta1.Content
NewConsumerAdditionProposal creates a new consumer addition proposal.
func NewConsumerModificationProposal ¶
func NewConsumerModificationProposal(title, description, chainID string, topN uint32, validatorsPowerCap uint32, validatorSetCap uint32, allowlist []string, denylist []string, minStake uint64, allowInactiveVals bool, ) 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(consumerId string, providerAddr ProviderConsAddress) []byte
OptedInKey returns the key used to store whether a validator is opted in on a consumer chain.
func OptedInKeyPrefix ¶
func OptedInKeyPrefix() byte
OptedInKeyPrefix returns the key prefix for storing 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 ParseConsumerKeyFromJson ¶
ParseConsumerKeyFromJson parses the consumer key from a JSON string, this replaces deserializing a protobuf any.
func ParseStringIdAndConsAddrKey ¶
ParseStringIdAndConsAddrKey returns the string ID and ConsAddress for a StringIdAndConsAddr key
func ParseStringIdAndTsKey ¶
ParseStringIdAndTsKey returns the string id and time for a StringIdAndTs key
func ParseStringIdAndUintIdKey ¶
ParseStringIdAndUintIdKey returns the string ID and uint ID for a StringIdAndUintId key
func ParseStringIdWithLenKey ¶
ParseStringIdWithLenKey returns the stringId of a StringIdWithLen key
func PendingVSCsKey ¶
PendingVSCsKey returns the key under which pending ValidatorSetChangePacket data is stored for a given consumer id
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 RemovalTimeToConsumerIdsKey ¶
RemovalTimeToConsumerIdsKey returns the key prefix for storing the removal times of consumer chains that are about to be removed
func RemovalTimeToConsumerIdsKeyPrefix ¶
func RemovalTimeToConsumerIdsKeyPrefix() byte
RemovalTimeToConsumerIdsKeyPrefix returns the key prefix for storing pending chains that are to be removed
func SlashAcksKey ¶
SlashAcksKey returns the key under which slashing acks are stored for a given consumer 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 SpawnTimeToConsumerIdsKey ¶
SpawnTimeToConsumerIdsKey returns the key prefix for storing the spawn times of consumer chains that are about to be launched
func SpawnTimeToConsumerIdsKeyPrefix ¶
func SpawnTimeToConsumerIdsKeyPrefix() byte
SpawnTimeToConsumerIdsKeyPrefix returns the key prefix for storing pending chains that are to be launched
func StringIdAndConsAddrKey ¶
func StringIdAndConsAddrKey(prefix byte, stringId string, addr sdk.ConsAddress) []byte
StringIdAndConsAddrKey returns the key with the following format: bytePrefix | len(stringId) | stringId | ConsAddress
func StringIdAndTsKey ¶
StringIdAndTsKey returns the key with the following format: bytePrefix | len(stringId) | stringId | timestamp
func StringIdAndUintIdKey ¶
StringIdAndUintIdKey returns the key with the following format: bytePrefix | len(stringId) | stringId | uint64(ID)
func StringIdWithLenKey ¶
StringIdWithLenKey returns the key with the following format: bytePrefix | len(stringId) | stringId
func TruncateString ¶
TruncateString truncates a string to maximum length characters
func ValidateAllowlistedRewardDenoms ¶ added in v6.2.0
func ValidateAllowlistedRewardDenoms(allowlistedRewardDenoms AllowlistedRewardDenoms) error
ValidateAllowlistedRewardDenoms validates the provided allowlisted reward denoms
func ValidateByteSlice ¶
func ValidateCoin ¶
func ValidateCoin(i interface{}) error
func ValidateConsAddressList ¶
ValidateConsAddressList validates a list of consensus addresses
func ValidateConsumerMetadata ¶
func ValidateConsumerMetadata(metadata ConsumerMetadata) error
ValidateConsumerMetadata validates that all the provided metadata are in the expected range
func ValidateHeaderForConsumerDoubleVoting ¶
func ValidateHeaderForConsumerDoubleVoting(header *ibctmtypes.Header) error
ValidateHeaderForConsumerDoubleVoting validates Tendermint light client header for consumer double voting evidence.
TODO create unit test
func ValidateInitialHeight ¶ added in v6.3.0
func ValidateInitialHeight(initialHeight clienttypes.Height, chainID string) error
func ValidateInitializationParameters ¶
func ValidateInitializationParameters(initializationParameters ConsumerInitializationParameters) error
ValidateInitializationParameters validates that all the provided parameters are in the expected range
func ValidatePowerShapingParameters ¶
func ValidatePowerShapingParameters(powerShapingParameters PowerShapingParameters) error
ValidatePowerShapingParameters validates that all the provided power-shaping parameters are in the expected range
func ValidateStringField ¶
ValidateStringField validates that a string `field` satisfies the following properties:
- is not empty
- has at most `maxLength` characters
func ValidateTemplateClient ¶
func ValidateTemplateClient(i interface{}) error
func ValidatorSetUpdateIdKey ¶
func ValidatorSetUpdateIdKey() []byte
ValidatorSetUpdateIdKey is the key that stores the current validator set update id
func ValidatorsByConsumerAddrKey ¶
func ValidatorsByConsumerAddrKey(consumerId string, addr ConsumerConsAddress) []byte
ValidatorsByConsumerAddrKey returns the key for storing the mapping from validator addresses on consumer chains to validator addresses on the provider chain
func ValidatorsByConsumerAddrKeyPrefix ¶
func ValidatorsByConsumerAddrKeyPrefix() byte
ValidatorsByConsumerAddrKeyPrefix returns the key prefix for storing the mapping from validator addresses on consumer chains to validator addresses on the provider chain
func ValsetUpdateBlockHeightKey ¶
ValsetUpdateBlockHeightKey returns the key that storing the mapping from valset update ID to block height
func ValsetUpdateBlockHeightKeyPrefix ¶
func ValsetUpdateBlockHeightKeyPrefix() []byte
ValsetUpdateBlockHeightKeyPrefix returns the key prefix 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 AllowlistedRewardDenoms ¶ added in v6.2.0
type AllowlistedRewardDenoms struct {
Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
}
AllowlistedRewardDenoms corresponds to the denoms allowlisted by a specific consumer id
func (*AllowlistedRewardDenoms) Descriptor ¶ added in v6.2.0
func (*AllowlistedRewardDenoms) Descriptor() ([]byte, []int)
func (*AllowlistedRewardDenoms) GetDenoms ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) GetDenoms() []string
func (*AllowlistedRewardDenoms) Marshal ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) Marshal() (dAtA []byte, err error)
func (*AllowlistedRewardDenoms) MarshalTo ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) MarshalTo(dAtA []byte) (int, error)
func (*AllowlistedRewardDenoms) MarshalToSizedBuffer ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllowlistedRewardDenoms) ProtoMessage ¶ added in v6.2.0
func (*AllowlistedRewardDenoms) ProtoMessage()
func (*AllowlistedRewardDenoms) Reset ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) Reset()
func (*AllowlistedRewardDenoms) Size ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) Size() (n int)
func (*AllowlistedRewardDenoms) String ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) String() string
func (*AllowlistedRewardDenoms) Unmarshal ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) Unmarshal(dAtA []byte) error
func (*AllowlistedRewardDenoms) XXX_DiscardUnknown ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) XXX_DiscardUnknown()
func (*AllowlistedRewardDenoms) XXX_Marshal ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllowlistedRewardDenoms) XXX_Merge ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) XXX_Merge(src proto.Message)
func (*AllowlistedRewardDenoms) XXX_Size ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) XXX_Size() int
func (*AllowlistedRewardDenoms) XXX_Unmarshal ¶ added in v6.2.0
func (m *AllowlistedRewardDenoms) 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"` Top_N uint32 `protobuf:"varint,3,opt,name=top_N,json=topN,proto3" json:"top_N,omitempty"` // If the chain is a Top-N chain, this is the minimum power required to be in the top N. // Otherwise, this is -1. MinPowerInTop_N int64 `protobuf:"varint,4,opt,name=min_power_in_top_N,json=minPowerInTopN,proto3" json:"min_power_in_top_N,omitempty"` // Corresponds to the maximum power (percentage-wise) a validator can have on the consumer chain. ValidatorsPowerCap uint32 `protobuf:"varint,5,opt,name=validators_power_cap,json=validatorsPowerCap,proto3" json:"validators_power_cap,omitempty"` // Corresponds to the maximum number of validators that can validate a consumer chain. // Only applicable to Opt In chains. Setting `validator_set_cap` on a Top N chain is a no-op. ValidatorSetCap uint32 `protobuf:"varint,6,opt,name=validator_set_cap,json=validatorSetCap,proto3" json:"validator_set_cap,omitempty"` // Corresponds to a list of provider consensus addresses of validators that are the ONLY ones that can validate // the consumer chain. Allowlist []string `protobuf:"bytes,7,rep,name=allowlist,proto3" json:"allowlist,omitempty"` // Corresponds to a list of provider consensus addresses of validators that CANNOT validate the consumer chain. Denylist []string `protobuf:"bytes,8,rep,name=denylist,proto3" json:"denylist,omitempty"` // The phase the consumer chain Phase string `protobuf:"bytes,9,opt,name=phase,proto3" json:"phase,omitempty"` // The metadata of the consumer chain Metadata ConsumerMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata"` // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. MinStake uint64 `protobuf:"varint,11,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // Corresponds to whether inactive validators are allowed to validate the consumer chain. AllowInactiveVals bool `protobuf:"varint,12,opt,name=allow_inactive_vals,json=allowInactiveVals,proto3" json:"allow_inactive_vals,omitempty"` ConsumerId string `protobuf:"bytes,13,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` // the reward denoms allowlisted by this consumer chain AllowlistedRewardDenoms *AllowlistedRewardDenoms `` /* 133-byte string literal not displayed */ }
func (*Chain) Descriptor ¶
func (*Chain) GetAllowInactiveVals ¶
func (*Chain) GetAllowlist ¶
func (*Chain) GetAllowlistedRewardDenoms ¶ added in v6.2.0
func (m *Chain) GetAllowlistedRewardDenoms() *AllowlistedRewardDenoms
func (*Chain) GetChainId ¶
func (*Chain) GetClientId ¶
func (*Chain) GetConsumerId ¶
func (*Chain) GetDenylist ¶
func (*Chain) GetMetadata ¶
func (m *Chain) GetMetadata() ConsumerMetadata
func (*Chain) GetMinPowerInTop_N ¶
func (*Chain) GetMinStake ¶
func (*Chain) GetValidatorSetCap ¶
func (*Chain) GetValidatorsPowerCap ¶
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
deprecated
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"` }
WARNING: This message is deprecated and is not used. ChannelToChain is used to map a CCV channel ID to the consumer chainID
Deprecated: Do not use.
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 ConsensusValidator ¶
type ConsensusValidator 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 PublicKey *crypto.PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"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"` }
ConsensusValidator is used to express a validator that should be validating on a chain. It contains relevant info for a validator that is expected to validate on either the provider or a consumer chain.
func (*ConsensusValidator) Descriptor ¶
func (*ConsensusValidator) Descriptor() ([]byte, []int)
func (*ConsensusValidator) GetJoinHeight ¶
func (m *ConsensusValidator) GetJoinHeight() int64
func (*ConsensusValidator) GetPower ¶
func (m *ConsensusValidator) GetPower() int64
func (*ConsensusValidator) GetProviderConsAddr ¶
func (m *ConsensusValidator) GetProviderConsAddr() []byte
func (*ConsensusValidator) GetPublicKey ¶
func (m *ConsensusValidator) GetPublicKey() *crypto.PublicKey
func (*ConsensusValidator) Marshal ¶
func (m *ConsensusValidator) Marshal() (dAtA []byte, err error)
func (*ConsensusValidator) MarshalTo ¶
func (m *ConsensusValidator) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusValidator) MarshalToSizedBuffer ¶
func (m *ConsensusValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusValidator) ProtoMessage ¶
func (*ConsensusValidator) ProtoMessage()
func (*ConsensusValidator) Reset ¶
func (m *ConsensusValidator) Reset()
func (*ConsensusValidator) Size ¶
func (m *ConsensusValidator) Size() (n int)
func (*ConsensusValidator) String ¶
func (m *ConsensusValidator) String() string
func (*ConsensusValidator) Unmarshal ¶
func (m *ConsensusValidator) Unmarshal(dAtA []byte) error
func (*ConsensusValidator) XXX_DiscardUnknown ¶
func (m *ConsensusValidator) XXX_DiscardUnknown()
func (*ConsensusValidator) XXX_Marshal ¶
func (m *ConsensusValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusValidator) XXX_Merge ¶
func (m *ConsensusValidator) XXX_Merge(src proto.Message)
func (*ConsensusValidator) XXX_Size ¶
func (m *ConsensusValidator) XXX_Size() int
func (*ConsensusValidator) XXX_Unmarshal ¶
func (m *ConsensusValidator) XXX_Unmarshal(b []byte) error
type ConsumerAdditionProposal
deprecated
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"` // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. MinStake uint64 `protobuf:"varint,20,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // Corresponds to whether inactive validators are allowed to validate the consumer chain. AllowInactiveVals bool `protobuf:"varint,21,opt,name=allow_inactive_vals,json=allowInactiveVals,proto3" json:"allow_inactive_vals,omitempty"` }
WARNING: This message is deprecated in favor of `MsgCreateConsumer`. 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.
Deprecated: Do not use.
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 ConsumerIds ¶
type ConsumerIds struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
}
ConsumerIds contains consumer ids of chains Used so we can easily (de)serialize slices of strings
func (*ConsumerIds) Descriptor ¶
func (*ConsumerIds) Descriptor() ([]byte, []int)
func (*ConsumerIds) GetIds ¶
func (m *ConsumerIds) GetIds() []string
func (*ConsumerIds) Marshal ¶
func (m *ConsumerIds) Marshal() (dAtA []byte, err error)
func (*ConsumerIds) MarshalToSizedBuffer ¶
func (m *ConsumerIds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerIds) ProtoMessage ¶
func (*ConsumerIds) ProtoMessage()
func (*ConsumerIds) Reset ¶
func (m *ConsumerIds) Reset()
func (*ConsumerIds) Size ¶
func (m *ConsumerIds) Size() (n int)
func (*ConsumerIds) String ¶
func (m *ConsumerIds) String() string
func (*ConsumerIds) Unmarshal ¶
func (m *ConsumerIds) Unmarshal(dAtA []byte) error
func (*ConsumerIds) XXX_DiscardUnknown ¶
func (m *ConsumerIds) XXX_DiscardUnknown()
func (*ConsumerIds) XXX_Marshal ¶
func (m *ConsumerIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerIds) XXX_Merge ¶
func (m *ConsumerIds) XXX_Merge(src proto.Message)
func (*ConsumerIds) XXX_Size ¶
func (m *ConsumerIds) XXX_Size() int
func (*ConsumerIds) XXX_Unmarshal ¶
func (m *ConsumerIds) XXX_Unmarshal(b []byte) error
type ConsumerInitializationParameters ¶
type ConsumerInitializationParameters struct { // 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,1,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,2,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,3,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,4,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,5,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,6,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 `` /* 165-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,10,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 */ }
ConsumerInitializationParameters are the parameters needed to launch a chain
func DefaultConsumerInitializationParameters ¶ added in v6.3.0
func DefaultConsumerInitializationParameters() ConsumerInitializationParameters
func (*ConsumerInitializationParameters) Descriptor ¶
func (*ConsumerInitializationParameters) Descriptor() ([]byte, []int)
func (*ConsumerInitializationParameters) GetBinaryHash ¶
func (m *ConsumerInitializationParameters) GetBinaryHash() []byte
func (*ConsumerInitializationParameters) GetBlocksPerDistributionTransmission ¶
func (m *ConsumerInitializationParameters) GetBlocksPerDistributionTransmission() int64
func (*ConsumerInitializationParameters) GetCcvTimeoutPeriod ¶
func (m *ConsumerInitializationParameters) GetCcvTimeoutPeriod() time.Duration
func (*ConsumerInitializationParameters) GetConsumerRedistributionFraction ¶
func (m *ConsumerInitializationParameters) GetConsumerRedistributionFraction() string
func (*ConsumerInitializationParameters) GetDistributionTransmissionChannel ¶
func (m *ConsumerInitializationParameters) GetDistributionTransmissionChannel() string
func (*ConsumerInitializationParameters) GetGenesisHash ¶
func (m *ConsumerInitializationParameters) GetGenesisHash() []byte
func (*ConsumerInitializationParameters) GetHistoricalEntries ¶
func (m *ConsumerInitializationParameters) GetHistoricalEntries() int64
func (*ConsumerInitializationParameters) GetInitialHeight ¶
func (m *ConsumerInitializationParameters) GetInitialHeight() types.Height
func (*ConsumerInitializationParameters) GetSpawnTime ¶
func (m *ConsumerInitializationParameters) GetSpawnTime() time.Time
func (*ConsumerInitializationParameters) GetTransferTimeoutPeriod ¶
func (m *ConsumerInitializationParameters) GetTransferTimeoutPeriod() time.Duration
func (*ConsumerInitializationParameters) GetUnbondingPeriod ¶
func (m *ConsumerInitializationParameters) GetUnbondingPeriod() time.Duration
func (*ConsumerInitializationParameters) Marshal ¶
func (m *ConsumerInitializationParameters) Marshal() (dAtA []byte, err error)
func (*ConsumerInitializationParameters) MarshalTo ¶
func (m *ConsumerInitializationParameters) MarshalTo(dAtA []byte) (int, error)
func (*ConsumerInitializationParameters) MarshalToSizedBuffer ¶
func (m *ConsumerInitializationParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerInitializationParameters) ProtoMessage ¶
func (*ConsumerInitializationParameters) ProtoMessage()
func (*ConsumerInitializationParameters) Reset ¶
func (m *ConsumerInitializationParameters) Reset()
func (*ConsumerInitializationParameters) Size ¶
func (m *ConsumerInitializationParameters) Size() (n int)
func (*ConsumerInitializationParameters) String ¶
func (m *ConsumerInitializationParameters) String() string
func (*ConsumerInitializationParameters) Unmarshal ¶
func (m *ConsumerInitializationParameters) Unmarshal(dAtA []byte) error
func (*ConsumerInitializationParameters) XXX_DiscardUnknown ¶
func (m *ConsumerInitializationParameters) XXX_DiscardUnknown()
func (*ConsumerInitializationParameters) XXX_Marshal ¶
func (m *ConsumerInitializationParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerInitializationParameters) XXX_Merge ¶
func (m *ConsumerInitializationParameters) XXX_Merge(src proto.Message)
func (*ConsumerInitializationParameters) XXX_Size ¶
func (m *ConsumerInitializationParameters) XXX_Size() int
func (*ConsumerInitializationParameters) XXX_Unmarshal ¶
func (m *ConsumerInitializationParameters) XXX_Unmarshal(b []byte) error
type ConsumerMetadata ¶
type ConsumerMetadata struct { // the name of the chain Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the description of the chain Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the metadata (e.g., GitHub repository URL) of the chain Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` }
ConsumerMetadata contains general information about the registered chain
func (*ConsumerMetadata) Descriptor ¶
func (*ConsumerMetadata) Descriptor() ([]byte, []int)
func (*ConsumerMetadata) GetDescription ¶
func (m *ConsumerMetadata) GetDescription() string
func (*ConsumerMetadata) GetMetadata ¶
func (m *ConsumerMetadata) GetMetadata() string
func (*ConsumerMetadata) GetName ¶
func (m *ConsumerMetadata) GetName() string
func (*ConsumerMetadata) Marshal ¶
func (m *ConsumerMetadata) Marshal() (dAtA []byte, err error)
func (*ConsumerMetadata) MarshalToSizedBuffer ¶
func (m *ConsumerMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsumerMetadata) ProtoMessage ¶
func (*ConsumerMetadata) ProtoMessage()
func (*ConsumerMetadata) Reset ¶
func (m *ConsumerMetadata) Reset()
func (*ConsumerMetadata) Size ¶
func (m *ConsumerMetadata) Size() (n int)
func (*ConsumerMetadata) String ¶
func (m *ConsumerMetadata) String() string
func (*ConsumerMetadata) Unmarshal ¶
func (m *ConsumerMetadata) Unmarshal(dAtA []byte) error
func (*ConsumerMetadata) XXX_DiscardUnknown ¶
func (m *ConsumerMetadata) XXX_DiscardUnknown()
func (*ConsumerMetadata) XXX_Marshal ¶
func (m *ConsumerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsumerMetadata) XXX_Merge ¶
func (m *ConsumerMetadata) XXX_Merge(src proto.Message)
func (*ConsumerMetadata) XXX_Size ¶
func (m *ConsumerMetadata) XXX_Size() int
func (*ConsumerMetadata) XXX_Unmarshal ¶
func (m *ConsumerMetadata) XXX_Unmarshal(b []byte) error
type ConsumerModificationProposal
deprecated
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"` // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. MinStake uint64 `protobuf:"varint,9,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // Corresponds to whether inactive validators are allowed to validate the consumer chain. AllowInactiveVals bool `protobuf:"varint,10,opt,name=allow_inactive_vals,json=allowInactiveVals,proto3" json:"allow_inactive_vals,omitempty"` }
WARNING: This message is deprecated in favor of `MsgUpdateConsumer`. 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.
Deprecated: Do not use.
func (*ConsumerModificationProposal) Descriptor ¶
func (*ConsumerModificationProposal) Descriptor() ([]byte, []int)
func (*ConsumerModificationProposal) GetAllowInactiveVals ¶
func (m *ConsumerModificationProposal) GetAllowInactiveVals() bool
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) GetMinStake ¶
func (m *ConsumerModificationProposal) GetMinStake() uint64
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 ConsumerPhase ¶
type ConsumerPhase int32
ConsumerPhase indicates the phases of a consumer chain according to ADR 019
const ( // UNSPECIFIED defines an empty phase. CONSUMER_PHASE_UNSPECIFIED ConsumerPhase = 0 // REGISTERED defines the phase in which a consumer chain has been assigned a unique consumer id. // A chain in this phase cannot yet launch. CONSUMER_PHASE_REGISTERED ConsumerPhase = 1 // INITIALIZED defines the phase in which a consumer chain has set all the needed parameters to launch but // has not yet launched (e.g., because the `spawnTime` of the consumer chain has not yet been reached). CONSUMER_PHASE_INITIALIZED ConsumerPhase = 2 // LAUNCHED defines the phase in which a consumer chain is running and consuming a subset of the validator // set of the provider. CONSUMER_PHASE_LAUNCHED ConsumerPhase = 3 // STOPPED defines the phase in which a previously-launched chain has stopped. CONSUMER_PHASE_STOPPED ConsumerPhase = 4 // DELETED defines the phase in which the state of a stopped chain has been deleted. CONSUMER_PHASE_DELETED ConsumerPhase = 5 )
func (ConsumerPhase) EnumDescriptor ¶
func (ConsumerPhase) EnumDescriptor() ([]byte, []int)
func (ConsumerPhase) String ¶
func (x ConsumerPhase) String() string
type ConsumerRemovalProposal
deprecated
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"` }
WARNING: This message is deprecated in favor of `MsgRemoveConsumer`. 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.
Deprecated: Do not use.
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 phase of the consumer chain Phase ConsumerPhase `protobuf:"varint,9,opt,name=phase,proto3,enum=interchain_security.ccv.provider.v1.ConsumerPhase" json:"phase,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, phase ConsumerPhase, ) 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) GetPhase ¶
func (m *ConsumerState) GetPhase() ConsumerPhase
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 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"` 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, params Params, validatorConsumerPubkeys []ValidatorConsumerPubKey, validatorsByConsumerAddr []ValidatorByConsumerAddr, consumerAddrsToPrune []ConsumerAddrsToPruneV2, ) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetConsumerAddrsToPruneV2 ¶
func (m *GenesisState) GetConsumerAddrsToPruneV2() []ConsumerAddrsToPruneV2
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 (*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 { // [DEPRECATED] use `consumer_id` instead ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Deprecated: Do not use. // 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"` Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"` // the consumer id of the consumer chain to assign a consensus public key to ConsumerId string `protobuf:"bytes,5,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
func NewMsgAssignConsumerKey ¶
func NewMsgAssignConsumerKey(consumerId 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) 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) Size ¶
func (m *MsgAssignConsumerKey) Size() (n int)
func (*MsgAssignConsumerKey) String ¶
func (m *MsgAssignConsumerKey) String() string
func (*MsgAssignConsumerKey) Unmarshal ¶
func (m *MsgAssignConsumerKey) Unmarshal(dAtA []byte) error
func (MsgAssignConsumerKey) ValidateBasic ¶
func (msg MsgAssignConsumerKey) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic 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"` // authority is the address of the governance account 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
ValidateBasic implements the sdk.HasValidateBasic interface.
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) CreateConsumer(ctx context.Context, in *MsgCreateConsumer, opts ...grpc.CallOption) (*MsgCreateConsumerResponse, error) UpdateConsumer(ctx context.Context, in *MsgUpdateConsumer, opts ...grpc.CallOption) (*MsgUpdateConsumerResponse, error) RemoveConsumer(ctx context.Context, in *MsgRemoveConsumer, opts ...grpc.CallOption) (*MsgRemoveConsumerResponse, 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) SetConsumerCommissionRate(ctx context.Context, in *MsgSetConsumerCommissionRate, opts ...grpc.CallOption) (*MsgSetConsumerCommissionRateResponse, error) ChangeRewardDenoms(ctx context.Context, in *MsgChangeRewardDenoms, opts ...grpc.CallOption) (*MsgChangeRewardDenomsResponse, 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
deprecated
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 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,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"` // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. MinStake uint64 `protobuf:"varint,19,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // Corresponds to whether inactive validators are allowed to validate the consumer chain. AllowInactiveVals bool `protobuf:"varint,20,opt,name=allow_inactive_vals,json=allowInactiveVals,proto3" json:"allow_inactive_vals,omitempty"` }
[DEPRECATED] Use `MsgCreateConsumer` instead
Deprecated: Do not use.
func (*MsgConsumerAddition) Descriptor ¶
func (*MsgConsumerAddition) Descriptor() ([]byte, []int)
func (*MsgConsumerAddition) GetAllowInactiveVals ¶
func (m *MsgConsumerAddition) GetAllowInactiveVals() bool
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) 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) GetMinStake ¶
func (m *MsgConsumerAddition) GetMinStake() uint64
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) 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 MsgConsumerModification
deprecated
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"` // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. MinStake uint64 `protobuf:"varint,10,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // Corresponds to whether inactive validators are allowed to validate the consumer chain. AllowInactiveVals bool `protobuf:"varint,11,opt,name=allow_inactive_vals,json=allowInactiveVals,proto3" json:"allow_inactive_vals,omitempty"` }
[DEPRECATED] Use `MsgUpdateConsumer` instead
Deprecated: Do not use.
func (*MsgConsumerModification) Descriptor ¶
func (*MsgConsumerModification) Descriptor() ([]byte, []int)
func (*MsgConsumerModification) GetAllowInactiveVals ¶
func (m *MsgConsumerModification) GetAllowInactiveVals() bool
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) GetMinStake ¶
func (m *MsgConsumerModification) GetMinStake() uint64
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) 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
deprecated
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"` }
[DEPRECATED] Use `MsgRemoveConsumer` instead
Deprecated: Do not use.
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) 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 MsgCreateConsumer ¶
type MsgCreateConsumer struct { // Submitter address. If the message is successfully handled, the ownership of // the consumer chain will given to this address. Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"` // the chain id of the new consumer chain ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Metadata ConsumerMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"` InitializationParameters *ConsumerInitializationParameters `` /* 133-byte string literal not displayed */ PowerShapingParameters *PowerShapingParameters `` /* 129-byte string literal not displayed */ // allowlisted reward denoms of the consumer AllowlistedRewardDenoms *AllowlistedRewardDenoms `` /* 132-byte string literal not displayed */ }
MsgCreateConsumer defines the message that creates a consumer chain
func NewMsgCreateConsumer ¶
func NewMsgCreateConsumer(submitter, chainId string, metadata ConsumerMetadata, initializationParameters *ConsumerInitializationParameters, powerShapingParameters *PowerShapingParameters, allowlistedRewardDenoms *AllowlistedRewardDenoms, ) (*MsgCreateConsumer, error)
NewMsgCreateConsumer creates a new MsgCreateConsumer instance
func (*MsgCreateConsumer) Descriptor ¶
func (*MsgCreateConsumer) Descriptor() ([]byte, []int)
func (*MsgCreateConsumer) GetAllowlistedRewardDenoms ¶ added in v6.2.0
func (m *MsgCreateConsumer) GetAllowlistedRewardDenoms() *AllowlistedRewardDenoms
func (*MsgCreateConsumer) GetChainId ¶
func (m *MsgCreateConsumer) GetChainId() string
func (*MsgCreateConsumer) GetInitializationParameters ¶
func (m *MsgCreateConsumer) GetInitializationParameters() *ConsumerInitializationParameters
func (*MsgCreateConsumer) GetMetadata ¶
func (m *MsgCreateConsumer) GetMetadata() ConsumerMetadata
func (*MsgCreateConsumer) GetPowerShapingParameters ¶
func (m *MsgCreateConsumer) GetPowerShapingParameters() *PowerShapingParameters
func (*MsgCreateConsumer) GetSubmitter ¶
func (m *MsgCreateConsumer) GetSubmitter() string
func (*MsgCreateConsumer) Marshal ¶
func (m *MsgCreateConsumer) Marshal() (dAtA []byte, err error)
func (*MsgCreateConsumer) MarshalTo ¶
func (m *MsgCreateConsumer) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateConsumer) MarshalToSizedBuffer ¶
func (m *MsgCreateConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateConsumer) ProtoMessage ¶
func (*MsgCreateConsumer) ProtoMessage()
func (*MsgCreateConsumer) Reset ¶
func (m *MsgCreateConsumer) Reset()
func (*MsgCreateConsumer) Size ¶
func (m *MsgCreateConsumer) Size() (n int)
func (*MsgCreateConsumer) String ¶
func (m *MsgCreateConsumer) String() string
func (*MsgCreateConsumer) Unmarshal ¶
func (m *MsgCreateConsumer) Unmarshal(dAtA []byte) error
func (MsgCreateConsumer) ValidateBasic ¶
func (msg MsgCreateConsumer) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic interface.
func (*MsgCreateConsumer) XXX_DiscardUnknown ¶
func (m *MsgCreateConsumer) XXX_DiscardUnknown()
func (*MsgCreateConsumer) XXX_Marshal ¶
func (m *MsgCreateConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateConsumer) XXX_Merge ¶
func (m *MsgCreateConsumer) XXX_Merge(src proto.Message)
func (*MsgCreateConsumer) XXX_Size ¶
func (m *MsgCreateConsumer) XXX_Size() int
func (*MsgCreateConsumer) XXX_Unmarshal ¶
func (m *MsgCreateConsumer) XXX_Unmarshal(b []byte) error
type MsgCreateConsumerResponse ¶
type MsgCreateConsumerResponse struct {
ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
}
MsgCreateConsumerResponse defines response type for MsgCreateConsumer
func (*MsgCreateConsumerResponse) Descriptor ¶
func (*MsgCreateConsumerResponse) Descriptor() ([]byte, []int)
func (*MsgCreateConsumerResponse) GetConsumerId ¶
func (m *MsgCreateConsumerResponse) GetConsumerId() string
func (*MsgCreateConsumerResponse) Marshal ¶
func (m *MsgCreateConsumerResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateConsumerResponse) MarshalTo ¶
func (m *MsgCreateConsumerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateConsumerResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateConsumerResponse) ProtoMessage ¶
func (*MsgCreateConsumerResponse) ProtoMessage()
func (*MsgCreateConsumerResponse) Reset ¶
func (m *MsgCreateConsumerResponse) Reset()
func (*MsgCreateConsumerResponse) Size ¶
func (m *MsgCreateConsumerResponse) Size() (n int)
func (*MsgCreateConsumerResponse) String ¶
func (m *MsgCreateConsumerResponse) String() string
func (*MsgCreateConsumerResponse) Unmarshal ¶
func (m *MsgCreateConsumerResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateConsumerResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateConsumerResponse) XXX_DiscardUnknown()
func (*MsgCreateConsumerResponse) XXX_Marshal ¶
func (m *MsgCreateConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateConsumerResponse) XXX_Merge ¶
func (m *MsgCreateConsumerResponse) XXX_Merge(src proto.Message)
func (*MsgCreateConsumerResponse) XXX_Size ¶
func (m *MsgCreateConsumerResponse) XXX_Size() int
func (*MsgCreateConsumerResponse) XXX_Unmarshal ¶
func (m *MsgCreateConsumerResponse) XXX_Unmarshal(b []byte) error
type MsgOptIn ¶
type MsgOptIn struct { // [DEPRECATED] use `consumer_id` instead ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Deprecated: Do not use. // 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"` // submitter address Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"` // the consumer id of the consumer chain to opt in to ConsumerId string `protobuf:"bytes,5,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
func NewMsgOptIn ¶
func NewMsgOptIn(consumerId string, providerValidatorAddress sdk.ValAddress, consumerConsensusPubKey, signer string) (*MsgOptIn, error)
NewMsgOptIn creates a new NewMsgOptIn instance.
func (*MsgOptIn) Descriptor ¶
func (*MsgOptIn) MarshalToSizedBuffer ¶
func (*MsgOptIn) ProtoMessage ¶
func (*MsgOptIn) ProtoMessage()
func (MsgOptIn) ValidateBasic ¶
ValidateBasic implements the sdk.HasValidateBasic interface.
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 { // [DEPRECATED] use `consumer_id` instead ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Deprecated: Do not use. // the validator address on the provider ProviderAddr string `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"` // submitter address Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` // the consumer id of the consumer chain to opt out from ConsumerId string `protobuf:"bytes,4,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
func NewMsgOptOut ¶
func NewMsgOptOut(consumerId string, providerValidatorAddress sdk.ValAddress, signer string) (*MsgOptOut, error)
NewMsgOptOut creates a new NewMsgOptIn instance.
func (*MsgOptOut) Descriptor ¶
func (*MsgOptOut) MarshalToSizedBuffer ¶
func (*MsgOptOut) ProtoMessage ¶
func (*MsgOptOut) ProtoMessage()
func (MsgOptOut) ValidateBasic ¶
ValidateBasic implements the sdk.HasValidateBasic interface.
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 MsgRemoveConsumer ¶
type MsgRemoveConsumer struct { // the consumer id of the consumer chain to be stopped ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` // the address of the owner of the consumer chain to be stopped Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` }
MsgRemoveConsumer defines the message used to remove (and stop) a consumer chain. If it passes, all the consumer chain's state is eventually removed from the provider chain.
func NewMsgRemoveConsumer ¶
func NewMsgRemoveConsumer(owner, consumerId string) (*MsgRemoveConsumer, error)
NewMsgRemoveConsumer creates a new MsgRemoveConsumer instance
func (*MsgRemoveConsumer) Descriptor ¶
func (*MsgRemoveConsumer) Descriptor() ([]byte, []int)
func (*MsgRemoveConsumer) GetConsumerId ¶
func (m *MsgRemoveConsumer) GetConsumerId() string
func (*MsgRemoveConsumer) GetOwner ¶
func (m *MsgRemoveConsumer) GetOwner() string
func (*MsgRemoveConsumer) Marshal ¶
func (m *MsgRemoveConsumer) Marshal() (dAtA []byte, err error)
func (*MsgRemoveConsumer) MarshalTo ¶
func (m *MsgRemoveConsumer) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveConsumer) MarshalToSizedBuffer ¶
func (m *MsgRemoveConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveConsumer) ProtoMessage ¶
func (*MsgRemoveConsumer) ProtoMessage()
func (*MsgRemoveConsumer) Reset ¶
func (m *MsgRemoveConsumer) Reset()
func (*MsgRemoveConsumer) Size ¶
func (m *MsgRemoveConsumer) Size() (n int)
func (*MsgRemoveConsumer) String ¶
func (m *MsgRemoveConsumer) String() string
func (*MsgRemoveConsumer) Unmarshal ¶
func (m *MsgRemoveConsumer) Unmarshal(dAtA []byte) error
func (MsgRemoveConsumer) ValidateBasic ¶
func (msg MsgRemoveConsumer) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic interface.
func (*MsgRemoveConsumer) XXX_DiscardUnknown ¶
func (m *MsgRemoveConsumer) XXX_DiscardUnknown()
func (*MsgRemoveConsumer) XXX_Marshal ¶
func (m *MsgRemoveConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveConsumer) XXX_Merge ¶
func (m *MsgRemoveConsumer) XXX_Merge(src proto.Message)
func (*MsgRemoveConsumer) XXX_Size ¶
func (m *MsgRemoveConsumer) XXX_Size() int
func (*MsgRemoveConsumer) XXX_Unmarshal ¶
func (m *MsgRemoveConsumer) XXX_Unmarshal(b []byte) error
type MsgRemoveConsumerResponse ¶
type MsgRemoveConsumerResponse struct { }
MsgRemoveConsumerResponse defines response type for MsgRemoveConsumer messages
func (*MsgRemoveConsumerResponse) Descriptor ¶
func (*MsgRemoveConsumerResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveConsumerResponse) Marshal ¶
func (m *MsgRemoveConsumerResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveConsumerResponse) MarshalTo ¶
func (m *MsgRemoveConsumerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveConsumerResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveConsumerResponse) ProtoMessage ¶
func (*MsgRemoveConsumerResponse) ProtoMessage()
func (*MsgRemoveConsumerResponse) Reset ¶
func (m *MsgRemoveConsumerResponse) Reset()
func (*MsgRemoveConsumerResponse) Size ¶
func (m *MsgRemoveConsumerResponse) Size() (n int)
func (*MsgRemoveConsumerResponse) String ¶
func (m *MsgRemoveConsumerResponse) String() string
func (*MsgRemoveConsumerResponse) Unmarshal ¶
func (m *MsgRemoveConsumerResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveConsumerResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveConsumerResponse) XXX_DiscardUnknown()
func (*MsgRemoveConsumerResponse) XXX_Marshal ¶
func (m *MsgRemoveConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveConsumerResponse) XXX_Merge ¶
func (m *MsgRemoveConsumerResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveConsumerResponse) XXX_Size ¶
func (m *MsgRemoveConsumerResponse) XXX_Size() int
func (*MsgRemoveConsumerResponse) XXX_Unmarshal ¶
func (m *MsgRemoveConsumerResponse) 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) CreateConsumer(context.Context, *MsgCreateConsumer) (*MsgCreateConsumerResponse, error) UpdateConsumer(context.Context, *MsgUpdateConsumer) (*MsgUpdateConsumerResponse, error) RemoveConsumer(context.Context, *MsgRemoveConsumer) (*MsgRemoveConsumerResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) OptIn(context.Context, *MsgOptIn) (*MsgOptInResponse, error) OptOut(context.Context, *MsgOptOut) (*MsgOptOutResponse, error) SetConsumerCommissionRate(context.Context, *MsgSetConsumerCommissionRate) (*MsgSetConsumerCommissionRateResponse, error) ChangeRewardDenoms(context.Context, *MsgChangeRewardDenoms) (*MsgChangeRewardDenomsResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetConsumerCommissionRate ¶
type MsgSetConsumerCommissionRate struct { // The validator address on the provider ProviderAddr string `protobuf:"bytes,1,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"` // [DEPRECATED] use `consumer_id` instead ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Deprecated: Do not use. // The rate to charge delegators on the consumer chain, as a fraction // TODO: migrate rate from sdk.Dec to math.LegacyDec Rate cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=rate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rate"` // submitter address Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"` // the consumer id of the consumer chain to set the commission rate ConsumerId string `protobuf:"bytes,5,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
MsgSetConsumerCommissionRate allows validators to set a per-consumer chain commission rate
func NewMsgSetConsumerCommissionRate ¶
func NewMsgSetConsumerCommissionRate( consumerId string, commission math.LegacyDec, providerValidatorAddress sdk.ValAddress, signer string, ) *MsgSetConsumerCommissionRate
NewMsgSetConsumerCommissionRate creates a new MsgSetConsumerCommissionRate msg instance.
func (*MsgSetConsumerCommissionRate) Descriptor ¶
func (*MsgSetConsumerCommissionRate) Descriptor() ([]byte, []int)
func (*MsgSetConsumerCommissionRate) Marshal ¶
func (m *MsgSetConsumerCommissionRate) Marshal() (dAtA []byte, err error)
func (*MsgSetConsumerCommissionRate) MarshalTo ¶
func (m *MsgSetConsumerCommissionRate) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRate) MarshalToSizedBuffer ¶
func (m *MsgSetConsumerCommissionRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRate) ProtoMessage ¶
func (*MsgSetConsumerCommissionRate) ProtoMessage()
func (*MsgSetConsumerCommissionRate) Reset ¶
func (m *MsgSetConsumerCommissionRate) Reset()
func (*MsgSetConsumerCommissionRate) Size ¶
func (m *MsgSetConsumerCommissionRate) Size() (n int)
func (*MsgSetConsumerCommissionRate) String ¶
func (m *MsgSetConsumerCommissionRate) String() string
func (*MsgSetConsumerCommissionRate) Unmarshal ¶
func (m *MsgSetConsumerCommissionRate) Unmarshal(dAtA []byte) error
func (MsgSetConsumerCommissionRate) ValidateBasic ¶
func (msg MsgSetConsumerCommissionRate) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic interface.
func (*MsgSetConsumerCommissionRate) XXX_DiscardUnknown ¶
func (m *MsgSetConsumerCommissionRate) XXX_DiscardUnknown()
func (*MsgSetConsumerCommissionRate) XXX_Marshal ¶
func (m *MsgSetConsumerCommissionRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetConsumerCommissionRate) XXX_Merge ¶
func (m *MsgSetConsumerCommissionRate) XXX_Merge(src proto.Message)
func (*MsgSetConsumerCommissionRate) XXX_Size ¶
func (m *MsgSetConsumerCommissionRate) XXX_Size() int
func (*MsgSetConsumerCommissionRate) XXX_Unmarshal ¶
func (m *MsgSetConsumerCommissionRate) XXX_Unmarshal(b []byte) error
type MsgSetConsumerCommissionRateResponse ¶
type MsgSetConsumerCommissionRateResponse struct { }
func (*MsgSetConsumerCommissionRateResponse) Descriptor ¶
func (*MsgSetConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
func (*MsgSetConsumerCommissionRateResponse) Marshal ¶
func (m *MsgSetConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetConsumerCommissionRateResponse) MarshalTo ¶
func (m *MsgSetConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRateResponse) MarshalToSizedBuffer ¶
func (m *MsgSetConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetConsumerCommissionRateResponse) ProtoMessage ¶
func (*MsgSetConsumerCommissionRateResponse) ProtoMessage()
func (*MsgSetConsumerCommissionRateResponse) Reset ¶
func (m *MsgSetConsumerCommissionRateResponse) Reset()
func (*MsgSetConsumerCommissionRateResponse) Size ¶
func (m *MsgSetConsumerCommissionRateResponse) Size() (n int)
func (*MsgSetConsumerCommissionRateResponse) String ¶
func (m *MsgSetConsumerCommissionRateResponse) String() string
func (*MsgSetConsumerCommissionRateResponse) Unmarshal ¶
func (m *MsgSetConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
func (*MsgSetConsumerCommissionRateResponse) XXX_DiscardUnknown ¶
func (m *MsgSetConsumerCommissionRateResponse) XXX_DiscardUnknown()
func (*MsgSetConsumerCommissionRateResponse) XXX_Marshal ¶
func (m *MsgSetConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetConsumerCommissionRateResponse) XXX_Merge ¶
func (m *MsgSetConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
func (*MsgSetConsumerCommissionRateResponse) XXX_Size ¶
func (m *MsgSetConsumerCommissionRateResponse) XXX_Size() int
func (*MsgSetConsumerCommissionRateResponse) XXX_Unmarshal ¶
func (m *MsgSetConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
type MsgSubmitConsumerDoubleVoting ¶
type MsgSubmitConsumerDoubleVoting struct { Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"` // The equivocation of the consumer chain wrapping // an evidence of a validator that signed two conflicting votes DuplicateVoteEvidence *types.DuplicateVoteEvidence `` /* 126-byte string literal not displayed */ // The light client header of the infraction block InfractionBlockHeader *_07_tendermint.Header `` /* 126-byte string literal not displayed */ // the consumer id of the consumer chain where the double-voting took place ConsumerId string `protobuf:"bytes,4,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
MsgSubmitConsumerDoubleVoting defines a message that reports a double signing infraction observed on a consumer chain
func NewMsgSubmitConsumerDoubleVoting ¶
func NewMsgSubmitConsumerDoubleVoting( consumerId string, submitter sdk.AccAddress, ev *tmtypes.DuplicateVoteEvidence, header *ibctmtypes.Header, ) (*MsgSubmitConsumerDoubleVoting, error)
func (*MsgSubmitConsumerDoubleVoting) Descriptor ¶
func (*MsgSubmitConsumerDoubleVoting) Descriptor() ([]byte, []int)
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) Size ¶
func (m *MsgSubmitConsumerDoubleVoting) Size() (n int)
func (*MsgSubmitConsumerDoubleVoting) String ¶
func (m *MsgSubmitConsumerDoubleVoting) String() string
func (*MsgSubmitConsumerDoubleVoting) Unmarshal ¶
func (m *MsgSubmitConsumerDoubleVoting) Unmarshal(dAtA []byte) error
func (MsgSubmitConsumerDoubleVoting) ValidateBasic ¶
func (msg MsgSubmitConsumerDoubleVoting) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic 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"` // the consumer id of the consumer chain where the misbehaviour occurred ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,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( consumerId string, submitter sdk.AccAddress, misbehaviour *ibctmtypes.Misbehaviour, ) (*MsgSubmitConsumerMisbehaviour, error)
func (*MsgSubmitConsumerMisbehaviour) Descriptor ¶
func (*MsgSubmitConsumerMisbehaviour) Descriptor() ([]byte, []int)
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) Size ¶
func (m *MsgSubmitConsumerMisbehaviour) Size() (n int)
func (*MsgSubmitConsumerMisbehaviour) String ¶
func (m *MsgSubmitConsumerMisbehaviour) String() string
func (*MsgSubmitConsumerMisbehaviour) Unmarshal ¶
func (m *MsgSubmitConsumerMisbehaviour) Unmarshal(dAtA []byte) error
func (MsgSubmitConsumerMisbehaviour) ValidateBasic ¶
func (msg MsgSubmitConsumerMisbehaviour) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic 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 MsgUpdateConsumer ¶
type MsgUpdateConsumer struct { // the address of the owner of the consumer chain to be updated Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // the consumer id of the consumer chain to be updated ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` // the new owner of the consumer when updated NewOwnerAddress string `protobuf:"bytes,3,opt,name=new_owner_address,json=newOwnerAddress,proto3" json:"new_owner_address,omitempty"` // the metadata of the consumer when updated Metadata *ConsumerMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // initialization parameters can only be updated before a chain has launched InitializationParameters *ConsumerInitializationParameters `` /* 133-byte string literal not displayed */ // the power-shaping parameters of the consumer when updated PowerShapingParameters *PowerShapingParameters `` /* 129-byte string literal not displayed */ // allowlisted reward denoms of the consumer (if provided they overwrite previously set reward denoms) AllowlistedRewardDenoms *AllowlistedRewardDenoms `` /* 132-byte string literal not displayed */ }
MsgUpdateConsumer defines the message used to modify a consumer chain.
func NewMsgUpdateConsumer ¶
func NewMsgUpdateConsumer(owner, consumerId, ownerAddress string, metadata *ConsumerMetadata, initializationParameters *ConsumerInitializationParameters, powerShapingParameters *PowerShapingParameters, allowlistedRewardDenoms *AllowlistedRewardDenoms, ) (*MsgUpdateConsumer, error)
NewMsgUpdateConsumer creates a new MsgUpdateConsumer instance
func (*MsgUpdateConsumer) Descriptor ¶
func (*MsgUpdateConsumer) Descriptor() ([]byte, []int)
func (*MsgUpdateConsumer) GetAllowlistedRewardDenoms ¶ added in v6.2.0
func (m *MsgUpdateConsumer) GetAllowlistedRewardDenoms() *AllowlistedRewardDenoms
func (*MsgUpdateConsumer) GetConsumerId ¶
func (m *MsgUpdateConsumer) GetConsumerId() string
func (*MsgUpdateConsumer) GetInitializationParameters ¶
func (m *MsgUpdateConsumer) GetInitializationParameters() *ConsumerInitializationParameters
func (*MsgUpdateConsumer) GetMetadata ¶
func (m *MsgUpdateConsumer) GetMetadata() *ConsumerMetadata
func (*MsgUpdateConsumer) GetNewOwnerAddress ¶
func (m *MsgUpdateConsumer) GetNewOwnerAddress() string
func (*MsgUpdateConsumer) GetOwner ¶
func (m *MsgUpdateConsumer) GetOwner() string
func (*MsgUpdateConsumer) GetPowerShapingParameters ¶
func (m *MsgUpdateConsumer) GetPowerShapingParameters() *PowerShapingParameters
func (*MsgUpdateConsumer) Marshal ¶
func (m *MsgUpdateConsumer) Marshal() (dAtA []byte, err error)
func (*MsgUpdateConsumer) MarshalTo ¶
func (m *MsgUpdateConsumer) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateConsumer) MarshalToSizedBuffer ¶
func (m *MsgUpdateConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateConsumer) ProtoMessage ¶
func (*MsgUpdateConsumer) ProtoMessage()
func (*MsgUpdateConsumer) Reset ¶
func (m *MsgUpdateConsumer) Reset()
func (*MsgUpdateConsumer) Size ¶
func (m *MsgUpdateConsumer) Size() (n int)
func (*MsgUpdateConsumer) String ¶
func (m *MsgUpdateConsumer) String() string
func (*MsgUpdateConsumer) Unmarshal ¶
func (m *MsgUpdateConsumer) Unmarshal(dAtA []byte) error
func (MsgUpdateConsumer) ValidateBasic ¶
func (msg MsgUpdateConsumer) ValidateBasic() error
ValidateBasic implements the sdk.HasValidateBasic interface.
func (*MsgUpdateConsumer) XXX_DiscardUnknown ¶
func (m *MsgUpdateConsumer) XXX_DiscardUnknown()
func (*MsgUpdateConsumer) XXX_Marshal ¶
func (m *MsgUpdateConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateConsumer) XXX_Merge ¶
func (m *MsgUpdateConsumer) XXX_Merge(src proto.Message)
func (*MsgUpdateConsumer) XXX_Size ¶
func (m *MsgUpdateConsumer) XXX_Size() int
func (*MsgUpdateConsumer) XXX_Unmarshal ¶
func (m *MsgUpdateConsumer) XXX_Unmarshal(b []byte) error
type MsgUpdateConsumerResponse ¶
type MsgUpdateConsumerResponse struct { }
MsgUpdateConsumerResponse defines response type for MsgUpdateConsumer messages
func (*MsgUpdateConsumerResponse) Descriptor ¶
func (*MsgUpdateConsumerResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateConsumerResponse) Marshal ¶
func (m *MsgUpdateConsumerResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateConsumerResponse) MarshalTo ¶
func (m *MsgUpdateConsumerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateConsumerResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateConsumerResponse) ProtoMessage ¶
func (*MsgUpdateConsumerResponse) ProtoMessage()
func (*MsgUpdateConsumerResponse) Reset ¶
func (m *MsgUpdateConsumerResponse) Reset()
func (*MsgUpdateConsumerResponse) Size ¶
func (m *MsgUpdateConsumerResponse) Size() (n int)
func (*MsgUpdateConsumerResponse) String ¶
func (m *MsgUpdateConsumerResponse) String() string
func (*MsgUpdateConsumerResponse) Unmarshal ¶
func (m *MsgUpdateConsumerResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateConsumerResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateConsumerResponse) XXX_DiscardUnknown()
func (*MsgUpdateConsumerResponse) XXX_Marshal ¶
func (m *MsgUpdateConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateConsumerResponse) XXX_Merge ¶
func (m *MsgUpdateConsumerResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateConsumerResponse) XXX_Size ¶
func (m *MsgUpdateConsumerResponse) XXX_Size() int
func (*MsgUpdateConsumerResponse) XXX_Unmarshal ¶
func (m *MsgUpdateConsumerResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the 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 */ // The maximal number of validators that will be passed // to the consensus engine on the provider. MaxProviderConsensusValidators int64 `` /* 157-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, maxProviderConsensusValidators int64, ) Params
NewParams creates new provider parameters with provided arguments
func (*Params) Descriptor ¶
func (*Params) GetBlocksPerEpoch ¶
func (*Params) GetCcvTimeoutPeriod ¶
func (*Params) GetConsumerRewardDenomRegistrationFee ¶
func (*Params) GetMaxProviderConsensusValidators ¶
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 PowerShapingParameters ¶
type PowerShapingParameters struct { // 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,1,opt,name=top_N,json=topN,proto3" json:"top_N,omitempty"` // `validators_power_cap` 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, no validator can have more than 32% of the total voting power of the // consumer chain. The power cap is intended as a safeguard against a validator having too much power on the consumer // chain and hence "taking over" the consumer chain. // // To respect this power cap, the voting powers of the validators that run the consumer chain are decremented or // incremented accordingly. It is important to note that the voting powers of validators on the provider do **not** change. // For example, assume that the provider chain has among others, validators `A`, `B`, `C`, and `D` with voting powers // 100, 1, 1, 1 respectively. Assume that only those 4 validators opt in on a consumer chain. Without a power cap set, // validator `A` would have 100 / (100 + 1 + 1 + 1) = ~97% of the total voting power on the consumer chain, while // validators `B`, `C`, and `D` would have 1 /(100 + 1 + 1 + 1) = ~1% of the total voting power on the consumer chain. // If `validators_power_cap` is set to 30%, then the voting power of `A` would be reduced from 100 to 30 on the consumer // chain, the voting power of `B` would be increased from 1 to 25, and the power of `C` and `D` would be increased from // 1 to 24. After those modifications, `A` would have 30 / (30 + 25 + 24 + 24) = ~29% of the total voting power of the // consumer chain, `B` would have 25 / (30 + 25 + 24 + 24) = ~25%, and `C` and `D` would both have 24 / (30 + 25 + 24 + 24) = ~23%. // Naturally, there are many ways to change the voting powers of validators to respect the power cap, and ICS chooses // one of them (see the `NoMoreThanPercentOfTheSum` function). // // Note that respecting `validators_power_cap` might NOT always be possible. For example, if we have a consumer // chain with only 5 validators and `validators_power_cap` is set to 10%, then it is not possible to respect the // `validators_power_cap`. If the voting power of each validator is capped to a maximum of 10% of the total consumer // chain's voting power, then the total voting power of the consumer chain would add up to 50% which obviously does not // make sense (percentages should add up to 100%). In cases where it is not feasible to respect the power cap, all // validators on the consumer chain will have equal voting power in order to minimize the power of a single validator. // Thus, in the example of 5 validators and a `validators_power_cap` set to 10%, all validators would end up having 20% // of the total voting power on the consumer chain. Therefore, `validators_power_cap` operates on a best-effort basis. // For more information on the power cap and other power-shaping parameters, please refer to the ICS docs and // specifically `interchain-security/docs/docs/features/power-shaping.md`. ValidatorsPowerCap uint32 `protobuf:"varint,2,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,3,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,4,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,5,rep,name=denylist,proto3" json:"denylist,omitempty"` // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. MinStake uint64 `protobuf:"varint,6,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` // Corresponds to whether inactive validators are allowed to validate the consumer chain. AllowInactiveVals bool `protobuf:"varint,7,opt,name=allow_inactive_vals,json=allowInactiveVals,proto3" json:"allow_inactive_vals,omitempty"` }
PowerShapingParameters contains parameters that shape the validator set that we send to the consumer chain
func (*PowerShapingParameters) Descriptor ¶
func (*PowerShapingParameters) Descriptor() ([]byte, []int)
func (*PowerShapingParameters) GetAllowInactiveVals ¶
func (m *PowerShapingParameters) GetAllowInactiveVals() bool
func (*PowerShapingParameters) GetAllowlist ¶
func (m *PowerShapingParameters) GetAllowlist() []string
func (*PowerShapingParameters) GetDenylist ¶
func (m *PowerShapingParameters) GetDenylist() []string
func (*PowerShapingParameters) GetMinStake ¶
func (m *PowerShapingParameters) GetMinStake() uint64
func (*PowerShapingParameters) GetTop_N ¶
func (m *PowerShapingParameters) GetTop_N() uint32
func (*PowerShapingParameters) GetValidatorSetCap ¶
func (m *PowerShapingParameters) GetValidatorSetCap() uint32
func (*PowerShapingParameters) GetValidatorsPowerCap ¶
func (m *PowerShapingParameters) GetValidatorsPowerCap() uint32
func (*PowerShapingParameters) Marshal ¶
func (m *PowerShapingParameters) Marshal() (dAtA []byte, err error)
func (*PowerShapingParameters) MarshalTo ¶
func (m *PowerShapingParameters) MarshalTo(dAtA []byte) (int, error)
func (*PowerShapingParameters) MarshalToSizedBuffer ¶
func (m *PowerShapingParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PowerShapingParameters) ProtoMessage ¶
func (*PowerShapingParameters) ProtoMessage()
func (*PowerShapingParameters) Reset ¶
func (m *PowerShapingParameters) Reset()
func (*PowerShapingParameters) Size ¶
func (m *PowerShapingParameters) Size() (n int)
func (*PowerShapingParameters) String ¶
func (m *PowerShapingParameters) String() string
func (*PowerShapingParameters) Unmarshal ¶
func (m *PowerShapingParameters) Unmarshal(dAtA []byte) error
func (*PowerShapingParameters) XXX_DiscardUnknown ¶
func (m *PowerShapingParameters) XXX_DiscardUnknown()
func (*PowerShapingParameters) XXX_Marshal ¶
func (m *PowerShapingParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PowerShapingParameters) XXX_Merge ¶
func (m *PowerShapingParameters) XXX_Merge(src proto.Message)
func (*PowerShapingParameters) XXX_Size ¶
func (m *PowerShapingParameters) XXX_Size() int
func (*PowerShapingParameters) XXX_Unmarshal ¶
func (m *PowerShapingParameters) 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 QueryAllPairsValConsAddrByConsumerRequest ¶
type QueryAllPairsValConsAddrByConsumerRequest struct { // The id of the consumer chain ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
func (*QueryAllPairsValConsAddrByConsumerRequest) Descriptor ¶
func (*QueryAllPairsValConsAddrByConsumerRequest) Descriptor() ([]byte, []int)
func (*QueryAllPairsValConsAddrByConsumerRequest) GetConsumerId ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) GetConsumerId() string
func (*QueryAllPairsValConsAddrByConsumerRequest) Marshal ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPairsValConsAddrByConsumerRequest) MarshalTo ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPairsValConsAddrByConsumerRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPairsValConsAddrByConsumerRequest) ProtoMessage ¶
func (*QueryAllPairsValConsAddrByConsumerRequest) ProtoMessage()
func (*QueryAllPairsValConsAddrByConsumerRequest) Reset ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) Reset()
func (*QueryAllPairsValConsAddrByConsumerRequest) Size ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) Size() (n int)
func (*QueryAllPairsValConsAddrByConsumerRequest) String ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) String() string
func (*QueryAllPairsValConsAddrByConsumerRequest) Unmarshal ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPairsValConsAddrByConsumerRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_DiscardUnknown()
func (*QueryAllPairsValConsAddrByConsumerRequest) XXX_Marshal ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPairsValConsAddrByConsumerRequest) XXX_Merge ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Merge(src proto.Message)
func (*QueryAllPairsValConsAddrByConsumerRequest) XXX_Size ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Size() int
func (*QueryAllPairsValConsAddrByConsumerRequest) XXX_Unmarshal ¶
func (m *QueryAllPairsValConsAddrByConsumerRequest) XXX_Unmarshal(b []byte) error
type QueryAllPairsValConsAddrByConsumerResponse ¶
type QueryAllPairsValConsAddrByConsumerResponse struct {
PairValConAddr []*PairValConAddrProviderAndConsumer `protobuf:"bytes,1,rep,name=pair_val_con_addr,json=pairValConAddr,proto3" json:"pair_val_con_addr,omitempty"`
}
func (*QueryAllPairsValConsAddrByConsumerResponse) Descriptor ¶
func (*QueryAllPairsValConsAddrByConsumerResponse) Descriptor() ([]byte, []int)
func (*QueryAllPairsValConsAddrByConsumerResponse) GetPairValConAddr ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) GetPairValConAddr() []*PairValConAddrProviderAndConsumer
func (*QueryAllPairsValConsAddrByConsumerResponse) Marshal ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPairsValConsAddrByConsumerResponse) MarshalTo ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPairsValConsAddrByConsumerResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPairsValConsAddrByConsumerResponse) ProtoMessage ¶
func (*QueryAllPairsValConsAddrByConsumerResponse) ProtoMessage()
func (*QueryAllPairsValConsAddrByConsumerResponse) Reset ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) Reset()
func (*QueryAllPairsValConsAddrByConsumerResponse) Size ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) Size() (n int)
func (*QueryAllPairsValConsAddrByConsumerResponse) String ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) String() string
func (*QueryAllPairsValConsAddrByConsumerResponse) Unmarshal ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPairsValConsAddrByConsumerResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_DiscardUnknown()
func (*QueryAllPairsValConsAddrByConsumerResponse) XXX_Marshal ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPairsValConsAddrByConsumerResponse) XXX_Merge ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Merge(src proto.Message)
func (*QueryAllPairsValConsAddrByConsumerResponse) XXX_Size ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Size() int
func (*QueryAllPairsValConsAddrByConsumerResponse) XXX_Unmarshal ¶
func (m *QueryAllPairsValConsAddrByConsumerResponse) XXX_Unmarshal(b []byte) error
type QueryBlocksUntilNextEpochRequest ¶
type QueryBlocksUntilNextEpochRequest struct { }
func (*QueryBlocksUntilNextEpochRequest) Descriptor ¶
func (*QueryBlocksUntilNextEpochRequest) Descriptor() ([]byte, []int)
func (*QueryBlocksUntilNextEpochRequest) Marshal ¶
func (m *QueryBlocksUntilNextEpochRequest) Marshal() (dAtA []byte, err error)
func (*QueryBlocksUntilNextEpochRequest) MarshalTo ¶
func (m *QueryBlocksUntilNextEpochRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlocksUntilNextEpochRequest) MarshalToSizedBuffer ¶
func (m *QueryBlocksUntilNextEpochRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlocksUntilNextEpochRequest) ProtoMessage ¶
func (*QueryBlocksUntilNextEpochRequest) ProtoMessage()
func (*QueryBlocksUntilNextEpochRequest) Reset ¶
func (m *QueryBlocksUntilNextEpochRequest) Reset()
func (*QueryBlocksUntilNextEpochRequest) Size ¶
func (m *QueryBlocksUntilNextEpochRequest) Size() (n int)
func (*QueryBlocksUntilNextEpochRequest) String ¶
func (m *QueryBlocksUntilNextEpochRequest) String() string
func (*QueryBlocksUntilNextEpochRequest) Unmarshal ¶
func (m *QueryBlocksUntilNextEpochRequest) Unmarshal(dAtA []byte) error
func (*QueryBlocksUntilNextEpochRequest) XXX_DiscardUnknown ¶
func (m *QueryBlocksUntilNextEpochRequest) XXX_DiscardUnknown()
func (*QueryBlocksUntilNextEpochRequest) XXX_Marshal ¶
func (m *QueryBlocksUntilNextEpochRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlocksUntilNextEpochRequest) XXX_Merge ¶
func (m *QueryBlocksUntilNextEpochRequest) XXX_Merge(src proto.Message)
func (*QueryBlocksUntilNextEpochRequest) XXX_Size ¶
func (m *QueryBlocksUntilNextEpochRequest) XXX_Size() int
func (*QueryBlocksUntilNextEpochRequest) XXX_Unmarshal ¶
func (m *QueryBlocksUntilNextEpochRequest) XXX_Unmarshal(b []byte) error
type QueryBlocksUntilNextEpochResponse ¶
type QueryBlocksUntilNextEpochResponse struct { // The number of blocks until the next epoch starts BlocksUntilNextEpoch uint64 `` /* 126-byte string literal not displayed */ }
func (*QueryBlocksUntilNextEpochResponse) Descriptor ¶
func (*QueryBlocksUntilNextEpochResponse) Descriptor() ([]byte, []int)
func (*QueryBlocksUntilNextEpochResponse) GetBlocksUntilNextEpoch ¶
func (m *QueryBlocksUntilNextEpochResponse) GetBlocksUntilNextEpoch() uint64
func (*QueryBlocksUntilNextEpochResponse) Marshal ¶
func (m *QueryBlocksUntilNextEpochResponse) Marshal() (dAtA []byte, err error)
func (*QueryBlocksUntilNextEpochResponse) MarshalTo ¶
func (m *QueryBlocksUntilNextEpochResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlocksUntilNextEpochResponse) MarshalToSizedBuffer ¶
func (m *QueryBlocksUntilNextEpochResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlocksUntilNextEpochResponse) ProtoMessage ¶
func (*QueryBlocksUntilNextEpochResponse) ProtoMessage()
func (*QueryBlocksUntilNextEpochResponse) Reset ¶
func (m *QueryBlocksUntilNextEpochResponse) Reset()
func (*QueryBlocksUntilNextEpochResponse) Size ¶
func (m *QueryBlocksUntilNextEpochResponse) Size() (n int)
func (*QueryBlocksUntilNextEpochResponse) String ¶
func (m *QueryBlocksUntilNextEpochResponse) String() string
func (*QueryBlocksUntilNextEpochResponse) Unmarshal ¶
func (m *QueryBlocksUntilNextEpochResponse) Unmarshal(dAtA []byte) error
func (*QueryBlocksUntilNextEpochResponse) XXX_DiscardUnknown ¶
func (m *QueryBlocksUntilNextEpochResponse) XXX_DiscardUnknown()
func (*QueryBlocksUntilNextEpochResponse) XXX_Marshal ¶
func (m *QueryBlocksUntilNextEpochResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlocksUntilNextEpochResponse) XXX_Merge ¶
func (m *QueryBlocksUntilNextEpochResponse) XXX_Merge(src proto.Message)
func (*QueryBlocksUntilNextEpochResponse) XXX_Size ¶
func (m *QueryBlocksUntilNextEpochResponse) XXX_Size() int
func (*QueryBlocksUntilNextEpochResponse) XXX_Unmarshal ¶
func (m *QueryBlocksUntilNextEpochResponse) 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) // 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) // QueryAllPairsValConsAddrByConsumer returns a list of pair valconsensus address // between provider and consumer chain QueryAllPairsValConsAddrByConsumer(ctx context.Context, in *QueryAllPairsValConsAddrByConsumerRequest, opts ...grpc.CallOption) (*QueryAllPairsValConsAddrByConsumerResponse, error) // QueryParams returns all current values of provider parameters QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // QueryConsumerChainOptedInValidators returns a list of validators consensus addresses // that opted-in to the given consumer chain QueryConsumerChainOptedInValidators(ctx context.Context, in *QueryConsumerChainOptedInValidatorsRequest, opts ...grpc.CallOption) (*QueryConsumerChainOptedInValidatorsResponse, error) // QueryConsumerChainsValidatorHasToValidate returns a list of consumer chains // that a given validator must validate QueryConsumerChainsValidatorHasToValidate(ctx context.Context, in *QueryConsumerChainsValidatorHasToValidateRequest, opts ...grpc.CallOption) (*QueryConsumerChainsValidatorHasToValidateResponse, error) // QueryValidatorConsumerCommissionRate returns the commission rate a given // validator charges on a given consumer chain QueryValidatorConsumerCommissionRate(ctx context.Context, in *QueryValidatorConsumerCommissionRateRequest, opts ...grpc.CallOption) (*QueryValidatorConsumerCommissionRateResponse, error) // QueryConsumerValidators returns the latest set consumer-validator set for a given consumer ID // 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) // QueryBlocksUntilNextEpoch returns the number of blocks until the next epoch // starts and validator updates are sent to the consumer chains QueryBlocksUntilNextEpoch(ctx context.Context, in *QueryBlocksUntilNextEpochRequest, opts ...grpc.CallOption) (*QueryBlocksUntilNextEpochResponse, error) // QueryConsumerIdFromClientId returns the consumer id of the chain // associated with the provided client id QueryConsumerIdFromClientId(ctx context.Context, in *QueryConsumerIdFromClientIdRequest, opts ...grpc.CallOption) (*QueryConsumerIdFromClientIdResponse, error) // QueryConsumerChain returns the consumer chain // associated with the provided consumer id QueryConsumerChain(ctx context.Context, in *QueryConsumerChainRequest, opts ...grpc.CallOption) (*QueryConsumerChainResponse, 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 {
ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
}
func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor ¶
func (*QueryConsumerChainOptedInValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainOptedInValidatorsRequest) GetConsumerId ¶
func (m *QueryConsumerChainOptedInValidatorsRequest) GetConsumerId() 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 the 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 QueryConsumerChainRequest ¶
type QueryConsumerChainRequest struct {
ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
}
func (*QueryConsumerChainRequest) Descriptor ¶
func (*QueryConsumerChainRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainRequest) GetConsumerId ¶
func (m *QueryConsumerChainRequest) GetConsumerId() string
func (*QueryConsumerChainRequest) Marshal ¶
func (m *QueryConsumerChainRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainRequest) MarshalTo ¶
func (m *QueryConsumerChainRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainRequest) ProtoMessage ¶
func (*QueryConsumerChainRequest) ProtoMessage()
func (*QueryConsumerChainRequest) Reset ¶
func (m *QueryConsumerChainRequest) Reset()
func (*QueryConsumerChainRequest) Size ¶
func (m *QueryConsumerChainRequest) Size() (n int)
func (*QueryConsumerChainRequest) String ¶
func (m *QueryConsumerChainRequest) String() string
func (*QueryConsumerChainRequest) Unmarshal ¶
func (m *QueryConsumerChainRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainRequest) XXX_Marshal ¶
func (m *QueryConsumerChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainRequest) XXX_Merge ¶
func (m *QueryConsumerChainRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainRequest) XXX_Size ¶
func (m *QueryConsumerChainRequest) XXX_Size() int
func (*QueryConsumerChainRequest) XXX_Unmarshal ¶
func (m *QueryConsumerChainRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainResponse ¶
type QueryConsumerChainResponse struct { ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` OwnerAddress string `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` Metadata ConsumerMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata"` InitParams *ConsumerInitializationParameters `protobuf:"bytes,6,opt,name=init_params,json=initParams,proto3" json:"init_params,omitempty"` PowerShapingParams *PowerShapingParameters `protobuf:"bytes,7,opt,name=power_shaping_params,json=powerShapingParams,proto3" json:"power_shaping_params,omitempty"` }
func (*QueryConsumerChainResponse) Descriptor ¶
func (*QueryConsumerChainResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainResponse) GetChainId ¶
func (m *QueryConsumerChainResponse) GetChainId() string
func (*QueryConsumerChainResponse) GetConsumerId ¶
func (m *QueryConsumerChainResponse) GetConsumerId() string
func (*QueryConsumerChainResponse) GetInitParams ¶
func (m *QueryConsumerChainResponse) GetInitParams() *ConsumerInitializationParameters
func (*QueryConsumerChainResponse) GetMetadata ¶
func (m *QueryConsumerChainResponse) GetMetadata() ConsumerMetadata
func (*QueryConsumerChainResponse) GetOwnerAddress ¶
func (m *QueryConsumerChainResponse) GetOwnerAddress() string
func (*QueryConsumerChainResponse) GetPhase ¶
func (m *QueryConsumerChainResponse) GetPhase() string
func (*QueryConsumerChainResponse) GetPowerShapingParams ¶
func (m *QueryConsumerChainResponse) GetPowerShapingParams() *PowerShapingParameters
func (*QueryConsumerChainResponse) Marshal ¶
func (m *QueryConsumerChainResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainResponse) MarshalTo ¶
func (m *QueryConsumerChainResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainResponse) ProtoMessage ¶
func (*QueryConsumerChainResponse) ProtoMessage()
func (*QueryConsumerChainResponse) Reset ¶
func (m *QueryConsumerChainResponse) Reset()
func (*QueryConsumerChainResponse) Size ¶
func (m *QueryConsumerChainResponse) Size() (n int)
func (*QueryConsumerChainResponse) String ¶
func (m *QueryConsumerChainResponse) String() string
func (*QueryConsumerChainResponse) Unmarshal ¶
func (m *QueryConsumerChainResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainResponse) XXX_Marshal ¶
func (m *QueryConsumerChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainResponse) XXX_Merge ¶
func (m *QueryConsumerChainResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainResponse) XXX_Size ¶
func (m *QueryConsumerChainResponse) XXX_Size() int
func (*QueryConsumerChainResponse) XXX_Unmarshal ¶
func (m *QueryConsumerChainResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsRequest ¶
type QueryConsumerChainsRequest struct { // The phase of the consumer chains returned (optional) // Registered=1|Initialized=2|Launched=3|Stopped=4|Deleted=5 Phase ConsumerPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=interchain_security.ccv.provider.v1.ConsumerPhase" json:"phase,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryConsumerChainsRequest) Descriptor ¶
func (*QueryConsumerChainsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsRequest) GetPagination ¶
func (m *QueryConsumerChainsRequest) GetPagination() *query.PageRequest
func (*QueryConsumerChainsRequest) GetPhase ¶
func (m *QueryConsumerChainsRequest) GetPhase() ConsumerPhase
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"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryConsumerChainsResponse) Descriptor ¶
func (*QueryConsumerChainsResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsResponse) GetChains ¶
func (m *QueryConsumerChainsResponse) GetChains() []*Chain
func (*QueryConsumerChainsResponse) GetPagination ¶
func (m *QueryConsumerChainsResponse) GetPagination() *query.PageResponse
func (*QueryConsumerChainsResponse) Marshal ¶
func (m *QueryConsumerChainsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsResponse) MarshalTo ¶
func (m *QueryConsumerChainsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsResponse) ProtoMessage ¶
func (*QueryConsumerChainsResponse) ProtoMessage()
func (*QueryConsumerChainsResponse) Reset ¶
func (m *QueryConsumerChainsResponse) Reset()
func (*QueryConsumerChainsResponse) Size ¶
func (m *QueryConsumerChainsResponse) Size() (n int)
func (*QueryConsumerChainsResponse) String ¶
func (m *QueryConsumerChainsResponse) String() string
func (*QueryConsumerChainsResponse) Unmarshal ¶
func (m *QueryConsumerChainsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainsResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainsResponse) XXX_Marshal ¶
func (m *QueryConsumerChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsResponse) XXX_Merge ¶
func (m *QueryConsumerChainsResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsResponse) XXX_Size ¶
func (m *QueryConsumerChainsResponse) XXX_Size() int
func (*QueryConsumerChainsResponse) XXX_Unmarshal ¶
func (m *QueryConsumerChainsResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsValidatorHasToValidateRequest ¶
type QueryConsumerChainsValidatorHasToValidateRequest struct { // The consensus address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,1,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"` }
func (*QueryConsumerChainsValidatorHasToValidateRequest) Descriptor ¶
func (*QueryConsumerChainsValidatorHasToValidateRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsValidatorHasToValidateRequest) GetProviderAddress ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) GetProviderAddress() string
func (*QueryConsumerChainsValidatorHasToValidateRequest) Marshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) MarshalTo ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) ProtoMessage ¶
func (*QueryConsumerChainsValidatorHasToValidateRequest) ProtoMessage()
func (*QueryConsumerChainsValidatorHasToValidateRequest) Reset ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Reset()
func (*QueryConsumerChainsValidatorHasToValidateRequest) Size ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Size() (n int)
func (*QueryConsumerChainsValidatorHasToValidateRequest) String ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) String() string
func (*QueryConsumerChainsValidatorHasToValidateRequest) Unmarshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_DiscardUnknown()
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Marshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Merge ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Size ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Size() int
func (*QueryConsumerChainsValidatorHasToValidateRequest) XXX_Unmarshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerChainsValidatorHasToValidateResponse ¶
type QueryConsumerChainsValidatorHasToValidateResponse struct {
ConsumerIds []string `protobuf:"bytes,1,rep,name=consumer_ids,json=consumerIds,proto3" json:"consumer_ids,omitempty"`
}
func (*QueryConsumerChainsValidatorHasToValidateResponse) Descriptor ¶
func (*QueryConsumerChainsValidatorHasToValidateResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerChainsValidatorHasToValidateResponse) GetConsumerIds ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) GetConsumerIds() []string
func (*QueryConsumerChainsValidatorHasToValidateResponse) Marshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) MarshalTo ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) ProtoMessage ¶
func (*QueryConsumerChainsValidatorHasToValidateResponse) ProtoMessage()
func (*QueryConsumerChainsValidatorHasToValidateResponse) Reset ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Reset()
func (*QueryConsumerChainsValidatorHasToValidateResponse) Size ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Size() (n int)
func (*QueryConsumerChainsValidatorHasToValidateResponse) String ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) String() string
func (*QueryConsumerChainsValidatorHasToValidateResponse) Unmarshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_DiscardUnknown()
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Marshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Merge ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Size ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Size() int
func (*QueryConsumerChainsValidatorHasToValidateResponse) XXX_Unmarshal ¶
func (m *QueryConsumerChainsValidatorHasToValidateResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerGenesisRequest ¶
type QueryConsumerGenesisRequest struct {
ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
}
func (*QueryConsumerGenesisRequest) Descriptor ¶
func (*QueryConsumerGenesisRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerGenesisRequest) GetConsumerId ¶
func (m *QueryConsumerGenesisRequest) GetConsumerId() 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 QueryConsumerIdFromClientIdRequest ¶
type QueryConsumerIdFromClientIdRequest struct { // the client id (on the provider) that is tracking the consumer chain // the client id can be found from the consumer chain by querying (i.e., `query ccvconsumer provider-info`) ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
func (*QueryConsumerIdFromClientIdRequest) Descriptor ¶
func (*QueryConsumerIdFromClientIdRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerIdFromClientIdRequest) GetClientId ¶
func (m *QueryConsumerIdFromClientIdRequest) GetClientId() string
func (*QueryConsumerIdFromClientIdRequest) Marshal ¶
func (m *QueryConsumerIdFromClientIdRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsumerIdFromClientIdRequest) MarshalTo ¶
func (m *QueryConsumerIdFromClientIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerIdFromClientIdRequest) MarshalToSizedBuffer ¶
func (m *QueryConsumerIdFromClientIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerIdFromClientIdRequest) ProtoMessage ¶
func (*QueryConsumerIdFromClientIdRequest) ProtoMessage()
func (*QueryConsumerIdFromClientIdRequest) Reset ¶
func (m *QueryConsumerIdFromClientIdRequest) Reset()
func (*QueryConsumerIdFromClientIdRequest) Size ¶
func (m *QueryConsumerIdFromClientIdRequest) Size() (n int)
func (*QueryConsumerIdFromClientIdRequest) String ¶
func (m *QueryConsumerIdFromClientIdRequest) String() string
func (*QueryConsumerIdFromClientIdRequest) Unmarshal ¶
func (m *QueryConsumerIdFromClientIdRequest) Unmarshal(dAtA []byte) error
func (*QueryConsumerIdFromClientIdRequest) XXX_DiscardUnknown ¶
func (m *QueryConsumerIdFromClientIdRequest) XXX_DiscardUnknown()
func (*QueryConsumerIdFromClientIdRequest) XXX_Marshal ¶
func (m *QueryConsumerIdFromClientIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerIdFromClientIdRequest) XXX_Merge ¶
func (m *QueryConsumerIdFromClientIdRequest) XXX_Merge(src proto.Message)
func (*QueryConsumerIdFromClientIdRequest) XXX_Size ¶
func (m *QueryConsumerIdFromClientIdRequest) XXX_Size() int
func (*QueryConsumerIdFromClientIdRequest) XXX_Unmarshal ¶
func (m *QueryConsumerIdFromClientIdRequest) XXX_Unmarshal(b []byte) error
type QueryConsumerIdFromClientIdResponse ¶
type QueryConsumerIdFromClientIdResponse struct { // the consumer id of the chain associated with this client id ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
func (*QueryConsumerIdFromClientIdResponse) Descriptor ¶
func (*QueryConsumerIdFromClientIdResponse) Descriptor() ([]byte, []int)
func (*QueryConsumerIdFromClientIdResponse) GetConsumerId ¶
func (m *QueryConsumerIdFromClientIdResponse) GetConsumerId() string
func (*QueryConsumerIdFromClientIdResponse) Marshal ¶
func (m *QueryConsumerIdFromClientIdResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsumerIdFromClientIdResponse) MarshalTo ¶
func (m *QueryConsumerIdFromClientIdResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsumerIdFromClientIdResponse) MarshalToSizedBuffer ¶
func (m *QueryConsumerIdFromClientIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsumerIdFromClientIdResponse) ProtoMessage ¶
func (*QueryConsumerIdFromClientIdResponse) ProtoMessage()
func (*QueryConsumerIdFromClientIdResponse) Reset ¶
func (m *QueryConsumerIdFromClientIdResponse) Reset()
func (*QueryConsumerIdFromClientIdResponse) Size ¶
func (m *QueryConsumerIdFromClientIdResponse) Size() (n int)
func (*QueryConsumerIdFromClientIdResponse) String ¶
func (m *QueryConsumerIdFromClientIdResponse) String() string
func (*QueryConsumerIdFromClientIdResponse) Unmarshal ¶
func (m *QueryConsumerIdFromClientIdResponse) Unmarshal(dAtA []byte) error
func (*QueryConsumerIdFromClientIdResponse) XXX_DiscardUnknown ¶
func (m *QueryConsumerIdFromClientIdResponse) XXX_DiscardUnknown()
func (*QueryConsumerIdFromClientIdResponse) XXX_Marshal ¶
func (m *QueryConsumerIdFromClientIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsumerIdFromClientIdResponse) XXX_Merge ¶
func (m *QueryConsumerIdFromClientIdResponse) XXX_Merge(src proto.Message)
func (*QueryConsumerIdFromClientIdResponse) XXX_Size ¶
func (m *QueryConsumerIdFromClientIdResponse) XXX_Size() int
func (*QueryConsumerIdFromClientIdResponse) XXX_Unmarshal ¶
func (m *QueryConsumerIdFromClientIdResponse) XXX_Unmarshal(b []byte) error
type QueryConsumerValidatorsRequest ¶
type QueryConsumerValidatorsRequest struct {
ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
}
func (*QueryConsumerValidatorsRequest) Descriptor ¶
func (*QueryConsumerValidatorsRequest) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsRequest) GetConsumerId ¶
func (m *QueryConsumerValidatorsRequest) GetConsumerId() 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"` // [DEPRECATED] use `consumer_power` instead Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` // Deprecated: Do not use. // [DEPRECATED] use `consumer_commission_rate` instead Rate cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=rate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rate"` // Deprecated: Do not use. // The power of the validator used on the consumer chain ConsumerPower int64 `protobuf:"varint,5,opt,name=consumer_power,json=consumerPower,proto3" json:"consumer_power,omitempty"` // The rate to charge delegators on the consumer chain, as a fraction ConsumerCommissionRate cosmossdk_io_math.LegacyDec `` /* 158-byte string literal not displayed */ // The rate to charge delegators on the provider chain, as a fraction ProviderCommissionRate cosmossdk_io_math.LegacyDec `` /* 158-byte string literal not displayed */ // description defines the description terms for the validator Description types1.Description `protobuf:"bytes,8,opt,name=description,proto3" json:"description"` // provider_operator_address defines the address of the validator's operator ProviderOperatorAddress string `` /* 132-byte string literal not displayed */ // jailed defined whether the validator has been jailed from bonded status or not. Jailed bool `protobuf:"varint,10,opt,name=jailed,proto3" json:"jailed,omitempty"` // status is the validator status (bonded/unbonding/unbonded). Status types1.BondStatus `protobuf:"varint,11,opt,name=status,proto3,enum=cosmos.staking.v1beta1.BondStatus" json:"status,omitempty"` // provider_tokens defines the delegated tokens (incl. self-delegation). ProviderTokens cosmossdk_io_math.Int `` /* 127-byte string literal not displayed */ // The power of the validator used on the provider chain ProviderPower int64 `protobuf:"varint,13,opt,name=provider_power,json=providerPower,proto3" json:"provider_power,omitempty"` // validates_current_epoch defines whether the validator has to validate for the current epoch or not ValidatesCurrentEpoch bool `` /* 128-byte string literal not displayed */ }
func (*QueryConsumerValidatorsValidator) Descriptor ¶
func (*QueryConsumerValidatorsValidator) Descriptor() ([]byte, []int)
func (*QueryConsumerValidatorsValidator) GetConsumerKey ¶
func (m *QueryConsumerValidatorsValidator) GetConsumerKey() *crypto.PublicKey
func (*QueryConsumerValidatorsValidator) GetConsumerPower ¶
func (m *QueryConsumerValidatorsValidator) GetConsumerPower() int64
func (*QueryConsumerValidatorsValidator) GetDescription ¶
func (m *QueryConsumerValidatorsValidator) GetDescription() types1.Description
func (*QueryConsumerValidatorsValidator) GetJailed ¶
func (m *QueryConsumerValidatorsValidator) GetJailed() bool
func (*QueryConsumerValidatorsValidator) GetPower
deprecated
func (m *QueryConsumerValidatorsValidator) GetPower() int64
Deprecated: Do not use.
func (*QueryConsumerValidatorsValidator) GetProviderAddress ¶
func (m *QueryConsumerValidatorsValidator) GetProviderAddress() string
func (*QueryConsumerValidatorsValidator) GetProviderOperatorAddress ¶
func (m *QueryConsumerValidatorsValidator) GetProviderOperatorAddress() string
func (*QueryConsumerValidatorsValidator) GetProviderPower ¶
func (m *QueryConsumerValidatorsValidator) GetProviderPower() int64
func (*QueryConsumerValidatorsValidator) GetStatus ¶
func (m *QueryConsumerValidatorsValidator) GetStatus() types1.BondStatus
func (*QueryConsumerValidatorsValidator) GetValidatesCurrentEpoch ¶
func (m *QueryConsumerValidatorsValidator) GetValidatesCurrentEpoch() bool
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 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) // 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) // QueryAllPairsValConsAddrByConsumer returns a list of pair valconsensus address // between provider and consumer chain QueryAllPairsValConsAddrByConsumer(context.Context, *QueryAllPairsValConsAddrByConsumerRequest) (*QueryAllPairsValConsAddrByConsumerResponse, error) // QueryParams returns all current values of provider parameters QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // QueryConsumerChainOptedInValidators returns a list of validators consensus addresses // that opted-in to the given consumer chain QueryConsumerChainOptedInValidators(context.Context, *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, error) // QueryConsumerChainsValidatorHasToValidate returns a list of consumer chains // that a given validator must validate QueryConsumerChainsValidatorHasToValidate(context.Context, *QueryConsumerChainsValidatorHasToValidateRequest) (*QueryConsumerChainsValidatorHasToValidateResponse, error) // QueryValidatorConsumerCommissionRate returns the commission rate a given // validator charges on a given consumer chain QueryValidatorConsumerCommissionRate(context.Context, *QueryValidatorConsumerCommissionRateRequest) (*QueryValidatorConsumerCommissionRateResponse, error) // QueryConsumerValidators returns the latest set consumer-validator set for a given consumer ID // 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) // QueryBlocksUntilNextEpoch returns the number of blocks until the next epoch // starts and validator updates are sent to the consumer chains QueryBlocksUntilNextEpoch(context.Context, *QueryBlocksUntilNextEpochRequest) (*QueryBlocksUntilNextEpochResponse, error) // QueryConsumerIdFromClientId returns the consumer id of the chain // associated with the provided client id QueryConsumerIdFromClientId(context.Context, *QueryConsumerIdFromClientIdRequest) (*QueryConsumerIdFromClientIdResponse, error) // QueryConsumerChain returns the consumer chain // associated with the provided consumer id QueryConsumerChain(context.Context, *QueryConsumerChainRequest) (*QueryConsumerChainResponse, 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 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 id of the consumer chain ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
func (*QueryValidatorConsumerAddrRequest) Descriptor ¶
func (*QueryValidatorConsumerAddrRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerAddrRequest) Marshal ¶
func (m *QueryValidatorConsumerAddrRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerAddrRequest) MarshalTo ¶
func (m *QueryValidatorConsumerAddrRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrRequest) ProtoMessage ¶
func (*QueryValidatorConsumerAddrRequest) ProtoMessage()
func (*QueryValidatorConsumerAddrRequest) Reset ¶
func (m *QueryValidatorConsumerAddrRequest) Reset()
func (*QueryValidatorConsumerAddrRequest) Size ¶
func (m *QueryValidatorConsumerAddrRequest) Size() (n int)
func (*QueryValidatorConsumerAddrRequest) String ¶
func (m *QueryValidatorConsumerAddrRequest) String() string
func (*QueryValidatorConsumerAddrRequest) Unmarshal ¶
func (m *QueryValidatorConsumerAddrRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown()
func (*QueryValidatorConsumerAddrRequest) XXX_Marshal ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerAddrRequest) XXX_Merge ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerAddrRequest) XXX_Size ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Size() int
func (*QueryValidatorConsumerAddrRequest) XXX_Unmarshal ¶
func (m *QueryValidatorConsumerAddrRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerAddrResponse ¶
type QueryValidatorConsumerAddrResponse struct { // The address of the validator on the consumer chain ConsumerAddress string `protobuf:"bytes,1,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty"` }
func (*QueryValidatorConsumerAddrResponse) Descriptor ¶
func (*QueryValidatorConsumerAddrResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerAddrResponse) GetConsumerAddress ¶
func (m *QueryValidatorConsumerAddrResponse) GetConsumerAddress() string
func (*QueryValidatorConsumerAddrResponse) Marshal ¶
func (m *QueryValidatorConsumerAddrResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerAddrResponse) MarshalTo ¶
func (m *QueryValidatorConsumerAddrResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerAddrResponse) ProtoMessage ¶
func (*QueryValidatorConsumerAddrResponse) ProtoMessage()
func (*QueryValidatorConsumerAddrResponse) Reset ¶
func (m *QueryValidatorConsumerAddrResponse) Reset()
func (*QueryValidatorConsumerAddrResponse) Size ¶
func (m *QueryValidatorConsumerAddrResponse) Size() (n int)
func (*QueryValidatorConsumerAddrResponse) String ¶
func (m *QueryValidatorConsumerAddrResponse) String() string
func (*QueryValidatorConsumerAddrResponse) Unmarshal ¶
func (m *QueryValidatorConsumerAddrResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown()
func (*QueryValidatorConsumerAddrResponse) XXX_Marshal ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerAddrResponse) XXX_Merge ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerAddrResponse) XXX_Size ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Size() int
func (*QueryValidatorConsumerAddrResponse) XXX_Unmarshal ¶
func (m *QueryValidatorConsumerAddrResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerCommissionRateRequest ¶
type QueryValidatorConsumerCommissionRateRequest struct { ConsumerId string `protobuf:"bytes,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` // The consensus address of the validator on the provider chain ProviderAddress string `protobuf:"bytes,2,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"` }
func (*QueryValidatorConsumerCommissionRateRequest) Descriptor ¶
func (*QueryValidatorConsumerCommissionRateRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerCommissionRateRequest) GetConsumerId ¶
func (m *QueryValidatorConsumerCommissionRateRequest) GetConsumerId() string
func (*QueryValidatorConsumerCommissionRateRequest) GetProviderAddress ¶
func (m *QueryValidatorConsumerCommissionRateRequest) GetProviderAddress() string
func (*QueryValidatorConsumerCommissionRateRequest) Marshal ¶
func (m *QueryValidatorConsumerCommissionRateRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerCommissionRateRequest) MarshalTo ¶
func (m *QueryValidatorConsumerCommissionRateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorConsumerCommissionRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateRequest) ProtoMessage ¶
func (*QueryValidatorConsumerCommissionRateRequest) ProtoMessage()
func (*QueryValidatorConsumerCommissionRateRequest) Reset ¶
func (m *QueryValidatorConsumerCommissionRateRequest) Reset()
func (*QueryValidatorConsumerCommissionRateRequest) Size ¶
func (m *QueryValidatorConsumerCommissionRateRequest) Size() (n int)
func (*QueryValidatorConsumerCommissionRateRequest) String ¶
func (m *QueryValidatorConsumerCommissionRateRequest) String() string
func (*QueryValidatorConsumerCommissionRateRequest) Unmarshal ¶
func (m *QueryValidatorConsumerCommissionRateRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerCommissionRateRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_DiscardUnknown()
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Marshal ¶
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Merge ¶
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Size ¶
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Size() int
func (*QueryValidatorConsumerCommissionRateRequest) XXX_Unmarshal ¶
func (m *QueryValidatorConsumerCommissionRateRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorConsumerCommissionRateResponse ¶
type QueryValidatorConsumerCommissionRateResponse struct { // The rate to charge delegators on the consumer chain, as a fraction Rate cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rate"` }
func (*QueryValidatorConsumerCommissionRateResponse) Descriptor ¶
func (*QueryValidatorConsumerCommissionRateResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorConsumerCommissionRateResponse) Marshal ¶
func (m *QueryValidatorConsumerCommissionRateResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorConsumerCommissionRateResponse) MarshalTo ¶
func (m *QueryValidatorConsumerCommissionRateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorConsumerCommissionRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorConsumerCommissionRateResponse) ProtoMessage ¶
func (*QueryValidatorConsumerCommissionRateResponse) ProtoMessage()
func (*QueryValidatorConsumerCommissionRateResponse) Reset ¶
func (m *QueryValidatorConsumerCommissionRateResponse) Reset()
func (*QueryValidatorConsumerCommissionRateResponse) Size ¶
func (m *QueryValidatorConsumerCommissionRateResponse) Size() (n int)
func (*QueryValidatorConsumerCommissionRateResponse) String ¶
func (m *QueryValidatorConsumerCommissionRateResponse) String() string
func (*QueryValidatorConsumerCommissionRateResponse) Unmarshal ¶
func (m *QueryValidatorConsumerCommissionRateResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorConsumerCommissionRateResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_DiscardUnknown()
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Marshal ¶
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Merge ¶
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Size ¶
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Size() int
func (*QueryValidatorConsumerCommissionRateResponse) XXX_Unmarshal ¶
func (m *QueryValidatorConsumerCommissionRateResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorProviderAddrRequest ¶
type QueryValidatorProviderAddrRequest struct { // The consensus address of the validator on the consumer chain ConsumerAddress string `protobuf:"bytes,1,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty" yaml:"address"` // The id of the consumer chain ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` }
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) ChangeRewardDenoms ¶
func (*UnimplementedMsgServer) ChangeRewardDenoms(ctx context.Context, req *MsgChangeRewardDenoms) (*MsgChangeRewardDenomsResponse, error)
func (*UnimplementedMsgServer) CreateConsumer ¶
func (*UnimplementedMsgServer) CreateConsumer(ctx context.Context, req *MsgCreateConsumer) (*MsgCreateConsumerResponse, 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) RemoveConsumer ¶
func (*UnimplementedMsgServer) RemoveConsumer(ctx context.Context, req *MsgRemoveConsumer) (*MsgRemoveConsumerResponse, error)
func (*UnimplementedMsgServer) SetConsumerCommissionRate ¶
func (*UnimplementedMsgServer) SetConsumerCommissionRate(ctx context.Context, req *MsgSetConsumerCommissionRate) (*MsgSetConsumerCommissionRateResponse, error)
func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting ¶
func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting(ctx context.Context, req *MsgSubmitConsumerDoubleVoting) (*MsgSubmitConsumerDoubleVotingResponse, error)
func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour ¶
func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour(ctx context.Context, req *MsgSubmitConsumerMisbehaviour) (*MsgSubmitConsumerMisbehaviourResponse, error)
func (*UnimplementedMsgServer) UpdateConsumer ¶
func (*UnimplementedMsgServer) UpdateConsumer(ctx context.Context, req *MsgUpdateConsumer) (*MsgUpdateConsumerResponse, 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) QueryAllPairsValConsAddrByConsumer ¶
func (*UnimplementedQueryServer) QueryAllPairsValConsAddrByConsumer(ctx context.Context, req *QueryAllPairsValConsAddrByConsumerRequest) (*QueryAllPairsValConsAddrByConsumerResponse, error)
func (*UnimplementedQueryServer) QueryBlocksUntilNextEpoch ¶
func (*UnimplementedQueryServer) QueryBlocksUntilNextEpoch(ctx context.Context, req *QueryBlocksUntilNextEpochRequest) (*QueryBlocksUntilNextEpochResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChain ¶
func (*UnimplementedQueryServer) QueryConsumerChain(ctx context.Context, req *QueryConsumerChainRequest) (*QueryConsumerChainResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChainOptedInValidators ¶
func (*UnimplementedQueryServer) QueryConsumerChainOptedInValidators(ctx context.Context, req *QueryConsumerChainOptedInValidatorsRequest) (*QueryConsumerChainOptedInValidatorsResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChains ¶
func (*UnimplementedQueryServer) QueryConsumerChains(ctx context.Context, req *QueryConsumerChainsRequest) (*QueryConsumerChainsResponse, error)
func (*UnimplementedQueryServer) QueryConsumerChainsValidatorHasToValidate ¶
func (*UnimplementedQueryServer) QueryConsumerChainsValidatorHasToValidate(ctx context.Context, req *QueryConsumerChainsValidatorHasToValidateRequest) (*QueryConsumerChainsValidatorHasToValidateResponse, error)
func (*UnimplementedQueryServer) QueryConsumerGenesis ¶
func (*UnimplementedQueryServer) QueryConsumerGenesis(ctx context.Context, req *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
func (*UnimplementedQueryServer) QueryConsumerIdFromClientId ¶
func (*UnimplementedQueryServer) QueryConsumerIdFromClientId(ctx context.Context, req *QueryConsumerIdFromClientIdRequest) (*QueryConsumerIdFromClientIdResponse, 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) QueryRegisteredConsumerRewardDenoms ¶
func (*UnimplementedQueryServer) QueryRegisteredConsumerRewardDenoms(ctx context.Context, req *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error)
func (*UnimplementedQueryServer) QueryThrottleState ¶
func (*UnimplementedQueryServer) QueryThrottleState(ctx context.Context, req *QueryThrottleStateRequest) (*QueryThrottleStateResponse, error)
func (*UnimplementedQueryServer) QueryValidatorConsumerAddr ¶
func (*UnimplementedQueryServer) QueryValidatorConsumerAddr(ctx context.Context, req *QueryValidatorConsumerAddrRequest) (*QueryValidatorConsumerAddrResponse, error)
func (*UnimplementedQueryServer) QueryValidatorConsumerCommissionRate ¶
func (*UnimplementedQueryServer) QueryValidatorConsumerCommissionRate(ctx context.Context, req *QueryValidatorConsumerCommissionRateRequest) (*QueryValidatorConsumerCommissionRateResponse, error)
func (*UnimplementedQueryServer) QueryValidatorProviderAddr ¶
func (*UnimplementedQueryServer) QueryValidatorProviderAddr(ctx context.Context, req *QueryValidatorProviderAddrRequest) (*QueryValidatorProviderAddrResponse, error)
type ValidatorByConsumerAddr ¶
type ValidatorByConsumerAddr struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsumerAddr []byte `protobuf:"bytes,2,opt,name=consumer_addr,json=consumerAddr,proto3" json:"consumer_addr,omitempty"` ProviderAddr []byte `protobuf:"bytes,3,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"` }
Used to serialize the ValidatorConsumerAddr index from key assignment ValidatorByConsumerAddr: (chainID, consumerAddr consAddr) -> providerAddr consAddr
func (*ValidatorByConsumerAddr) Descriptor ¶
func (*ValidatorByConsumerAddr) Descriptor() ([]byte, []int)
func (*ValidatorByConsumerAddr) GetChainId ¶
func (m *ValidatorByConsumerAddr) GetChainId() string
func (*ValidatorByConsumerAddr) GetConsumerAddr ¶
func (m *ValidatorByConsumerAddr) GetConsumerAddr() []byte
func (*ValidatorByConsumerAddr) GetProviderAddr ¶
func (m *ValidatorByConsumerAddr) GetProviderAddr() []byte
func (*ValidatorByConsumerAddr) Marshal ¶
func (m *ValidatorByConsumerAddr) Marshal() (dAtA []byte, err error)
func (*ValidatorByConsumerAddr) MarshalTo ¶
func (m *ValidatorByConsumerAddr) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorByConsumerAddr) MarshalToSizedBuffer ¶
func (m *ValidatorByConsumerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorByConsumerAddr) ProtoMessage ¶
func (*ValidatorByConsumerAddr) ProtoMessage()
func (*ValidatorByConsumerAddr) Reset ¶
func (m *ValidatorByConsumerAddr) Reset()
func (*ValidatorByConsumerAddr) Size ¶
func (m *ValidatorByConsumerAddr) Size() (n int)
func (*ValidatorByConsumerAddr) String ¶
func (m *ValidatorByConsumerAddr) String() string
func (*ValidatorByConsumerAddr) Unmarshal ¶
func (m *ValidatorByConsumerAddr) Unmarshal(dAtA []byte) error
func (*ValidatorByConsumerAddr) XXX_DiscardUnknown ¶
func (m *ValidatorByConsumerAddr) XXX_DiscardUnknown()
func (*ValidatorByConsumerAddr) XXX_Marshal ¶
func (m *ValidatorByConsumerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorByConsumerAddr) XXX_Merge ¶
func (m *ValidatorByConsumerAddr) XXX_Merge(src proto.Message)
func (*ValidatorByConsumerAddr) XXX_Size ¶
func (m *ValidatorByConsumerAddr) XXX_Size() int
func (*ValidatorByConsumerAddr) XXX_Unmarshal ¶
func (m *ValidatorByConsumerAddr) XXX_Unmarshal(b []byte) error
type ValidatorConsumerPubKey ¶
type ValidatorConsumerPubKey struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ProviderAddr []byte `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"` ConsumerKey *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"` }
Used to serialize the ValidatorConsumerPubKey index from key assignment ValidatorConsumerPubKey: (chainID, providerAddr consAddr) -> consumerKey tmprotocrypto.PublicKey
func (*ValidatorConsumerPubKey) Descriptor ¶
func (*ValidatorConsumerPubKey) Descriptor() ([]byte, []int)
func (*ValidatorConsumerPubKey) GetChainId ¶
func (m *ValidatorConsumerPubKey) GetChainId() string
func (*ValidatorConsumerPubKey) GetConsumerKey ¶
func (m *ValidatorConsumerPubKey) GetConsumerKey() *crypto.PublicKey
func (*ValidatorConsumerPubKey) GetProviderAddr ¶
func (m *ValidatorConsumerPubKey) GetProviderAddr() []byte
func (*ValidatorConsumerPubKey) Marshal ¶
func (m *ValidatorConsumerPubKey) Marshal() (dAtA []byte, err error)
func (*ValidatorConsumerPubKey) MarshalTo ¶
func (m *ValidatorConsumerPubKey) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorConsumerPubKey) MarshalToSizedBuffer ¶
func (m *ValidatorConsumerPubKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorConsumerPubKey) ProtoMessage ¶
func (*ValidatorConsumerPubKey) ProtoMessage()
func (*ValidatorConsumerPubKey) Reset ¶
func (m *ValidatorConsumerPubKey) Reset()
func (*ValidatorConsumerPubKey) Size ¶
func (m *ValidatorConsumerPubKey) Size() (n int)
func (*ValidatorConsumerPubKey) String ¶
func (m *ValidatorConsumerPubKey) String() string
func (*ValidatorConsumerPubKey) Unmarshal ¶
func (m *ValidatorConsumerPubKey) Unmarshal(dAtA []byte) error
func (*ValidatorConsumerPubKey) XXX_DiscardUnknown ¶
func (m *ValidatorConsumerPubKey) XXX_DiscardUnknown()
func (*ValidatorConsumerPubKey) XXX_Marshal ¶
func (m *ValidatorConsumerPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorConsumerPubKey) XXX_Merge ¶
func (m *ValidatorConsumerPubKey) XXX_Merge(src proto.Message)
func (*ValidatorConsumerPubKey) XXX_Size ¶
func (m *ValidatorConsumerPubKey) XXX_Size() int
func (*ValidatorConsumerPubKey) XXX_Unmarshal ¶
func (m *ValidatorConsumerPubKey) XXX_Unmarshal(b []byte) error
type ValidatorSetChangePackets ¶
type ValidatorSetChangePackets struct {
List []types3.ValidatorSetChangePacketData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
}
ValidatorSetChangePackets is a pb list of ccv.ValidatorSetChangePacketData.
func (*ValidatorSetChangePackets) Descriptor ¶
func (*ValidatorSetChangePackets) Descriptor() ([]byte, []int)
func (*ValidatorSetChangePackets) GetList ¶
func (m *ValidatorSetChangePackets) GetList() []types3.ValidatorSetChangePacketData
func (*ValidatorSetChangePackets) Marshal ¶
func (m *ValidatorSetChangePackets) Marshal() (dAtA []byte, err error)
func (*ValidatorSetChangePackets) MarshalTo ¶
func (m *ValidatorSetChangePackets) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSetChangePackets) MarshalToSizedBuffer ¶
func (m *ValidatorSetChangePackets) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSetChangePackets) ProtoMessage ¶
func (*ValidatorSetChangePackets) ProtoMessage()
func (*ValidatorSetChangePackets) Reset ¶
func (m *ValidatorSetChangePackets) Reset()
func (*ValidatorSetChangePackets) Size ¶
func (m *ValidatorSetChangePackets) Size() (n int)
func (*ValidatorSetChangePackets) String ¶
func (m *ValidatorSetChangePackets) String() string
func (*ValidatorSetChangePackets) Unmarshal ¶
func (m *ValidatorSetChangePackets) Unmarshal(dAtA []byte) error
func (*ValidatorSetChangePackets) XXX_DiscardUnknown ¶
func (m *ValidatorSetChangePackets) XXX_DiscardUnknown()
func (*ValidatorSetChangePackets) XXX_Marshal ¶
func (m *ValidatorSetChangePackets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSetChangePackets) XXX_Merge ¶
func (m *ValidatorSetChangePackets) XXX_Merge(src proto.Message)
func (*ValidatorSetChangePackets) XXX_Size ¶
func (m *ValidatorSetChangePackets) XXX_Size() int
func (*ValidatorSetChangePackets) XXX_Unmarshal ¶
func (m *ValidatorSetChangePackets) XXX_Unmarshal(b []byte) error
type ValsetUpdateIdToHeight ¶
type ValsetUpdateIdToHeight struct { ValsetUpdateId uint64 `protobuf:"varint,1,opt,name=valset_update_id,json=valsetUpdateId,proto3" json:"valset_update_id,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
ValsetUpdateIdToHeight defines the genesis information for the mapping of each valset update id to a block height
func (*ValsetUpdateIdToHeight) Descriptor ¶
func (*ValsetUpdateIdToHeight) Descriptor() ([]byte, []int)
func (*ValsetUpdateIdToHeight) GetHeight ¶
func (m *ValsetUpdateIdToHeight) GetHeight() uint64
func (*ValsetUpdateIdToHeight) GetValsetUpdateId ¶
func (m *ValsetUpdateIdToHeight) GetValsetUpdateId() uint64
func (*ValsetUpdateIdToHeight) Marshal ¶
func (m *ValsetUpdateIdToHeight) Marshal() (dAtA []byte, err error)
func (*ValsetUpdateIdToHeight) MarshalTo ¶
func (m *ValsetUpdateIdToHeight) MarshalTo(dAtA []byte) (int, error)
func (*ValsetUpdateIdToHeight) MarshalToSizedBuffer ¶
func (m *ValsetUpdateIdToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValsetUpdateIdToHeight) ProtoMessage ¶
func (*ValsetUpdateIdToHeight) ProtoMessage()
func (*ValsetUpdateIdToHeight) Reset ¶
func (m *ValsetUpdateIdToHeight) Reset()
func (*ValsetUpdateIdToHeight) Size ¶
func (m *ValsetUpdateIdToHeight) Size() (n int)
func (*ValsetUpdateIdToHeight) String ¶
func (m *ValsetUpdateIdToHeight) String() string
func (*ValsetUpdateIdToHeight) Unmarshal ¶
func (m *ValsetUpdateIdToHeight) Unmarshal(dAtA []byte) error
func (*ValsetUpdateIdToHeight) XXX_DiscardUnknown ¶
func (m *ValsetUpdateIdToHeight) XXX_DiscardUnknown()
func (*ValsetUpdateIdToHeight) XXX_Marshal ¶
func (m *ValsetUpdateIdToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValsetUpdateIdToHeight) XXX_Merge ¶
func (m *ValsetUpdateIdToHeight) XXX_Merge(src proto.Message)
func (*ValsetUpdateIdToHeight) XXX_Size ¶
func (m *ValsetUpdateIdToHeight) XXX_Size() int
func (*ValsetUpdateIdToHeight) XXX_Unmarshal ¶
func (m *ValsetUpdateIdToHeight) XXX_Unmarshal(b []byte) error