types

package
v4.1.0-lsm Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 46 Imported by: 24

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeConsumerClientCreated     = "consumer_client_created"
	EventTypeAssignConsumerKey         = "assign_consumer_key"
	EventTypeAddConsumerRewardDenom    = "add_consumer_reward_denom"
	EventTypeRemoveConsumerRewardDenom = "remove_consumer_reward_denom"
	EventTypeExecuteConsumerChainSlash = "execute_consumer_chain_slash"
	AttributeInfractionHeight          = "infraction_height"
	AttributeInitialHeight             = "initial_height"
	AttributeInitializationTimeout     = "initialization_timeout"
	AttributeTrustingPeriod            = "trusting_period"
	AttributeUnbondingPeriod           = "unbonding_period"
	AttributeProviderValidatorAddress  = "provider_validator_address"
	AttributeConsumerConsensusPubKey   = "consumer_consensus_pub_key"
	AttributeConsumerRewardDenom       = "consumer_reward_denom"
)

Provider events

View Source
const (
	// ModuleName defines the CCV provider module name
	ModuleName = "provider"

	// StoreKey is the store key string for IBC transfer
	StoreKey = ModuleName

	// RouterKey is the message route for IBC transfer
	RouterKey = ModuleName

	// QuerierRoute is the querier route for IBC transfer
	QuerierRoute = ModuleName

	// Default validator set update ID
	DefaultValsetUpdateID = 1

	// This address receives rewards from consumer chains
	ConsumerRewardsPool = "consumer_rewards_pool"
)
View Source
const (

	// PortKey defines the key to store the port ID in store
	PortByteKey byte = iota

	// 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
	MaturedUnbondingOpsByteKey

	// ValidatorSetUpdateIdByteKey is the byte key that stores the current validator set update id
	ValidatorSetUpdateIdByteKey

	// SlashMeterByteKey is the byte key for storing the slash meter
	SlashMeterByteKey

	// SlashMeterReplenishTimeCandidateByteKey is the byte key for storing the slash meter replenish time candidate
	SlashMeterReplenishTimeCandidateByteKey

	// ChainToChannelBytePrefix is the byte prefix for storing mapping
	// from chainID to the channel ID that is used to send over validator set changes.
	ChainToChannelBytePrefix

	// ChannelToChainBytePrefix is the byte prefix for storing mapping
	// from the CCV channel ID to the consumer chain ID.
	ChannelToChainBytePrefix

	// ChainToClientBytePrefix is the byte prefix for storing the client ID for a given consumer chainID.
	ChainToClientBytePrefix

	// InitTimeoutTimestampBytePrefix is the byte prefix for storing
	// the init timeout timestamp for a given consumer chainID.
	InitTimeoutTimestampBytePrefix

	// PendingCAPBytePrefix is the byte prefix for storing pending consumer addition proposals before the spawn time occurs.
	// The key includes the BigEndian timestamp to allow for efficient chronological iteration
	PendingCAPBytePrefix

	// PendingCRPBytePrefix is the byte prefix for storing pending consumer removal proposals before the stop time occurs.
	// The key includes the BigEndian timestamp to allow for efficient chronological iteration
	PendingCRPBytePrefix

	// 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.
	UnbondingOpBytePrefix

	// UnbondingOpIndexBytePrefix is byte prefix of the index for looking up which unbonding
	// operations are waiting for a given consumer chain to unbond
	UnbondingOpIndexBytePrefix

	// ValsetUpdateBlockHeightBytePrefix is the byte prefix that will store the mapping from vscIDs to block heights
	ValsetUpdateBlockHeightBytePrefix

	// ConsumerGenesisBytePrefix stores consumer genesis state material (consensus state and client state) indexed by consumer chain id
	ConsumerGenesisBytePrefix

	// SlashAcksBytePrefix is the byte prefix that will store consensus address of consumer chain validators successfully slashed on the provider chain
	SlashAcksBytePrefix

	// 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
	InitChainHeightBytePrefix

	// PendingVSCsBytePrefix is the byte prefix that will store pending ValidatorSetChangePacket data
	PendingVSCsBytePrefix

	// VscSendTimestampBytePrefix is the byte prefix for storing
	// the list of VSC sending timestamps for a given consumer chainID.
	VscSendTimestampBytePrefix

	// ThrottledPacketDataSizeBytePrefix is the byte prefix for storing the size of chain-specific throttled packet data queues
	ThrottledPacketDataSizeBytePrefix

	// ThrottledPacketDataBytePrefix is the byte prefix storing throttled packet data
	ThrottledPacketDataBytePrefix

	// GlobalSlashEntryBytePrefix is the byte prefix storing global slash queue entries
	GlobalSlashEntryBytePrefix

	// ConsumerValidatorsBytePrefix is the byte prefix that will store the validator assigned keys for every consumer chain
	ConsumerValidatorsBytePrefix

	// ValidatorsByConsumerAddrBytePrefix is the byte prefix that will store the mapping from validator addresses
	// on consumer chains to validator addresses on the provider chain
	ValidatorsByConsumerAddrBytePrefix

	// KeyAssignmentReplacementsBytePrefix was the byte prefix used to store the key assignments that needed to be replaced in the current block
	// NOTE: This prefix is deprecated, but left in place to avoid consumer state migrations
	// [DEPRECATED]
	KeyAssignmentReplacementsBytePrefix

	// ConsumerAddrsToPruneBytePrefix is the byte prefix that will store the mapping from VSC ids
	// to consumer validators addresses needed for pruning
	ConsumerAddrsToPruneBytePrefix

	// SlashLogBytePrefix is the byte prefix that will store the mapping from provider address to boolean
	// denoting whether the provider address has committed any double signign infractions
	SlashLogBytePrefix

	// ConsumerRewardDenomsBytePrefix is the byte prefix that will store a list of consumer reward denoms
	ConsumerRewardDenomsBytePrefix

	// VSCMaturedHandledThisBlockBytePrefix is the byte prefix storing the number of vsc matured packets
	// handled in the current block
	VSCMaturedHandledThisBlockBytePrefix

	// EquivocationEvidenceMinHeightBytePrefix is the byte prefix storing the mapping from consumer chain IDs
	// to the minimum height of a valid consumer equivocation evidence
	EquivocationEvidenceMinHeightBytePrefix

	// ProposedConsumerChainByteKey is the byte prefix storing the consumer chainId in consumerAddition gov proposal submitted before voting finishes
	ProposedConsumerChainByteKey

	// ConsumerValidatorBytePrefix is the byte prefix used when storing for each consumer chain all the consumer validators in this epoch
	ConsumerValidatorBytePrefix
)

Iota generated keys/byte prefixes (as a byte), supports 256 possible values

View Source
const (
	TypeMsgAssignConsumerKey          = "assign_consumer_key"
	TypeMsgSubmitConsumerMisbehaviour = "submit_consumer_misbehaviour"
	TypeMsgSubmitConsumerDoubleVoting = "submit_consumer_double_vote"
)

provider message types

View Source
const (
	// DefaultMaxClockDrift defines how much new (untrusted) header's Time can drift into the future.
	// This default is only used in the default template client param.
	DefaultMaxClockDrift = 10 * time.Second

	// DefaultTrustingPeriodFraction is the default fraction used to compute TrustingPeriod
	// as UnbondingPeriod * TrustingPeriodFraction
	DefaultTrustingPeriodFraction = "0.66"

	// DefaultInitTimeoutPeriod defines the init timeout period
	DefaultInitTimeoutPeriod = 7 * 24 * time.Hour

	// DefaultVscTimeoutPeriod defines the VSC timeout period
	DefaultVscTimeoutPeriod = 5 * 7 * 24 * time.Hour

	// DefaultSlashMeterReplenishPeriod defines the default period for which the slash gas meter is replenished
	DefaultSlashMeterReplenishPeriod = time.Hour

	// DefaultSlashMeterReplenishFraction defines the default fraction of total voting power
	// that is replenished to the slash meter every replenish period. This param also serves as a maximum
	// fraction of total voting power that the slash meter can hold.
	DefaultSlashMeterReplenishFraction = "0.05"

	// DefaultBlocksPerEpoch defines the default blocks that constitute an epoch. Assuming we need 6 seconds per block,
	// an epoch corresponds to 1 hour (6 * 600 = 3600 seconds).
	// forcing int64 as the Params KeyTable expects an int64 and not int.
	DefaultBlocksPerEpoch = int64(600)
)
View Source
const (
	ProposalTypeConsumerAddition   = "ConsumerAddition"
	ProposalTypeConsumerRemoval    = "ConsumerRemoval"
	ProposalTypeEquivocation       = "Equivocation"
	ProposalTypeChangeRewardDenoms = "ChangeRewardDenoms"
)

Variables

View Source
var (

	// ModuleCdc references the global x/ibc-transfer module codec. Note, the codec
	// should ONLY be used in certain instances of tests and for JSON encoding.
	//
	// The actual codec used for serialization should be provided to x/ibc transfer and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())

	// AminoCdc is a amino codec created to support amino json compatible msgs.
	AminoCdc = codec.NewAminoCodec(amino)
)
View Source
var (
	ErrInvalidConsumerAdditionProposal  = errorsmod.Register(ModuleName, 1, "invalid consumer addition proposal")
	ErrInvalidConsumerRemovalProp       = errorsmod.Register(ModuleName, 2, "invalid consumer removal proposal")
	ErrUnknownConsumerChainId           = errorsmod.Register(ModuleName, 3, "no consumer chain with this chain id")
	ErrUnknownConsumerChannelId         = errorsmod.Register(ModuleName, 4, "no consumer chain with this channel id")
	ErrInvalidConsumerConsensusPubKey   = errorsmod.Register(ModuleName, 5, "empty consumer consensus public key")
	ErrInvalidConsumerChainID           = errorsmod.Register(ModuleName, 6, "invalid consumer chain id")
	ErrConsumerKeyNotFound              = errorsmod.Register(ModuleName, 7, "consumer key not found")
	ErrNoValidatorConsumerAddress       = errorsmod.Register(ModuleName, 8, "error getting validator consumer address")
	ErrNoValidatorProviderAddress       = errorsmod.Register(ModuleName, 9, "error getting validator provider address")
	ErrConsumerKeyInUse                 = errorsmod.Register(ModuleName, 10, "consumer key is already in use by a validator")
	ErrCannotAssignDefaultKeyAssignment = errorsmod.Register(ModuleName, 11, "cannot re-assign default key assignment")
	ErrInvalidConsumerParams            = errorsmod.Register(ModuleName, 12, "invalid consumer params")
	ErrInvalidProviderAddress           = errorsmod.Register(ModuleName, 13, "invalid provider address")
	ErrInvalidConsumerRewardDenom       = errorsmod.Register(ModuleName, 14, "invalid consumer reward denom")
	ErrInvalidDepositorAddress          = errorsmod.Register(ModuleName, 15, "invalid depositor address")
	ErrInvalidConsumerClient            = errorsmod.Register(ModuleName, 16, "ccv channel is not built on correct client")
	ErrDuplicateConsumerChain           = errorsmod.Register(ModuleName, 17, "consumer chain already exists")
	ErrConsumerChainNotFound            = errorsmod.Register(ModuleName, 18, "consumer chain not found")
	ErrNoUnconfirmedVSCPacket           = errorsmod.Register(ModuleName, 19, "no unconfirmed vsc packet for this chain id")
)

Provider sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyTemplateClient                     = []byte("TemplateClient")
	KeyTrustingPeriodFraction             = []byte("TrustingPeriodFraction")
	KeyInitTimeoutPeriod                  = []byte("InitTimeoutPeriod")
	KeyVscTimeoutPeriod                   = []byte("VscTimeoutPeriod")
	KeySlashMeterReplenishPeriod          = []byte("SlashMeterReplenishPeriod")
	KeySlashMeterReplenishFraction        = []byte("SlashMeterReplenishFraction")
	KeyConsumerRewardDenomRegistrationFee = []byte("ConsumerRewardDenomRegistrationFee")
	KeyBlocksPerEpoch                     = []byte("BlocksPerEpoch")
)

Reflection based keys for params subspace

