types

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 48 Imported by: 0

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 (
	EventTypePacket            = "ics27_packet"
	EventTypeTimeout           = "timeout"
	EventTypeLiquidStake       = "liquid-stake"
	EventTypeRedeem            = "redeem"
	EventTypeLiquidUnstake     = "liquid-unstake"
	EventTypeClaim             = "claim"
	EventTypeJumpStart         = "jump-start"
	EventTypeRecreateICA       = "recreate-ica"
	EventTypeChangeModuleState = "change-module-state"
	EventTypeReportSlashing    = "report-slashing"
	EventTypePerformSlashing   = "perform-slashing"

	AttributeKeyAckSuccess         = "success"
	AttributeKeyAck                = "acknowledgement"
	AttributeKeyAckError           = "error"
	AttributeAmount                = "amount"
	AttributeAmountReceived        = "received"
	AttributeUnstakeAmount         = "undelegation-amount"
	AttributePstakeDepositFee      = "gstake-deposit-fee"
	AttributePstakeRedeemFee       = "gstake-redeem-fee"
	AttributePstakeUnstakeFee      = "gstake-unstake-fee"
	AttributeDelegatorAddress      = "address"
	AttributeRewarderAddress       = "rewarder-address"
	AttributeClaimedAmount         = "claimed-amount"
	AttributePstakeAddress         = "gstake-address"
	AttributeFromAddress           = "from-address"
	AttributeRecreateDelegationICA = "recreate-delegation-ica"
	AttributeRecreateRewardsICA    = "recreate-rewards-ica"
	AttributeChangedModuleState    = "module-state"
	AttributeValidatorAddress      = "validator-address"
	AttributeExistingDelegation    = "existing-delegation"
	AttributeUpdatedDelegation     = "updated-delegation"
	AttributeSlashedAmount         = "slashed-amount"
	AttributeValueCategory         = ModuleName
)

IBC events

View Source
const (
	ProposalTypeMinDepositAndFeeChange    = "MinDepositAndFeeChange"
	ProposalPstakeFeeAddressChange        = "PstakeFeeAddressChange"
	ProposalAllowListedValidatorSetChange = "AllowListedValidatorSetChange"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "lscosmos"

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

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

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_lscosmos"

	// MsgTypeLiquidStake is the type of message to liquid stake
	MsgTypeLiquidStake = "msg_liquid_stake"

	// MsgTypeLiquidUnstake is the type of message liquid unstake
	MsgTypeLiquidUnstake = "msg_liquid_unstake"

	// MsgTypeRedeem is the type of message redeem
	MsgTypeRedeem = "msg_redeem"

	// MsgTypeClaim is the type of message claim
	MsgTypeClaim = "msg_claim"

	// MsgTypeRecreateICA is the type of message RecreateICA
	MsgTypeRecreateICA = "msg_recreate_ica"

	// MsgTypeJumpStart is the type of message Jump start
	MsgTypeJumpStart = "msg_jump_start"

	// MsgTypeChangeModuleState is the type of message Change Module State
	MsgTypeChangeModuleState = "msg_change_module_state"

	// MsgTypeReportSlashing is the type of message Report Slashing
	MsgTypeReportSlashing = "msg_report_slashing"

	// DepositModuleAccount DepositModuleAccountName
	DepositModuleAccount = ModuleName + "_gstake_deposit_account"

	// DelegationModuleAccount DelegationModuleAccountName
	DelegationModuleAccount = ModuleName + "_gstake_delegation_account"

	// RewardModuleAccount RewardModuleAccountName
	RewardModuleAccount = ModuleName + "_gstake_reward_account"

	// UndelegationModuleAccount UndelegationModuleAccountName,
	// This account will not be a part of maccPerms - Deny list, since it receives undelegated tokens.
	UndelegationModuleAccount = ModuleName + "_gstake_undelegation_account"

	// RewardBoosterModuleAccount RewardBoosterModuleAccountName //legacy, required to be blocklisted
	RewardBoosterModuleAccount = ModuleName + "_reward_booster_account"

	// DelegationEpochIdentifier is the identifier for delegation epoch
	DelegationEpochIdentifier = "day"

	// RewardEpochIdentifier is the identifier for rewards epoch
	RewardEpochIdentifier = "day"

	// UndelegationEpochIdentifier is the identifier for undelegation epoch
	UndelegationEpochIdentifier = "day"

	// UndelegationEpochNumberFactor is the undelegation epoch number factor
	UndelegationEpochNumberFactor int64 = 4

	// UndelegationCompletionTimeBuffer is the undeleagation completion time buffer
	UndelegationCompletionTimeBuffer = time.Second * 60 //Does tendermint still have time drifts?

	// IBCTimeoutHeightIncrement is the IBC timeout height incerement
	IBCTimeoutHeightIncrement uint64 = 1000

	// ICATimeoutTimestamp is the ICA timeout time stamp
	ICATimeoutTimestamp = 15 * time.Minute

	// CosmosValOperPrefix is the prefix for cosmos validator address
	CosmosValOperPrefix = "cosmosvaloper"

	LiquidStakedDenomPrefix = "stk"
)

Variables

View Source
var (
	Amino = codec.NewLegacyAmino()

	// ModuleCdc references the global x/lscosmos module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/lscosmos and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
	AminoCdc  = codec.NewAminoCodec(Amino)
)
View Source
var (
	ErrSample                                = errorsmod.Register(ModuleName, 1100, "sample error")
	ErrInvalidPacketTimeout                  = errorsmod.Register(ModuleName, 1500, "invalid packet timeout")
	ErrInvalidVersion                        = errorsmod.Register(ModuleName, 1501, "invalid version")
	ErrInvalidMessage                        = errorsmod.Register(ModuleName, 64, "invalid message")
	ErrInvalidDenom                          = errorsmod.Register(ModuleName, 65, "denom not allow-listed/ invalid denom")
	ErrInvalidArgs                           = errorsmod.Register(ModuleName, 66, "invalid arguments")
	ErrFailedDeposit                         = errorsmod.Register(ModuleName, 67, "deposit failed")
	ErrMintFailed                            = errorsmod.Register(ModuleName, 68, "minting failed")
	ErrMinDeposit                            = errorsmod.Register(ModuleName, 69, "deposit amount less than minimum deposit")
	ErrInvalidDenomPath                      = errorsmod.Register(ModuleName, 70, "denomPath invalid")
	ErrModuleDisabled                        = errorsmod.Register(ModuleName, 71, "Module is not enabled/ disabled")
	ErrInvalidIntParse                       = errorsmod.Register(ModuleName, 72, "unable to parse to sdk.Int")
	ErrICATxFailure                          = errorsmod.Register(ModuleName, 73, "ica transaction failed")
	ErrCannotRemoveNonExistentDelegation     = errorsmod.Register(ModuleName, 74, "Cannot remove delegation from a non existing delegation")
	ErrInValidAllowListedValidators          = errorsmod.Register(ModuleName, 75, "invalid allow listed validators")
	ErrInvalidFee                            = errorsmod.Register(ModuleName, 76, "invalid fee")
	ErrInvalidDeposit                        = errorsmod.Register(ModuleName, 77, "invalid deposit")
	ErrNoHostChainDelegations                = errorsmod.Register(ModuleName, 78, "no delegations on host chain")
	ErrCannotRemoveNonExistentUndelegation   = errorsmod.Register(ModuleName, 79, "Cannot remove undelegation from a non existing undelegation")
	ErrBurnFailed                            = errorsmod.Register(ModuleName, 80, "burn failed")
	ErrUndelegationEpochNotFound             = errorsmod.Register(ModuleName, 81, "undelegation epoch not found")
	ErrTransientUndelegationTransferNotFound = errorsmod.Register(ModuleName, 82, "Transient undelegation transfer not found")
	ErrHostChainDelegationsLTUndelegations   = errorsmod.Register(ModuleName, 83, "Host chain delegated amount is less than undelegations requested.")
	ErrInvalidHostAccountOwnerIDs            = errorsmod.Register(ModuleName, 84, "Host account owner ids are not set, was it present in default genesis?")
	ErrModuleAlreadyEnabled                  = errorsmod.Register(ModuleName, 85, "Module is already enabled")
	ErrInvalidMsgs                           = errorsmod.Register(ModuleName, 86, "Invalid Msgs")
	ErrEqualBaseAndMintDenom                 = errorsmod.Register(ModuleName, 87, "BaseDenom and mintDenom cannot be same")
	ErrInsufficientFundsToUndelegate         = errorsmod.Register(ModuleName, 88, "undelegation amount greater than already staked")
	ErrInvalidMintDenom                      = errorsmod.Register(ModuleName, 89, "InvalidMintDenom, MintDenom should be stk/BaseDenom")
	ErrModuleNotInitialised                  = errorsmod.Register(ModuleName, 90, "ErrModuleNotInitialised, Module was never initialised")
	ErrModuleAlreadyInExpectedState          = errorsmod.Register(ModuleName, 91, "ModuleAlreadyInExpectedState, Module is already in expected state")
)

x/lscosmos module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGovernanceProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGovernanceProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGovernanceProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	MaxPstakeDepositFee    = sdk.MustNewDecFromStr("0.5")
	MaxPstakeRestakeFee    = sdk.MustNewDecFromStr("0.2")
	MaxPstakeUnstakeFee    = sdk.MustNewDecFromStr("0.5")
	MaxPstakeRedemptionFee = sdk.MustNewDecFromStr("0.2")
	MaxCValue              = sdk.MustNewDecFromStr("1.1")
	RestakeCapPerDay       = sdk.MustNewDecFromStr("0.00069") //0.25185 or ~25% APY
)

fee limits

View Source
var (
	ModuleEnableKey                 = []byte{0x01} // key for module state
	HostChainParamsKey              = []byte{0x02} // key for host chain params
	AllowListedValidatorsKey        = []byte{0x03} // key for allow listed validators
	DelegationStateKey              = []byte{0x04} // key for delegation state
	HostChainRewardAddressKey       = []byte{0x05} // key for host chain address
	IBCTransientStoreKey            = []byte{0x06} // key for IBC transient store
	UnbondingEpochCValueKey         = []byte{0x07} // prefix for unbodning epoch c value store
	DelegatorUnbondingEpochEntryKey = []byte{0x08} // prefix for delegator unbonding epoch entry
	HostAccountsKey                 = []byte{0x09} // key for host accounts
)
View Source
var (
	ErrInvalidLengthLscosmos        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLscosmos          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLscosmos = 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 (
	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")
)

Functions

func Bech32FromValAddress

func Bech32FromValAddress(valAddr sdk.ValAddress, bech32Prefix string) (string, error)

func ConvertBaseDenomToMintDenom

func ConvertBaseDenomToMintDenom(baseDenom string) string

func ConvertMintDenomToBaseDenom

func ConvertMintDenomToBaseDenom(mintDenom string) (string, error)

func CurrentUnbondingEpoch

func CurrentUnbondingEpoch(epochNumber int64) int64

CurrentUnbondingEpoch computes and returns current unbonding epoch to the next nearest multiple 4 UndelegationEpochNumberFactor

func GetAddressMap

func GetAddressMap(validators AllowListedValidators) map[string]sdk.Dec

GetAddressMap returns a map of AllowListedValidators address as key and weights as values

func GetDelegatorUnbondingEpochEntryKey

func GetDelegatorUnbondingEpochEntryKey(delegatorAddress sdk.AccAddress, epochNumber int64) []byte

GetDelegatorUnbondingEpochEntryKey returns a slice of byte made of DelegatorUnbondingEpochEntryKey, delegator address as bytes and epoch number converted to bytes

func GetHostAccountDelegationMap

func GetHostAccountDelegationMap(hostAccountDelegations []HostAccountDelegation) map[string]sdk.Coin

GetHostAccountDelegationMap returns the map of address as key and delegations as the value

func GetPartialDelegatorUnbondingEpochEntryKey

func GetPartialDelegatorUnbondingEpochEntryKey(delegatorAddress sdk.AccAddress) []byte

GetPartialDelegatorUnbondingEpochEntryKey returns a slice of byte made of DelegatorUnbondingEpochEntryKey and delegator address as bytes

func GetUnbondingEpochCValueKey

func GetUnbondingEpochCValueKey(epochNumber int64) []byte

GetUnbondingEpochCValueKey returns a slice of byte made of UnbondingEpochCValueKey and epoch number converted to bytes

func GetWeightedAddressMap

func GetWeightedAddressMap(ws WeightedAddressAmounts) map[string]sdk.Dec

GetWeightedAddressMap returns the map of address as key and weights as value

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PreviousUnbondingEpoch

func PreviousUnbondingEpoch(epochNumber int64) int64

PreviousUnbondingEpoch computes and returns previous unbonding epoch to the previous nearest multiple of UndelegationEpochNumberFactor

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces registers the x/lscosmos interfaces types with the interface registry

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/lscosmos 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)

func ValAddressFromBech32

func ValAddressFromBech32(address string, bech32Prefix string) (addr sdk.ValAddress, err error)

ValAddressFromBech32 creates a ValAddress from a Bech32 string.

Types

type AccountKeeper

