# Functions
No description provided by the author
AppendMany appends a variable number of byte slices together.
No description provided by the author
CreateTransferMemo creates a memo for the IBC transfer of ICS rewards.
DefaultConsumerGenesisState returns a default disabled consumer chain genesis state.
DefaultParams is the default params for the consumer module.
GetConsAddrFromBech32 returns a ConsAddress from a Bech32 with an arbitrary prefix.
GetLastBondedValidatorsUtil iterates the last validator powers in the staking module and returns the first maxVals many validators with the largest powers.
No description provided by the author
No description provided by the author
No description provided by the author
NewInitialConsumerGenesisState returns a ConsumerGenesisState for a completely new consumer chain.
NewParams creates new consumer parameters with provided arguments.
No description provided by the author
No description provided by the author
NewSlashPacketDataV1 creates a new SlashPacketDataV1 that uses ccv.InfractionTypes to maintain backward compatibility.
No description provided by the author
No description provided by the author
No description provided by the author
ParamKeyTable type declaration for parameters.
SendIBCPacket sends an IBC packet with packetData over the source channelID and portID.
TMCryptoPublicKeyToConsAddr converts a TM public key to an SDK public key and returns the associated consensus address.
No description provided by the author
No description provided by the author
No description provided by the author
ValidateConsumerId validates the provided consumer id and returns an error if it is not valid.
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
# Constants
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
ConsumerPortID is the default port id the consumer CCV module binds to.
about 2 hr at 7.6 seconds per blocks.
Default timeout period is 4 weeks to ensure channel doesn't close on timeout.
The default fraction of tokens allocated to the consumer redistribution address during distribution events.
In general, the default unbonding period on the consumer is one day less than the default unbonding period on the provider, where the provider uses the staking module default.
Default number of historical info entries to persist in store.
Default retry delay period is 1 hour.
Default transfer timeout period is 1 hour, less than the default blocks per dist transmission * average block time.
DOUBLE_SIGN defines a validator that double-signs a block.
DOWNTIME defines a validator that missed signing too many blocks.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
CCV events.
UNSPECIFIED defines an empty infraction type.
MemStoreKey defines the in-memory store key.
ModuleName defines the CCV module name.
ProviderPortID is the default port id the provider CCV module binds to.
No description provided by the author
Slash packet.
StoreKey defines the primary module store key.
UNSPECIFIED packet type.
Version defines the current version the IBC CCV provider and consumer module supports.
VSCMatured packet.
# Variables
No description provided by the author
No description provided by the author
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
No description provided by the author
No description provided by the author
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
No description provided by the author
No description provided by the author
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV sentinel errors.
CCV 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
Reflection based keys for params subspace.
No description provided by the author
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.
Reflection based keys for params subspace.
ModuleCdc references the global x/ibc-transfer module codec.
Slash packet bounced result ack, sent by a throttling v2 provider to indicate that a slash packet was NOT handled and should eventually be retried.
Slash packet handled result ack, sent by a throttling v2 provider to indicate that a slash packet was handled.
The result ack that has historically been sent from the provider.
# Structs
ConsumerGenesisState defines shared genesis information between provider and consumer.
ConsumerPacketData contains a consumer packet data and a type tag.
No description provided by the author
No description provided by the author
ConsumerPacketData contains a consumer packet data and a type tag that is compatible with ICS v1 and v2 over the wire.
No description provided by the author
No description provided by the author
ConsumerParams defines the parameters for CCV consumer module.
Note this type is used during IBC handshake methods for both the consumer and provider.
ProviderInfo defines all information a consumer needs from a provider Shared data type between provider and consumer.
No description provided by the author
This packet is sent from the consumer chain to the provider chain to request the slashing of a validator as a result of an infraction committed on the consumer chain.
This packet is sent from the consumer chain to the provider chain It is backward compatible with the ICS v1 and v2 version of the packet.
This packet is sent from provider chain to consumer chain if the validator set for consumer chain changes (due to new bonding/unbonding messages or slashing events) A VSCMatured packet from consumer chain will be sent asynchronously once unbonding period is over, and this will function as `UnbondingOver` message for this packet.
This packet is sent from the consumer chain to the provider chain to notify that a VSC packet reached maturity on the consumer chain.
# Interfaces
AccountKeeper defines the expected account keeper used for simulations.
BankKeeper defines the expected interface needed to retrieve account balances.
ChannelKeeper defines the expected IBC channel keeper.
ClientKeeper defines the expected IBC client keeper.
ConnectionKeeper defines the expected IBC connection keeper.
ConsumerHooks event hooks for newly bonded cross-chain validators.
DistributionKeeper defines the expected interface of the distribution keeper.
An exported wrapper around the auto generated isConsumerPacketData_Data interface, only for AppendPendingPacket to accept the interface as an argument.
IBCCoreKeeper defines the expected interface needed for opening a channel.
IBCTransferKeeper defines the expected interface needed for distribution transfer of tokens from the consumer to the provider chain.
helper interface sdk::paramtypes.ParamSpace implicitly implements this interface because it implements the Get(ctx sdk.Context, key []byte, ptr interface{}) since only Get(...) is needed to migrate params we can ignore the other methods on paramtypes.ParamSpace.
PortKeeper defines the expected IBC port keeper.
No description provided by the author
SlashingKeeper defines the contract expected to perform ccv slashing.
StakingKeeper defines the contract expected by provider-chain ccv module from a Staking Module that will keep track of the provider validator set.
# Type aliases
ConsumerPacketType indicates interchain security specific packet types.
InfractionType indicates the infraction type a validator committed.
No description provided by the author