View Source
var (
	ErrInvalidLengthProvider        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProvider          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProvider = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ChainIdAndConsAddrKey

func ChainIdAndConsAddrKey(prefix byte, chainID string, addr sdk.ConsAddress) []byte

ChainIdAndConsAddrKey returns the key with the following format: bytePrefix | len(chainID) | chainID | ConsAddress

func ChainIdAndTsKey

func ChainIdAndTsKey(prefix byte, chainID string, timestamp time.Time) []byte

ChainIdAndTsKey returns the key with the following format: bytePrefix | len(chainID) | chainID | timestamp

func ChainIdAndUintIdKey

func ChainIdAndUintIdKey(prefix byte, chainID string, uintId uint64) []byte

ChainIdAndUintIdKey returns the key with the following format: bytePrefix | len(chainID) | chainID | uint64(ID)

func ChainIdWithLenKey

func ChainIdWithLenKey(prefix byte, chainID string) []byte

ChainIdWithLenKey returns the key with the following format: bytePrefix | len(chainID) | chainID

func ChainToChannelKey

func ChainToChannelKey(chainID string) []byte

ChainToChannelKey returns the key under which the CCV channel ID will be stored for the given consumer chain.

func ChainToClientKey

func ChainToClientKey(chainID string) []byte

ChainToClientKey returns the key under which the clientID for the given chainID is stored.

func ChannelToChainKey

func ChannelToChainKey(channelID string) []byte

ChannelToChainKey returns the key under which the consumer chain ID will be stored for the given channelID.

func ConsumerAddrsToPruneKey

func ConsumerAddrsToPruneKey(chainID string, vscID uint64) []byte

ConsumerAddrsToPruneKey returns the key under which the mapping from VSC ids to consumer validators addresses is stored

func ConsumerGenesisKey

func ConsumerGenesisKey(chainID string) []byte

ConsumerGenesisKey returns the key corresponding to consumer genesis state material (consensus state and client state) indexed by consumer chain id

func ConsumerRewardDenomsKey

func ConsumerRewardDenomsKey(denom string) []byte

ConsumerRewardDenomsKey returns the key under which consumer reward denoms are stored

func ConsumerValidatorKey added in v4.1.0

func ConsumerValidatorKey(chainID string, providerAddr []byte) []byte

ConsumerValidatorKey returns the key of consumer chain `chainID` and validator with `providerAddr`

func ConsumerValidatorsKey

func ConsumerValidatorsKey(chainID string, addr ProviderConsAddress) []byte

ConsumerValidatorsKey returns the key under which the validator assigned keys for every consumer chain are stored

func EquivocationEvidenceMinHeightKey

func EquivocationEvidenceMinHeightKey(consumerChainID string) []byte

EquivocationEvidenceMinHeightKey returns the key storing the minimum height of a valid consumer equivocation evidence for a given consumer chain ID

func GlobalSlashEntryKey

func GlobalSlashEntryKey(entry GlobalSlashEntry) []byte

GlobalSlashEntryKey returns the key for storing a global slash queue entry.

func InitChainHeightKey

func InitChainHeightKey(chainID string) []byte

InitChainHeightKey returns the key under which the block height for a given chain ID is stored

func InitTimeoutTimestampKey

func InitTimeoutTimestampKey(chainID string) []byte

InitTimeoutTimestampKey returns the key under which the init timeout timestamp for the given chainID is stored.

func KeyAssignmentValidateBasic

func KeyAssignmentValidateBasic(
	assignedKeys []ValidatorConsumerPubKey,
	byConsumerAddrs []ValidatorByConsumerAddr,
	consumerAddrsToPrune []ConsumerAddrsToPrune,
) error

KeyAssignmentValidateBasic validates all the genesis state for key assignment This is a utility. Key Assignment does not define any new proto types, but has a lot of nested data.

func MaturedUnbondingOpsKey

func MaturedUnbondingOpsKey() []byte

MaturedUnbondingOpsKey returns the key for storing the list of matured unbonding operations.

func MustParseGlobalSlashEntryKey

func MustParseGlobalSlashEntryKey(bz []byte) (
	recvTime time.Time, consumerChainID string, ibcSeqNum uint64,
)

MustParseGlobalSlashEntryKey returns the received time and chainID for a global slash queue entry key, or panics if the key is invalid.

func MustParseThrottledPacketDataKey

func MustParseThrottledPacketDataKey(key []byte) (string, uint64)

MustParseThrottledPacketDataKey parses a throttled packet data key or panics upon failure

func NewChangeRewardDenomsProposal

func NewChangeRewardDenomsProposal(title, description string,
	denomsToAdd, denomsToRemove []string,
) govv1beta1.Content

func NewConsumerAdditionProposal

func NewConsumerAdditionProposal(title, description, chainID string,
	initialHeight clienttypes.Height, genesisHash, binaryHash []byte,
	spawnTime time.Time,
	consumerRedistributionFraction string,
	blocksPerDistributionTransmission int64,
	distributionTransmissionChannel string,
	historicalEntries int64,
	ccvTimeoutPeriod time.Duration,
	transferTimeoutPeriod time.Duration,
	unbondingPeriod time.Duration,
) govv1beta1.Content

NewConsumerAdditionProposal creates a new consumer addition proposal.

func NewConsumerRemovalProposal

func NewConsumerRemovalProposal(title, description, chainID string, stopTime time.Time) govv1beta1.Content

NewConsumerRemovalProposal creates a new consumer removal proposal.

func NewEquivocationProposal

func NewEquivocationProposal(title, description string, equivocations []*evidencetypes.Equivocation) govv1beta1.Content

NewEquivocationProposal creates a new equivocation proposal. [DEPRECATED]: do not use because equivocations can be submitted and verified automatically on the provider.

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns a key table with the necessary registered provider params

func ParseChainIdAndConsAddrKey

func ParseChainIdAndConsAddrKey(prefix byte, bz []byte) (string, sdk.ConsAddress, error)

ParseChainIdAndConsAddrKey returns the chain ID and ConsAddress for a ChainIdAndConsAddrKey key

func ParseChainIdAndTsKey

func ParseChainIdAndTsKey(prefix byte, bz []byte) (string, time.Time, error)

ParseChainIdAndTsKey returns the chain ID and time for a ChainIdAndTs key

func ParseChainIdAndUintIdKey

func ParseChainIdAndUintIdKey(prefix byte, bz []byte) (string, uint64, error)

ParseChainIdAndUintIdKey returns the chain ID and uint ID for a ChainIdAndUintId key

func ParseConsumerKeyFromJson

func ParseConsumerKeyFromJson(jsonStr string) (pkType, key string, err error)

ParseConsumerKeyFromJson parses the consumer key from a JSON string, this replaces deserializing a protobuf any.

func ParseProposedConsumerChainKey

func ParseProposedConsumerChainKey(prefix byte, bz []byte) (uint64, error)

ParseProposedConsumerChainKey get the proposalID in the key

func ParseThrottledPacketDataKey

func ParseThrottledPacketDataKey(key []byte) (chainId string, ibcSeqNum uint64, err error)

ParseThrottledPacketDataKey parses a throttled packet data key

func ParseUnbondingOpIndexKey

func ParseUnbondingOpIndexKey(key []byte) (string, uint64, error)

ParseUnbondingOpIndexKey parses an unbonding op index key for VSC ID Removes the prefix + chainID from index key and returns only the key part.

func ParseVscSendingTimestampKey

func ParseVscSendingTimestampKey(bz []byte) (string, uint64, error)

ParseVscTimeoutTimestampKey returns chain ID and vsc ID for a VscSendingTimestampKey or an error if unparsable

func PendingCAPKey

func PendingCAPKey(timestamp time.Time, chainID string) []byte

PendingCAPKey returns the key under which a pending consumer addition proposal is stored. The key has the following format: PendingCAPBytePrefix | timestamp.UnixNano() | chainID

func PendingCRPKey

func PendingCRPKey(timestamp time.Time, chainID string) []byte

PendingCRPKey returns the key under which pending consumer removal proposals are stored. The key has the following format: PendingCRPBytePrefix | timestamp.UnixNano() | chainID

func PendingVSCsKey

func PendingVSCsKey(chainID string) []byte

PendingVSCsKey returns the key under which pending ValidatorSetChangePacket data is stored for a given chain ID

func PortKey

func PortKey() []byte

PortKey returns the key to the port ID in the store

func ProposedConsumerChainKey

func ProposedConsumerChainKey(proposalID uint64) []byte

ProposedConsumerChainKey returns the key of proposed consumer chainId in consumerAddition gov proposal before voting finishes, the stored key format is prefix|proposalID, value is chainID

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

RegisterInterfaces registers the provider proposal structs to the interface registry

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/ibc transfer interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SlashAcksKey

func SlashAcksKey(chainID string) []byte

SlashAcksKey returns the key under which slashing acks are stored for a given chain ID

func SlashLogKey

func SlashLogKey(providerAddr ProviderConsAddress) []byte

SlashLogKey returns the key to a validator's slash log

func SlashMeterKey

func SlashMeterKey() []byte

SlashMeterKey returns the key storing the slash meter

func SlashMeterReplenishTimeCandidateKey

func SlashMeterReplenishTimeCandidateKey() []byte

SlashMeterReplenishTimeCandidateKey returns the key storing the slash meter replenish time candidate

func ThrottledPacketDataKey

func ThrottledPacketDataKey(consumerChainID string, ibcSeqNum uint64) []byte

ThrottledPacketDataKey returns the key storing the throttled packet data queue for a given chain ID and ibc seq num

func ThrottledPacketDataSizeKey

func ThrottledPacketDataSizeKey(consumerChainID string) []byte

ThrottledPacketDataSizeKey returns the key storing the size of the throttled packet data queue for a given chain ID

func UnbondingOpIndexKey

func UnbondingOpIndexKey(chainID string, vscID uint64) []byte

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.

func UnbondingOpKey

func UnbondingOpKey(id uint64) []byte

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.

func VSCMaturedHandledThisBlockKey

func VSCMaturedHandledThisBlockKey() []byte

func ValidateCoin

func ValidateCoin(i interface{}) error

func ValidateTemplateClient

func ValidateTemplateClient(i interface{}) error

func ValidatorSetUpdateIdKey

func ValidatorSetUpdateIdKey() []byte

ValidatorSetUpdateIdKey is the key that stores the current validator set update id

func ValidatorsByConsumerAddrKey

func ValidatorsByConsumerAddrKey(chainID string, addr ConsumerConsAddress) []byte

ValidatorsByConsumerAddrKey returns the key under which the mapping from validator addresses on consumer chains to validator addresses on the provider chain is stored

func ValsetUpdateBlockHeightKey

func ValsetUpdateBlockHeightKey(valsetUpdateId uint64) []byte

ValsetUpdateBlockHeightKey returns the key that storing the mapping from valset update ID to block height

func VscSendingTimestampKey

func VscSendingTimestampKey(chainID string, vscID uint64) []byte

VscSendingTimestampKey returns the key under which the sending timestamp of the VSCPacket with vsc ID is stored

Types

type AddressList

type AddressList struct {
	Addresses [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}

AddressList contains a list of consensus addresses

func (*AddressList) Descriptor

func (*AddressList) Descriptor() ([]byte, []int)

func (*AddressList) GetAddresses

func (m *AddressList) GetAddresses() [][]byte

func (*AddressList) Marshal

func (m *AddressList) Marshal() (dAtA []byte, err error)

func (*AddressList) MarshalTo

func (m *AddressList) MarshalTo(dAtA []byte) (int, error)

func (*AddressList) MarshalToSizedBuffer

func (m *AddressList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddressList) ProtoMessage

func (*AddressList) ProtoMessage()

func (*AddressList) Reset

func (m *AddressList) Reset()

func (*AddressList) Size

func (m *AddressList) Size() (n int)

func (*AddressList) String

func (m *AddressList) String() string

func (*AddressList) Unmarshal

func (m *AddressList) Unmarshal(dAtA []byte) error

func (*AddressList) XXX_DiscardUnknown

func (m *AddressList) XXX_DiscardUnknown()

func (*AddressList) XXX_Marshal

func (m *AddressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressList) XXX_Merge

func (m *AddressList) XXX_Merge(src proto.Message)

func (*AddressList) XXX_Size

func (m *AddressList) XXX_Size() int

func (*AddressList) XXX_Unmarshal

func (m *AddressList) XXX_Unmarshal(b []byte) error

type Chain

type Chain struct {
	ChainId  string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*Chain) Descriptor

func (*Chain) Descriptor() ([]byte, []int)

func (*Chain) GetChainId

func (m *Chain) GetChainId() string

func (*Chain) GetClientId

func (m *Chain) GetClientId() string

func (*Chain) Marshal

func (m *Chain) Marshal() (dAtA []byte, err error)

func (*Chain) MarshalTo

func (m *Chain) MarshalTo(dAtA []byte) (int, error)

func (*Chain) MarshalToSizedBuffer

func (m *Chain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) Reset

func (m *Chain) Reset()

func (*Chain) Size

func (m *Chain) Size() (n int)

func (*Chain) String

func (m *Chain) String() string

func (*Chain) Unmarshal

func (m *Chain) Unmarshal(dAtA []byte) error

func (*Chain) XXX_DiscardUnknown

func (m *Chain) XXX_DiscardUnknown()

func (*Chain) XXX_Marshal

func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Chain) XXX_Merge

func (m *Chain) XXX_Merge(src proto.Message)

func (*Chain) XXX_Size

func (m *Chain) XXX_Size() int

func (*Chain) XXX_Unmarshal

func (m *Chain) XXX_Unmarshal(b []byte) error

type ChangeRewardDenomsProposal

type ChangeRewardDenomsProposal struct {
	// the title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the list of consumer reward denoms to add
	DenomsToAdd []string `protobuf:"bytes,3,rep,name=denoms_to_add,json=denomsToAdd,proto3" json:"denoms_to_add,omitempty"`
	// the list of consumer reward denoms to remove
	DenomsToRemove []string `protobuf:"bytes,4,rep,name=denoms_to_remove,json=denomsToRemove,proto3" json:"denoms_to_remove,omitempty"`
}

ChangeRewardDenomsProposal is a governance proposal on the provider chain to mutate the set of denoms accepted by the provider as rewards.

func (*ChangeRewardDenomsProposal) Descriptor

func (*ChangeRewardDenomsProposal) Descriptor() ([]byte, []int)

func (*ChangeRewardDenomsProposal) GetDenomsToAdd

func (m *ChangeRewardDenomsProposal) GetDenomsToAdd() []string

func (*ChangeRewardDenomsProposal) GetDenomsToRemove

func (m *ChangeRewardDenomsProposal) GetDenomsToRemove() []string

func (*ChangeRewardDenomsProposal) GetDescription

func (m *ChangeRewardDenomsProposal) GetDescription() string

func (*ChangeRewardDenomsProposal) GetTitle

func (m *ChangeRewardDenomsProposal) GetTitle() string

func (*ChangeRewardDenomsProposal) Marshal

func (m *ChangeRewardDenomsProposal) Marshal() (dAtA []byte, err error)

func (*ChangeRewardDenomsProposal) MarshalTo

func (m *ChangeRewardDenomsProposal) MarshalTo(dAtA []byte) (int, error)

func (*ChangeRewardDenomsProposal) MarshalToSizedBuffer

func (m *ChangeRewardDenomsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangeRewardDenomsProposal) ProposalRoute

func (crdp *ChangeRewardDenomsProposal) ProposalRoute() string

ProposalRoute returns the routing key of a change reward denoms proposal.

func (*ChangeRewardDenomsProposal) ProposalType

func (crdp *ChangeRewardDenomsProposal) ProposalType() string

ProposalType returns the type of a change reward denoms proposal.

func (*ChangeRewardDenomsProposal) ProtoMessage

func (*ChangeRewardDenomsProposal) ProtoMessage()

func (*ChangeRewardDenomsProposal) Reset

func (m *ChangeRewardDenomsProposal) Reset()

func (*ChangeRewardDenomsProposal) Size

func (m *ChangeRewardDenomsProposal) Size() (n int)

func (*ChangeRewardDenomsProposal) String

func (m *ChangeRewardDenomsProposal) String() string

func (*ChangeRewardDenomsProposal) Unmarshal

func (m *ChangeRewardDenomsProposal) Unmarshal(dAtA []byte) error

func (*ChangeRewardDenomsProposal) ValidateBasic

func (crdp *ChangeRewardDenomsProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks on a ChangeRewardDenomsProposal.

func (*ChangeRewardDenomsProposal) XXX_DiscardUnknown

func (m *ChangeRewardDenomsProposal) XXX_DiscardUnknown()

func (*ChangeRewardDenomsProposal) XXX_Marshal

func (m *ChangeRewardDenomsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangeRewardDenomsProposal) XXX_Merge

func (m *ChangeRewardDenomsProposal) XXX_Merge(src proto.Message)

func (*ChangeRewardDenomsProposal) XXX_Size

func (m *ChangeRewardDenomsProposal) XXX_Size() int

func (*ChangeRewardDenomsProposal) XXX_Unmarshal

func (m *ChangeRewardDenomsProposal) XXX_Unmarshal(b []byte) error

type ChannelToChain

type ChannelToChain struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	ChainId   string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

ChannelToChain is used to map a CCV channel ID to the consumer chainID

func (*ChannelToChain) Descriptor

func (*ChannelToChain) Descriptor() ([]byte, []int)

func (*ChannelToChain) GetChainId

func (m *ChannelToChain) GetChainId() string

func (*ChannelToChain) GetChannelId

func (m *ChannelToChain) GetChannelId() string

func (*ChannelToChain) Marshal

func (m *ChannelToChain) Marshal() (dAtA []byte, err error)

func (*ChannelToChain) MarshalTo

func (m *ChannelToChain) MarshalTo(dAtA []byte) (int, error)

func (*ChannelToChain) MarshalToSizedBuffer

func (m *ChannelToChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChannelToChain) ProtoMessage

func (*ChannelToChain) ProtoMessage()

func (*ChannelToChain) Reset

func (m *ChannelToChain) Reset()

func (*ChannelToChain) Size

func (m *ChannelToChain) Size() (n int)

func (*ChannelToChain) String

func (m *ChannelToChain) String() string

func (*ChannelToChain) Unmarshal

func (m *ChannelToChain) Unmarshal(dAtA []byte) error

func (*ChannelToChain) XXX_DiscardUnknown

func (m *ChannelToChain) XXX_DiscardUnknown()

func (*ChannelToChain) XXX_Marshal

func (m *ChannelToChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelToChain) XXX_Merge

func (m *ChannelToChain) XXX_Merge(src proto.Message)

func (*ChannelToChain) XXX_Size

func (m *ChannelToChain) XXX_Size() int

func (*ChannelToChain) XXX_Unmarshal

func (m *ChannelToChain) XXX_Unmarshal(b []byte) error

type ConsumerAdditionProposal

type ConsumerAdditionProposal struct {
	// the title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the proposed chain-id of the new consumer chain, must be different from all
	// other consumer chain ids of the executing provider chain.
	ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// the proposed initial height of new consumer chain.
	// For a completely new chain, this will be {0,1}. However, it may be
	// different if this is a chain that is converting to a consumer chain.
	InitialHeight types.Height `protobuf:"bytes,4,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height"`
	// The hash of the consumer chain genesis state without the consumer CCV
	// module genesis params. It is used for off-chain confirmation of
	// genesis.json validity by validators and other parties.
	GenesisHash []byte `protobuf:"bytes,5,opt,name=genesis_hash,json=genesisHash,proto3" json:"genesis_hash,omitempty"`
	// The hash of the consumer chain binary that should be run by validators on
	// chain initialization. It is used for off-chain confirmation of binary
	// validity by validators and other parties.
	BinaryHash []byte `protobuf:"bytes,6,opt,name=binary_hash,json=binaryHash,proto3" json:"binary_hash,omitempty"`
	// spawn time is the time on the provider chain at which the consumer chain
	// genesis is finalized and all validators will be responsible for starting
	// their consumer chain validator node.
	SpawnTime time.Time `protobuf:"bytes,7,opt,name=spawn_time,json=spawnTime,proto3,stdtime" json:"spawn_time"`
	// Unbonding period for the consumer,
	// which should be smaller than that of the provider in general.
	UnbondingPeriod time.Duration `protobuf:"bytes,8,opt,name=unbonding_period,json=unbondingPeriod,proto3,stdduration" json:"unbonding_period"`
	// Sent CCV related IBC packets will timeout after this duration
	CcvTimeoutPeriod time.Duration `protobuf:"bytes,9,opt,name=ccv_timeout_period,json=ccvTimeoutPeriod,proto3,stdduration" json:"ccv_timeout_period"`
	// Sent transfer related IBC packets will timeout after this duration
	TransferTimeoutPeriod time.Duration `` /* 129-byte string literal not displayed */
	// The fraction of tokens allocated to the consumer redistribution address
	// during distribution events. The fraction is a string representing a
	// decimal number. For example "0.75" would represent 75%.
	ConsumerRedistributionFraction string `` /* 154-byte string literal not displayed */
	// BlocksPerDistributionTransmission is the number of blocks between
	// ibc-token-transfers from the consumer chain to the provider chain. On
	// sending transmission event, `consumer_redistribution_fraction` of the
	// accumulated tokens are sent to the consumer redistribution address.
	BlocksPerDistributionTransmission int64 `` /* 166-byte string literal not displayed */
	// The number of historical info entries to persist in store.
	// This param is a part of the cosmos sdk staking module. In the case of
	// a ccv enabled consumer chain, the ccv module acts as the staking module.
	HistoricalEntries int64 `protobuf:"varint,13,opt,name=historical_entries,json=historicalEntries,proto3" json:"historical_entries,omitempty"`
	// The ID of a token transfer channel used for the Reward Distribution
	// sub-protocol. If DistributionTransmissionChannel == "", a new transfer
	// channel is created on top of the same connection as the CCV channel.
	// Note that transfer_channel_id is the ID of the channel end on the consumer
	// chain. it is most relevant for chains performing a sovereign to consumer
	// changeover in order to maintain the existing ibc transfer channel
	DistributionTransmissionChannel string `` /* 157-byte string literal not displayed */
}

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.

func (*ConsumerAdditionProposal) Descriptor

func (*ConsumerAdditionProposal) Descriptor() ([]byte, []int)

func (*ConsumerAdditionProposal) GetDescription

func (cccp *ConsumerAdditionProposal) GetDescription() string

GetDescription returns the description of a consumer addition proposal.

func (*ConsumerAdditionProposal) GetTitle

func (cccp *ConsumerAdditionProposal) GetTitle() string

GetTitle returns the title of a consumer addition proposal.

func (*ConsumerAdditionProposal) Marshal

func (m *ConsumerAdditionProposal) Marshal() (dAtA []byte, err error)

func (*ConsumerAdditionProposal) MarshalTo

func (m *ConsumerAdditionProposal) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerAdditionProposal) MarshalToSizedBuffer

func (m *ConsumerAdditionProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerAdditionProposal) ProposalRoute

func (cccp *ConsumerAdditionProposal) ProposalRoute() string

ProposalRoute returns the routing key of a consumer addition proposal.

func (*ConsumerAdditionProposal) ProposalType

func (cccp *ConsumerAdditionProposal) ProposalType() string

ProposalType returns the type of a consumer addition proposal.

func (*ConsumerAdditionProposal) ProtoMessage

func (*ConsumerAdditionProposal) ProtoMessage()

func (*ConsumerAdditionProposal) Reset

func (m *ConsumerAdditionProposal) Reset()

func (*ConsumerAdditionProposal) Size

func (m *ConsumerAdditionProposal) Size() (n int)

func (*ConsumerAdditionProposal) String

func (cccp *ConsumerAdditionProposal) String() string

String returns the string representation of the ConsumerAdditionProposal.

func (*ConsumerAdditionProposal) Unmarshal

func (m *ConsumerAdditionProposal) Unmarshal(dAtA []byte) error

func (*ConsumerAdditionProposal) ValidateBasic

func (cccp *ConsumerAdditionProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*ConsumerAdditionProposal) XXX_DiscardUnknown

func (m *ConsumerAdditionProposal) XXX_DiscardUnknown()

func (*ConsumerAdditionProposal) XXX_Marshal

func (m *ConsumerAdditionProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerAdditionProposal) XXX_Merge

func (m *ConsumerAdditionProposal) XXX_Merge(src proto.Message)

func (*ConsumerAdditionProposal) XXX_Size

func (m *ConsumerAdditionProposal) XXX_Size() int

func (*ConsumerAdditionProposal) XXX_Unmarshal

func (m *ConsumerAdditionProposal) XXX_Unmarshal(b []byte) error

type ConsumerAdditionProposals

type ConsumerAdditionProposals struct {
	// proposals waiting for spawn_time to pass
	Pending []*ConsumerAdditionProposal `protobuf:"bytes,1,rep,name=pending,proto3" json:"pending,omitempty"`
}

ConsumerAdditionProposals holds pending governance proposals on the provider chain to spawn a new chain.

func (*ConsumerAdditionProposals) Descriptor

func (*ConsumerAdditionProposals) Descriptor() ([]byte, []int)

func (*ConsumerAdditionProposals) GetPending

func (*ConsumerAdditionProposals) Marshal

func (m *ConsumerAdditionProposals) Marshal() (dAtA []byte, err error)

func (*ConsumerAdditionProposals) MarshalTo

func (m *ConsumerAdditionProposals) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerAdditionProposals) MarshalToSizedBuffer

func (m *ConsumerAdditionProposals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerAdditionProposals) ProtoMessage

func (*ConsumerAdditionProposals) ProtoMessage()

func (*ConsumerAdditionProposals) Reset

func (m *ConsumerAdditionProposals) Reset()

func (*ConsumerAdditionProposals) Size

func (m *ConsumerAdditionProposals) Size() (n int)

func (*ConsumerAdditionProposals) String

func (m *ConsumerAdditionProposals) String() string

func (*ConsumerAdditionProposals) Unmarshal

func (m *ConsumerAdditionProposals) Unmarshal(dAtA []byte) error

func (*ConsumerAdditionProposals) XXX_DiscardUnknown

func (m *ConsumerAdditionProposals) XXX_DiscardUnknown()

func (*ConsumerAdditionProposals) XXX_Marshal

func (m *ConsumerAdditionProposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerAdditionProposals) XXX_Merge

func (m *ConsumerAdditionProposals) XXX_Merge(src proto.Message)

func (*ConsumerAdditionProposals) XXX_Size

func (m *ConsumerAdditionProposals) XXX_Size() int

func (*ConsumerAdditionProposals) XXX_Unmarshal

func (m *ConsumerAdditionProposals) XXX_Unmarshal(b []byte) error

type ConsumerAddrsToPrune