type AccountKeeper interface {
	NewAccount(sdk.Context, types.AccountI) types.AccountI
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI

	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetAllAccounts(ctx sdk.Context) []types.AccountI
	SetAccount(ctx sdk.Context, acc types.AccountI)

	IterateAccounts(ctx sdk.Context, process func(types.AccountI) bool)

	ValidatePermissions(macc types.ModuleAccountI) error

	GetModuleAddress(moduleName string) sdk.AccAddress
	GetModuleAddressAndPermissions(moduleName string) (addr sdk.AccAddress, permissions []string)
	GetModuleAccountAndPermissions(ctx sdk.Context, moduleName string) (types.ModuleAccountI, []string)
	GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
	SetModuleAccount(ctx sdk.Context, macc types.ModuleAccountI)
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AllowListedValidator

type AllowListedValidator struct {
	// validator_address defines the bech32-encoded address the allowlisted
	// validator
	ValidatorAddress string `` /* 134-byte string literal not displayed */
	// target_weight specifies the target weight for liquid staking, unstaking
	// amount, which is a value for calculating the real weight to be derived
	// according to the active status
	TargetWeight github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
}

func (*AllowListedValidator) Descriptor

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

func (*AllowListedValidator) Equal

func (this *AllowListedValidator) Equal(that interface{}) bool

func (*AllowListedValidator) Marshal

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

func (*AllowListedValidator) MarshalTo

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

func (*AllowListedValidator) MarshalToSizedBuffer

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

func (*AllowListedValidator) ProtoMessage

func (*AllowListedValidator) ProtoMessage()

func (*AllowListedValidator) Reset

func (m *AllowListedValidator) Reset()

func (*AllowListedValidator) Size

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

func (*AllowListedValidator) String

func (m *AllowListedValidator) String() string

func (*AllowListedValidator) Unmarshal

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

func (*AllowListedValidator) XXX_DiscardUnknown

func (m *AllowListedValidator) XXX_DiscardUnknown()

func (*AllowListedValidator) XXX_Marshal

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

func (*AllowListedValidator) XXX_Merge

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

func (*AllowListedValidator) XXX_Size

func (m *AllowListedValidator) XXX_Size() int

func (*AllowListedValidator) XXX_Unmarshal

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

type AllowListedValidatorSetChangeProposal

type AllowListedValidatorSetChangeProposal struct {
	Title                 string                `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description           string                `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AllowListedValidators AllowListedValidators `protobuf:"bytes,3,opt,name=allow_listed_validators,json=allowListedValidators,proto3" json:"allow_listed_validators"`
}

func NewAllowListedValidatorSetChangeProposal

func NewAllowListedValidatorSetChangeProposal(title, description string, allowListedValidators AllowListedValidators) *AllowListedValidatorSetChangeProposal

NewAllowListedValidatorSetChangeProposal creates a allowListed validator set change proposal.

func (*AllowListedValidatorSetChangeProposal) Descriptor

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

func (*AllowListedValidatorSetChangeProposal) GetDescription

func (m *AllowListedValidatorSetChangeProposal) GetDescription() string

GetDescription returns the description of allowListed validator set change proposal.

func (*AllowListedValidatorSetChangeProposal) GetTitle

GetTitle returns the title of allowListed validator set change proposal.

func (*AllowListedValidatorSetChangeProposal) Marshal

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

func (*AllowListedValidatorSetChangeProposal) MarshalTo

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

func (*AllowListedValidatorSetChangeProposal) MarshalToSizedBuffer

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

func (*AllowListedValidatorSetChangeProposal) ProposalRoute

func (m *AllowListedValidatorSetChangeProposal) ProposalRoute() string

ProposalRoute returns the proposal-route of allowListed validator set change proposal.

func (*AllowListedValidatorSetChangeProposal) ProposalType

ProposalType returns the proposal-type of allowListed validator set change proposal.

func (*AllowListedValidatorSetChangeProposal) ProtoMessage

func (*AllowListedValidatorSetChangeProposal) ProtoMessage()

func (*AllowListedValidatorSetChangeProposal) Reset

func (*AllowListedValidatorSetChangeProposal) Size

func (*AllowListedValidatorSetChangeProposal) String

String returns the string of proposal details

func (*AllowListedValidatorSetChangeProposal) Unmarshal

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

func (*AllowListedValidatorSetChangeProposal) ValidateBasic

func (m *AllowListedValidatorSetChangeProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*AllowListedValidatorSetChangeProposal) XXX_DiscardUnknown

func (m *AllowListedValidatorSetChangeProposal) XXX_DiscardUnknown()

func (*AllowListedValidatorSetChangeProposal) XXX_Marshal

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

func (*AllowListedValidatorSetChangeProposal) XXX_Merge

func (*AllowListedValidatorSetChangeProposal) XXX_Size

func (*AllowListedValidatorSetChangeProposal) XXX_Unmarshal

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

type AllowListedValidators

type AllowListedValidators struct {
	AllowListedValidators []AllowListedValidator `` /* 146-byte string literal not displayed */
}

func (*AllowListedValidators) Descriptor

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

func (*AllowListedValidators) Equal

func (this *AllowListedValidators) Equal(that interface{}) bool

func (*AllowListedValidators) Marshal

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

func (*AllowListedValidators) MarshalTo

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

func (*AllowListedValidators) MarshalToSizedBuffer

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

func (*AllowListedValidators) ProtoMessage

func (*AllowListedValidators) ProtoMessage()

func (*AllowListedValidators) Reset

func (m *AllowListedValidators) Reset()

func (*AllowListedValidators) Size

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

func (*AllowListedValidators) String

func (m *AllowListedValidators) String() string

func (*AllowListedValidators) Unmarshal

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

func (*AllowListedValidators) Valid

func (av *AllowListedValidators) Valid() bool

Valid performs validity checks on AllowListedValidators and returns bool

func (*AllowListedValidators) XXX_DiscardUnknown

func (m *AllowListedValidators) XXX_DiscardUnknown()

func (*AllowListedValidators) XXX_Marshal

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

func (*AllowListedValidators) XXX_Merge

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

func (*AllowListedValidators) XXX_Size

func (m *AllowListedValidators) XXX_Size() int

func (*AllowListedValidators) XXX_Unmarshal

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

type AllowListedVals

type AllowListedVals []AllowListedValidator

func (AllowListedVals) Len

func (av AllowListedVals) Len() int

func (AllowListedVals) Less

func (av AllowListedVals) Less(i, j int) bool

func (AllowListedVals) Swap

func (av AllowListedVals) Swap(i, j int)

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances.

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	GetNextSequenceAck(ctx sdk.Context, portID, channelID string) (uint64, bool)
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
	GetChannelClientState(ctx sdk.Context, portID, channelID string) (string, exported.ClientState, error)
}

ChannelKeeper defines the expected IBC channel keeper

type DelegationState

type DelegationState struct {
	// This field is necessary as the address of not blocked for send coins,
	// we only should care about funds that have come via proper channels.
	HostDelegationAccountBalance github_com_cosmos_cosmos_sdk_types.Coins `` /* 193-byte string literal not displayed */
	HostChainDelegationAddress   string                                   `` /* 143-byte string literal not displayed */
	HostAccountDelegations       []HostAccountDelegation                  `protobuf:"bytes,3,rep,name=host_account_delegations,json=hostAccountDelegations,proto3" json:"host_account_delegations"`
	HostAccountUndelegations     []HostAccountUndelegation                `protobuf:"bytes,4,rep,name=host_account_undelegations,json=hostAccountUndelegations,proto3" json:"host_account_undelegations"`
}

DelegationState stores module account balance, ica account balance, delegation state, undelegation state

func (*DelegationState) Descriptor

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

func (*DelegationState) Equal

func (this *DelegationState) Equal(that interface{}) bool

func (*DelegationState) Marshal

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

func (*DelegationState) MarshalTo

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

func (*DelegationState) MarshalToSizedBuffer

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

func (*DelegationState) ProtoMessage

func (*DelegationState) ProtoMessage()

func (*DelegationState) Reset

func (m *DelegationState) Reset()

func (*DelegationState) Size

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

func (*DelegationState) String

func (m *DelegationState) String() string

func (DelegationState) TotalDelegations

func (ds DelegationState) TotalDelegations(denom string) sdk.Coin

TotalDelegations gives the amount of total delegations on Host Chain.

func (*DelegationState) Unmarshal

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

func (*DelegationState) XXX_DiscardUnknown

func (m *DelegationState) XXX_DiscardUnknown()

func (*DelegationState) XXX_Marshal

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

func (*DelegationState) XXX_Merge

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

func (*DelegationState) XXX_Size

func (m *DelegationState) XXX_Size() int

func (*DelegationState) XXX_Unmarshal

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

type DelegatorUnbondingEpochEntry

type DelegatorUnbondingEpochEntry struct {
	DelegatorAddress string     `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	EpochNumber      int64      `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	Amount           types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func NewDelegatorUnbondingEpochEntry

func NewDelegatorUnbondingEpochEntry(delegatorAddress string, epochNumber int64, amount sdk.Coin) DelegatorUnbondingEpochEntry

NewDelegatorUnbondingEpochEntry returns new DelegatorUnbondingEpochEntry

func (*DelegatorUnbondingEpochEntry) Descriptor

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

func (*DelegatorUnbondingEpochEntry) Equal

func (this *DelegatorUnbondingEpochEntry) Equal(that interface{}) bool

func (*DelegatorUnbondingEpochEntry) Marshal

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

func (*DelegatorUnbondingEpochEntry) MarshalTo

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

func (*DelegatorUnbondingEpochEntry) MarshalToSizedBuffer

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

func (*DelegatorUnbondingEpochEntry) ProtoMessage

func (*DelegatorUnbondingEpochEntry) ProtoMessage()

func (*DelegatorUnbondingEpochEntry) Reset

func (m *DelegatorUnbondingEpochEntry) Reset()

func (*DelegatorUnbondingEpochEntry) Size

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

func (*DelegatorUnbondingEpochEntry) String

func (*DelegatorUnbondingEpochEntry) Unmarshal

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

func (*DelegatorUnbondingEpochEntry) XXX_DiscardUnknown

func (m *DelegatorUnbondingEpochEntry) XXX_DiscardUnknown()

func (*DelegatorUnbondingEpochEntry) XXX_Marshal

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

func (*DelegatorUnbondingEpochEntry) XXX_Merge

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

func (*DelegatorUnbondingEpochEntry) XXX_Size

func (m *DelegatorUnbondingEpochEntry) XXX_Size() int

func (*DelegatorUnbondingEpochEntry) XXX_Unmarshal

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

type EpochKeeper

type EpochKeeper interface {
	GetEpochInfo(ctx sdk.Context, identifier string) epochstypes.EpochInfo
}

EpochKeeper defines the expected interface needed to retrieve epoch info.

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// this line is used by starport scaffolding # genesis/proto/state
	ModuleEnabled                  bool                           `protobuf:"varint,2,opt,name=module_enabled,json=moduleEnabled,proto3" json:"module_enabled,omitempty"`
	HostChainParams                HostChainParams                `protobuf:"bytes,3,opt,name=host_chain_params,json=hostChainParams,proto3" json:"host_chain_params"`
	AllowListedValidators          AllowListedValidators          `protobuf:"bytes,4,opt,name=allow_listed_validators,json=allowListedValidators,proto3" json:"allow_listed_validators"`
	DelegationState                DelegationState                `protobuf:"bytes,5,opt,name=delegation_state,json=delegationState,proto3" json:"delegation_state"`
	HostChainRewardAddress         HostChainRewardAddress         `protobuf:"bytes,6,opt,name=host_chain_reward_address,json=hostChainRewardAddress,proto3" json:"host_chain_reward_address"`
	IBCAmountTransientStore        IBCAmountTransientStore        `` /* 128-byte string literal not displayed */
	UnbondingEpochCValues          []UnbondingEpochCValue         `protobuf:"bytes,8,rep,name=unbonding_epoch_c_values,json=unbondingEpochCValues,proto3" json:"unbonding_epoch_c_values"`
	DelegatorUnbondingEpochEntries []DelegatorUnbondingEpochEntry `` /* 145-byte string literal not displayed */
	HostAccounts                   HostAccounts                   `protobuf:"bytes,10,opt,name=host_accounts,json=hostAccounts,proto3" json:"host_accounts"`
}

GenesisState defines the lscosmos module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAllowListedValidators

func (m *GenesisState) GetAllowListedValidators() AllowListedValidators

func (*GenesisState) GetDelegationState

func (m *GenesisState) GetDelegationState() DelegationState

func (*GenesisState) GetDelegatorUnbondingEpochEntries

func (m *GenesisState) GetDelegatorUnbondingEpochEntries() []DelegatorUnbondingEpochEntry

func (*GenesisState) GetHostAccounts

func (m *GenesisState) GetHostAccounts() HostAccounts

func (*GenesisState) GetHostChainParams

func (m *GenesisState) GetHostChainParams() HostChainParams

func (*GenesisState) GetHostChainRewardAddress

func (m *GenesisState) GetHostChainRewardAddress() HostChainRewardAddress

func (*GenesisState) GetIBCAmountTransientStore

func (m *GenesisState) GetIBCAmountTransientStore() IBCAmountTransientStore

func (*GenesisState) GetModuleEnabled

func (m *GenesisState) GetModuleEnabled() bool

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetUnbondingEpochCValues

func (m *GenesisState) GetUnbondingEpochCValues() []UnbondingEpochCValue

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 genesis state validation returning an error upon any failure.

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 HostAccountDelegation

type HostAccountDelegation struct {
	ValidatorAddress string     `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

func NewHostAccountDelegation

func NewHostAccountDelegation(validatorAddress string, amount sdk.Coin) HostAccountDelegation

NewHostAccountDelegation returns new HostAccountDelegation

func (*HostAccountDelegation) Descriptor

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

func (*HostAccountDelegation) Equal

func (this *HostAccountDelegation) Equal(that interface{}) bool

func (*HostAccountDelegation) Marshal

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

func (*HostAccountDelegation) MarshalTo

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

func (*HostAccountDelegation) MarshalToSizedBuffer

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

func (*HostAccountDelegation) ProtoMessage

func (*HostAccountDelegation) ProtoMessage()

func (*HostAccountDelegation) Reset

func (m *HostAccountDelegation) Reset()

func (*HostAccountDelegation) Size

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

func (*HostAccountDelegation) String

func (m *HostAccountDelegation) String() string

func (*HostAccountDelegation) Unmarshal

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

func (*HostAccountDelegation) XXX_DiscardUnknown

func (m *HostAccountDelegation) XXX_DiscardUnknown()

func (*HostAccountDelegation) XXX_Marshal

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

func (*HostAccountDelegation) XXX_Merge

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

func (*HostAccountDelegation) XXX_Size

func (m *HostAccountDelegation) XXX_Size() int

func (*HostAccountDelegation) XXX_Unmarshal

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

type HostAccountDelegations

type HostAccountDelegations []HostAccountDelegation

func (HostAccountDelegations) Len

func (h HostAccountDelegations) Len() int

func (HostAccountDelegations) Less

func (h HostAccountDelegations) Less(i, j int) bool

func (HostAccountDelegations) Swap

func (h HostAccountDelegations) Swap(i, j int)

type HostAccountUndelegation

type HostAccountUndelegation struct {
	EpochNumber             int64               `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	TotalUndelegationAmount types.Coin          `protobuf:"bytes,2,opt,name=total_undelegation_amount,json=totalUndelegationAmount,proto3" json:"total_undelegation_amount"`
	CompletionTime          time.Time           `protobuf:"bytes,3,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
	UndelegationEntries     []UndelegationEntry `protobuf:"bytes,4,rep,name=undelegation_entries,json=undelegationEntries,proto3" json:"undelegation_entries"`
}

func (*HostAccountUndelegation) Descriptor

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

func (*HostAccountUndelegation) Equal

func (this *HostAccountUndelegation) Equal(that interface{}) bool

func (*HostAccountUndelegation) Marshal

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

func (*HostAccountUndelegation) MarshalTo

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

func (*HostAccountUndelegation) MarshalToSizedBuffer

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

func (*HostAccountUndelegation) ProtoMessage

func (*HostAccountUndelegation) ProtoMessage()

func (*HostAccountUndelegation) Reset

func (m *HostAccountUndelegation) Reset()

func (*HostAccountUndelegation) Size

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

func (*HostAccountUndelegation) String

func (m *HostAccountUndelegation) String() string

func (*HostAccountUndelegation) Unmarshal

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

func (*HostAccountUndelegation) XXX_DiscardUnknown

func (m *HostAccountUndelegation) XXX_DiscardUnknown()

func (*HostAccountUndelegation) XXX_Marshal

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

func (*HostAccountUndelegation) XXX_Merge

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

func (*HostAccountUndelegation) XXX_Size

func (m *HostAccountUndelegation) XXX_Size() int

func (*HostAccountUndelegation) XXX_Unmarshal

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

type HostAccounts

type HostAccounts struct {
	DelegatorAccountOwnerID string `` /* 136-byte string literal not displayed */
	RewardsAccountOwnerID   string `` /* 130-byte string literal not displayed */
}

func (*HostAccounts) DelegatorAccountPortID

func (hostAccounts *HostAccounts) DelegatorAccountPortID() string

DelegatorAccountPortID returns delegator account port ID

func (*HostAccounts) Descriptor

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

func (*HostAccounts) Equal

func (this *HostAccounts) Equal(that interface{}) bool

func (*HostAccounts) Marshal

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

func (*HostAccounts) MarshalTo

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

func (*HostAccounts) MarshalToSizedBuffer

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

func (*HostAccounts) ProtoMessage

func (*HostAccounts) ProtoMessage()

func (*HostAccounts) Reset

func (m *HostAccounts) Reset()

func (*HostAccounts) RewardsAccountPortID

func (hostAccounts *HostAccounts) RewardsAccountPortID() string

RewardsAccountPortID returns rewards account port ID

func (*HostAccounts) Size

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

func (*HostAccounts) String

func (m *HostAccounts) String() string

func (*HostAccounts) Unmarshal

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

func (*HostAccounts) Validate

func (hostAccounts *HostAccounts) Validate() error

Validate returns error if contents do not pass the expected checks

func (*HostAccounts) XXX_DiscardUnknown

func (m *HostAccounts) XXX_DiscardUnknown()

func (*HostAccounts) XXX_Marshal

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

func (*HostAccounts) XXX_Merge

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

func (*HostAccounts) XXX_Size

func (m *HostAccounts) XXX_Size() int

func (*HostAccounts) XXX_Unmarshal

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

type HostChainParams

type HostChainParams struct {
	ChainID         string                                 `protobuf:"bytes,1,opt,name=chain_i_d,json=chainID,proto3" json:"chain_i_d,omitempty"`
	ConnectionID    string                                 `protobuf:"bytes,2,opt,name=connection_i_d,json=connectionID,proto3" json:"connection_i_d,omitempty"`
	TransferChannel string                                 `protobuf:"bytes,3,opt,name=transfer_channel,json=transferChannel,proto3" json:"transfer_channel,omitempty"`
	TransferPort    string                                 `protobuf:"bytes,4,opt,name=transfer_port,json=transferPort,proto3" json:"transfer_port,omitempty"`
	BaseDenom       string                                 `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	MintDenom       string                                 `protobuf:"bytes,6,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"`
	MinDeposit      github_com_cosmos_cosmos_sdk_types.Int `` /* 131-byte string literal not displayed */
	PstakeParams    PstakeParams                           `protobuf:"bytes,8,opt,name=gstake_params,json=gstakeParams,proto3" json:"gstake_params"`
}

