types

package
v9.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout = "timeout"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"
)

Events

View Source
const (
	EventTypeRegisterZone       = "register_zone"
	EventTypeRedemptionRequest  = "request_redemption"
	EventTypeLiquidStakeRequest = "liquid_stake"
	EventTypeHostZoneHalt       = "halt_zone"

	AttributeKeyHostZone         = "host_zone"
	AttributeKeyConnectionId     = "connection_id"
	AttributeKeyRecipientChain   = "chain_id"
	AttributeKeyRecipientAddress = "recipient"
	AttributeKeyBurnAmount       = "burn_amount"
	AttributeKeyRedeemAmount     = "redeem_amount"
	AttributeKeySourceAddress    = "source"

	AttributeKeyRedemptionRate = "redemption_rate"

	AttributeKeyLiquidStaker    = "liquid_staker"
	AttributeKeyNativeBaseDenom = "native_base_denom"
	AttributeKeyNativeIBCDenom  = "native_ibc_denom"
	AttributeKeyNativeAmount    = "native_amount"
	AttributeKeyStTokenAmount   = "sttoken_amount"

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

	// 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_stakeibc"

	// Version defines the current version the IBC module supports
	Version = "stakeibc-1"

	// PortID is the default port id that module binds to
	PortID = "stakeibc"

	// fee account - F1
	FeeAccount = "stride1czvrk3jkvtj8m27kqsqu2yrkhw3h3ykwj3rxh6"

	RewardCollectorName = "reward_collector"
)
View Source
const (
	// Host zone keys prefix the HostZone structs
	HostZoneKey = "HostZone-value-"

	// EpochTrackerKeyPrefix is the prefix to retrieve all EpochTracker
	EpochTrackerKeyPrefix = "EpochTracker/value/"
)
View Source
const (
	MinNumRebalanceValidators = 1
	MaxNumRebalanceValidators = 1
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	ProposalTypeAddValidators = "AddValidators"
)
View Source
const TypeMsgAddValidators = "add_validators"
View Source
const TypeMsgChangeValidatorWeight = "change_validator_weight"
View Source
const TypeMsgClaimUndelegatedTokens = "claim_undelegated_tokens"
View Source
const TypeMsgClearBalance = "clear_balance"
View Source
const TypeMsgDeleteValidator = "delete_validator"
View Source
const TypeMsgLiquidStake = "liquid_stake"
View Source
const TypeMsgRebalanceValidators = "rebalance_validators"
View Source
const TypeMsgRedeemStake = "redeem_stake"
View Source
const TypeMsgRegisterHostZone = "register_host_zone"
View Source
const TypeMsgRestoreInterchainAccount = "register_interchain_account"
View Source
const TypeMsgUpdateValidatorSharesExchRate = "update_validator_shares_exch_rate"

Variables

View Source
var (
	ErrInvalidLengthAddressUnbonding        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAddressUnbonding          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAddressUnbonding = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCallbacks        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCallbacks          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCallbacks = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
var (
	ErrInvalidLengthEpochTracker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEpochTracker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEpochTracker = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidVersion                    = errorsmod.Register(ModuleName, 1501, "invalid version")
	ErrInvalidToken                      = errorsmod.Register(ModuleName, 1502, "invalid token denom")
	ErrInvalidHostZone                   = errorsmod.Register(ModuleName, 1503, "host zone not registered")
	ErrICAStake                          = errorsmod.Register(ModuleName, 1504, "ICA stake failed")
	ErrEpochNotFound                     = errorsmod.Register(ModuleName, 1505, "epoch not found")
	ErrRecordNotFound                    = errorsmod.Register(ModuleName, 1506, "record not found")
	ErrInvalidAmount                     = errorsmod.Register(ModuleName, 1507, "invalid amount")
	ErrValidatorAlreadyExists            = errorsmod.Register(ModuleName, 1508, "validator already exists")
	ErrNoValidatorWeights                = errorsmod.Register(ModuleName, 1509, "no non-zero validator weights")
	ErrValidatorNotFound                 = errorsmod.Register(ModuleName, 1510, "validator not found")
	ErrWeightsNotDifferent               = errorsmod.Register(ModuleName, 1511, "validator weights haven't changed")
	ErrValidatorDelegationChg            = errorsmod.Register(ModuleName, 1512, "can't change delegation on validator")
	ErrAcctNotScopedForFunc              = errorsmod.Register(ModuleName, 1513, "this account can't call this function")
	ErrInsufficientFunds                 = errorsmod.Register(ModuleName, 1514, "balance is insufficient")
	ErrInvalidUserRedemptionRecord       = errorsmod.Register(ModuleName, 1515, "user redemption record error")
	ErrRequiredFieldEmpty                = errorsmod.Register(ModuleName, 1516, "required field is missing")
	ErrInvalidNumValidator               = errorsmod.Register(ModuleName, 1517, "invalid number of validators")
	ErrValidatorNotRemoved               = errorsmod.Register(ModuleName, 1518, "validator not removed")
	ErrHostZoneNotFound                  = errorsmod.Register(ModuleName, 1519, "host zone not found")
	ErrOutsideIcqWindow                  = errorsmod.Register(ModuleName, 1520, "outside time window that accepts icqs")
	ErrParamNotFound                     = errorsmod.Register(ModuleName, 1521, "param not found")
	ErrUnmarshalFailure                  = errorsmod.Register(ModuleName, 1522, "unable to unmarshal data structure")
	ErrMarshalFailure                    = errorsmod.Register(ModuleName, 1523, "unable to marshal data structure")
	ErrInvalidPacketCompletionTime       = errorsmod.Register(ModuleName, 1524, "invalid packet completion time")
	ErrIntCast                           = errorsmod.Register(ModuleName, 1525, "unable to cast to safe cast int")
	ErrFeeAccountNotRegistered           = errorsmod.Register(ModuleName, 1526, "fee account is not registered")
	ErrRedemptionRateOutsideSafetyBounds = errorsmod.Register(ModuleName, 1527, "redemption rate outside safety bounds")
	ErrTxMsgDataInvalid                  = errorsmod.Register(ModuleName, 1528, "TxMsgData invalid")
	ErrFailedToRegisterHostZone          = errorsmod.Register(ModuleName, 1529, "failed to register host zone")
	ErrInvalidInterchainAccountAddress   = errorsmod.Register(ModuleName, 1530, "invalid interchain account address")
	ErrICAAccountNotFound                = errorsmod.Register(ModuleName, 1531, "ICA acccount not found on host zone")
	ErrICATxFailed                       = errorsmod.Register(ModuleName, 1532, "failed to submit ICA transaction")
	ErrICQFailed                         = errorsmod.Register(ModuleName, 1533, "failed to submit ICQ")
	ErrDivisionByZero                    = errorsmod.Register(ModuleName, 1534, "division by zero")
	ErrSlashExceedsSafetyThreshold       = errorsmod.Register(ModuleName, 1535, "slash is greater than safety threshold")
	ErrInvalidEpoch                      = errorsmod.Register(ModuleName, 1536, "invalid epoch tracker")
	ErrHostZoneICAAccountNotFound        = errorsmod.Register(ModuleName, 1537, "host zone's ICA account not found")
	ErrNoValidatorAmts                   = errorsmod.Register(ModuleName, 1538, "could not fetch validator amts")
	ErrMaxNumValidators                  = errorsmod.Register(ModuleName, 1539, "max number of validators reached")
	ErrUndelegationAmount                = errorsmod.Register(ModuleName, 1540, "Undelegation amount is greater than stakedBal")
	ErrRewardCollectorAccountNotFound    = errorsmod.Register(ModuleName, 1541, "Reward Collector account not found")
	ErrHaltedHostZone                    = errorsmod.Register(ModuleName, 1542, "Halted host zone found")
	ErrInsufficientLiquidStake           = errorsmod.Register(ModuleName, 1543, "Liquid staked amount is too small")
)

x/stakeibc 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 (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHostZone        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHostZone          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHostZone = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthIcaAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIcaAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIcaAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// these are default intervals _in epochs_ NOT in blocks
	DefaultDepositInterval        uint64 = 1
	DefaultDelegateInterval       uint64 = 1
	DefaultReinvestInterval       uint64 = 1
	DefaultRewardsInterval        uint64 = 1
	DefaultRedemptionRateInterval uint64 = 1
	// you apparently cannot safely encode floats, so we make commission / 100
	DefaultStrideCommission           uint64 = 10
	DefaultICATimeoutNanos            uint64 = 600000000000
	DefaultBufferSize                 uint64 = 5             // 1/5=20% of the epoch
	DefaultIbcTimeoutBlocks           uint64 = 300           // 300 blocks ~= 30 minutes
	DefaultFeeTransferTimeoutNanos    uint64 = 1800000000000 // 30 minutes
	DefaultMinRedemptionRateThreshold uint64 = 90            // divide by 100, so 90 = 0.9
	DefaultMaxRedemptionRateThreshold uint64 = 150           // divide by 100, so 150 = 1.5
	DefaultMaxStakeICACallsPerEpoch   uint64 = 100
	DefaultIBCTransferTimeoutNanos    uint64 = 1800000000000 // 30 minutes
	DefaultSafetyNumValidators        uint64 = 35
	DefaultSafetyMaxSlashPercent      uint64 = 10

	// KeyDepositInterval is store's key for the DepositInterval option
	KeyDepositInterval                   = []byte("DepositInterval")
	KeyDelegateInterval                  = []byte("DelegateInterval")
	KeyReinvestInterval                  = []byte("ReinvestInterval")
	KeyRewardsInterval                   = []byte("RewardsInterval")
	KeyRedemptionRateInterval            = []byte("RedemptionRateInterval")
	KeyStrideCommission                  = []byte("StrideCommission")
	KeyICATimeoutNanos                   = []byte("ICATimeoutNanos")
	KeyFeeTransferTimeoutNanos           = []byte("FeeTransferTimeoutNanos")
	KeyBufferSize                        = []byte("BufferSize")
	KeyIbcTimeoutBlocks                  = []byte("IBCTimeoutBlocks")
	KeyDefaultMinRedemptionRateThreshold = []byte("DefaultMinRedemptionRateThreshold")
	KeyDefaultMaxRedemptionRateThreshold = []byte("DefaultMaxRedemptionRateThreshold")
	KeyMaxStakeICACallsPerEpoch          = []byte("MaxStakeICACallsPerEpoch")
	KeyIBCTransferTimeoutNanos           = []byte("IBCTransferTimeoutNanos")
	KeySafetyNumValidators               = []byte("SafetyNumValidators")
	KeySafetyMaxSlashPercent             = []byte("SafetyMaxSlashPercent")
	KeyMaxRedemptionRates                = []byte("MaxRedemptionRates")
	KeyMinRedemptionRates                = []byte("MinRedemptionRates")
)

Default init params

View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ICAAccountType_name = map[int32]string{
	0: "DELEGATION",
	1: "FEE",
	2: "WITHDRAWAL",
	3: "REDEMPTION",
}
View Source
var ICAAccountType_value = map[string]int32{
	"DELEGATION": 0,
	"FEE":        1,
	"WITHDRAWAL": 2,
	"REDEMPTION": 3,
}
View Source
var PortKey = KeyPrefix("stakeibc-port-")

PortKey defines the key to store the port ID in store

Functions

func EpochTrackerKey

func EpochTrackerKey(epochIdentifier string) []byte

EpochTrackerKey returns the store key to retrieve a EpochTracker from the index fields

func FormatICAAccountOwner

func FormatICAAccountOwner(chainId string, accountType ICAAccountType) (result string)

func IsIBCToken

func IsIBCToken(denom string) bool

isIBCToken checks if the token came from the IBC module Each IBC token starts with an ibc/ denom, the check is rather simple

func KeyPrefix

func KeyPrefix(p string) []byte

Generates a key byte prefix from a string

func NewAddValidatorsProposal

func NewAddValidatorsProposal(title, description, hostZone string, validators []*Validator) govtypes.Content

func NewZoneAddress

func NewZoneAddress(chainId string) sdk.AccAddress

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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 StAssetDenomFromHostZoneDenom

func StAssetDenomFromHostZoneDenom(hostZoneDenom string) string

Types

type AccountKeeper

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

AccountKeeper defines the expected account keeper used for simulations (noalias) Methods imported from account should be defined here

type AddValidatorsProposal

type AddValidatorsProposal 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"`
	HostZone    string       `protobuf:"bytes,3,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	Validators  []*Validator `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators,omitempty"`
	Deposit     string       `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty" yaml:"deposit"`
}

func (*AddValidatorsProposal) Descriptor

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

func (*AddValidatorsProposal) Equal

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

func (*AddValidatorsProposal) GetDescription

func (p *AddValidatorsProposal) GetDescription() string

func (*AddValidatorsProposal) GetTitle

func (p *AddValidatorsProposal) GetTitle() string

func (*AddValidatorsProposal) Marshal

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

func (*AddValidatorsProposal) MarshalTo

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

func (*AddValidatorsProposal) MarshalToSizedBuffer

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

func (*AddValidatorsProposal) ProposalRoute

func (p *AddValidatorsProposal) ProposalRoute() string

func (*AddValidatorsProposal) ProposalType

func (p *AddValidatorsProposal) ProposalType() string

func (*AddValidatorsProposal) ProtoMessage

func (*AddValidatorsProposal) ProtoMessage()

func (*AddValidatorsProposal) Reset

func (m *AddValidatorsProposal) Reset()

func (*AddValidatorsProposal) Size

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

func (AddValidatorsProposal) String

func (p AddValidatorsProposal) String() string

func (*AddValidatorsProposal) Unmarshal

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

func (*AddValidatorsProposal) ValidateBasic

func (p *AddValidatorsProposal) ValidateBasic() error

func (*AddValidatorsProposal) XXX_DiscardUnknown

func (m *AddValidatorsProposal) XXX_DiscardUnknown()

func (*AddValidatorsProposal) XXX_Marshal

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

func (*AddValidatorsProposal) XXX_Merge

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

func (*AddValidatorsProposal) XXX_Size

func (m *AddValidatorsProposal) XXX_Size() int

func (*AddValidatorsProposal) XXX_Unmarshal

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

type AddressUnbonding

type AddressUnbonding struct {
	Address                string                                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Receiver               string                                 `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	UnbondingEstimatedTime string                                 `` /* 129-byte string literal not displayed */
	Amount                 github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Denom                  string                                 `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"`
	ClaimIsPending         bool                                   `protobuf:"varint,8,opt,name=claim_is_pending,json=claimIsPending,proto3" json:"claim_is_pending,omitempty"`
}

func (*AddressUnbonding) Descriptor

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

func (*AddressUnbonding) GetAddress

func (m *AddressUnbonding) GetAddress() string

func (*AddressUnbonding) GetClaimIsPending