type ConsumerAddrsToPrune struct {
	ChainId       string       `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	VscId         uint64       `protobuf:"varint,2,opt,name=vsc_id,json=vscId,proto3" json:"vsc_id,omitempty"`
	ConsumerAddrs *AddressList `protobuf:"bytes,3,opt,name=consumer_addrs,json=consumerAddrs,proto3" json:"consumer_addrs,omitempty"`
}

Used to serialize the ConsumerAddrsToPrune index from key assignment ConsumerAddrsToPrune: (chainID, vscID uint64) -> consumerAddrs AddressList

func (*ConsumerAddrsToPrune) Descriptor

func (*ConsumerAddrsToPrune) Descriptor() ([]byte, []int)

func (*ConsumerAddrsToPrune) GetChainId

func (m *ConsumerAddrsToPrune) GetChainId() string

func (*ConsumerAddrsToPrune) GetConsumerAddrs

func (m *ConsumerAddrsToPrune) GetConsumerAddrs() *AddressList

func (*ConsumerAddrsToPrune) GetVscId

func (m *ConsumerAddrsToPrune) GetVscId() uint64

func (*ConsumerAddrsToPrune) Marshal

func (m *ConsumerAddrsToPrune) Marshal() (dAtA []byte, err error)

func (*ConsumerAddrsToPrune) MarshalTo

func (m *ConsumerAddrsToPrune) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerAddrsToPrune) MarshalToSizedBuffer

func (m *ConsumerAddrsToPrune) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerAddrsToPrune) ProtoMessage

func (*ConsumerAddrsToPrune) ProtoMessage()

func (*ConsumerAddrsToPrune) Reset

func (m *ConsumerAddrsToPrune) Reset()

func (*ConsumerAddrsToPrune) Size

func (m *ConsumerAddrsToPrune) Size() (n int)

func (*ConsumerAddrsToPrune) String

func (m *ConsumerAddrsToPrune) String() string

func (*ConsumerAddrsToPrune) Unmarshal

func (m *ConsumerAddrsToPrune) Unmarshal(dAtA []byte) error

func (*ConsumerAddrsToPrune) XXX_DiscardUnknown

func (m *ConsumerAddrsToPrune) XXX_DiscardUnknown()

func (*ConsumerAddrsToPrune) XXX_Marshal

func (m *ConsumerAddrsToPrune) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerAddrsToPrune) XXX_Merge

func (m *ConsumerAddrsToPrune) XXX_Merge(src proto.Message)

func (*ConsumerAddrsToPrune) XXX_Size

func (m *ConsumerAddrsToPrune) XXX_Size() int

func (*ConsumerAddrsToPrune) XXX_Unmarshal

func (m *ConsumerAddrsToPrune) XXX_Unmarshal(b []byte) error

type ConsumerConsAddress

type ConsumerConsAddress struct {
	Address sdk.ConsAddress
}

A validator's assigned consensus address for a consumer chain. Note this type is for type safety within provider code, consumer code uses normal sdk.ConsAddress, since there's no notion of provider vs consumer address.

func NewConsumerConsAddress

func NewConsumerConsAddress(addr sdk.ConsAddress) ConsumerConsAddress

NewConsumerConsAddress creates a new ConsumerConsAddress, a validator's assigned consensus address for a consumer chain. Note this type is for type safety within provider code, consumer code uses normal sdk.ConsAddress, since there's no notion of provider vs consumer address.

func (*ConsumerConsAddress) String

func (c *ConsumerConsAddress) String() string

String implements the Stringer interface for ConsumerConsAddress, in the same format as sdk.ConsAddress

func (*ConsumerConsAddress) ToSdkConsAddr

func (c *ConsumerConsAddress) ToSdkConsAddr() sdk.ConsAddress

type ConsumerRemovalProposal

type ConsumerRemovalProposal struct {
	// the title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the chain-id of the consumer chain to be stopped
	ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// the time on the provider chain at which all validators are responsible to
	// stop their consumer chain validator node
	StopTime time.Time `protobuf:"bytes,4,opt,name=stop_time,json=stopTime,proto3,stdtime" json:"stop_time"`
}

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.

func (*ConsumerRemovalProposal) Descriptor

func (*ConsumerRemovalProposal) Descriptor() ([]byte, []int)

func (*ConsumerRemovalProposal) GetChainId

func (m *ConsumerRemovalProposal) GetChainId() string

func (*ConsumerRemovalProposal) GetDescription

func (m *ConsumerRemovalProposal) GetDescription() string

func (*ConsumerRemovalProposal) GetStopTime

func (m *ConsumerRemovalProposal) GetStopTime() time.Time

func (*ConsumerRemovalProposal) GetTitle

func (m *ConsumerRemovalProposal) GetTitle() string

func (*ConsumerRemovalProposal) Marshal

func (m *ConsumerRemovalProposal) Marshal() (dAtA []byte, err error)

func (*ConsumerRemovalProposal) MarshalTo

func (m *ConsumerRemovalProposal) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerRemovalProposal) MarshalToSizedBuffer

func (m *ConsumerRemovalProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerRemovalProposal) ProposalRoute

func (sccp *ConsumerRemovalProposal) ProposalRoute() string

ProposalRoute returns the routing key of a consumer removal proposal.

func (*ConsumerRemovalProposal) ProposalType

func (sccp *ConsumerRemovalProposal) ProposalType() string

ProposalType returns the type of a consumer removal proposal.

func (*ConsumerRemovalProposal) ProtoMessage

func (*ConsumerRemovalProposal) ProtoMessage()

func (*ConsumerRemovalProposal) Reset

func (m *ConsumerRemovalProposal) Reset()

func (*ConsumerRemovalProposal) Size

func (m *ConsumerRemovalProposal) Size() (n int)

func (*ConsumerRemovalProposal) String

func (m *ConsumerRemovalProposal) String() string

func (*ConsumerRemovalProposal) Unmarshal

func (m *ConsumerRemovalProposal) Unmarshal(dAtA []byte) error

func (*ConsumerRemovalProposal) ValidateBasic

func (sccp *ConsumerRemovalProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*ConsumerRemovalProposal) XXX_DiscardUnknown

func (m *ConsumerRemovalProposal) XXX_DiscardUnknown()

func (*ConsumerRemovalProposal) XXX_Marshal

func (m *ConsumerRemovalProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerRemovalProposal) XXX_Merge

func (m *ConsumerRemovalProposal) XXX_Merge(src proto.Message)

func (*ConsumerRemovalProposal) XXX_Size

func (m *ConsumerRemovalProposal) XXX_Size() int

func (*ConsumerRemovalProposal) XXX_Unmarshal

func (m *ConsumerRemovalProposal) XXX_Unmarshal(b []byte) error

type ConsumerRemovalProposals

type ConsumerRemovalProposals struct {
	// proposals waiting for stop_time to pass
	Pending []*ConsumerRemovalProposal `protobuf:"bytes,1,rep,name=pending,proto3" json:"pending,omitempty"`
}

ConsumerRemovalProposals holds pending governance proposals on the provider chain to remove (and stop) a consumer chain.

func (*ConsumerRemovalProposals) Descriptor

func (*ConsumerRemovalProposals) Descriptor() ([]byte, []int)

func (*ConsumerRemovalProposals) GetPending

func (*ConsumerRemovalProposals) Marshal

func (m *ConsumerRemovalProposals) Marshal() (dAtA []byte, err error)

func (*ConsumerRemovalProposals) MarshalTo

func (m *ConsumerRemovalProposals) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerRemovalProposals) MarshalToSizedBuffer

func (m *ConsumerRemovalProposals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerRemovalProposals) ProtoMessage

func (*ConsumerRemovalProposals) ProtoMessage()

func (*ConsumerRemovalProposals) Reset

func (m *ConsumerRemovalProposals) Reset()

func (*ConsumerRemovalProposals) Size

func (m *ConsumerRemovalProposals) Size() (n int)

func (*ConsumerRemovalProposals) String

func (m *ConsumerRemovalProposals) String() string

func (*ConsumerRemovalProposals) Unmarshal

func (m *ConsumerRemovalProposals) Unmarshal(dAtA []byte) error

func (*ConsumerRemovalProposals) XXX_DiscardUnknown

func (m *ConsumerRemovalProposals) XXX_DiscardUnknown()

func (*ConsumerRemovalProposals) XXX_Marshal

func (m *ConsumerRemovalProposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerRemovalProposals) XXX_Merge

func (m *ConsumerRemovalProposals) XXX_Merge(src proto.Message)

func (*ConsumerRemovalProposals) XXX_Size

func (m *ConsumerRemovalProposals) XXX_Size() int

func (*ConsumerRemovalProposals) XXX_Unmarshal

func (m *ConsumerRemovalProposals) XXX_Unmarshal(b []byte) error

type ConsumerState

type ConsumerState struct {
	// ChainID defines the chain ID for the consumer chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// ChannelID defines the IBC channel ID for the consumer chain
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// ClientID defines the IBC client ID for the consumer chain
	ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// InitalHeight defines the initial block height for the consumer chain
	InitialHeight uint64 `protobuf:"varint,4,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
	// ConsumerGenesis defines the initial consumer chain genesis states
	ConsumerGenesis types.ConsumerGenesisState `protobuf:"bytes,5,opt,name=consumer_genesis,json=consumerGenesis,proto3" json:"consumer_genesis"`
	// PendingValsetChanges defines the pending validator set changes for the
	// consumer chain
	PendingValsetChanges []types.ValidatorSetChangePacketData `protobuf:"bytes,6,rep,name=pending_valset_changes,json=pendingValsetChanges,proto3" json:"pending_valset_changes"`
	SlashDowntimeAck     []string                             `protobuf:"bytes,7,rep,name=slash_downtime_ack,json=slashDowntimeAck,proto3" json:"slash_downtime_ack,omitempty"`
	// UnbondingOpsIndex defines the unbonding operations waiting on this consumer
	// chain
	UnbondingOpsIndex []VscUnbondingOps `protobuf:"bytes,8,rep,name=unbonding_ops_index,json=unbondingOpsIndex,proto3" json:"unbonding_ops_index"`
}

The provider CCV module's knowledge of consumer state.

Note this type is only used internally to the provider CCV module.

func NewConsumerStates

func NewConsumerStates(
	chainID,
	clientID,
	channelID string,
	initialHeight uint64,
	genesis ccv.ConsumerGenesisState,
	unbondingOpsIndexes []VscUnbondingOps,
	pendingValsetChanges []ccv.ValidatorSetChangePacketData,
	slashDowntimeAck []string,
) ConsumerState

func (*ConsumerState) Descriptor

func (*ConsumerState) Descriptor() ([]byte, []int)

func (*ConsumerState) GetChainId

func (m *ConsumerState) GetChainId() string

func (*ConsumerState) GetChannelId

func (m *ConsumerState) GetChannelId() string

func (*ConsumerState) GetClientId

func (m *ConsumerState) GetClientId() string

func (*ConsumerState) GetConsumerGenesis

func (m *ConsumerState) GetConsumerGenesis() types.ConsumerGenesisState

func (*ConsumerState) GetInitialHeight

func (m *ConsumerState) GetInitialHeight() uint64

func (*ConsumerState) GetPendingValsetChanges

func (m *ConsumerState) GetPendingValsetChanges() []types.ValidatorSetChangePacketData

func (*ConsumerState) GetSlashDowntimeAck

func (m *ConsumerState) GetSlashDowntimeAck() []string

func (*ConsumerState) GetUnbondingOpsIndex

func (m *ConsumerState) GetUnbondingOpsIndex() []VscUnbondingOps

func (*ConsumerState) Marshal

func (m *ConsumerState) Marshal() (dAtA []byte, err error)

func (*ConsumerState) MarshalTo

func (m *ConsumerState) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerState) MarshalToSizedBuffer

func (m *ConsumerState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerState) ProtoMessage

func (*ConsumerState) ProtoMessage()

func (*ConsumerState) Reset

func (m *ConsumerState) Reset()

func (*ConsumerState) Size

func (m *ConsumerState) Size() (n int)

func (*ConsumerState) String

func (m *ConsumerState) String() string

func (*ConsumerState) Unmarshal

func (m *ConsumerState) Unmarshal(dAtA []byte) error

func (ConsumerState) Validate

func (cs ConsumerState) Validate() error

Validate performs a consumer state validation returning an error upon any failure. It ensures that the chain id, client id and consumer genesis states are valid and non-empty.

func (*ConsumerState) XXX_DiscardUnknown

func (m *ConsumerState) XXX_DiscardUnknown()

func (*ConsumerState) XXX_Marshal

func (m *ConsumerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerState) XXX_Merge

func (m *ConsumerState) XXX_Merge(src proto.Message)

func (*ConsumerState) XXX_Size

func (m *ConsumerState) XXX_Size() int

func (*ConsumerState) XXX_Unmarshal

func (m *ConsumerState) XXX_Unmarshal(b []byte) error

type ConsumerValidator added in v4.1.0

type ConsumerValidator struct {
	// validator's consensus address on the provider chain
	ProviderConsAddr []byte `protobuf:"bytes,1,opt,name=provider_cons_addr,json=providerConsAddr,proto3" json:"provider_cons_addr,omitempty"`
	// voting power the validator has during this epoch
	Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
	// public key the validator uses on the consumer chain during this epoch
	ConsumerPublicKey *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_public_key,json=consumerPublicKey,proto3" json:"consumer_public_key,omitempty"`
}

ConsumerValidator is used to facilitate epoch-based transitions. It contains relevant info for a validator that is expected to validate on a consumer chain during an epoch.

func (*ConsumerValidator) Descriptor added in v4.1.0

func (*ConsumerValidator) Descriptor() ([]byte, []int)

func (*ConsumerValidator) GetConsumerPublicKey added in v4.1.0

func (m *ConsumerValidator) GetConsumerPublicKey() *crypto.PublicKey

func (*ConsumerValidator) GetPower added in v4.1.0

func (m *ConsumerValidator) GetPower() int64

func (*ConsumerValidator) GetProviderConsAddr added in v4.1.0

func (m *ConsumerValidator) GetProviderConsAddr() []byte

func (*ConsumerValidator) Marshal added in v4.1.0

func (m *ConsumerValidator) Marshal() (dAtA []byte, err error)

func (*ConsumerValidator) MarshalTo added in v4.1.0

func (m *ConsumerValidator) MarshalTo(dAtA []byte) (int, error)

func (*ConsumerValidator) MarshalToSizedBuffer added in v4.1.0

func (m *ConsumerValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsumerValidator) ProtoMessage added in v4.1.0

func (*ConsumerValidator) ProtoMessage()

func (*ConsumerValidator) Reset added in v4.1.0

func (m *ConsumerValidator) Reset()

func (*ConsumerValidator) Size added in v4.1.0

func (m *ConsumerValidator) Size() (n int)

func (*ConsumerValidator) String added in v4.1.0

func (m *ConsumerValidator) String() string

func (*ConsumerValidator) Unmarshal added in v4.1.0

func (m *ConsumerValidator) Unmarshal(dAtA []byte) error

func (*ConsumerValidator) XXX_DiscardUnknown added in v4.1.0

func (m *ConsumerValidator) XXX_DiscardUnknown()

func (*ConsumerValidator) XXX_Marshal added in v4.1.0

func (m *ConsumerValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsumerValidator) XXX_Merge added in v4.1.0

func (m *ConsumerValidator) XXX_Merge(src proto.Message)

func (*ConsumerValidator) XXX_Size added in v4.1.0

func (m *ConsumerValidator) XXX_Size() int

func (*ConsumerValidator) XXX_Unmarshal added in v4.1.0

func (m *ConsumerValidator) XXX_Unmarshal(b []byte) error

type EquivocationProposal deprecated

type EquivocationProposal struct {
	// the title of the proposal
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the proposal
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// the list of equivocations that will be processed
	Equivocations []*types1.Equivocation `protobuf:"bytes,3,rep,name=equivocations,proto3" json:"equivocations,omitempty"`
}

EquivocationProposal is a governance proposal on the provider chain to punish a validator for equivocation on a consumer chain.

This type is only used internally to the consumer CCV module. WARNING: This message is deprecated now that equivocations can be submitted and verified automatically on the provider. (see SubmitConsumerDoubleVoting in proto/interchain-security/ccv/provider/v1/tx.proto).

Deprecated: Do not use.

func (*EquivocationProposal) Descriptor

func (*EquivocationProposal) Descriptor() ([]byte, []int)

func (*EquivocationProposal) GetDescription

func (m *EquivocationProposal) GetDescription() string

func (*EquivocationProposal) GetEquivocations

func (m *EquivocationProposal) GetEquivocations() []*types1.Equivocation

func (*EquivocationProposal) GetTitle

func (m *EquivocationProposal) GetTitle() string

func (*EquivocationProposal) Marshal

func (m *EquivocationProposal) Marshal() (dAtA []byte, err error)

func (*EquivocationProposal) MarshalTo

func (m *EquivocationProposal) MarshalTo(dAtA []byte) (int, error)

func (*EquivocationProposal) MarshalToSizedBuffer

func (m *EquivocationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EquivocationProposal) ProposalRoute

func (sp *EquivocationProposal) ProposalRoute() string

ProposalRoute returns the routing key of an equivocation proposal.

func (*EquivocationProposal) ProposalType

func (sp *EquivocationProposal) ProposalType() string

ProposalType returns the type of a equivocation proposal.

func (*EquivocationProposal) ProtoMessage

func (*EquivocationProposal) ProtoMessage()

func (*EquivocationProposal) Reset

func (m *EquivocationProposal) Reset()

func (*EquivocationProposal) Size

func (m *EquivocationProposal) Size() (n int)

func (*EquivocationProposal) String

func (m *EquivocationProposal) String() string

func (*EquivocationProposal) Unmarshal

func (m *EquivocationProposal) Unmarshal(dAtA []byte) error

func (*EquivocationProposal) ValidateBasic

func (sp *EquivocationProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*EquivocationProposal) XXX_DiscardUnknown

func (m *EquivocationProposal) XXX_DiscardUnknown()

func (*EquivocationProposal) XXX_Marshal

func (m *EquivocationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EquivocationProposal) XXX_Merge

func (m *EquivocationProposal) XXX_Merge(src proto.Message)

func (*EquivocationProposal) XXX_Size

func (m *EquivocationProposal) XXX_Size() int

func (*EquivocationProposal) XXX_Unmarshal

func (m *EquivocationProposal) XXX_Unmarshal(b []byte) error

type ExportedVscSendTimestamp

type ExportedVscSendTimestamp struct {
	ChainId           string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	VscSendTimestamps []VscSendTimestamp `protobuf:"bytes,2,rep,name=vsc_send_timestamps,json=vscSendTimestamps,proto3" json:"vsc_send_timestamps"`
}

ExportedVscSendTimestamps is VscSendTimestamp with chainID info for exporting to genesis

func (*ExportedVscSendTimestamp) Descriptor

func (*ExportedVscSendTimestamp) Descriptor() ([]byte, []int)

func (*ExportedVscSendTimestamp) GetChainId

func (m *ExportedVscSendTimestamp) GetChainId() string

func (*ExportedVscSendTimestamp) GetVscSendTimestamps

func (m *ExportedVscSendTimestamp) GetVscSendTimestamps() []VscSendTimestamp

func (*ExportedVscSendTimestamp) Marshal

func (m *ExportedVscSendTimestamp) Marshal() (dAtA []byte, err error)

func (*ExportedVscSendTimestamp) MarshalTo

func (m *ExportedVscSendTimestamp) MarshalTo(dAtA []byte) (int, error)

func (*ExportedVscSendTimestamp) MarshalToSizedBuffer

func (m *ExportedVscSendTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExportedVscSendTimestamp) ProtoMessage

func (*ExportedVscSendTimestamp) ProtoMessage()

func (*ExportedVscSendTimestamp) Reset

func (m *ExportedVscSendTimestamp) Reset()

func (*ExportedVscSendTimestamp) Size

func (m *ExportedVscSendTimestamp) Size() (n int)

func (*ExportedVscSendTimestamp) String

func (m *ExportedVscSendTimestamp) String() string

func (*ExportedVscSendTimestamp) Unmarshal

func (m *ExportedVscSendTimestamp) Unmarshal(dAtA []byte) error

func (*ExportedVscSendTimestamp) XXX_DiscardUnknown

func (m *ExportedVscSendTimestamp) XXX_DiscardUnknown()

func (*ExportedVscSendTimestamp) XXX_Marshal

func (m *ExportedVscSendTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportedVscSendTimestamp) XXX_Merge

func (m *ExportedVscSendTimestamp) XXX_Merge(src proto.Message)

func (*ExportedVscSendTimestamp) XXX_Size

func (m *ExportedVscSendTimestamp) XXX_Size() int

func (*ExportedVscSendTimestamp) XXX_Unmarshal

func (m *ExportedVscSendTimestamp) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// strictly positive and set to 1 (DefaultValsetUpdateID) for a new chain
	ValsetUpdateId uint64 `protobuf:"varint,1,opt,name=valset_update_id,json=valsetUpdateId,proto3" json:"valset_update_id,omitempty"`
	// empty for a new chain
	ConsumerStates []ConsumerState `protobuf:"bytes,2,rep,name=consumer_states,json=consumerStates,proto3" json:"consumer_states" yaml:"consumer_states"`
	// empty for a new chain
	UnbondingOps []UnbondingOp `protobuf:"bytes,3,rep,name=unbonding_ops,json=unbondingOps,proto3" json:"unbonding_ops"`
	// empty for a new chain
	MatureUnbondingOps *MaturedUnbondingOps `protobuf:"bytes,4,opt,name=mature_unbonding_ops,json=matureUnbondingOps,proto3" json:"mature_unbonding_ops,omitempty"`
	// empty for a new chain
	ValsetUpdateIdToHeight []ValsetUpdateIdToHeight `protobuf:"bytes,5,rep,name=valset_update_id_to_height,json=valsetUpdateIdToHeight,proto3" json:"valset_update_id_to_height"`
	// empty for a new chain
	ConsumerAdditionProposals []ConsumerAdditionProposal `` /* 128-byte string literal not displayed */
	// empty for a new chain
	ConsumerRemovalProposals []ConsumerRemovalProposal `protobuf:"bytes,7,rep,name=consumer_removal_proposals,json=consumerRemovalProposals,proto3" json:"consumer_removal_proposals"`
	Params                   Params                    `protobuf:"bytes,8,opt,name=params,proto3" json:"params"`
	// empty for a new chain
	ValidatorConsumerPubkeys []ValidatorConsumerPubKey `protobuf:"bytes,9,rep,name=validator_consumer_pubkeys,json=validatorConsumerPubkeys,proto3" json:"validator_consumer_pubkeys"`
	// empty for a new chain
	ValidatorsByConsumerAddr []ValidatorByConsumerAddr `` /* 128-byte string literal not displayed */
	// empty for a new chain
	ConsumerAddrsToPrune      []ConsumerAddrsToPrune     `protobuf:"bytes,11,rep,name=consumer_addrs_to_prune,json=consumerAddrsToPrune,proto3" json:"consumer_addrs_to_prune"`
	InitTimeoutTimestamps     []InitTimeoutTimestamp     `protobuf:"bytes,12,rep,name=init_timeout_timestamps,json=initTimeoutTimestamps,proto3" json:"init_timeout_timestamps"`
	ExportedVscSendTimestamps []ExportedVscSendTimestamp `` /* 131-byte string literal not displayed */
}

