types

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 50 Imported by: 19

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeLiquidStake                           = "liquid_stake"
	EventTypeLiquidStakeLSM                        = "liquid_stake_lsm"
	EventTypeLiquidUnstake                         = "liquid_unstake"
	EventTypeRedeem                                = "redeem"
	EventTypePacket                                = "ics27_packet"
	EventTypeTimeout                               = "timeout"
	EventTypeSlashing                              = "validator_slash"
	EventTypeUpdateParams                          = "update_params"
	EventTypeChainDisabled                         = "chain_disabled"
	EventTypeCValueLimitsUpdated                   = "c_value_limits"
	EventTypeValidatorStatusUpdate                 = "validator_status_update"
	EventTypeValidatorExchangeRateUpdate           = "validator_exchange_rate_update"
	EventTypeValidatorDelegableStateUpdate         = "validator_delegable_state_update"
	EventTypeDoDelegation                          = "send_delegation"
	EventTypeDoDelegationDeposit                   = "send_individual_delegation"
	EventTypeClaimedUnbondings                     = "claimed_unbondings"
	EventTypeRedeemTokensForShares                 = "redeem_lsm_tokens_shares"
	EventTypeCValueUpdate                          = "c_value_update"
	EventTypeDelegationWorkflow                    = "delegation_workflow"
	EventTypeUndelegationWorkflow                  = "undelegation_workflow"
	EventTypeValidatorUndelegationWorkflow         = "validator_undelegation_workflow"
	EventTypeRewardsWorkflow                       = "rewards_workflow"
	EventTypeLSMWorkflow                           = "lsm_workflow"
	EventTypeRewardsTransfer                       = "rewards_transfer"
	EventTypeUnbondingMaturedReceived              = "unbonding_matured"
	EventTypeValidatorUnbondingMaturedReceived     = "validator_unbonding_matured"
	EventAutocompoundRewardsReceived               = "autocompound_rewards_received"
	EventStakingDepositTransferReceived            = "staking_deposit_received"
	EventStakingDepositTransferTimeout             = "staking_deposit_timeout"
	EventLSMDepositTransferReceived                = "lsm_deposit_received"
	EventLSMDepositTransferTimeout                 = "lsm_deposit_timeout"
	EventICAChannelCreated                         = "ica_channel_created"
	EventSuccessfulDelegation                      = "successful_delegation"
	EventSuccessfulUndelegation                    = "successful_undelegation"
	EventBurn                                      = "stk-burn"
	EventSuccessfulUndelegationTransfer            = "successful_undelegation_transfer"
	EventSuccessfulValidatorUndelegationTransfer   = "successful_validator_undelegation_transfer"
	EventSuccessfulLSMRedeem                       = "successful_lsm_redeem"
	EventSuccessfulRedelegation                    = "successful_redelegation"
	EventUnsuccessfulDelegation                    = "unsuccessful_delegation"
	EventUnsuccessfulUndelegation                  = "unsuccessful_undelegation"
	EventUnsuccessfulUndelegationInitiation        = "unsuccessful_undelegation_initiation"
	EventUnsuccessfulUndelegationTransfer          = "unsuccessful_undelegation_transfer"
	EventUnsuccessfulValidatorUndelegationTransfer = "unsuccessful_validator_undelegation_transfer"
	EventUnsuccessfulLSMRedeem                     = "unsuccessful_lsm_redeem"
	EventUnsuccessfulRedelegate                    = "unsuccessful_redelegate"
	EventFailedClaimUnbondings                     = "failed_claim_unbondings"

	AttributeInputAmount                     = "input_amount"
	AttributeOutputAmount                    = "output_amount"
	AttributeDelegatorAddress                = "address"
	AttributePstakeDepositFee                = "pstake_deposit_fee"
	AttributePstakeUnstakeFee                = "pstake_unstake_fee"
	AttributePstakeRedeemFee                 = "pstake_redeem_fee"
	AttributePstakeAutocompoundFee           = "autocompound_fee"
	AttributeChainID                         = "chain_id"
	AttributeNewCValue                       = "new_c_value"
	AttributeOldCValue                       = "old_c_value"
	AttributeLowerLimit                      = "lower_limit"
	AttributeUpperLimit                      = "upper_limit"
	AttributeEpoch                           = "epoch_number"
	AttributeValidatorAddress                = "validator_address"
	AttributeExistingDelegation              = "existing_delegation"
	AttributeUpdatedDelegation               = "updated_delegation"
	AttributeSlashedAmount                   = "slashed_amount"
	AttributeKeyAuthority                    = "authority"
	AttributeKeyUpdatedParams                = "updated_params"
	AttributeKeyAck                          = "acknowledgement"
	AttributeKeyAckSuccess                   = "success"
	AttributeKeyAckError                     = "error"
	AttributeKeyValidatorNewStatus           = "validator_new_status"
	AttributeKeyValidatorOldStatus           = "validator_old_status"
	AttributeKeyValidatorNewExchangeRate     = "validator_new_exchange_rate"
	AttributeKeyValidatorOldExchangeRate     = "validator_old_exchange_rate"
	AttributeKeyValidatorDelegable           = "validator_delegable"
	AttributeTotalDelegatedAmount            = "total_delegated_amount"
	AttributeIBCSequenceID                   = "ibc_sequence_id"
	AttributeICAMessages                     = "ica_messages"
	AttributeClaimAmount                     = "claimed_amount"
	AttributeClaimAddress                    = "claim_address"
	AttributeClaimStatus                     = "claim_status"
	AttributeModuleMintedAmount              = "minted_amount"
	AttributeModuleLSMTokenizedAmount        = "lsm_tokenized_amount"
	AttributeModuleStakedAmount              = "staked_amount"
	AttributeModuleAmountOnPersistence       = "amount_on_persistence"
	AttributeModuleAmountOnHostChain         = "amount_on_host_chain"
	AttributeModuleUnbondingAmount           = "unbonding_amount"
	AttributeTotalEpochDepositAmount         = "deposit_amount"
	AttributeTotalEpochUnbondingAmount       = "unbonding_amount"
	AttributeTotalEpochBurnAmount            = "burn_amount"
	AttributeValidatorUnbondingAmount        = "validator_unbonding_amount"
	AttributeLSMDepositsSharesAmount         = "lsm_deposits_shares_amount"
	AttributeRewardsTransferAmount           = "rewards_transfer_amount"
	AttributeRewardsBalanceAmount            = "rewards_balance_amount"
	AttributeUnbondingMaturedAmount          = "unbonding_matured_amount"
	AttributeValidatorUnbondingMaturedAmount = "validator_unbonding_matured_amount"
	AttributeAutocompoundTransfer            = "autocompound_transfer_amount"
	AttributeICAPortOwner                    = "ica_port_owner"
	AttributeICAChannelID                    = "ica_channel_id"
	AttributeICAAddress                      = "ica_address"
	AttributeDelegatedAmount                 = "delegated_amount"
	AttributeUndelegatedAmount               = "undelegated_amount"
	AttributeRedeemedAmount                  = "redeemed_amount"
	AttributeRedelegatedAmount               = "redelegated_amount"
	AttributeValidatorSrcAddress             = "redelegation_validator_src-address"
	AttributeValidatorDstAddress             = "redelegation_validator_dst-address"

	AttributeValueCategory = ModuleName
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "liquidstakeibc"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// DepositModuleAccount DepositModuleAccountName
	DepositModuleAccount = ModuleName + "_deposit_account"

	// UndelegationModuleAccount UndelegationModuleAccountName
	UndelegationModuleAccount = ModuleName + "_undelegation_account"

	// Epoch identifiers
	DelegationEpoch            = "day"
	UndelegationEpoch          = "day"
	RewardsEpochIdentifier     = "day"
	RedelegationEpochIdentifer = "day"
	CValueEpoch                = "hour"

	// ICA types
	DelegateICAType = "delegate"
	RewardsICAType  = "rewards"

	// ICQ query types
	// /key is required for proof generation
	StakingStoreQuery = "store/staking/key"
	BankStoreQuery    = "store/bank/key"

	// Host chain flags
	LSMFlag = "lsm"

	LiquidStakeDenomPrefix = "stk"

	IBCTimeoutTimestamp = 120 * time.Minute

	ICAMessagesChunkSize = 10

	IBCPrefix = transfertypes.DenomPrefix + "/"

	UnbondingStateEpochLimit = 4

	LSMDepositFilterLimit = 10000

	Percentage int64 = 100

	DaysInYear int64 = 365

	CValueDynamicLowerDiff int64 = 2

	CValueDynamicUpperDiff int64 = 10
)
View Source
const (
	KeyAddValidator                string = "add_validator"
	KeyRemoveValidator             string = "remove_validator"
	KeyValidatorUpdate             string = "validator_update"
	KeyValidatorWeight             string = "validator_weight"
	KeyDepositFee                  string = "deposit_fee"
	KeyRestakeFee                  string = "restake_fee"
	KeyUnstakeFee                  string = "unstake_fee"
	KeyRedemptionFee               string = "redemption_fee"
	KeyLSMValidatorCap             string = "lsm_validator_cap"
	KeyLSMBondFactor               string = "lsm_bond_factor"
	KeyMaxEntries                  string = "max_entries"
	KeyUpperCValueLimit            string = "upper_c_value_limit"
	KeyLowerCValueLimit            string = "lower_c_value_limit"
	KeyRedelegationAcceptableDelta string = "redelegation_acceptable_delta"
	KeyMinimumDeposit              string = "min_deposit"
	KeyActive                      string = "active"
	KeySetWithdrawAddress          string = "set_withdraw_address"
	KeyAutocompoundFactor          string = "autocompound_factor"
	KeyFlags                       string = "flags"
	KeyRewardParams                string = "reward_params"
	KeyForceUpdateValidator        string = "force_update_validator"
)

Consts for KV updates, update host chain

View Source
const (
	// keyvals
	HostChainKeyVal     string = "host_chain"
	WorkflowKeyVal      string = "workflow"
	EpochKeyVal         string = "epoch"
	ErrorKeyVal         string = "error"
	ValidatorKeyVal     string = "validator"
	SequenceIDKeyVal    string = "sequence_id"
	ChannelKeyVal       string = "channel"
	OwnerKeyVal         string = "owner"
	AddressKeyVal       string = "address"
	PortKeyVal          string = "port"
	ConnectionKeyVal    string = "connection"
	DelegatorKeyVal     string = "delegator"
	HostDenomKeyVal     string = "host_denom"
	MessagesKeyVal      string = "messages"
	AmountKeyVal        string = "amount"
	FromValidatorKeyVal string = "from_validator"
	ToValidatorKeyVal   string = "to_validator"
	CValueKeyVal        string = "c_value"
	LowerLimitKeyVal    string = "lower_limit"
	UpperLimitKeyVal    string = "upper_limit"

	DelegateWorkflow                  string = "DoDelegate"
	ClaimWorkflow                     string = "DoClaim"
	ProcessMatureUndelegationWorkflow string = "DoProcessMatureUndelegations"
	RecreateICAWorkflow               string = "DoRecreateICA"
	RedeemLSMWorkflow                 string = "DoRedeemLSMTokens"
)
View Source
const (
	MsgTypeRegisterHostChain string = "msg_register_host_chain"
	MsgTypeUpdateHostChain   string = "msg_update_host_chain"
	MsgTypeLiquidStake       string = "msg_liquid_stake"
	MsgTypeLiquidStakeLSM    string = "msg_liquid_stake_lsm"
	MsgTypeLiquidUnstake     string = "msg_liquid_unstake"
	MsgTypeRedeem            string = "msg_redeem"
	MsgTypeUpdateParams      string = "msg_update_params"
)

Variables