func (m *AddressUnbonding) GetClaimIsPending() bool

func (*AddressUnbonding) GetDenom

func (m *AddressUnbonding) GetDenom() string

func (*AddressUnbonding) GetReceiver

func (m *AddressUnbonding) GetReceiver() string

func (*AddressUnbonding) GetUnbondingEstimatedTime

func (m *AddressUnbonding) GetUnbondingEstimatedTime() string

func (*AddressUnbonding) Marshal

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

func (*AddressUnbonding) MarshalTo

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

func (*AddressUnbonding) MarshalToSizedBuffer

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

func (*AddressUnbonding) ProtoMessage

func (*AddressUnbonding) ProtoMessage()

func (*AddressUnbonding) Reset

func (m *AddressUnbonding) Reset()

func (*AddressUnbonding) Size

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

func (*AddressUnbonding) String

func (m *AddressUnbonding) String() string

func (*AddressUnbonding) Unmarshal

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

func (*AddressUnbonding) XXX_DiscardUnknown

func (m *AddressUnbonding) XXX_DiscardUnknown()

func (*AddressUnbonding) XXX_Marshal

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

func (*AddressUnbonding) XXX_Merge

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

func (*AddressUnbonding) XXX_Size

func (m *AddressUnbonding) XXX_Size() int

func (*AddressUnbonding) XXX_Unmarshal

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

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances. BankKeeper interface: https://github.com/cosmos/cosmos-sdk/blob/main/x/bank/keeper/keeper.go Methods imported from bank should be defined here

type ClaimCallback

type ClaimCallback struct {
	UserRedemptionRecordId string `` /* 131-byte string literal not displayed */
	ChainId                string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	EpochNumber            uint64 `protobuf:"varint,3,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
}

func (*ClaimCallback) Descriptor

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

func (*ClaimCallback) GetChainId

func (m *ClaimCallback) GetChainId() string

func (*ClaimCallback) GetEpochNumber

func (m *ClaimCallback) GetEpochNumber() uint64

func (*ClaimCallback) GetUserRedemptionRecordId

func (m *ClaimCallback) GetUserRedemptionRecordId() string

func (*ClaimCallback) Marshal

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

func (*ClaimCallback) MarshalTo

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

func (*ClaimCallback) MarshalToSizedBuffer

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

func (*ClaimCallback) ProtoMessage

func (*ClaimCallback) ProtoMessage()

func (*ClaimCallback) Reset

func (m *ClaimCallback) Reset()

func (*ClaimCallback) Size

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

func (*ClaimCallback) String

func (m *ClaimCallback) String() string

func (*ClaimCallback) Unmarshal

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

func (*ClaimCallback) XXX_DiscardUnknown

func (m *ClaimCallback) XXX_DiscardUnknown()

func (*ClaimCallback) XXX_Marshal

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

func (*ClaimCallback) XXX_Merge

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

func (*ClaimCallback) XXX_Size

func (m *ClaimCallback) XXX_Size() int

func (*ClaimCallback) XXX_Unmarshal

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

type DelegateCallback

type DelegateCallback struct {
	HostZoneId       string             `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
	DepositRecordId  uint64             `protobuf:"varint,2,opt,name=deposit_record_id,json=depositRecordId,proto3" json:"deposit_record_id,omitempty"`
	SplitDelegations []*SplitDelegation `protobuf:"bytes,3,rep,name=split_delegations,json=splitDelegations,proto3" json:"split_delegations,omitempty"`
}

func (*DelegateCallback) Descriptor

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

func (*DelegateCallback) GetDepositRecordId

func (m *DelegateCallback) GetDepositRecordId() uint64

func (*DelegateCallback) GetHostZoneId

func (m *DelegateCallback) GetHostZoneId() string

func (*DelegateCallback) GetSplitDelegations

func (m *DelegateCallback) GetSplitDelegations() []*SplitDelegation

func (*DelegateCallback) Marshal

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

func (*DelegateCallback) MarshalTo

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

func (*DelegateCallback) MarshalToSizedBuffer

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

func (*DelegateCallback) ProtoMessage

func (*DelegateCallback) ProtoMessage()

func (*DelegateCallback) Reset

func (m *DelegateCallback) Reset()

func (*DelegateCallback) Size

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

func (*DelegateCallback) String

func (m *DelegateCallback) String() string

func (*DelegateCallback) Unmarshal

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

func (*DelegateCallback) XXX_DiscardUnknown

func (m *DelegateCallback) XXX_DiscardUnknown()

func (*DelegateCallback) XXX_Marshal

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

func (*DelegateCallback) XXX_Merge

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

func (*DelegateCallback) XXX_Size

func (m *DelegateCallback) XXX_Size() int

func (*DelegateCallback) XXX_Unmarshal

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

type EpochTracker

type EpochTracker struct {
	EpochIdentifier    string `protobuf:"bytes,1,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"`
	EpochNumber        uint64 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
	NextEpochStartTime uint64 `protobuf:"varint,3,opt,name=next_epoch_start_time,json=nextEpochStartTime,proto3" json:"next_epoch_start_time,omitempty"`
	Duration           uint64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
}

func (*EpochTracker) Descriptor

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

func (*EpochTracker) GetDuration

func (m *EpochTracker) GetDuration() uint64

func (*EpochTracker) GetEpochIdentifier

func (m *EpochTracker) GetEpochIdentifier() string

func (*EpochTracker) GetEpochNumber

func (m *EpochTracker) GetEpochNumber() uint64

func (*EpochTracker) GetNextEpochStartTime

func (m *EpochTracker) GetNextEpochStartTime() uint64

func (*EpochTracker) Marshal

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

func (*EpochTracker) MarshalTo

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

func (*EpochTracker) MarshalToSizedBuffer

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

func (*EpochTracker) ProtoMessage

func (*EpochTracker) ProtoMessage()

func (*EpochTracker) Reset

func (m *EpochTracker) Reset()

func (*EpochTracker) Size

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

func (*EpochTracker) String

func (m *EpochTracker) String() string

func (*EpochTracker) Unmarshal

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

func (*EpochTracker) XXX_DiscardUnknown

func (m *EpochTracker) XXX_DiscardUnknown()

func (*EpochTracker) XXX_Marshal

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

func (*EpochTracker) XXX_Merge

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

func (*EpochTracker) XXX_Size

func (m *EpochTracker) XXX_Size() int

func (*EpochTracker) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	// list of zones that are registered by the protocol
	HostZoneList     []HostZone     `protobuf:"bytes,5,rep,name=host_zone_list,json=hostZoneList,proto3" json:"host_zone_list"`
	EpochTrackerList []EpochTracker `protobuf:"bytes,10,rep,name=epoch_tracker_list,json=epochTrackerList,proto3" json:"epoch_tracker_list"`
}

GenesisState defines the stakeibc 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) GetEpochTrackerList

func (m *GenesisState) GetEpochTrackerList() []EpochTracker

func (*GenesisState) GetHostZoneList

func (m *GenesisState) GetHostZoneList() []HostZone

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

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 HostZone

type HostZone struct {
	ChainId               string       `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ConnectionId          string       `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Bech32Prefix          string       `protobuf:"bytes,17,opt,name=bech32prefix,proto3" json:"bech32prefix,omitempty"`
	TransferChannelId     string       `protobuf:"bytes,12,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
	Validators            []*Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"`
	BlacklistedValidators []*Validator `protobuf:"bytes,4,rep,name=blacklisted_validators,json=blacklistedValidators,proto3" json:"blacklisted_validators,omitempty"`
	WithdrawalAccount     *ICAAccount  `protobuf:"bytes,5,opt,name=withdrawal_account,json=withdrawalAccount,proto3" json:"withdrawal_account,omitempty"`
	FeeAccount            *ICAAccount  `protobuf:"bytes,6,opt,name=fee_account,json=feeAccount,proto3" json:"fee_account,omitempty"`
	DelegationAccount     *ICAAccount  `protobuf:"bytes,7,opt,name=delegation_account,json=delegationAccount,proto3" json:"delegation_account,omitempty"`
	RedemptionAccount     *ICAAccount  `protobuf:"bytes,16,opt,name=redemption_account,json=redemptionAccount,proto3" json:"redemption_account,omitempty"`
	// ibc denom on stride
	IbcDenom string `protobuf:"bytes,8,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty"`
	// native denom on host zone
	HostDenom string `protobuf:"bytes,9,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
	// TODO(TEST-68): Should we make this an array and store the last n redemption
	// rates then calculate a TWARR?
	LastRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	RedemptionRate     github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */
	// stores how many days we should wait before issuing unbondings
	UnbondingFrequency uint64 `protobuf:"varint,14,opt,name=unbonding_frequency,json=unbondingFrequency,proto3" json:"unbonding_frequency,omitempty"`
	// TODO(TEST-101) int to dec
	StakedBal         github_com_cosmos_cosmos_sdk_types.Int `` /* 129-byte string literal not displayed */
	Address           string                                 `protobuf:"bytes,18,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	Halted            bool                                   `protobuf:"varint,19,opt,name=halted,proto3" json:"halted,omitempty"`
	MinRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */
	MaxRedemptionRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */
}

next id: 22

func (*HostZone) Descriptor

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

func (*HostZone) GetAddress

func (m *HostZone) GetAddress() string

func (*HostZone) GetBech32Prefix

func (m *HostZone) GetBech32Prefix() string

func (*HostZone) GetBlacklistedValidators

func (m *HostZone) GetBlacklistedValidators() []*Validator

func (*HostZone) GetChainId

func (m *HostZone) GetChainId() string

func (*HostZone) GetConnectionId

func (m *HostZone) GetConnectionId() string

func (*HostZone) GetDelegationAccount

func (m *HostZone) GetDelegationAccount() *ICAAccount

func (*HostZone) GetFeeAccount

func (m *HostZone) GetFeeAccount() *ICAAccount

func (*HostZone) GetHalted

func (m *HostZone) GetHalted() bool

func (*HostZone) GetHostDenom

func (m *HostZone) GetHostDenom() string

func (*HostZone) GetIbcDenom

func (m *HostZone) GetIbcDenom() string

func (*HostZone) GetRedemptionAccount

func (m *HostZone) GetRedemptionAccount() *ICAAccount

func (*HostZone) GetTransferChannelId

func (m *HostZone) GetTransferChannelId() string

func (*HostZone) GetUnbondingFrequency

func (m *HostZone) GetUnbondingFrequency() uint64

func (*HostZone) GetValidators

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

func (*HostZone) GetWithdrawalAccount

func (m *HostZone) GetWithdrawalAccount() *ICAAccount

func (*HostZone) Marshal

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

func (*HostZone) MarshalTo

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

func (*HostZone) MarshalToSizedBuffer

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

func (*HostZone) ProtoMessage

func (*HostZone) ProtoMessage()

func (*HostZone) Reset

func (m *HostZone) Reset()

func (*HostZone) Size

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

func (*HostZone) String

func (m *HostZone) String() string

func (*HostZone) Unmarshal

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

func (*HostZone) XXX_DiscardUnknown

func (m *HostZone) XXX_DiscardUnknown()

func (*HostZone) XXX_Marshal

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

func (*HostZone) XXX_Merge

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

func (*HostZone) XXX_Size

func (m *HostZone) XXX_Size() int

func (*HostZone) XXX_Unmarshal

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

type ICAAccount

type ICAAccount struct {
	Address string         `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Target  ICAAccountType `protobuf:"varint,3,opt,name=target,proto3,enum=stride.stakeibc.ICAAccountType" json:"target,omitempty"`
}

func (*ICAAccount) Descriptor

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

func (*ICAAccount) GetAddress

func (m *ICAAccount) GetAddress() string

func (*ICAAccount) GetTarget

func (m *ICAAccount) GetTarget() ICAAccountType

func (*ICAAccount) Marshal

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

func (*ICAAccount) MarshalTo

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

func (*ICAAccount) MarshalToSizedBuffer

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

func (*ICAAccount) ProtoMessage

func (*ICAAccount) ProtoMessage()

func (*ICAAccount) Reset

func (m *ICAAccount) Reset()

func (*ICAAccount) Size

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

func (*ICAAccount) String

func (m *ICAAccount) String() string

func (*ICAAccount) Unmarshal

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

func (*ICAAccount) XXX_DiscardUnknown

func (m *ICAAccount) XXX_DiscardUnknown()

func (*ICAAccount) XXX_Marshal

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

func (*ICAAccount) XXX_Merge

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

func (*ICAAccount) XXX_Size

func (m *ICAAccount) XXX_Size() int

func (*ICAAccount) XXX_Unmarshal

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

type ICAAccountType

type ICAAccountType int32
const (
	ICAAccountType_DELEGATION ICAAccountType = 0
	ICAAccountType_FEE        ICAAccountType = 1
	ICAAccountType_WITHDRAWAL ICAAccountType = 2
	ICAAccountType_REDEMPTION ICAAccountType = 3
)

func (ICAAccountType) EnumDescriptor

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

func (ICAAccountType) String

func (x ICAAccountType) String() string

type MsgAddValidators

type MsgAddValidators struct {
	Creator    string       `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	HostZone   string       `protobuf:"bytes,2,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	Validators []*Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"`
}

func NewMsgAddValidators

func NewMsgAddValidators(creator string, hostZone string, validators []*Validator) *MsgAddValidators

func (*MsgAddValidators) Descriptor

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

func (*MsgAddValidators) GetCreator

func (m *MsgAddValidators) GetCreator() string

func (*MsgAddValidators) GetHostZone

func (m *MsgAddValidators) GetHostZone() string

func (*MsgAddValidators) GetSignBytes

func (msg *MsgAddValidators) GetSignBytes() []byte

func (*MsgAddValidators) GetSigners

func (msg *MsgAddValidators) GetSigners() []sdk.AccAddress

func (*MsgAddValidators) GetValidators

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

func (*MsgAddValidators) Marshal

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

func (*MsgAddValidators) MarshalTo

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

func (*MsgAddValidators) MarshalToSizedBuffer

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

func (*MsgAddValidators) ProtoMessage

func (*MsgAddValidators) ProtoMessage()

func (*MsgAddValidators) Reset

func (m *MsgAddValidators) Reset()

func (*MsgAddValidators) Route

func (msg *MsgAddValidators) Route() string

func (*MsgAddValidators) Size

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

func (*MsgAddValidators) String

func (m *MsgAddValidators) String() string

func (*MsgAddValidators) Type

func (msg *MsgAddValidators) Type() string

func (*MsgAddValidators) Unmarshal

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

func (*MsgAddValidators) ValidateBasic

func (msg *MsgAddValidators) ValidateBasic() error

func (*MsgAddValidators) XXX_DiscardUnknown

func (m *MsgAddValidators) XXX_DiscardUnknown()