GenesisState defines the CCV provider chain genesis state

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

func NewGenesisState

func NewGenesisState(
	vscID uint64,
	vscIdToHeights []ValsetUpdateIdToHeight,
	consumerStates []ConsumerState,
	unbondingOps []UnbondingOp,
	matureUbdOps *MaturedUnbondingOps,
	additionProposals []ConsumerAdditionProposal,
	removalProposals []ConsumerRemovalProposal,
	params Params,
	validatorConsumerPubkeys []ValidatorConsumerPubKey,
	validatorsByConsumerAddr []ValidatorByConsumerAddr,
	consumerAddrsToPrune []ConsumerAddrsToPrune,
	initTimeoutTimestamps []InitTimeoutTimestamp,
	exportedVscSendTimestamps []ExportedVscSendTimestamp,
) *GenesisState

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetConsumerAdditionProposals

func (m *GenesisState) GetConsumerAdditionProposals() []ConsumerAdditionProposal

func (*GenesisState) GetConsumerAddrsToPrune

func (m *GenesisState) GetConsumerAddrsToPrune() []ConsumerAddrsToPrune

func (*GenesisState) GetConsumerRemovalProposals

func (m *GenesisState) GetConsumerRemovalProposals() []ConsumerRemovalProposal

func (*GenesisState) GetConsumerStates

func (m *GenesisState) GetConsumerStates() []ConsumerState

func (*GenesisState) GetExportedVscSendTimestamps

func (m *GenesisState) GetExportedVscSendTimestamps() []ExportedVscSendTimestamp

func (*GenesisState) GetInitTimeoutTimestamps

func (m *GenesisState) GetInitTimeoutTimestamps() []InitTimeoutTimestamp

func (*GenesisState) GetMatureUnbondingOps

func (m *GenesisState) GetMatureUnbondingOps() *MaturedUnbondingOps

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetUnbondingOps

func (m *GenesisState) GetUnbondingOps() []UnbondingOp

func (*GenesisState) GetValidatorConsumerPubkeys

func (m *GenesisState) GetValidatorConsumerPubkeys() []ValidatorConsumerPubKey

func (*GenesisState) GetValidatorsByConsumerAddr

func (m *GenesisState) GetValidatorsByConsumerAddr() []ValidatorByConsumerAddr

func (*GenesisState) GetValsetUpdateId

func (m *GenesisState) GetValsetUpdateId() uint64

func (*GenesisState) GetValsetUpdateIdToHeight

func (m *GenesisState) GetValsetUpdateIdToHeight() []ValsetUpdateIdToHeight

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

func (GenesisState) ValidateUnbondingOp

func (gs GenesisState) ValidateUnbondingOp(ubdOp UnbondingOp) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type GlobalSlashEntry

type GlobalSlashEntry struct {
	// Block time that slash packet was received by provider chain.
	// This field is used for store key iteration ordering.
	RecvTime time.Time `protobuf:"bytes,1,opt,name=recv_time,json=recvTime,proto3,stdtime" json:"recv_time"`
	// The consumer that sent a slash packet.
	ConsumerChainID string `protobuf:"bytes,2,opt,name=consumer_chain_id,json=consumerChainId,proto3" json:"consumer_chain_id,omitempty"`
	// The IBC sequence number of the recv packet.
	// This field is used in the store key to ensure uniqueness.
	IbcSeqNum uint64 `protobuf:"varint,3,opt,name=ibc_seq_num,json=ibcSeqNum,proto3" json:"ibc_seq_num,omitempty"`
	// The provider's consensus address of the validator being slashed.
	// This field is used to obtain validator power in HandleThrottleQueues.
	//
	// This field is not used in the store key, but is persisted in value bytes,
	// see QueueGlobalSlashEntry.
	ProviderValConsAddr []byte `protobuf:"bytes,4,opt,name=provider_val_cons_addr,json=providerValConsAddr,proto3" json:"provider_val_cons_addr,omitempty"`
}

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.

func NewGlobalSlashEntry

func NewGlobalSlashEntry(recvTime time.Time, consumerChainID string,
	ibcSeqNum uint64, providerValConsAddr ProviderConsAddress,
) GlobalSlashEntry

NewGlobalSlashEntry creates a new GlobalSlashEntry.

func (*GlobalSlashEntry) Descriptor

func (*GlobalSlashEntry) Descriptor() ([]byte, []int)

func (*GlobalSlashEntry) GetConsumerChainID

func (m *GlobalSlashEntry) GetConsumerChainID() string

func (*GlobalSlashEntry) GetIbcSeqNum

func (m *GlobalSlashEntry) GetIbcSeqNum() uint64

func (*GlobalSlashEntry) GetProviderValConsAddr

func (m *GlobalSlashEntry) GetProviderValConsAddr() []byte

func (*GlobalSlashEntry) GetRecvTime

func (m *GlobalSlashEntry) GetRecvTime() time.Time

func (*GlobalSlashEntry) Marshal

func (m *GlobalSlashEntry) Marshal() (dAtA []byte, err error)

func (*GlobalSlashEntry) MarshalTo

func (m *GlobalSlashEntry) MarshalTo(dAtA []byte) (int, error)

func (*GlobalSlashEntry) MarshalToSizedBuffer

func (m *GlobalSlashEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GlobalSlashEntry) ProtoMessage

func (*GlobalSlashEntry) ProtoMessage()

func (*GlobalSlashEntry) Reset

func (m *GlobalSlashEntry) Reset()

func (*GlobalSlashEntry) Size

func (m *GlobalSlashEntry) Size() (n int)

func (*GlobalSlashEntry) String

func (m *GlobalSlashEntry) String() string

func (*GlobalSlashEntry) Unmarshal

func (m *GlobalSlashEntry) Unmarshal(dAtA []byte) error

func (*GlobalSlashEntry) XXX_DiscardUnknown

func (m *GlobalSlashEntry) XXX_DiscardUnknown()

func (*GlobalSlashEntry) XXX_Marshal

func (m *GlobalSlashEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalSlashEntry) XXX_Merge

func (m *GlobalSlashEntry) XXX_Merge(src proto.Message)

func (*GlobalSlashEntry) XXX_Size

func (m *GlobalSlashEntry) XXX_Size() int

func (*GlobalSlashEntry) XXX_Unmarshal

func (m *GlobalSlashEntry) XXX_Unmarshal(b []byte) error

type InitTimeoutTimestamp

type InitTimeoutTimestamp struct {
	ChainId   string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*InitTimeoutTimestamp) Descriptor

func (*InitTimeoutTimestamp) Descriptor() ([]byte, []int)

func (*InitTimeoutTimestamp) GetChainId

func (m *InitTimeoutTimestamp) GetChainId() string

func (*InitTimeoutTimestamp) GetTimestamp

func (m *InitTimeoutTimestamp) GetTimestamp() uint64

func (*InitTimeoutTimestamp) Marshal

func (m *InitTimeoutTimestamp) Marshal() (dAtA []byte, err error)

func (*InitTimeoutTimestamp) MarshalTo

func (m *InitTimeoutTimestamp) MarshalTo(dAtA []byte) (int, error)

func (*InitTimeoutTimestamp) MarshalToSizedBuffer

func (m *InitTimeoutTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InitTimeoutTimestamp) ProtoMessage

func (*InitTimeoutTimestamp) ProtoMessage()

func (*InitTimeoutTimestamp) Reset

func (m *InitTimeoutTimestamp) Reset()

func (*InitTimeoutTimestamp) Size

func (m *InitTimeoutTimestamp) Size() (n int)

func (*InitTimeoutTimestamp) String

func (m *InitTimeoutTimestamp) String() string

func (*InitTimeoutTimestamp) Unmarshal

func (m *InitTimeoutTimestamp) Unmarshal(dAtA []byte) error

func (*InitTimeoutTimestamp) XXX_DiscardUnknown

func (m *InitTimeoutTimestamp) XXX_DiscardUnknown()

func (*InitTimeoutTimestamp) XXX_Marshal

func (m *InitTimeoutTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitTimeoutTimestamp) XXX_Merge

func (m *InitTimeoutTimestamp) XXX_Merge(src proto.Message)

func (*InitTimeoutTimestamp) XXX_Size

func (m *InitTimeoutTimestamp) XXX_Size() int

func (*InitTimeoutTimestamp) XXX_Unmarshal

func (m *InitTimeoutTimestamp) XXX_Unmarshal(b []byte) error

type KeyAssignmentReplacement

type KeyAssignmentReplacement struct {
	ProviderAddr []byte            `protobuf:"bytes,1,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"`
	PrevCKey     *crypto.PublicKey `protobuf:"bytes,2,opt,name=prev_c_key,json=prevCKey,proto3" json:"prev_c_key,omitempty"`
	Power        int64             `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
}

func (*KeyAssignmentReplacement) Descriptor

func (*KeyAssignmentReplacement) Descriptor() ([]byte, []int)

func (*KeyAssignmentReplacement) GetPower

func (m *KeyAssignmentReplacement) GetPower() int64

func (*KeyAssignmentReplacement) GetPrevCKey

func (m *KeyAssignmentReplacement) GetPrevCKey() *crypto.PublicKey

func (*KeyAssignmentReplacement) GetProviderAddr

func (m *KeyAssignmentReplacement) GetProviderAddr() []byte

func (*KeyAssignmentReplacement) Marshal

func (m *KeyAssignmentReplacement) Marshal() (dAtA []byte, err error)

func (*KeyAssignmentReplacement) MarshalTo

func (m *KeyAssignmentReplacement) MarshalTo(dAtA []byte) (int, error)

func (*KeyAssignmentReplacement) MarshalToSizedBuffer

func (m *KeyAssignmentReplacement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyAssignmentReplacement) ProtoMessage

func (*KeyAssignmentReplacement) ProtoMessage()

func (*KeyAssignmentReplacement) Reset

func (m *KeyAssignmentReplacement) Reset()

func (*KeyAssignmentReplacement) Size

func (m *KeyAssignmentReplacement) Size() (n int)

func (*KeyAssignmentReplacement) String

func (m *KeyAssignmentReplacement) String() string

func (*KeyAssignmentReplacement) Unmarshal

func (m *KeyAssignmentReplacement) Unmarshal(dAtA []byte) error

func (*KeyAssignmentReplacement) XXX_DiscardUnknown

func (m *KeyAssignmentReplacement) XXX_DiscardUnknown()

func (*KeyAssignmentReplacement) XXX_Marshal

func (m *KeyAssignmentReplacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyAssignmentReplacement) XXX_Merge

func (m *KeyAssignmentReplacement) XXX_Merge(src proto.Message)

func (*KeyAssignmentReplacement) XXX_Size

func (m *KeyAssignmentReplacement) XXX_Size() int

func (*KeyAssignmentReplacement) XXX_Unmarshal

func (m *KeyAssignmentReplacement) XXX_Unmarshal(b []byte) error

type MaturedUnbondingOps

type MaturedUnbondingOps struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
}

MaturedUnbondingOps defines a list of ids corresponding to ids of matured unbonding operations.

func (*MaturedUnbondingOps) Descriptor

func (*MaturedUnbondingOps) Descriptor() ([]byte, []int)

func (*MaturedUnbondingOps) GetIds

func (m *MaturedUnbondingOps) GetIds() []uint64

func (*MaturedUnbondingOps) Marshal

func (m *MaturedUnbondingOps) Marshal() (dAtA []byte, err error)

func (*MaturedUnbondingOps) MarshalTo

func (m *MaturedUnbondingOps) MarshalTo(dAtA []byte) (int, error)

func (*MaturedUnbondingOps) MarshalToSizedBuffer

func (m *MaturedUnbondingOps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MaturedUnbondingOps) ProtoMessage

func (*MaturedUnbondingOps) ProtoMessage()

func (*MaturedUnbondingOps) Reset

func (m *MaturedUnbondingOps) Reset()

func (*MaturedUnbondingOps) Size

func (m *MaturedUnbondingOps) Size() (n int)

func (*MaturedUnbondingOps) String

func (m *MaturedUnbondingOps) String() string

func (*MaturedUnbondingOps) Unmarshal

func (m *MaturedUnbondingOps) Unmarshal(dAtA []byte) error

func (*MaturedUnbondingOps) XXX_DiscardUnknown

func (m *MaturedUnbondingOps) XXX_DiscardUnknown()

func (*MaturedUnbondingOps) XXX_Marshal

func (m *MaturedUnbondingOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MaturedUnbondingOps) XXX_Merge

func (m *MaturedUnbondingOps) XXX_Merge(src proto.Message)

func (*MaturedUnbondingOps) XXX_Size

func (m *MaturedUnbondingOps) XXX_Size() int

func (*MaturedUnbondingOps) XXX_Unmarshal

func (m *MaturedUnbondingOps) XXX_Unmarshal(b []byte) error

type MsgAssignConsumerKey

type MsgAssignConsumerKey struct {
	// The chain id of the consumer chain to assign a consensus public key to
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The validator address on the provider
	ProviderAddr string `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty" yaml:"address"`
	// The consensus public key to use on the consumer.
	// in json string format corresponding to proto-any, ex:
	// `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"Ui5Gf1+mtWUdH8u3xlmzdKID+F3PK0sfXZ73GZ6q6is="}`
	ConsumerKey string `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"`
}

func NewMsgAssignConsumerKey

func NewMsgAssignConsumerKey(chainID string, providerValidatorAddress sdk.ValAddress,
	consumerConsensusPubKey string,
) (*MsgAssignConsumerKey, error)

NewMsgAssignConsumerKey creates a new MsgAssignConsumerKey instance. Delegator address and validator address are the same.

func (*MsgAssignConsumerKey) Descriptor

func (*MsgAssignConsumerKey) Descriptor() ([]byte, []int)

func (MsgAssignConsumerKey) GetSignBytes

func (msg MsgAssignConsumerKey) GetSignBytes() []byte

GetSignBytes returns the message bytes to sign over.

func (MsgAssignConsumerKey) GetSigners

func (msg MsgAssignConsumerKey) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It returns the address(es) that must sign over msg.GetSignBytes(). If the validator address is not same as delegator's, then the validator must sign the msg as well.

func (*MsgAssignConsumerKey) Marshal

func (m *MsgAssignConsumerKey) Marshal() (dAtA []byte, err error)

func (*MsgAssignConsumerKey) MarshalTo

func (m *MsgAssignConsumerKey) MarshalTo(dAtA []byte) (int, error)

func (*MsgAssignConsumerKey) MarshalToSizedBuffer

func (m *MsgAssignConsumerKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAssignConsumerKey) ProtoMessage

func (*MsgAssignConsumerKey) ProtoMessage()

func (*MsgAssignConsumerKey) Reset

func (m *MsgAssignConsumerKey) Reset()

func (MsgAssignConsumerKey) Route

func (msg MsgAssignConsumerKey) Route() string

Route implements the sdk.Msg interface.

func (*MsgAssignConsumerKey) Size

func (m *MsgAssignConsumerKey) Size() (n int)

func (*MsgAssignConsumerKey) String

func (m *MsgAssignConsumerKey) String() string

func (MsgAssignConsumerKey) Type

func (msg MsgAssignConsumerKey) Type() string

Type implements the sdk.Msg interface.

func (*MsgAssignConsumerKey) Unmarshal

func (m *MsgAssignConsumerKey) Unmarshal(dAtA []byte) error

func (MsgAssignConsumerKey) ValidateBasic

func (msg MsgAssignConsumerKey) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgAssignConsumerKey) XXX_DiscardUnknown

func (m *MsgAssignConsumerKey) XXX_DiscardUnknown()

func (*MsgAssignConsumerKey) XXX_Marshal

func (m *MsgAssignConsumerKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAssignConsumerKey) XXX_Merge

func (m *MsgAssignConsumerKey) XXX_Merge(src proto.Message)

func (*MsgAssignConsumerKey) XXX_Size

func (m *MsgAssignConsumerKey) XXX_Size() int

func (*MsgAssignConsumerKey) XXX_Unmarshal

func (m *MsgAssignConsumerKey) XXX_Unmarshal(b []byte) error

type MsgAssignConsumerKeyResponse

type MsgAssignConsumerKeyResponse struct {
}

func (*MsgAssignConsumerKeyResponse) Descriptor

func (*MsgAssignConsumerKeyResponse) Descriptor() ([]byte, []int)

func (*MsgAssignConsumerKeyResponse) Marshal

func (m *MsgAssignConsumerKeyResponse) Marshal() (dAtA []byte, err error)

func (*MsgAssignConsumerKeyResponse) MarshalTo

func (m *MsgAssignConsumerKeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAssignConsumerKeyResponse) MarshalToSizedBuffer

func (m *MsgAssignConsumerKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAssignConsumerKeyResponse) ProtoMessage

func (*MsgAssignConsumerKeyResponse) ProtoMessage()

func (*MsgAssignConsumerKeyResponse) Reset

func (m *MsgAssignConsumerKeyResponse) Reset()

func (*MsgAssignConsumerKeyResponse) Size

func (m *MsgAssignConsumerKeyResponse) Size() (n int)

func (*MsgAssignConsumerKeyResponse) String

func (*MsgAssignConsumerKeyResponse) Unmarshal

func (m *MsgAssignConsumerKeyResponse) Unmarshal(dAtA []byte) error

func (*MsgAssignConsumerKeyResponse) XXX_DiscardUnknown

func (m *MsgAssignConsumerKeyResponse) XXX_DiscardUnknown()

func (*MsgAssignConsumerKeyResponse) XXX_Marshal

func (m *MsgAssignConsumerKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAssignConsumerKeyResponse) XXX_Merge

func (m *MsgAssignConsumerKeyResponse) XXX_Merge(src proto.Message)

func (*MsgAssignConsumerKeyResponse) XXX_Size

func (m *MsgAssignConsumerKeyResponse) XXX_Size() int

func (*MsgAssignConsumerKeyResponse) XXX_Unmarshal

func (m *MsgAssignConsumerKeyResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	AssignConsumerKey(ctx context.Context, in *MsgAssignConsumerKey, opts ...grpc.CallOption) (*MsgAssignConsumerKeyResponse, error)
	SubmitConsumerMisbehaviour(ctx context.Context, in *MsgSubmitConsumerMisbehaviour, opts ...grpc.CallOption) (*MsgSubmitConsumerMisbehaviourResponse, error)
	SubmitConsumerDoubleVoting(ctx context.Context, in *MsgSubmitConsumerDoubleVoting, opts ...grpc.CallOption) (*MsgSubmitConsumerDoubleVotingResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgServer

MsgServer is the server API for Msg service.

type MsgSubmitConsumerDoubleVoting

type MsgSubmitConsumerDoubleVoting struct {
	Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The equivocation of the consumer chain wrapping
	// an evidence of a validator that signed two conflicting votes
	DuplicateVoteEvidence *types.DuplicateVoteEvidence `` /* 126-byte string literal not displayed */
	// The light client header of the infraction block
	InfractionBlockHeader *_07_tendermint.Header `` /* 126-byte string literal not displayed */
}

MsgSubmitConsumerDoubleVoting defines a message that reports a double signing infraction observed on a consumer chain

func (*MsgSubmitConsumerDoubleVoting) Descriptor

func (*MsgSubmitConsumerDoubleVoting) Descriptor() ([]byte, []int)

func (MsgSubmitConsumerDoubleVoting) GetSignBytes

func (msg MsgSubmitConsumerDoubleVoting) GetSignBytes() []byte

Type implements the sdk.Msg interface.

func (MsgSubmitConsumerDoubleVoting) GetSigners

func (msg MsgSubmitConsumerDoubleVoting) GetSigners() []sdk.AccAddress

Type implements the sdk.Msg interface.

func (*MsgSubmitConsumerDoubleVoting) Marshal

func (m *MsgSubmitConsumerDoubleVoting) Marshal() (dAtA []byte, err error)

func (*MsgSubmitConsumerDoubleVoting) MarshalTo

func (m *MsgSubmitConsumerDoubleVoting) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitConsumerDoubleVoting) MarshalToSizedBuffer

func (m *MsgSubmitConsumerDoubleVoting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitConsumerDoubleVoting) ProtoMessage

func (*MsgSubmitConsumerDoubleVoting) ProtoMessage()

func (*MsgSubmitConsumerDoubleVoting) Reset

func (m *MsgSubmitConsumerDoubleVoting) Reset()

func (MsgSubmitConsumerDoubleVoting) Route

Route implements the sdk.Msg interface.

func (*MsgSubmitConsumerDoubleVoting) Size

func (m *MsgSubmitConsumerDoubleVoting) Size() (n int)

func (*MsgSubmitConsumerDoubleVoting) String

func (MsgSubmitConsumerDoubleVoting) Type

Type implements the sdk.Msg interface.

func (*MsgSubmitConsumerDoubleVoting) Unmarshal

func (m *MsgSubmitConsumerDoubleVoting) Unmarshal(dAtA []byte) error

func (MsgSubmitConsumerDoubleVoting) ValidateBasic

func (msg MsgSubmitConsumerDoubleVoting) ValidateBasic() error

Type implements the sdk.Msg interface.

func (*MsgSubmitConsumerDoubleVoting) XXX_DiscardUnknown

func (m *MsgSubmitConsumerDoubleVoting) XXX_DiscardUnknown()

func (*MsgSubmitConsumerDoubleVoting) XXX_Marshal

func (m *MsgSubmitConsumerDoubleVoting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitConsumerDoubleVoting) XXX_Merge

func (m *MsgSubmitConsumerDoubleVoting) XXX_Merge(src proto.Message)

func (*MsgSubmitConsumerDoubleVoting) XXX_Size

func (m *MsgSubmitConsumerDoubleVoting) XXX_Size() int

func (*MsgSubmitConsumerDoubleVoting) XXX_Unmarshal

func (m *MsgSubmitConsumerDoubleVoting) XXX_Unmarshal(b []byte) error

type MsgSubmitConsumerDoubleVotingResponse

type MsgSubmitConsumerDoubleVotingResponse struct {
}

func (*MsgSubmitConsumerDoubleVotingResponse) Descriptor

func (*MsgSubmitConsumerDoubleVotingResponse) Descriptor() ([]byte, []int)

func (*MsgSubmitConsumerDoubleVotingResponse) Marshal

func (m *MsgSubmitConsumerDoubleVotingResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitConsumerDoubleVotingResponse) MarshalTo

func (m *MsgSubmitConsumerDoubleVotingResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitConsumerDoubleVotingResponse) MarshalToSizedBuffer

func (m *MsgSubmitConsumerDoubleVotingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitConsumerDoubleVotingResponse) ProtoMessage

func (*MsgSubmitConsumerDoubleVotingResponse) ProtoMessage()

func (*MsgSubmitConsumerDoubleVotingResponse) Reset

func (*MsgSubmitConsumerDoubleVotingResponse) Size

func (*MsgSubmitConsumerDoubleVotingResponse) String

func (*MsgSubmitConsumerDoubleVotingResponse) Unmarshal

func (m *MsgSubmitConsumerDoubleVotingResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitConsumerDoubleVotingResponse) XXX_DiscardUnknown

func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_DiscardUnknown()

func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Marshal

func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Merge

func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Size

func (*MsgSubmitConsumerDoubleVotingResponse) XXX_Unmarshal

func (m *MsgSubmitConsumerDoubleVotingResponse) XXX_Unmarshal(b []byte) error

type MsgSubmitConsumerMisbehaviour

type MsgSubmitConsumerMisbehaviour struct {
	Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The Misbehaviour of the consumer chain wrapping
	// two conflicting IBC headers
	Misbehaviour *_07_tendermint.Misbehaviour `protobuf:"bytes,2,opt,name=misbehaviour,proto3" json:"misbehaviour,omitempty"`
}

MsgSubmitConsumerMisbehaviour defines a message that reports a light client attack, also known as a misbehaviour, observed on a consumer chain

func NewMsgSubmitConsumerMisbehaviour

func NewMsgSubmitConsumerMisbehaviour(submitter sdk.AccAddress, misbehaviour *ibctmtypes.Misbehaviour) (*MsgSubmitConsumerMisbehaviour, error)

func (*MsgSubmitConsumerMisbehaviour) Descriptor

func (*MsgSubmitConsumerMisbehaviour) Descriptor() ([]byte, []int)

func (MsgSubmitConsumerMisbehaviour) GetSignBytes

func (msg MsgSubmitConsumerMisbehaviour) GetSignBytes() []byte

Type implements the sdk.Msg interface.

func (MsgSubmitConsumerMisbehaviour) GetSigners

func (msg MsgSubmitConsumerMisbehaviour) GetSigners() []sdk.AccAddress

Type implements the sdk.Msg interface.

func (*MsgSubmitConsumerMisbehaviour) Marshal

func (m *MsgSubmitConsumerMisbehaviour) Marshal() (dAtA []byte, err error)

func (*MsgSubmitConsumerMisbehaviour) MarshalTo

func (m *MsgSubmitConsumerMisbehaviour) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitConsumerMisbehaviour) MarshalToSizedBuffer

func (m *MsgSubmitConsumerMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitConsumerMisbehaviour) ProtoMessage

func (*MsgSubmitConsumerMisbehaviour) ProtoMessage()

func (*MsgSubmitConsumerMisbehaviour) Reset

func (m *MsgSubmitConsumerMisbehaviour) Reset()

func (MsgSubmitConsumerMisbehaviour) Route

Route implements the sdk.Msg interface.

func (*MsgSubmitConsumerMisbehaviour) Size

func (m *MsgSubmitConsumerMisbehaviour) Size() (n int)

func (*MsgSubmitConsumerMisbehaviour) String

func (MsgSubmitConsumerMisbehaviour) Type

Type implements the sdk.Msg interface.

func (*MsgSubmitConsumerMisbehaviour) Unmarshal

func (m *MsgSubmitConsumerMisbehaviour) Unmarshal(dAtA []byte) error

func (MsgSubmitConsumerMisbehaviour) ValidateBasic

func (msg MsgSubmitConsumerMisbehaviour) ValidateBasic() error

Type implements the sdk.Msg interface.

func (*MsgSubmitConsumerMisbehaviour) XXX_DiscardUnknown

func (m *MsgSubmitConsumerMisbehaviour) XXX_DiscardUnknown()

func (*MsgSubmitConsumerMisbehaviour) XXX_Marshal

func (m *MsgSubmitConsumerMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitConsumerMisbehaviour) XXX_Merge

func (m *MsgSubmitConsumerMisbehaviour) XXX_Merge(src proto.Message)

func (*MsgSubmitConsumerMisbehaviour) XXX_Size

func (m *MsgSubmitConsumerMisbehaviour) XXX_Size() int

func (*MsgSubmitConsumerMisbehaviour) XXX_Unmarshal

func (m *MsgSubmitConsumerMisbehaviour) XXX_Unmarshal(b []byte) error

type MsgSubmitConsumerMisbehaviourResponse

type MsgSubmitConsumerMisbehaviourResponse struct {
}

func (*MsgSubmitConsumerMisbehaviourResponse) Descriptor

func (*MsgSubmitConsumerMisbehaviourResponse) Descriptor() ([]byte, []int)

func (*MsgSubmitConsumerMisbehaviourResponse) Marshal

func (m *MsgSubmitConsumerMisbehaviourResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubmitConsumerMisbehaviourResponse) MarshalTo

func (m *MsgSubmitConsumerMisbehaviourResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubmitConsumerMisbehaviourResponse) MarshalToSizedBuffer

func (m *MsgSubmitConsumerMisbehaviourResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubmitConsumerMisbehaviourResponse) ProtoMessage

func (*MsgSubmitConsumerMisbehaviourResponse) ProtoMessage()

func (*MsgSubmitConsumerMisbehaviourResponse) Reset

func (*MsgSubmitConsumerMisbehaviourResponse) Size

func (*MsgSubmitConsumerMisbehaviourResponse) String

func (*MsgSubmitConsumerMisbehaviourResponse) Unmarshal

func (m *MsgSubmitConsumerMisbehaviourResponse) Unmarshal(dAtA []byte) error

func (*MsgSubmitConsumerMisbehaviourResponse) XXX_DiscardUnknown

func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_DiscardUnknown()

func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Marshal

func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Merge

func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Size

func (*MsgSubmitConsumerMisbehaviourResponse) XXX_Unmarshal

func (m *MsgSubmitConsumerMisbehaviourResponse) XXX_Unmarshal(b []byte) error

type PairValConAddrProviderAndConsumer

type PairValConAddrProviderAndConsumer struct {
	// The consensus address of the validator on the provider chain
	ProviderAddress string `protobuf:"bytes,1,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"`
	// The consensus address of the validator on the consumer chain
	ConsumerAddress string            `protobuf:"bytes,2,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty" yaml:"address"`
	ConsumerKey     *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"`
}

func (*PairValConAddrProviderAndConsumer) Descriptor

func (*PairValConAddrProviderAndConsumer) Descriptor() ([]byte, []int)

func (*PairValConAddrProviderAndConsumer) GetConsumerAddress

func (m *PairValConAddrProviderAndConsumer) GetConsumerAddress() string

func (*PairValConAddrProviderAndConsumer) GetConsumerKey

func (m *PairValConAddrProviderAndConsumer) GetConsumerKey() *crypto.PublicKey

func (*PairValConAddrProviderAndConsumer) GetProviderAddress

func (m *PairValConAddrProviderAndConsumer) GetProviderAddress() string

func (*PairValConAddrProviderAndConsumer) Marshal

func (m *PairValConAddrProviderAndConsumer) Marshal() (dAtA []byte, err error)

func (*PairValConAddrProviderAndConsumer) MarshalTo

func (m *PairValConAddrProviderAndConsumer) MarshalTo(dAtA []byte) (int, error)

func (*PairValConAddrProviderAndConsumer) MarshalToSizedBuffer

func (m *PairValConAddrProviderAndConsumer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PairValConAddrProviderAndConsumer) ProtoMessage

func (*PairValConAddrProviderAndConsumer) ProtoMessage()

func (*PairValConAddrProviderAndConsumer) Reset

func (*PairValConAddrProviderAndConsumer) Size

func (m *PairValConAddrProviderAndConsumer) Size() (n int)

func (*PairValConAddrProviderAndConsumer) String

func (*PairValConAddrProviderAndConsumer) Unmarshal

func (m *PairValConAddrProviderAndConsumer) Unmarshal(dAtA []byte) error

func (*PairValConAddrProviderAndConsumer) XXX_DiscardUnknown

func (m *PairValConAddrProviderAndConsumer) XXX_DiscardUnknown()

func (*PairValConAddrProviderAndConsumer) XXX_Marshal

func (m *PairValConAddrProviderAndConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PairValConAddrProviderAndConsumer) XXX_Merge

func (*PairValConAddrProviderAndConsumer) XXX_Size

func (m *PairValConAddrProviderAndConsumer) XXX_Size() int

func (*PairValConAddrProviderAndConsumer) XXX_Unmarshal

func (m *PairValConAddrProviderAndConsumer) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	TemplateClient *_07_tendermint.ClientState `protobuf:"bytes,1,opt,name=template_client,json=templateClient,proto3" json:"template_client,omitempty"`
	// TrustingPeriodFraction is used to compute the consumer and provider IBC
	// client's TrustingPeriod from the chain defined UnbondingPeriod
	TrustingPeriodFraction string `` /* 129-byte string literal not displayed */
	// Sent IBC packets will timeout after this duration
	CcvTimeoutPeriod time.Duration `protobuf:"bytes,3,opt,name=ccv_timeout_period,json=ccvTimeoutPeriod,proto3,stdduration" json:"ccv_timeout_period"`
	// The channel initialization (IBC channel opening handshake) will timeout
	// after this duration
	InitTimeoutPeriod time.Duration `protobuf:"bytes,4,opt,name=init_timeout_period,json=initTimeoutPeriod,proto3,stdduration" json:"init_timeout_period"`
	// The VSC packets sent by the provider will timeout after this duration.
	// Note that unlike ccv_timeout_period which is an IBC param,
	// the vsc_timeout_period is a provider-side param that enables the provider
	// to timeout VSC packets even when a consumer chain is not live.
	VscTimeoutPeriod time.Duration `protobuf:"bytes,5,opt,name=vsc_timeout_period,json=vscTimeoutPeriod,proto3,stdduration" json:"vsc_timeout_period"`
	// The period for which the slash meter is replenished
	SlashMeterReplenishPeriod time.Duration `` /* 142-byte string literal not displayed */
	// The fraction of total voting power that is replenished to the slash meter
	// every replenish period. This param also serves as a maximum fraction of
	// total voting power that the slash meter can hold.
	SlashMeterReplenishFraction string `` /* 146-byte string literal not displayed */
	// The fee required to be paid to add a reward denom
	ConsumerRewardDenomRegistrationFee types2.Coin `` /* 159-byte string literal not displayed */
	// The number of blocks that comprise an epoch.
	BlocksPerEpoch int64 `protobuf:"varint,10,opt,name=blocks_per_epoch,json=blocksPerEpoch,proto3" json:"blocks_per_epoch,omitempty"`
}

Params defines the parameters for CCV Provider module

func DefaultParams

func DefaultParams() Params

DefaultParams is the default params for the provider module

func NewParams

func NewParams(
	cs *ibctmtypes.ClientState,
	trustingPeriodFraction string,
	ccvTimeoutPeriod time.Duration,
	initTimeoutPeriod time.Duration,
	vscTimeoutPeriod time.Duration,
	slashMeterReplenishPeriod time.Duration,
	slashMeterReplenishFraction string,
	consumerRewardDenomRegistrationFee sdk.Coin,
	blocksPerEpoch int64,
) Params

NewParams creates new provider parameters with provided arguments

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetBlocksPerEpoch added in v4.1.0

func (m *Params) GetBlocksPerEpoch() int64

func (*Params) GetCcvTimeoutPeriod

func (m *Params) GetCcvTimeoutPeriod() time.Duration

func (*Params) GetConsumerRewardDenomRegistrationFee

func (m *Params) GetConsumerRewardDenomRegistrationFee() types2.Coin

func (*Params) GetInitTimeoutPeriod

func (m *Params) GetInitTimeoutPeriod() time.Duration

func (*Params) GetSlashMeterReplenishFraction

func (m *Params) GetSlashMeterReplenishFraction() string

func (*Params) GetSlashMeterReplenishPeriod

func (m *Params) GetSlashMeterReplenishPeriod() time.Duration

func (*Params) GetTemplateClient

func (m *Params) GetTemplateClient() *_07_tendermint.ClientState

func (*Params) GetTrustingPeriodFraction

func (m *Params) GetTrustingPeriodFraction() string

func (*Params) GetVscTimeoutPeriod

func (m *Params) GetVscTimeoutPeriod() time.Duration

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs implements params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate all ccv-provider module parameters

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type ProposedChain

