# Functions

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.
ConsumerGenesisKey returns the key corresponding to consumer genesis state material (consensus state and client state) indexed by consumer chain id.
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.
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.
KeyAssignmentReplacementsKey returns the key under which the key assignments that need to be replaced in the current block are 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.
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.
NewConsumerAdditionProposal creates a new consumer addition proposal.
NewConsumerConsAddress creates a new ConsumerConsAddress, a validator's assigned consensus address for a consumer chain.
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
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
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.
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.
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.
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.
ValidatorsByConsumerAddrKey returns the key under which the mapping from validator addresses on consumer chains to validator addresses on the provider chain is stored.
ValidatorSetUpdateIdKey is the key that stores the current validator set update id.
ValsetUpdateBlockHeightKey returns the key that storing the mapping from valset update ID to block height.
VscSendingTimestampKey returns the key under which the sending timestamp of the VSCPacket with vsc ID is stored.

# Constants

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.
ConsumerGenesisBytePrefix stores consumer genesis state material (consensus state and client state) indexed by consumer chain id.
ConsumerValidatorsBytePrefix is the byte prefix that will store the validator assigned keys for every consumer chain.
DefaultInitTimeoutPeriod defines the init timeout period.
DefaultMaxClockDrift defines how much new (untrusted) header's Time can drift into the future.
DefaultMaxThrottledPackets defines the default amount of throttled slash or vsc matured packets that can be queued for a single consumer before the provider chain halts.
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.
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 is the byte prefix that will store the key assignments that need to be replaced in the current block.
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.
ModuleName defines the CCV provider module name.
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
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 commited 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.
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.
ValidatorSetUpdateIdByteKey is the byte key that stores the current validator set update id.
ValsetUpdateBlockHeightBytePrefix is the byte prefix that will store the mapping from vscIDs to block heights.
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.
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.
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.
ModuleCdc references the global x/ibc-transfer module codec.

# Structs

No description provided by the author
No description provided by the author
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.
ConsumerAddressList contains a list of consumer consensus addresses.
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.
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.
consumer chain.
No description provided by the author
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
No description provided by the author
No description provided by the author
No description provided by the author
Params defines the parameters for CCV Provider module.
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
SlashAcks contains cons addresses of consumer chain validators successfully slashed on the provider chain.
ThrottledPacketDataWrapper contains either SlashPacketData or VSCMaturedPacketData.
No description provided by the author
No description provided by the author
A query wrapper type for the global entry and data relevant to a throttled slash packet.
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.
ValsetUpdateIdToHeight defines the genesis information for the mapping of each valset udpate 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