View Source
var (
	ErrInvalidDenom             = errorsmod.Register(ModuleName, 2000, "invalid token denom")
	ErrInvalidHostChain         = errorsmod.Register(ModuleName, 2001, "host chain not registered")
	ErrMinDeposit               = errorsmod.Register(ModuleName, 2002, "deposit amount less than minimum deposit")
	ErrFailedDeposit            = errorsmod.Register(ModuleName, 2003, "deposit failed")
	ErrMintFailed               = errorsmod.Register(ModuleName, 2004, "minting failed")
	ErrRegisterFailed           = errorsmod.Register(ModuleName, 2005, "host chain register failed")
	ErrDepositNotFound          = errorsmod.Register(ModuleName, 2007, "deposit record not found")
	ErrICATxFailure             = errorsmod.Register(ModuleName, 2008, "ica transaction failed")
	ErrInvalidMessages          = errorsmod.Register(ModuleName, 2009, "not enough messages")
	ErrInvalidResponses         = errorsmod.Register(ModuleName, 2010, "not enough message responses")
	ErrValidatorNotFound        = errorsmod.Register(ModuleName, 2011, "validator not found")
	ErrNotEnoughDelegations     = errorsmod.Register(ModuleName, 2012, "delegated amount is less than undelegation amount requested")
	ErrRedeemFailed             = errorsmod.Register(ModuleName, 2013, "an error occurred while instant redeeming tokens")
	ErrBurnFailed               = errorsmod.Register(ModuleName, 2014, "burn failed")
	ErrParsingAmount            = errorsmod.Register(ModuleName, 2015, "could not parse message amount")
	ErrHostChainInactive        = errorsmod.Register(ModuleName, 2016, "host chain is not active")
	ErrInvalidLSMDenom          = errorsmod.Register(ModuleName, 2018, "invalid lsm token denom")
	ErrLSMNotEnabled            = errorsmod.Register(ModuleName, 2019, "host chain has LSM staking disabled")
	ErrLSMDepositProcessing     = errorsmod.Register(ModuleName, 2020, "already processing LSM deposit")
	ErrLSMValidatorInvalidState = errorsmod.Register(ModuleName, 2021, "validator invalid state")
	ErrInsufficientDeposits     = errorsmod.Register(ModuleName, 2022, "insufficient deposits")
)
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 (
	HostChainKey          = []byte{0x01}
	DepositKey            = []byte{0x02}
	UnbondingKey          = []byte{0x03}
	UserUnbondingKey      = []byte{0x04}
	ValidatorUnbondingKey = []byte{0x05}
	ParamsKey             = []byte{0x06}
	LSMDepositKey         = []byte{0x07}
	RedelegationsKey      = []byte{0x08}
	RedelegationTxKey     = []byte{0x09}
)
View Source
var (
	ErrInvalidLengthLiquidstakeibc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLiquidstakeibc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLiquidstakeibc = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsgs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultAdminAddress = authtypes.NewModuleAddress("placeholder") // will be set manually upon module initialisation
	DefaultFeeAddress   = authtypes.NewModuleAddress("placeholder") // will be set manually upon module initialisation
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = 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 Deposit_DepositState_name = map[int32]string{
	0: "DEPOSIT_PENDING",
	1: "DEPOSIT_SENT",
	2: "DEPOSIT_RECEIVED",
	3: "DEPOSIT_DELEGATING",
}
View Source
var Deposit_DepositState_value = map[string]int32{
	"DEPOSIT_PENDING":    0,
	"DEPOSIT_SENT":       1,
	"DEPOSIT_RECEIVED":   2,
	"DEPOSIT_DELEGATING": 3,
}
View Source
var ICAAccount_ChannelState_name = map[int32]string{
	0: "ICA_CHANNEL_CREATING",
	1: "ICA_CHANNEL_CREATED",
}
View Source
var ICAAccount_ChannelState_value = map[string]int32{
	"ICA_CHANNEL_CREATING": 0,
	"ICA_CHANNEL_CREATED":  1,
}
View Source
var LSMDeposit_LSMDepositState_name = map[int32]string{
	0: "DEPOSIT_PENDING",
	1: "DEPOSIT_SENT",
	2: "DEPOSIT_RECEIVED",
	3: "DEPOSIT_UNTOKENIZING",
}
View Source
var LSMDeposit_LSMDepositState_value = map[string]int32{
	"DEPOSIT_PENDING":      0,
	"DEPOSIT_SENT":         1,
	"DEPOSIT_RECEIVED":     2,
	"DEPOSIT_UNTOKENIZING": 3,
}
View Source
var MaxFee = sdk.MustNewDecFromStr("0.5")
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var RedelegateTx_RedelegateTxState_name = map[int32]string{
	0: "REDELEGATE_SENT",
	1: "REDELEGATE_ACKED",
}
View Source
var RedelegateTx_RedelegateTxState_value = map[string]int32{
	"REDELEGATE_SENT":  0,
	"REDELEGATE_ACKED": 1,
}
View Source
var Unbonding_UnbondingState_name = map[int32]string{
	0: "UNBONDING_PENDING",
	1: "UNBONDING_INITIATED",
	2: "UNBONDING_MATURING",
	3: "UNBONDING_MATURED",
	4: "UNBONDING_CLAIMABLE",
	5: "UNBONDING_FAILED",
}
View Source
var Unbonding_UnbondingState_value = map[string]int32{
	"UNBONDING_PENDING":   0,
	"UNBONDING_INITIATED": 1,
	"UNBONDING_MATURING":  2,
	"UNBONDING_MATURED":   3,
	"UNBONDING_CLAIMABLE": 4,
	"UNBONDING_FAILED":    5,
}

Functions

func CurrentUnbondingEpoch

func CurrentUnbondingEpoch(factor, epochNumber int64) int64

CurrentUnbondingEpoch computes and returns the current unbonding epoch to the next nearest multiple of the host chain Undelegation Factor

func DefaultDelegateAccountPortOwner

func DefaultDelegateAccountPortOwner(chainID string) string

DefaultDelegateAccountPortOwner generates a delegate ICA port owner given the chain id Only Use this function while registering a new chain

func DefaultRewardsAccountPortOwner

func DefaultRewardsAccountPortOwner(chainID string) string

DefaultRewardsAccountPortOwner generates a rewards ICA port owner given the chain id Only Use this function while registering a new chain

func GetDepositStoreKey

func GetDepositStoreKey(chainID string, epochNumber int64) []byte

func GetLSMDepositStoreKey added in v2.3.0

func GetLSMDepositStoreKey(chainID, delegatorAddress, denom string) []byte

func GetRedelegationTxStoreKey added in v2.6.0

func GetRedelegationTxStoreKey(chainID, ibcSequenceID string) []byte

func GetRedelegationsStoreKey added in v2.6.0

func GetRedelegationsStoreKey(chainID string) []byte

func GetUnbondingStoreKey

func GetUnbondingStoreKey(chainID string, epochNumber int64) []byte

func GetUserUnbondingStoreKey

func GetUserUnbondingStoreKey(chainID, delegatorAddress string, epochNumber int64) []byte

func GetValidatorUnbondingStoreKey

func GetValidatorUnbondingStoreKey(chainID, validatorAddress string, epochNumber int64) []byte

func HostDenomToMintDenom added in v2.8.0

func HostDenomToMintDenom(hostDenom string) string

func IsLiquidStakingDenom

func IsLiquidStakingDenom(denom string) bool

func IsUnbondingEpoch

func IsUnbondingEpoch(factor, epochNumber int64) bool

func MintDenomToHostDenom added in v2.8.0

func MintDenomToHostDenom(mintDenom string) (string, bool)

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

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

func RegisterMsgHandler

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

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

func RegisterMsgHandlerClient

func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error

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

func RegisterMsgHandlerFromEndpoint

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

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

func RegisterMsgHandlerServer

func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error

RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer 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 RegisterMsgHandlerFromEndpoint instead.

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)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
}

type BankKeeper

type BankKeeper interface {
	MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

type Deposit

type Deposit struct {
	// deposit target chain
	ChainId string     `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Amount  types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
	// epoch number of the deposit
	Epoch int64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
	// state
	State Deposit_DepositState `protobuf:"varint,4,opt,name=state,proto3,enum=pstake.liquidstakeibc.v1beta1.Deposit_DepositState" json:"state,omitempty"`
	// sequence id of the ibc transaction
	IbcSequenceId string `protobuf:"bytes,5,opt,name=ibc_sequence_id,json=ibcSequenceId,proto3" json:"ibc_sequence_id,omitempty"`
}

func (*Deposit) Descriptor

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

func (*Deposit) GetAmount

func (m *Deposit) GetAmount() types.Coin

func (*Deposit) GetChainId

func (m *Deposit) GetChainId() string

func (*Deposit) GetEpoch

func (m *Deposit) GetEpoch() int64

func (*Deposit) GetIbcSequenceId

func (m *Deposit) GetIbcSequenceId() string

func (*Deposit) GetState

func (m *Deposit) GetState() Deposit_DepositState

func (*Deposit) Marshal

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

func (*Deposit) MarshalTo

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

func (*Deposit) MarshalToSizedBuffer

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

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) Reset

func (m *Deposit) Reset()

func (*Deposit) Size

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

func (*Deposit) String

func (m *Deposit) String() string

func (*Deposit) Unmarshal

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

func (*Deposit) Validate

func (deposit *Deposit) Validate() error

func (*Deposit) XXX_DiscardUnknown

func (m *Deposit) XXX_DiscardUnknown()

func (*Deposit) XXX_Marshal

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

func (*Deposit) XXX_Merge

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

func (*Deposit) XXX_Size

func (m *Deposit) XXX_Size() int

func (*Deposit) XXX_Unmarshal

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

type Deposit_DepositState

type Deposit_DepositState int32
const (
	// no action has been initiated on the deposit
	Deposit_DEPOSIT_PENDING Deposit_DepositState = 0
	// deposit sent to the host chain delegator address
	Deposit_DEPOSIT_SENT Deposit_DepositState = 1
	// deposit received by the host chain delegator address
	Deposit_DEPOSIT_RECEIVED Deposit_DepositState = 2
	// delegation submitted for the deposit on the host chain
	Deposit_DEPOSIT_DELEGATING Deposit_DepositState = 3
)

func (Deposit_DepositState) EnumDescriptor

func (Deposit_DepositState) EnumDescriptor() ([]byte, []int)

func (Deposit_DepositState) String

func (x Deposit_DepositState) String() string

type EpochsKeeper

type EpochsKeeper interface {
	GetEpochInfo(ctx sdk.Context, identifier string) persistencetypes.EpochInfo
}

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// initial host chain list
	HostChains []*HostChain `protobuf:"bytes,2,rep,name=host_chains,json=hostChains,proto3" json:"host_chains,omitempty"`
	// initial deposit list
	Deposits []*Deposit `protobuf:"bytes,3,rep,name=deposits,proto3" json:"deposits,omitempty"`
	// initial unbondings
	Unbondings []*Unbonding `protobuf:"bytes,4,rep,name=unbondings,proto3" json:"unbondings,omitempty"`
	// initial user unbondings
	UserUnbondings []*UserUnbonding `protobuf:"bytes,5,rep,name=user_unbondings,json=userUnbondings,proto3" json:"user_unbondings,omitempty"`
	// validator unbondings
	ValidatorUnbondings []*ValidatorUnbonding `protobuf:"bytes,6,rep,name=validator_unbondings,json=validatorUnbondings,proto3" json:"validator_unbondings,omitempty"`
}

GenesisState defines the liquidstakeibc module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns a default liquidstakeibc module genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetDeposits

func (m *GenesisState) GetDeposits() []*Deposit

func (*GenesisState) GetHostChains

func (m *GenesisState) GetHostChains() []*HostChain

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetUnbondings

func (m *GenesisState) GetUnbondings() []*Unbonding

func (*GenesisState) GetUserUnbondings

func (m *GenesisState) GetUserUnbondings() []*UserUnbonding

func (*GenesisState) GetValidatorUnbondings

func (m *GenesisState) GetValidatorUnbondings() []*ValidatorUnbonding

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

Validate performs basic validation of supply genesis data returning an error for any failed validation criteria.

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 HostChain

type HostChain struct {
	// host chain id
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// ibc connection id
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// module params
	Params *HostChainLSParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"`
	// native token denom
	HostDenom string `protobuf:"bytes,4,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
	// ibc connection channel id
	ChannelId string `protobuf:"bytes,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// ibc connection port id
	PortId string `protobuf:"bytes,6,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	// delegation host account
	DelegationAccount *ICAAccount `protobuf:"bytes,7,opt,name=delegation_account,json=delegationAccount,proto3" json:"delegation_account,omitempty"`
	// reward host account
	RewardsAccount *ICAAccount `protobuf:"bytes,8,opt,name=rewards_account,json=rewardsAccount,proto3" json:"rewards_account,omitempty"`
	// validator set
	Validators []*Validator `protobuf:"bytes,9,rep,name=validators,proto3" json:"validators,omitempty"`
	// minimum ls amount
	MinimumDeposit github_com_cosmos_cosmos_sdk_types.Int `` /* 144-byte string literal not displayed */
	// redemption rate
	CValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=c_value,json=cValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"c_value"`
	// previous redemption rate
	LastCValue github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	// undelegation epoch factor
	UnbondingFactor int64 `protobuf:"varint,13,opt,name=unbonding_factor,json=unbondingFactor,proto3" json:"unbonding_factor,omitempty"`
	// whether the chain is ready to accept delegations or not
	Active bool `protobuf:"varint,14,opt,name=active,proto3" json:"active,omitempty"`
	// factor limit for auto-compounding, daily periodic rate (APY / 365s)
	AutoCompoundFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	// host chain flags
	Flags *HostChainFlags `protobuf:"bytes,16,opt,name=flags,proto3" json:"flags,omitempty"`
	// non-compoundable chain reward params
	RewardParams *RewardParams `protobuf:"bytes,17,opt,name=reward_params,json=rewardParams,proto3" json:"reward_params,omitempty"`
}

func (*HostChain) Descriptor

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

func (*HostChain) GetActive

func (m *HostChain) GetActive() bool

func (*HostChain) GetChainId

func (m *HostChain) GetChainId() string

func (*HostChain) GetChannelId

func (m *HostChain) GetChannelId() string

func (*HostChain) GetConnectionId

func (m *HostChain) GetConnectionId() string

func (*HostChain) GetDelegationAccount

func (m *HostChain) GetDelegationAccount() *ICAAccount

func (*HostChain) GetFlags added in v2.3.0

func (m *HostChain) GetFlags() *HostChainFlags

func (*HostChain) GetHostChainTotalDelegations

func (hc *HostChain) GetHostChainTotalDelegations() math.Int

func (*HostChain) GetHostDenom

func (m *HostChain) GetHostDenom() string

func (*HostChain) GetParams

func (m *HostChain) GetParams() *HostChainLSParams

func (*HostChain) GetPortId

func (m *HostChain) GetPortId() string

func (*HostChain) GetRewardParams added in v2.7.2

func (m *HostChain) GetRewardParams() *RewardParams

func (*HostChain) GetRewardsAccount

func (m *HostChain) GetRewardsAccount() *ICAAccount

func (*HostChain) GetUnbondingFactor

func (m *HostChain) GetUnbondingFactor() int64

func (*HostChain) GetValidator

func (hc *HostChain) GetValidator(operatorAddress string) (*Validator, bool)

func (*HostChain) GetValidators

func (m *HostChain) GetValidators() []*Validator

func (*HostChain) IBCDenom

func (hc *HostChain) IBCDenom() string

func (*HostChain) Marshal

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

func (*HostChain) MarshalTo

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

func (*HostChain) MarshalToSizedBuffer

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

func (*HostChain) MintDenom

func (hc *HostChain) MintDenom() string

func (*HostChain) ProtoMessage

func (*HostChain) ProtoMessage()

func (*HostChain) Reset

func (m *HostChain) Reset()

func (*HostChain) Size

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

func (*HostChain) String

func (m *HostChain) String() string

func (*HostChain) Unmarshal

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

func (*HostChain) Validate

func (hc *HostChain) Validate() error

func (*HostChain) XXX_DiscardUnknown

func (m *HostChain) XXX_DiscardUnknown()

func (*HostChain) XXX_Marshal

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

func (*HostChain) XXX_Merge

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

func (*HostChain) XXX_Size

func (m *HostChain) XXX_Size() int

func (*HostChain) XXX_Unmarshal

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

type HostChainFlags added in v2.3.0

type HostChainFlags struct {
	Lsm bool `protobuf:"varint,1,opt,name=lsm,proto3" json:"lsm,omitempty"`
}

func (*HostChainFlags) Descriptor added in v2.3.0

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

func (*HostChainFlags) GetLsm added in v2.3.0

func (m *HostChainFlags) GetLsm() bool

func (*HostChainFlags) Marshal added in v2.3.0

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

func (*HostChainFlags) MarshalTo added in v2.3.0

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

func (*HostChainFlags) MarshalToSizedBuffer added in v2.3.0

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

func (*HostChainFlags) ProtoMessage added in v2.3.0

func (*HostChainFlags) ProtoMessage()

func (*HostChainFlags) Reset added in v2.3.0

func (m *HostChainFlags) Reset()

func (*HostChainFlags) Size added in v2.3.0

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

func (*HostChainFlags) String added in v2.3.0

func (m *HostChainFlags) String() string

func (*HostChainFlags) Unmarshal added in v2.3.0

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

func (*HostChainFlags) XXX_DiscardUnknown added in v2.3.0

func (m *HostChainFlags) XXX_DiscardUnknown()

func (*HostChainFlags) XXX_Marshal added in v2.3.0

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

func (*HostChainFlags) XXX_Merge added in v2.3.0

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

func (*HostChainFlags) XXX_Size added in v2.3.0

func (m *HostChainFlags) XXX_Size() int

func (*HostChainFlags) XXX_Unmarshal added in v2.3.0

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

type HostChainLSParams

type HostChainLSParams struct {
	DepositFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	RestakeFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	UnstakeFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	RedemptionFee github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// LSM validator cap
	//  Should be used only when HostChainFlag.Lsm == true, orelse default
	LsmValidatorCap github_com_cosmos_cosmos_sdk_types.Dec `` /* 148-byte string literal not displayed */
	// LSM bond factor
	//  Should be used only when HostChainFlag.Lsm == true, orelse default
	LsmBondFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 142-byte string literal not displayed */
	// UndelegateEntries
	MaxEntries uint32 `protobuf:"varint,8,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
	// amount skew that is acceptable before redelegating
	RedelegationAcceptableDelta github_com_cosmos_cosmos_sdk_types.Int `` /* 184-byte string literal not displayed */
	UpperCValueLimit            github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	LowerCValueLimit            github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
}

func (*HostChainLSParams) Descriptor

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

func (*HostChainLSParams) GetMaxEntries added in v2.6.0

func (m *HostChainLSParams) GetMaxEntries() uint32

func (*HostChainLSParams) Marshal

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

func (*HostChainLSParams) MarshalTo

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

func (*HostChainLSParams) MarshalToSizedBuffer

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

func (*HostChainLSParams) ProtoMessage

func (*HostChainLSParams) ProtoMessage()

func (*HostChainLSParams) Reset

func (m *HostChainLSParams) Reset()

func (*HostChainLSParams) Size

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

func (*HostChainLSParams) String

func (m *HostChainLSParams) String() string

func (*HostChainLSParams) Unmarshal

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

func (*HostChainLSParams) Validate

func (params *HostChainLSParams) Validate() error

func (*HostChainLSParams) XXX_DiscardUnknown

func (m *HostChainLSParams) XXX_DiscardUnknown()

func (*HostChainLSParams) XXX_Marshal

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

func (*HostChainLSParams) XXX_Merge

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

func (*HostChainLSParams) XXX_Size

func (m *HostChainLSParams) XXX_Size() int

func (*HostChainLSParams) XXX_Unmarshal

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

type IBCTransferKeeper added in v2.3.0

type IBCTransferKeeper interface {
	GetDenomTrace(ctx sdk.Context, denomTraceHash tmbytes.HexBytes) (transfertypes.DenomTrace, bool)
}

type ICAAccount

type ICAAccount struct {
	// address of the ica on the controller chain
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// token balance of the ica
	Balance types.Coin `protobuf:"bytes,2,opt,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coin" json:"balance"`
	// owner string
	Owner        string                  `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	ChannelState ICAAccount_ChannelState `` /* 157-byte string literal not displayed */
}

func (*ICAAccount) Descriptor

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

func (*ICAAccount) GetAddress

func (m *ICAAccount) GetAddress() string

func (*ICAAccount) GetBalance

func (m *ICAAccount) GetBalance() types.Coin

func (*ICAAccount) GetChannelState

func (m *ICAAccount) GetChannelState() ICAAccount_ChannelState

func (*ICAAccount) GetOwner

func (m *ICAAccount) GetOwner() string

func (*ICAAccount) Marshal

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

func (*ICAAccount) MarshalTo

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

func (*ICAAccount) MarshalToSizedBuffer

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

func (*ICAAccount) ProtoMessage

func (*ICAAccount) ProtoMessage()

func (*ICAAccount) Reset

func (m *ICAAccount) Reset()

func (*ICAAccount) Size

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

func (*ICAAccount) String

func (m *ICAAccount) String() string

func (*ICAAccount) Unmarshal

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

func (*ICAAccount) Validate added in v2.9.0

func (icaAccount *ICAAccount) Validate() error

func (*ICAAccount) XXX_DiscardUnknown

func (m *ICAAccount) XXX_DiscardUnknown()

func (*ICAAccount) XXX_Marshal

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

func (*ICAAccount) XXX_Merge

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

func (*ICAAccount) XXX_Size

func (m *ICAAccount) XXX_Size() int

func (*ICAAccount) XXX_Unmarshal

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

type ICAAccount_ChannelState

type ICAAccount_ChannelState int32
const (
	// ICA channel is being created
	ICAAccount_ICA_CHANNEL_CREATING ICAAccount_ChannelState = 0
	// ICA is established and the account can be used
	ICAAccount_ICA_CHANNEL_CREATED ICAAccount_ChannelState = 1
)

func (ICAAccount_ChannelState) EnumDescriptor

func (ICAAccount_ChannelState) EnumDescriptor() ([]byte, []int)

func (ICAAccount_ChannelState) String

func (x ICAAccount_ChannelState) String() string

type ICAControllerKeeper

type ICAControllerKeeper interface {
	RegisterInterchainAccount(ctx sdk.Context, connectionID, owner, version string) error
	GetInterchainAccountAddress(ctx sdk.Context, connectionID, portID string) (string, bool)
	GetOpenActiveChannel(ctx sdk.Context, connectionID, portID string) (string, bool)
}

type ICQKeeper

type ICQKeeper interface {
	MakeRequest(ctx sdk.Context, connectionID, chainID, queryType string, request []byte, period math.Int, module, callbackID string, ttl uint64)
}

type KVUpdate

type KVUpdate struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*KVUpdate) Descriptor

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