type ProposedChain struct {
	ChainID    string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	ProposalID uint64 `protobuf:"varint,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
}

func (*ProposedChain) Descriptor

func (*ProposedChain) Descriptor() ([]byte, []int)

func (*ProposedChain) GetChainID

func (m *ProposedChain) GetChainID() string

func (*ProposedChain) GetProposalID

func (m *ProposedChain) GetProposalID() uint64

func (*ProposedChain) Marshal

func (m *ProposedChain) Marshal() (dAtA []byte, err error)

func (*ProposedChain) MarshalTo

func (m *ProposedChain) MarshalTo(dAtA []byte) (int, error)

func (*ProposedChain) MarshalToSizedBuffer

func (m *ProposedChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProposedChain) ProtoMessage

func (*ProposedChain) ProtoMessage()

func (*ProposedChain) Reset

func (m *ProposedChain) Reset()

func (*ProposedChain) Size

func (m *ProposedChain) Size() (n int)

func (*ProposedChain) String

func (m *ProposedChain) String() string

func (*ProposedChain) Unmarshal

func (m *ProposedChain) Unmarshal(dAtA []byte) error

func (*ProposedChain) XXX_DiscardUnknown

func (m *ProposedChain) XXX_DiscardUnknown()

func (*ProposedChain) XXX_Marshal

func (m *ProposedChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProposedChain) XXX_Merge

func (m *ProposedChain) XXX_Merge(src proto.Message)

func (*ProposedChain) XXX_Size

func (m *ProposedChain) XXX_Size() int

func (*ProposedChain) XXX_Unmarshal

func (m *ProposedChain) XXX_Unmarshal(b []byte) error

type ProviderConsAddress

type ProviderConsAddress struct {
	Address sdk.ConsAddress
}

A validator's consensus address on the provider chain.

func NewProviderConsAddress

func NewProviderConsAddress(addr sdk.ConsAddress) ProviderConsAddress

NewProviderConsAddress creates a new ProviderConsAddress, a validator's consensus address on the provider chain.

func (*ProviderConsAddress) String

func (p *ProviderConsAddress) String() string

String implements the Stringer interface for ProviderConsAddress, in the same format as sdk.ConsAddress

func (*ProviderConsAddress) ToSdkConsAddr

func (p *ProviderConsAddress) ToSdkConsAddr() sdk.ConsAddress

type QueryAllPairsValConAddrByConsumerChainIDRequest

type QueryAllPairsValConAddrByConsumerChainIDRequest struct {
	// The id of the consumer chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Descriptor

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) GetChainId

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Marshal

func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalTo

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalToSizedBuffer

func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) ProtoMessage

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Reset

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Size

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) String

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) Unmarshal

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_DiscardUnknown

func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_DiscardUnknown()

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Marshal

func (m *QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Merge

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Size

func (*QueryAllPairsValConAddrByConsumerChainIDRequest) XXX_Unmarshal

type QueryAllPairsValConAddrByConsumerChainIDResponse

type QueryAllPairsValConAddrByConsumerChainIDResponse struct {
	PairValConAddr []*PairValConAddrProviderAndConsumer `protobuf:"bytes,1,rep,name=pair_val_con_addr,json=pairValConAddr,proto3" json:"pair_val_con_addr,omitempty"`
}

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Descriptor

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) GetPairValConAddr

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Marshal

func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalTo

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalToSizedBuffer

func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) ProtoMessage

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Reset

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Size

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) String

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) Unmarshal

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_DiscardUnknown

func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_DiscardUnknown()

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Marshal

func (m *QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Merge

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Size

func (*QueryAllPairsValConAddrByConsumerChainIDResponse) XXX_Unmarshal

type QueryClient

type QueryClient interface {
	// ConsumerGenesis queries the genesis state needed to start a consumer chain
	// whose proposal has been accepted
	QueryConsumerGenesis(ctx context.Context, in *QueryConsumerGenesisRequest, opts ...grpc.CallOption) (*QueryConsumerGenesisResponse, error)
	// ConsumerChains queries active consumer chains supported by the provider
	// chain
	QueryConsumerChains(ctx context.Context, in *QueryConsumerChainsRequest, opts ...grpc.CallOption) (*QueryConsumerChainsResponse, error)
	// QueryConsumerChainStarts queries consumer chain start proposals.
	QueryConsumerChainStarts(ctx context.Context, in *QueryConsumerChainStartProposalsRequest, opts ...grpc.CallOption) (*QueryConsumerChainStartProposalsResponse, error)
	// QueryConsumerChainStops queries consumer chain stop proposals.
	QueryConsumerChainStops(ctx context.Context, in *QueryConsumerChainStopProposalsRequest, opts ...grpc.CallOption) (*QueryConsumerChainStopProposalsResponse, error)
	// QueryValidatorConsumerAddr queries the address
	// assigned by a validator for a consumer chain.
	QueryValidatorConsumerAddr(ctx context.Context, in *QueryValidatorConsumerAddrRequest, opts ...grpc.CallOption) (*QueryValidatorConsumerAddrResponse, error)
	// QueryProviderAddr returns the provider chain validator
	// given a consumer chain validator address
	QueryValidatorProviderAddr(ctx context.Context, in *QueryValidatorProviderAddrRequest, opts ...grpc.CallOption) (*QueryValidatorProviderAddrResponse, error)
	// QueryThrottleState returns the main on-chain state relevant to currently
	// throttled slash packets
	QueryThrottleState(ctx context.Context, in *QueryThrottleStateRequest, opts ...grpc.CallOption) (*QueryThrottleStateResponse, error)
	// QueryRegisteredConsumerRewardDenoms returns a list of consumer reward
	// denoms that are registered
	QueryRegisteredConsumerRewardDenoms(ctx context.Context, in *QueryRegisteredConsumerRewardDenomsRequest, opts ...grpc.CallOption) (*QueryRegisteredConsumerRewardDenomsResponse, error)
	// QueryProposedConsumerChainIDs returns the chain IDs of the proposed consumer chain addition proposals
	// that are still in the voting period
	QueryProposedConsumerChainIDs(ctx context.Context, in *QueryProposedChainIDsRequest, opts ...grpc.CallOption) (*QueryProposedChainIDsResponse, error)
	// QueryAllPairsValConAddrByConsumerChainID returns a list of pair valconsensus address
	// between provider and consumer chain
	QueryAllPairsValConAddrByConsumerChainID(ctx context.Context, in *QueryAllPairsValConAddrByConsumerChainIDRequest, opts ...grpc.CallOption) (*QueryAllPairsValConAddrByConsumerChainIDResponse, error)
	// QueryParams returns all current values of provider parameters
	QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// QueryOldestUnconfirmedVsc returns the send timestamp of the oldest unconfirmed VSCPacket for a given chainID
	QueryOldestUnconfirmedVsc(ctx context.Context, in *QueryOldestUnconfirmedVscRequest, opts ...grpc.CallOption) (*QueryOldestUnconfirmedVscResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryConsumerChainStartProposalsRequest

type QueryConsumerChainStartProposalsRequest struct {
}

func (*QueryConsumerChainStartProposalsRequest) Descriptor

func (*QueryConsumerChainStartProposalsRequest) Descriptor() ([]byte, []int)

func (*QueryConsumerChainStartProposalsRequest) Marshal

func (m *QueryConsumerChainStartProposalsRequest) Marshal() (dAtA []byte, err error)

func (*QueryConsumerChainStartProposalsRequest) MarshalTo

func (m *QueryConsumerChainStartProposalsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerChainStartProposalsRequest) MarshalToSizedBuffer

func (m *QueryConsumerChainStartProposalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerChainStartProposalsRequest) ProtoMessage

func (*QueryConsumerChainStartProposalsRequest) Reset

func (*QueryConsumerChainStartProposalsRequest) Size

func (*QueryConsumerChainStartProposalsRequest) String

func (*QueryConsumerChainStartProposalsRequest) Unmarshal

func (m *QueryConsumerChainStartProposalsRequest) Unmarshal(dAtA []byte) error

func (*QueryConsumerChainStartProposalsRequest) XXX_DiscardUnknown

func (m *QueryConsumerChainStartProposalsRequest) XXX_DiscardUnknown()

func (*QueryConsumerChainStartProposalsRequest) XXX_Marshal

func (m *QueryConsumerChainStartProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerChainStartProposalsRequest) XXX_Merge

func (*QueryConsumerChainStartProposalsRequest) XXX_Size

func (*QueryConsumerChainStartProposalsRequest) XXX_Unmarshal

func (m *QueryConsumerChainStartProposalsRequest) XXX_Unmarshal(b []byte) error

type QueryConsumerChainStartProposalsResponse

type QueryConsumerChainStartProposalsResponse struct {
	Proposals *ConsumerAdditionProposals `protobuf:"bytes,1,opt,name=proposals,proto3" json:"proposals,omitempty"`
}

func (*QueryConsumerChainStartProposalsResponse) Descriptor

func (*QueryConsumerChainStartProposalsResponse) Descriptor() ([]byte, []int)

func (*QueryConsumerChainStartProposalsResponse) GetProposals

func (*QueryConsumerChainStartProposalsResponse) Marshal

func (m *QueryConsumerChainStartProposalsResponse) Marshal() (dAtA []byte, err error)

func (*QueryConsumerChainStartProposalsResponse) MarshalTo

func (m *QueryConsumerChainStartProposalsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerChainStartProposalsResponse) MarshalToSizedBuffer

func (m *QueryConsumerChainStartProposalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerChainStartProposalsResponse) ProtoMessage

func (*QueryConsumerChainStartProposalsResponse) Reset

func (*QueryConsumerChainStartProposalsResponse) Size

func (*QueryConsumerChainStartProposalsResponse) String

func (*QueryConsumerChainStartProposalsResponse) Unmarshal

func (*QueryConsumerChainStartProposalsResponse) XXX_DiscardUnknown

func (m *QueryConsumerChainStartProposalsResponse) XXX_DiscardUnknown()

func (*QueryConsumerChainStartProposalsResponse) XXX_Marshal

func (m *QueryConsumerChainStartProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerChainStartProposalsResponse) XXX_Merge

func (*QueryConsumerChainStartProposalsResponse) XXX_Size

func (*QueryConsumerChainStartProposalsResponse) XXX_Unmarshal

func (m *QueryConsumerChainStartProposalsResponse) XXX_Unmarshal(b []byte) error

type QueryConsumerChainStopProposalsRequest

type QueryConsumerChainStopProposalsRequest struct {
}

func (*QueryConsumerChainStopProposalsRequest) Descriptor

func (*QueryConsumerChainStopProposalsRequest) Descriptor() ([]byte, []int)

func (*QueryConsumerChainStopProposalsRequest) Marshal

func (m *QueryConsumerChainStopProposalsRequest) Marshal() (dAtA []byte, err error)

func (*QueryConsumerChainStopProposalsRequest) MarshalTo

func (m *QueryConsumerChainStopProposalsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerChainStopProposalsRequest) MarshalToSizedBuffer

func (m *QueryConsumerChainStopProposalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerChainStopProposalsRequest) ProtoMessage

func (*QueryConsumerChainStopProposalsRequest) Reset

func (*QueryConsumerChainStopProposalsRequest) Size

func (*QueryConsumerChainStopProposalsRequest) String

func (*QueryConsumerChainStopProposalsRequest) Unmarshal

func (m *QueryConsumerChainStopProposalsRequest) Unmarshal(dAtA []byte) error

func (*QueryConsumerChainStopProposalsRequest) XXX_DiscardUnknown

func (m *QueryConsumerChainStopProposalsRequest) XXX_DiscardUnknown()

func (*QueryConsumerChainStopProposalsRequest) XXX_Marshal

func (m *QueryConsumerChainStopProposalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerChainStopProposalsRequest) XXX_Merge

func (*QueryConsumerChainStopProposalsRequest) XXX_Size

func (*QueryConsumerChainStopProposalsRequest) XXX_Unmarshal

func (m *QueryConsumerChainStopProposalsRequest) XXX_Unmarshal(b []byte) error

type QueryConsumerChainStopProposalsResponse

type QueryConsumerChainStopProposalsResponse struct {
	Proposals *ConsumerRemovalProposals `protobuf:"bytes,1,opt,name=proposals,proto3" json:"proposals,omitempty"`
}

func (*QueryConsumerChainStopProposalsResponse) Descriptor

func (*QueryConsumerChainStopProposalsResponse) Descriptor() ([]byte, []int)

func (*QueryConsumerChainStopProposalsResponse) GetProposals

func (*QueryConsumerChainStopProposalsResponse) Marshal

func (m *QueryConsumerChainStopProposalsResponse) Marshal() (dAtA []byte, err error)

func (*QueryConsumerChainStopProposalsResponse) MarshalTo

func (m *QueryConsumerChainStopProposalsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerChainStopProposalsResponse) MarshalToSizedBuffer

func (m *QueryConsumerChainStopProposalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerChainStopProposalsResponse) ProtoMessage

func (*QueryConsumerChainStopProposalsResponse) Reset

func (*QueryConsumerChainStopProposalsResponse) Size

func (*QueryConsumerChainStopProposalsResponse) String

func (*QueryConsumerChainStopProposalsResponse) Unmarshal

func (m *QueryConsumerChainStopProposalsResponse) Unmarshal(dAtA []byte) error

func (*QueryConsumerChainStopProposalsResponse) XXX_DiscardUnknown

func (m *QueryConsumerChainStopProposalsResponse) XXX_DiscardUnknown()

func (*QueryConsumerChainStopProposalsResponse) XXX_Marshal

func (m *QueryConsumerChainStopProposalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerChainStopProposalsResponse) XXX_Merge

func (*QueryConsumerChainStopProposalsResponse) XXX_Size

func (*QueryConsumerChainStopProposalsResponse) XXX_Unmarshal

func (m *QueryConsumerChainStopProposalsResponse) XXX_Unmarshal(b []byte) error

type QueryConsumerChainsRequest

type QueryConsumerChainsRequest struct {
}

func (*QueryConsumerChainsRequest) Descriptor

func (*QueryConsumerChainsRequest) Descriptor() ([]byte, []int)

func (*QueryConsumerChainsRequest) Marshal

func (m *QueryConsumerChainsRequest) Marshal() (dAtA []byte, err error)

func (*QueryConsumerChainsRequest) MarshalTo

func (m *QueryConsumerChainsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerChainsRequest) MarshalToSizedBuffer

func (m *QueryConsumerChainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerChainsRequest) ProtoMessage

func (*QueryConsumerChainsRequest) ProtoMessage()

func (*QueryConsumerChainsRequest) Reset

func (m *QueryConsumerChainsRequest) Reset()

func (*QueryConsumerChainsRequest) Size

func (m *QueryConsumerChainsRequest) Size() (n int)

func (*QueryConsumerChainsRequest) String

func (m *QueryConsumerChainsRequest) String() string

func (*QueryConsumerChainsRequest) Unmarshal

func (m *QueryConsumerChainsRequest) Unmarshal(dAtA []byte) error

func (*QueryConsumerChainsRequest) XXX_DiscardUnknown

func (m *QueryConsumerChainsRequest) XXX_DiscardUnknown()

func (*QueryConsumerChainsRequest) XXX_Marshal

func (m *QueryConsumerChainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerChainsRequest) XXX_Merge

func (m *QueryConsumerChainsRequest) XXX_Merge(src proto.Message)

func (*QueryConsumerChainsRequest) XXX_Size

func (m *QueryConsumerChainsRequest) XXX_Size() int

func (*QueryConsumerChainsRequest) XXX_Unmarshal

func (m *QueryConsumerChainsRequest) XXX_Unmarshal(b []byte) error

type QueryConsumerChainsResponse

type QueryConsumerChainsResponse struct {
	Chains []*Chain `protobuf:"bytes,1,rep,name=chains,proto3" json:"chains,omitempty"`
}

func (*QueryConsumerChainsResponse) Descriptor

func (*QueryConsumerChainsResponse) Descriptor() ([]byte, []int)

func (*QueryConsumerChainsResponse) GetChains

func (m *QueryConsumerChainsResponse) GetChains() []*Chain

func (*QueryConsumerChainsResponse) Marshal

func (m *QueryConsumerChainsResponse) Marshal() (dAtA []byte, err error)

func (*QueryConsumerChainsResponse) MarshalTo

func (m *QueryConsumerChainsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerChainsResponse) MarshalToSizedBuffer

func (m *QueryConsumerChainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerChainsResponse) ProtoMessage

func (*QueryConsumerChainsResponse) ProtoMessage()

func (*QueryConsumerChainsResponse) Reset

func (m *QueryConsumerChainsResponse) Reset()

func (*QueryConsumerChainsResponse) Size

func (m *QueryConsumerChainsResponse) Size() (n int)

func (*QueryConsumerChainsResponse) String

func (m *QueryConsumerChainsResponse) String() string

func (*QueryConsumerChainsResponse) Unmarshal

func (m *QueryConsumerChainsResponse) Unmarshal(dAtA []byte) error

func (*QueryConsumerChainsResponse) XXX_DiscardUnknown

func (m *QueryConsumerChainsResponse) XXX_DiscardUnknown()

func (*QueryConsumerChainsResponse) XXX_Marshal

func (m *QueryConsumerChainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerChainsResponse) XXX_Merge

func (m *QueryConsumerChainsResponse) XXX_Merge(src proto.Message)

func (*QueryConsumerChainsResponse) XXX_Size

func (m *QueryConsumerChainsResponse) XXX_Size() int

func (*QueryConsumerChainsResponse) XXX_Unmarshal

func (m *QueryConsumerChainsResponse) XXX_Unmarshal(b []byte) error

type QueryConsumerGenesisRequest

type QueryConsumerGenesisRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*QueryConsumerGenesisRequest) Descriptor

func (*QueryConsumerGenesisRequest) Descriptor() ([]byte, []int)

func (*QueryConsumerGenesisRequest) GetChainId

func (m *QueryConsumerGenesisRequest) GetChainId() string

func (*QueryConsumerGenesisRequest) Marshal

func (m *QueryConsumerGenesisRequest) Marshal() (dAtA []byte, err error)

func (*QueryConsumerGenesisRequest) MarshalTo

func (m *QueryConsumerGenesisRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerGenesisRequest) MarshalToSizedBuffer

func (m *QueryConsumerGenesisRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerGenesisRequest) ProtoMessage

func (*QueryConsumerGenesisRequest) ProtoMessage()

func (*QueryConsumerGenesisRequest) Reset

func (m *QueryConsumerGenesisRequest) Reset()

func (*QueryConsumerGenesisRequest) Size

func (m *QueryConsumerGenesisRequest) Size() (n int)

func (*QueryConsumerGenesisRequest) String

func (m *QueryConsumerGenesisRequest) String() string

func (*QueryConsumerGenesisRequest) Unmarshal

func (m *QueryConsumerGenesisRequest) Unmarshal(dAtA []byte) error

func (*QueryConsumerGenesisRequest) XXX_DiscardUnknown

func (m *QueryConsumerGenesisRequest) XXX_DiscardUnknown()

func (*QueryConsumerGenesisRequest) XXX_Marshal

func (m *QueryConsumerGenesisRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerGenesisRequest) XXX_Merge

func (m *QueryConsumerGenesisRequest) XXX_Merge(src proto.Message)

func (*QueryConsumerGenesisRequest) XXX_Size

func (m *QueryConsumerGenesisRequest) XXX_Size() int

func (*QueryConsumerGenesisRequest) XXX_Unmarshal

func (m *QueryConsumerGenesisRequest) XXX_Unmarshal(b []byte) error

type QueryConsumerGenesisResponse

type QueryConsumerGenesisResponse struct {
	GenesisState types.ConsumerGenesisState `protobuf:"bytes,1,opt,name=genesis_state,json=genesisState,proto3" json:"genesis_state"`
}

func (*QueryConsumerGenesisResponse) Descriptor

func (*QueryConsumerGenesisResponse) Descriptor() ([]byte, []int)

func (*QueryConsumerGenesisResponse) GetGenesisState

func (*QueryConsumerGenesisResponse) Marshal

func (m *QueryConsumerGenesisResponse) Marshal() (dAtA []byte, err error)

func (*QueryConsumerGenesisResponse) MarshalTo

func (m *QueryConsumerGenesisResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryConsumerGenesisResponse) MarshalToSizedBuffer

func (m *QueryConsumerGenesisResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryConsumerGenesisResponse) ProtoMessage

func (*QueryConsumerGenesisResponse) ProtoMessage()

func (*QueryConsumerGenesisResponse) Reset

func (m *QueryConsumerGenesisResponse) Reset()

func (*QueryConsumerGenesisResponse) Size

func (m *QueryConsumerGenesisResponse) Size() (n int)

func (*QueryConsumerGenesisResponse) String

func (*QueryConsumerGenesisResponse) Unmarshal

func (m *QueryConsumerGenesisResponse) Unmarshal(dAtA []byte) error

func (*QueryConsumerGenesisResponse) XXX_DiscardUnknown

func (m *QueryConsumerGenesisResponse) XXX_DiscardUnknown()

func (*QueryConsumerGenesisResponse) XXX_Marshal

func (m *QueryConsumerGenesisResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsumerGenesisResponse) XXX_Merge

func (m *QueryConsumerGenesisResponse) XXX_Merge(src proto.Message)

func (*QueryConsumerGenesisResponse) XXX_Size

func (m *QueryConsumerGenesisResponse) XXX_Size() int

func (*QueryConsumerGenesisResponse) XXX_Unmarshal

func (m *QueryConsumerGenesisResponse) XXX_Unmarshal(b []byte) error

type QueryOldestUnconfirmedVscRequest added in v4.1.0

type QueryOldestUnconfirmedVscRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*QueryOldestUnconfirmedVscRequest) Descriptor added in v4.1.0

func (*QueryOldestUnconfirmedVscRequest) Descriptor() ([]byte, []int)

func (*QueryOldestUnconfirmedVscRequest) GetChainId added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) GetChainId() string

func (*QueryOldestUnconfirmedVscRequest) Marshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) Marshal() (dAtA []byte, err error)

func (*QueryOldestUnconfirmedVscRequest) MarshalTo added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOldestUnconfirmedVscRequest) MarshalToSizedBuffer added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOldestUnconfirmedVscRequest) ProtoMessage added in v4.1.0

func (*QueryOldestUnconfirmedVscRequest) ProtoMessage()

func (*QueryOldestUnconfirmedVscRequest) Reset added in v4.1.0

func (*QueryOldestUnconfirmedVscRequest) Size added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) Size() (n int)

func (*QueryOldestUnconfirmedVscRequest) String added in v4.1.0

func (*QueryOldestUnconfirmedVscRequest) Unmarshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) Unmarshal(dAtA []byte) error

func (*QueryOldestUnconfirmedVscRequest) XXX_DiscardUnknown added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) XXX_DiscardUnknown()

func (*QueryOldestUnconfirmedVscRequest) XXX_Marshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOldestUnconfirmedVscRequest) XXX_Merge added in v4.1.0

func (*QueryOldestUnconfirmedVscRequest) XXX_Size added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) XXX_Size() int

func (*QueryOldestUnconfirmedVscRequest) XXX_Unmarshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscRequest) XXX_Unmarshal(b []byte) error

type QueryOldestUnconfirmedVscResponse added in v4.1.0

type QueryOldestUnconfirmedVscResponse struct {
	VscSendTimestamp VscSendTimestamp `protobuf:"bytes,1,opt,name=vsc_send_timestamp,json=vscSendTimestamp,proto3" json:"vsc_send_timestamp"`
}

func (*QueryOldestUnconfirmedVscResponse) Descriptor added in v4.1.0

func (*QueryOldestUnconfirmedVscResponse) Descriptor() ([]byte, []int)

func (*QueryOldestUnconfirmedVscResponse) GetVscSendTimestamp added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) GetVscSendTimestamp() VscSendTimestamp

func (*QueryOldestUnconfirmedVscResponse) Marshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) Marshal() (dAtA []byte, err error)

func (*QueryOldestUnconfirmedVscResponse) MarshalTo added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOldestUnconfirmedVscResponse) MarshalToSizedBuffer added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOldestUnconfirmedVscResponse) ProtoMessage added in v4.1.0

func (*QueryOldestUnconfirmedVscResponse) ProtoMessage()

func (*QueryOldestUnconfirmedVscResponse) Reset added in v4.1.0

func (*QueryOldestUnconfirmedVscResponse) Size added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) Size() (n int)

func (*QueryOldestUnconfirmedVscResponse) String added in v4.1.0

func (*QueryOldestUnconfirmedVscResponse) Unmarshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) Unmarshal(dAtA []byte) error

func (*QueryOldestUnconfirmedVscResponse) XXX_DiscardUnknown added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) XXX_DiscardUnknown()

func (*QueryOldestUnconfirmedVscResponse) XXX_Marshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOldestUnconfirmedVscResponse) XXX_Merge added in v4.1.0

func (*QueryOldestUnconfirmedVscResponse) XXX_Size added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) XXX_Size() int

func (*QueryOldestUnconfirmedVscResponse) XXX_Unmarshal added in v4.1.0

func (m *QueryOldestUnconfirmedVscResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest added in v4.1.0

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor added in v4.1.0

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal added in v4.1.0

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo added in v4.1.0

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer added in v4.1.0

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage added in v4.1.0

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset added in v4.1.0

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size added in v4.1.0

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String added in v4.1.0

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal added in v4.1.0

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown added in v4.1.0

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal added in v4.1.0

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge added in v4.1.0

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size added in v4.1.0

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal added in v4.1.0

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse added in v4.1.0

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor added in v4.1.0

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams added in v4.1.0

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal added in v4.1.0

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo added in v4.1.0

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer added in v4.1.0

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage added in v4.1.0

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset added in v4.1.0

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size added in v4.1.0

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String added in v4.1.0

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal added in v4.1.0

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown added in v4.1.0

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal added in v4.1.0

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge added in v4.1.0

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size added in v4.1.0

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal added in v4.1.0

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryProposedChainIDsRequest

type QueryProposedChainIDsRequest struct {
}

func (*QueryProposedChainIDsRequest) Descriptor

func (*QueryProposedChainIDsRequest) Descriptor() ([]byte, []int)

func (*QueryProposedChainIDsRequest) Marshal

func (m *QueryProposedChainIDsRequest) Marshal() (dAtA []byte, err error)

func (*QueryProposedChainIDsRequest) MarshalTo

func (m *QueryProposedChainIDsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProposedChainIDsRequest) MarshalToSizedBuffer

func (m *QueryProposedChainIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProposedChainIDsRequest) ProtoMessage

func (*QueryProposedChainIDsRequest) ProtoMessage()

func (*QueryProposedChainIDsRequest) Reset

func (m *QueryProposedChainIDsRequest) Reset()

func (*QueryProposedChainIDsRequest) Size

func (m *QueryProposedChainIDsRequest) Size() (n int)

func (*QueryProposedChainIDsRequest) String

func (*QueryProposedChainIDsRequest) Unmarshal

func (m *QueryProposedChainIDsRequest) Unmarshal(dAtA []byte) error

func (*QueryProposedChainIDsRequest) XXX_DiscardUnknown

func (m *QueryProposedChainIDsRequest) XXX_DiscardUnknown()

func (*QueryProposedChainIDsRequest) XXX_Marshal

func (m *QueryProposedChainIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProposedChainIDsRequest) XXX_Merge

func (m *QueryProposedChainIDsRequest) XXX_Merge(src proto.Message)

func (*QueryProposedChainIDsRequest) XXX_Size

func (m *QueryProposedChainIDsRequest) XXX_Size() int

func (*QueryProposedChainIDsRequest) XXX_Unmarshal

func (m *QueryProposedChainIDsRequest) XXX_Unmarshal(b []byte) error

type QueryProposedChainIDsResponse

type QueryProposedChainIDsResponse struct {
	ProposedChains []ProposedChain `protobuf:"bytes,1,rep,name=proposedChains,proto3" json:"proposedChains"`
}

func (*QueryProposedChainIDsResponse) Descriptor

func (*QueryProposedChainIDsResponse) Descriptor() ([]byte, []int)

func (*QueryProposedChainIDsResponse) GetProposedChains

func (m *QueryProposedChainIDsResponse) GetProposedChains() []ProposedChain

func (*QueryProposedChainIDsResponse) Marshal

func (m *QueryProposedChainIDsResponse) Marshal() (dAtA []byte, err error)

func (*QueryProposedChainIDsResponse) MarshalTo

func (m *QueryProposedChainIDsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProposedChainIDsResponse) MarshalToSizedBuffer

func (m *QueryProposedChainIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProposedChainIDsResponse) ProtoMessage

func (*QueryProposedChainIDsResponse) ProtoMessage()

func (*QueryProposedChainIDsResponse) Reset

func (m *QueryProposedChainIDsResponse) Reset()

func (*QueryProposedChainIDsResponse) Size

func (m *QueryProposedChainIDsResponse) Size() (n int)

func (*QueryProposedChainIDsResponse) String

func (*QueryProposedChainIDsResponse) Unmarshal

func (m *QueryProposedChainIDsResponse) Unmarshal(dAtA []byte) error

func (*QueryProposedChainIDsResponse) XXX_DiscardUnknown

func (m *QueryProposedChainIDsResponse) XXX_DiscardUnknown()

func (*QueryProposedChainIDsResponse) XXX_Marshal

func (m *QueryProposedChainIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProposedChainIDsResponse) XXX_Merge

func (m *QueryProposedChainIDsResponse) XXX_Merge(src proto.Message)

func (*QueryProposedChainIDsResponse) XXX_Size

func (m *QueryProposedChainIDsResponse) XXX_Size() int

func (*QueryProposedChainIDsResponse) XXX_Unmarshal

func (m *QueryProposedChainIDsResponse) XXX_Unmarshal(b []byte) error

type QueryRegisteredConsumerRewardDenomsRequest

type QueryRegisteredConsumerRewardDenomsRequest struct {
}

func (*QueryRegisteredConsumerRewardDenomsRequest) Descriptor

func (*QueryRegisteredConsumerRewardDenomsRequest) Marshal

func (m *QueryRegisteredConsumerRewardDenomsRequest) Marshal() (dAtA []byte, err error)

func (*QueryRegisteredConsumerRewardDenomsRequest) MarshalTo

func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryRegisteredConsumerRewardDenomsRequest) MarshalToSizedBuffer

func (m *QueryRegisteredConsumerRewardDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRegisteredConsumerRewardDenomsRequest) ProtoMessage

func (*QueryRegisteredConsumerRewardDenomsRequest) Reset

func (*QueryRegisteredConsumerRewardDenomsRequest) Size

func (*QueryRegisteredConsumerRewardDenomsRequest) String

func (*QueryRegisteredConsumerRewardDenomsRequest) Unmarshal

func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_DiscardUnknown

func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_DiscardUnknown()

func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Marshal

func (m *QueryRegisteredConsumerRewardDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Merge

func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Size

func (*QueryRegisteredConsumerRewardDenomsRequest) XXX_Unmarshal

type QueryRegisteredConsumerRewardDenomsResponse

type QueryRegisteredConsumerRewardDenomsResponse struct {
	Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
}

func (*QueryRegisteredConsumerRewardDenomsResponse) Descriptor

func (*QueryRegisteredConsumerRewardDenomsResponse) GetDenoms

func (*QueryRegisteredConsumerRewardDenomsResponse) Marshal

func (m *QueryRegisteredConsumerRewardDenomsResponse) Marshal() (dAtA []byte, err error)

func (*QueryRegisteredConsumerRewardDenomsResponse) MarshalTo

func (*QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer

func (m *QueryRegisteredConsumerRewardDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryRegisteredConsumerRewardDenomsResponse) ProtoMessage

func (*QueryRegisteredConsumerRewardDenomsResponse) Reset

func (*QueryRegisteredConsumerRewardDenomsResponse) Size

func (*QueryRegisteredConsumerRewardDenomsResponse) String

func (*QueryRegisteredConsumerRewardDenomsResponse) Unmarshal

func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_DiscardUnknown

func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_DiscardUnknown()

func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Marshal

func (m *QueryRegisteredConsumerRewardDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Merge

func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Size

func (*QueryRegisteredConsumerRewardDenomsResponse) XXX_Unmarshal

type QueryServer

type QueryServer interface {
	// ConsumerGenesis queries the genesis state needed to start a consumer chain
	// whose proposal has been accepted
	QueryConsumerGenesis(context.Context, *QueryConsumerGenesisRequest) (*QueryConsumerGenesisResponse, error)
	// ConsumerChains queries active consumer chains supported by the provider
	// chain
	QueryConsumerChains(context.Context, *QueryConsumerChainsRequest) (*QueryConsumerChainsResponse, error)
	// QueryConsumerChainStarts queries consumer chain start proposals.
	QueryConsumerChainStarts(context.Context, *QueryConsumerChainStartProposalsRequest) (*QueryConsumerChainStartProposalsResponse, error)
	// QueryConsumerChainStops queries consumer chain stop proposals.
	QueryConsumerChainStops(context.Context, *QueryConsumerChainStopProposalsRequest) (*QueryConsumerChainStopProposalsResponse, error)
	// QueryValidatorConsumerAddr queries the address
	// assigned by a validator for a consumer chain.
	QueryValidatorConsumerAddr(context.Context, *QueryValidatorConsumerAddrRequest) (*QueryValidatorConsumerAddrResponse, error)
	// QueryProviderAddr returns the provider chain validator
	// given a consumer chain validator address
	QueryValidatorProviderAddr(context.Context, *QueryValidatorProviderAddrRequest) (*QueryValidatorProviderAddrResponse, error)
	// QueryThrottleState returns the main on-chain state relevant to currently
	// throttled slash packets
	QueryThrottleState(context.Context, *QueryThrottleStateRequest) (*QueryThrottleStateResponse, error)
	// QueryRegisteredConsumerRewardDenoms returns a list of consumer reward
	// denoms that are registered
	QueryRegisteredConsumerRewardDenoms(context.Context, *QueryRegisteredConsumerRewardDenomsRequest) (*QueryRegisteredConsumerRewardDenomsResponse, error)
	// QueryProposedConsumerChainIDs returns the chain IDs of the proposed consumer chain addition proposals
	// that are still in the voting period
	QueryProposedConsumerChainIDs(context.Context, *QueryProposedChainIDsRequest) (*QueryProposedChainIDsResponse, error)
	// QueryAllPairsValConAddrByConsumerChainID returns a list of pair valconsensus address
	// between provider and consumer chain
	QueryAllPairsValConAddrByConsumerChainID(context.Context, *QueryAllPairsValConAddrByConsumerChainIDRequest) (*QueryAllPairsValConAddrByConsumerChainIDResponse, error)
	// QueryParams returns all current values of provider parameters
	QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// QueryOldestUnconfirmedVsc returns the send timestamp of the oldest unconfirmed VSCPacket for a given chainID
	QueryOldestUnconfirmedVsc(context.Context, *QueryOldestUnconfirmedVscRequest) (*QueryOldestUnconfirmedVscResponse, error)
}

QueryServer is the server API for Query service.

type QueryThrottleStateRequest

type QueryThrottleStateRequest struct {
}

func (*QueryThrottleStateRequest) Descriptor

func (*QueryThrottleStateRequest) Descriptor() ([]byte, []int)

func (*QueryThrottleStateRequest) Marshal

func (m *QueryThrottleStateRequest) Marshal() (dAtA []byte, err error)

func (*QueryThrottleStateRequest) MarshalTo

func (m *QueryThrottleStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryThrottleStateRequest) MarshalToSizedBuffer

func (m *QueryThrottleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryThrottleStateRequest) ProtoMessage

func (*QueryThrottleStateRequest) ProtoMessage()

func (*QueryThrottleStateRequest) Reset

func (m *QueryThrottleStateRequest) Reset()

func (*QueryThrottleStateRequest) Size

func (m *QueryThrottleStateRequest) Size() (n int)

func (*QueryThrottleStateRequest) String

func (m *QueryThrottleStateRequest) String() string

func (*QueryThrottleStateRequest) Unmarshal

func (m *QueryThrottleStateRequest) Unmarshal(dAtA []byte) error

func (*QueryThrottleStateRequest) XXX_DiscardUnknown

func (m *QueryThrottleStateRequest) XXX_DiscardUnknown()

func (*QueryThrottleStateRequest) XXX_Marshal

func (m *QueryThrottleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryThrottleStateRequest) XXX_Merge

func (m *QueryThrottleStateRequest) XXX_Merge(src proto.Message)

func (*QueryThrottleStateRequest) XXX_Size

func (m *QueryThrottleStateRequest) XXX_Size() int

func (*QueryThrottleStateRequest) XXX_Unmarshal

func (m *QueryThrottleStateRequest) XXX_Unmarshal(b []byte) error

type QueryThrottleStateResponse

type QueryThrottleStateResponse struct {
	// current slash_meter state
	SlashMeter int64 `protobuf:"varint,1,opt,name=slash_meter,json=slashMeter,proto3" json:"slash_meter,omitempty"`
	// allowance of voting power units (int) that the slash meter is given per
	// replenish period this also serves as the max value for the meter.
	SlashMeterAllowance int64 `protobuf:"varint,2,opt,name=slash_meter_allowance,json=slashMeterAllowance,proto3" json:"slash_meter_allowance,omitempty"`
	// next time the slash meter could potentially be replenished, iff it's not
	// full
	NextReplenishCandidate time.Time `` /* 127-byte string literal not displayed */
}

func (*QueryThrottleStateResponse) Descriptor

func (*QueryThrottleStateResponse) Descriptor() ([]byte, []int)

func (*QueryThrottleStateResponse) GetNextReplenishCandidate

func (m *QueryThrottleStateResponse) GetNextReplenishCandidate() time.Time

func (*QueryThrottleStateResponse) GetSlashMeter

func (m *QueryThrottleStateResponse) GetSlashMeter() int64

func (*QueryThrottleStateResponse) GetSlashMeterAllowance

func (m *QueryThrottleStateResponse) GetSlashMeterAllowance() int64

func (*QueryThrottleStateResponse) Marshal

func (m *QueryThrottleStateResponse) Marshal() (dAtA []byte, err error)

func (*QueryThrottleStateResponse) MarshalTo

func (m *QueryThrottleStateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryThrottleStateResponse) MarshalToSizedBuffer

func (m *QueryThrottleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryThrottleStateResponse) ProtoMessage

func (*QueryThrottleStateResponse) ProtoMessage()

func (*QueryThrottleStateResponse) Reset

func (m *QueryThrottleStateResponse) Reset()

func (*QueryThrottleStateResponse) Size

func (m *QueryThrottleStateResponse) Size() (n int)

func (*QueryThrottleStateResponse) String

func (m *QueryThrottleStateResponse) String() string

func (*QueryThrottleStateResponse) Unmarshal

func (m *QueryThrottleStateResponse) Unmarshal(dAtA []byte) error

func (*QueryThrottleStateResponse) XXX_DiscardUnknown

func (m *QueryThrottleStateResponse) XXX_DiscardUnknown()

func (*QueryThrottleStateResponse) XXX_Marshal

func (m *QueryThrottleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryThrottleStateResponse) XXX_Merge

func (m *QueryThrottleStateResponse) XXX_Merge(src proto.Message)

func (*QueryThrottleStateResponse) XXX_Size

func (m *QueryThrottleStateResponse) XXX_Size() int

func (*QueryThrottleStateResponse) XXX_Unmarshal

func (m *QueryThrottleStateResponse) XXX_Unmarshal(b []byte) error

type QueryValidatorConsumerAddrRequest

type QueryValidatorConsumerAddrRequest struct {
	// The id of the consumer chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The consensus address of the validator on the provider chain
	ProviderAddress string `protobuf:"bytes,2,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty" yaml:"address"`
}

func (*QueryValidatorConsumerAddrRequest) Descriptor

func (*QueryValidatorConsumerAddrRequest) Descriptor() ([]byte, []int)

func (*QueryValidatorConsumerAddrRequest) Marshal

func (m *QueryValidatorConsumerAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryValidatorConsumerAddrRequest) MarshalTo

func (m *QueryValidatorConsumerAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer

func (m *QueryValidatorConsumerAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValidatorConsumerAddrRequest) ProtoMessage

func (*QueryValidatorConsumerAddrRequest) ProtoMessage()

func (*QueryValidatorConsumerAddrRequest) Reset

func (*QueryValidatorConsumerAddrRequest) Size

func (m *QueryValidatorConsumerAddrRequest) Size() (n int)

func (*QueryValidatorConsumerAddrRequest) String

func (*QueryValidatorConsumerAddrRequest) Unmarshal

func (m *QueryValidatorConsumerAddrRequest) Unmarshal(dAtA []byte) error

func (*QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown

func (m *QueryValidatorConsumerAddrRequest) XXX_DiscardUnknown()

func (*QueryValidatorConsumerAddrRequest) XXX_Marshal

func (m *QueryValidatorConsumerAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValidatorConsumerAddrRequest) XXX_Merge

func (*QueryValidatorConsumerAddrRequest) XXX_Size

func (m *QueryValidatorConsumerAddrRequest) XXX_Size() int

func (*QueryValidatorConsumerAddrRequest) XXX_Unmarshal

func (m *QueryValidatorConsumerAddrRequest) XXX_Unmarshal(b []byte) error

type QueryValidatorConsumerAddrResponse

type QueryValidatorConsumerAddrResponse struct {
	// The address of the validator on the consumer chain
	ConsumerAddress string `protobuf:"bytes,1,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty"`
}

func (*QueryValidatorConsumerAddrResponse) Descriptor

func (*QueryValidatorConsumerAddrResponse) Descriptor() ([]byte, []int)

func (*QueryValidatorConsumerAddrResponse) GetConsumerAddress

func (m *QueryValidatorConsumerAddrResponse) GetConsumerAddress() string

func (*QueryValidatorConsumerAddrResponse) Marshal

func (m *QueryValidatorConsumerAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryValidatorConsumerAddrResponse) MarshalTo

func (m *QueryValidatorConsumerAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer

func (m *QueryValidatorConsumerAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValidatorConsumerAddrResponse) ProtoMessage

func (*QueryValidatorConsumerAddrResponse) ProtoMessage()

func (*QueryValidatorConsumerAddrResponse) Reset

func (*QueryValidatorConsumerAddrResponse) Size

func (*QueryValidatorConsumerAddrResponse) String

func (*QueryValidatorConsumerAddrResponse) Unmarshal

func (m *QueryValidatorConsumerAddrResponse) Unmarshal(dAtA []byte) error

func (*QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown

func (m *QueryValidatorConsumerAddrResponse) XXX_DiscardUnknown()

func (*QueryValidatorConsumerAddrResponse) XXX_Marshal

func (m *QueryValidatorConsumerAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValidatorConsumerAddrResponse) XXX_Merge

func (*QueryValidatorConsumerAddrResponse) XXX_Size

func (*QueryValidatorConsumerAddrResponse) XXX_Unmarshal

func (m *QueryValidatorConsumerAddrResponse) XXX_Unmarshal(b []byte) error

type QueryValidatorProviderAddrRequest

type QueryValidatorProviderAddrRequest struct {
	// The id of the provider chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The consensus address of the validator on the consumer chain
	ConsumerAddress string `protobuf:"bytes,2,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty" yaml:"address"`
}

func (*QueryValidatorProviderAddrRequest) Descriptor

func (*QueryValidatorProviderAddrRequest) Descriptor() ([]byte, []int)

func (*QueryValidatorProviderAddrRequest) Marshal

func (m *QueryValidatorProviderAddrRequest) Marshal() (dAtA []byte, err error)

func (*QueryValidatorProviderAddrRequest) MarshalTo

func (m *QueryValidatorProviderAddrRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryValidatorProviderAddrRequest) MarshalToSizedBuffer

func (m *QueryValidatorProviderAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValidatorProviderAddrRequest) ProtoMessage

func (*QueryValidatorProviderAddrRequest) ProtoMessage()

func (*QueryValidatorProviderAddrRequest) Reset

func (*QueryValidatorProviderAddrRequest) Size

func (m *QueryValidatorProviderAddrRequest) Size() (n int)

func (*QueryValidatorProviderAddrRequest) String

func (*QueryValidatorProviderAddrRequest) Unmarshal

func (m *QueryValidatorProviderAddrRequest) Unmarshal(dAtA []byte) error

func (*QueryValidatorProviderAddrRequest) XXX_DiscardUnknown

func (m *QueryValidatorProviderAddrRequest) XXX_DiscardUnknown()

func (*QueryValidatorProviderAddrRequest) XXX_Marshal

func (m *QueryValidatorProviderAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValidatorProviderAddrRequest) XXX_Merge

func (*QueryValidatorProviderAddrRequest) XXX_Size

func (m *QueryValidatorProviderAddrRequest) XXX_Size() int

func (*QueryValidatorProviderAddrRequest) XXX_Unmarshal

func (m *QueryValidatorProviderAddrRequest) XXX_Unmarshal(b []byte) error

type QueryValidatorProviderAddrResponse

type QueryValidatorProviderAddrResponse struct {
	// The address of the validator on the provider chain
	ProviderAddress string `protobuf:"bytes,1,opt,name=provider_address,json=providerAddress,proto3" json:"provider_address,omitempty"`
}

func (*QueryValidatorProviderAddrResponse) Descriptor

func (*QueryValidatorProviderAddrResponse) Descriptor() ([]byte, []int)

func (*QueryValidatorProviderAddrResponse) GetProviderAddress

func (m *QueryValidatorProviderAddrResponse) GetProviderAddress() string

func (*QueryValidatorProviderAddrResponse) Marshal

func (m *QueryValidatorProviderAddrResponse) Marshal() (dAtA []byte, err error)

func (*QueryValidatorProviderAddrResponse) MarshalTo

func (m *QueryValidatorProviderAddrResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryValidatorProviderAddrResponse) MarshalToSizedBuffer

func (m *QueryValidatorProviderAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryValidatorProviderAddrResponse) ProtoMessage

func (*QueryValidatorProviderAddrResponse) ProtoMessage()

func (*QueryValidatorProviderAddrResponse) Reset

func (*QueryValidatorProviderAddrResponse) Size

func (*QueryValidatorProviderAddrResponse) String

func (*QueryValidatorProviderAddrResponse) Unmarshal

func (m *QueryValidatorProviderAddrResponse) Unmarshal(dAtA []byte) error

func (*QueryValidatorProviderAddrResponse) XXX_DiscardUnknown

func (m *QueryValidatorProviderAddrResponse) XXX_DiscardUnknown()

func (*QueryValidatorProviderAddrResponse) XXX_Marshal

func (m *QueryValidatorProviderAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValidatorProviderAddrResponse) XXX_Merge

func (*QueryValidatorProviderAddrResponse) XXX_Size

func (*QueryValidatorProviderAddrResponse) XXX_Unmarshal

func (m *QueryValidatorProviderAddrResponse) XXX_Unmarshal(b []byte) error

type SlashAcks

type SlashAcks struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}

SlashAcks contains cons addresses of consumer chain validators successfully slashed on the provider chain.

func (*SlashAcks) Descriptor

func (*SlashAcks) Descriptor() ([]byte, []int)

func (*SlashAcks) GetAddresses

func (m *SlashAcks) GetAddresses() []string

func (*SlashAcks) Marshal

func (m *SlashAcks) Marshal() (dAtA []byte, err error)

func (*SlashAcks) MarshalTo

func (m *SlashAcks) MarshalTo(dAtA []byte) (int, error)

func (*SlashAcks) MarshalToSizedBuffer

func (m *SlashAcks) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SlashAcks) ProtoMessage

func (*SlashAcks) ProtoMessage()

func (*SlashAcks) Reset

func (m *SlashAcks) Reset()

func (*SlashAcks) Size

func (m *SlashAcks) Size() (n int)

func (*SlashAcks) String

func (m *SlashAcks) String() string

func (*SlashAcks) Unmarshal

func (m *SlashAcks) Unmarshal(dAtA []byte) error

func (*SlashAcks) XXX_DiscardUnknown

func (m *SlashAcks) XXX_DiscardUnknown()

func (*SlashAcks) XXX_Marshal

func (m *SlashAcks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SlashAcks) XXX_Merge

func (m *SlashAcks) XXX_Merge(src proto.Message)

func (*SlashAcks) XXX_Size

func (m *SlashAcks) XXX_Size() int

func (*SlashAcks) XXX_Unmarshal

func (m *SlashAcks) XXX_Unmarshal(b []byte) error

type Status

type Status int

type UnbondingOp

type UnbondingOp struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// consumer chains that are still unbonding
	UnbondingConsumerChains []string `` /* 132-byte string literal not displayed */
}

UnbondingOp contains the ids of consumer chains that need to unbond before the unbonding operation with the given ID can unbond

func (*UnbondingOp) Descriptor

func (*UnbondingOp) Descriptor() ([]byte, []int)

func (*UnbondingOp) GetId

func (m *UnbondingOp) GetId() uint64

func (*UnbondingOp) GetUnbondingConsumerChains

func (m *UnbondingOp) GetUnbondingConsumerChains() []string

func (*UnbondingOp) Marshal

func (m *UnbondingOp) Marshal() (dAtA []byte, err error)

func (*UnbondingOp) MarshalTo

func (m *UnbondingOp) MarshalTo(dAtA []byte) (int, error)

func (*UnbondingOp) MarshalToSizedBuffer

func (m *UnbondingOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnbondingOp) ProtoMessage

func (*UnbondingOp) ProtoMessage()

func (*UnbondingOp) Reset

func (m *UnbondingOp) Reset()

func (*UnbondingOp) Size

func (m *UnbondingOp) Size() (n int)

func (*UnbondingOp) String

func (m *UnbondingOp) String() string

func (*UnbondingOp) Unmarshal

func (m *UnbondingOp) Unmarshal(dAtA []byte) error

func (*UnbondingOp) XXX_DiscardUnknown

func (m *UnbondingOp) XXX_DiscardUnknown()

func (*UnbondingOp) XXX_Marshal

func (m *UnbondingOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingOp) XXX_Merge

func (m *UnbondingOp) XXX_Merge(src proto.Message)

func (*UnbondingOp) XXX_Size

func (m *UnbondingOp) XXX_Size() int

func (*UnbondingOp) XXX_Unmarshal

func (m *UnbondingOp) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AssignConsumerKey

func (*UnimplementedMsgServer) SubmitConsumerDoubleVoting

func (*UnimplementedMsgServer) SubmitConsumerMisbehaviour

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) QueryConsumerChains

func (*UnimplementedQueryServer) QueryConsumerGenesis

func (*UnimplementedQueryServer) QueryOldestUnconfirmedVsc added in v4.1.0

func (*UnimplementedQueryServer) QueryParams added in v4.1.0

func (*UnimplementedQueryServer) QueryProposedConsumerChainIDs

func (*UnimplementedQueryServer) QueryThrottleState

func (*UnimplementedQueryServer) QueryValidatorConsumerAddr

func (*UnimplementedQueryServer) QueryValidatorProviderAddr

type ValidatorByConsumerAddr

type ValidatorByConsumerAddr struct {
	ChainId      string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ConsumerAddr []byte `protobuf:"bytes,2,opt,name=consumer_addr,json=consumerAddr,proto3" json:"consumer_addr,omitempty"`
	ProviderAddr []byte `protobuf:"bytes,3,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"`
}

Used to serialize the ValidatorConsumerAddr index from key assignment ValidatorByConsumerAddr: (chainID, consumerAddr consAddr) -> providerAddr consAddr

func (*ValidatorByConsumerAddr) Descriptor

func (*ValidatorByConsumerAddr) Descriptor() ([]byte, []int)

func (*ValidatorByConsumerAddr) GetChainId

func (m *ValidatorByConsumerAddr) GetChainId() string

func (*ValidatorByConsumerAddr) GetConsumerAddr

func (m *ValidatorByConsumerAddr) GetConsumerAddr() []byte

func (*ValidatorByConsumerAddr) GetProviderAddr

func (m *ValidatorByConsumerAddr) GetProviderAddr() []byte

func (*ValidatorByConsumerAddr) Marshal

func (m *ValidatorByConsumerAddr) Marshal() (dAtA []byte, err error)

func (*ValidatorByConsumerAddr) MarshalTo

func (m *ValidatorByConsumerAddr) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorByConsumerAddr) MarshalToSizedBuffer

func (m *ValidatorByConsumerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorByConsumerAddr) ProtoMessage

func (*ValidatorByConsumerAddr) ProtoMessage()

func (*ValidatorByConsumerAddr) Reset

func (m *ValidatorByConsumerAddr) Reset()

func (*ValidatorByConsumerAddr) Size

func (m *ValidatorByConsumerAddr) Size() (n int)

func (*ValidatorByConsumerAddr) String

func (m *ValidatorByConsumerAddr) String() string

func (*ValidatorByConsumerAddr) Unmarshal

func (m *ValidatorByConsumerAddr) Unmarshal(dAtA []byte) error

func (*ValidatorByConsumerAddr) XXX_DiscardUnknown

func (m *ValidatorByConsumerAddr) XXX_DiscardUnknown()

func (*ValidatorByConsumerAddr) XXX_Marshal

func (m *ValidatorByConsumerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorByConsumerAddr) XXX_Merge

func (m *ValidatorByConsumerAddr) XXX_Merge(src proto.Message)

func (*ValidatorByConsumerAddr) XXX_Size

func (m *ValidatorByConsumerAddr) XXX_Size() int

func (*ValidatorByConsumerAddr) XXX_Unmarshal

func (m *ValidatorByConsumerAddr) XXX_Unmarshal(b []byte) error

type ValidatorConsumerPubKey

type ValidatorConsumerPubKey struct {
	ChainId      string            `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ProviderAddr []byte            `protobuf:"bytes,2,opt,name=provider_addr,json=providerAddr,proto3" json:"provider_addr,omitempty"`
	ConsumerKey  *crypto.PublicKey `protobuf:"bytes,3,opt,name=consumer_key,json=consumerKey,proto3" json:"consumer_key,omitempty"`
}