HostChainParams go into the DB

func NewHostChainParams

func NewHostChainParams(chainID, connectionID, channel, port, baseDenom, mintDenom, gstakefeeAddress string, minDeposit math.Int, gstakeDepositFee, gstakeRestakeFee, gstakeUnstakeFee, gstakeRedemptionFee sdktypes.Dec) HostChainParams

NewHostChainParams returns HostChainParams with the input provided

func (*HostChainParams) Descriptor

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

func (*HostChainParams) Equal

func (this *HostChainParams) Equal(that interface{}) bool

func (*HostChainParams) IsEmpty

func (c *HostChainParams) IsEmpty() bool

IsEmpty Checks if HostChainParams were initialised

func (*HostChainParams) Marshal

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

func (*HostChainParams) MarshalTo

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

func (*HostChainParams) MarshalToSizedBuffer

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

func (*HostChainParams) ProtoMessage

func (*HostChainParams) ProtoMessage()

func (*HostChainParams) Reset

func (m *HostChainParams) Reset()

func (*HostChainParams) Size

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

func (*HostChainParams) String

func (m *HostChainParams) String() string

func (*HostChainParams) Unmarshal

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

func (*HostChainParams) XXX_DiscardUnknown

func (m *HostChainParams) XXX_DiscardUnknown()

func (*HostChainParams) XXX_Marshal

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

func (*HostChainParams) XXX_Merge

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

func (*HostChainParams) XXX_Size

func (m *HostChainParams) XXX_Size() int

func (*HostChainParams) XXX_Unmarshal

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

type HostChainRewardAddress

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

func NewHostChainRewardAddress

func NewHostChainRewardAddress(address string) HostChainRewardAddress

NewHostChainRewardAddress returns new HostChainRewardAddress

func (*HostChainRewardAddress) Descriptor

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

func (*HostChainRewardAddress) Equal

func (this *HostChainRewardAddress) Equal(that interface{}) bool

func (*HostChainRewardAddress) Marshal

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

func (*HostChainRewardAddress) MarshalTo

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

func (*HostChainRewardAddress) MarshalToSizedBuffer

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

func (*HostChainRewardAddress) ProtoMessage

func (*HostChainRewardAddress) ProtoMessage()

func (*HostChainRewardAddress) Reset

func (m *HostChainRewardAddress) Reset()

func (*HostChainRewardAddress) Size

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

func (*HostChainRewardAddress) String

func (m *HostChainRewardAddress) String() string

func (*HostChainRewardAddress) Unmarshal

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

func (*HostChainRewardAddress) XXX_DiscardUnknown

func (m *HostChainRewardAddress) XXX_DiscardUnknown()

func (*HostChainRewardAddress) XXX_Marshal

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

func (*HostChainRewardAddress) XXX_Merge

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

func (*HostChainRewardAddress) XXX_Size

func (m *HostChainRewardAddress) XXX_Size() int

func (*HostChainRewardAddress) XXX_Unmarshal

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

type IBCAmountTransientStore

type IBCAmountTransientStore struct {
	// ibc_transfer stores only tokens which have ibc denoms "ibc/HEXHASH"
	IBCTransfer github_com_cosmos_cosmos_sdk_types.Coins `` /* 142-byte string literal not displayed */
	// ica_delegate stores only token which has staking baseDenom
	ICADelegate                    types.Coin                      `protobuf:"bytes,2,opt,name=i_c_a_delegate,json=iCADelegate,proto3" json:"i_c_a_delegate"`
	UndelegatonCompleteIBCTransfer []TransientUndelegationTransfer `` /* 149-byte string literal not displayed */
}

func (*IBCAmountTransientStore) Descriptor

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

func (*IBCAmountTransientStore) Equal

func (this *IBCAmountTransientStore) Equal(that interface{}) bool

func (*IBCAmountTransientStore) Marshal

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

func (*IBCAmountTransientStore) MarshalTo

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

func (*IBCAmountTransientStore) MarshalToSizedBuffer

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

func (*IBCAmountTransientStore) ProtoMessage

func (*IBCAmountTransientStore) ProtoMessage()

func (*IBCAmountTransientStore) Reset

func (m *IBCAmountTransientStore) Reset()

func (*IBCAmountTransientStore) Size

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

func (*IBCAmountTransientStore) String

func (m *IBCAmountTransientStore) String() string

func (*IBCAmountTransientStore) Unmarshal

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

func (*IBCAmountTransientStore) XXX_DiscardUnknown

func (m *IBCAmountTransientStore) XXX_DiscardUnknown()

func (*IBCAmountTransientStore) XXX_Marshal

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

func (*IBCAmountTransientStore) XXX_Merge

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

func (*IBCAmountTransientStore) XXX_Size

func (m *IBCAmountTransientStore) XXX_Size() int

func (*IBCAmountTransientStore) XXX_Unmarshal

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

type IBCTransferKeeper

type IBCTransferKeeper interface {
	DenomPathFromHash(ctx sdk.Context, denom string) (string, error)
}

IBCTransferKeeper defines the expected IBC transfer keeper

type ICAControllerKeeper

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

ICAControllerKeeper defines the expected ICA controller keeper

type ICQKeeper

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

ICQKeeper defines the expected ICQ keeper

type ICS4WrapperKeeper

type ICS4WrapperKeeper interface {
}

type MinDepositAndFeeChangeProposal

type MinDepositAndFeeChangeProposal struct {
	Title               string                                 `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description         string                                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MinDeposit          github_com_cosmos_cosmos_sdk_types.Int `` /* 131-byte string literal not displayed */
	PstakeDepositFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	PstakeRestakeFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	PstakeUnstakeFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	PstakeRedemptionFee github_com_cosmos_cosmos_sdk_types.Dec `` /* 160-byte string literal not displayed */
}

func NewMinDepositAndFeeChangeProposal

func NewMinDepositAndFeeChangeProposal(title, description string, minDeposit math.Int, gstakeDepositFee,
	gstakeRestakeFee, gstakeUnstakeFee, gstakeRedemptionFee sdktypes.Dec) *MinDepositAndFeeChangeProposal

NewMinDepositAndFeeChangeProposal creates a protocol fee and min deposit change proposal.

func (*MinDepositAndFeeChangeProposal) Descriptor

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

func (*MinDepositAndFeeChangeProposal) GetDescription

func (m *MinDepositAndFeeChangeProposal) GetDescription() string

GetDescription returns the description of the min-deposit and fee change proposal.

func (*MinDepositAndFeeChangeProposal) GetTitle

func (m *MinDepositAndFeeChangeProposal) GetTitle() string

GetTitle returns the title of the min-deposit and fee change proposal.

func (*MinDepositAndFeeChangeProposal) Marshal

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

func (*MinDepositAndFeeChangeProposal) MarshalTo

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

func (*MinDepositAndFeeChangeProposal) MarshalToSizedBuffer

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

func (*MinDepositAndFeeChangeProposal) ProposalRoute

func (m *MinDepositAndFeeChangeProposal) ProposalRoute() string

ProposalRoute returns the proposal-route of the min-deposit and fee change proposal.

func (*MinDepositAndFeeChangeProposal) ProposalType

func (m *MinDepositAndFeeChangeProposal) ProposalType() string

ProposalType returns the proposal-type of the min-deposit and fee change proposal.

func (*MinDepositAndFeeChangeProposal) ProtoMessage

func (*MinDepositAndFeeChangeProposal) ProtoMessage()

func (*MinDepositAndFeeChangeProposal) Reset

func (m *MinDepositAndFeeChangeProposal) Reset()

func (*MinDepositAndFeeChangeProposal) Size

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

func (*MinDepositAndFeeChangeProposal) String

String returns the string of proposal details

func (*MinDepositAndFeeChangeProposal) Unmarshal

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

func (*MinDepositAndFeeChangeProposal) ValidateBasic

func (m *MinDepositAndFeeChangeProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*MinDepositAndFeeChangeProposal) XXX_DiscardUnknown

func (m *MinDepositAndFeeChangeProposal) XXX_DiscardUnknown()

func (*MinDepositAndFeeChangeProposal) XXX_Marshal

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

func (*MinDepositAndFeeChangeProposal) XXX_Merge

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

func (*MinDepositAndFeeChangeProposal) XXX_Size

func (m *MinDepositAndFeeChangeProposal) XXX_Size() int

func (*MinDepositAndFeeChangeProposal) XXX_Unmarshal

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

type MsgChangeModuleState

type MsgChangeModuleState struct {
	PstakeAddress string `protobuf:"bytes,1,opt,name=gstake_address,json=gstakeAddress,proto3" json:"gstake_address,omitempty"`
	ModuleState   bool   `protobuf:"varint,2,opt,name=module_state,json=moduleState,proto3" json:"module_state,omitempty"`
}

func NewMsgChangeModuleState

func NewMsgChangeModuleState(address sdk.AccAddress, moduleState bool) *MsgChangeModuleState

NewMsgChangeModuleState returns a new MsgChangeModuleState

func (*MsgChangeModuleState) Descriptor

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

func (*MsgChangeModuleState) GetModuleState

func (m *MsgChangeModuleState) GetModuleState() bool

func (*MsgChangeModuleState) GetPstakeAddress added in v0.1.4

func (m *MsgChangeModuleState) GetPstakeAddress() string

func (*MsgChangeModuleState) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgChangeModuleState) GetSigners

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

GetSigners defines whose signature is required

func (*MsgChangeModuleState) Marshal

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

func (*MsgChangeModuleState) MarshalTo

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

func (*MsgChangeModuleState) MarshalToSizedBuffer

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

func (*MsgChangeModuleState) ProtoMessage

func (*MsgChangeModuleState) ProtoMessage()

func (*MsgChangeModuleState) Reset

func (m *MsgChangeModuleState) Reset()

func (*MsgChangeModuleState) Route

func (m *MsgChangeModuleState) Route() string

Route should return the name of the module

func (*MsgChangeModuleState) Size

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

func (*MsgChangeModuleState) String

func (m *MsgChangeModuleState) String() string

func (*MsgChangeModuleState) Type

func (m *MsgChangeModuleState) Type() string

Type should return the action

func (*MsgChangeModuleState) Unmarshal

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

func (*MsgChangeModuleState) ValidateBasic

func (m *MsgChangeModuleState) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgChangeModuleState) XXX_DiscardUnknown

func (m *MsgChangeModuleState) XXX_DiscardUnknown()

func (*MsgChangeModuleState) XXX_Marshal

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

func (*MsgChangeModuleState) XXX_Merge

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

func (*MsgChangeModuleState) XXX_Size

func (m *MsgChangeModuleState) XXX_Size() int

func (*MsgChangeModuleState) XXX_Unmarshal

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

type MsgChangeModuleStateResponse

type MsgChangeModuleStateResponse struct {
}

func (*MsgChangeModuleStateResponse) Descriptor

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

func (*MsgChangeModuleStateResponse) Marshal

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

func (*MsgChangeModuleStateResponse) MarshalTo

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

func (*MsgChangeModuleStateResponse) MarshalToSizedBuffer

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

func (*MsgChangeModuleStateResponse) ProtoMessage

func (*MsgChangeModuleStateResponse) ProtoMessage()

func (*MsgChangeModuleStateResponse) Reset

func (m *MsgChangeModuleStateResponse) Reset()

func (*MsgChangeModuleStateResponse) Size

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

func (*MsgChangeModuleStateResponse) String

func (*MsgChangeModuleStateResponse) Unmarshal

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

func (*MsgChangeModuleStateResponse) XXX_DiscardUnknown

func (m *MsgChangeModuleStateResponse) XXX_DiscardUnknown()

func (*MsgChangeModuleStateResponse) XXX_Marshal

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

func (*MsgChangeModuleStateResponse) XXX_Merge

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

func (*MsgChangeModuleStateResponse) XXX_Size

func (m *MsgChangeModuleStateResponse) XXX_Size() int

func (*MsgChangeModuleStateResponse) XXX_Unmarshal

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

type MsgClaim

type MsgClaim struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

func NewMsgClaim

func NewMsgClaim(address sdk.AccAddress) *MsgClaim

NewMsgClaim returns a new MsgClaim

func (*MsgClaim) Descriptor

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

func (*MsgClaim) GetDelegatorAddress

func (m *MsgClaim) GetDelegatorAddress() string

func (*MsgClaim) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgClaim) GetSigners

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

GetSigners defines whose signature is required

func (*MsgClaim) Marshal

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

func (*MsgClaim) MarshalTo

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

func (*MsgClaim) MarshalToSizedBuffer

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

func (*MsgClaim) ProtoMessage

func (*MsgClaim) ProtoMessage()

func (*MsgClaim) Reset

func (m *MsgClaim) Reset()

func (*MsgClaim) Route

func (m *MsgClaim) Route() string

Route should return the name of the module

func (*MsgClaim) Size

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

func (*MsgClaim) String

func (m *MsgClaim) String() string

func (*MsgClaim) Type

func (m *MsgClaim) Type() string

Type should return the action

func (*MsgClaim) Unmarshal

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

func (*MsgClaim) ValidateBasic

func (m *MsgClaim) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgClaim) XXX_DiscardUnknown

func (m *MsgClaim) XXX_DiscardUnknown()

func (*MsgClaim) XXX_Marshal

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

func (*MsgClaim) XXX_Merge

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

func (*MsgClaim) XXX_Size

func (m *MsgClaim) XXX_Size() int

func (*MsgClaim) XXX_Unmarshal

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

type MsgClaimResponse

type MsgClaimResponse struct {
}

func (*MsgClaimResponse) Descriptor

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

func (*MsgClaimResponse) Marshal

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

func (*MsgClaimResponse) MarshalTo

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

func (*MsgClaimResponse) MarshalToSizedBuffer

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

func (*MsgClaimResponse) ProtoMessage

func (*MsgClaimResponse) ProtoMessage()

func (*MsgClaimResponse) Reset

func (m *MsgClaimResponse) Reset()

func (*MsgClaimResponse) Size

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

func (*MsgClaimResponse) String

func (m *MsgClaimResponse) String() string

func (*MsgClaimResponse) Unmarshal

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

func (*MsgClaimResponse) XXX_DiscardUnknown

func (m *MsgClaimResponse) XXX_DiscardUnknown()

func (*MsgClaimResponse) XXX_Marshal

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

func (*MsgClaimResponse) XXX_Merge

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

func (*MsgClaimResponse) XXX_Size

func (m *MsgClaimResponse) XXX_Size() int

func (*MsgClaimResponse) XXX_Unmarshal

func (m *MsgClaimResponse) XXX_Unmarshal(b []byte) 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 MsgJumpStart

type MsgJumpStart struct {
	PstakeAddress         string                                 `protobuf:"bytes,1,opt,name=gstake_address,json=gstakeAddress,proto3" json:"gstake_address,omitempty"`
	ChainID               string                                 `protobuf:"bytes,2,opt,name=chain_i_d,json=chainID,proto3" json:"chain_i_d,omitempty"`
	ConnectionID          string                                 `protobuf:"bytes,3,opt,name=connection_i_d,json=connectionID,proto3" json:"connection_i_d,omitempty"`
	TransferChannel       string                                 `protobuf:"bytes,4,opt,name=transfer_channel,json=transferChannel,proto3" json:"transfer_channel,omitempty"`
	TransferPort          string                                 `protobuf:"bytes,5,opt,name=transfer_port,json=transferPort,proto3" json:"transfer_port,omitempty"`
	BaseDenom             string                                 `protobuf:"bytes,6,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	MintDenom             string                                 `protobuf:"bytes,7,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"`
	MinDeposit            github_com_cosmos_cosmos_sdk_types.Int `` /* 131-byte string literal not displayed */
	AllowListedValidators AllowListedValidators                  `protobuf:"bytes,9,opt,name=allow_listed_validators,json=allowListedValidators,proto3" json:"allow_listed_validators"`
	PstakeParams          PstakeParams                           `protobuf:"bytes,10,opt,name=gstake_params,json=gstakeParams,proto3" json:"gstake_params"`
	HostAccounts          HostAccounts                           `protobuf:"bytes,11,opt,name=host_accounts,json=hostAccounts,proto3" json:"host_accounts"`
}