func (*KVUpdate) GetKey

func (m *KVUpdate) GetKey() string

func (*KVUpdate) GetValue

func (m *KVUpdate) GetValue() string

func (*KVUpdate) Marshal

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

func (*KVUpdate) MarshalTo

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

func (*KVUpdate) MarshalToSizedBuffer

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

func (*KVUpdate) ProtoMessage

func (*KVUpdate) ProtoMessage()

func (*KVUpdate) Reset

func (m *KVUpdate) Reset()

func (*KVUpdate) Size

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

func (*KVUpdate) String

func (m *KVUpdate) String() string

func (*KVUpdate) Unmarshal

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

func (*KVUpdate) XXX_DiscardUnknown

func (m *KVUpdate) XXX_DiscardUnknown()

func (*KVUpdate) XXX_Marshal

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

func (*KVUpdate) XXX_Merge

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

func (*KVUpdate) XXX_Size

func (m *KVUpdate) XXX_Size() int

func (*KVUpdate) XXX_Unmarshal

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

type LSMDeposit added in v2.3.0

type LSMDeposit struct {
	// deposit target chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// this is calculated when liquid staking [lsm_shares *
	// validator_exchange_rate]
	Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	// LSM token shares, they are mapped 1:1 with the delegator shares that are
	// tokenized https://github.com/iqlusioninc/cosmos-sdk/pull/19
	Shares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=shares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"shares"`
	// LSM token denom
	Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"`
	// LSM token ibc denom
	IbcDenom string `protobuf:"bytes,5,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty"`
	// address of the delegator
	DelegatorAddress string `protobuf:"bytes,6,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// state o the deposit
	State LSMDeposit_LSMDepositState `` /* 126-byte string literal not displayed */
	// sequence id of the ibc transaction
	IbcSequenceId string `protobuf:"bytes,8,opt,name=ibc_sequence_id,json=ibcSequenceId,proto3" json:"ibc_sequence_id,omitempty"`
}

func (*LSMDeposit) Descriptor added in v2.3.0

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

func (*LSMDeposit) GetChainId added in v2.3.0

func (m *LSMDeposit) GetChainId() string

func (*LSMDeposit) GetDelegatorAddress added in v2.3.0

func (m *LSMDeposit) GetDelegatorAddress() string

func (*LSMDeposit) GetDenom added in v2.3.0

func (m *LSMDeposit) GetDenom() string

func (*LSMDeposit) GetIbcDenom added in v2.3.0

func (m *LSMDeposit) GetIbcDenom() string

func (*LSMDeposit) GetIbcSequenceId added in v2.3.0

func (m *LSMDeposit) GetIbcSequenceId() string

func (*LSMDeposit) GetState added in v2.3.0

func (m *LSMDeposit) GetState() LSMDeposit_LSMDepositState

func (*LSMDeposit) Marshal added in v2.3.0

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

func (*LSMDeposit) MarshalTo added in v2.3.0

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

func (*LSMDeposit) MarshalToSizedBuffer added in v2.3.0

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

func (*LSMDeposit) ProtoMessage added in v2.3.0

func (*LSMDeposit) ProtoMessage()

func (*LSMDeposit) Reset added in v2.3.0

func (m *LSMDeposit) Reset()

func (*LSMDeposit) Size added in v2.3.0

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

func (*LSMDeposit) String added in v2.3.0

func (m *LSMDeposit) String() string

func (*LSMDeposit) Unmarshal added in v2.3.0

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

func (*LSMDeposit) XXX_DiscardUnknown added in v2.3.0

func (m *LSMDeposit) XXX_DiscardUnknown()

func (*LSMDeposit) XXX_Marshal added in v2.3.0

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

func (*LSMDeposit) XXX_Merge added in v2.3.0

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

func (*LSMDeposit) XXX_Size added in v2.3.0

func (m *LSMDeposit) XXX_Size() int

func (*LSMDeposit) XXX_Unmarshal added in v2.3.0

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

type LSMDeposit_LSMDepositState added in v2.3.0

type LSMDeposit_LSMDepositState int32
const (
	// no action has been initiated on the deposit
	LSMDeposit_DEPOSIT_PENDING LSMDeposit_LSMDepositState = 0
	// deposit sent to the host chain delegator address
	LSMDeposit_DEPOSIT_SENT LSMDeposit_LSMDepositState = 1
	// deposit received by the host chain delegator address
	LSMDeposit_DEPOSIT_RECEIVED LSMDeposit_LSMDepositState = 2
	// deposit started the untokenization process
	LSMDeposit_DEPOSIT_UNTOKENIZING LSMDeposit_LSMDepositState = 3
)

func (LSMDeposit_LSMDepositState) EnumDescriptor added in v2.3.0

func (LSMDeposit_LSMDepositState) EnumDescriptor() ([]byte, []int)

func (LSMDeposit_LSMDepositState) String added in v2.3.0

type LiquidStakeIBCHooks added in v2.7.2

type LiquidStakeIBCHooks interface {
	PostCValueUpdate(ctx sdk.Context, mintDenom, hostDenom string, cValue sdk.Dec) error
}

type MsgClient

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 MsgLiquidStake

type MsgLiquidStake struct {
	DelegatorAddress string     `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

func NewMsgLiquidStake

func NewMsgLiquidStake(amount sdk.Coin, address sdk.AccAddress) *MsgLiquidStake

func (*MsgLiquidStake) Descriptor

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

func (*MsgLiquidStake) GetAmount

func (m *MsgLiquidStake) GetAmount() types.Coin

func (*MsgLiquidStake) GetDelegatorAddress

func (m *MsgLiquidStake) GetDelegatorAddress() string

func (*MsgLiquidStake) GetSignBytes

func (m *MsgLiquidStake) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLiquidStake) GetSigners

func (m *MsgLiquidStake) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgLiquidStake) Marshal

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

func (*MsgLiquidStake) MarshalTo

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

func (*MsgLiquidStake) MarshalToSizedBuffer

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

func (*MsgLiquidStake) ProtoMessage

func (*MsgLiquidStake) ProtoMessage()

func (*MsgLiquidStake) Reset

func (m *MsgLiquidStake) Reset()

func (*MsgLiquidStake) Route

func (m *MsgLiquidStake) Route() string

func (*MsgLiquidStake) Size

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

func (*MsgLiquidStake) String

func (m *MsgLiquidStake) String() string

func (*MsgLiquidStake) Type

func (m *MsgLiquidStake) Type() string

Type should return the action

func (*MsgLiquidStake) Unmarshal

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

func (*MsgLiquidStake) ValidateBasic

func (m *MsgLiquidStake) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgLiquidStake) XXX_DiscardUnknown

func (m *MsgLiquidStake) XXX_DiscardUnknown()

func (*MsgLiquidStake) XXX_Marshal

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

func (*MsgLiquidStake) XXX_Merge

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

func (*MsgLiquidStake) XXX_Size

func (m *MsgLiquidStake) XXX_Size() int

func (*MsgLiquidStake) XXX_Unmarshal

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

type MsgLiquidStakeLSM added in v2.3.0

type MsgLiquidStakeLSM struct {
	DelegatorAddress string                                   `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	Delegations      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=delegations,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"delegations"`
}

func NewMsgLiquidStakeLSM added in v2.3.0

func NewMsgLiquidStakeLSM(delegations sdk.Coins, address sdk.AccAddress) *MsgLiquidStakeLSM

func (*MsgLiquidStakeLSM) Descriptor added in v2.3.0

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

func (*MsgLiquidStakeLSM) GetDelegations added in v2.3.0

func (*MsgLiquidStakeLSM) GetDelegatorAddress added in v2.3.0

func (m *MsgLiquidStakeLSM) GetDelegatorAddress() string

func (*MsgLiquidStakeLSM) GetSignBytes added in v2.3.0

func (m *MsgLiquidStakeLSM) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLiquidStakeLSM) GetSigners added in v2.3.0

func (m *MsgLiquidStakeLSM) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgLiquidStakeLSM) Marshal added in v2.3.0

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

func (*MsgLiquidStakeLSM) MarshalTo added in v2.3.0

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

func (*MsgLiquidStakeLSM) MarshalToSizedBuffer added in v2.3.0

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

func (*MsgLiquidStakeLSM) ProtoMessage added in v2.3.0

func (*MsgLiquidStakeLSM) ProtoMessage()

func (*MsgLiquidStakeLSM) Reset added in v2.3.0

func (m *MsgLiquidStakeLSM) Reset()

func (*MsgLiquidStakeLSM) Route added in v2.3.0

func (m *MsgLiquidStakeLSM) Route() string

func (*MsgLiquidStakeLSM) Size added in v2.3.0

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

func (*MsgLiquidStakeLSM) String added in v2.3.0

func (m *MsgLiquidStakeLSM) String() string

func (*MsgLiquidStakeLSM) Type added in v2.3.0

func (m *MsgLiquidStakeLSM) Type() string

Type should return the action

func (*MsgLiquidStakeLSM) Unmarshal added in v2.3.0

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

func (*MsgLiquidStakeLSM) ValidateBasic added in v2.3.0

func (m *MsgLiquidStakeLSM) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgLiquidStakeLSM) XXX_DiscardUnknown added in v2.3.0

func (m *MsgLiquidStakeLSM) XXX_DiscardUnknown()

func (*MsgLiquidStakeLSM) XXX_Marshal added in v2.3.0

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

func (*MsgLiquidStakeLSM) XXX_Merge added in v2.3.0

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

func (*MsgLiquidStakeLSM) XXX_Size added in v2.3.0

func (m *MsgLiquidStakeLSM) XXX_Size() int

func (*MsgLiquidStakeLSM) XXX_Unmarshal added in v2.3.0

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

type MsgLiquidStakeLSMResponse added in v2.3.0

type MsgLiquidStakeLSMResponse struct {
}

func (*MsgLiquidStakeLSMResponse) Descriptor added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) Marshal added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) MarshalTo added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) MarshalToSizedBuffer added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) ProtoMessage added in v2.3.0

func (*MsgLiquidStakeLSMResponse) ProtoMessage()

func (*MsgLiquidStakeLSMResponse) Reset added in v2.3.0

func (m *MsgLiquidStakeLSMResponse) Reset()

func (*MsgLiquidStakeLSMResponse) Size added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) String added in v2.3.0

func (m *MsgLiquidStakeLSMResponse) String() string

func (*MsgLiquidStakeLSMResponse) Unmarshal added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) XXX_DiscardUnknown added in v2.3.0

func (m *MsgLiquidStakeLSMResponse) XXX_DiscardUnknown()

func (*MsgLiquidStakeLSMResponse) XXX_Marshal added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) XXX_Merge added in v2.3.0

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

func (*MsgLiquidStakeLSMResponse) XXX_Size added in v2.3.0

func (m *MsgLiquidStakeLSMResponse) XXX_Size() int

func (*MsgLiquidStakeLSMResponse) XXX_Unmarshal added in v2.3.0

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

type MsgLiquidStakeResponse

type MsgLiquidStakeResponse struct {
}