func (*MsgAddValidators) XXX_Marshal

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

func (*MsgAddValidators) XXX_Merge

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

func (*MsgAddValidators) XXX_Size

func (m *MsgAddValidators) XXX_Size() int

func (*MsgAddValidators) XXX_Unmarshal

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

type MsgAddValidatorsResponse

type MsgAddValidatorsResponse struct {
}

func (*MsgAddValidatorsResponse) Descriptor

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

func (*MsgAddValidatorsResponse) Marshal

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

func (*MsgAddValidatorsResponse) MarshalTo

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

func (*MsgAddValidatorsResponse) MarshalToSizedBuffer

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

func (*MsgAddValidatorsResponse) ProtoMessage

func (*MsgAddValidatorsResponse) ProtoMessage()

func (*MsgAddValidatorsResponse) Reset

func (m *MsgAddValidatorsResponse) Reset()

func (*MsgAddValidatorsResponse) Size

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

func (*MsgAddValidatorsResponse) String

func (m *MsgAddValidatorsResponse) String() string

func (*MsgAddValidatorsResponse) Unmarshal

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

func (*MsgAddValidatorsResponse) XXX_DiscardUnknown

func (m *MsgAddValidatorsResponse) XXX_DiscardUnknown()

func (*MsgAddValidatorsResponse) XXX_Marshal

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

func (*MsgAddValidatorsResponse) XXX_Merge

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

func (*MsgAddValidatorsResponse) XXX_Size

func (m *MsgAddValidatorsResponse) XXX_Size() int

func (*MsgAddValidatorsResponse) XXX_Unmarshal

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

type MsgChangeValidatorWeight

type MsgChangeValidatorWeight struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	HostZone string `protobuf:"bytes,2,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	ValAddr  string `protobuf:"bytes,3,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
	Weight   uint64 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"`
}

func NewMsgChangeValidatorWeight

func NewMsgChangeValidatorWeight(creator string, hostZone string, address string, weight uint64) *MsgChangeValidatorWeight

func (*MsgChangeValidatorWeight) Descriptor

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

func (*MsgChangeValidatorWeight) GetCreator

func (m *MsgChangeValidatorWeight) GetCreator() string

func (*MsgChangeValidatorWeight) GetHostZone

func (m *MsgChangeValidatorWeight) GetHostZone() string

func (*MsgChangeValidatorWeight) GetSignBytes

func (msg *MsgChangeValidatorWeight) GetSignBytes() []byte

func (*MsgChangeValidatorWeight) GetSigners

func (msg *MsgChangeValidatorWeight) GetSigners() []sdk.AccAddress

func (*MsgChangeValidatorWeight) GetValAddr

func (m *MsgChangeValidatorWeight) GetValAddr() string

func (*MsgChangeValidatorWeight) GetWeight

func (m *MsgChangeValidatorWeight) GetWeight() uint64

func (*MsgChangeValidatorWeight) Marshal

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

func (*MsgChangeValidatorWeight) MarshalTo

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

func (*MsgChangeValidatorWeight) MarshalToSizedBuffer

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

func (*MsgChangeValidatorWeight) ProtoMessage

func (*MsgChangeValidatorWeight) ProtoMessage()

func (*MsgChangeValidatorWeight) Reset

func (m *MsgChangeValidatorWeight) Reset()

func (*MsgChangeValidatorWeight) Route

func (msg *MsgChangeValidatorWeight) Route() string

func (*MsgChangeValidatorWeight) Size

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

func (*MsgChangeValidatorWeight) String

func (m *MsgChangeValidatorWeight) String() string

func (*MsgChangeValidatorWeight) Type

func (msg *MsgChangeValidatorWeight) Type() string

func (*MsgChangeValidatorWeight) Unmarshal

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

func (*MsgChangeValidatorWeight) ValidateBasic

func (msg *MsgChangeValidatorWeight) ValidateBasic() error

func (*MsgChangeValidatorWeight) XXX_DiscardUnknown

func (m *MsgChangeValidatorWeight) XXX_DiscardUnknown()

func (*MsgChangeValidatorWeight) XXX_Marshal

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

func (*MsgChangeValidatorWeight) XXX_Merge

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

func (*MsgChangeValidatorWeight) XXX_Size

func (m *MsgChangeValidatorWeight) XXX_Size() int

func (*MsgChangeValidatorWeight) XXX_Unmarshal

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

type MsgChangeValidatorWeightResponse

type MsgChangeValidatorWeightResponse struct {
}

func (*MsgChangeValidatorWeightResponse) Descriptor

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

func (*MsgChangeValidatorWeightResponse) Marshal

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

func (*MsgChangeValidatorWeightResponse) MarshalTo

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

func (*MsgChangeValidatorWeightResponse) MarshalToSizedBuffer

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

func (*MsgChangeValidatorWeightResponse) ProtoMessage

func (*MsgChangeValidatorWeightResponse) ProtoMessage()

func (*MsgChangeValidatorWeightResponse) Reset

func (*MsgChangeValidatorWeightResponse) Size

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

func (*MsgChangeValidatorWeightResponse) String

func (*MsgChangeValidatorWeightResponse) Unmarshal

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

func (*MsgChangeValidatorWeightResponse) XXX_DiscardUnknown

func (m *MsgChangeValidatorWeightResponse) XXX_DiscardUnknown()

func (*MsgChangeValidatorWeightResponse) XXX_Marshal

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

func (*MsgChangeValidatorWeightResponse) XXX_Merge

func (*MsgChangeValidatorWeightResponse) XXX_Size

func (m *MsgChangeValidatorWeightResponse) XXX_Size() int

func (*MsgChangeValidatorWeightResponse) XXX_Unmarshal

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

type MsgClaimUndelegatedTokens

type MsgClaimUndelegatedTokens struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// UserUnbondingRecords are keyed on {chain_id}.{epoch}.{sender}
	HostZoneId string `protobuf:"bytes,2,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
	Epoch      uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Sender     string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
}

func NewMsgClaimUndelegatedTokens

func NewMsgClaimUndelegatedTokens(creator string, hostZone string, epoch uint64, sender string) *MsgClaimUndelegatedTokens

func (*MsgClaimUndelegatedTokens) Descriptor

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

func (*MsgClaimUndelegatedTokens) GetCreator

func (m *MsgClaimUndelegatedTokens) GetCreator() string

func (*MsgClaimUndelegatedTokens) GetEpoch

func (m *MsgClaimUndelegatedTokens) GetEpoch() uint64

func (*MsgClaimUndelegatedTokens) GetHostZoneId

func (m *MsgClaimUndelegatedTokens) GetHostZoneId() string

func (*MsgClaimUndelegatedTokens) GetSender

func (m *MsgClaimUndelegatedTokens) GetSender() string

func (*MsgClaimUndelegatedTokens) GetSignBytes

func (msg *MsgClaimUndelegatedTokens) GetSignBytes() []byte

func (*MsgClaimUndelegatedTokens) GetSigners

func (msg *MsgClaimUndelegatedTokens) GetSigners() []sdk.AccAddress

func (*MsgClaimUndelegatedTokens) Marshal

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

func (*MsgClaimUndelegatedTokens) MarshalTo

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

func (*MsgClaimUndelegatedTokens) MarshalToSizedBuffer

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

func (*MsgClaimUndelegatedTokens) ProtoMessage

func (*MsgClaimUndelegatedTokens) ProtoMessage()

func (*MsgClaimUndelegatedTokens) Reset

func (m *MsgClaimUndelegatedTokens) Reset()

func (*MsgClaimUndelegatedTokens) Route

func (msg *MsgClaimUndelegatedTokens) Route() string

func (*MsgClaimUndelegatedTokens) Size

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

func (*MsgClaimUndelegatedTokens) String

func (m *MsgClaimUndelegatedTokens) String() string

func (*MsgClaimUndelegatedTokens) Type

func (msg *MsgClaimUndelegatedTokens) Type() string

func (*MsgClaimUndelegatedTokens) Unmarshal

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

func (*MsgClaimUndelegatedTokens) ValidateBasic

func (msg *MsgClaimUndelegatedTokens) ValidateBasic() error

func (*MsgClaimUndelegatedTokens) XXX_DiscardUnknown

func (m *MsgClaimUndelegatedTokens) XXX_DiscardUnknown()

func (*MsgClaimUndelegatedTokens) XXX_Marshal

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

func (*MsgClaimUndelegatedTokens) XXX_Merge

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

func (*MsgClaimUndelegatedTokens) XXX_Size

func (m *MsgClaimUndelegatedTokens) XXX_Size() int

func (*MsgClaimUndelegatedTokens) XXX_Unmarshal

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

type MsgClaimUndelegatedTokensResponse

type MsgClaimUndelegatedTokensResponse struct {
}

func (*MsgClaimUndelegatedTokensResponse) Descriptor

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

func (*MsgClaimUndelegatedTokensResponse) Marshal

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

func (*MsgClaimUndelegatedTokensResponse) MarshalTo

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

func (*MsgClaimUndelegatedTokensResponse) MarshalToSizedBuffer

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

func (*MsgClaimUndelegatedTokensResponse) ProtoMessage

func (*MsgClaimUndelegatedTokensResponse) ProtoMessage()

func (*MsgClaimUndelegatedTokensResponse) Reset

func (*MsgClaimUndelegatedTokensResponse) Size

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

func (*MsgClaimUndelegatedTokensResponse) String

func (*MsgClaimUndelegatedTokensResponse) Unmarshal

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

func (*MsgClaimUndelegatedTokensResponse) XXX_DiscardUnknown

func (m *MsgClaimUndelegatedTokensResponse) XXX_DiscardUnknown()

func (*MsgClaimUndelegatedTokensResponse) XXX_Marshal

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

func (*MsgClaimUndelegatedTokensResponse) XXX_Merge

func (*MsgClaimUndelegatedTokensResponse) XXX_Size

func (m *MsgClaimUndelegatedTokensResponse) XXX_Size() int

func (*MsgClaimUndelegatedTokensResponse) XXX_Unmarshal

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

type MsgClearBalance

type MsgClearBalance struct {
	Creator string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId string                                 `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Amount  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Channel string                                 `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"`
}

func NewMsgClearBalance

func NewMsgClearBalance(creator string, chainId string, amount sdkmath.Int, channelId string) *MsgClearBalance

func (*MsgClearBalance) Descriptor

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

func (*MsgClearBalance) GetChainId

func (m *MsgClearBalance) GetChainId() string

func (*MsgClearBalance) GetChannel

func (m *MsgClearBalance) GetChannel() string

func (*MsgClearBalance) GetCreator

func (m *MsgClearBalance) GetCreator() string

func (*MsgClearBalance) GetSignBytes

func (msg *MsgClearBalance) GetSignBytes() []byte

func (*MsgClearBalance) GetSigners

func (msg *MsgClearBalance) GetSigners() []sdk.AccAddress

func (*MsgClearBalance) Marshal

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

func (*MsgClearBalance) MarshalTo

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

func (*MsgClearBalance) MarshalToSizedBuffer

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

func (*MsgClearBalance) ProtoMessage

func (*MsgClearBalance) ProtoMessage()

func (*MsgClearBalance) Reset

func (m *MsgClearBalance) Reset()

func (*MsgClearBalance) Route

func (msg *MsgClearBalance) Route() string

func (*MsgClearBalance) Size

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

func (*MsgClearBalance) String

func (m *MsgClearBalance) String() string

func (*MsgClearBalance) Type

func (msg *MsgClearBalance) Type() string

func (*MsgClearBalance) Unmarshal

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

func (*MsgClearBalance) ValidateBasic

func (msg *MsgClearBalance) ValidateBasic() error

func (*MsgClearBalance) XXX_DiscardUnknown

func (m *MsgClearBalance) XXX_DiscardUnknown()

func (*MsgClearBalance) XXX_Marshal

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

func (*MsgClearBalance) XXX_Merge

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

func (*MsgClearBalance) XXX_Size

func (m *MsgClearBalance) XXX_Size() int

func (*MsgClearBalance) XXX_Unmarshal

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

type MsgClearBalanceResponse

type MsgClearBalanceResponse struct {
}

func (*MsgClearBalanceResponse) Descriptor

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

func (*MsgClearBalanceResponse) Marshal

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

func (*MsgClearBalanceResponse) MarshalTo

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

func (*MsgClearBalanceResponse) MarshalToSizedBuffer

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

func (*MsgClearBalanceResponse) ProtoMessage

func (*MsgClearBalanceResponse) ProtoMessage()

func (*MsgClearBalanceResponse) Reset

func (m *MsgClearBalanceResponse) Reset()

func (*MsgClearBalanceResponse) Size

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

func (*MsgClearBalanceResponse) String

func (m *MsgClearBalanceResponse) String() string

func (*MsgClearBalanceResponse) Unmarshal

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

func (*MsgClearBalanceResponse) XXX_DiscardUnknown

func (m *MsgClearBalanceResponse) XXX_DiscardUnknown()

func (*MsgClearBalanceResponse) XXX_Marshal

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

func (*MsgClearBalanceResponse) XXX_Merge

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

func (*MsgClearBalanceResponse) XXX_Size

func (m *MsgClearBalanceResponse) XXX_Size() int

func (*MsgClearBalanceResponse) XXX_Unmarshal

func (m *MsgClearBalanceResponse) 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 MsgDeleteValidator