func NewMsgJumpStart

func NewMsgJumpStart(address sdk.AccAddress, chainID, connectionID, transferChannel, transferPort, baseDenom, mintDenom string,
	minDeposit math.Int, allowListedValidators AllowListedValidators, gstakeParams PstakeParams, hostAccounts HostAccounts) *MsgJumpStart

NewMsgJumpStart returns a new MsgJumpStart

func (*MsgJumpStart) Descriptor

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

func (*MsgJumpStart) GetAllowListedValidators

func (m *MsgJumpStart) GetAllowListedValidators() AllowListedValidators

func (*MsgJumpStart) GetBaseDenom

func (m *MsgJumpStart) GetBaseDenom() string

func (*MsgJumpStart) GetChainID

func (m *MsgJumpStart) GetChainID() string

func (*MsgJumpStart) GetConnectionID

func (m *MsgJumpStart) GetConnectionID() string

func (*MsgJumpStart) GetHostAccounts

func (m *MsgJumpStart) GetHostAccounts() HostAccounts

func (*MsgJumpStart) GetMintDenom

func (m *MsgJumpStart) GetMintDenom() string

func (*MsgJumpStart) GetPstakeAddress added in v0.1.4

func (m *MsgJumpStart) GetPstakeAddress() string

func (*MsgJumpStart) GetPstakeParams added in v0.1.4

func (m *MsgJumpStart) GetPstakeParams() PstakeParams

func (*MsgJumpStart) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgJumpStart) GetSigners

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

GetSigners defines whose signature is required

func (*MsgJumpStart) GetTransferChannel

func (m *MsgJumpStart) GetTransferChannel() string

func (*MsgJumpStart) GetTransferPort

func (m *MsgJumpStart) GetTransferPort() string

func (*MsgJumpStart) Marshal

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

func (*MsgJumpStart) MarshalTo

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

func (*MsgJumpStart) MarshalToSizedBuffer

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

func (*MsgJumpStart) ProtoMessage

func (*MsgJumpStart) ProtoMessage()

func (*MsgJumpStart) Reset

func (m *MsgJumpStart) Reset()

func (*MsgJumpStart) Route

func (m *MsgJumpStart) Route() string

Route should return the name of the module

func (*MsgJumpStart) Size

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

func (*MsgJumpStart) String

func (m *MsgJumpStart) String() string

func (*MsgJumpStart) Type

func (m *MsgJumpStart) Type() string

Type should return the action

func (*MsgJumpStart) Unmarshal

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

func (*MsgJumpStart) ValidateBasic

func (m *MsgJumpStart) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgJumpStart) XXX_DiscardUnknown

func (m *MsgJumpStart) XXX_DiscardUnknown()

func (*MsgJumpStart) XXX_Marshal

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

func (*MsgJumpStart) XXX_Merge

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

func (*MsgJumpStart) XXX_Size

func (m *MsgJumpStart) XXX_Size() int

func (*MsgJumpStart) XXX_Unmarshal

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

type MsgJumpStartResponse

type MsgJumpStartResponse struct {
}

func (*MsgJumpStartResponse) Descriptor

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

func (*MsgJumpStartResponse) Marshal

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

func (*MsgJumpStartResponse) MarshalTo

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

func (*MsgJumpStartResponse) MarshalToSizedBuffer

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

func (*MsgJumpStartResponse) ProtoMessage

func (*MsgJumpStartResponse) ProtoMessage()

func (*MsgJumpStartResponse) Reset

func (m *MsgJumpStartResponse) Reset()

func (*MsgJumpStartResponse) Size

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

func (*MsgJumpStartResponse) String

func (m *MsgJumpStartResponse) String() string

func (*MsgJumpStartResponse) Unmarshal

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

func (*MsgJumpStartResponse) XXX_DiscardUnknown

func (m *MsgJumpStartResponse) XXX_DiscardUnknown()

func (*MsgJumpStartResponse) XXX_Marshal

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

func (*MsgJumpStartResponse) XXX_Merge

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

func (*MsgJumpStartResponse) XXX_Size

func (m *MsgJumpStartResponse) XXX_Size() int

func (*MsgJumpStartResponse) XXX_Unmarshal

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

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

NewMsgLiquidStake returns a new 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

Route should return the name of the module

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 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(address sdk.AccAddress, amount sdk.Coin) *MsgLiquidUnstake

NewMsgLiquidUnstake returns a new 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

Route should return the name of the module

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 MsgRecreateICA

type MsgRecreateICA struct {
	FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

func NewMsgRecreateICA

func NewMsgRecreateICA(address sdk.AccAddress) *MsgRecreateICA

NewMsgRecreateICA returns a new MsgRecreateICA

func (*MsgRecreateICA) Descriptor

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

func (*MsgRecreateICA) GetFromAddress

func (m *MsgRecreateICA) GetFromAddress() string

func (*MsgRecreateICA) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgRecreateICA) GetSigners

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

GetSigners defines whose signature is required

func (*MsgRecreateICA) Marshal

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

func (*MsgRecreateICA) MarshalTo

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

func (*MsgRecreateICA) MarshalToSizedBuffer

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

func (*MsgRecreateICA) ProtoMessage

func (*MsgRecreateICA) ProtoMessage()

func (*MsgRecreateICA) Reset

func (m *MsgRecreateICA) Reset()

func (*MsgRecreateICA) Route

func (m *MsgRecreateICA) Route() string

Route should return the name of the module

func (*MsgRecreateICA) Size

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

func (*MsgRecreateICA) String

func (m *MsgRecreateICA) String() string

func (*MsgRecreateICA) Type

func (m *MsgRecreateICA) Type() string

Type should return the action

func (*MsgRecreateICA) Unmarshal

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

func (*MsgRecreateICA) ValidateBasic

func (m *MsgRecreateICA) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgRecreateICA) XXX_DiscardUnknown

func (m *MsgRecreateICA) XXX_DiscardUnknown()

func (*MsgRecreateICA) XXX_Marshal

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

func (*MsgRecreateICA) XXX_Merge

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

func (*MsgRecreateICA) XXX_Size

func (m *MsgRecreateICA) XXX_Size() int

func (*MsgRecreateICA) XXX_Unmarshal

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

type MsgRecreateICAResponse

type MsgRecreateICAResponse struct {
}

func (*MsgRecreateICAResponse) Descriptor

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

func (*MsgRecreateICAResponse) Marshal

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

func (*MsgRecreateICAResponse) MarshalTo

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

func (*MsgRecreateICAResponse) MarshalToSizedBuffer

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

func (*MsgRecreateICAResponse) ProtoMessage

func (*MsgRecreateICAResponse) ProtoMessage()

func (*MsgRecreateICAResponse) Reset

func (m *MsgRecreateICAResponse) Reset()

func (*MsgRecreateICAResponse) Size

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

func (*MsgRecreateICAResponse) String

func (m *MsgRecreateICAResponse) String() string

func (*MsgRecreateICAResponse) Unmarshal

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

func (*MsgRecreateICAResponse) XXX_DiscardUnknown

func (m *MsgRecreateICAResponse) XXX_DiscardUnknown()

func (*MsgRecreateICAResponse) XXX_Marshal

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

func (*MsgRecreateICAResponse) XXX_Merge

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

func (*MsgRecreateICAResponse) XXX_Size

func (m *MsgRecreateICAResponse) XXX_Size() int

func (*MsgRecreateICAResponse) XXX_Unmarshal

func (m *MsgRecreateICAResponse) 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(address sdk.AccAddress, amount sdk.Coin) *MsgRedeem

NewMsgRedeem returns a new 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

Route should return the name of the module

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 MsgReportSlashing