func (*MsgLiquidStakeResponse) Descriptor

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

func (*MsgLiquidStakeResponse) Marshal

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

func (*MsgLiquidStakeResponse) MarshalTo

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

func (*MsgLiquidStakeResponse) MarshalToSizedBuffer

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

func (*MsgLiquidStakeResponse) ProtoMessage

func (*MsgLiquidStakeResponse) ProtoMessage()

func (*MsgLiquidStakeResponse) Reset

func (m *MsgLiquidStakeResponse) Reset()

func (*MsgLiquidStakeResponse) Size

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

func (*MsgLiquidStakeResponse) String

func (m *MsgLiquidStakeResponse) String() string

func (*MsgLiquidStakeResponse) Unmarshal

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

func (*MsgLiquidStakeResponse) XXX_DiscardUnknown

func (m *MsgLiquidStakeResponse) XXX_DiscardUnknown()

func (*MsgLiquidStakeResponse) XXX_Marshal

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

func (*MsgLiquidStakeResponse) XXX_Merge

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

func (*MsgLiquidStakeResponse) XXX_Size

func (m *MsgLiquidStakeResponse) XXX_Size() int

func (*MsgLiquidStakeResponse) XXX_Unmarshal

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

type MsgLiquidUnstake

type MsgLiquidUnstake struct {
	DelegatorAddress string     `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

func NewMsgLiquidUnstake

func NewMsgLiquidUnstake(amount sdk.Coin, address sdk.AccAddress) *MsgLiquidUnstake

func (*MsgLiquidUnstake) Descriptor

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

func (*MsgLiquidUnstake) GetAmount

func (m *MsgLiquidUnstake) GetAmount() types.Coin

func (*MsgLiquidUnstake) GetDelegatorAddress

func (m *MsgLiquidUnstake) GetDelegatorAddress() string

func (*MsgLiquidUnstake) GetSignBytes

func (m *MsgLiquidUnstake) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgLiquidUnstake) GetSigners

func (m *MsgLiquidUnstake) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgLiquidUnstake) Marshal

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

func (*MsgLiquidUnstake) MarshalTo

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

func (*MsgLiquidUnstake) MarshalToSizedBuffer

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

func (*MsgLiquidUnstake) ProtoMessage

func (*MsgLiquidUnstake) ProtoMessage()

func (*MsgLiquidUnstake) Reset

func (m *MsgLiquidUnstake) Reset()

func (*MsgLiquidUnstake) Route

func (m *MsgLiquidUnstake) Route() string

func (*MsgLiquidUnstake) Size

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

func (*MsgLiquidUnstake) String

func (m *MsgLiquidUnstake) String() string

func (*MsgLiquidUnstake) Type

func (m *MsgLiquidUnstake) Type() string

Type should return the action

func (*MsgLiquidUnstake) Unmarshal

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

func (*MsgLiquidUnstake) ValidateBasic

func (m *MsgLiquidUnstake) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgLiquidUnstake) XXX_DiscardUnknown

func (m *MsgLiquidUnstake) XXX_DiscardUnknown()

func (*MsgLiquidUnstake) XXX_Marshal

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

func (*MsgLiquidUnstake) XXX_Merge

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

func (*MsgLiquidUnstake) XXX_Size

func (m *MsgLiquidUnstake) XXX_Size() int

func (*MsgLiquidUnstake) XXX_Unmarshal

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

type MsgLiquidUnstakeResponse

type MsgLiquidUnstakeResponse struct {
}

func (*MsgLiquidUnstakeResponse) Descriptor

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

func (*MsgLiquidUnstakeResponse) Marshal

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

func (*MsgLiquidUnstakeResponse) MarshalTo

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

func (*MsgLiquidUnstakeResponse) MarshalToSizedBuffer

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

func (*MsgLiquidUnstakeResponse) ProtoMessage

func (*MsgLiquidUnstakeResponse) ProtoMessage()

func (*MsgLiquidUnstakeResponse) Reset

func (m *MsgLiquidUnstakeResponse) Reset()

func (*MsgLiquidUnstakeResponse) Size

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

func (*MsgLiquidUnstakeResponse) String

func (m *MsgLiquidUnstakeResponse) String() string

func (*MsgLiquidUnstakeResponse) Unmarshal

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

func (*MsgLiquidUnstakeResponse) XXX_DiscardUnknown

func (m *MsgLiquidUnstakeResponse) XXX_DiscardUnknown()

func (*MsgLiquidUnstakeResponse) XXX_Marshal

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

func (*MsgLiquidUnstakeResponse) XXX_Merge

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

func (*MsgLiquidUnstakeResponse) XXX_Size

func (m *MsgLiquidUnstakeResponse) XXX_Size() int

func (*MsgLiquidUnstakeResponse) XXX_Unmarshal

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

type MsgRedeem

type MsgRedeem struct {
	DelegatorAddress string     `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

func NewMsgRedeem

func NewMsgRedeem(amount sdk.Coin, address sdk.AccAddress) *MsgRedeem

func (*MsgRedeem) Descriptor

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

func (*MsgRedeem) GetAmount

func (m *MsgRedeem) GetAmount() types.Coin

func (*MsgRedeem) GetDelegatorAddress

func (m *MsgRedeem) GetDelegatorAddress() string

func (*MsgRedeem) GetSignBytes

func (m *MsgRedeem) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgRedeem) GetSigners

func (m *MsgRedeem) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgRedeem) Marshal

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

func (*MsgRedeem) MarshalTo

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

func (*MsgRedeem) MarshalToSizedBuffer

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

func (*MsgRedeem) ProtoMessage

func (*MsgRedeem) ProtoMessage()

func (*MsgRedeem) Reset

func (m *MsgRedeem) Reset()

func (*MsgRedeem) Route

func (m *MsgRedeem) Route() string

func (*MsgRedeem) Size

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

func (*MsgRedeem) String

func (m *MsgRedeem) String() string

func (*MsgRedeem) Type

func (m *MsgRedeem) Type() string

Type should return the action

func (*MsgRedeem) Unmarshal

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

func (*MsgRedeem) ValidateBasic

func (m *MsgRedeem) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgRedeem) XXX_DiscardUnknown

func (m *MsgRedeem) XXX_DiscardUnknown()

func (*MsgRedeem) XXX_Marshal

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

func (*MsgRedeem) XXX_Merge

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

func (*MsgRedeem) XXX_Size

func (m *MsgRedeem) XXX_Size() int

func (*MsgRedeem) XXX_Unmarshal

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

type MsgRedeemResponse

type MsgRedeemResponse struct {
}

func (*MsgRedeemResponse) Descriptor

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

func (*MsgRedeemResponse) Marshal

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

func (*MsgRedeemResponse) MarshalTo

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

func (*MsgRedeemResponse) MarshalToSizedBuffer

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

func (*MsgRedeemResponse) ProtoMessage

func (*MsgRedeemResponse) ProtoMessage()

func (*MsgRedeemResponse) Reset

func (m *MsgRedeemResponse) Reset()

func (*MsgRedeemResponse) Size

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

func (*MsgRedeemResponse) String

func (m *MsgRedeemResponse) String() string

func (*MsgRedeemResponse) Unmarshal

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

func (*MsgRedeemResponse) XXX_DiscardUnknown

func (m *MsgRedeemResponse) XXX_DiscardUnknown()

func (*MsgRedeemResponse) XXX_Marshal

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

func (*MsgRedeemResponse) XXX_Merge

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

func (*MsgRedeemResponse) XXX_Size

func (m *MsgRedeemResponse) XXX_Size() int

func (*MsgRedeemResponse) XXX_Unmarshal

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

type MsgRegisterHostChain

type MsgRegisterHostChain struct {
	// authority is the address of the governance account
	Authority          string                                 `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	ConnectionId       string                                 `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	DepositFee         github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	RestakeFee         github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	UnstakeFee         github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	RedemptionFee      github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	ChannelId          string                                 `protobuf:"bytes,7,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	PortId             string                                 `protobuf:"bytes,8,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	HostDenom          string                                 `protobuf:"bytes,9,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
	MinimumDeposit     github_com_cosmos_cosmos_sdk_types.Int `` /* 144-byte string literal not displayed */
	UnbondingFactor    int64                                  `protobuf:"varint,11,opt,name=unbonding_factor,json=unbondingFactor,proto3" json:"unbonding_factor,omitempty"`
	AutoCompoundFactor int64                                  `protobuf:"varint,12,opt,name=auto_compound_factor,json=autoCompoundFactor,proto3" json:"auto_compound_factor,omitempty"`
}

func NewMsgRegisterHostChain

func NewMsgRegisterHostChain(
	connectionID string,
	channelID string,
	portID string,
	depositFee string,
	restakeFee string,
	unstakeFee string,
	redemptionFee string,
	hostDenom string,
	minimumDeposit math.Int,
	unbondingFactor int64,
	authority string,
	autocompoundFactor int64,
) *MsgRegisterHostChain

func (*MsgRegisterHostChain) Descriptor

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

func (*MsgRegisterHostChain) GetSignBytes

func (m *MsgRegisterHostChain) GetSignBytes() []byte

func (*MsgRegisterHostChain) GetSigners

func (m *MsgRegisterHostChain) GetSigners() []sdk.AccAddress

func (*MsgRegisterHostChain) Marshal

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

func (*MsgRegisterHostChain) MarshalTo

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

func (*MsgRegisterHostChain) MarshalToSizedBuffer

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

func (*MsgRegisterHostChain) ProtoMessage

func (*MsgRegisterHostChain) ProtoMessage()

func (*MsgRegisterHostChain) Reset

func (m *MsgRegisterHostChain) Reset()

func (*MsgRegisterHostChain) Route

func (m *MsgRegisterHostChain) Route() string

func (*MsgRegisterHostChain) Size

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

func (*MsgRegisterHostChain) String

func (m *MsgRegisterHostChain) String() string

func (*MsgRegisterHostChain) Type

func (m *MsgRegisterHostChain) Type() string

func (*MsgRegisterHostChain) Unmarshal

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

func (*MsgRegisterHostChain) ValidateBasic

func (m *MsgRegisterHostChain) ValidateBasic() error

func (*MsgRegisterHostChain) XXX_DiscardUnknown

func (m *MsgRegisterHostChain) XXX_DiscardUnknown()

func (*MsgRegisterHostChain) XXX_Marshal

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

func (*MsgRegisterHostChain) XXX_Merge

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

func (*MsgRegisterHostChain) XXX_Size

func (m *MsgRegisterHostChain) XXX_Size() int

func (*MsgRegisterHostChain) XXX_Unmarshal

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

type MsgRegisterHostChainResponse

type MsgRegisterHostChainResponse struct {
}

func (*MsgRegisterHostChainResponse) Descriptor

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

func (*MsgRegisterHostChainResponse) Marshal

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

func (*MsgRegisterHostChainResponse) MarshalTo

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

func (*MsgRegisterHostChainResponse) MarshalToSizedBuffer

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

func (*MsgRegisterHostChainResponse) ProtoMessage

func (*MsgRegisterHostChainResponse) ProtoMessage()

func (*MsgRegisterHostChainResponse) Reset

func (m *MsgRegisterHostChainResponse) Reset()

func (*MsgRegisterHostChainResponse) Size

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

func (*MsgRegisterHostChainResponse) String

func (*MsgRegisterHostChainResponse) Unmarshal

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

func (*MsgRegisterHostChainResponse) XXX_DiscardUnknown

func (m *MsgRegisterHostChainResponse) XXX_DiscardUnknown()

func (*MsgRegisterHostChainResponse) XXX_Marshal

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

func (*MsgRegisterHostChainResponse) XXX_Merge

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

func (*MsgRegisterHostChainResponse) XXX_Size

func (m *MsgRegisterHostChainResponse) XXX_Size() int

func (*MsgRegisterHostChainResponse) XXX_Unmarshal

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

type MsgUpdateHostChain

type MsgUpdateHostChain struct {
	// authority is the address of the governance account
	Authority string      `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	ChainId   string      `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Updates   []*KVUpdate `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"`
}

func NewMsgUpdateHostChain

func NewMsgUpdateHostChain(chainID, authority string, updates []*KVUpdate) *MsgUpdateHostChain

func (*MsgUpdateHostChain) Descriptor

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

func (*MsgUpdateHostChain) GetSignBytes

func (m *MsgUpdateHostChain) GetSignBytes() []byte

func (*MsgUpdateHostChain) GetSigners

func (m *MsgUpdateHostChain) GetSigners() []sdk.AccAddress

func (*MsgUpdateHostChain) Marshal

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

func (*MsgUpdateHostChain) MarshalTo

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

func (*MsgUpdateHostChain) MarshalToSizedBuffer

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

func (*MsgUpdateHostChain) ProtoMessage

func (*MsgUpdateHostChain) ProtoMessage()

func (*MsgUpdateHostChain) Reset

func (m *MsgUpdateHostChain) Reset()

func (*MsgUpdateHostChain) Route

func (m *MsgUpdateHostChain) Route() string

func (*MsgUpdateHostChain) Size

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

func (*MsgUpdateHostChain) String

func (m *MsgUpdateHostChain) String() string

func (*MsgUpdateHostChain) Type

func (m *MsgUpdateHostChain) Type() string

func (*MsgUpdateHostChain) Unmarshal

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

func (*MsgUpdateHostChain) ValidateBasic

func (m *MsgUpdateHostChain) ValidateBasic() error

func (*MsgUpdateHostChain) XXX_DiscardUnknown

func (m *MsgUpdateHostChain) XXX_DiscardUnknown()

func (*MsgUpdateHostChain) XXX_Marshal

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

func (*MsgUpdateHostChain) XXX_Merge

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

func (*MsgUpdateHostChain) XXX_Size

func (m *MsgUpdateHostChain) XXX_Size() int

func (*MsgUpdateHostChain) XXX_Unmarshal

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

type MsgUpdateHostChainResponse

type MsgUpdateHostChainResponse struct {
}

func (*MsgUpdateHostChainResponse) Descriptor

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

func (*MsgUpdateHostChainResponse) Marshal

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

func (*MsgUpdateHostChainResponse) MarshalTo

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

func (*MsgUpdateHostChainResponse) MarshalToSizedBuffer

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

func (*MsgUpdateHostChainResponse) ProtoMessage

func (*MsgUpdateHostChainResponse) ProtoMessage()

func (*MsgUpdateHostChainResponse) Reset

func (m *MsgUpdateHostChainResponse) Reset()

func (*MsgUpdateHostChainResponse) Size

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

func (*MsgUpdateHostChainResponse) String

func (m *MsgUpdateHostChainResponse) String() string

func (*MsgUpdateHostChainResponse) Unmarshal

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

func (*MsgUpdateHostChainResponse) XXX_DiscardUnknown

func (m *MsgUpdateHostChainResponse) XXX_DiscardUnknown()

func (*MsgUpdateHostChainResponse) XXX_Marshal

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

func (*MsgUpdateHostChainResponse) XXX_Merge

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

func (*MsgUpdateHostChainResponse) XXX_Size

func (m *MsgUpdateHostChainResponse) XXX_Size() int

func (*MsgUpdateHostChainResponse) XXX_Unmarshal

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

type MsgUpdateParams

type MsgUpdateParams struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func NewMsgUpdateParams