Used to serialize the ValidatorConsumerPubKey index from key assignment ValidatorConsumerPubKey: (chainID, providerAddr consAddr) -> consumerKey tmprotocrypto.PublicKey

func (*ValidatorConsumerPubKey) Descriptor

func (*ValidatorConsumerPubKey) Descriptor() ([]byte, []int)

func (*ValidatorConsumerPubKey) GetChainId

func (m *ValidatorConsumerPubKey) GetChainId() string

func (*ValidatorConsumerPubKey) GetConsumerKey

func (m *ValidatorConsumerPubKey) GetConsumerKey() *crypto.PublicKey

func (*ValidatorConsumerPubKey) GetProviderAddr

func (m *ValidatorConsumerPubKey) GetProviderAddr() []byte

func (*ValidatorConsumerPubKey) Marshal

func (m *ValidatorConsumerPubKey) Marshal() (dAtA []byte, err error)

func (*ValidatorConsumerPubKey) MarshalTo

func (m *ValidatorConsumerPubKey) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorConsumerPubKey) MarshalToSizedBuffer

func (m *ValidatorConsumerPubKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorConsumerPubKey) ProtoMessage

func (*ValidatorConsumerPubKey) ProtoMessage()

func (*ValidatorConsumerPubKey) Reset

func (m *ValidatorConsumerPubKey) Reset()