type MsgReportSlashing struct {
	PstakeAddress    string `protobuf:"bytes,1,opt,name=gstake_address,json=gstakeAddress,proto3" json:"gstake_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

func NewMsgReportSlashing

func NewMsgReportSlashing(address sdk.AccAddress, validatorAddress sdk.ValAddress) *MsgReportSlashing

NewMsgReportSlashing returns a new MsgReportSlashing

func (*MsgReportSlashing) Descriptor

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

func (*MsgReportSlashing) GetPstakeAddress added in v0.1.4

func (m *MsgReportSlashing) GetPstakeAddress() string

func (*MsgReportSlashing) GetSignBytes

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

GetSignBytes encodes the message for signing

func (*MsgReportSlashing) GetSigners

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

GetSigners defines whose signature is required

func (*MsgReportSlashing) GetValidatorAddress

func (m *MsgReportSlashing) GetValidatorAddress() string

func (*MsgReportSlashing) Marshal

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

func (*MsgReportSlashing) MarshalTo

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

func (*MsgReportSlashing) MarshalToSizedBuffer

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

func (*MsgReportSlashing) ProtoMessage

func (*MsgReportSlashing) ProtoMessage()

func (*MsgReportSlashing) Reset

func (m *MsgReportSlashing) Reset()

func (*MsgReportSlashing) Route

func (m *MsgReportSlashing) Route() string

Route should return the name of the module

func (*MsgReportSlashing) Size

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

func (*MsgReportSlashing) String

func (m *MsgReportSlashing) String() string

func (*MsgReportSlashing) Type

func (m *MsgReportSlashing) Type() string

Type should return the action

func (*MsgReportSlashing) Unmarshal

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

func (*MsgReportSlashing) ValidateBasic

func (m *MsgReportSlashing) ValidateBasic() error

ValidateBasic performs stateless checks

func (*MsgReportSlashing) XXX_DiscardUnknown

func (m *MsgReportSlashing) XXX_DiscardUnknown()

func (*MsgReportSlashing) XXX_Marshal

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

func (*MsgReportSlashing) XXX_Merge

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

func (*MsgReportSlashing) XXX_Size

func (m *MsgReportSlashing) XXX_Size() int

func (*MsgReportSlashing) XXX_Unmarshal

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

type MsgReportSlashingResponse

type MsgReportSlashingResponse struct {
}

func (*MsgReportSlashingResponse) Descriptor

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

func (*MsgReportSlashingResponse) Marshal

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

func (*MsgReportSlashingResponse) MarshalTo

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

func (*MsgReportSlashingResponse) MarshalToSizedBuffer

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

func (*MsgReportSlashingResponse) ProtoMessage

func (*MsgReportSlashingResponse) ProtoMessage()

func (*MsgReportSlashingResponse) Reset

func (m *MsgReportSlashingResponse) Reset()

func (*MsgReportSlashingResponse) Size

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

func (*MsgReportSlashingResponse) String

func (m *MsgReportSlashingResponse) String() string

func (*MsgReportSlashingResponse) Unmarshal

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

func (*MsgReportSlashingResponse) XXX_DiscardUnknown

func (m *MsgReportSlashingResponse) XXX_DiscardUnknown()

func (*MsgReportSlashingResponse) XXX_Marshal

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

func (*MsgReportSlashingResponse) XXX_Merge

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

func (*MsgReportSlashingResponse) XXX_Size

func (m *MsgReportSlashingResponse) XXX_Size() int

func (*MsgReportSlashingResponse) XXX_Unmarshal

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

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

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 PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper

type PstakeFeeAddressChangeProposal added in v0.1.4

type PstakeFeeAddressChangeProposal struct {
	Title            string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description      string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	PstakeFeeAddress string `protobuf:"bytes,3,opt,name=gstake_fee_address,json=gstakeFeeAddress,proto3" json:"gstake_fee_address,omitempty"`
}

func NewPstakeFeeAddressChangeProposal added in v0.1.4

func NewPstakeFeeAddressChangeProposal(title, description,
	gstakeFeeAddress string) *PstakeFeeAddressChangeProposal

NewPstakeFeeAddressChangeProposal creates a gstake fee address change proposal.

func (*PstakeFeeAddressChangeProposal) Descriptor added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) GetDescription added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) GetDescription() string

GetDescription returns the description of the gstake fee address proposal.

func (*PstakeFeeAddressChangeProposal) GetTitle added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) GetTitle() string

GetTitle returns the title of fee collector gstake fee address change proposal.

func (*PstakeFeeAddressChangeProposal) Marshal added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) MarshalTo added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) MarshalToSizedBuffer added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) ProposalRoute added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) ProposalRoute() string

ProposalRoute returns the proposal-route of gstake fee address proposal.

func (*PstakeFeeAddressChangeProposal) ProposalType added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) ProposalType() string

ProposalType returns the proposal-type of gstake fee address change proposal.

func (*PstakeFeeAddressChangeProposal) ProtoMessage added in v0.1.4

func (*PstakeFeeAddressChangeProposal) ProtoMessage()

func (*PstakeFeeAddressChangeProposal) Reset added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) Reset()

func (*PstakeFeeAddressChangeProposal) Size added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) String added in v0.1.4

String returns the string of proposal details

func (*PstakeFeeAddressChangeProposal) Unmarshal added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) ValidateBasic added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*PstakeFeeAddressChangeProposal) XXX_DiscardUnknown added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) XXX_DiscardUnknown()

func (*PstakeFeeAddressChangeProposal) XXX_Marshal added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) XXX_Merge added in v0.1.4

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

func (*PstakeFeeAddressChangeProposal) XXX_Size added in v0.1.4

func (m *PstakeFeeAddressChangeProposal) XXX_Size() int

func (*PstakeFeeAddressChangeProposal) XXX_Unmarshal added in v0.1.4

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

type PstakeParams added in v0.1.4

type PstakeParams struct {
	PstakeDepositFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	PstakeRestakeFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	PstakeUnstakeFee    github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */
	PstakeRedemptionFee github_com_cosmos_cosmos_sdk_types.Dec `` /* 160-byte string literal not displayed */
	PstakeFeeAddress    string                                 `protobuf:"bytes,5,opt,name=gstake_fee_address,json=gstakeFeeAddress,proto3" json:"gstake_fee_address,omitempty"`
}

func (*PstakeParams) Descriptor added in v0.1.4

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

func (*PstakeParams) Equal added in v0.1.4

func (this *PstakeParams) Equal(that interface{}) bool

func (*PstakeParams) Marshal added in v0.1.4

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

func (*PstakeParams) MarshalTo added in v0.1.4

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

func (*PstakeParams) MarshalToSizedBuffer added in v0.1.4

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

func (*PstakeParams) ProtoMessage added in v0.1.4

func (*PstakeParams) ProtoMessage()

func (*PstakeParams) Reset added in v0.1.4

func (m *PstakeParams) Reset()

func (*PstakeParams) Size added in v0.1.4

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

func (*PstakeParams) String added in v0.1.4

func (m *PstakeParams) String() string

func (*PstakeParams) Unmarshal added in v0.1.4

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

func (*PstakeParams) Validate added in v0.1.4

func (gstakeParams *PstakeParams) Validate() error

func (*PstakeParams) XXX_DiscardUnknown added in v0.1.4

func (m *PstakeParams) XXX_DiscardUnknown()

func (*PstakeParams) XXX_Marshal added in v0.1.4

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

func (*PstakeParams) XXX_Merge added in v0.1.4

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

func (*PstakeParams) XXX_Size added in v0.1.4

func (m *PstakeParams) XXX_Size() int

func (*PstakeParams) XXX_Unmarshal added in v0.1.4

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

type QueryAllDelegatorUnbondingEpochEntriesRequest

type QueryAllDelegatorUnbondingEpochEntriesRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryAllDelegatorUnbondingEpochEntriesRequest is a request for the Query/DelegatorUnbondingEpochEntries methods.

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) Descriptor

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) GetDelegatorAddress

func (m *QueryAllDelegatorUnbondingEpochEntriesRequest) GetDelegatorAddress() string

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) Marshal

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

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) MarshalTo

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) MarshalToSizedBuffer

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

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) ProtoMessage

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) Reset

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) Size

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) String

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) Unmarshal

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) XXX_DiscardUnknown

func (m *QueryAllDelegatorUnbondingEpochEntriesRequest) XXX_DiscardUnknown()

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) XXX_Marshal

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

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) XXX_Merge

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) XXX_Size

func (*QueryAllDelegatorUnbondingEpochEntriesRequest) XXX_Unmarshal

type QueryAllDelegatorUnbondingEpochEntriesResponse

type QueryAllDelegatorUnbondingEpochEntriesResponse struct {
	DelegatorUnbondingEpochEntries []DelegatorUnbondingEpochEntry `` /* 145-byte string literal not displayed */
}

QueryAllDelegatorUnbondingEpochEntriesResponse is a response for the Query/DelegatorUnbondingEpochEntries methods.

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) Descriptor

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) GetDelegatorUnbondingEpochEntries

func (m *QueryAllDelegatorUnbondingEpochEntriesResponse) GetDelegatorUnbondingEpochEntries() []DelegatorUnbondingEpochEntry

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) Marshal

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

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) MarshalTo

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) MarshalToSizedBuffer

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

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) ProtoMessage

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) Reset

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) Size

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) String

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) Unmarshal

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) XXX_DiscardUnknown

func (m *QueryAllDelegatorUnbondingEpochEntriesResponse) XXX_DiscardUnknown()

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) XXX_Marshal

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

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) XXX_Merge

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) XXX_Size

func (*QueryAllDelegatorUnbondingEpochEntriesResponse) XXX_Unmarshal

type QueryAllowListedValidatorsRequest

type QueryAllowListedValidatorsRequest struct {
}

QueryListedValidatorsRequest is a request for the Query/AllowListedValidators methods.

func (*QueryAllowListedValidatorsRequest) Descriptor

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

func (*QueryAllowListedValidatorsRequest) Marshal

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

func (*QueryAllowListedValidatorsRequest) MarshalTo

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

func (*QueryAllowListedValidatorsRequest) MarshalToSizedBuffer

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

func (*QueryAllowListedValidatorsRequest) ProtoMessage

func (*QueryAllowListedValidatorsRequest) ProtoMessage()

func (*QueryAllowListedValidatorsRequest) Reset

func (*QueryAllowListedValidatorsRequest) Size

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

func (*QueryAllowListedValidatorsRequest) String

func (*QueryAllowListedValidatorsRequest) Unmarshal

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

func (*QueryAllowListedValidatorsRequest) XXX_DiscardUnknown

func (m *QueryAllowListedValidatorsRequest) XXX_DiscardUnknown()

func (*QueryAllowListedValidatorsRequest) XXX_Marshal

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

func (*QueryAllowListedValidatorsRequest) XXX_Merge

func (*QueryAllowListedValidatorsRequest) XXX_Size

func (m *QueryAllowListedValidatorsRequest) XXX_Size() int

func (*QueryAllowListedValidatorsRequest) XXX_Unmarshal

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

type QueryAllowListedValidatorsResponse

type QueryAllowListedValidatorsResponse struct {
	AllowListedValidators AllowListedValidators `protobuf:"bytes,1,opt,name=allow_listed_validators,json=allowListedValidators,proto3" json:"allow_listed_validators"`
}

QueryListedValidatorsResponse is a response for the Query/AllowListedValidators methods.

func (*QueryAllowListedValidatorsResponse) Descriptor

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

func (*QueryAllowListedValidatorsResponse) GetAllowListedValidators

func (m *QueryAllowListedValidatorsResponse) GetAllowListedValidators() AllowListedValidators

func (*QueryAllowListedValidatorsResponse) Marshal

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

func (*QueryAllowListedValidatorsResponse) MarshalTo

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

func (*QueryAllowListedValidatorsResponse) MarshalToSizedBuffer

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

func (*QueryAllowListedValidatorsResponse) ProtoMessage

func (*QueryAllowListedValidatorsResponse) ProtoMessage()

func (*QueryAllowListedValidatorsResponse) Reset

func (*QueryAllowListedValidatorsResponse) Size

func (*QueryAllowListedValidatorsResponse) String

func (*QueryAllowListedValidatorsResponse) Unmarshal

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

func (*QueryAllowListedValidatorsResponse) XXX_DiscardUnknown

func (m *QueryAllowListedValidatorsResponse) XXX_DiscardUnknown()

func (*QueryAllowListedValidatorsResponse) XXX_Marshal

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

func (*QueryAllowListedValidatorsResponse) XXX_Merge

func (*QueryAllowListedValidatorsResponse) XXX_Size

func (*QueryAllowListedValidatorsResponse) XXX_Unmarshal

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

type QueryCValueRequest

type QueryCValueRequest struct {
}

QueryCValueRequest is a request for the Query/CValue methods.

func (*QueryCValueRequest) Descriptor

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

func (*QueryCValueRequest) Marshal

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

func (*QueryCValueRequest) MarshalTo

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

func (*QueryCValueRequest) MarshalToSizedBuffer

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

func (*QueryCValueRequest) ProtoMessage

func (*QueryCValueRequest) ProtoMessage()

func (*QueryCValueRequest) Reset

func (m *QueryCValueRequest) Reset()

func (*QueryCValueRequest) Size

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

func (*QueryCValueRequest) String

func (m *QueryCValueRequest) String() string

func (*QueryCValueRequest) Unmarshal

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

func (*QueryCValueRequest) XXX_DiscardUnknown

func (m *QueryCValueRequest) XXX_DiscardUnknown()

func (*QueryCValueRequest) XXX_Marshal

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

func (*QueryCValueRequest) XXX_Merge

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

func (*QueryCValueRequest) XXX_Size

func (m *QueryCValueRequest) XXX_Size() int

func (*QueryCValueRequest) XXX_Unmarshal

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

type QueryCValueResponse

type QueryCValueResponse struct {
	CValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=c_value,json=cValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"c_value"`
}

QueryCValueRequest is a response for the Query/CValue methods.

func (*QueryCValueResponse) Descriptor

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

func (*QueryCValueResponse) Marshal

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

func (*QueryCValueResponse) MarshalTo

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

func (*QueryCValueResponse) MarshalToSizedBuffer

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

func (*QueryCValueResponse) ProtoMessage

func (*QueryCValueResponse) ProtoMessage()

func (*QueryCValueResponse) Reset

func (m *QueryCValueResponse) Reset()

func (*QueryCValueResponse) Size

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

func (*QueryCValueResponse) String

func (m *QueryCValueResponse) String() string

func (*QueryCValueResponse) Unmarshal

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

func (*QueryCValueResponse) XXX_DiscardUnknown

func (m *QueryCValueResponse) XXX_DiscardUnknown()

func (*QueryCValueResponse) XXX_Marshal

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

func (*QueryCValueResponse) XXX_Merge

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

func (*QueryCValueResponse) XXX_Size

func (m *QueryCValueResponse) XXX_Size() int