func NewMsgUpdateParams(authority sdk.AccAddress, amount Params) *MsgUpdateParams

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetSignBytes

func (m *MsgUpdateParams) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (*MsgUpdateParams) GetSigners

func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Route

func (m *MsgUpdateParams) Route() string

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Type

func (m *MsgUpdateParams) Type() string

Type should return the action

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type MultiLiquidStakeIBCHooks added in v2.7.2

type MultiLiquidStakeIBCHooks []LiquidStakeIBCHooks

MultiLiquidStakeIBCHooks combine multiple liquidstake ibc hooks, all hook functions are run in array sequence

func NewMultiLiquidStakeIBCHooks added in v2.7.2

func NewMultiLiquidStakeIBCHooks(hooks ...LiquidStakeIBCHooks) MultiLiquidStakeIBCHooks

func (MultiLiquidStakeIBCHooks) PostCValueUpdate added in v2.7.2

func (h MultiLiquidStakeIBCHooks) PostCValueUpdate(ctx sdk.Context, mintDenom, hostDenom string, cValue sdk.Dec) error

type Params

type Params struct {
	AdminAddress string `protobuf:"bytes,1,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"`
	FeeAddress   string `protobuf:"bytes,2,opt,name=fee_address,json=feeAddress,proto3" json:"fee_address,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns the default set of parameters of the module

func NewParams

func NewParams(adminAddress, feeAddress string) Params

NewParams creates a new Params object

func (*Params) Descriptor

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

func (*Params) GetAdminAddress

func (m *Params) GetAdminAddress() string

func (*Params) GetFeeAddress

func (m *Params) GetFeeAddress() string

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) 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 liquidstakeibc 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 QueryClient

type QueryClient interface {
	// Queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a HostChain by id.
	HostChain(ctx context.Context, in *QueryHostChainRequest, opts ...grpc.CallOption) (*QueryHostChainResponse, error)
	// Queries for all the HostChains.
	HostChains(ctx context.Context, in *QueryHostChainsRequest, opts ...grpc.CallOption) (*QueryHostChainsResponse, error)
	// Queries for all the deposits for a host chain.
	Deposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error)
	// Queries for all the deposits for a host chain.
	LSMDeposits(ctx context.Context, in *QueryLSMDepositsRequest, opts ...grpc.CallOption) (*QueryLSMDepositsResponse, error)
	// Queries all unbondings for a host chain.
	Unbondings(ctx context.Context, in *QueryUnbondingsRequest, opts ...grpc.CallOption) (*QueryUnbondingsResponse, error)
	// Queries an unbonding for a host chain.
	Unbonding(ctx context.Context, in *QueryUnbondingRequest, opts ...grpc.CallOption) (*QueryUnbondingResponse, error)
	// Queries all unbondings for a delegator address.
	UserUnbondings(ctx context.Context, in *QueryUserUnbondingsRequest, opts ...grpc.CallOption) (*QueryUserUnbondingsResponse, error)
	// Queries all unbondings for a host chain.
	HostChainUserUnbondings(ctx context.Context, in *QueryHostChainUserUnbondingsRequest, opts ...grpc.CallOption) (*QueryHostChainUserUnbondingsResponse, error)
	// Queries all validator unbondings for a host chain.
	ValidatorUnbondings(ctx context.Context, in *QueryValidatorUnbondingRequest, opts ...grpc.CallOption) (*QueryValidatorUnbondingResponse, error)
	// Queries for a host chain deposit account balance.
	DepositAccountBalance(ctx context.Context, in *QueryDepositAccountBalanceRequest, opts ...grpc.CallOption) (*QueryDepositAccountBalanceResponse, error)
	// Queries for a host chain exchange rate between the host token and the stk
	// token.
	ExchangeRate(ctx context.Context, in *QueryExchangeRateRequest, opts ...grpc.CallOption) (*QueryExchangeRateResponse, error)
	// Queries for a host chain redelegation entries on the host token delegation
	// acct.
	Redelegations(ctx context.Context, in *QueryRedelegationsRequest, opts ...grpc.CallOption) (*QueryRedelegationsResponse, error)
	// Queries for a host chain redelegation-txs for the host token.
	RedelegationTx(ctx context.Context, in *QueryRedelegationTxRequest, opts ...grpc.CallOption) (*QueryRedelegationTxResponse, 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 QueryDepositAccountBalanceRequest

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

func (*QueryDepositAccountBalanceRequest) Descriptor

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

func (*QueryDepositAccountBalanceRequest) GetChainId

func (m *QueryDepositAccountBalanceRequest) GetChainId() string

func (*QueryDepositAccountBalanceRequest) Marshal

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

func (*QueryDepositAccountBalanceRequest) MarshalTo

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

func (*QueryDepositAccountBalanceRequest) MarshalToSizedBuffer

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

func (*QueryDepositAccountBalanceRequest) ProtoMessage

func (*QueryDepositAccountBalanceRequest) ProtoMessage()

func (*QueryDepositAccountBalanceRequest) Reset

func (*QueryDepositAccountBalanceRequest) Size

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

func (*QueryDepositAccountBalanceRequest) String

func (*QueryDepositAccountBalanceRequest) Unmarshal

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

func (*QueryDepositAccountBalanceRequest) XXX_DiscardUnknown

func (m *QueryDepositAccountBalanceRequest) XXX_DiscardUnknown()

func (*QueryDepositAccountBalanceRequest) XXX_Marshal

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

func (*QueryDepositAccountBalanceRequest) XXX_Merge

func (*QueryDepositAccountBalanceRequest) XXX_Size

func (m *QueryDepositAccountBalanceRequest) XXX_Size() int

func (*QueryDepositAccountBalanceRequest) XXX_Unmarshal

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

type QueryDepositAccountBalanceResponse

type QueryDepositAccountBalanceResponse struct {
	Balance types.Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance"`
}

func (*QueryDepositAccountBalanceResponse) Descriptor

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

func (*QueryDepositAccountBalanceResponse) GetBalance

func (*QueryDepositAccountBalanceResponse) Marshal

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

func (*QueryDepositAccountBalanceResponse) MarshalTo

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

func (*QueryDepositAccountBalanceResponse) MarshalToSizedBuffer

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

func (*QueryDepositAccountBalanceResponse) ProtoMessage

func (*QueryDepositAccountBalanceResponse) ProtoMessage()

func (*QueryDepositAccountBalanceResponse) Reset

func (*QueryDepositAccountBalanceResponse) Size

func (*QueryDepositAccountBalanceResponse) String

func (*QueryDepositAccountBalanceResponse) Unmarshal

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

func (*QueryDepositAccountBalanceResponse) XXX_DiscardUnknown

func (m *QueryDepositAccountBalanceResponse) XXX_DiscardUnknown()

func (*QueryDepositAccountBalanceResponse) XXX_Marshal

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

func (*QueryDepositAccountBalanceResponse) XXX_Merge

func (*QueryDepositAccountBalanceResponse) XXX_Size

func (*QueryDepositAccountBalanceResponse) XXX_Unmarshal

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

type QueryDepositsRequest

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

func (*QueryDepositsRequest) Descriptor

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

func (*QueryDepositsRequest) GetChainId

func (m *QueryDepositsRequest) GetChainId() string

func (*QueryDepositsRequest) Marshal

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

func (*QueryDepositsRequest) MarshalTo

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

func (*QueryDepositsRequest) MarshalToSizedBuffer

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

func (*QueryDepositsRequest) ProtoMessage

func (*QueryDepositsRequest) ProtoMessage()

func (*QueryDepositsRequest) Reset

func (m *QueryDepositsRequest) Reset()

func (*QueryDepositsRequest) Size

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

func (*QueryDepositsRequest) String

func (m *QueryDepositsRequest) String() string

func (*QueryDepositsRequest) Unmarshal

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

func (*QueryDepositsRequest) XXX_DiscardUnknown

func (m *QueryDepositsRequest) XXX_DiscardUnknown()

func (*QueryDepositsRequest) XXX_Marshal

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

func (*QueryDepositsRequest) XXX_Merge

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

func (*QueryDepositsRequest) XXX_Size

func (m *QueryDepositsRequest) XXX_Size() int

func (*QueryDepositsRequest) XXX_Unmarshal

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

type QueryDepositsResponse

type QueryDepositsResponse struct {
	Deposits []*Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"`
}

func (*QueryDepositsResponse) Descriptor

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

func (*QueryDepositsResponse) GetDeposits

func (m *QueryDepositsResponse) GetDeposits() []*Deposit

func (*QueryDepositsResponse) Marshal

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

func (*QueryDepositsResponse) MarshalTo

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

func (*QueryDepositsResponse) MarshalToSizedBuffer

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

func (*QueryDepositsResponse) ProtoMessage

func (*QueryDepositsResponse) ProtoMessage()

func (*QueryDepositsResponse) Reset

func (m *QueryDepositsResponse) Reset()

func (*QueryDepositsResponse) Size

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

func (*QueryDepositsResponse) String

func (m *QueryDepositsResponse) String() string

func (*QueryDepositsResponse) Unmarshal

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

func (*QueryDepositsResponse) XXX_DiscardUnknown

func (m *QueryDepositsResponse) XXX_DiscardUnknown()

func (*QueryDepositsResponse) XXX_Marshal

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

func (*QueryDepositsResponse) XXX_Merge

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

func (*QueryDepositsResponse) XXX_Size

func (m *QueryDepositsResponse) XXX_Size() int

func (*QueryDepositsResponse) XXX_Unmarshal

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

type QueryExchangeRateRequest

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

func (*QueryExchangeRateRequest) Descriptor

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

func (*QueryExchangeRateRequest) GetChainId

func (m *QueryExchangeRateRequest) GetChainId() string

func (*QueryExchangeRateRequest) Marshal

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

func (*QueryExchangeRateRequest) MarshalTo

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

func (*QueryExchangeRateRequest) MarshalToSizedBuffer

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

func (*QueryExchangeRateRequest) ProtoMessage

func (*QueryExchangeRateRequest) ProtoMessage()

func (*QueryExchangeRateRequest) Reset

func (m *QueryExchangeRateRequest) Reset()

func (*QueryExchangeRateRequest) Size

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

func (*QueryExchangeRateRequest) String

func (m *QueryExchangeRateRequest) String() string

func (*QueryExchangeRateRequest) Unmarshal

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

func (*QueryExchangeRateRequest) XXX_DiscardUnknown

func (m *QueryExchangeRateRequest) XXX_DiscardUnknown()

func (*QueryExchangeRateRequest) XXX_Marshal

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

func (*QueryExchangeRateRequest) XXX_Merge

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

func (*QueryExchangeRateRequest) XXX_Size

func (m *QueryExchangeRateRequest) XXX_Size() int

func (*QueryExchangeRateRequest) XXX_Unmarshal

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

type QueryExchangeRateResponse

type QueryExchangeRateResponse struct {
	Rate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rate"`
}

func (*QueryExchangeRateResponse) Descriptor

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

func (*QueryExchangeRateResponse) Marshal

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

func (*QueryExchangeRateResponse) MarshalTo

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

func (*QueryExchangeRateResponse) MarshalToSizedBuffer

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

func (*QueryExchangeRateResponse) ProtoMessage

func (*QueryExchangeRateResponse) ProtoMessage()

func (*QueryExchangeRateResponse) Reset

func (m *QueryExchangeRateResponse) Reset()

func (*QueryExchangeRateResponse) Size

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

func (*QueryExchangeRateResponse) String

func (m *QueryExchangeRateResponse) String() string

func (*QueryExchangeRateResponse) Unmarshal

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

func (*QueryExchangeRateResponse) XXX_DiscardUnknown

func (m *QueryExchangeRateResponse) XXX_DiscardUnknown()

func (*QueryExchangeRateResponse) XXX_Marshal

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

func (*QueryExchangeRateResponse) XXX_Merge

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

func (*QueryExchangeRateResponse) XXX_Size

func (m *QueryExchangeRateResponse) XXX_Size() int

func (*QueryExchangeRateResponse) XXX_Unmarshal

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

type QueryHostChainRequest

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

func (*QueryHostChainRequest) Descriptor

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

func (*QueryHostChainRequest) GetChainId

func (m *QueryHostChainRequest) GetChainId() string

func (*QueryHostChainRequest) Marshal

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

func (*QueryHostChainRequest) MarshalTo

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

func (*QueryHostChainRequest) MarshalToSizedBuffer

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

func (*QueryHostChainRequest) ProtoMessage

func (*QueryHostChainRequest) ProtoMessage()

func (*QueryHostChainRequest) Reset

func (m *QueryHostChainRequest) Reset()

func (*QueryHostChainRequest) Size

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

func (*QueryHostChainRequest) String

func (m *QueryHostChainRequest) String() string

func (*QueryHostChainRequest) Unmarshal

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

func (*QueryHostChainRequest) XXX_DiscardUnknown

func (m *QueryHostChainRequest) XXX_DiscardUnknown()

func (*QueryHostChainRequest) XXX_Marshal

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

func (*QueryHostChainRequest) XXX_Merge

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

func (*QueryHostChainRequest) XXX_Size

func (m *QueryHostChainRequest) XXX_Size() int

func (*QueryHostChainRequest) XXX_Unmarshal

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

type QueryHostChainResponse

type QueryHostChainResponse struct {
	HostChain HostChain `protobuf:"bytes,1,opt,name=host_chain,json=hostChain,proto3" json:"host_chain"`
}

func (*QueryHostChainResponse) Descriptor

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

func (*QueryHostChainResponse) GetHostChain

func (m *QueryHostChainResponse) GetHostChain() HostChain

func (*QueryHostChainResponse) Marshal

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

func (*QueryHostChainResponse) MarshalTo

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

func (*QueryHostChainResponse) MarshalToSizedBuffer

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

func (*QueryHostChainResponse) ProtoMessage

func (*QueryHostChainResponse) ProtoMessage()

func (*QueryHostChainResponse) Reset

func (m *QueryHostChainResponse) Reset()

func (*QueryHostChainResponse) Size

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

func (*QueryHostChainResponse) String

func (m *QueryHostChainResponse) String() string

func (*QueryHostChainResponse) Unmarshal

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

func (*QueryHostChainResponse) XXX_DiscardUnknown

func (m *QueryHostChainResponse) XXX_DiscardUnknown()

func (*QueryHostChainResponse) XXX_Marshal

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

func (*QueryHostChainResponse) XXX_Merge

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

func (*QueryHostChainResponse) XXX_Size

func (m *QueryHostChainResponse) XXX_Size() int

func (*QueryHostChainResponse) XXX_Unmarshal

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

type QueryHostChainUserUnbondingsRequest added in v2.9.0