func (*ValidatorConsumerPubKey) Size

func (m *ValidatorConsumerPubKey) Size() (n int)

func (*ValidatorConsumerPubKey) String

func (m *ValidatorConsumerPubKey) String() string

func (*ValidatorConsumerPubKey) Unmarshal

func (m *ValidatorConsumerPubKey) Unmarshal(dAtA []byte) error

func (*ValidatorConsumerPubKey) XXX_DiscardUnknown

func (m *ValidatorConsumerPubKey) XXX_DiscardUnknown()

func (*ValidatorConsumerPubKey) XXX_Marshal

func (m *ValidatorConsumerPubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorConsumerPubKey) XXX_Merge

func (m *ValidatorConsumerPubKey) XXX_Merge(src proto.Message)

func (*ValidatorConsumerPubKey) XXX_Size

func (m *ValidatorConsumerPubKey) XXX_Size() int

func (*ValidatorConsumerPubKey) XXX_Unmarshal

func (m *ValidatorConsumerPubKey) XXX_Unmarshal(b []byte) error

type ValidatorSetChangePackets

type ValidatorSetChangePackets struct {
	List []types3.ValidatorSetChangePacketData `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
}

ValidatorSetChangePackets is a pb list of ccv.ValidatorSetChangePacketData.

func (*ValidatorSetChangePackets) Descriptor

func (*ValidatorSetChangePackets) Descriptor() ([]byte, []int)

func (*ValidatorSetChangePackets) GetList

func (*ValidatorSetChangePackets) Marshal

func (m *ValidatorSetChangePackets) Marshal() (dAtA []byte, err error)

func (*ValidatorSetChangePackets) MarshalTo

func (m *ValidatorSetChangePackets) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorSetChangePackets) MarshalToSizedBuffer

func (m *ValidatorSetChangePackets) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorSetChangePackets) ProtoMessage

func (*ValidatorSetChangePackets) ProtoMessage()

func (*ValidatorSetChangePackets) Reset

func (m *ValidatorSetChangePackets) Reset()

func (*ValidatorSetChangePackets) Size

func (m *ValidatorSetChangePackets) Size() (n int)

func (*ValidatorSetChangePackets) String

func (m *ValidatorSetChangePackets) String() string

func (*ValidatorSetChangePackets) Unmarshal

func (m *ValidatorSetChangePackets) Unmarshal(dAtA []byte) error

func (*ValidatorSetChangePackets) XXX_DiscardUnknown

func (m *ValidatorSetChangePackets) XXX_DiscardUnknown()

func (*ValidatorSetChangePackets) XXX_Marshal

func (m *ValidatorSetChangePackets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorSetChangePackets) XXX_Merge

func (m *ValidatorSetChangePackets) XXX_Merge(src proto.Message)

func (*ValidatorSetChangePackets) XXX_Size

func (m *ValidatorSetChangePackets) XXX_Size() int

func (*ValidatorSetChangePackets) XXX_Unmarshal

func (m *ValidatorSetChangePackets) XXX_Unmarshal(b []byte) error

type ValsetUpdateIdToHeight

type ValsetUpdateIdToHeight struct {
	ValsetUpdateId uint64 `protobuf:"varint,1,opt,name=valset_update_id,json=valsetUpdateId,proto3" json:"valset_update_id,omitempty"`
	Height         uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

ValsetUpdateIdToHeight defines the genesis information for the mapping of each valset update id to a block height

func (*ValsetUpdateIdToHeight) Descriptor

func (*ValsetUpdateIdToHeight) Descriptor() ([]byte, []int)

func (*ValsetUpdateIdToHeight) GetHeight

func (m *ValsetUpdateIdToHeight) GetHeight() uint64

func (*ValsetUpdateIdToHeight) GetValsetUpdateId

func (m *ValsetUpdateIdToHeight) GetValsetUpdateId() uint64

func (*ValsetUpdateIdToHeight) Marshal

func (m *ValsetUpdateIdToHeight) Marshal() (dAtA []byte, err error)

func (*ValsetUpdateIdToHeight) MarshalTo

func (m *ValsetUpdateIdToHeight) MarshalTo(dAtA []byte) (int, error)

func (*ValsetUpdateIdToHeight) MarshalToSizedBuffer

func (m *ValsetUpdateIdToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValsetUpdateIdToHeight) ProtoMessage

func (*ValsetUpdateIdToHeight) ProtoMessage()

func (*ValsetUpdateIdToHeight) Reset

func (m *ValsetUpdateIdToHeight) Reset()

func (*ValsetUpdateIdToHeight) Size

func (m *ValsetUpdateIdToHeight) Size() (n int)

func (*ValsetUpdateIdToHeight) String

func (m *ValsetUpdateIdToHeight) String() string

func (*ValsetUpdateIdToHeight) Unmarshal

func (m *ValsetUpdateIdToHeight) Unmarshal(dAtA []byte) error

func (*ValsetUpdateIdToHeight) XXX_DiscardUnknown

func (m *ValsetUpdateIdToHeight) XXX_DiscardUnknown()

func (*ValsetUpdateIdToHeight) XXX_Marshal

func (m *ValsetUpdateIdToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValsetUpdateIdToHeight) XXX_Merge

func (m *ValsetUpdateIdToHeight) XXX_Merge(src proto.Message)

func (*ValsetUpdateIdToHeight) XXX_Size

func (m *ValsetUpdateIdToHeight) XXX_Size() int

func (*ValsetUpdateIdToHeight) XXX_Unmarshal

func (m *ValsetUpdateIdToHeight) XXX_Unmarshal(b []byte) error

type VscSendTimestamp

type VscSendTimestamp struct {
	VscId     uint64    `protobuf:"varint,1,opt,name=vsc_id,json=vscId,proto3" json:"vsc_id,omitempty"`
	Timestamp time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
}

func (*VscSendTimestamp) Descriptor

func (*VscSendTimestamp) Descriptor() ([]byte, []int)

func (*VscSendTimestamp) GetTimestamp

func (m *VscSendTimestamp) GetTimestamp() time.Time

func (*VscSendTimestamp) GetVscId

func (m *VscSendTimestamp) GetVscId() uint64

func (*VscSendTimestamp) Marshal

func (m *VscSendTimestamp) Marshal() (dAtA []byte, err error)

func (*VscSendTimestamp) MarshalTo

func (m *VscSendTimestamp) MarshalTo(dAtA []byte) (int, error)

func (*VscSendTimestamp) MarshalToSizedBuffer

func (m *VscSendTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VscSendTimestamp) ProtoMessage

func (*VscSendTimestamp) ProtoMessage()

func (*VscSendTimestamp) Reset

func (m *VscSendTimestamp) Reset()

func (*VscSendTimestamp) Size

func (m *VscSendTimestamp) Size() (n int)

func (*VscSendTimestamp) String

func (m *VscSendTimestamp) String() string

func (*VscSendTimestamp) Unmarshal

func (m *VscSendTimestamp) Unmarshal(dAtA []byte) error

func (*VscSendTimestamp) XXX_DiscardUnknown

func (m *VscSendTimestamp) XXX_DiscardUnknown()

func (*VscSendTimestamp) XXX_Marshal

func (m *VscSendTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VscSendTimestamp) XXX_Merge

func (m *VscSendTimestamp) XXX_Merge(src proto.Message)

func (*VscSendTimestamp) XXX_Size

func (m *VscSendTimestamp) XXX_Size() int

func (*VscSendTimestamp) XXX_Unmarshal

func (m *VscSendTimestamp) XXX_Unmarshal(b []byte) error

type VscUnbondingOps

type VscUnbondingOps struct {
	VscId          uint64   `protobuf:"varint,1,opt,name=vsc_id,json=vscId,proto3" json:"vsc_id,omitempty"`
	UnbondingOpIds []uint64 `protobuf:"varint,2,rep,packed,name=unbonding_op_ids,json=unbondingOpIds,proto3" json:"unbonding_op_ids,omitempty"`
}

VscUnbondingOps contains the IDs of unbonding operations that are waiting for at least one VSCMaturedPacket with vscID from a consumer chain

func (*VscUnbondingOps) Descriptor

func (*VscUnbondingOps) Descriptor() ([]byte, []int)

func (*VscUnbondingOps) GetUnbondingOpIds

func (m *VscUnbondingOps) GetUnbondingOpIds() []uint64

func (*VscUnbondingOps) GetVscId

func (m *VscUnbondingOps) GetVscId() uint64

func (*VscUnbondingOps) Marshal

func (m *VscUnbondingOps) Marshal() (dAtA []byte, err error)

func (*VscUnbondingOps) MarshalTo

func (m *VscUnbondingOps) MarshalTo(dAtA []byte) (int, error)

func (*VscUnbondingOps) MarshalToSizedBuffer

func (m *VscUnbondingOps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VscUnbondingOps) ProtoMessage

func (*VscUnbondingOps) ProtoMessage()

func (*VscUnbondingOps) Reset

func (m *VscUnbondingOps) Reset()

func (*VscUnbondingOps) Size

func (m *VscUnbondingOps) Size() (n int)

func (*VscUnbondingOps) String

func (m *VscUnbondingOps) String() string

func (*VscUnbondingOps) Unmarshal

func (m *VscUnbondingOps) Unmarshal(dAtA []byte) error

func (*VscUnbondingOps) XXX_DiscardUnknown

func (m *VscUnbondingOps) XXX_DiscardUnknown()

func (*VscUnbondingOps) XXX_Marshal

func (m *VscUnbondingOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VscUnbondingOps) XXX_Merge

func (m *VscUnbondingOps) XXX_Merge(src proto.Message)

func (*VscUnbondingOps) XXX_Size

func (m *VscUnbondingOps) XXX_Size() int

func (*VscUnbondingOps) XXX_Unmarshal

func (m *VscUnbondingOps) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL