# Functions

AllowlistCapKey returns the key to a validator's slash log.
ChainIdAndConsAddrKey returns the key with the following format: bytePrefix | len(chainID) | chainID | ConsAddress.
ChainIdAndTsKey returns the key with the following format: bytePrefix | len(chainID) | chainID | timestamp.
ChainIdAndUintIdKey returns the key with the following format: bytePrefix | len(chainID) | chainID | uint64(ID).
ChainIdWithLenKey returns the key with the following format: bytePrefix | len(chainID) | chainID.
ChainToChannelKey returns the key under which the CCV channel ID will be stored for the given consumer chain.
ChainToClientKey returns the key under which the clientID for the given chainID is stored.
ChannelToChainKey returns the key under which the consumer chain ID will be stored for the given channelID.
ConsumerAddrsToPruneKey returns the key under which the mapping from VSC ids to consumer validators addresses is stored.
ConsumerCommissionRateKey returns the key used to store the commission rate per validator per consumer chain.
ConsumerGenesisKey returns the key corresponding to consumer genesis state material (consensus state and client state) indexed by consumer chain id.
ConsumerRewardDenomsKey returns the key under which consumer reward denoms are stored.
ConsumerRewardsAllocationKey returns the key used to store the ICS rewards per consumer chain.
ConsumerValidatorKey returns the key of consumer chain `chainID` and validator with `providerAddr`.
ConsumerValidatorsKey returns the key under which the validator assigned keys for every consumer chain are stored.
No description provided by the author
DefaultParams is the default params for the provider module.
DenylistCapKey returns the key to a validator's slash log.
EquivocationEvidenceMinHeightKey returns the key storing the minimum height of a valid consumer equivocation evidence for a given consumer chain ID.
GlobalSlashEntryKey returns the key for storing a global slash queue entry.
InitChainHeightKey returns the key under which the block height for a given chain ID is stored.
InitTimeoutTimestampKey returns the key under which the init timeout timestamp for the given chainID is stored.
KeyAssignmentValidateBasic validates all the genesis state for key assignment This is a utility.
MaturedUnbondingOpsKey returns the key for storing the list of matured unbonding operations.
No description provided by the author
MustParseGlobalSlashEntryKey returns the received time and chainID for a global slash queue entry key, or panics if the key is invalid.
MustParseThrottledPacketDataKey parses a throttled packet data key or panics upon failure.
No description provided by the author
NewConsumerAdditionProposal creates a new consumer addition proposal.
NewConsumerConsAddress creates a new ConsumerConsAddress, a validator's assigned consensus address for a consumer chain.
NewConsumerModificationProposal creates a new consumer modification proposal.
NewConsumerRemovalProposal creates a new consumer removal proposal.
No description provided by the author
NewEquivocationProposal creates a new equivocation proposal.
No description provided by the author
NewGlobalSlashEntry creates a new GlobalSlashEntry.
NewMsgAssignConsumerKey creates a new MsgAssignConsumerKey instance.
No description provided by the author
NewMsgOptIn creates a new NewMsgOptIn instance.
NewMsgOptOut creates a new NewMsgOptIn instance.
NewMsgSetConsumerCommissionRate creates a new MsgSetConsumerCommissionRate msg instance.
No description provided by the author
No description provided by the author
NewParams creates new provider parameters with provided arguments.
NewProviderConsAddress creates a new ProviderConsAddress, a validator's consensus address on the provider chain.
No description provided by the author
OptedInKey returns the key used to store whether a validator is opted in on a consumer chain.
ParamKeyTable returns a key table with the necessary registered provider params.
ParseChainIdAndConsAddrKey returns the chain ID and ConsAddress for a ChainIdAndConsAddrKey key.
ParseChainIdAndTsKey returns the chain ID and time for a ChainIdAndTs key.
ParseChainIdAndUintIdKey returns the chain ID and uint ID for a ChainIdAndUintId key.
ParseConsumerKeyFromJson parses the consumer key from a JSON string, this replaces deserializing a protobuf any.
ParseProposedConsumerChainKey get the proposalID in the key.
ParseThrottledPacketDataKey parses a throttled packet data key.
ParseUnbondingOpIndexKey parses an unbonding op index key for VSC ID Removes the prefix + chainID from index key and returns only the key part.
ParseVscTimeoutTimestampKey returns chain ID and vsc ID for a VscSendingTimestampKey or an error if unparsable.
PendingCAPKey returns the key under which a pending consumer addition proposal is stored.
PendingCRPKey returns the key under which pending consumer removal proposals are stored.
PendingVSCsKey returns the key under which pending ValidatorSetChangePacket data is stored for a given chain ID.
PortKey returns the key to the port ID in the store.
ProposedConsumerChainKey returns the key of proposed consumer chainId in consumerAddition gov proposal before voting finishes, the stored key format is prefix|proposalID, value is chainID.
RegisterInterfaces registers the provider proposal structs to the interface registry.
RegisterLegacyAminoCodec registers the necessary x/ibc transfer interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
SlashAcksKey returns the key under which slashing acks are stored for a given chain ID.
SlashLogKey returns the key to a validator's slash log.
SlashMeterKey returns the key storing the slash meter.
SlashMeterReplenishTimeCandidateKey returns the key storing the slash meter replenish time candidate.
ThrottledPacketDataKey returns the key storing the throttled packet data queue for a given chain ID and ibc seq num.
ThrottledPacketDataSizeKey returns the key storing the size of the throttled packet data queue for a given chain ID.
TopNKey returns the key used to store the Top N value per consumer chain.
UnbondingOpIndexKey returns an unbonding op index key Note: chainId is hashed to a fixed length sequence of bytes here to prevent injection attack between chainIDs.
UnbondingOpKey returns the key that stores a record of all the ids of consumer chains that need to unbond before a given unbonding operation can unbond on this chain.
No description provided by the author
ValidatePSSFeatures returns an error if the `topN` and `validatorsPowerCap` parameters are no in the correct ranges.
No description provided by the author
ValidatorsByConsumerAddrKey returns the key under which the mapping from validator addresses on consumer chains to validator addresses on the provider chain is stored.
ValidatorSetCapKey returns the key of consumer chain `chainID`.
ValidatorSetUpdateIdKey is the key that stores the current validator set update id.
ValidatorSetPowerKey returns the key of consumer chain `chainID`.
ValsetUpdateBlockHeightKey returns the key that storing the mapping from valset update ID to block height.
No description provided by the author
VscSendingTimestampKey returns the key under which the sending timestamp of the VSCPacket with vsc ID is stored.