type QueryHostChainUserUnbondingsRequest struct {
	ChainId    string             `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryHostChainUserUnbondingsRequest) Descriptor added in v2.9.0

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

func (*QueryHostChainUserUnbondingsRequest) GetChainId added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) GetPagination added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) Marshal added in v2.9.0

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

func (*QueryHostChainUserUnbondingsRequest) MarshalTo added in v2.9.0

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

func (*QueryHostChainUserUnbondingsRequest) MarshalToSizedBuffer added in v2.9.0

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

func (*QueryHostChainUserUnbondingsRequest) ProtoMessage added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) ProtoMessage()

func (*QueryHostChainUserUnbondingsRequest) Reset added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) Size added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) String added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) Unmarshal added in v2.9.0

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

func (*QueryHostChainUserUnbondingsRequest) XXX_DiscardUnknown added in v2.9.0

func (m *QueryHostChainUserUnbondingsRequest) XXX_DiscardUnknown()

func (*QueryHostChainUserUnbondingsRequest) XXX_Marshal added in v2.9.0

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

func (*QueryHostChainUserUnbondingsRequest) XXX_Merge added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) XXX_Size added in v2.9.0

func (*QueryHostChainUserUnbondingsRequest) XXX_Unmarshal added in v2.9.0

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

type QueryHostChainUserUnbondingsResponse added in v2.9.0

type QueryHostChainUserUnbondingsResponse struct {
	UserUnbondings []*UserUnbonding    `protobuf:"bytes,1,rep,name=user_unbondings,json=userUnbondings,proto3" json:"user_unbondings,omitempty"`
	Pagination     *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryHostChainUserUnbondingsResponse) Descriptor added in v2.9.0

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

func (*QueryHostChainUserUnbondingsResponse) GetPagination added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) GetUserUnbondings added in v2.9.0

func (m *QueryHostChainUserUnbondingsResponse) GetUserUnbondings() []*UserUnbonding

func (*QueryHostChainUserUnbondingsResponse) Marshal added in v2.9.0

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

func (*QueryHostChainUserUnbondingsResponse) MarshalTo added in v2.9.0

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

func (*QueryHostChainUserUnbondingsResponse) MarshalToSizedBuffer added in v2.9.0

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

func (*QueryHostChainUserUnbondingsResponse) ProtoMessage added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) ProtoMessage()

func (*QueryHostChainUserUnbondingsResponse) Reset added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) Size added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) String added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) Unmarshal added in v2.9.0

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

func (*QueryHostChainUserUnbondingsResponse) XXX_DiscardUnknown added in v2.9.0

func (m *QueryHostChainUserUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryHostChainUserUnbondingsResponse) XXX_Marshal added in v2.9.0

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

func (*QueryHostChainUserUnbondingsResponse) XXX_Merge added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) XXX_Size added in v2.9.0

func (*QueryHostChainUserUnbondingsResponse) XXX_Unmarshal added in v2.9.0

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

type QueryHostChainsRequest

type QueryHostChainsRequest struct {
}

func (*QueryHostChainsRequest) Descriptor

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

func (*QueryHostChainsRequest) Marshal

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

func (*QueryHostChainsRequest) MarshalTo

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

func (*QueryHostChainsRequest) MarshalToSizedBuffer

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

func (*QueryHostChainsRequest) ProtoMessage

func (*QueryHostChainsRequest) ProtoMessage()

func (*QueryHostChainsRequest) Reset

func (m *QueryHostChainsRequest) Reset()

func (*QueryHostChainsRequest) Size

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

func (*QueryHostChainsRequest) String

func (m *QueryHostChainsRequest) String() string

func (*QueryHostChainsRequest) Unmarshal

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

func (*QueryHostChainsRequest) XXX_DiscardUnknown

func (m *QueryHostChainsRequest) XXX_DiscardUnknown()

func (*QueryHostChainsRequest) XXX_Marshal

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

func (*QueryHostChainsRequest) XXX_Merge

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

func (*QueryHostChainsRequest) XXX_Size

func (m *QueryHostChainsRequest) XXX_Size() int

func (*QueryHostChainsRequest) XXX_Unmarshal

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

type QueryHostChainsResponse

type QueryHostChainsResponse struct {
	HostChains []*HostChain `protobuf:"bytes,1,rep,name=host_chains,json=hostChains,proto3" json:"host_chains,omitempty"`
}

func (*QueryHostChainsResponse) Descriptor

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

func (*QueryHostChainsResponse) GetHostChains

func (m *QueryHostChainsResponse) GetHostChains() []*HostChain

func (*QueryHostChainsResponse) Marshal

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

func (*QueryHostChainsResponse) MarshalTo

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

func (*QueryHostChainsResponse) MarshalToSizedBuffer

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

func (*QueryHostChainsResponse) ProtoMessage

func (*QueryHostChainsResponse) ProtoMessage()

func (*QueryHostChainsResponse) Reset

func (m *QueryHostChainsResponse) Reset()

func (*QueryHostChainsResponse) Size

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

func (*QueryHostChainsResponse) String

func (m *QueryHostChainsResponse) String() string

func (*QueryHostChainsResponse) Unmarshal

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

func (*QueryHostChainsResponse) XXX_DiscardUnknown

func (m *QueryHostChainsResponse) XXX_DiscardUnknown()

func (*QueryHostChainsResponse) XXX_Marshal

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

func (*QueryHostChainsResponse) XXX_Merge

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

func (*QueryHostChainsResponse) XXX_Size

func (m *QueryHostChainsResponse) XXX_Size() int

func (*QueryHostChainsResponse) XXX_Unmarshal

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

type QueryLSMDepositsRequest added in v2.3.0

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

func (*QueryLSMDepositsRequest) Descriptor added in v2.3.0

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

func (*QueryLSMDepositsRequest) GetChainId added in v2.3.0

func (m *QueryLSMDepositsRequest) GetChainId() string

func (*QueryLSMDepositsRequest) Marshal added in v2.3.0

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

func (*QueryLSMDepositsRequest) MarshalTo added in v2.3.0

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

func (*QueryLSMDepositsRequest) MarshalToSizedBuffer added in v2.3.0

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

func (*QueryLSMDepositsRequest) ProtoMessage added in v2.3.0

func (*QueryLSMDepositsRequest) ProtoMessage()

func (*QueryLSMDepositsRequest) Reset added in v2.3.0

func (m *QueryLSMDepositsRequest) Reset()

func (*QueryLSMDepositsRequest) Size added in v2.3.0

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

func (*QueryLSMDepositsRequest) String added in v2.3.0

func (m *QueryLSMDepositsRequest) String() string

func (*QueryLSMDepositsRequest) Unmarshal added in v2.3.0

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

func (*QueryLSMDepositsRequest) XXX_DiscardUnknown added in v2.3.0

func (m *QueryLSMDepositsRequest) XXX_DiscardUnknown()

func (*QueryLSMDepositsRequest) XXX_Marshal added in v2.3.0

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

func (*QueryLSMDepositsRequest) XXX_Merge added in v2.3.0

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

func (*QueryLSMDepositsRequest) XXX_Size added in v2.3.0

func (m *QueryLSMDepositsRequest) XXX_Size() int

func (*QueryLSMDepositsRequest) XXX_Unmarshal added in v2.3.0

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

type QueryLSMDepositsResponse added in v2.3.0

type QueryLSMDepositsResponse struct {
	Deposits []*LSMDeposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"`
}

func (*QueryLSMDepositsResponse) Descriptor added in v2.3.0

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

func (*QueryLSMDepositsResponse) GetDeposits added in v2.3.0

func (m *QueryLSMDepositsResponse) GetDeposits() []*LSMDeposit

func (*QueryLSMDepositsResponse) Marshal added in v2.3.0

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

func (*QueryLSMDepositsResponse) MarshalTo added in v2.3.0

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

func (*QueryLSMDepositsResponse) MarshalToSizedBuffer added in v2.3.0

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

func (*QueryLSMDepositsResponse) ProtoMessage added in v2.3.0

func (*QueryLSMDepositsResponse) ProtoMessage()

func (*QueryLSMDepositsResponse) Reset added in v2.3.0

func (m *QueryLSMDepositsResponse) Reset()

func (*QueryLSMDepositsResponse) Size added in v2.3.0

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

func (*QueryLSMDepositsResponse) String added in v2.3.0

func (m *QueryLSMDepositsResponse) String() string

func (*QueryLSMDepositsResponse) Unmarshal added in v2.3.0

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

func (*QueryLSMDepositsResponse) XXX_DiscardUnknown added in v2.3.0

func (m *QueryLSMDepositsResponse) XXX_DiscardUnknown()

func (*QueryLSMDepositsResponse) XXX_Marshal added in v2.3.0

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

func (*QueryLSMDepositsResponse) XXX_Merge added in v2.3.0

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

func (*QueryLSMDepositsResponse) XXX_Size added in v2.3.0

func (m *QueryLSMDepositsResponse) XXX_Size() int

func (*QueryLSMDepositsResponse) XXX_Unmarshal added in v2.3.0

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryRedelegationTxRequest added in v2.7.2

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

func (*QueryRedelegationTxRequest) Descriptor added in v2.7.2

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

func (*QueryRedelegationTxRequest) GetChainId added in v2.7.2

func (m *QueryRedelegationTxRequest) GetChainId() string

func (*QueryRedelegationTxRequest) Marshal added in v2.7.2

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

func (*QueryRedelegationTxRequest) MarshalTo added in v2.7.2

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

func (*QueryRedelegationTxRequest) MarshalToSizedBuffer added in v2.7.2

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

func (*QueryRedelegationTxRequest) ProtoMessage added in v2.7.2

func (*QueryRedelegationTxRequest) ProtoMessage()

func (*QueryRedelegationTxRequest) Reset added in v2.7.2

func (m *QueryRedelegationTxRequest) Reset()

func (*QueryRedelegationTxRequest) Size added in v2.7.2

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

func (*QueryRedelegationTxRequest) String added in v2.7.2

func (m *QueryRedelegationTxRequest) String() string

func (*QueryRedelegationTxRequest) Unmarshal added in v2.7.2

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

func (*QueryRedelegationTxRequest) XXX_DiscardUnknown added in v2.7.2

func (m *QueryRedelegationTxRequest) XXX_DiscardUnknown()

func (*QueryRedelegationTxRequest) XXX_Marshal added in v2.7.2

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

func (*QueryRedelegationTxRequest) XXX_Merge added in v2.7.2

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

func (*QueryRedelegationTxRequest) XXX_Size added in v2.7.2

func (m *QueryRedelegationTxRequest) XXX_Size() int

func (*QueryRedelegationTxRequest) XXX_Unmarshal added in v2.7.2

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

type QueryRedelegationTxResponse added in v2.7.2

type QueryRedelegationTxResponse struct {
	RedelegationTx []*RedelegateTx `protobuf:"bytes,1,rep,name=redelegation_tx,json=redelegationTx,proto3" json:"redelegation_tx,omitempty"`
}

func (*QueryRedelegationTxResponse) Descriptor added in v2.7.2

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

func (*QueryRedelegationTxResponse) GetRedelegationTx added in v2.7.2

func (m *QueryRedelegationTxResponse) GetRedelegationTx() []*RedelegateTx

func (*QueryRedelegationTxResponse) Marshal added in v2.7.2

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

func (*QueryRedelegationTxResponse) MarshalTo added in v2.7.2

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

func (*QueryRedelegationTxResponse) MarshalToSizedBuffer added in v2.7.2

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

func (*QueryRedelegationTxResponse) ProtoMessage added in v2.7.2

func (*QueryRedelegationTxResponse) ProtoMessage()

func (*QueryRedelegationTxResponse) Reset added in v2.7.2

func (m *QueryRedelegationTxResponse) Reset()

func (*QueryRedelegationTxResponse) Size added in v2.7.2

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

func (*QueryRedelegationTxResponse) String added in v2.7.2

func (m *QueryRedelegationTxResponse) String() string

func (*QueryRedelegationTxResponse) Unmarshal added in v2.7.2

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

func (*QueryRedelegationTxResponse) XXX_DiscardUnknown added in v2.7.2

func (m *QueryRedelegationTxResponse) XXX_DiscardUnknown()

func (*QueryRedelegationTxResponse) XXX_Marshal added in v2.7.2

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

func (*QueryRedelegationTxResponse) XXX_Merge added in v2.7.2

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

func (*QueryRedelegationTxResponse) XXX_Size added in v2.7.2

func (m *QueryRedelegationTxResponse) XXX_Size() int

func (*QueryRedelegationTxResponse) XXX_Unmarshal added in v2.7.2

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

type QueryRedelegationsRequest added in v2.7.2

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

func (*QueryRedelegationsRequest) Descriptor added in v2.7.2

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

func (*QueryRedelegationsRequest) GetChainId added in v2.7.2

func (m *QueryRedelegationsRequest) GetChainId() string

func (*QueryRedelegationsRequest) Marshal added in v2.7.2

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

func (*QueryRedelegationsRequest) MarshalTo added in v2.7.2

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

func (*QueryRedelegationsRequest) MarshalToSizedBuffer added in v2.7.2

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

func (*QueryRedelegationsRequest) ProtoMessage added in v2.7.2

func (*QueryRedelegationsRequest) ProtoMessage()

func (*QueryRedelegationsRequest) Reset added in v2.7.2

func (m *QueryRedelegationsRequest) Reset()

func (*QueryRedelegationsRequest) Size added in v2.7.2

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

func (*QueryRedelegationsRequest) String added in v2.7.2

func (m *QueryRedelegationsRequest) String() string

func (*QueryRedelegationsRequest) Unmarshal added in v2.7.2

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

func (*QueryRedelegationsRequest) XXX_DiscardUnknown added in v2.7.2

func (m *QueryRedelegationsRequest) XXX_DiscardUnknown()

func (*QueryRedelegationsRequest) XXX_Marshal added in v2.7.2

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

func (*QueryRedelegationsRequest) XXX_Merge added in v2.7.2

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

func (*QueryRedelegationsRequest) XXX_Size added in v2.7.2

func (m *QueryRedelegationsRequest) XXX_Size() int

func (*QueryRedelegationsRequest) XXX_Unmarshal added in v2.7.2

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

type QueryRedelegationsResponse added in v2.7.2

type QueryRedelegationsResponse struct {
	Redelegations *Redelegations `protobuf:"bytes,1,opt,name=redelegations,proto3" json:"redelegations,omitempty"`
}

func (*QueryRedelegationsResponse) Descriptor added in v2.7.2

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

func (*QueryRedelegationsResponse) GetRedelegations added in v2.7.2

func (m *QueryRedelegationsResponse) GetRedelegations() *Redelegations

func (*QueryRedelegationsResponse) Marshal added in v2.7.2

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

func (*QueryRedelegationsResponse) MarshalTo added in v2.7.2

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

func (*QueryRedelegationsResponse) MarshalToSizedBuffer added in v2.7.2

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

func (*QueryRedelegationsResponse) ProtoMessage added in v2.7.2

func (*QueryRedelegationsResponse) ProtoMessage()

func (*QueryRedelegationsResponse) Reset added in v2.7.2

func (m *QueryRedelegationsResponse) Reset()

func (*QueryRedelegationsResponse) Size added in v2.7.2

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

func (*QueryRedelegationsResponse) String added in v2.7.2

func (m *QueryRedelegationsResponse) String() string

func (*QueryRedelegationsResponse) Unmarshal added in v2.7.2

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

func (*QueryRedelegationsResponse) XXX_DiscardUnknown added in v2.7.2

func (m *QueryRedelegationsResponse) XXX_DiscardUnknown()

func (*QueryRedelegationsResponse) XXX_Marshal added in v2.7.2

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

func (*QueryRedelegationsResponse) XXX_Merge added in v2.7.2

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

func (*QueryRedelegationsResponse) XXX_Size added in v2.7.2

