Module v1

Source

Modules§

msg_client
Generated client implementations.
msg_server
Generated server implementations.
query_client
Generated client implementations.
query_server
Generated server implementations.

Structs§

AddressList
AddressList contains a list of consensus addresses
Chain
ChangeRewardDenomsProposal
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.
ChannelToChain
WARNING: This message is deprecated and is not used. ChannelToChain is used to map a CCV channel ID to the consumer chainID
ConsensusValidator
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.
ConsumerAdditionProposal
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.
ConsumerAdditionProposals
ConsumerAdditionProposals holds pending governance proposals on the provider chain to spawn a new chain.
ConsumerAddrsToPruneV2
Used to serialize the ConsumerAddrsToPruneV2 index from key assignment ConsumerAddrsToPruneV2: (chainID, pruneTs time.Time) -> consumerAddrs AddressList
ConsumerIds
ConsumerIds contains consumer ids of chains Used so we can easily (de)serialize slices of strings
ConsumerInitializationParameters
ConsumerInitializationParameters are the parameters needed to launch a chain
ConsumerMetadata
ConsumerMetadata contains general information about the registered chain
ConsumerModificationProposal
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.
ConsumerRemovalProposal
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.
ConsumerRemovalProposals
ConsumerRemovalProposals holds pending governance proposals on the provider chain to remove (and stop) a consumer chain.
ConsumerRewardsAllocation
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.
ConsumerState
The provider CCV module’s knowledge of consumer state.
EquivocationProposal
EquivocationProposal is a governance proposal on the provider chain to punish a validator for equivocation on a consumer chain.
GenesisState
GenesisState defines the CCV provider chain genesis state
GlobalSlashEntry
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.
KeyAssignmentReplacement
MsgAssignConsumerKey
MsgAssignConsumerKeyResponse
MsgChangeRewardDenoms
ChangeRewardDenomsProposal is a governance proposal on the provider chain to mutate the set of denoms accepted by the provider as rewards.
MsgChangeRewardDenomsResponse
MsgChangeRewardDenomsResponse defines response type for MsgChangeRewardDenoms messages
MsgConsumerAddition
[DEPRECATED] Use MsgCreateConsumer instead
MsgConsumerModification
[DEPRECATED] Use MsgUpdateConsumer instead
MsgConsumerModificationResponse
MsgConsumerRemoval
[DEPRECATED] Use MsgRemoveConsumer instead
MsgCreateConsumer
MsgCreateConsumer defines the message that creates a consumer chain
MsgCreateConsumerResponse
MsgCreateConsumerResponse defines response type for MsgCreateConsumer
MsgOptIn
MsgOptInResponse
MsgOptOut
MsgOptOutResponse
MsgRemoveConsumer
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.
MsgRemoveConsumerResponse
MsgRemoveConsumerResponse defines response type for MsgRemoveConsumer messages
MsgSetConsumerCommissionRate
MsgSetConsumerCommissionRate allows validators to set a per-consumer chain commission rate
MsgSetConsumerCommissionRateResponse
MsgSubmitConsumerDoubleVoting
MsgSubmitConsumerDoubleVoting defines a message that reports a double signing infraction observed on a consumer chain
MsgSubmitConsumerDoubleVotingResponse
MsgSubmitConsumerMisbehaviour
MsgSubmitConsumerMisbehaviour defines a message that reports a light client attack, also known as a misbehaviour, observed on a consumer chain
MsgSubmitConsumerMisbehaviourResponse
MsgUpdateConsumer
MsgUpdateConsumer defines the message used to modify a consumer chain.
MsgUpdateConsumerResponse
MsgUpdateConsumerResponse defines response type for MsgUpdateConsumer messages
MsgUpdateParams
MsgUpdateParams is the Msg/UpdateParams request type
MsgUpdateParamsResponse
PairValConAddrProviderAndConsumer
Params
Params defines the parameters for CCV Provider module
PowerShapingParameters
PowerShapingParameters contains parameters that shape the validator set that we send to the consumer chain
QueryAllPairsValConsAddrByConsumerRequest
QueryAllPairsValConsAddrByConsumerResponse
QueryBlocksUntilNextEpochRequest
QueryBlocksUntilNextEpochResponse
QueryConsumerChainOptedInValidatorsRequest
QueryConsumerChainOptedInValidatorsResponse
QueryConsumerChainRequest
QueryConsumerChainResponse
QueryConsumerChainsRequest
QueryConsumerChainsResponse
QueryConsumerChainsValidatorHasToValidateRequest
QueryConsumerChainsValidatorHasToValidateResponse
QueryConsumerGenesisRequest
QueryConsumerGenesisResponse
QueryConsumerIdFromClientIdRequest
QueryConsumerIdFromClientIdResponse
QueryConsumerValidatorsRequest
QueryConsumerValidatorsResponse
QueryConsumerValidatorsValidator
QueryParamsRequest
QueryParamsResponse
QueryRegisteredConsumerRewardDenomsRequest
QueryRegisteredConsumerRewardDenomsResponse
QueryThrottleStateRequest
QueryThrottleStateResponse
QueryValidatorConsumerAddrRequest
QueryValidatorConsumerAddrResponse
QueryValidatorConsumerCommissionRateRequest
QueryValidatorConsumerCommissionRateResponse
QueryValidatorProviderAddrRequest
QueryValidatorProviderAddrResponse
SlashAcks
SlashAcks contains cons addresses of consumer chain validators successfully slashed on the provider chain.
ValidatorByConsumerAddr
Used to serialize the ValidatorConsumerAddr index from key assignment ValidatorByConsumerAddr: (chainID, consumerAddr consAddr) -> providerAddr consAddr
ValidatorConsumerPubKey
Used to serialize the ValidatorConsumerPubKey index from key assignment ValidatorConsumerPubKey: (chainID, providerAddr consAddr) -> consumerKey tmprotocrypto.PublicKey
ValidatorSetChangePackets
ValidatorSetChangePackets is a pb list of ccv.ValidatorSetChangePacketData.
ValsetUpdateIdToHeight
ValsetUpdateIdToHeight defines the genesis information for the mapping of each valset update id to a block height

Enums§

ConsumerPhase
ConsumerPhase indicates the phases of a consumer chain according to ADR 019