# Constants

AllowlistPrefix is the byte prefix storing the mapping from a consumer chain to the set of validators that are allowlisted.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
ChainToChannelBytePrefix is the byte prefix for storing mapping from chainID to the channel ID that is used to send over validator set changes.
ChainToClientBytePrefix is the byte prefix for storing the client ID for a given consumer chainID.
ChannelToChainBytePrefix is the byte prefix for storing mapping from the CCV channel ID to the consumer chain ID.
ConsumerAddrsToPruneBytePrefix is the byte prefix that will store the mapping from VSC ids to consumer validators addresses needed for pruning.
ConsumerCommissionRatePrefix is the byte prefix for storing the commission rate per validator per consumer chain.
ConsumerGenesisBytePrefix stores consumer genesis state material (consensus state and client state) indexed by consumer chain id.
ConsumerRewardDenomsBytePrefix is the byte prefix that will store a list of consumer reward denoms.
ConsumerRewardsAllocationBytePrefix is the byte prefix for storing for each consumer the ICS rewards allocated to the consumer rewards pool.
This address receives rewards from consumer chains.
ConsumerValidatorBytePrefix is the byte prefix used when storing for each consumer chain all the consumer validators in this epoch that are validating the consumer chain.
ConsumerValidatorsBytePrefix is the byte prefix that will store the validator assigned keys for every consumer chain.
DefaultBlocksPerEpoch defines the default blocks that constitute an epoch.
DefaultInitTimeoutPeriod defines the init timeout period.
DefaultMaxClockDrift defines how much new (untrusted) header's Time can drift into the future.
DefaultNumberOfEpochsToStartReceivingRewards defines the default minimum number of epochs required by a validator to validate during so that the validator can start receiving rewards.
DefaultSlashMeterReplenishFraction defines the default fraction of total voting power that is replenished to the slash meter every replenish period.
DefaultSlashMeterReplenishPeriod defines the default period for which the slash gas meter is replenished.
DefaultTrustingPeriodFraction is the default fraction used to compute TrustingPeriod as UnbondingPeriod * TrustingPeriodFraction.
Default validator set update ID.
DefaultVscTimeoutPeriod defines the VSC timeout period.
DenylistPrefix is the byte prefix storing the mapping from a consumer chain to the set of validators that are denylisted.
EquivocationEvidenceMinHeightBytePrefix is the byte prefix storing the mapping from consumer chain IDs to the minimum height of a valid consumer equivocation evidence.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
GlobalSlashEntryBytePrefix is the byte prefix storing global slash queue entries.
InitChainHeightBytePrefix is the byte prefix that will store the mapping from a chain id to the corresponding block height on the provider this consumer chain was initialized.
InitTimeoutTimestampBytePrefix is the byte prefix for storing the init timeout timestamp for a given consumer chainID.
KeyAssignmentReplacementsBytePrefix was the byte prefix used to store the key assignments that needed to be replaced in the current block NOTE: This prefix is deprecated, but left in place to avoid consumer state migrations [DEPRECATED].
MaturedUnbondingOpsByteKey is the byte key that stores the list of all unbonding operations ids that have matured from a consumer chain perspective, i.e., no longer waiting on the unbonding period to elapse on any consumer chain.
MinimumPowerInTopNBytePrefix is the byte prefix for storing the minimum power required to be in the top N per consumer chain.
ModuleName defines the CCV provider module name.
OptedInBytePrefix is the byte prefix for storing whether a validator is opted in to validate on a consumer chain.
PendingCAPBytePrefix is the byte prefix for storing pending consumer addition proposals before the spawn time occurs.
PendingCRPBytePrefix is the byte prefix for storing pending consumer removal proposals before the stop time occurs.
PendingVSCsBytePrefix is the byte prefix that will store pending ValidatorSetChangePacket data.
PortKey defines the key to store the port ID in store.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProposedConsumerChainByteKey is the byte prefix storing the consumer chainId in consumerAddition gov proposal submitted before voting finishes.
QuerierRoute is the querier route for IBC transfer.
RouterKey is the message route for IBC transfer.
SlashAcksBytePrefix is the byte prefix that will store consensus address of consumer chain validators successfully slashed on the provider chain.
SlashLogBytePrefix is the byte prefix that will store the mapping from provider address to boolean denoting whether the provider address has committed any double signign infractions.
SlashMeterByteKey is the byte key for storing the slash meter.
SlashMeterReplenishTimeCandidateByteKey is the byte key for storing the slash meter replenish time candidate.
StoreKey is the store key string for IBC transfer.
ThrottledPacketDataBytePrefix is the byte prefix storing throttled packet data.
ThrottledPacketDataSizeBytePrefix is the byte prefix for storing the size of chain-specific throttled packet data queues.
TopNBytePrefix is the byte prefix storing the mapping from a consumer chain to the N value of this chain, that corresponds to the N% of the top validators that have to validate this consumer chain.
provider message types.
provider message types.
provider message types.
provider message types.
provider message types.
provider message types.
UnbondingOpBytePrefix is the byte prefix that stores a record of all the ids of consumer chains that need to unbond before a given unbonding operation can unbond on this chain.
UnbondingOpIndexBytePrefix is byte prefix of the index for looking up which unbonding operations are waiting for a given consumer chain to unbond.
ValidatorsByConsumerAddrBytePrefix is the byte prefix that will store the mapping from validator addresses on consumer chains to validator addresses on the provider chain.
ValidatorSetCapPrefix is the byte prefix storing the mapping from a consumer chain to the validator-set cap value of this chain.
ValidatorSetUpdateIdByteKey is the byte key that stores the current validator set update id.
ValidatorsPowerCapPrefix is the byte prefix storing the mapping from a consumer chain to the power-cap value of this chain, that corresponds to p% such that no validator can have more than p% of the voting power on the consumer chain.
ValsetUpdateBlockHeightBytePrefix is the byte prefix that will store the mapping from vscIDs to block heights.
VSCMaturedHandledThisBlockBytePrefix is the byte prefix storing the number of vsc matured packets handled in the current block.
VscSendTimestampBytePrefix is the byte prefix for storing the list of VSC sending timestamps for a given consumer chainID.