func (*QueryCValueResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	HostChainParams(ctx context.Context, in *QueryHostChainParamsRequest, opts ...grpc.CallOption) (*QueryHostChainParamsResponse, error)
	DelegationState(ctx context.Context, in *QueryDelegationStateRequest, opts ...grpc.CallOption) (*QueryDelegationStateResponse, error)
	AllowListedValidators(ctx context.Context, in *QueryAllowListedValidatorsRequest, opts ...grpc.CallOption) (*QueryAllowListedValidatorsResponse, error)
	CValue(ctx context.Context, in *QueryCValueRequest, opts ...grpc.CallOption) (*QueryCValueResponse, error)
	ModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error)
	IBCTransientStore(ctx context.Context, in *QueryIBCTransientStoreRequest, opts ...grpc.CallOption) (*QueryIBCTransientStoreResponse, error)
	Unclaimed(ctx context.Context, in *QueryUnclaimedRequest, opts ...grpc.CallOption) (*QueryUnclaimedResponse, error)
	FailedUnbondings(ctx context.Context, in *QueryFailedUnbondingsRequest, opts ...grpc.CallOption) (*QueryFailedUnbondingsResponse, error)
	PendingUnbondings(ctx context.Context, in *QueryPendingUnbondingsRequest, opts ...grpc.CallOption) (*QueryPendingUnbondingsResponse, error)
	UnbondingEpochCValue(ctx context.Context, in *QueryUnbondingEpochCValueRequest, opts ...grpc.CallOption) (*QueryUnbondingEpochCValueResponse, error)
	HostAccountUndelegation(ctx context.Context, in *QueryHostAccountUndelegationRequest, opts ...grpc.CallOption) (*QueryHostAccountUndelegationResponse, error)
	DelegatorUnbondingEpochEntry(ctx context.Context, in *QueryDelegatorUnbondingEpochEntryRequest, opts ...grpc.CallOption) (*QueryDelegatorUnbondingEpochEntryResponse, error)
	HostAccounts(ctx context.Context, in *QueryHostAccountsRequest, opts ...grpc.CallOption) (*QueryHostAccountsResponse, error)
	DepositModuleAccount(ctx context.Context, in *QueryDepositModuleAccountRequest, opts ...grpc.CallOption) (*QueryDepositModuleAccountResponse, error)
	DelegatorUnbondingEpochEntries(ctx context.Context, in *QueryAllDelegatorUnbondingEpochEntriesRequest, opts ...grpc.CallOption) (*QueryAllDelegatorUnbondingEpochEntriesResponse, 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 QueryDelegationStateRequest

type QueryDelegationStateRequest struct {
}

QueryDelegationStateRequest is request for the Ouery/DelegationState methods.

func (*QueryDelegationStateRequest) Descriptor

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

func (*QueryDelegationStateRequest) Marshal

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

func (*QueryDelegationStateRequest) MarshalTo

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

func (*QueryDelegationStateRequest) MarshalToSizedBuffer

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

func (*QueryDelegationStateRequest) ProtoMessage

func (*QueryDelegationStateRequest) ProtoMessage()

func (*QueryDelegationStateRequest) Reset

func (m *QueryDelegationStateRequest) Reset()

func (*QueryDelegationStateRequest) Size

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

func (*QueryDelegationStateRequest) String

func (m *QueryDelegationStateRequest) String() string

func (*QueryDelegationStateRequest) Unmarshal

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

func (*QueryDelegationStateRequest) XXX_DiscardUnknown

func (m *QueryDelegationStateRequest) XXX_DiscardUnknown()

func (*QueryDelegationStateRequest) XXX_Marshal

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

func (*QueryDelegationStateRequest) XXX_Merge

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

func (*QueryDelegationStateRequest) XXX_Size

func (m *QueryDelegationStateRequest) XXX_Size() int

func (*QueryDelegationStateRequest) XXX_Unmarshal

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

type QueryDelegationStateResponse

type QueryDelegationStateResponse struct {
	DelegationState DelegationState `protobuf:"bytes,1,opt,name=delegation_state,json=delegationState,proto3" json:"delegation_state"`
}

QueryDelegationStateResponse is response for the Ouery/DelegationState methods.

func (*QueryDelegationStateResponse) Descriptor

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

func (*QueryDelegationStateResponse) GetDelegationState

func (m *QueryDelegationStateResponse) GetDelegationState() DelegationState

func (*QueryDelegationStateResponse) Marshal

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

func (*QueryDelegationStateResponse) MarshalTo

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

func (*QueryDelegationStateResponse) MarshalToSizedBuffer

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

func (*QueryDelegationStateResponse) ProtoMessage

func (*QueryDelegationStateResponse) ProtoMessage()

func (*QueryDelegationStateResponse) Reset

func (m *QueryDelegationStateResponse) Reset()

func (*QueryDelegationStateResponse) Size

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

func (*QueryDelegationStateResponse) String

func (*QueryDelegationStateResponse) Unmarshal

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

func (*QueryDelegationStateResponse) XXX_DiscardUnknown

func (m *QueryDelegationStateResponse) XXX_DiscardUnknown()

func (*QueryDelegationStateResponse) XXX_Marshal

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

func (*QueryDelegationStateResponse) XXX_Merge

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

func (*QueryDelegationStateResponse) XXX_Size

func (m *QueryDelegationStateResponse) XXX_Size() int

func (*QueryDelegationStateResponse) XXX_Unmarshal

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

type QueryDelegatorUnbondingEpochEntryRequest

type QueryDelegatorUnbondingEpochEntryRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	EpochNumber      int64  `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
}

QueryDelegatorUnbondingEpochEntryRequest is a request for the Query/DelegatorUnbondingEpochEntry methods.

func (*QueryDelegatorUnbondingEpochEntryRequest) Descriptor

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

func (*QueryDelegatorUnbondingEpochEntryRequest) GetDelegatorAddress

func (m *QueryDelegatorUnbondingEpochEntryRequest) GetDelegatorAddress() string

func (*QueryDelegatorUnbondingEpochEntryRequest) GetEpochNumber

func (m *QueryDelegatorUnbondingEpochEntryRequest) GetEpochNumber() int64

func (*QueryDelegatorUnbondingEpochEntryRequest) Marshal

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

func (*QueryDelegatorUnbondingEpochEntryRequest) MarshalTo

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

func (*QueryDelegatorUnbondingEpochEntryRequest) MarshalToSizedBuffer

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

func (*QueryDelegatorUnbondingEpochEntryRequest) ProtoMessage

func (*QueryDelegatorUnbondingEpochEntryRequest) Reset

func (*QueryDelegatorUnbondingEpochEntryRequest) Size

func (*QueryDelegatorUnbondingEpochEntryRequest) String

func (*QueryDelegatorUnbondingEpochEntryRequest) Unmarshal

func (*QueryDelegatorUnbondingEpochEntryRequest) XXX_DiscardUnknown

func (m *QueryDelegatorUnbondingEpochEntryRequest) XXX_DiscardUnknown()

func (*QueryDelegatorUnbondingEpochEntryRequest) XXX_Marshal

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

func (*QueryDelegatorUnbondingEpochEntryRequest) XXX_Merge

func (*QueryDelegatorUnbondingEpochEntryRequest) XXX_Size

func (*QueryDelegatorUnbondingEpochEntryRequest) XXX_Unmarshal

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

type QueryDelegatorUnbondingEpochEntryResponse

type QueryDelegatorUnbondingEpochEntryResponse struct {
	DelegatorUnbodingEpochEntry DelegatorUnbondingEpochEntry `` /* 136-byte string literal not displayed */
}

QueryDelegatorUnbondingEpochEntryResponse is a response for the Query/DelegatorUnbondingEpochEntry methods.

func (*QueryDelegatorUnbondingEpochEntryResponse) Descriptor

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

func (*QueryDelegatorUnbondingEpochEntryResponse) GetDelegatorUnbodingEpochEntry

func (m *QueryDelegatorUnbondingEpochEntryResponse) GetDelegatorUnbodingEpochEntry() DelegatorUnbondingEpochEntry

func (*QueryDelegatorUnbondingEpochEntryResponse) Marshal

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

func (*QueryDelegatorUnbondingEpochEntryResponse) MarshalTo

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

func (*QueryDelegatorUnbondingEpochEntryResponse) MarshalToSizedBuffer

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

func (*QueryDelegatorUnbondingEpochEntryResponse) ProtoMessage

func (*QueryDelegatorUnbondingEpochEntryResponse) Reset

func (*QueryDelegatorUnbondingEpochEntryResponse) Size

func (*QueryDelegatorUnbondingEpochEntryResponse) String

func (*QueryDelegatorUnbondingEpochEntryResponse) Unmarshal

func (*QueryDelegatorUnbondingEpochEntryResponse) XXX_DiscardUnknown

func (m *QueryDelegatorUnbondingEpochEntryResponse) XXX_DiscardUnknown()

func (*QueryDelegatorUnbondingEpochEntryResponse) XXX_Marshal

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

func (*QueryDelegatorUnbondingEpochEntryResponse) XXX_Merge

func (*QueryDelegatorUnbondingEpochEntryResponse) XXX_Size

func (*QueryDelegatorUnbondingEpochEntryResponse) XXX_Unmarshal

type QueryDepositModuleAccountRequest

type QueryDepositModuleAccountRequest struct {
}

QueryDepositModuleAccountRequest is a request for the Query/DepositModuleAccount methods.

func (*QueryDepositModuleAccountRequest) Descriptor

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

func (*QueryDepositModuleAccountRequest) Marshal

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

func (*QueryDepositModuleAccountRequest) MarshalTo

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

func (*QueryDepositModuleAccountRequest) MarshalToSizedBuffer

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

func (*QueryDepositModuleAccountRequest) ProtoMessage

func (*QueryDepositModuleAccountRequest) ProtoMessage()

func (*QueryDepositModuleAccountRequest) Reset

func (*QueryDepositModuleAccountRequest) Size

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

func (*QueryDepositModuleAccountRequest) String

func (*QueryDepositModuleAccountRequest) Unmarshal

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

func (*QueryDepositModuleAccountRequest) XXX_DiscardUnknown

func (m *QueryDepositModuleAccountRequest) XXX_DiscardUnknown()

func (*QueryDepositModuleAccountRequest) XXX_Marshal

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

func (*QueryDepositModuleAccountRequest) XXX_Merge

func (*QueryDepositModuleAccountRequest) XXX_Size

func (m *QueryDepositModuleAccountRequest) XXX_Size() int

func (*QueryDepositModuleAccountRequest) XXX_Unmarshal

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

type QueryDepositModuleAccountResponse

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

QueryDepositModuleAccountResponse is a response for the Query/DepositModuleAccount methods.

func (*QueryDepositModuleAccountResponse) Descriptor

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

func (*QueryDepositModuleAccountResponse) GetBalance

func (*QueryDepositModuleAccountResponse) Marshal

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

func (*QueryDepositModuleAccountResponse) MarshalTo

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

func (*QueryDepositModuleAccountResponse) MarshalToSizedBuffer

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

func (*QueryDepositModuleAccountResponse) ProtoMessage

func (*QueryDepositModuleAccountResponse) ProtoMessage()

func (*QueryDepositModuleAccountResponse) Reset

func (*QueryDepositModuleAccountResponse) Size

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

func (*QueryDepositModuleAccountResponse) String

func (*QueryDepositModuleAccountResponse) Unmarshal

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

func (*QueryDepositModuleAccountResponse) XXX_DiscardUnknown

func (m *QueryDepositModuleAccountResponse) XXX_DiscardUnknown()

func (*QueryDepositModuleAccountResponse) XXX_Marshal

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

func (*QueryDepositModuleAccountResponse) XXX_Merge

func (*QueryDepositModuleAccountResponse) XXX_Size

func (m *QueryDepositModuleAccountResponse) XXX_Size() int

func (*QueryDepositModuleAccountResponse) XXX_Unmarshal

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

type QueryFailedUnbondingsRequest

type QueryFailedUnbondingsRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryFailedUnbondingsRequest is a request for the Query/FailedUnbondings methods.

func (*QueryFailedUnbondingsRequest) Descriptor

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

func (*QueryFailedUnbondingsRequest) GetDelegatorAddress

func (m *QueryFailedUnbondingsRequest) GetDelegatorAddress() string

func (*QueryFailedUnbondingsRequest) Marshal

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

func (*QueryFailedUnbondingsRequest) MarshalTo

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

func (*QueryFailedUnbondingsRequest) MarshalToSizedBuffer

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

func (*QueryFailedUnbondingsRequest) ProtoMessage

func (*QueryFailedUnbondingsRequest) ProtoMessage()

func (*QueryFailedUnbondingsRequest) Reset

func (m *QueryFailedUnbondingsRequest) Reset()

func (*QueryFailedUnbondingsRequest) Size

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

func (*QueryFailedUnbondingsRequest) String

func (*QueryFailedUnbondingsRequest) Unmarshal

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

func (*QueryFailedUnbondingsRequest) XXX_DiscardUnknown

func (m *QueryFailedUnbondingsRequest) XXX_DiscardUnknown()

func (*QueryFailedUnbondingsRequest) XXX_Marshal

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

func (*QueryFailedUnbondingsRequest) XXX_Merge

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

func (*QueryFailedUnbondingsRequest) XXX_Size

func (m *QueryFailedUnbondingsRequest) XXX_Size() int

func (*QueryFailedUnbondingsRequest) XXX_Unmarshal

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

type QueryFailedUnbondingsResponse

type QueryFailedUnbondingsResponse struct {
	FailedUnbondings []UnbondingEpochCValue `protobuf:"bytes,1,rep,name=failed_unbondings,json=failedUnbondings,proto3" json:"failed_unbondings"`
}

QueryFailedUnbondingsResponse a response for the Query/FailedUnbondings methods.

func (*QueryFailedUnbondingsResponse) Descriptor

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

func (*QueryFailedUnbondingsResponse) GetFailedUnbondings

func (m *QueryFailedUnbondingsResponse) GetFailedUnbondings() []UnbondingEpochCValue

func (*QueryFailedUnbondingsResponse) Marshal

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

func (*QueryFailedUnbondingsResponse) MarshalTo

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

func (*QueryFailedUnbondingsResponse) MarshalToSizedBuffer

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

func (*QueryFailedUnbondingsResponse) ProtoMessage

func (*QueryFailedUnbondingsResponse) ProtoMessage()

func (*QueryFailedUnbondingsResponse) Reset

func (m *QueryFailedUnbondingsResponse) Reset()

func (*QueryFailedUnbondingsResponse) Size

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

func (*QueryFailedUnbondingsResponse) String

func (*QueryFailedUnbondingsResponse) Unmarshal

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

func (*QueryFailedUnbondingsResponse) XXX_DiscardUnknown

func (m *QueryFailedUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryFailedUnbondingsResponse) XXX_Marshal

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

func (*QueryFailedUnbondingsResponse) XXX_Merge

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

func (*QueryFailedUnbondingsResponse) XXX_Size

func (m *QueryFailedUnbondingsResponse) XXX_Size() int

func (*QueryFailedUnbondingsResponse) XXX_Unmarshal

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

type QueryHostAccountUndelegationRequest

type QueryHostAccountUndelegationRequest struct {
	EpochNumber int64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
}

QueryHostAccountUndelegationRequest is a request for the Query/HostAccountUndelegation methods.

func (*QueryHostAccountUndelegationRequest) Descriptor

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

func (*QueryHostAccountUndelegationRequest) GetEpochNumber

func (m *QueryHostAccountUndelegationRequest) GetEpochNumber() int64

func (*QueryHostAccountUndelegationRequest) Marshal

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

func (*QueryHostAccountUndelegationRequest) MarshalTo

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

func (*QueryHostAccountUndelegationRequest) MarshalToSizedBuffer

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

func (*QueryHostAccountUndelegationRequest) ProtoMessage

func (*QueryHostAccountUndelegationRequest) ProtoMessage()

func (*QueryHostAccountUndelegationRequest) Reset

func (*QueryHostAccountUndelegationRequest) Size

func (*QueryHostAccountUndelegationRequest) String

func (*QueryHostAccountUndelegationRequest) Unmarshal

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

func (*QueryHostAccountUndelegationRequest) XXX_DiscardUnknown

func (m *QueryHostAccountUndelegationRequest) XXX_DiscardUnknown()

func (*QueryHostAccountUndelegationRequest) XXX_Marshal

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

func (*QueryHostAccountUndelegationRequest) XXX_Merge

func (*QueryHostAccountUndelegationRequest) XXX_Size

func (*QueryHostAccountUndelegationRequest) XXX_Unmarshal

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

type QueryHostAccountUndelegationResponse

type QueryHostAccountUndelegationResponse struct {
	HostAccountUndelegation HostAccountUndelegation `protobuf:"bytes,1,opt,name=host_account_undelegation,json=hostAccountUndelegation,proto3" json:"host_account_undelegation"`
}

QueryHostAccountUndelegationResponse is a response for the Query/HostAccountUndelegation methods.

func (*QueryHostAccountUndelegationResponse) Descriptor

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

func (*QueryHostAccountUndelegationResponse) GetHostAccountUndelegation

func (m *QueryHostAccountUndelegationResponse) GetHostAccountUndelegation() HostAccountUndelegation

func (*QueryHostAccountUndelegationResponse) Marshal

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

func (*QueryHostAccountUndelegationResponse) MarshalTo

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

func (*QueryHostAccountUndelegationResponse) MarshalToSizedBuffer

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

func (*QueryHostAccountUndelegationResponse) ProtoMessage

func (*QueryHostAccountUndelegationResponse) ProtoMessage()

func (*QueryHostAccountUndelegationResponse) Reset

func (*QueryHostAccountUndelegationResponse) Size

func (*QueryHostAccountUndelegationResponse) String

func (*QueryHostAccountUndelegationResponse) Unmarshal

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

func (*QueryHostAccountUndelegationResponse) XXX_DiscardUnknown

func (m *QueryHostAccountUndelegationResponse) XXX_DiscardUnknown()

func (*QueryHostAccountUndelegationResponse) XXX_Marshal

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

func (*QueryHostAccountUndelegationResponse) XXX_Merge

func (*QueryHostAccountUndelegationResponse) XXX_Size

func (*QueryHostAccountUndelegationResponse) XXX_Unmarshal

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

type QueryHostAccountsRequest

type QueryHostAccountsRequest struct {
}

QueryHostAccountsRequest is a request for the Query/HostAccounts methods.

func (*QueryHostAccountsRequest) Descriptor

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

func (*QueryHostAccountsRequest) Marshal

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

func (*QueryHostAccountsRequest) MarshalTo

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

func (*QueryHostAccountsRequest) MarshalToSizedBuffer

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

func (*QueryHostAccountsRequest) ProtoMessage

func (*QueryHostAccountsRequest) ProtoMessage()

func (*QueryHostAccountsRequest) Reset

func (m *QueryHostAccountsRequest) Reset()

func (*QueryHostAccountsRequest) Size

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

func (*QueryHostAccountsRequest) String

func (m *QueryHostAccountsRequest) String() string

func (*QueryHostAccountsRequest) Unmarshal

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

func (*QueryHostAccountsRequest) XXX_DiscardUnknown

func (m *QueryHostAccountsRequest) XXX_DiscardUnknown()

func (*QueryHostAccountsRequest) XXX_Marshal

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

func (*QueryHostAccountsRequest) XXX_Merge

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

func (*QueryHostAccountsRequest) XXX_Size

func (m *QueryHostAccountsRequest) XXX_Size() int

func (*QueryHostAccountsRequest) XXX_Unmarshal

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

type QueryHostAccountsResponse

type QueryHostAccountsResponse struct {
	HostAccounts HostAccounts `protobuf:"bytes,1,opt,name=host_accounts,json=hostAccounts,proto3" json:"host_accounts"`
}

QueryHostAccountsResponse is a response for the Query/HostAccounts methods.

func (*QueryHostAccountsResponse) Descriptor

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

func (*QueryHostAccountsResponse) GetHostAccounts

func (m *QueryHostAccountsResponse) GetHostAccounts() HostAccounts

func (*QueryHostAccountsResponse) Marshal

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

func (*QueryHostAccountsResponse) MarshalTo

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

func (*QueryHostAccountsResponse) MarshalToSizedBuffer

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

func (*QueryHostAccountsResponse) ProtoMessage

func (*QueryHostAccountsResponse) ProtoMessage()

func (*QueryHostAccountsResponse) Reset

func (m *QueryHostAccountsResponse) Reset()

func (*QueryHostAccountsResponse) Size

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

func (*QueryHostAccountsResponse) String

func (m *QueryHostAccountsResponse) String() string

func (*QueryHostAccountsResponse) Unmarshal

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

func (*QueryHostAccountsResponse) XXX_DiscardUnknown

func (m *QueryHostAccountsResponse) XXX_DiscardUnknown()

func (*QueryHostAccountsResponse) XXX_Marshal

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

func (*QueryHostAccountsResponse) XXX_Merge

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

func (*QueryHostAccountsResponse) XXX_Size

func (m *QueryHostAccountsResponse) XXX_Size() int

func (*QueryHostAccountsResponse) XXX_Unmarshal

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

type QueryHostChainParamsRequest

type QueryHostChainParamsRequest struct {
}

QueryHostChainParamsRequest is request for the Ouery/HostChainParams methods.

func (*QueryHostChainParamsRequest) Descriptor

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

func (*QueryHostChainParamsRequest) Marshal

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

func (*QueryHostChainParamsRequest) MarshalTo

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

func (*QueryHostChainParamsRequest) MarshalToSizedBuffer

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

func (*QueryHostChainParamsRequest) ProtoMessage

func (*QueryHostChainParamsRequest) ProtoMessage()

func (*QueryHostChainParamsRequest) Reset

func (m *QueryHostChainParamsRequest) Reset()

func (*QueryHostChainParamsRequest) Size

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

func (*QueryHostChainParamsRequest) String

func (m *QueryHostChainParamsRequest) String() string

func (*QueryHostChainParamsRequest) Unmarshal

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

func (*QueryHostChainParamsRequest) XXX_DiscardUnknown

func (m *QueryHostChainParamsRequest) XXX_DiscardUnknown()

func (*QueryHostChainParamsRequest) XXX_Marshal

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

func (*QueryHostChainParamsRequest) XXX_Merge

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

func (*QueryHostChainParamsRequest) XXX_Size

func (m *QueryHostChainParamsRequest) XXX_Size() int

func (*QueryHostChainParamsRequest) XXX_Unmarshal

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

type QueryHostChainParamsResponse

type QueryHostChainParamsResponse struct {
	HostChainParams HostChainParams `protobuf:"bytes,1,opt,name=host_chain_params,json=hostChainParams,proto3" json:"host_chain_params"`
}

QueryHostChainParamsResponse is response for the Ouery/HostChainParams methods.

func (*QueryHostChainParamsResponse) Descriptor

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

func (*QueryHostChainParamsResponse) GetHostChainParams

func (m *QueryHostChainParamsResponse) GetHostChainParams() HostChainParams

func (*QueryHostChainParamsResponse) Marshal

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

func (*QueryHostChainParamsResponse) MarshalTo

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

func (*QueryHostChainParamsResponse) MarshalToSizedBuffer

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

func (*QueryHostChainParamsResponse) ProtoMessage

func (*QueryHostChainParamsResponse) ProtoMessage()

func (*QueryHostChainParamsResponse) Reset

func (m *QueryHostChainParamsResponse) Reset()

func (*QueryHostChainParamsResponse) Size

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

func (*QueryHostChainParamsResponse) String

func (*QueryHostChainParamsResponse) Unmarshal

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

func (*QueryHostChainParamsResponse) XXX_DiscardUnknown

func (m *QueryHostChainParamsResponse) XXX_DiscardUnknown()

func (*QueryHostChainParamsResponse) XXX_Marshal

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

func (*QueryHostChainParamsResponse) XXX_Merge

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

func (*QueryHostChainParamsResponse) XXX_Size

func (m *QueryHostChainParamsResponse) XXX_Size() int

func (*QueryHostChainParamsResponse) XXX_Unmarshal

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

type QueryIBCTransientStoreRequest

type QueryIBCTransientStoreRequest struct {
}

QueryIBCTransientStoreRequest is a request for the Query/IBCTransientStore methods.

func (*QueryIBCTransientStoreRequest) Descriptor

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

func (*QueryIBCTransientStoreRequest) Marshal

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

func (*QueryIBCTransientStoreRequest) MarshalTo

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

func (*QueryIBCTransientStoreRequest) MarshalToSizedBuffer

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

func (*QueryIBCTransientStoreRequest) ProtoMessage

func (*QueryIBCTransientStoreRequest) ProtoMessage()

func (*QueryIBCTransientStoreRequest) Reset

func (m *QueryIBCTransientStoreRequest) Reset()

func (*QueryIBCTransientStoreRequest) Size

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

func (*QueryIBCTransientStoreRequest) String

func (*QueryIBCTransientStoreRequest) Unmarshal

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

func (*QueryIBCTransientStoreRequest) XXX_DiscardUnknown

func (m *QueryIBCTransientStoreRequest) XXX_DiscardUnknown()

func (*QueryIBCTransientStoreRequest) XXX_Marshal

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

func (*QueryIBCTransientStoreRequest) XXX_Merge

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

func (*QueryIBCTransientStoreRequest) XXX_Size

func (m *QueryIBCTransientStoreRequest) XXX_Size() int

func (*QueryIBCTransientStoreRequest) XXX_Unmarshal

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

type QueryIBCTransientStoreResponse

type QueryIBCTransientStoreResponse struct {
	IBCTransientStore IBCAmountTransientStore `protobuf:"bytes,1,opt,name=i_b_c_transient_store,json=iBCTransientStore,proto3" json:"i_b_c_transient_store"`
}

QueryIBCTransientStoreRequest is a response for the Query/IBCTransientStore methods.

func (*QueryIBCTransientStoreResponse) Descriptor

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

func (*QueryIBCTransientStoreResponse) GetIBCTransientStore

func (m *QueryIBCTransientStoreResponse) GetIBCTransientStore() IBCAmountTransientStore

func (*QueryIBCTransientStoreResponse) Marshal

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

func (*QueryIBCTransientStoreResponse) MarshalTo

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

func (*QueryIBCTransientStoreResponse) MarshalToSizedBuffer

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

func (*QueryIBCTransientStoreResponse) ProtoMessage

func (*QueryIBCTransientStoreResponse) ProtoMessage()

func (*QueryIBCTransientStoreResponse) Reset

func (m *QueryIBCTransientStoreResponse) Reset()

func (*QueryIBCTransientStoreResponse) Size

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

func (*QueryIBCTransientStoreResponse) String

func (*QueryIBCTransientStoreResponse) Unmarshal

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

func (*QueryIBCTransientStoreResponse) XXX_DiscardUnknown

func (m *QueryIBCTransientStoreResponse) XXX_DiscardUnknown()

func (*QueryIBCTransientStoreResponse) XXX_Marshal

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

func (*QueryIBCTransientStoreResponse) XXX_Merge

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

func (*QueryIBCTransientStoreResponse) XXX_Size

func (m *QueryIBCTransientStoreResponse) XXX_Size() int

func (*QueryIBCTransientStoreResponse) XXX_Unmarshal

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

type QueryModuleStateRequest

type QueryModuleStateRequest struct {
}

QueryModuleStateRequest is a request for the Query/ModuleState methods.

func (*QueryModuleStateRequest) Descriptor

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

func (*QueryModuleStateRequest) Marshal

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

func (*QueryModuleStateRequest) MarshalTo

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

func (*QueryModuleStateRequest) MarshalToSizedBuffer

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

func (*QueryModuleStateRequest) ProtoMessage

func (*QueryModuleStateRequest) ProtoMessage()

func (*QueryModuleStateRequest) Reset

func (m *QueryModuleStateRequest) Reset()

func (*QueryModuleStateRequest) Size

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

func (*QueryModuleStateRequest) String

func (m *QueryModuleStateRequest) String() string

func (*QueryModuleStateRequest) Unmarshal

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

func (*QueryModuleStateRequest) XXX_DiscardUnknown

func (m *QueryModuleStateRequest) XXX_DiscardUnknown()

func (*QueryModuleStateRequest) XXX_Marshal

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

func (*QueryModuleStateRequest) XXX_Merge

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

func (*QueryModuleStateRequest) XXX_Size

func (m *QueryModuleStateRequest) XXX_Size() int

func (*QueryModuleStateRequest) XXX_Unmarshal

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

type QueryModuleStateResponse

type QueryModuleStateResponse struct {
	ModuleState bool `protobuf:"varint,1,opt,name=module_state,json=moduleState,proto3" json:"module_state,omitempty"`
}

QueryModuleStateRequest is a response for the Query/ModuleState methods.

func (*QueryModuleStateResponse) Descriptor

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

func (*QueryModuleStateResponse) GetModuleState

func (m *QueryModuleStateResponse) GetModuleState() bool

func (*QueryModuleStateResponse) Marshal

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

func (*QueryModuleStateResponse) MarshalTo

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

func (*QueryModuleStateResponse) MarshalToSizedBuffer

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

func (*QueryModuleStateResponse) ProtoMessage

func (*QueryModuleStateResponse) ProtoMessage()

func (*QueryModuleStateResponse) Reset

func (m *QueryModuleStateResponse) Reset()

func (*QueryModuleStateResponse) Size

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

func (*QueryModuleStateResponse) String

func (m *QueryModuleStateResponse) String() string

func (*QueryModuleStateResponse) Unmarshal

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

func (*QueryModuleStateResponse) XXX_DiscardUnknown

func (m *QueryModuleStateResponse) XXX_DiscardUnknown()

func (*QueryModuleStateResponse) XXX_Marshal

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

func (*QueryModuleStateResponse) XXX_Merge

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

func (*QueryModuleStateResponse) XXX_Size

func (m *QueryModuleStateResponse) XXX_Size() int

func (*QueryModuleStateResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

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 holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

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 QueryPendingUnbondingsRequest

type QueryPendingUnbondingsRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryPendingUnbondingsRequest is a request for the Query/PendingUnbondings methods.

func (*QueryPendingUnbondingsRequest) Descriptor

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

func (*QueryPendingUnbondingsRequest) GetDelegatorAddress

func (m *QueryPendingUnbondingsRequest) GetDelegatorAddress() string

func (*QueryPendingUnbondingsRequest) Marshal

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

func (*QueryPendingUnbondingsRequest) MarshalTo

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

func (*QueryPendingUnbondingsRequest) MarshalToSizedBuffer

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

func (*QueryPendingUnbondingsRequest) ProtoMessage

func (*QueryPendingUnbondingsRequest) ProtoMessage()

func (*QueryPendingUnbondingsRequest) Reset

func (m *QueryPendingUnbondingsRequest) Reset()

func (*QueryPendingUnbondingsRequest) Size

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

func (*QueryPendingUnbondingsRequest) String

func (*QueryPendingUnbondingsRequest) Unmarshal

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

func (*QueryPendingUnbondingsRequest) XXX_DiscardUnknown

func (m *QueryPendingUnbondingsRequest) XXX_DiscardUnknown()

func (*QueryPendingUnbondingsRequest) XXX_Marshal

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

func (*QueryPendingUnbondingsRequest) XXX_Merge

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

func (*QueryPendingUnbondingsRequest) XXX_Size

func (m *QueryPendingUnbondingsRequest) XXX_Size() int

func (*QueryPendingUnbondingsRequest) XXX_Unmarshal

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

type QueryPendingUnbondingsResponse

type QueryPendingUnbondingsResponse struct {
	PendingUnbondings []UnbondingEpochCValue `protobuf:"bytes,1,rep,name=pending_unbondings,json=pendingUnbondings,proto3" json:"pending_unbondings"`
}

QueryPendingUnbondingsResponse is a response for the Query/PendingUnbondings methods.

func (*QueryPendingUnbondingsResponse) Descriptor

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

func (*QueryPendingUnbondingsResponse) GetPendingUnbondings

func (m *QueryPendingUnbondingsResponse) GetPendingUnbondings() []UnbondingEpochCValue

func (*QueryPendingUnbondingsResponse) Marshal

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

func (*QueryPendingUnbondingsResponse) MarshalTo

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

func (*QueryPendingUnbondingsResponse) MarshalToSizedBuffer

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

func (*QueryPendingUnbondingsResponse) ProtoMessage

func (*QueryPendingUnbondingsResponse) ProtoMessage()

func (*QueryPendingUnbondingsResponse) Reset

func (m *QueryPendingUnbondingsResponse) Reset()

func (*QueryPendingUnbondingsResponse) Size

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

func (*QueryPendingUnbondingsResponse) String

func (*QueryPendingUnbondingsResponse) Unmarshal

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

func (*QueryPendingUnbondingsResponse) XXX_DiscardUnknown

func (m *QueryPendingUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryPendingUnbondingsResponse) XXX_Marshal

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

func (*QueryPendingUnbondingsResponse) XXX_Merge

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

func (*QueryPendingUnbondingsResponse) XXX_Size

func (m *QueryPendingUnbondingsResponse) XXX_Size() int

func (*QueryPendingUnbondingsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	HostChainParams(context.Context, *QueryHostChainParamsRequest) (*QueryHostChainParamsResponse, error)
	DelegationState(context.Context, *QueryDelegationStateRequest) (*QueryDelegationStateResponse, error)
	AllowListedValidators(context.Context, *QueryAllowListedValidatorsRequest) (*QueryAllowListedValidatorsResponse, error)
	CValue(context.Context, *QueryCValueRequest) (*QueryCValueResponse, error)
	ModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
	IBCTransientStore(context.Context, *QueryIBCTransientStoreRequest) (*QueryIBCTransientStoreResponse, error)
	Unclaimed(context.Context, *QueryUnclaimedRequest) (*QueryUnclaimedResponse, error)
	FailedUnbondings(context.Context, *QueryFailedUnbondingsRequest) (*QueryFailedUnbondingsResponse, error)
	PendingUnbondings(context.Context, *QueryPendingUnbondingsRequest) (*QueryPendingUnbondingsResponse, error)
	UnbondingEpochCValue(context.Context, *QueryUnbondingEpochCValueRequest) (*QueryUnbondingEpochCValueResponse, error)
	HostAccountUndelegation(context.Context, *QueryHostAccountUndelegationRequest) (*QueryHostAccountUndelegationResponse, error)
	DelegatorUnbondingEpochEntry(context.Context, *QueryDelegatorUnbondingEpochEntryRequest) (*QueryDelegatorUnbondingEpochEntryResponse, error)
	HostAccounts(context.Context, *QueryHostAccountsRequest) (*QueryHostAccountsResponse, error)
	DepositModuleAccount(context.Context, *QueryDepositModuleAccountRequest) (*QueryDepositModuleAccountResponse, error)
	DelegatorUnbondingEpochEntries(context.Context, *QueryAllDelegatorUnbondingEpochEntriesRequest) (*QueryAllDelegatorUnbondingEpochEntriesResponse, error)
}

QueryServer is the server API for Query service.

type QueryUnbondingEpochCValueRequest

type QueryUnbondingEpochCValueRequest struct {
	EpochNumber int64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
}

QueryUnbondingEpochCValueRequest is a request for the Query/UnbondingEpochCValue methods.

func (*QueryUnbondingEpochCValueRequest) Descriptor

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

func (*QueryUnbondingEpochCValueRequest) GetEpochNumber

func (m *QueryUnbondingEpochCValueRequest) GetEpochNumber() int64

func (*QueryUnbondingEpochCValueRequest) Marshal

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

func (*QueryUnbondingEpochCValueRequest) MarshalTo

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

func (*QueryUnbondingEpochCValueRequest) MarshalToSizedBuffer

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

func (*QueryUnbondingEpochCValueRequest) ProtoMessage

func (*QueryUnbondingEpochCValueRequest) ProtoMessage()

func (*QueryUnbondingEpochCValueRequest) Reset

func (*QueryUnbondingEpochCValueRequest) Size

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

func (*QueryUnbondingEpochCValueRequest) String

func (*QueryUnbondingEpochCValueRequest) Unmarshal

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

func (*QueryUnbondingEpochCValueRequest) XXX_DiscardUnknown

func (m *QueryUnbondingEpochCValueRequest) XXX_DiscardUnknown()

func (*QueryUnbondingEpochCValueRequest) XXX_Marshal

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

func (*QueryUnbondingEpochCValueRequest) XXX_Merge

func (*QueryUnbondingEpochCValueRequest) XXX_Size

func (m *QueryUnbondingEpochCValueRequest) XXX_Size() int

func (*QueryUnbondingEpochCValueRequest) XXX_Unmarshal

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

type QueryUnbondingEpochCValueResponse

type QueryUnbondingEpochCValueResponse struct {
	UnbondingEpochCValue UnbondingEpochCValue `protobuf:"bytes,1,opt,name=unbonding_epoch_c_value,json=unbondingEpochCValue,proto3" json:"unbonding_epoch_c_value"`
}

QueryUnbondingEpochCValueResponse is a response for the Query/UnbondingEpochCValue methods.

func (*QueryUnbondingEpochCValueResponse) Descriptor

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

func (*QueryUnbondingEpochCValueResponse) GetUnbondingEpochCValue

func (m *QueryUnbondingEpochCValueResponse) GetUnbondingEpochCValue() UnbondingEpochCValue

func (*QueryUnbondingEpochCValueResponse) Marshal

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

func (*QueryUnbondingEpochCValueResponse) MarshalTo

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

func (*QueryUnbondingEpochCValueResponse) MarshalToSizedBuffer

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

func (*QueryUnbondingEpochCValueResponse) ProtoMessage

func (*QueryUnbondingEpochCValueResponse) ProtoMessage()

func (*QueryUnbondingEpochCValueResponse) Reset

func (*QueryUnbondingEpochCValueResponse) Size

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

func (*QueryUnbondingEpochCValueResponse) String

func (*QueryUnbondingEpochCValueResponse) Unmarshal

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

func (*QueryUnbondingEpochCValueResponse) XXX_DiscardUnknown

func (m *QueryUnbondingEpochCValueResponse) XXX_DiscardUnknown()

func (*QueryUnbondingEpochCValueResponse) XXX_Marshal

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

func (*QueryUnbondingEpochCValueResponse) XXX_Merge

func (*QueryUnbondingEpochCValueResponse) XXX_Size

func (m *QueryUnbondingEpochCValueResponse) XXX_Size() int

func (*QueryUnbondingEpochCValueResponse) XXX_Unmarshal

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

type QueryUnclaimedRequest

type QueryUnclaimedRequest struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
}

QueryUnclaimedRequest is a request for the Query/Unclaimed methods.

func (*QueryUnclaimedRequest) Descriptor

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

func (*QueryUnclaimedRequest) GetDelegatorAddress

func (m *QueryUnclaimedRequest) GetDelegatorAddress() string

func (*QueryUnclaimedRequest) Marshal

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

func (*QueryUnclaimedRequest) MarshalTo

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

func (*QueryUnclaimedRequest) MarshalToSizedBuffer

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

func (*QueryUnclaimedRequest) ProtoMessage

func (*QueryUnclaimedRequest) ProtoMessage()

func (*QueryUnclaimedRequest) Reset

func (m *QueryUnclaimedRequest) Reset()

func (*QueryUnclaimedRequest) Size

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

func (*QueryUnclaimedRequest) String

func (m *QueryUnclaimedRequest) String() string

func (*QueryUnclaimedRequest) Unmarshal

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

func (*QueryUnclaimedRequest) XXX_DiscardUnknown

func (m *QueryUnclaimedRequest) XXX_DiscardUnknown()

func (*QueryUnclaimedRequest) XXX_Marshal

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

func (*QueryUnclaimedRequest) XXX_Merge

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

func (*QueryUnclaimedRequest) XXX_Size

func (m *QueryUnclaimedRequest) XXX_Size() int

func (*QueryUnclaimedRequest) XXX_Unmarshal

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

type QueryUnclaimedResponse

type QueryUnclaimedResponse struct {
	Unclaimed []UnbondingEpochCValue `protobuf:"bytes,1,rep,name=unclaimed,proto3" json:"unclaimed"`
}

QueryUnclaimedResponse is a response for the Query/Unclaimed methods.

func (*QueryUnclaimedResponse) Descriptor

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

func (*QueryUnclaimedResponse) GetUnclaimed

func (m *QueryUnclaimedResponse) GetUnclaimed() []UnbondingEpochCValue

func (*QueryUnclaimedResponse) Marshal

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

func (*QueryUnclaimedResponse) MarshalTo

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

func (*QueryUnclaimedResponse) MarshalToSizedBuffer

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

func (*QueryUnclaimedResponse) ProtoMessage

func (*QueryUnclaimedResponse) ProtoMessage()

func (*QueryUnclaimedResponse) Reset

func (m *QueryUnclaimedResponse) Reset()

func (*QueryUnclaimedResponse) Size

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

func (*QueryUnclaimedResponse) String

func (m *QueryUnclaimedResponse) String() string

func (*QueryUnclaimedResponse) Unmarshal

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

func (*QueryUnclaimedResponse) XXX_DiscardUnknown

func (m *QueryUnclaimedResponse) XXX_DiscardUnknown()

func (*QueryUnclaimedResponse) XXX_Marshal

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

func (*QueryUnclaimedResponse) XXX_Merge

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

func (*QueryUnclaimedResponse) XXX_Size

func (m *QueryUnclaimedResponse) XXX_Size() int

func (*QueryUnclaimedResponse) XXX_Unmarshal

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

type ScopedKeeper

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

ScopedKeeper defines the expected IBC scoped keeper

type TransientUndelegationTransfer

type TransientUndelegationTransfer struct {
	EpochNumber    int64      `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	AmountUnbonded types.Coin `protobuf:"bytes,2,opt,name=amount_unbonded,json=amountUnbonded,proto3" json:"amount_unbonded"`
}

