Modules

Structs

  • ConsumerGenesisState defines the CCV consumer chain genesis state.
  • ConsumerPacketData contains a consumer packet data and a type tag
  • ConsumerPacketDataList is a list of consumer packet data packets.
  • ConsumerPacketData contains a consumer packet data and a type tag that is compatible with ICS v1 and v2 over the wire. It is not used for internal storage.
  • ConsumerParams defines the parameters for CCV consumer module.
  • Note this type is used during IBC handshake methods for both the consumer and provider
  • HeightValsetUpdateID represents a mapping internal to the consumer CCV module AND used in shared consumer genesis state, which links a block height to each recv valset update id.
  • LastTransmissionBlockHeight is the last time validator holding pools were transmitted to the provider chain. This type is used internally to the consumer CCV module AND used in shared consumer genesis state.
  • MaturingVSCPacket represents a vsc packet that is maturing internal to the consumer CCV module, where the consumer has not yet relayed a VSCMatured packet back to the provider. This type is used internally to the consumer CCV module AND used in shared consumer genesis state.
  • OutstandingDowntime defines the type used internally to the consumer CCV module, AND used in shared consumer genesis state, in order to not send multiple slashing requests for the same downtime infraction.
  • 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.

Enums

  • ConsumerPacketType indicates interchain security specific packet types.
  • InfractionType indicates the infraction type a validator commited. Note ccv.InfractionType to maintain compatibility between ICS versions using different versions of the cosmos-sdk and ibc-go modules.