# Variables

AminoCdc is a amino codec created to support amino json compatible msgs.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
Provider sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provider sentinel errors.
Provider sentinel errors.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
Reflection based keys for params subspace.
ModuleCdc references the global x/ibc-transfer module codec.

# Structs

AddressList contains a list of consensus addresses.
No description provided by the author
ChangeRewardDenomsProposal is a governance proposal on the provider chain to mutate the set of denoms accepted by the provider as rewards.
ChannelToChain is used to map a CCV channel ID to the consumer chainID.
ConsumerAdditionProposal is a governance proposal on the provider chain to spawn a new consumer chain.
ConsumerAdditionProposals holds pending governance proposals on the provider chain to spawn a new chain.
Used to serialize the ConsumerAddrsToPrune index from key assignment ConsumerAddrsToPrune: (chainID, vscID uint64) -> consumerAddrs AddressList.
A validator's assigned consensus address for a consumer chain.
ConsumerModificationProposal is a governance proposal on the provider chain to modify parameters of a running consumer chain.
ConsumerRemovalProposal is a governance proposal on the provider chain to remove (and stop) a consumer chain.
ConsumerRemovalProposals holds pending governance proposals on the provider chain to remove (and stop) a consumer chain.
ConsumerRewardsAllocation stores the rewards allocated by a consumer chain to the consumer rewards pool.
The provider CCV module's knowledge of consumer state.
ConsumerValidator is used to facilitate epoch-based transitions.
EquivocationProposal is a governance proposal on the provider chain to punish a validator for equivocation on a consumer chain.
ExportedVscSendTimestamps is VscSendTimestamp with chainID info for exporting to genesis.
GenesisState defines the CCV provider chain genesis state.
A persisted queue entry indicating that a slash packet data instance needs to be handled.
No description provided by the author
No description provided by the author
MaturedUnbondingOps defines a list of ids corresponding to ids of matured unbonding operations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgSetConsumerCommissionRate allows validators to set a per-consumer chain commission rate.
No description provided by the author
MsgSubmitConsumerDoubleVoting defines a message that reports a double signing infraction observed on a consumer chain.
No description provided by the author
MsgSubmitConsumerMisbehaviour defines a message that reports a light client attack, also known as a misbehaviour, observed on a consumer chain.
No description provided by the author
No description provided by the author
Params defines the parameters for CCV Provider module.
No description provided by the author
A validator's consensus address on the provider chain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SlashAcks contains cons addresses of consumer chain validators successfully slashed on the provider chain.
UnbondingOp contains the ids of consumer chains that need to unbond before the unbonding operation with the given ID can unbond.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
Used to serialize the ValidatorConsumerAddr index from key assignment ValidatorByConsumerAddr: (chainID, consumerAddr consAddr) -> providerAddr consAddr.
Used to serialize the ValidatorConsumerPubKey index from key assignment ValidatorConsumerPubKey: (chainID, providerAddr consAddr) -> consumerKey tmprotocrypto.PublicKey.
ValidatorSetChangePackets is a pb list of ccv.ValidatorSetChangePacketData.
ValsetUpdateIdToHeight defines the genesis information for the mapping of each valset update id to a block height.
No description provided by the author
VscUnbondingOps contains the IDs of unbonding operations that are waiting for at least one VSCMaturedPacket with vscID from a consumer chain.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

No description provided by the author