# Functions
AllowlistKey returns the key for storing consumer chains allowlists.
AllowlistKeyPrefix returns the key prefix for storing consumer chains allowlists.
ChannelIdToConsumerIdKeyPrefix returns the key prefix for storing the consumer chain ids.
ChannelToConsumerIdKey returns the key under which the consumer chain id will be stored for the given channelId.
ClientIdToConsumerIdKey returns the consumer id that corresponds to this client id.
ConsumerAddrsToPruneV2Key returns the key for storing the consumer validators addresses that need to be pruned.
ConsumerAddrsToPruneV2KeyPrefix returns the key prefix for storing the consumer validators addresses that need to be pruned.
ConsumerCommissionRateKey returns the key used to store the commission rate per validator per consumer chain.
ConsumerCommissionRateKeyPrefix returns the key prefix for storing 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 id.
ConsumerIdKey returns the key used to store the consumerId of the next registered chain.
ConsumerIdToAllowlistedRewardDenomKey returns the key used to store the allowlisted reward denom that corresponds to this consumer id.
ConsumerIdToAllowlistedRewardDenomKeyPrefix returns the key prefix for storing the allowlisted reward denom that corresponds to this consumer id.
ConsumerIdToChainIdKey returns the key used to store the chain id of this consumer id.
ConsumerIdToChannelIdKey returns the key under which the CCV channel ID will be stored for the given consumer chain.
ConsumerIdToClientIdKey returns the key under which the clientId for the given consumerId is stored.
ConsumerIdToClientIdKeyPrefix returns the key prefix for storing the clientId for the given consumerId.
ConsumerIdToInitializationParametersKey returns the key used to store the initialization parameters that corresponds to this consumer id.
ConsumerIdToInitializationParametersKeyPrefix returns the key prefix for storing consumer initialization parameters.
ConsumerIdToMetadataKey returns the key used to store the metadata that corresponds to this consumer id.
ConsumerIdToMetadataKeyPrefix returns the key prefix for storing consumer metadata.
ConsumerIdToOwnerAddressKey returns the owner address of this consumer id.
ConsumerIdToPhaseKey returns the key used to store the phase that corresponds to this consumer id.
ConsumerIdToPhaseKeyPrefix returns the key prefix used to iterate over all the consumer ids and their phases.
ConsumerIdToPowerShapingParametersKey returns the key used to store the power-shaping parameters that corresponds to this consumer id.
ConsumerIdToRemovalTimeKey returns the key used to store the removal time that corresponds to a to-be-removed chain with consumer id.
ConsumerIdToRemovalTimeKeyPrefix returns the key prefix for storing the removal times of consumer chains that are about to be removed.
ConsumerRewardDenomsKey returns the key for storing consumer reward denoms.
ConsumerRewardDenomsKeyPrefix returns the key prefix for storing consumer reward denoms.
ConsumerRewardsAllocationByDenomKey returns the key used to store the ICS rewards per consumer chain.
ConsumerRewardsAllocationByDenomKeyPrefix returns the key prefix for storing the allowlisted reward denom that corresponds to this consumer id.
ConsumerValidatorKey returns the key for storing consumer validators for the given consumer chain `consumerId` and validator with `providerAddr`.
ConsumerValidatorKeyPrefix returns the key prefix for storing consumer validators.
ConsumerValidatorsKey returns the key under which the validator assigned keys for every consumer chain are stored.
ConsumerValidatorsKey returns the key for storing the validator assigned keys for every consumer chain.
No description provided by the author
No description provided by the author
DefaultParams is the default params for the provider module.
DenylistKey returns the key for storing consumer chains denylists.
DenylistKeyPrefix returns the key prefix for storing consumer chains denylists.
EquivocationEvidenceMinHeightKey returns the key storing the minimum height of a valid consumer equivocation evidence for a given consumer id.
GetAllKeys returns the names of all the keys.
GetAllKeyPrefixes returns all the key prefixes.
InitChainHeightKey returns the key under which the block height for a given consumer id is stored.
KeyAssignmentValidateBasic validates all the genesis state for key assignment This is a utility.
LastProviderConsensusValsPrefix returns the key prefix for storing the last validator set sent to the consensus engine of the provider chain.
No description provided by the author
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
NewMsgAssignConsumerKey creates a new MsgAssignConsumerKey instance.
No description provided by the author
NewMsgCreateConsumer creates a new MsgCreateConsumer instance.
NewMsgOptIn creates a new NewMsgOptIn instance.
NewMsgOptOut creates a new NewMsgOptIn instance.
NewMsgRemoveConsumer creates a new MsgRemoveConsumer instance.
NewMsgSetConsumerCommissionRate creates a new MsgSetConsumerCommissionRate msg instance.
No description provided by the author
No description provided by the author
NewMsgUpdateConsumer creates a new MsgUpdateConsumer instance.
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.
OptedInKeyPrefix returns the key prefix for storing whether a validator is opted in on a consumer chain.
ParametersKey returns the key for the parameters of the provider module in the store.
ParamKeyTable returns a key table with the necessary registered provider params.
ParseConsumerKeyFromJson parses the consumer key from a JSON string, this replaces deserializing a protobuf any.
ParseStringIdAndConsAddrKey returns the string ID and ConsAddress for a StringIdAndConsAddr key.
ParseStringIdAndTsKey returns the string id and time for a StringIdAndTs key.
ParseStringIdAndUintIdKey returns the string ID and uint ID for a StringIdAndUintId key.
ParseStringIdWithLenKey returns the stringId of a StringIdWithLen key.
ParseTime returns the marshalled time.
PendingVSCsKey returns the key under which pending ValidatorSetChangePacket data is stored for a given consumer id.
PortKey returns the key to the port ID in the store.
RegisterInterfaces registers the provider proposal structs to the interface registry.
No description provided by the author
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
RemovalTimeToConsumerIdsKey returns the key prefix for storing the removal times of consumer chains that are about to be removed.
RemovalTimeToConsumerIdsKeyPrefix returns the key prefix for storing pending chains that are to be removed.
SlashAcksKey returns the key under which slashing acks are stored for a given consumer 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.
SpawnTimeToConsumerIdsKey returns the key prefix for storing the spawn times of consumer chains that are about to be launched.
SpawnTimeToConsumerIdsKeyPrefix returns the key prefix for storing pending chains that are to be launched.
StringIdAndConsAddrKey returns the key with the following format: bytePrefix | len(stringId) | stringId | ConsAddress.
StringIdAndTsKey returns the key with the following format: bytePrefix | len(stringId) | stringId | timestamp.
StringIdAndUintIdKey returns the key with the following format: bytePrefix | len(stringId) | stringId | uint64(ID).
StringIdWithLenKey returns the key with the following format: bytePrefix | len(stringId) | stringId.
TruncateString truncates a string to maximum length characters.
ValidateAllowlistedRewardDenoms validates the provided allowlisted reward denoms.
No description provided by the author
No description provided by the author
ValidateConsAddressList validates a list of consensus addresses.
ValidateConsumerMetadata validates that all the provided metadata are in the expected range.
ValidateHeaderForConsumerDoubleVoting validates Tendermint light client header for consumer double voting evidence.
No description provided by the author
ValidateInitializationParameters validates that all the provided parameters are in the expected range.
ValidatePowerShapingParameters validates that all the provided power-shaping parameters are in the expected range.
ValidateStringField validates that a string `field` satisfies the following properties: - is not empty - has at most `maxLength` characters.
No description provided by the author
ValidatorsByConsumerAddrKey returns the key for storing the mapping from validator addresses on consumer chains to validator addresses on the provider chain.
ValidatorsByConsumerAddrKeyPrefix returns the key prefix for storing the mapping from validator addresses on consumer chains to validator addresses on the provider chain.
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.
ValsetUpdateBlockHeightKeyPrefix returns the key prefix that storing the mapping from valset update ID to block height.
# Constants
No description provided by the author
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
No description provided by the author
No description provided by the author
DELETED defines the phase in which the state of a stopped chain has been deleted.
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).
LAUNCHED defines the phase in which a consumer chain is running and consuming a subset of the validator set of the provider.
REGISTERED defines the phase in which a consumer chain has been assigned a unique consumer id.
STOPPED defines the phase in which a previously-launched chain has stopped.
UNSPECIFIED defines an empty phase.
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
This address receives rewards from consumer chains.
No description provided by the author
No description provided by the author
DefaultBlocksPerEpoch defines the default blocks that constitute an epoch.
DefaultMaxClockDrift defines how much new (untrusted) header's Time can drift into the future.
DefaultMaxProviderConsensusValidators is the default maximum number of validators that will be passed on from the staking module to the consensus engine on the provider.
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.
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
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
Provider events.
No description provided by the author
No description provided by the author
MaxAllowlistedRewardDenomsPerChain corresponds to the maximum number of reward denoms a consumer chain can allowlist.
MaxDescriptionLength defines the maximum consumer description length.
MaxHashLength defines the maximum length of a hash.
MaxMetadataLength defines the maximum consumer metadata length.
MaxNameLength defines the maximum consumer name length.
MaxValidatorCount defines the maximum number of validators.
No description provided by the author
ModuleName defines the CCV provider module name.
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
QuerierRoute is the querier route for IBC transfer.
No description provided by the author
RouterKey is the message route for IBC transfer.
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
StoreKey is the store key string for IBC transfer.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
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.
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.
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.
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.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
Reflection based keys for params subspace Legacy: usage of x/params for parameters is deprecated.
ModuleCdc references the global x/ibc-transfer module codec.
# Structs
AddressList contains a list of consensus addresses.
AllowlistedRewardDenoms corresponds to the denoms allowlisted by a specific consumer id.
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.
WARNING: This message is deprecated and is not used.
ConsensusValidator is used to express a validator that should be validating on a chain.
WARNING: This message is deprecated in favor of `MsgCreateConsumer`.
ConsumerAdditionProposals holds pending governance proposals on the provider chain to spawn a new chain.
Used to serialize the ConsumerAddrsToPruneV2 index from key assignment ConsumerAddrsToPruneV2: (chainID, pruneTs time.Time) -> consumerAddrs AddressList.
A validator's assigned consensus address for a consumer chain.
ConsumerIds contains consumer ids of chains Used so we can easily (de)serialize slices of strings.
ConsumerInitializationParameters are the parameters needed to launch a chain.
ConsumerMetadata contains general information about the registered chain.
WARNING: This message is deprecated in favor of `MsgUpdateConsumer`.
WARNING: This message is deprecated in favor of `MsgRemoveConsumer`.
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.
EquivocationProposal is a governance proposal on the provider chain to punish a validator for equivocation on a consumer chain.
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
ChangeRewardDenomsProposal is a governance proposal on the provider chain to mutate the set of denoms accepted by the provider as rewards.
MsgChangeRewardDenomsResponse defines response type for MsgChangeRewardDenoms messages.
[DEPRECATED] Use `MsgCreateConsumer` instead
Deprecated: Do not use.
[DEPRECATED] Use `MsgUpdateConsumer` instead
Deprecated: Do not use.
No description provided by the author
[DEPRECATED] Use `MsgRemoveConsumer` instead
Deprecated: Do not use.
MsgCreateConsumer defines the message that creates a consumer chain.
MsgCreateConsumerResponse defines response type for MsgCreateConsumer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgRemoveConsumer defines the message used to remove (and stop) a consumer chain.
MsgRemoveConsumerResponse defines response type for MsgRemoveConsumer messages.
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
MsgUpdateConsumer defines the message used to modify a consumer chain.
MsgUpdateConsumerResponse defines response type for MsgUpdateConsumer messages.
MsgUpdateParams is the Msg/UpdateParams request type.
No description provided by the author
No description provided by the author
Params defines the parameters for CCV Provider module.
PowerShapingParameters contains parameters that shape the validator set that we send to the consumer chain.
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
SlashAcks contains cons addresses of consumer chain validators successfully slashed on the provider chain.
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.
# 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
ConsumerPhase indicates the phases of a consumer chain according to ADR 019.
No description provided by the author