func (m *QueryRedelegationsResponse) XXX_Size() int

func (*QueryRedelegationsResponse) XXX_Unmarshal added in v2.7.2

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

type QueryServer

type QueryServer interface {
	// Queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a HostChain by id.
	HostChain(context.Context, *QueryHostChainRequest) (*QueryHostChainResponse, error)
	// Queries for all the HostChains.
	HostChains(context.Context, *QueryHostChainsRequest) (*QueryHostChainsResponse, error)
	// Queries for all the deposits for a host chain.
	Deposits(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error)
	// Queries for all the deposits for a host chain.
	LSMDeposits(context.Context, *QueryLSMDepositsRequest) (*QueryLSMDepositsResponse, error)
	// Queries all unbondings for a host chain.
	Unbondings(context.Context, *QueryUnbondingsRequest) (*QueryUnbondingsResponse, error)
	// Queries an unbonding for a host chain.
	Unbonding(context.Context, *QueryUnbondingRequest) (*QueryUnbondingResponse, error)
	// Queries all unbondings for a delegator address.
	UserUnbondings(context.Context, *QueryUserUnbondingsRequest) (*QueryUserUnbondingsResponse, error)
	// Queries all unbondings for a host chain.
	HostChainUserUnbondings(context.Context, *QueryHostChainUserUnbondingsRequest) (*QueryHostChainUserUnbondingsResponse, error)
	// Queries all validator unbondings for a host chain.
	ValidatorUnbondings(context.Context, *QueryValidatorUnbondingRequest) (*QueryValidatorUnbondingResponse, error)
	// Queries for a host chain deposit account balance.
	DepositAccountBalance(context.Context, *QueryDepositAccountBalanceRequest) (*QueryDepositAccountBalanceResponse, error)
	// Queries for a host chain exchange rate between the host token and the stk
	// token.
	ExchangeRate(context.Context, *QueryExchangeRateRequest) (*QueryExchangeRateResponse, error)
	// Queries for a host chain redelegation entries on the host token delegation
	// acct.
	Redelegations(context.Context, *QueryRedelegationsRequest) (*QueryRedelegationsResponse, error)
	// Queries for a host chain redelegation-txs for the host token.
	RedelegationTx(context.Context, *QueryRedelegationTxRequest) (*QueryRedelegationTxResponse, error)
}

QueryServer is the server API for Query service.

type QueryUnbondingRequest

type QueryUnbondingRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Epoch   int64  `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
}

func (*QueryUnbondingRequest) Descriptor

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

func (*QueryUnbondingRequest) GetChainId

func (m *QueryUnbondingRequest) GetChainId() string

func (*QueryUnbondingRequest) GetEpoch

func (m *QueryUnbondingRequest) GetEpoch() int64

func (*QueryUnbondingRequest) Marshal

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

func (*QueryUnbondingRequest) MarshalTo

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

func (*QueryUnbondingRequest) MarshalToSizedBuffer

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

func (*QueryUnbondingRequest) ProtoMessage

func (*QueryUnbondingRequest) ProtoMessage()

func (*QueryUnbondingRequest) Reset

func (m *QueryUnbondingRequest) Reset()

func (*QueryUnbondingRequest) Size

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

func (*QueryUnbondingRequest) String

func (m *QueryUnbondingRequest) String() string

func (*QueryUnbondingRequest) Unmarshal

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

func (*QueryUnbondingRequest) XXX_DiscardUnknown

func (m *QueryUnbondingRequest) XXX_DiscardUnknown()

func (*QueryUnbondingRequest) XXX_Marshal

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

func (*QueryUnbondingRequest) XXX_Merge

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

func (*QueryUnbondingRequest) XXX_Size

func (m *QueryUnbondingRequest) XXX_Size() int

func (*QueryUnbondingRequest) XXX_Unmarshal

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

type QueryUnbondingResponse

type QueryUnbondingResponse struct {
	Unbonding *Unbonding `protobuf:"bytes,1,opt,name=unbonding,proto3" json:"unbonding,omitempty"`
}

func (*QueryUnbondingResponse) Descriptor

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

func (*QueryUnbondingResponse) GetUnbonding

func (m *QueryUnbondingResponse) GetUnbonding() *Unbonding

func (*QueryUnbondingResponse) Marshal

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

func (*QueryUnbondingResponse) MarshalTo

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

func (*QueryUnbondingResponse) MarshalToSizedBuffer

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

func (*QueryUnbondingResponse) ProtoMessage

func (*QueryUnbondingResponse) ProtoMessage()

func (*QueryUnbondingResponse) Reset

func (m *QueryUnbondingResponse) Reset()

func (*QueryUnbondingResponse) Size

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

func (*QueryUnbondingResponse) String

func (m *QueryUnbondingResponse) String() string

func (*QueryUnbondingResponse) Unmarshal

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

func (*QueryUnbondingResponse) XXX_DiscardUnknown

func (m *QueryUnbondingResponse) XXX_DiscardUnknown()

func (*QueryUnbondingResponse) XXX_Marshal

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

func (*QueryUnbondingResponse) XXX_Merge

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

func (*QueryUnbondingResponse) XXX_Size

func (m *QueryUnbondingResponse) XXX_Size() int

func (*QueryUnbondingResponse) XXX_Unmarshal

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

type QueryUnbondingsRequest

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

func (*QueryUnbondingsRequest) Descriptor

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

func (*QueryUnbondingsRequest) GetChainId

func (m *QueryUnbondingsRequest) GetChainId() string

func (*QueryUnbondingsRequest) Marshal

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

func (*QueryUnbondingsRequest) MarshalTo

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

func (*QueryUnbondingsRequest) MarshalToSizedBuffer

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

func (*QueryUnbondingsRequest) ProtoMessage

func (*QueryUnbondingsRequest) ProtoMessage()

func (*QueryUnbondingsRequest) Reset

func (m *QueryUnbondingsRequest) Reset()

func (*QueryUnbondingsRequest) Size

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

func (*QueryUnbondingsRequest) String

func (m *QueryUnbondingsRequest) String() string

func (*QueryUnbondingsRequest) Unmarshal

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

func (*QueryUnbondingsRequest) XXX_DiscardUnknown

func (m *QueryUnbondingsRequest) XXX_DiscardUnknown()

func (*QueryUnbondingsRequest) XXX_Marshal

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

func (*QueryUnbondingsRequest) XXX_Merge

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

func (*QueryUnbondingsRequest) XXX_Size

func (m *QueryUnbondingsRequest) XXX_Size() int

func (*QueryUnbondingsRequest) XXX_Unmarshal

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

type QueryUnbondingsResponse

type QueryUnbondingsResponse struct {
	Unbondings []*Unbonding `protobuf:"bytes,1,rep,name=unbondings,proto3" json:"unbondings,omitempty"`
}

func (*QueryUnbondingsResponse) Descriptor

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

func (*QueryUnbondingsResponse) GetUnbondings

func (m *QueryUnbondingsResponse) GetUnbondings() []*Unbonding

func (*QueryUnbondingsResponse) Marshal

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

func (*QueryUnbondingsResponse) MarshalTo

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

func (*QueryUnbondingsResponse) MarshalToSizedBuffer

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

func (*QueryUnbondingsResponse) ProtoMessage

func (*QueryUnbondingsResponse) ProtoMessage()

func (*QueryUnbondingsResponse) Reset

func (m *QueryUnbondingsResponse) Reset()

func (*QueryUnbondingsResponse) Size

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

func (*QueryUnbondingsResponse) String

func (m *QueryUnbondingsResponse) String() string

func (*QueryUnbondingsResponse) Unmarshal

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

func (*QueryUnbondingsResponse) XXX_DiscardUnknown

func (m *QueryUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryUnbondingsResponse) XXX_Marshal

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

func (*QueryUnbondingsResponse) XXX_Merge

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

func (*QueryUnbondingsResponse) XXX_Size

func (m *QueryUnbondingsResponse) XXX_Size() int

func (*QueryUnbondingsResponse) XXX_Unmarshal

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

type QueryUserUnbondingsRequest

type QueryUserUnbondingsRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryUserUnbondingsRequest) Descriptor

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

func (*QueryUserUnbondingsRequest) GetAddress

func (m *QueryUserUnbondingsRequest) GetAddress() string

func (*QueryUserUnbondingsRequest) Marshal

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

func (*QueryUserUnbondingsRequest) MarshalTo

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

func (*QueryUserUnbondingsRequest) MarshalToSizedBuffer

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

func (*QueryUserUnbondingsRequest) ProtoMessage

func (*QueryUserUnbondingsRequest) ProtoMessage()

func (*QueryUserUnbondingsRequest) Reset

func (m *QueryUserUnbondingsRequest) Reset()

func (*QueryUserUnbondingsRequest) Size

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

func (*QueryUserUnbondingsRequest) String

func (m *QueryUserUnbondingsRequest) String() string

func (*QueryUserUnbondingsRequest) Unmarshal

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

func (*QueryUserUnbondingsRequest) XXX_DiscardUnknown

func (m *QueryUserUnbondingsRequest) XXX_DiscardUnknown()

func (*QueryUserUnbondingsRequest) XXX_Marshal

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

func (*QueryUserUnbondingsRequest) XXX_Merge

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

func (*QueryUserUnbondingsRequest) XXX_Size

func (m *QueryUserUnbondingsRequest) XXX_Size() int

func (*QueryUserUnbondingsRequest) XXX_Unmarshal

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

type QueryUserUnbondingsResponse

type QueryUserUnbondingsResponse struct {
	UserUnbondings []*UserUnbonding `protobuf:"bytes,1,rep,name=user_unbondings,json=userUnbondings,proto3" json:"user_unbondings,omitempty"`
}

func (*QueryUserUnbondingsResponse) Descriptor

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

func (*QueryUserUnbondingsResponse) GetUserUnbondings

func (m *QueryUserUnbondingsResponse) GetUserUnbondings() []*UserUnbonding

func (*QueryUserUnbondingsResponse) Marshal

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

func (*QueryUserUnbondingsResponse) MarshalTo

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

func (*QueryUserUnbondingsResponse) MarshalToSizedBuffer

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

func (*QueryUserUnbondingsResponse) ProtoMessage

func (*QueryUserUnbondingsResponse) ProtoMessage()

func (*QueryUserUnbondingsResponse) Reset

func (m *QueryUserUnbondingsResponse) Reset()

func (*QueryUserUnbondingsResponse) Size

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

func (*QueryUserUnbondingsResponse) String

func (m *QueryUserUnbondingsResponse) String() string

func (*QueryUserUnbondingsResponse) Unmarshal

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

func (*QueryUserUnbondingsResponse) XXX_DiscardUnknown

func (m *QueryUserUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryUserUnbondingsResponse) XXX_Marshal

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

func (*QueryUserUnbondingsResponse) XXX_Merge

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

func (*QueryUserUnbondingsResponse) XXX_Size

func (m *QueryUserUnbondingsResponse) XXX_Size() int

func (*QueryUserUnbondingsResponse) XXX_Unmarshal

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

type QueryValidatorUnbondingRequest

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

func (*QueryValidatorUnbondingRequest) Descriptor

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

func (*QueryValidatorUnbondingRequest) GetChainId

func (m *QueryValidatorUnbondingRequest) GetChainId() string

func (*QueryValidatorUnbondingRequest) Marshal

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

func (*QueryValidatorUnbondingRequest) MarshalTo

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

func (*QueryValidatorUnbondingRequest) MarshalToSizedBuffer

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

func (*QueryValidatorUnbondingRequest) ProtoMessage

func (*QueryValidatorUnbondingRequest) ProtoMessage()

func (*QueryValidatorUnbondingRequest) Reset

func (m *QueryValidatorUnbondingRequest) Reset()

func (*QueryValidatorUnbondingRequest) Size

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

func (*QueryValidatorUnbondingRequest) String

func (*QueryValidatorUnbondingRequest) Unmarshal

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

func (*QueryValidatorUnbondingRequest) XXX_DiscardUnknown

func (m *QueryValidatorUnbondingRequest) XXX_DiscardUnknown()

func (*QueryValidatorUnbondingRequest) XXX_Marshal

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

func (*QueryValidatorUnbondingRequest) XXX_Merge

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

func (*QueryValidatorUnbondingRequest) XXX_Size

func (m *QueryValidatorUnbondingRequest) XXX_Size() int

func (*QueryValidatorUnbondingRequest) XXX_Unmarshal

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

type QueryValidatorUnbondingResponse

type QueryValidatorUnbondingResponse struct {
	ValidatorUnbondings []*ValidatorUnbonding `protobuf:"bytes,1,rep,name=validator_unbondings,json=validatorUnbondings,proto3" json:"validator_unbondings,omitempty"`
}

func (*QueryValidatorUnbondingResponse) Descriptor

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

func (*QueryValidatorUnbondingResponse) GetValidatorUnbondings

func (m *QueryValidatorUnbondingResponse) GetValidatorUnbondings() []*ValidatorUnbonding

func (*QueryValidatorUnbondingResponse) Marshal

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

func (*QueryValidatorUnbondingResponse) MarshalTo

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

func (*QueryValidatorUnbondingResponse) MarshalToSizedBuffer

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

func (*QueryValidatorUnbondingResponse) ProtoMessage

func (*QueryValidatorUnbondingResponse) ProtoMessage()

func (*QueryValidatorUnbondingResponse) Reset

func (*QueryValidatorUnbondingResponse) Size

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

func (*QueryValidatorUnbondingResponse) String

func (*QueryValidatorUnbondingResponse) Unmarshal

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

func (*QueryValidatorUnbondingResponse) XXX_DiscardUnknown

func (m *QueryValidatorUnbondingResponse) XXX_DiscardUnknown()

func (*QueryValidatorUnbondingResponse) XXX_Marshal

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

func (*QueryValidatorUnbondingResponse) XXX_Merge

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

func (*QueryValidatorUnbondingResponse) XXX_Size

func (m *QueryValidatorUnbondingResponse) XXX_Size() int

func (*QueryValidatorUnbondingResponse) XXX_Unmarshal

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

type RedelegateTx added in v2.6.0

type RedelegateTx struct {
	// target chain
	ChainId       string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	IbcSequenceId string `protobuf:"bytes,2,opt,name=ibc_sequence_id,json=ibcSequenceId,proto3" json:"ibc_sequence_id,omitempty"`
	// state of the unbonding during the process
	State RedelegateTx_RedelegateTxState `` /* 130-byte string literal not displayed */
}

func (*RedelegateTx) Descriptor added in v2.6.0

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

func (*RedelegateTx) GetChainId added in v2.6.0

func (m *RedelegateTx) GetChainId() string

func (*RedelegateTx) GetIbcSequenceId added in v2.6.0

func (m *RedelegateTx) GetIbcSequenceId() string

func (*RedelegateTx) GetState added in v2.6.0

func (*RedelegateTx) Marshal added in v2.6.0

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

func (*RedelegateTx) MarshalTo added in v2.6.0

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

func (*RedelegateTx) MarshalToSizedBuffer added in v2.6.0

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

func (*RedelegateTx) ProtoMessage added in v2.6.0

func (*RedelegateTx) ProtoMessage()

func (*RedelegateTx) Reset added in v2.6.0

func (m *RedelegateTx) Reset()

func (*RedelegateTx) Size added in v2.6.0

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

func (*RedelegateTx) String added in v2.6.0

func (m *RedelegateTx) String() string

func (*RedelegateTx) Unmarshal added in v2.6.0

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

func (*RedelegateTx) XXX_DiscardUnknown added in v2.6.0

func (m *RedelegateTx) XXX_DiscardUnknown()

func (*RedelegateTx) XXX_Marshal added in v2.6.0

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

func (*RedelegateTx) XXX_Merge added in v2.6.0

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

func (*RedelegateTx) XXX_Size added in v2.6.0

func (m *RedelegateTx) XXX_Size() int

func (*RedelegateTx) XXX_Unmarshal added in v2.6.0

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

type RedelegateTx_RedelegateTxState added in v2.6.0

type RedelegateTx_RedelegateTxState int32
const (
	// redelegate txn sent
	RedelegateTx_REDELEGATE_SENT RedelegateTx_RedelegateTxState = 0
	// redelegate txn acked
	RedelegateTx_REDELEGATE_ACKED RedelegateTx_RedelegateTxState = 1
)

func (RedelegateTx_RedelegateTxState) EnumDescriptor added in v2.6.0

func (RedelegateTx_RedelegateTxState) EnumDescriptor() ([]byte, []int)

func (RedelegateTx_RedelegateTxState) String added in v2.6.0

type Redelegations added in v2.6.0

type Redelegations struct {
	ChainID       string                 `protobuf:"bytes,1,opt,name=chain_i_d,json=chainID,proto3" json:"chain_i_d,omitempty"`
	Redelegations []*types1.Redelegation `protobuf:"bytes,2,rep,name=redelegations,proto3" json:"redelegations,omitempty"`
}

func (*Redelegations) Descriptor added in v2.6.0

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

func (*Redelegations) GetChainID added in v2.6.0

func (m *Redelegations) GetChainID() string

func (*Redelegations) GetRedelegations added in v2.6.0

func (m *Redelegations) GetRedelegations() []*types1.Redelegation

func (*Redelegations) Marshal added in v2.6.0

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

func (*Redelegations) MarshalTo added in v2.6.0

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

func (*Redelegations) MarshalToSizedBuffer added in v2.6.0

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

func (*Redelegations) ProtoMessage added in v2.6.0

func (*Redelegations) ProtoMessage()

func (*Redelegations) Reset added in v2.6.0

func (m *Redelegations) Reset()

func (*Redelegations) Size added in v2.6.0

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

func (*Redelegations) String added in v2.6.0

func (m *Redelegations) String() string

func (*Redelegations) Unmarshal added in v2.6.0

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

func (*Redelegations) XXX_DiscardUnknown added in v2.6.0

func (m *Redelegations) XXX_DiscardUnknown()

func (*Redelegations) XXX_Marshal added in v2.6.0

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

func (*Redelegations) XXX_Merge added in v2.6.0

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

func (*Redelegations) XXX_Size added in v2.6.0

func (m *Redelegations) XXX_Size() int

func (*Redelegations) XXX_Unmarshal added in v2.6.0

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

type RewardParams added in v2.7.2

type RewardParams struct {
	// rewards denom on the host chain
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// entity which will convert rewards to the host denom
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
}

func (*RewardParams) Descriptor added in v2.7.2

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

func (*RewardParams) GetDenom added in v2.7.2

func (m *RewardParams) GetDenom() string

func (*RewardParams) GetDestination added in v2.7.2

func (m *RewardParams) GetDestination() string

func (*RewardParams) Marshal added in v2.7.2

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

func (*RewardParams) MarshalTo added in v2.7.2

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

func (*RewardParams) MarshalToSizedBuffer added in v2.7.2

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

func (*RewardParams) ProtoMessage added in v2.7.2

func (*RewardParams) ProtoMessage()

func (*RewardParams) Reset added in v2.7.2

func (m *RewardParams) Reset()

func (*RewardParams) Size added in v2.7.2

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

func (*RewardParams) String added in v2.7.2

func (m *RewardParams) String() string

func (*RewardParams) Unmarshal added in v2.7.2

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

func (*RewardParams) Validate added in v2.9.0

func (rewardParams *RewardParams) Validate() error

func (*RewardParams) XXX_DiscardUnknown added in v2.7.2

func (m *RewardParams) XXX_DiscardUnknown()

func (*RewardParams) XXX_Marshal added in v2.7.2

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

func (*RewardParams) XXX_Merge added in v2.7.2

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

func (*RewardParams) XXX_Size added in v2.7.2

func (m *RewardParams) XXX_Size() int

func (*RewardParams) XXX_Unmarshal added in v2.7.2

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

type ScopedKeeper

type ScopedKeeper interface {
	ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
}

type Unbonding

type Unbonding struct {
	// unbonding target chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// epoch number of the unbonding record
	EpochNumber int64 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	// time when the unbonding matures and can be collected
	MatureTime time.Time `protobuf:"bytes,3,opt,name=mature_time,json=matureTime,proto3,stdtime" json:"mature_time"`
	// stk token amount that is burned with the unbonding
	BurnAmount types.Coin `protobuf:"bytes,4,opt,name=burn_amount,json=burnAmount,proto3" json:"burn_amount"`
	// host token amount that is being unbonded
	UnbondAmount types.Coin `protobuf:"bytes,5,opt,name=unbond_amount,json=unbondAmount,proto3" json:"unbond_amount"`
	// sequence id of the ibc transaction
	IbcSequenceId string `protobuf:"bytes,6,opt,name=ibc_sequence_id,json=ibcSequenceId,proto3" json:"ibc_sequence_id,omitempty"`
	// state of the unbonding during the process
	State Unbonding_UnbondingState `protobuf:"varint,7,opt,name=state,proto3,enum=pstake.liquidstakeibc.v1beta1.Unbonding_UnbondingState" json:"state,omitempty"`
}

func (*Unbonding) Descriptor

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

func (*Unbonding) GetBurnAmount

func (m *Unbonding) GetBurnAmount() types.Coin

func (*Unbonding) GetChainId

func (m *Unbonding) GetChainId() string

func (*Unbonding) GetEpochNumber

func (m *Unbonding) GetEpochNumber() int64

func (*Unbonding) GetIbcSequenceId

func (m *Unbonding) GetIbcSequenceId() string

func (*Unbonding) GetMatureTime

func (m *Unbonding) GetMatureTime() time.Time

func (*Unbonding) GetState

func (m *Unbonding) GetState() Unbonding_UnbondingState

func (*Unbonding) GetUnbondAmount

func (m *Unbonding) GetUnbondAmount() types.Coin

func (*Unbonding) Marshal

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

func (*Unbonding) MarshalTo

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

func (*Unbonding) MarshalToSizedBuffer

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

func (*Unbonding) ProtoMessage

func (*Unbonding) ProtoMessage()

func (*Unbonding) Reset

func (m *Unbonding) Reset()

func (*Unbonding) Size

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

func (*Unbonding) String

func (m *Unbonding) String() string

func (*Unbonding) Unmarshal

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

func (*Unbonding) Validate

func (u *Unbonding) Validate() error

func (*Unbonding) XXX_DiscardUnknown

func (m *Unbonding) XXX_DiscardUnknown()

func (*Unbonding) XXX_Marshal

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

func (*Unbonding) XXX_Merge

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

func (*Unbonding) XXX_Size

func (m *Unbonding) XXX_Size() int

func (*Unbonding) XXX_Unmarshal

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

type Unbonding_UnbondingState

type Unbonding_UnbondingState int32
const (
	// no action has been initiated on the unbonding
	Unbonding_UNBONDING_PENDING Unbonding_UnbondingState = 0
	// unbonding action has been sent to the host chain
	Unbonding_UNBONDING_INITIATED Unbonding_UnbondingState = 1
	// unbonding is waiting for the maturing period of the host chain
	Unbonding_UNBONDING_MATURING Unbonding_UnbondingState = 2
	// unbonding has matured and is ready to transfer from the host chain
	Unbonding_UNBONDING_MATURED Unbonding_UnbondingState = 3
	// unbonding is on the persistence chain and can be claimed
	Unbonding_UNBONDING_CLAIMABLE Unbonding_UnbondingState = 4
	// unbonding has failed
	Unbonding_UNBONDING_FAILED Unbonding_UnbondingState = 5
)

func (Unbonding_UnbondingState) EnumDescriptor

func (Unbonding_UnbondingState) EnumDescriptor() ([]byte, []int)

func (Unbonding_UnbondingState) String

func (x Unbonding_UnbondingState) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) LiquidStake

func (*UnimplementedMsgServer) LiquidStakeLSM added in v2.3.0

func (*UnimplementedMsgServer) LiquidUnstake

func (*UnimplementedMsgServer) Redeem

func (*UnimplementedMsgServer) RegisterHostChain

func (*UnimplementedMsgServer) UpdateHostChain

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Deposits

func (*UnimplementedQueryServer) ExchangeRate

func (*UnimplementedQueryServer) HostChain

func (*UnimplementedQueryServer) HostChainUserUnbondings added in v2.9.0

func (*UnimplementedQueryServer) HostChains

func (*UnimplementedQueryServer) LSMDeposits added in v2.3.0

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) RedelegationTx added in v2.7.2

func (*UnimplementedQueryServer) Redelegations added in v2.7.2

func (*UnimplementedQueryServer) Unbonding

func (*UnimplementedQueryServer) Unbondings

func (*UnimplementedQueryServer) UserUnbondings

func (*UnimplementedQueryServer) ValidatorUnbondings

type UserUnbonding

type UserUnbonding struct {
	// unbonding target chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// epoch when the unbonding started
	EpochNumber int64 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	// address which requested the unbonding
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// stk token amount that is being unbonded
	StkAmount types.Coin `protobuf:"bytes,4,opt,name=stk_amount,json=stkAmount,proto3" json:"stk_amount"`
	// host token amount that is being unbonded
	UnbondAmount types.Coin `protobuf:"bytes,5,opt,name=unbond_amount,json=unbondAmount,proto3" json:"unbond_amount"`
}

func (*UserUnbonding) Descriptor

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

func (*UserUnbonding) GetAddress

func (m *UserUnbonding) GetAddress() string

func (*UserUnbonding) GetChainId

func (m *UserUnbonding) GetChainId() string

func (*UserUnbonding) GetEpochNumber

func (m *UserUnbonding) GetEpochNumber() int64

func (*UserUnbonding) GetStkAmount

func (m *UserUnbonding) GetStkAmount() types.Coin

func (*UserUnbonding) GetUnbondAmount

func (m *UserUnbonding) GetUnbondAmount() types.Coin

func (*UserUnbonding) Marshal

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

func (*UserUnbonding) MarshalTo

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

func (*UserUnbonding) MarshalToSizedBuffer

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

func (*UserUnbonding) ProtoMessage

func (*UserUnbonding) ProtoMessage()

func (*UserUnbonding) Reset

func (m *UserUnbonding) Reset()

func (*UserUnbonding) Size

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

func (*UserUnbonding) String

func (m *UserUnbonding) String() string

func (*UserUnbonding) Unmarshal

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

func (*UserUnbonding) Validate

func (ub *UserUnbonding) Validate() error

func (*UserUnbonding) XXX_DiscardUnknown

func (m *UserUnbonding) XXX_DiscardUnknown()

func (*UserUnbonding) XXX_Marshal

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

func (*UserUnbonding) XXX_Merge

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

func (*UserUnbonding) XXX_Size

func (m *UserUnbonding) XXX_Size() int

func (*UserUnbonding) XXX_Unmarshal

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

type Validator

type Validator struct {
	// valoper address
	OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	// validator status
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// validator weight in the set
	Weight github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight"`
	// amount delegated by the module to the validator
	DelegatedAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 146-byte string literal not displayed */
	// the validator token exchange rate, total bonded tokens divided by total
	// shares issued
	ExchangeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */
	// the unbonding epoch number when the validator transitioned into the state
	UnbondingEpoch int64 `protobuf:"varint,6,opt,name=unbonding_epoch,json=unbondingEpoch,proto3" json:"unbonding_epoch,omitempty"`
	// whether the validator can accept delegations or not, default true for
	// non-lsm chains
	Delegable bool `protobuf:"varint,7,opt,name=delegable,proto3" json:"delegable,omitempty"`
}