type MsgDeleteValidator struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	HostZone string `protobuf:"bytes,2,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	ValAddr  string `protobuf:"bytes,3,opt,name=val_addr,json=valAddr,proto3" json:"val_addr,omitempty"`
}

func NewMsgDeleteValidator

func NewMsgDeleteValidator(creator string, hostZone string, valAddr string) *MsgDeleteValidator

func (*MsgDeleteValidator) Descriptor

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

func (*MsgDeleteValidator) GetCreator

func (m *MsgDeleteValidator) GetCreator() string

func (*MsgDeleteValidator) GetHostZone

func (m *MsgDeleteValidator) GetHostZone() string

func (*MsgDeleteValidator) GetSignBytes

func (msg *MsgDeleteValidator) GetSignBytes() []byte

func (*MsgDeleteValidator) GetSigners

func (msg *MsgDeleteValidator) GetSigners() []sdk.AccAddress

func (*MsgDeleteValidator) GetValAddr

func (m *MsgDeleteValidator) GetValAddr() string

func (*MsgDeleteValidator) Marshal

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

func (*MsgDeleteValidator) MarshalTo

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

func (*MsgDeleteValidator) MarshalToSizedBuffer

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

func (*MsgDeleteValidator) ProtoMessage

func (*MsgDeleteValidator) ProtoMessage()

func (*MsgDeleteValidator) Reset

func (m *MsgDeleteValidator) Reset()

func (*MsgDeleteValidator) Route

func (msg *MsgDeleteValidator) Route() string

func (*MsgDeleteValidator) Size

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

func (*MsgDeleteValidator) String

func (m *MsgDeleteValidator) String() string

func (*MsgDeleteValidator) Type

func (msg *MsgDeleteValidator) Type() string

func (*MsgDeleteValidator) Unmarshal

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

func (*MsgDeleteValidator) ValidateBasic

func (msg *MsgDeleteValidator) ValidateBasic() error

func (*MsgDeleteValidator) XXX_DiscardUnknown

func (m *MsgDeleteValidator) XXX_DiscardUnknown()

func (*MsgDeleteValidator) XXX_Marshal

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

func (*MsgDeleteValidator) XXX_Merge

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

func (*MsgDeleteValidator) XXX_Size

func (m *MsgDeleteValidator) XXX_Size() int

func (*MsgDeleteValidator) XXX_Unmarshal

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

type MsgDeleteValidatorResponse

type MsgDeleteValidatorResponse struct {
}

func (*MsgDeleteValidatorResponse) Descriptor

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

func (*MsgDeleteValidatorResponse) Marshal

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

func (*MsgDeleteValidatorResponse) MarshalTo

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

func (*MsgDeleteValidatorResponse) MarshalToSizedBuffer

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

func (*MsgDeleteValidatorResponse) ProtoMessage

func (*MsgDeleteValidatorResponse) ProtoMessage()

func (*MsgDeleteValidatorResponse) Reset

func (m *MsgDeleteValidatorResponse) Reset()

func (*MsgDeleteValidatorResponse) Size

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

func (*MsgDeleteValidatorResponse) String

func (m *MsgDeleteValidatorResponse) String() string

func (*MsgDeleteValidatorResponse) Unmarshal

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

func (*MsgDeleteValidatorResponse) XXX_DiscardUnknown

func (m *MsgDeleteValidatorResponse) XXX_DiscardUnknown()

func (*MsgDeleteValidatorResponse) XXX_Marshal

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

func (*MsgDeleteValidatorResponse) XXX_Merge

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

func (*MsgDeleteValidatorResponse) XXX_Size

func (m *MsgDeleteValidatorResponse) XXX_Size() int

func (*MsgDeleteValidatorResponse) XXX_Unmarshal

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

type MsgLiquidStake

type MsgLiquidStake struct {
	Creator   string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	HostDenom string                                 `protobuf:"bytes,3,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
}

func NewMsgLiquidStake

func NewMsgLiquidStake(creator string, amount sdkmath.Int, hostDenom string) *MsgLiquidStake

func (*MsgLiquidStake) Descriptor

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

func (*MsgLiquidStake) GetCreator

func (m *MsgLiquidStake) GetCreator() string

func (*MsgLiquidStake) GetHostDenom

func (m *MsgLiquidStake) GetHostDenom() string

func (*MsgLiquidStake) GetSignBytes

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

func (*MsgLiquidStake) GetSigners

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

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 (msg *MsgLiquidStake) Route() string

func (*MsgLiquidStake) Size

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

func (*MsgLiquidStake) String

func (m *MsgLiquidStake) String() string

func (*MsgLiquidStake) Type

func (msg *MsgLiquidStake) Type() string

func (*MsgLiquidStake) Unmarshal

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

func (*MsgLiquidStake) ValidateBasic

func (msg *MsgLiquidStake) ValidateBasic() error

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 MsgRebalanceValidators

type MsgRebalanceValidators struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	HostZone     string `protobuf:"bytes,2,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	NumRebalance uint64 `protobuf:"varint,3,opt,name=num_rebalance,json=numRebalance,proto3" json:"num_rebalance,omitempty"`
}

func NewMsgRebalanceValidators

func NewMsgRebalanceValidators(creator string, hostZone string, numValidators uint64) *MsgRebalanceValidators

func (*MsgRebalanceValidators) Descriptor

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

func (*MsgRebalanceValidators) GetCreator

func (m *MsgRebalanceValidators) GetCreator() string

func (*MsgRebalanceValidators) GetHostZone

func (m *MsgRebalanceValidators) GetHostZone() string

func (*MsgRebalanceValidators) GetNumRebalance

func (m *MsgRebalanceValidators) GetNumRebalance() uint64

func (*MsgRebalanceValidators) GetSignBytes

func (msg *MsgRebalanceValidators) GetSignBytes() []byte

func (*MsgRebalanceValidators) GetSigners

func (msg *MsgRebalanceValidators) GetSigners() []sdk.AccAddress

func (*MsgRebalanceValidators) Marshal

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

func (*MsgRebalanceValidators) MarshalTo

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

func (*MsgRebalanceValidators) MarshalToSizedBuffer

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

func (*MsgRebalanceValidators) ProtoMessage

func (*MsgRebalanceValidators) ProtoMessage()

func (*MsgRebalanceValidators) Reset

func (m *MsgRebalanceValidators) Reset()

func (*MsgRebalanceValidators) Route

func (msg *MsgRebalanceValidators) Route() string

func (*MsgRebalanceValidators) Size

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

func (*MsgRebalanceValidators) String

func (m *MsgRebalanceValidators) String() string

func (*MsgRebalanceValidators) Type

func (msg *MsgRebalanceValidators) Type() string

func (*MsgRebalanceValidators) Unmarshal

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

func (*MsgRebalanceValidators) ValidateBasic

func (msg *MsgRebalanceValidators) ValidateBasic() error

func (*MsgRebalanceValidators) XXX_DiscardUnknown

func (m *MsgRebalanceValidators) XXX_DiscardUnknown()

func (*MsgRebalanceValidators) XXX_Marshal

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

func (*MsgRebalanceValidators) XXX_Merge

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

func (*MsgRebalanceValidators) XXX_Size

func (m *MsgRebalanceValidators) XXX_Size() int

func (*MsgRebalanceValidators) XXX_Unmarshal

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

type MsgRebalanceValidatorsResponse

type MsgRebalanceValidatorsResponse struct {
}

func (*MsgRebalanceValidatorsResponse) Descriptor

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

func (*MsgRebalanceValidatorsResponse) Marshal

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

func (*MsgRebalanceValidatorsResponse) MarshalTo

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

func (*MsgRebalanceValidatorsResponse) MarshalToSizedBuffer

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

func (*MsgRebalanceValidatorsResponse) ProtoMessage

func (*MsgRebalanceValidatorsResponse) ProtoMessage()

func (*MsgRebalanceValidatorsResponse) Reset

func (m *MsgRebalanceValidatorsResponse) Reset()

func (*MsgRebalanceValidatorsResponse) Size

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

func (*MsgRebalanceValidatorsResponse) String

func (*MsgRebalanceValidatorsResponse) Unmarshal

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

func (*MsgRebalanceValidatorsResponse) XXX_DiscardUnknown

func (m *MsgRebalanceValidatorsResponse) XXX_DiscardUnknown()

func (*MsgRebalanceValidatorsResponse) XXX_Marshal

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

func (*MsgRebalanceValidatorsResponse) XXX_Merge

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

func (*MsgRebalanceValidatorsResponse) XXX_Size

func (m *MsgRebalanceValidatorsResponse) XXX_Size() int

func (*MsgRebalanceValidatorsResponse) XXX_Unmarshal

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

type MsgRedeemStake

type MsgRedeemStake struct {
	Creator  string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount   github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	HostZone string                                 `protobuf:"bytes,3,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	Receiver string                                 `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func NewMsgRedeemStake

func NewMsgRedeemStake(creator string, amount sdkmath.Int, hostZone string, receiver string) *MsgRedeemStake

func (*MsgRedeemStake) Descriptor

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

func (*MsgRedeemStake) GetCreator

func (m *MsgRedeemStake) GetCreator() string

func (*MsgRedeemStake) GetHostZone

func (m *MsgRedeemStake) GetHostZone() string

func (*MsgRedeemStake) GetReceiver

func (m *MsgRedeemStake) GetReceiver() string

func (*MsgRedeemStake) GetSignBytes

func (msg *MsgRedeemStake) GetSignBytes() []byte

func (*MsgRedeemStake) GetSigners

func (msg *MsgRedeemStake) GetSigners() []sdk.AccAddress

func (*MsgRedeemStake) Marshal

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

func (*MsgRedeemStake) MarshalTo

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

func (*MsgRedeemStake) MarshalToSizedBuffer

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

func (*MsgRedeemStake) ProtoMessage

func (*MsgRedeemStake) ProtoMessage()

func (*MsgRedeemStake) Reset

func (m *MsgRedeemStake) Reset()

func (*MsgRedeemStake) Route

func (msg *MsgRedeemStake) Route() string

func (*MsgRedeemStake) Size

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

func (*MsgRedeemStake) String

func (m *MsgRedeemStake) String() string

func (*MsgRedeemStake) Type

func (msg *MsgRedeemStake) Type() string

func (*MsgRedeemStake) Unmarshal

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

func (*MsgRedeemStake) ValidateBasic

func (msg *MsgRedeemStake) ValidateBasic() error

func (*MsgRedeemStake) XXX_DiscardUnknown

func (m *MsgRedeemStake) XXX_DiscardUnknown()

func (*MsgRedeemStake) XXX_Marshal

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

func (*MsgRedeemStake) XXX_Merge

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

func (*MsgRedeemStake) XXX_Size

func (m *MsgRedeemStake) XXX_Size() int

func (*MsgRedeemStake) XXX_Unmarshal

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

type MsgRedeemStakeResponse

type MsgRedeemStakeResponse struct {
}

func (*MsgRedeemStakeResponse) Descriptor

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

func (*MsgRedeemStakeResponse) Marshal

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

func (*MsgRedeemStakeResponse) MarshalTo

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

func (*MsgRedeemStakeResponse) MarshalToSizedBuffer

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

func (*MsgRedeemStakeResponse) ProtoMessage

func (*MsgRedeemStakeResponse) ProtoMessage()

func (*MsgRedeemStakeResponse) Reset

func (m *MsgRedeemStakeResponse) Reset()

func (*MsgRedeemStakeResponse) Size

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

func (*MsgRedeemStakeResponse) String

func (m *MsgRedeemStakeResponse) String() string

func (*MsgRedeemStakeResponse) Unmarshal

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

func (*MsgRedeemStakeResponse) XXX_DiscardUnknown

func (m *MsgRedeemStakeResponse) XXX_DiscardUnknown()

func (*MsgRedeemStakeResponse) XXX_Marshal

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

func (*MsgRedeemStakeResponse) XXX_Merge

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

func (*MsgRedeemStakeResponse) XXX_Size

func (m *MsgRedeemStakeResponse) XXX_Size() int

func (*MsgRedeemStakeResponse) XXX_Unmarshal

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

type MsgRegisterHostZone

type MsgRegisterHostZone struct {
	ConnectionId       string                                 `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
	Bech32Prefix       string                                 `protobuf:"bytes,12,opt,name=bech32prefix,proto3" json:"bech32prefix,omitempty"`
	HostDenom          string                                 `protobuf:"bytes,4,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty" yaml:"host_denom"`
	IbcDenom           string                                 `protobuf:"bytes,5,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"`
	Creator            string                                 `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
	TransferChannelId  string                                 `` /* 142-byte string literal not displayed */
	UnbondingFrequency uint64                                 `` /* 144-byte string literal not displayed */
	MinRedemptionRate  github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */
	MaxRedemptionRate  github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */
}

next: 15

func NewMsgRegisterHostZone

func NewMsgRegisterHostZone(creator string, connectionId string, bech32prefix string, hostDenom string, ibcDenom string, transferChannelId string, unbondingFrequency uint64, minRedemptionRate, maxRedemptionRate sdk.Dec) *MsgRegisterHostZone

func (*MsgRegisterHostZone) Descriptor

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

func (*MsgRegisterHostZone) GetSignBytes

func (msg *MsgRegisterHostZone) GetSignBytes() []byte

func (*MsgRegisterHostZone) GetSigners

func (msg *MsgRegisterHostZone) GetSigners() []sdk.AccAddress

func (*MsgRegisterHostZone) Marshal

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

func (*MsgRegisterHostZone) MarshalTo

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

func (*MsgRegisterHostZone) MarshalToSizedBuffer

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

func (*MsgRegisterHostZone) ProtoMessage

func (*MsgRegisterHostZone) ProtoMessage()

func (*MsgRegisterHostZone) Reset

func (m *MsgRegisterHostZone) Reset()

func (*MsgRegisterHostZone) Route

func (msg *MsgRegisterHostZone) Route() string

func (*MsgRegisterHostZone) Size

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

func (*MsgRegisterHostZone) String

func (m *MsgRegisterHostZone) String() string

func (*MsgRegisterHostZone) Type

func (msg *MsgRegisterHostZone) Type() string

func (*MsgRegisterHostZone) Unmarshal

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

func (*MsgRegisterHostZone) ValidateBasic

func (msg *MsgRegisterHostZone) ValidateBasic() error

TODO(TEST-112) add validation on bech32prefix upon zone creation

func (*MsgRegisterHostZone) XXX_DiscardUnknown

func (m *MsgRegisterHostZone) XXX_DiscardUnknown()

func (*MsgRegisterHostZone) XXX_Marshal

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

func (*MsgRegisterHostZone) XXX_Merge

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

func (*MsgRegisterHostZone) XXX_Size

func (m *MsgRegisterHostZone) XXX_Size() int

func (*MsgRegisterHostZone) XXX_Unmarshal

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

type MsgRegisterHostZoneResponse

type MsgRegisterHostZoneResponse struct {
}

func (*MsgRegisterHostZoneResponse) Descriptor

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

func (*MsgRegisterHostZoneResponse) Marshal

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

func (*MsgRegisterHostZoneResponse) MarshalTo

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

func (*MsgRegisterHostZoneResponse) MarshalToSizedBuffer

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

func (*MsgRegisterHostZoneResponse) ProtoMessage

func (*MsgRegisterHostZoneResponse) ProtoMessage()

func (*MsgRegisterHostZoneResponse) Reset

func (m *MsgRegisterHostZoneResponse) Reset()

func (*MsgRegisterHostZoneResponse) Size

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

func (*MsgRegisterHostZoneResponse) String

func (m *MsgRegisterHostZoneResponse) String() string

func (*MsgRegisterHostZoneResponse) Unmarshal

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

func (*MsgRegisterHostZoneResponse) XXX_DiscardUnknown

func (m *MsgRegisterHostZoneResponse) XXX_DiscardUnknown()

func (*MsgRegisterHostZoneResponse) XXX_Marshal

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

func (*MsgRegisterHostZoneResponse) XXX_Merge

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

func (*MsgRegisterHostZoneResponse) XXX_Size

func (m *MsgRegisterHostZoneResponse) XXX_Size() int

func (*MsgRegisterHostZoneResponse) XXX_Unmarshal

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

type MsgRestoreInterchainAccount

type MsgRestoreInterchainAccount struct {
	Creator     string         `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId     string         `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	AccountType ICAAccountType `` /* 131-byte string literal not displayed */
}

func NewMsgRestoreInterchainAccount

func NewMsgRestoreInterchainAccount(creator string, chainId string, accountType ICAAccountType) *MsgRestoreInterchainAccount

func (*MsgRestoreInterchainAccount) Descriptor

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

func (*MsgRestoreInterchainAccount) GetAccountType

func (m *MsgRestoreInterchainAccount) GetAccountType() ICAAccountType

func (*MsgRestoreInterchainAccount) GetChainId

func (m *MsgRestoreInterchainAccount) GetChainId() string

func (*MsgRestoreInterchainAccount) GetCreator

func (m *MsgRestoreInterchainAccount) GetCreator() string

func (*MsgRestoreInterchainAccount) GetSignBytes

func (msg *MsgRestoreInterchainAccount) GetSignBytes() []byte

func (*MsgRestoreInterchainAccount) GetSigners

func (msg *MsgRestoreInterchainAccount) GetSigners() []sdk.AccAddress

func (*MsgRestoreInterchainAccount) Marshal

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

func (*MsgRestoreInterchainAccount) MarshalTo

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

func (*MsgRestoreInterchainAccount) MarshalToSizedBuffer

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

func (*MsgRestoreInterchainAccount) ProtoMessage

func (*MsgRestoreInterchainAccount) ProtoMessage()

func (*MsgRestoreInterchainAccount) Reset

func (m *MsgRestoreInterchainAccount) Reset()

func (*MsgRestoreInterchainAccount) Route

func (msg *MsgRestoreInterchainAccount) Route() string

func (*MsgRestoreInterchainAccount) Size

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

func (*MsgRestoreInterchainAccount) String

func (m *MsgRestoreInterchainAccount) String() string

func (*MsgRestoreInterchainAccount) Type

func (msg *MsgRestoreInterchainAccount) Type() string

func (*MsgRestoreInterchainAccount) Unmarshal

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

func (*MsgRestoreInterchainAccount) ValidateBasic

func (msg *MsgRestoreInterchainAccount) ValidateBasic() error

func (*MsgRestoreInterchainAccount) XXX_DiscardUnknown

func (m *MsgRestoreInterchainAccount) XXX_DiscardUnknown()

func (*MsgRestoreInterchainAccount) XXX_Marshal

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

func (*MsgRestoreInterchainAccount) XXX_Merge

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

func (*MsgRestoreInterchainAccount) XXX_Size

func (m *MsgRestoreInterchainAccount) XXX_Size() int

func (*MsgRestoreInterchainAccount) XXX_Unmarshal

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

type MsgRestoreInterchainAccountResponse

type MsgRestoreInterchainAccountResponse struct {
}

func (*MsgRestoreInterchainAccountResponse) Descriptor

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

func (*MsgRestoreInterchainAccountResponse) Marshal

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

func (*MsgRestoreInterchainAccountResponse) MarshalTo

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

func (*MsgRestoreInterchainAccountResponse) MarshalToSizedBuffer

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

func (*MsgRestoreInterchainAccountResponse) ProtoMessage

func (*MsgRestoreInterchainAccountResponse) ProtoMessage()

func (*MsgRestoreInterchainAccountResponse) Reset

func (*MsgRestoreInterchainAccountResponse) Size

func (*MsgRestoreInterchainAccountResponse) String

func (*MsgRestoreInterchainAccountResponse) Unmarshal

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

func (*MsgRestoreInterchainAccountResponse) XXX_DiscardUnknown

func (m *MsgRestoreInterchainAccountResponse) XXX_DiscardUnknown()

func (*MsgRestoreInterchainAccountResponse) XXX_Marshal

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

func (*MsgRestoreInterchainAccountResponse) XXX_Merge

func (*MsgRestoreInterchainAccountResponse) XXX_Size

func (*MsgRestoreInterchainAccountResponse) XXX_Unmarshal

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

type MsgUpdateValidatorSharesExchRate

type MsgUpdateValidatorSharesExchRate struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Valoper string `protobuf:"bytes,3,opt,name=valoper,proto3" json:"valoper,omitempty"`
}

func NewMsgUpdateValidatorSharesExchRate

func NewMsgUpdateValidatorSharesExchRate(creator string, chainid string, valoper string) *MsgUpdateValidatorSharesExchRate

func (*MsgUpdateValidatorSharesExchRate) Descriptor

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

func (*MsgUpdateValidatorSharesExchRate) GetChainId

func (m *MsgUpdateValidatorSharesExchRate) GetChainId() string

func (*MsgUpdateValidatorSharesExchRate) GetCreator

func (m *MsgUpdateValidatorSharesExchRate) GetCreator() string

func (*MsgUpdateValidatorSharesExchRate) GetSignBytes

func (msg *MsgUpdateValidatorSharesExchRate) GetSignBytes() []byte

func (*MsgUpdateValidatorSharesExchRate) GetSigners

func (msg *MsgUpdateValidatorSharesExchRate) GetSigners() []sdk.AccAddress

func (*MsgUpdateValidatorSharesExchRate) GetValoper

func (m *MsgUpdateValidatorSharesExchRate) GetValoper() string

func (*MsgUpdateValidatorSharesExchRate) Marshal

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

func (*MsgUpdateValidatorSharesExchRate) MarshalTo

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

func (*MsgUpdateValidatorSharesExchRate) MarshalToSizedBuffer

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

func (*MsgUpdateValidatorSharesExchRate) ProtoMessage

func (*MsgUpdateValidatorSharesExchRate) ProtoMessage()

func (*MsgUpdateValidatorSharesExchRate) Reset

func (*MsgUpdateValidatorSharesExchRate) Route

func (*MsgUpdateValidatorSharesExchRate) Size

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

func (*MsgUpdateValidatorSharesExchRate) String

func (*MsgUpdateValidatorSharesExchRate) Type

func (*MsgUpdateValidatorSharesExchRate) Unmarshal

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

func (*MsgUpdateValidatorSharesExchRate) ValidateBasic

func (msg *MsgUpdateValidatorSharesExchRate) ValidateBasic() error

func (*MsgUpdateValidatorSharesExchRate) XXX_DiscardUnknown

func (m *MsgUpdateValidatorSharesExchRate) XXX_DiscardUnknown()

func (*MsgUpdateValidatorSharesExchRate) XXX_Marshal

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

func (*MsgUpdateValidatorSharesExchRate) XXX_Merge

func (*MsgUpdateValidatorSharesExchRate) XXX_Size

func (m *MsgUpdateValidatorSharesExchRate) XXX_Size() int

func (*MsgUpdateValidatorSharesExchRate) XXX_Unmarshal

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

type MsgUpdateValidatorSharesExchRateResponse

type MsgUpdateValidatorSharesExchRateResponse struct {
}

func (*MsgUpdateValidatorSharesExchRateResponse) Descriptor

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

func (*MsgUpdateValidatorSharesExchRateResponse) Marshal

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

func (*MsgUpdateValidatorSharesExchRateResponse) MarshalTo

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

func (*MsgUpdateValidatorSharesExchRateResponse) MarshalToSizedBuffer

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

func (*MsgUpdateValidatorSharesExchRateResponse) ProtoMessage

func (*MsgUpdateValidatorSharesExchRateResponse) Reset

func (*MsgUpdateValidatorSharesExchRateResponse) Size

func (*MsgUpdateValidatorSharesExchRateResponse) String

func (*MsgUpdateValidatorSharesExchRateResponse) Unmarshal

func (*MsgUpdateValidatorSharesExchRateResponse) XXX_DiscardUnknown

func (m *MsgUpdateValidatorSharesExchRateResponse) XXX_DiscardUnknown()

func (*MsgUpdateValidatorSharesExchRateResponse) XXX_Marshal

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

func (*MsgUpdateValidatorSharesExchRateResponse) XXX_Merge

func (*MsgUpdateValidatorSharesExchRateResponse) XXX_Size

func (*MsgUpdateValidatorSharesExchRateResponse) XXX_Unmarshal

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

type MultiStakeIBCHooks

type MultiStakeIBCHooks []StakeIBCHooks

combine multiple staking hooks, all hook functions are run in array sequence

func NewMultiStakeIBCHooks

func NewMultiStakeIBCHooks(hooks ...StakeIBCHooks) MultiStakeIBCHooks

func (MultiStakeIBCHooks) AfterLiquidStake

func (h MultiStakeIBCHooks) AfterLiquidStake(ctx sdk.Context, addr sdk.AccAddress)

type NoData

type NoData struct {
}

func (*NoData) Descriptor

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

func (*NoData) Marshal

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

func (*NoData) MarshalTo

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

func (*NoData) MarshalToSizedBuffer

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

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) Reset

func (m *NoData) Reset()

func (*NoData) Size

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

func (*NoData) String

func (m *NoData) String() string

func (*NoData) Unmarshal

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

func (*NoData) XXX_DiscardUnknown

func (m *NoData) XXX_DiscardUnknown()

func (*NoData) XXX_Marshal

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

func (*NoData) XXX_Merge

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

func (*NoData) XXX_Size

func (m *NoData) XXX_Size() int

func (*NoData) XXX_Unmarshal

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

type Params

type Params struct {
	// define epoch lengths, in stride_epochs
	RewardsInterval                   uint64 `protobuf:"varint,1,opt,name=rewards_interval,json=rewardsInterval,proto3" json:"rewards_interval,omitempty"`
	DelegateInterval                  uint64 `protobuf:"varint,6,opt,name=delegate_interval,json=delegateInterval,proto3" json:"delegate_interval,omitempty"`
	DepositInterval                   uint64 `protobuf:"varint,2,opt,name=deposit_interval,json=depositInterval,proto3" json:"deposit_interval,omitempty"`
	RedemptionRateInterval            uint64 `` /* 130-byte string literal not displayed */
	StrideCommission                  uint64 `protobuf:"varint,4,opt,name=stride_commission,json=strideCommission,proto3" json:"stride_commission,omitempty"`
	ReinvestInterval                  uint64 `protobuf:"varint,7,opt,name=reinvest_interval,json=reinvestInterval,proto3" json:"reinvest_interval,omitempty"`
	IcaTimeoutNanos                   uint64 `protobuf:"varint,9,opt,name=ica_timeout_nanos,json=icaTimeoutNanos,proto3" json:"ica_timeout_nanos,omitempty"`
	BufferSize                        uint64 `protobuf:"varint,10,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"`
	IbcTimeoutBlocks                  uint64 `protobuf:"varint,11,opt,name=ibc_timeout_blocks,json=ibcTimeoutBlocks,proto3" json:"ibc_timeout_blocks,omitempty"`
	FeeTransferTimeoutNanos           uint64 `` /* 136-byte string literal not displayed */
	MaxStakeIcaCallsPerEpoch          uint64 `` /* 143-byte string literal not displayed */
	DefaultMinRedemptionRateThreshold uint64 `` /* 168-byte string literal not displayed */
	DefaultMaxRedemptionRateThreshold uint64 `` /* 168-byte string literal not displayed */
	IbcTransferTimeoutNanos           uint64 `` /* 136-byte string literal not displayed */
	SafetyNumValidators               uint64 `protobuf:"varint,17,opt,name=safety_num_validators,json=safetyNumValidators,proto3" json:"safety_num_validators,omitempty"`
	SafetyMaxSlashPercent             uint64 `` /* 130-byte string literal not displayed */
}

Params defines the parameters for the module. next id: 18

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	depositInterval uint64,
	delegateInterval uint64,
	rewardsInterval uint64,
	redemptionRateInterval uint64,
	strideCommission uint64,
	reinvestInterval uint64,
	icaTimeoutNanos uint64,
	bufferSize uint64,
	ibcTimeoutBlocks uint64,
	feeTransferTimeoutNanos uint64,
	maxStakeIcaCallsPerEpoch uint64,
	defaultMinRedemptionRateThreshold uint64,
	defaultMaxRedemptionRateThreshold uint64,
	ibcTransferTimeoutNanos uint64,
	safetyNumValidators uint64,
	safetyMaxSlashPercent uint64,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetBufferSize

func (m *Params) GetBufferSize() uint64

func (*Params) GetDefaultMaxRedemptionRateThreshold

func (m *Params) GetDefaultMaxRedemptionRateThreshold() uint64

func (*Params) GetDefaultMinRedemptionRateThreshold

func (m *Params) GetDefaultMinRedemptionRateThreshold() uint64

func (*Params) GetDelegateInterval

func (m *Params) GetDelegateInterval() uint64

func (*Params) GetDepositInterval

func (m *Params) GetDepositInterval() uint64

func (*Params) GetFeeTransferTimeoutNanos

func (m *Params) GetFeeTransferTimeoutNanos() uint64

func (*Params) GetIbcTimeoutBlocks

func (m *Params) GetIbcTimeoutBlocks() uint64

func (*Params) GetIbcTransferTimeoutNanos

func (m *Params) GetIbcTransferTimeoutNanos() uint64

func (*Params) GetIcaTimeoutNanos

func (m *Params) GetIcaTimeoutNanos() uint64

func (*Params) GetMaxStakeIcaCallsPerEpoch

func (m *Params) GetMaxStakeIcaCallsPerEpoch() uint64

func (*Params) GetRedemptionRateInterval

func (m *Params) GetRedemptionRateInterval() uint64

func (*Params) GetReinvestInterval

func (m *Params) GetReinvestInterval() uint64

func (*Params) GetRewardsInterval

func (m *Params) GetRewardsInterval() uint64

func (*Params) GetSafetyMaxSlashPercent

func (m *Params) GetSafetyMaxSlashPercent() uint64

func (*Params) GetSafetyNumValidators

func (m *Params) GetSafetyNumValidators() uint64

func (*Params) GetStrideCommission

func (m *Params) GetStrideCommission() uint64

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 QueryAddressUnbondings

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

func (*QueryAddressUnbondings) Descriptor

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

func (*QueryAddressUnbondings) GetAddress

func (m *QueryAddressUnbondings) GetAddress() string

func (*QueryAddressUnbondings) Marshal

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

func (*QueryAddressUnbondings) MarshalTo

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

func (*QueryAddressUnbondings) MarshalToSizedBuffer

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

func (*QueryAddressUnbondings) ProtoMessage

func (*QueryAddressUnbondings) ProtoMessage()

func (*QueryAddressUnbondings) Reset

func (m *QueryAddressUnbondings) Reset()

func (*QueryAddressUnbondings) Size

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

func (*QueryAddressUnbondings) String

func (m *QueryAddressUnbondings) String() string

func (*QueryAddressUnbondings) Unmarshal

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

func (*QueryAddressUnbondings) XXX_DiscardUnknown

func (m *QueryAddressUnbondings) XXX_DiscardUnknown()

func (*QueryAddressUnbondings) XXX_Marshal

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

func (*QueryAddressUnbondings) XXX_Merge

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

func (*QueryAddressUnbondings) XXX_Size

func (m *QueryAddressUnbondings) XXX_Size() int

func (*QueryAddressUnbondings) XXX_Unmarshal

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

type QueryAddressUnbondingsResponse

type QueryAddressUnbondingsResponse struct {
	AddressUnbondings []AddressUnbonding `protobuf:"bytes,1,rep,name=address_unbondings,json=addressUnbondings,proto3" json:"address_unbondings"`
}

func (*QueryAddressUnbondingsResponse) Descriptor

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

func (*QueryAddressUnbondingsResponse) GetAddressUnbondings

func (m *QueryAddressUnbondingsResponse) GetAddressUnbondings() []AddressUnbonding

func (*QueryAddressUnbondingsResponse) Marshal

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

func (*QueryAddressUnbondingsResponse) MarshalTo

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

func (*QueryAddressUnbondingsResponse) MarshalToSizedBuffer

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

func (*QueryAddressUnbondingsResponse) ProtoMessage

func (*QueryAddressUnbondingsResponse) ProtoMessage()

func (*QueryAddressUnbondingsResponse) Reset

func (m *QueryAddressUnbondingsResponse) Reset()

func (*QueryAddressUnbondingsResponse) Size

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

func (*QueryAddressUnbondingsResponse) String

func (*QueryAddressUnbondingsResponse) Unmarshal

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

func (*QueryAddressUnbondingsResponse) XXX_DiscardUnknown

func (m *QueryAddressUnbondingsResponse) XXX_DiscardUnknown()

func (*QueryAddressUnbondingsResponse) XXX_Marshal

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

func (*QueryAddressUnbondingsResponse) XXX_Merge

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

func (*QueryAddressUnbondingsResponse) XXX_Size

func (m *QueryAddressUnbondingsResponse) XXX_Size() int

func (*QueryAddressUnbondingsResponse) XXX_Unmarshal

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

type QueryAllEpochTrackerRequest

type QueryAllEpochTrackerRequest struct {
}

func (*QueryAllEpochTrackerRequest) Descriptor

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

func (*QueryAllEpochTrackerRequest) Marshal

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

func (*QueryAllEpochTrackerRequest) MarshalTo

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

func (*QueryAllEpochTrackerRequest) MarshalToSizedBuffer

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

func (*QueryAllEpochTrackerRequest) ProtoMessage

func (*QueryAllEpochTrackerRequest) ProtoMessage()

func (*QueryAllEpochTrackerRequest) Reset

func (m *QueryAllEpochTrackerRequest) Reset()

func (*QueryAllEpochTrackerRequest) Size

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

func (*QueryAllEpochTrackerRequest) String

func (m *QueryAllEpochTrackerRequest) String() string

func (*QueryAllEpochTrackerRequest) Unmarshal

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

func (*QueryAllEpochTrackerRequest) XXX_DiscardUnknown

func (m *QueryAllEpochTrackerRequest) XXX_DiscardUnknown()

func (*QueryAllEpochTrackerRequest) XXX_Marshal

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

func (*QueryAllEpochTrackerRequest) XXX_Merge

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

func (*QueryAllEpochTrackerRequest) XXX_Size

func (m *QueryAllEpochTrackerRequest) XXX_Size() int

func (*QueryAllEpochTrackerRequest) XXX_Unmarshal

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

type QueryAllEpochTrackerResponse

type QueryAllEpochTrackerResponse struct {
	EpochTracker []EpochTracker `protobuf:"bytes,1,rep,name=epoch_tracker,json=epochTracker,proto3" json:"epoch_tracker"`
}

func (*QueryAllEpochTrackerResponse) Descriptor

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

func (*QueryAllEpochTrackerResponse) GetEpochTracker

func (m *QueryAllEpochTrackerResponse) GetEpochTracker() []EpochTracker

func (*QueryAllEpochTrackerResponse) Marshal

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

func (*QueryAllEpochTrackerResponse) MarshalTo

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

func (*QueryAllEpochTrackerResponse) MarshalToSizedBuffer

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

func (*QueryAllEpochTrackerResponse) ProtoMessage

func (*QueryAllEpochTrackerResponse) ProtoMessage()

func (*QueryAllEpochTrackerResponse) Reset

func (m *QueryAllEpochTrackerResponse) Reset()

func (*QueryAllEpochTrackerResponse) Size

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

func (*QueryAllEpochTrackerResponse) String

func (*QueryAllEpochTrackerResponse) Unmarshal

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

func (*QueryAllEpochTrackerResponse) XXX_DiscardUnknown

func (m *QueryAllEpochTrackerResponse) XXX_DiscardUnknown()

func (*QueryAllEpochTrackerResponse) XXX_Marshal

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

func (*QueryAllEpochTrackerResponse) XXX_Merge

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

func (*QueryAllEpochTrackerResponse) XXX_Size

func (m *QueryAllEpochTrackerResponse) XXX_Size() int

func (*QueryAllEpochTrackerResponse) XXX_Unmarshal

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

type QueryAllHostZoneRequest

type QueryAllHostZoneRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllHostZoneRequest) Descriptor

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

func (*QueryAllHostZoneRequest) GetPagination

func (m *QueryAllHostZoneRequest) GetPagination() *query.PageRequest

func (*QueryAllHostZoneRequest) Marshal

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

func (*QueryAllHostZoneRequest) MarshalTo

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

func (*QueryAllHostZoneRequest) MarshalToSizedBuffer

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

func (*QueryAllHostZoneRequest) ProtoMessage

func (*QueryAllHostZoneRequest) ProtoMessage()

func (*QueryAllHostZoneRequest) Reset

func (m *QueryAllHostZoneRequest) Reset()

func (*QueryAllHostZoneRequest) Size

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

func (*QueryAllHostZoneRequest) String

func (m *QueryAllHostZoneRequest) String() string

func (*QueryAllHostZoneRequest) Unmarshal

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

func (*QueryAllHostZoneRequest) XXX_DiscardUnknown

func (m *QueryAllHostZoneRequest) XXX_DiscardUnknown()

func (*QueryAllHostZoneRequest) XXX_Marshal

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

func (*QueryAllHostZoneRequest) XXX_Merge

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

func (*QueryAllHostZoneRequest) XXX_Size

func (m *QueryAllHostZoneRequest) XXX_Size() int

func (*QueryAllHostZoneRequest) XXX_Unmarshal

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

type QueryAllHostZoneResponse

type QueryAllHostZoneResponse struct {
	HostZone   []HostZone          `protobuf:"bytes,1,rep,name=host_zone,json=hostZone,proto3" json:"host_zone"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllHostZoneResponse) Descriptor

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

func (*QueryAllHostZoneResponse) GetHostZone

func (m *QueryAllHostZoneResponse) GetHostZone() []HostZone

func (*QueryAllHostZoneResponse) GetPagination

func (m *QueryAllHostZoneResponse) GetPagination() *query.PageResponse

func (*QueryAllHostZoneResponse) Marshal

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

func (*QueryAllHostZoneResponse) MarshalTo

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

func (*QueryAllHostZoneResponse) MarshalToSizedBuffer

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

func (*QueryAllHostZoneResponse) ProtoMessage

func (*QueryAllHostZoneResponse) ProtoMessage()

func (*QueryAllHostZoneResponse) Reset

func (m *QueryAllHostZoneResponse) Reset()

func (*QueryAllHostZoneResponse) Size

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

func (*QueryAllHostZoneResponse) String

func (m *QueryAllHostZoneResponse) String() string

func (*QueryAllHostZoneResponse) Unmarshal

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

func (*QueryAllHostZoneResponse) XXX_DiscardUnknown

func (m *QueryAllHostZoneResponse) XXX_DiscardUnknown()

func (*QueryAllHostZoneResponse) XXX_Marshal

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

func (*QueryAllHostZoneResponse) XXX_Merge

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

func (*QueryAllHostZoneResponse) XXX_Size

func (m *QueryAllHostZoneResponse) XXX_Size() int

func (*QueryAllHostZoneResponse) XXX_Unmarshal

func (m *QueryAllHostZoneResponse) 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)
	// Queries a Validator by host zone.
	Validators(ctx context.Context, in *QueryGetValidatorsRequest, opts ...grpc.CallOption) (*QueryGetValidatorsResponse, error)
	// Queries a HostZone by id.
	HostZone(ctx context.Context, in *QueryGetHostZoneRequest, opts ...grpc.CallOption) (*QueryGetHostZoneResponse, error)
	// Queries a list of HostZone items.
	HostZoneAll(ctx context.Context, in *QueryAllHostZoneRequest, opts ...grpc.CallOption) (*QueryAllHostZoneResponse, error)
	// Queries a list of ModuleAddress items.
	ModuleAddress(ctx context.Context, in *QueryModuleAddressRequest, opts ...grpc.CallOption) (*QueryModuleAddressResponse, error)
	// QueryInterchainAccountFromAddress returns the interchain account for given
	// owner address on a given connection pair
	InterchainAccountFromAddress(ctx context.Context, in *QueryInterchainAccountFromAddressRequest, opts ...grpc.CallOption) (*QueryInterchainAccountFromAddressResponse, error)
	// Queries a EpochTracker by index.
	EpochTracker(ctx context.Context, in *QueryGetEpochTrackerRequest, opts ...grpc.CallOption) (*QueryGetEpochTrackerResponse, error)
	// Queries a list of EpochTracker items.
	EpochTrackerAll(ctx context.Context, in *QueryAllEpochTrackerRequest, opts ...grpc.CallOption) (*QueryAllEpochTrackerResponse, error)
	// Queries the next packet sequence for one for a given channel
	NextPacketSequence(ctx context.Context, in *QueryGetNextPacketSequenceRequest, opts ...grpc.CallOption) (*QueryGetNextPacketSequenceResponse, error)
	// Queries an address's unbondings
	AddressUnbondings(ctx context.Context, in *QueryAddressUnbondings, opts ...grpc.CallOption) (*QueryAddressUnbondingsResponse, 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 QueryGetEpochTrackerRequest

type QueryGetEpochTrackerRequest struct {
	EpochIdentifier string `protobuf:"bytes,1,opt,name=epoch_identifier,json=epochIdentifier,proto3" json:"epoch_identifier,omitempty"`
}

func (*QueryGetEpochTrackerRequest) Descriptor

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

func (*QueryGetEpochTrackerRequest) GetEpochIdentifier

func (m *QueryGetEpochTrackerRequest) GetEpochIdentifier() string

func (*QueryGetEpochTrackerRequest) Marshal

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

func (*QueryGetEpochTrackerRequest) MarshalTo

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

func (*QueryGetEpochTrackerRequest) MarshalToSizedBuffer

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

func (*QueryGetEpochTrackerRequest) ProtoMessage

func (*QueryGetEpochTrackerRequest) ProtoMessage()

func (*QueryGetEpochTrackerRequest) Reset

func (m *QueryGetEpochTrackerRequest) Reset()

func (*QueryGetEpochTrackerRequest) Size

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

func (*QueryGetEpochTrackerRequest) String

func (m *QueryGetEpochTrackerRequest) String() string

func (*QueryGetEpochTrackerRequest) Unmarshal

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

func (*QueryGetEpochTrackerRequest) XXX_DiscardUnknown

func (m *QueryGetEpochTrackerRequest) XXX_DiscardUnknown()

func (*QueryGetEpochTrackerRequest) XXX_Marshal

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

func (*QueryGetEpochTrackerRequest) XXX_Merge

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

func (*QueryGetEpochTrackerRequest) XXX_Size

func (m *QueryGetEpochTrackerRequest) XXX_Size() int

func (*QueryGetEpochTrackerRequest) XXX_Unmarshal

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

type QueryGetEpochTrackerResponse

type QueryGetEpochTrackerResponse struct {
	EpochTracker EpochTracker `protobuf:"bytes,1,opt,name=epoch_tracker,json=epochTracker,proto3" json:"epoch_tracker"`
}

func (*QueryGetEpochTrackerResponse) Descriptor

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

func (*QueryGetEpochTrackerResponse) GetEpochTracker

func (m *QueryGetEpochTrackerResponse) GetEpochTracker() EpochTracker

func (*QueryGetEpochTrackerResponse) Marshal

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

func (*QueryGetEpochTrackerResponse) MarshalTo

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

func (*QueryGetEpochTrackerResponse) MarshalToSizedBuffer

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

func (*QueryGetEpochTrackerResponse) ProtoMessage

func (*QueryGetEpochTrackerResponse) ProtoMessage()

func (*QueryGetEpochTrackerResponse) Reset

func (m *QueryGetEpochTrackerResponse) Reset()

func (*QueryGetEpochTrackerResponse) Size

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

func (*QueryGetEpochTrackerResponse) String

func (*QueryGetEpochTrackerResponse) Unmarshal

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

func (*QueryGetEpochTrackerResponse) XXX_DiscardUnknown

func (m *QueryGetEpochTrackerResponse) XXX_DiscardUnknown()

func (*QueryGetEpochTrackerResponse) XXX_Marshal

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

func (*QueryGetEpochTrackerResponse) XXX_Merge

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

func (*QueryGetEpochTrackerResponse) XXX_Size

func (m *QueryGetEpochTrackerResponse) XXX_Size() int

func (*QueryGetEpochTrackerResponse) XXX_Unmarshal

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

type QueryGetHostZoneRequest

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

func (*QueryGetHostZoneRequest) Descriptor

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

func (*QueryGetHostZoneRequest) GetChainId

func (m *QueryGetHostZoneRequest) GetChainId() string

func (*QueryGetHostZoneRequest) Marshal

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

func (*QueryGetHostZoneRequest) MarshalTo

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

func (*QueryGetHostZoneRequest) MarshalToSizedBuffer

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

func (*QueryGetHostZoneRequest) ProtoMessage

func (*QueryGetHostZoneRequest) ProtoMessage()

func (*QueryGetHostZoneRequest) Reset

func (m *QueryGetHostZoneRequest) Reset()

func (*QueryGetHostZoneRequest) Size

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

func (*QueryGetHostZoneRequest) String

func (m *QueryGetHostZoneRequest) String() string

func (*QueryGetHostZoneRequest) Unmarshal

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

func (*QueryGetHostZoneRequest) XXX_DiscardUnknown

func (m *QueryGetHostZoneRequest) XXX_DiscardUnknown()

func (*QueryGetHostZoneRequest) XXX_Marshal

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

func (*QueryGetHostZoneRequest) XXX_Merge

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

func (*QueryGetHostZoneRequest) XXX_Size

func (m *QueryGetHostZoneRequest) XXX_Size() int

func (*QueryGetHostZoneRequest) XXX_Unmarshal

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

type QueryGetHostZoneResponse

type QueryGetHostZoneResponse struct {
	HostZone HostZone `protobuf:"bytes,1,opt,name=host_zone,json=hostZone,proto3" json:"host_zone"`
}

func (*QueryGetHostZoneResponse) Descriptor

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

func (*QueryGetHostZoneResponse) GetHostZone

func (m *QueryGetHostZoneResponse) GetHostZone() HostZone

func (*QueryGetHostZoneResponse) Marshal

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

func (*QueryGetHostZoneResponse) MarshalTo

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

func (*QueryGetHostZoneResponse) MarshalToSizedBuffer

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

func (*QueryGetHostZoneResponse) ProtoMessage

func (*QueryGetHostZoneResponse) ProtoMessage()

func (*QueryGetHostZoneResponse) Reset

func (m *QueryGetHostZoneResponse) Reset()

func (*QueryGetHostZoneResponse) Size

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

func (*QueryGetHostZoneResponse) String

func (m *QueryGetHostZoneResponse) String() string

func (*QueryGetHostZoneResponse) Unmarshal

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

func (*QueryGetHostZoneResponse) XXX_DiscardUnknown

func (m *QueryGetHostZoneResponse) XXX_DiscardUnknown()

func (*QueryGetHostZoneResponse) XXX_Marshal

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

func (*QueryGetHostZoneResponse) XXX_Merge

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

func (*QueryGetHostZoneResponse) XXX_Size

func (m *QueryGetHostZoneResponse) XXX_Size() int

func (*QueryGetHostZoneResponse) XXX_Unmarshal

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

type QueryGetNextPacketSequenceRequest

type QueryGetNextPacketSequenceRequest struct {
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	PortId    string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
}

func (*QueryGetNextPacketSequenceRequest) Descriptor

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

func (*QueryGetNextPacketSequenceRequest) GetChannelId

func (m *QueryGetNextPacketSequenceRequest) GetChannelId() string

func (*QueryGetNextPacketSequenceRequest) GetPortId

func (*QueryGetNextPacketSequenceRequest) Marshal

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

func (*QueryGetNextPacketSequenceRequest) MarshalTo

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

func (*QueryGetNextPacketSequenceRequest) MarshalToSizedBuffer

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

func (*QueryGetNextPacketSequenceRequest) ProtoMessage

func (*QueryGetNextPacketSequenceRequest) ProtoMessage()

func (*QueryGetNextPacketSequenceRequest) Reset

func (*QueryGetNextPacketSequenceRequest) Size

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

func (*QueryGetNextPacketSequenceRequest) String

func (*QueryGetNextPacketSequenceRequest) Unmarshal

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

func (*QueryGetNextPacketSequenceRequest) XXX_DiscardUnknown

func (m *QueryGetNextPacketSequenceRequest) XXX_DiscardUnknown()

func (*QueryGetNextPacketSequenceRequest) XXX_Marshal

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

func (*QueryGetNextPacketSequenceRequest) XXX_Merge

func (*QueryGetNextPacketSequenceRequest) XXX_Size

func (m *QueryGetNextPacketSequenceRequest) XXX_Size() int

func (*QueryGetNextPacketSequenceRequest) XXX_Unmarshal

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

type QueryGetNextPacketSequenceResponse

type QueryGetNextPacketSequenceResponse struct {
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

func (*QueryGetNextPacketSequenceResponse) Descriptor

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

func (*QueryGetNextPacketSequenceResponse) GetSequence

func (m *QueryGetNextPacketSequenceResponse) GetSequence() uint64

func (*QueryGetNextPacketSequenceResponse) Marshal

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

func (*QueryGetNextPacketSequenceResponse) MarshalTo

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

func (*QueryGetNextPacketSequenceResponse) MarshalToSizedBuffer

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

func (*QueryGetNextPacketSequenceResponse) ProtoMessage

func (*QueryGetNextPacketSequenceResponse) ProtoMessage()

func (*QueryGetNextPacketSequenceResponse) Reset

func (*QueryGetNextPacketSequenceResponse) Size

func (*QueryGetNextPacketSequenceResponse) String

func (*QueryGetNextPacketSequenceResponse) Unmarshal

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

func (*QueryGetNextPacketSequenceResponse) XXX_DiscardUnknown

func (m *QueryGetNextPacketSequenceResponse) XXX_DiscardUnknown()

func (*QueryGetNextPacketSequenceResponse) XXX_Marshal

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

func (*QueryGetNextPacketSequenceResponse) XXX_Merge

func (*QueryGetNextPacketSequenceResponse) XXX_Size

func (*QueryGetNextPacketSequenceResponse) XXX_Unmarshal

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

type QueryGetValidatorsRequest

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

func (*QueryGetValidatorsRequest) Descriptor

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

func (*QueryGetValidatorsRequest) GetChainId

func (m *QueryGetValidatorsRequest) GetChainId() string

func (*QueryGetValidatorsRequest) Marshal

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

func (*QueryGetValidatorsRequest) MarshalTo

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

func (*QueryGetValidatorsRequest) MarshalToSizedBuffer

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

func (*QueryGetValidatorsRequest) ProtoMessage

func (*QueryGetValidatorsRequest) ProtoMessage()

func (*QueryGetValidatorsRequest) Reset

func (m *QueryGetValidatorsRequest) Reset()

func (*QueryGetValidatorsRequest) Size

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

func (*QueryGetValidatorsRequest) String

func (m *QueryGetValidatorsRequest) String() string

func (*QueryGetValidatorsRequest) Unmarshal

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

func (*QueryGetValidatorsRequest) XXX_DiscardUnknown

func (m *QueryGetValidatorsRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorsRequest) XXX_Marshal

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

func (*QueryGetValidatorsRequest) XXX_Merge

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

func (*QueryGetValidatorsRequest) XXX_Size

func (m *QueryGetValidatorsRequest) XXX_Size() int

func (*QueryGetValidatorsRequest) XXX_Unmarshal

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

type QueryGetValidatorsResponse

type QueryGetValidatorsResponse struct {
	Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
}

func (*QueryGetValidatorsResponse) Descriptor

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

func (*QueryGetValidatorsResponse) GetValidators

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

func (*QueryGetValidatorsResponse) Marshal

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

func (*QueryGetValidatorsResponse) MarshalTo

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

func (*QueryGetValidatorsResponse) MarshalToSizedBuffer

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

func (*QueryGetValidatorsResponse) ProtoMessage

func (*QueryGetValidatorsResponse) ProtoMessage()

func (*QueryGetValidatorsResponse) Reset

func (m *QueryGetValidatorsResponse) Reset()

func (*QueryGetValidatorsResponse) Size

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

func (*QueryGetValidatorsResponse) String

func (m *QueryGetValidatorsResponse) String() string

func (*QueryGetValidatorsResponse) Unmarshal

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

func (*QueryGetValidatorsResponse) XXX_DiscardUnknown

func (m *QueryGetValidatorsResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorsResponse) XXX_Marshal

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

func (*QueryGetValidatorsResponse) XXX_Merge

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

func (*QueryGetValidatorsResponse) XXX_Size

func (m *QueryGetValidatorsResponse) XXX_Size() int

func (*QueryGetValidatorsResponse) XXX_Unmarshal

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

type QueryInterchainAccountFromAddressRequest

type QueryInterchainAccountFromAddressRequest struct {
	Owner        string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"`
}

QueryInterchainAccountFromAddressRequest is the request type for the Query/InterchainAccountAddress RPC

func NewQueryInterchainAccountRequest

func NewQueryInterchainAccountRequest(connectionID, owner string) *QueryInterchainAccountFromAddressRequest

NewQueryInterchainAccountRequest creates and returns a new QueryInterchainAccountFromAddressRequest

func (*QueryInterchainAccountFromAddressRequest) Descriptor

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

func (*QueryInterchainAccountFromAddressRequest) GetConnectionId

func (m *QueryInterchainAccountFromAddressRequest) GetConnectionId() string

func (*QueryInterchainAccountFromAddressRequest) GetOwner

func (*QueryInterchainAccountFromAddressRequest) Marshal

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

func (*QueryInterchainAccountFromAddressRequest) MarshalTo

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

func (*QueryInterchainAccountFromAddressRequest) MarshalToSizedBuffer

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

func (*QueryInterchainAccountFromAddressRequest) ProtoMessage

func (*QueryInterchainAccountFromAddressRequest) Reset

func (*QueryInterchainAccountFromAddressRequest) Size

func (*QueryInterchainAccountFromAddressRequest) String

func (*QueryInterchainAccountFromAddressRequest) Unmarshal

func (*QueryInterchainAccountFromAddressRequest) XXX_DiscardUnknown

func (m *QueryInterchainAccountFromAddressRequest) XXX_DiscardUnknown()

func (*QueryInterchainAccountFromAddressRequest) XXX_Marshal

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

func (*QueryInterchainAccountFromAddressRequest) XXX_Merge

func (*QueryInterchainAccountFromAddressRequest) XXX_Size

func (*QueryInterchainAccountFromAddressRequest) XXX_Unmarshal

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

type QueryInterchainAccountFromAddressResponse

type QueryInterchainAccountFromAddressResponse struct {
	InterchainAccountAddress string `` /* 169-byte string literal not displayed */
}

QueryInterchainAccountFromAddressResponse the response type for the Query/InterchainAccountAddress RPC

func NewQueryInterchainAccountResponse

func NewQueryInterchainAccountResponse(interchainAccAddr string) *QueryInterchainAccountFromAddressResponse

NewQueryInterchainAccountResponse creates and returns a new QueryInterchainAccountFromAddressResponse

func (*QueryInterchainAccountFromAddressResponse) Descriptor

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

func (*QueryInterchainAccountFromAddressResponse) GetInterchainAccountAddress

func (m *QueryInterchainAccountFromAddressResponse) GetInterchainAccountAddress() string

func (*QueryInterchainAccountFromAddressResponse) Marshal

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

func (*QueryInterchainAccountFromAddressResponse) MarshalTo

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

func (*QueryInterchainAccountFromAddressResponse) MarshalToSizedBuffer

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

func (*QueryInterchainAccountFromAddressResponse) ProtoMessage

func (*QueryInterchainAccountFromAddressResponse) Reset

func (*QueryInterchainAccountFromAddressResponse) Size

func (*QueryInterchainAccountFromAddressResponse) String

func (*QueryInterchainAccountFromAddressResponse) Unmarshal

func (*QueryInterchainAccountFromAddressResponse) XXX_DiscardUnknown

func (m *QueryInterchainAccountFromAddressResponse) XXX_DiscardUnknown()

func (*QueryInterchainAccountFromAddressResponse) XXX_Marshal

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

func (*QueryInterchainAccountFromAddressResponse) XXX_Merge

func (*QueryInterchainAccountFromAddressResponse) XXX_Size

func (*QueryInterchainAccountFromAddressResponse) XXX_Unmarshal

type QueryModuleAddressRequest

type QueryModuleAddressRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

func (*QueryModuleAddressRequest) Descriptor

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

func (*QueryModuleAddressRequest) GetName

func (m *QueryModuleAddressRequest) GetName() string

func (*QueryModuleAddressRequest) Marshal

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

func (*QueryModuleAddressRequest) MarshalTo

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

func (*QueryModuleAddressRequest) MarshalToSizedBuffer

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

func (*QueryModuleAddressRequest) ProtoMessage

func (*QueryModuleAddressRequest) ProtoMessage()

func (*QueryModuleAddressRequest) Reset

func (m *QueryModuleAddressRequest) Reset()

func (*QueryModuleAddressRequest) Size

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

func (*QueryModuleAddressRequest) String

func (m *QueryModuleAddressRequest) String() string

func (*QueryModuleAddressRequest) Unmarshal

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

func (*QueryModuleAddressRequest) XXX_DiscardUnknown

func (m *QueryModuleAddressRequest) XXX_DiscardUnknown()

func (*QueryModuleAddressRequest) XXX_Marshal

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

func (*QueryModuleAddressRequest) XXX_Merge

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

func (*QueryModuleAddressRequest) XXX_Size

func (m *QueryModuleAddressRequest) XXX_Size() int

func (*QueryModuleAddressRequest) XXX_Unmarshal

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

type QueryModuleAddressResponse

type QueryModuleAddressResponse struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
}

func (*QueryModuleAddressResponse) Descriptor

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

func (*QueryModuleAddressResponse) GetAddr

func (m *QueryModuleAddressResponse) GetAddr() string

func (*QueryModuleAddressResponse) Marshal

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

func (*QueryModuleAddressResponse) MarshalTo

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

func (*QueryModuleAddressResponse) MarshalToSizedBuffer

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

func (*QueryModuleAddressResponse) ProtoMessage

func (*QueryModuleAddressResponse) ProtoMessage()

func (*QueryModuleAddressResponse) Reset

func (m *QueryModuleAddressResponse) Reset()

func (*QueryModuleAddressResponse) Size

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

func (*QueryModuleAddressResponse) String

func (m *QueryModuleAddressResponse) String() string

func (*QueryModuleAddressResponse) Unmarshal

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

func (*QueryModuleAddressResponse) XXX_DiscardUnknown

func (m *QueryModuleAddressResponse) XXX_DiscardUnknown()

func (*QueryModuleAddressResponse) XXX_Marshal

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

func (*QueryModuleAddressResponse) XXX_Merge

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

func (*QueryModuleAddressResponse) XXX_Size

func (m *QueryModuleAddressResponse) XXX_Size() int

func (*QueryModuleAddressResponse) XXX_Unmarshal

func (m *QueryModuleAddressResponse) 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 QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a Validator by host zone.
	Validators(context.Context, *QueryGetValidatorsRequest) (*QueryGetValidatorsResponse, error)
	// Queries a HostZone by id.
	HostZone(context.Context, *QueryGetHostZoneRequest) (*QueryGetHostZoneResponse, error)
	// Queries a list of HostZone items.
	HostZoneAll(context.Context, *QueryAllHostZoneRequest) (*QueryAllHostZoneResponse, error)
	// Queries a list of ModuleAddress items.
	ModuleAddress(context.Context, *QueryModuleAddressRequest) (*QueryModuleAddressResponse, error)
	// QueryInterchainAccountFromAddress returns the interchain account for given
	// owner address on a given connection pair
	InterchainAccountFromAddress(context.Context, *QueryInterchainAccountFromAddressRequest) (*QueryInterchainAccountFromAddressResponse, error)
	// Queries a EpochTracker by index.
	EpochTracker(context.Context, *QueryGetEpochTrackerRequest) (*QueryGetEpochTrackerResponse, error)
	// Queries a list of EpochTracker items.
	EpochTrackerAll(context.Context, *QueryAllEpochTrackerRequest) (*QueryAllEpochTrackerResponse, error)
	// Queries the next packet sequence for one for a given channel
	NextPacketSequence(context.Context, *QueryGetNextPacketSequenceRequest) (*QueryGetNextPacketSequenceResponse, error)
	// Queries an address's unbondings
	AddressUnbondings(context.Context, *QueryAddressUnbondings) (*QueryAddressUnbondingsResponse, error)
}

QueryServer is the server API for Query service.

type RatelimitKeeper

type RatelimitKeeper interface {
	AddDenomToBlacklist(ctx sdk.Context, denom string)
	RemoveDenomFromBlacklist(ctx sdk.Context, denom string)
}

type RebalanceCallback

type RebalanceCallback struct {
	HostZoneId   string         `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
	Rebalancings []*Rebalancing `protobuf:"bytes,2,rep,name=rebalancings,proto3" json:"rebalancings,omitempty"`
}

func (*RebalanceCallback) Descriptor

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

func (*RebalanceCallback) GetHostZoneId

func (m *RebalanceCallback) GetHostZoneId() string

func (*RebalanceCallback) GetRebalancings

func (m *RebalanceCallback) GetRebalancings() []*Rebalancing

func (*RebalanceCallback) Marshal

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

func (*RebalanceCallback) MarshalTo

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

func (*RebalanceCallback) MarshalToSizedBuffer

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

func (*RebalanceCallback) ProtoMessage

func (*RebalanceCallback) ProtoMessage()

func (*RebalanceCallback) Reset

func (m *RebalanceCallback) Reset()

func (*RebalanceCallback) Size

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

func (*RebalanceCallback) String

func (m *RebalanceCallback) String() string

func (*RebalanceCallback) Unmarshal

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

func (*RebalanceCallback) XXX_DiscardUnknown

func (m *RebalanceCallback) XXX_DiscardUnknown()

func (*RebalanceCallback) XXX_Marshal

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

func (*RebalanceCallback) XXX_Merge

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

func (*RebalanceCallback) XXX_Size

func (m *RebalanceCallback) XXX_Size() int

func (*RebalanceCallback) XXX_Unmarshal

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

type Rebalancing

type Rebalancing struct {
	SrcValidator string                                 `protobuf:"bytes,1,opt,name=src_validator,json=srcValidator,proto3" json:"src_validator,omitempty"`
	DstValidator string                                 `protobuf:"bytes,2,opt,name=dst_validator,json=dstValidator,proto3" json:"dst_validator,omitempty"`
	Amt          github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amt,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amt"`
}

func (*Rebalancing) Descriptor

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

func (*Rebalancing) GetDstValidator

func (m *Rebalancing) GetDstValidator() string

func (*Rebalancing) GetSrcValidator

func (m *Rebalancing) GetSrcValidator() string

func (*Rebalancing) Marshal

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

func (*Rebalancing) MarshalTo

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

func (*Rebalancing) MarshalToSizedBuffer

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

func (*Rebalancing) ProtoMessage

func (*Rebalancing) ProtoMessage()

func (*Rebalancing) Reset

func (m *Rebalancing) Reset()

func (*Rebalancing) Size

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

func (*Rebalancing) String

func (m *Rebalancing) String() string

func (*Rebalancing) Unmarshal

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

func (*Rebalancing) XXX_DiscardUnknown

func (m *Rebalancing) XXX_DiscardUnknown()

func (*Rebalancing) XXX_Marshal

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

func (*Rebalancing) XXX_Merge

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

func (*Rebalancing) XXX_Size

func (m *Rebalancing) XXX_Size() int

func (*Rebalancing) XXX_Unmarshal

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

type RedemptionCallback

type RedemptionCallback struct {
	HostZoneId              string   `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
	EpochUnbondingRecordIds []uint64 `` /* 142-byte string literal not displayed */
}

---------------------- Redemption Callbacks ---------------------- //

func (*RedemptionCallback) Descriptor

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

func (*RedemptionCallback) GetEpochUnbondingRecordIds

func (m *RedemptionCallback) GetEpochUnbondingRecordIds() []uint64

func (*RedemptionCallback) GetHostZoneId

func (m *RedemptionCallback) GetHostZoneId() string

func (*RedemptionCallback) Marshal

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

func (*RedemptionCallback) MarshalTo

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

func (*RedemptionCallback) MarshalToSizedBuffer

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

func (*RedemptionCallback) ProtoMessage

func (*RedemptionCallback) ProtoMessage()

func (*RedemptionCallback) Reset

func (m *RedemptionCallback) Reset()

func (*RedemptionCallback) Size

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

func (*RedemptionCallback) String

func (m *RedemptionCallback) String() string

func (*RedemptionCallback) Unmarshal

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

func (*RedemptionCallback) XXX_DiscardUnknown

func (m *RedemptionCallback) XXX_DiscardUnknown()

func (*RedemptionCallback) XXX_Marshal

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

func (*RedemptionCallback) XXX_Merge

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

func (*RedemptionCallback) XXX_Size

func (m *RedemptionCallback) XXX_Size() int

func (*RedemptionCallback) XXX_Unmarshal

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

type ReinvestCallback

type ReinvestCallback struct {
	ReinvestAmount types.Coin `` /* 146-byte string literal not displayed */
	HostZoneId     string     `protobuf:"bytes,3,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
}

---------------------- Reinvest Callback ---------------------- //

func (*ReinvestCallback) Descriptor

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

func (*ReinvestCallback) GetHostZoneId

func (m *ReinvestCallback) GetHostZoneId() string

func (*ReinvestCallback) GetReinvestAmount

func (m *ReinvestCallback) GetReinvestAmount() types.Coin

func (*ReinvestCallback) Marshal

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

func (*ReinvestCallback) MarshalTo

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

func (*ReinvestCallback) MarshalToSizedBuffer

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

func (*ReinvestCallback) ProtoMessage

func (*ReinvestCallback) ProtoMessage()

func (*ReinvestCallback) Reset

func (m *ReinvestCallback) Reset()

func (*ReinvestCallback) Size

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

func (*ReinvestCallback) String

func (m *ReinvestCallback) String() string

func (*ReinvestCallback) Unmarshal

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

func (*ReinvestCallback) XXX_DiscardUnknown

func (m *ReinvestCallback) XXX_DiscardUnknown()

func (*ReinvestCallback) XXX_Marshal

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

func (*ReinvestCallback) XXX_Merge

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

func (*ReinvestCallback) XXX_Size

func (m *ReinvestCallback) XXX_Size() int

func (*ReinvestCallback) XXX_Unmarshal

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

type SplitDelegation

type SplitDelegation struct {
	Validator string                                 `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Amount    github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}

---------------------- Delegation Callbacks ---------------------- //

func (*SplitDelegation) Descriptor

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

func (*SplitDelegation) GetValidator

func (m *SplitDelegation) GetValidator() string

func (*SplitDelegation) Marshal

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

func (*SplitDelegation) MarshalTo

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

func (*SplitDelegation) MarshalToSizedBuffer

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

func (*SplitDelegation) ProtoMessage

func (*SplitDelegation) ProtoMessage()

func (*SplitDelegation) Reset

func (m *SplitDelegation) Reset()

func (*SplitDelegation) Size

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

func (*SplitDelegation) String

func (m *SplitDelegation) String() string

func (*SplitDelegation) Unmarshal

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

func (*SplitDelegation) XXX_DiscardUnknown

func (m *SplitDelegation) XXX_DiscardUnknown()

func (*SplitDelegation) XXX_Marshal

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

func (*SplitDelegation) XXX_Merge

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

func (*SplitDelegation) XXX_Size

func (m *SplitDelegation) XXX_Size() int

func (*SplitDelegation) XXX_Unmarshal

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

type StakeIBCHooks

type StakeIBCHooks interface {
	AfterLiquidStake(ctx sdk.Context, addr sdk.AccAddress) // Must be called after liquid stake is completed
}

StakeIBCHooks event hooks for stakeibc

type StakeibcPacketData

type StakeibcPacketData struct {
	// Types that are valid to be assigned to Packet:
	//	*StakeibcPacketData_NoData
	Packet isStakeibcPacketData_Packet `protobuf_oneof:"packet"`
}

func (*StakeibcPacketData) Descriptor

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

func (*StakeibcPacketData) GetNoData

func (m *StakeibcPacketData) GetNoData() *NoData

func (*StakeibcPacketData) GetPacket

func (m *StakeibcPacketData) GetPacket() isStakeibcPacketData_Packet

func (*StakeibcPacketData) Marshal

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

func (*StakeibcPacketData) MarshalTo

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

func (*StakeibcPacketData) MarshalToSizedBuffer

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

func (*StakeibcPacketData) ProtoMessage

func (*StakeibcPacketData) ProtoMessage()

func (*StakeibcPacketData) Reset

func (m *StakeibcPacketData) Reset()

func (*StakeibcPacketData) Size

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

func (*StakeibcPacketData) String

func (m *StakeibcPacketData) String() string

func (*StakeibcPacketData) Unmarshal

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

func (*StakeibcPacketData) XXX_DiscardUnknown

func (m *StakeibcPacketData) XXX_DiscardUnknown()

func (*StakeibcPacketData) XXX_Marshal

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

func (*StakeibcPacketData) XXX_Merge

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

func (*StakeibcPacketData) XXX_OneofWrappers

func (*StakeibcPacketData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StakeibcPacketData) XXX_Size

func (m *StakeibcPacketData) XXX_Size() int

func (*StakeibcPacketData) XXX_Unmarshal

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

type StakeibcPacketData_NoData

type StakeibcPacketData_NoData struct {
	NoData *NoData `protobuf:"bytes,1,opt,name=no_data,json=noData,proto3,oneof" json:"no_data,omitempty"`
}

func (*StakeibcPacketData_NoData) MarshalTo

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

func (*StakeibcPacketData_NoData) MarshalToSizedBuffer

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

func (*StakeibcPacketData_NoData) Size

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

type UndelegateCallback

type UndelegateCallback struct {
	HostZoneId              string             `protobuf:"bytes,1,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
	SplitDelegations        []*SplitDelegation `protobuf:"bytes,2,rep,name=split_delegations,json=splitDelegations,proto3" json:"split_delegations,omitempty"`
	EpochUnbondingRecordIds []uint64           `` /* 142-byte string literal not displayed */
}

---------------------- Undelegation Callbacks ---------------------- //

func (*UndelegateCallback) Descriptor

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

func (*UndelegateCallback) GetEpochUnbondingRecordIds

func (m *UndelegateCallback) GetEpochUnbondingRecordIds() []uint64

func (*UndelegateCallback) GetHostZoneId

func (m *UndelegateCallback) GetHostZoneId() string

func (*UndelegateCallback) GetSplitDelegations

func (m *UndelegateCallback) GetSplitDelegations() []*SplitDelegation

func (*UndelegateCallback) Marshal

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

func (*UndelegateCallback) MarshalTo

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

func (*UndelegateCallback) MarshalToSizedBuffer

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

func (*UndelegateCallback) ProtoMessage

func (*UndelegateCallback) ProtoMessage()

func (*UndelegateCallback) Reset

func (m *UndelegateCallback) Reset()

func (*UndelegateCallback) Size

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

func (*UndelegateCallback) String

func (m *UndelegateCallback) String() string

func (*UndelegateCallback) Unmarshal

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

func (*UndelegateCallback) XXX_DiscardUnknown

func (m *UndelegateCallback) XXX_DiscardUnknown()

func (*UndelegateCallback) XXX_Marshal

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

func (*UndelegateCallback) XXX_Merge

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

func (*UndelegateCallback) XXX_Size

func (m *UndelegateCallback) XXX_Size() int

func (*UndelegateCallback) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddValidators

func (*UnimplementedMsgServer) ChangeValidatorWeight

func (*UnimplementedMsgServer) ClaimUndelegatedTokens

func (*UnimplementedMsgServer) ClearBalance

func (*UnimplementedMsgServer) DeleteValidator

func (*UnimplementedMsgServer) LiquidStake

func (*UnimplementedMsgServer) RebalanceValidators

func (*UnimplementedMsgServer) RedeemStake

func (*UnimplementedMsgServer) RegisterHostZone

func (*UnimplementedMsgServer) RestoreInterchainAccount

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AddressUnbondings

func (*UnimplementedQueryServer) EpochTracker

func (*UnimplementedQueryServer) EpochTrackerAll

func (*UnimplementedQueryServer) HostZone

func (*UnimplementedQueryServer) HostZoneAll

func (*UnimplementedQueryServer) ModuleAddress

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Validators

type Validator

type Validator struct {
	Name                 string                                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address              string                                 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	DelegationAmt        github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */
	Weight               uint64                                 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"`
	InternalExchangeRate *ValidatorExchangeRate                 `protobuf:"bytes,7,opt,name=internal_exchange_rate,json=internalExchangeRate,proto3" json:"internal_exchange_rate,omitempty"`
}

func (*Validator) Descriptor

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

func (*Validator) Equal

func (v *Validator) Equal(other *Validator) bool

func (*Validator) GetAddress

func (m *Validator) GetAddress() string

func (*Validator) GetInternalExchangeRate

func (m *Validator) GetInternalExchangeRate() *ValidatorExchangeRate

func (*Validator) GetName

func (m *Validator) GetName() string

func (*Validator) GetWeight

func (m *Validator) GetWeight() uint64

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorExchangeRate

type ValidatorExchangeRate struct {
	InternalTokensToSharesRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 185-byte string literal not displayed */
	EpochNumber                uint64                                 `protobuf:"varint,2,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,omitempty"`
}

func (*ValidatorExchangeRate) Descriptor

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

func (*ValidatorExchangeRate) GetEpochNumber

func (m *ValidatorExchangeRate) GetEpochNumber() uint64

func (*ValidatorExchangeRate) Marshal

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

func (*ValidatorExchangeRate) MarshalTo

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

func (*ValidatorExchangeRate) MarshalToSizedBuffer

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

func (*ValidatorExchangeRate) ProtoMessage

func (*ValidatorExchangeRate) ProtoMessage()

func (*ValidatorExchangeRate) Reset

func (m *ValidatorExchangeRate) Reset()

func (*ValidatorExchangeRate) Size

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

func (*ValidatorExchangeRate) String

func (m *ValidatorExchangeRate) String() string

func (*ValidatorExchangeRate) Unmarshal

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

func (*ValidatorExchangeRate) XXX_DiscardUnknown

func (m *ValidatorExchangeRate) XXX_DiscardUnknown()

func (*ValidatorExchangeRate) XXX_Marshal

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

func (*ValidatorExchangeRate) XXX_Merge

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

func (*ValidatorExchangeRate) XXX_Size

func (m *ValidatorExchangeRate) XXX_Size() int

func (*ValidatorExchangeRate) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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