func (*TransientUndelegationTransfer) Descriptor

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

func (*TransientUndelegationTransfer) Equal

func (this *TransientUndelegationTransfer) Equal(that interface{}) bool

func (*TransientUndelegationTransfer) Marshal

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

func (*TransientUndelegationTransfer) MarshalTo

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

func (*TransientUndelegationTransfer) MarshalToSizedBuffer

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

func (*TransientUndelegationTransfer) ProtoMessage

func (*TransientUndelegationTransfer) ProtoMessage()

func (*TransientUndelegationTransfer) Reset

func (m *TransientUndelegationTransfer) Reset()

func (*TransientUndelegationTransfer) Size

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

func (*TransientUndelegationTransfer) String

func (*TransientUndelegationTransfer) Unmarshal

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

func (*TransientUndelegationTransfer) XXX_DiscardUnknown

func (m *TransientUndelegationTransfer) XXX_DiscardUnknown()

func (*TransientUndelegationTransfer) XXX_Marshal

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

func (*TransientUndelegationTransfer) XXX_Merge

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

func (*TransientUndelegationTransfer) XXX_Size

func (m *TransientUndelegationTransfer) XXX_Size() int

func (*TransientUndelegationTransfer) XXX_Unmarshal

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

type UnbondingEpochCValue

type UnbondingEpochCValue struct {
	EpochNumber int64 `protobuf:"varint,1,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	// c_value = stk_burn.Amount/amount_unbonded.Amount
	STKBurn        types.Coin `protobuf:"bytes,2,opt,name=s_t_k_burn,json=sTKBurn,proto3" json:"s_t_k_burn"`
	AmountUnbonded types.Coin `protobuf:"bytes,3,opt,name=amount_unbonded,json=amountUnbonded,proto3" json:"amount_unbonded"`
	IsMatured      bool       `protobuf:"varint,4,opt,name=is_matured,json=isMatured,proto3" json:"is_matured,omitempty"`
	IsFailed       bool       `protobuf:"varint,5,opt,name=is_failed,json=isFailed,proto3" json:"is_failed,omitempty"`
}

func (*UnbondingEpochCValue) Descriptor

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

func (*UnbondingEpochCValue) Equal

func (this *UnbondingEpochCValue) Equal(that interface{}) bool

func (*UnbondingEpochCValue) GetUnbondingEpochCValue

func (uec *UnbondingEpochCValue) GetUnbondingEpochCValue() sdk.Dec

GetUnbondingEpochCValue returns the calculated c value from the UnbondingEpochCValue struct entries.

func (*UnbondingEpochCValue) Marshal

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

func (*UnbondingEpochCValue) MarshalTo

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

func (*UnbondingEpochCValue) MarshalToSizedBuffer

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

func (*UnbondingEpochCValue) ProtoMessage

func (*UnbondingEpochCValue) ProtoMessage()

func (*UnbondingEpochCValue) Reset

func (m *UnbondingEpochCValue) Reset()

func (*UnbondingEpochCValue) Size

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

func (*UnbondingEpochCValue) String

func (m *UnbondingEpochCValue) String() string

func (*UnbondingEpochCValue) Unmarshal

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

func (*UnbondingEpochCValue) XXX_DiscardUnknown

func (m *UnbondingEpochCValue) XXX_DiscardUnknown()

func (*UnbondingEpochCValue) XXX_Marshal

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

func (*UnbondingEpochCValue) XXX_Merge

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

func (*UnbondingEpochCValue) XXX_Size

func (m *UnbondingEpochCValue) XXX_Size() int

func (*UnbondingEpochCValue) XXX_Unmarshal

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

type UndelegationEntry

type UndelegationEntry struct {
	ValidatorAddress string     `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

func (*UndelegationEntry) Descriptor

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

func (*UndelegationEntry) Equal

func (this *UndelegationEntry) Equal(that interface{}) bool

func (*UndelegationEntry) Marshal

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

func (*UndelegationEntry) MarshalTo

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

func (*UndelegationEntry) MarshalToSizedBuffer

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

func (*UndelegationEntry) ProtoMessage

func (*UndelegationEntry) ProtoMessage()

func (*UndelegationEntry) Reset

func (m *UndelegationEntry) Reset()

func (*UndelegationEntry) Size

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

func (*UndelegationEntry) String

func (m *UndelegationEntry) String() string

func (*UndelegationEntry) Unmarshal

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

func (*UndelegationEntry) XXX_DiscardUnknown

func (m *UndelegationEntry) XXX_DiscardUnknown()

func (*UndelegationEntry) XXX_Marshal

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

func (*UndelegationEntry) XXX_Merge

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

func (*UndelegationEntry) XXX_Size

func (m *UndelegationEntry) XXX_Size() int

func (*UndelegationEntry) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ChangeModuleState

func (*UnimplementedMsgServer) Claim

func (*UnimplementedMsgServer) JumpStart

func (*UnimplementedMsgServer) LiquidStake

func (*UnimplementedMsgServer) LiquidUnstake

func (*UnimplementedMsgServer) RecreateICA

func (*UnimplementedMsgServer) Redeem

func (*UnimplementedMsgServer) ReportSlashing

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CValue

func (*UnimplementedQueryServer) DelegationState

func (*UnimplementedQueryServer) FailedUnbondings

func (*UnimplementedQueryServer) HostAccounts

func (*UnimplementedQueryServer) HostChainParams

func (*UnimplementedQueryServer) IBCTransientStore

func (*UnimplementedQueryServer) ModuleState

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PendingUnbondings

func (*UnimplementedQueryServer) Unclaimed

type ValAddressAmount

type ValAddressAmount struct {
	ValidatorAddr string
	Amount        sdk.Coin
}

ValAddressAmount defines validator address and it's corresponding amount

type ValAddressAmounts

type ValAddressAmounts []ValAddressAmount

func (ValAddressAmounts) Len

func (ws ValAddressAmounts) Len() int

func (ValAddressAmounts) Less

func (ws ValAddressAmounts) Less(i, j int) bool

func (ValAddressAmounts) Swap

func (ws ValAddressAmounts) Swap(i, j int)

type WeightedAddressAmount

type WeightedAddressAmount struct {
	Address         string
	Weight          sdk.Dec
	Amount          math.Int
	Denom           string
	UnbondingTokens sdk.Coin
}

WeightedAddressAmount defines address and their corresponding weight, amount, denom unbonding tokens

func NewWeightedAddressAmount

func NewWeightedAddressAmount(address string, weight sdk.Dec, coin sdk.Coin, unbondingTokens sdk.Coin) WeightedAddressAmount

NewWeightedAddressAmount returns WeightedAddressAmount struct populated with given details

func (WeightedAddressAmount) Coin

func (w WeightedAddressAmount) Coin() sdk.Coin

Coin returns the sdk.Coin amount from WeightedAddressAmount struct

type WeightedAddressAmounts

type WeightedAddressAmounts []WeightedAddressAmount

func GetZeroNonZeroWightedAddrAmts

func GetZeroNonZeroWightedAddrAmts(ws WeightedAddressAmounts) (zeroWeighted, nonZeroWeighted WeightedAddressAmounts)

GetZeroNonZeroWightedAddrAmts returns a list of WeightedAddressAmount zero weights and non zero weights elements

func NewWeightedAddressAmounts

func NewWeightedAddressAmounts(w []WeightedAddressAmount) WeightedAddressAmounts

NewWeightedAddressAmounts returns WeightedAddressAmounts array

func (WeightedAddressAmounts) GetZeroValued

GetZeroValued returns the list of WeightedAddressAmount with zero amount

func (WeightedAddressAmounts) GetZeroWeighted

func (ws WeightedAddressAmounts) GetZeroWeighted() WeightedAddressAmounts

GetZeroWeighted returns the list of WeightedAddressAmount with zero weights

func (WeightedAddressAmounts) Len

func (ws WeightedAddressAmounts) Len() int

func (WeightedAddressAmounts) Less

func (ws WeightedAddressAmounts) Less(i, j int) bool

func (WeightedAddressAmounts) Swap

func (ws WeightedAddressAmounts) Swap(i, j int)

func (WeightedAddressAmounts) TotalAmount

func (ws WeightedAddressAmounts) TotalAmount(denom string) sdk.Coin

TotalAmount returns the total amount for a given denom

Jump to

Keyboard shortcuts

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