func (*Validator) Descriptor

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

func (*Validator) GetDelegable added in v2.3.0

func (m *Validator) GetDelegable() bool

func (*Validator) GetOperatorAddress

func (m *Validator) GetOperatorAddress() string

func (*Validator) GetStatus

func (m *Validator) GetStatus() string

func (*Validator) GetUnbondingEpoch

func (m *Validator) GetUnbondingEpoch() int64

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) Validate

func (validator *Validator) Validate() error

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorUnbonding

type ValidatorUnbonding struct {
	// unbonding target chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// epoch when the unbonding started
	EpochNumber int64 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	// time when the unbonding matures and can be collected
	MatureTime time.Time `protobuf:"bytes,3,opt,name=mature_time,json=matureTime,proto3,stdtime" json:"mature_time"`
	// address of the validator that is being unbonded
	ValidatorAddress string `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// amount unbonded from the validator
	Amount types.Coin `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount"`
	// sequence id of the ibc transaction
	IbcSequenceId string `protobuf:"bytes,6,opt,name=ibc_sequence_id,json=ibcSequenceId,proto3" json:"ibc_sequence_id,omitempty"`
}

func (*ValidatorUnbonding) Descriptor

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

func (*ValidatorUnbonding) GetAmount

func (m *ValidatorUnbonding) GetAmount() types.Coin

func (*ValidatorUnbonding) GetChainId

func (m *ValidatorUnbonding) GetChainId() string

func (*ValidatorUnbonding) GetEpochNumber

func (m *ValidatorUnbonding) GetEpochNumber() int64

func (*ValidatorUnbonding) GetIbcSequenceId

func (m *ValidatorUnbonding) GetIbcSequenceId() string

func (*ValidatorUnbonding) GetMatureTime

func (m *ValidatorUnbonding) GetMatureTime() time.Time

func (*ValidatorUnbonding) GetValidatorAddress

func (m *ValidatorUnbonding) GetValidatorAddress() string

func (*ValidatorUnbonding) Marshal

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

func (*ValidatorUnbonding) MarshalTo

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

func (*ValidatorUnbonding) MarshalToSizedBuffer

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

func (*ValidatorUnbonding) ProtoMessage

func (*ValidatorUnbonding) ProtoMessage()

func (*ValidatorUnbonding) Reset

func (m *ValidatorUnbonding) Reset()

func (*ValidatorUnbonding) Size

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

func (*ValidatorUnbonding) String

func (m *ValidatorUnbonding) String() string

func (*ValidatorUnbonding) Unmarshal

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

func (*ValidatorUnbonding) Validate

func (vb *ValidatorUnbonding) Validate() error

func (*ValidatorUnbonding) XXX_DiscardUnknown

func (m *ValidatorUnbonding) XXX_DiscardUnknown()

func (*ValidatorUnbonding) XXX_Marshal

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

func (*ValidatorUnbonding) XXX_Merge

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

func (*ValidatorUnbonding) XXX_Size

func (m *ValidatorUnbonding) XXX_Size() int

func (*ValidatorUnbonding) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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