types

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Overview

#nosec G101

#nosec G101

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"
	EventTypeRedeemStakeRequest                = "redeem_stake"
	EventTypeLSMLiquidStakeRequest             = "lsm_liquid_stake"
	EventTypeHostZoneHalt                      = "halt_zone"
	EventTypeValidatorSharesToTokensRateChange = "validator_shares_to_tokens_rate_change"
	EventTypeValidatorSlash                    = "validator_slash"
	EventTypeUndelegation                      = "undelegation"

	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"
	AttributeKeyRedeemer           = "redeemer"
	AttributeKeyReceiver           = "receiver"
	AttributeKeyNativeBaseDenom    = "native_base_denom"
	AttributeKeyNativeIBCDenom     = "native_ibc_denom"
	AttributeKeyTotalUnbondAmount  = "total_unbond_amount"
	AttributeKeyLSMTokenBaseDenom  = "lsm_token_base_denom" // #nosec G101
	AttributeKeyNativeAmount       = "native_amount"
	AttributeKeyStTokenAmount      = "sttoken_amount"
	AttributeKeyValidator          = "validator"
	AttributeKeyTransactionStatus  = "transaction_status"
	AttributeKeyLSMLiquidStakeTxId = "lsm_liquid_stake_tx_id"

	AttributeKeyPreviousSharesToTokensRate = "previous_shares_to_tokens_rate"
	AttributeKeyCurrentSharesToTokensRate  = "current_shares_to_tokens_rate"
	AttributeKeySlashPercent               = "slash_percent"
	AttributeKeySlashAmount                = "slash_amount"
	AttributeKeyCurrentDelegation          = "current_delegation"

	AttributeKeyError = "error"

	AttributeValueCategory             = ModuleName
	AttributeValueTransactionSucceeded = "success"
	AttributeValueTransactionPending   = "pending"
	AttributeValueTransactionFailed    = "failed"
)
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/"

	// TradeRoute keys prefix to retrieve all TradeZones
	TradeRouteKeyPrefix = "TradeRoute-value-"
)
View Source
const (
	ConnectionIdRegex = `^connection-\d+$`
	ChannelIdRegex    = `^channel-\d+$`
	IBCPrefix         = "ibc/"
)
View Source
const (
	MinNumRebalanceValidators = 1
	MaxNumRebalanceValidators = 1
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	MaxUnbondingEntries = 7
)
View Source
const TypeMsgAddValidators = "add_validators"
View Source
const TypeMsgCalibrateDelegation = "calibrate_delegation"
View Source
const TypeMsgChangeValidatorWeights = "change_validator_weight"
View Source
const TypeMsgClaimUndelegatedTokens = "claim_undelegated_tokens"
View Source
const TypeMsgClearBalance = "clear_balance"
View Source
const TypeMsgCreateTradeRoute = "create_trade_route"
View Source
const TypeMsgDeleteTradeRoute = "delete_trade_route"
View Source
const TypeMsgDeleteValidator = "delete_validator"
View Source
const TypeMsgLSMLiquidStake = "lsm_liquid_stake"
View Source
const TypeMsgLiquidStake = "liquid_stake"
View Source
const TypeMsgRebalanceValidators = "rebalance_validators"
View Source
const TypeMsgRedeemStake = "redeem_stake"
View Source
const (
	TypeMsgRedeemTokensForShares = "redeem_tokens_for_shares" // #nosec G101
)

staking message types

View Source
const TypeMsgRegisterHostZone = "register_host_zone"
View Source
const TypeMsgRestoreInterchainAccount = "restore_interchain_account"
View Source
const TypeMsgResumeHostZone = "resume_host_zone"
View Source
const TypeMsgSetCommunityPoolRebate = "set_community_pool_rebate"
View Source
const TypeMsgToggleTradeController = "toggle_trade_controller"
View Source
const TypeMsgUpdateHostZoneParams = "update_host_zone_params"
View Source
const TypeMsgUpdateInnerRedemptionRateBounds = "update_inner_redemption_rate_bounds"
View Source
const TypeMsgUpdateTradeRoute = "update_trade_route"
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")
	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")
	ErrStTokenNotFound                     = errorsmod.Register(ModuleName, 1544, "denom not found in stToken list")
	ErrInvalidLSMToken                     = errorsmod.Register(ModuleName, 1545, "Invalid LSM token")
	ErrValidatorWasSlashed                 = errorsmod.Register(ModuleName, 1546, "Validator was slashed")
	ErrValidatorSharesToTokensRateNotKnown = errorsmod.Register(ModuleName, 1547, "Validator sharesToTokens rate not known")
	ErrInvalidValidatorDelegationUpdates   = errorsmod.Register(ModuleName, 1548, "Invalid validator delegation updates")
	ErrLSMLiquidStakeDisabledForHostZone   = errorsmod.Register(ModuleName, 1549, "LSM liquid stake is disabled for host zone")
	ErrUnableToRemoveValidator             = errorsmod.Register(ModuleName, 1550, "Unable to remove validator")
	ErrInvalidBounds                       = errorsmod.Register(ModuleName, 1551, "Invalid safety bounds - inner bounds must be within outer bounds")
	ErrCalibrationThresholdExceeded        = errorsmod.Register(ModuleName, 1552, "Calibration threshold exceeded")
	ErrHostZoneNotHalted                   = errorsmod.Register(ModuleName, 1553, "host zone is not halted")
	ErrFailedToLiquidStake                 = errorsmod.Register(ModuleName, 1554, "Failed to liquid stake")
	ErrUnableToRedeemStake                 = errorsmod.Register(ModuleName, 1555, "Failed to redeem stake")
	ErrInvalidDenom                        = errorsmod.Register(ModuleName, 1556, "Invalid denom")
	ErrTradeRouteAlreadyExists             = errorsmod.Register(ModuleName, 1557, "Trade route already exists")
	ErrClientStateNotTendermint            = errorsmod.Register(ModuleName, 1558, "Client state not tendermint")
	ErrTradeRouteNotFound                  = errorsmod.Register(ModuleName, 1559, "trade route not found")
	ErrValidatorExceedsWeightCap           = errorsmod.Register(ModuleName, 1560, "validator exceeds weight cap")
	ErrFeeSplitInvariantFailed             = errorsmod.Register(ModuleName, 1561, "failed to calculate fee split")
	ErrFailedToRegisterRebate              = errorsmod.Register(ModuleName, 1562, "failed to register rebate")
)

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 (
	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 (
	ErrInvalidLengthLsmTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLsmTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLsmTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOsmosis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOsmosis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOsmosis = 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
	DefaultValidatorSlashQueryThreshold uint64 = 1             // denominated in percentage of TVL (1 => 1%)
	DefaultValidatorWeightCap           uint64 = 10            // percentage (10 => 10%)
)

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 (
	ErrInvalidLengthTradeRoute        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTradeRoute          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTradeRoute = 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 AuthzPermissionChange_name = map[int32]string{
	0: "GRANT",
	1: "REVOKE",
}
View Source
var AuthzPermissionChange_value = map[string]int32{
	"GRANT":  0,
	"REVOKE": 1,
}
View Source
var ICAAccountType_name = map[int32]string{
	0: "DELEGATION",
	1: "FEE",
	2: "WITHDRAWAL",
	3: "REDEMPTION",
	4: "COMMUNITY_POOL_DEPOSIT",
	5: "COMMUNITY_POOL_RETURN",
	6: "CONVERTER_UNWIND",
	7: "CONVERTER_TRADE",
}
View Source
var ICAAccountType_value = map[string]int32{
	"DELEGATION":             0,
	"FEE":                    1,
	"WITHDRAWAL":             2,
	"REDEMPTION":             3,
	"COMMUNITY_POOL_DEPOSIT": 4,
	"COMMUNITY_POOL_RETURN":  5,
	"CONVERTER_UNWIND":       6,
	"CONVERTER_TRADE":        7,
}
View Source
var ParamsKey = collections.NewPrefix(1)
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 FormatHostZoneICAOwner

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

Helper function to build the host zone ICA owner in the form "{chainId}.{ICA_TYPE}"

func FormatTradeRouteICAOwner

func FormatTradeRouteICAOwner(chainId, rewardDenom, hostDenom string, icaAccountType ICAAccountType) string

Helper function to build the ICA owner for a trade route ICA in the form "{chainId}.{rewardDenom}-{hostDenom}.{ICA_TYPE}"

func FormatTradeRouteICAOwnerFromRouteId

func FormatTradeRouteICAOwnerFromRouteId(chainId, tradeRouteId string, icaAccountType ICAAccountType) string

Helper function to build the ICA owner for a trade route ICA in the form "{chainId}.{tradeRouteId}.{ICA_TYPE}"

func GetTradeRouteId

func GetTradeRouteId(rewardDenom, hostDenom string) string

Builds the store key (as a string) from the reward and host denom's

func HostZoneDenomFromStAssetDenom

func HostZoneDenomFromStAssetDenom(stAssetDenom string) string

TODO [cleanup]: Remove this function and use the one from utils Returns the native denom from an stDenom by removing the st prefix

func IsIBCToken

func IsIBCToken(denom string) bool

TODO [cleanup]: Remove this function and use the one from utils 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 MoveBankBalanceKey

func MoveBankBalanceKey(addr []byte, denom string) ([]byte, error)

func NewHostZoneDepositAddress

func NewHostZoneDepositAddress(chainId string) sdk.AccAddress

Generates a new stride-side address on the host zone to escrow deposits

func NewHostZoneModuleAddress

func NewHostZoneModuleAddress(chainId string, accountAlias string) sdk.AccAddress

Generates a new stride-side module account for a host zone, given an alias

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

TODO [cleanup]: Remove this function and use the one from utils Returns the stDenom from a native denom by appending a st prefix

func TradeRouteKeyFromDenoms

func TradeRouteKeyFromDenoms(rewardDenom, hostDenom string) (key []byte)

Definition for the store key format based on tradeRoute start and end denoms

func UnmarshalAmountFromMoveBankBalanceQuery

func UnmarshalAmountFromMoveBankBalanceQuery(bz []byte) (math.Int, error)

func ValidateChannelId

func ValidateChannelId(channelId string) error

Helper function to validate a channel Id

func ValidateConnectionId

func ValidateConnectionId(connectionId string) error

Helper function to validate a connection Id

func ValidateDenom

func ValidateDenom(denom string, ibc bool) error

Helper function to validate a denom

Types

type AccountKeeper

type AccountKeeper interface {
	NewAccount(context.Context, sdk.AccountI) sdk.AccountI
	SetAccount(ctx context.Context, acc sdk.AccountI)
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	GetAllAccounts(ctx context.Context) []sdk.AccountI
	GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
	RemoveAccount(ctx context.Context, acc sdk.AccountI)
}

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

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                 cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.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"`
	EpochNumber            uint64                `protobuf:"varint,9,opt,name=epoch_number,json=epochNumber,proto3" json:"epoch_number,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) GetEpochNumber

func (m *AddressUnbonding) GetEpochNumber() uint64

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 AuthzPermissionChange

type AuthzPermissionChange int32
const (
	// Grant the address trade permissions
	AuthzPermissionChange_GRANT AuthzPermissionChange = 0
	// Revoke trade permissions from the address
	AuthzPermissionChange_REVOKE AuthzPermissionChange = 1
)

func (AuthzPermissionChange) EnumDescriptor

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

func (AuthzPermissionChange) String

func (x AuthzPermissionChange) String() string

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	SendCoinsFromModuleToModule(ctx context.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 CommunityPoolBalanceQueryCallback

type CommunityPoolBalanceQueryCallback struct {
	IcaType ICAAccountType `protobuf:"varint,1,opt,name=ica_type,json=icaType,proto3,enum=stride.stakeibc.ICAAccountType" json:"ica_type,omitempty"`
	Denom   string         `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*CommunityPoolBalanceQueryCallback) Descriptor

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

func (*CommunityPoolBalanceQueryCallback) GetDenom

func (*CommunityPoolBalanceQueryCallback) GetIcaType

func (*CommunityPoolBalanceQueryCallback) Marshal

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

func (*CommunityPoolBalanceQueryCallback) MarshalTo

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

func (*CommunityPoolBalanceQueryCallback) MarshalToSizedBuffer

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

func (*CommunityPoolBalanceQueryCallback) ProtoMessage

func (*CommunityPoolBalanceQueryCallback) ProtoMessage()

func (*CommunityPoolBalanceQueryCallback) Reset

func (*CommunityPoolBalanceQueryCallback) Size

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

func (*CommunityPoolBalanceQueryCallback) String

func (*CommunityPoolBalanceQueryCallback) Unmarshal

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

func (*CommunityPoolBalanceQueryCallback) XXX_DiscardUnknown

func (m *CommunityPoolBalanceQueryCallback) XXX_DiscardUnknown()

func (*CommunityPoolBalanceQueryCallback) XXX_Marshal

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

func (*CommunityPoolBalanceQueryCallback) XXX_Merge

func (*CommunityPoolBalanceQueryCallback) XXX_Size

func (m *CommunityPoolBalanceQueryCallback) XXX_Size() int

func (*CommunityPoolBalanceQueryCallback) XXX_Unmarshal

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

type CommunityPoolRebate

type CommunityPoolRebate struct {
	// Rebate percentage as a decimal (e.g. 0.2 for 20%)
	RebateRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=rebate_rate,json=rebateRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rebate_rate"`
	// Number of stTokens received from the community pool liquid stake
	LiquidStakedStTokenAmount cosmossdk_io_math.Int `` /* 165-byte string literal not displayed */
}

CommunityPoolRebate stores the size of the community pool liquid stake (denominated in stTokens) and the rebate rate as a decimal

func (*CommunityPoolRebate) Descriptor

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

func (*CommunityPoolRebate) Marshal

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

func (*CommunityPoolRebate) MarshalTo

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

func (*CommunityPoolRebate) MarshalToSizedBuffer

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

func (*CommunityPoolRebate) ProtoMessage

func (*CommunityPoolRebate) ProtoMessage()

func (*CommunityPoolRebate) Reset

func (m *CommunityPoolRebate) Reset()

func (*CommunityPoolRebate) Size

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

func (*CommunityPoolRebate) String

func (m *CommunityPoolRebate) String() string

func (*CommunityPoolRebate) Unmarshal

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

func (*CommunityPoolRebate) XXX_DiscardUnknown

func (m *CommunityPoolRebate) XXX_DiscardUnknown()

func (*CommunityPoolRebate) XXX_Marshal

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

func (*CommunityPoolRebate) XXX_Merge

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

func (*CommunityPoolRebate) XXX_Size

func (m *CommunityPoolRebate) XXX_Size() int

func (*CommunityPoolRebate) XXX_Unmarshal

func (m *CommunityPoolRebate) 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 DelegatorSharesQueryCallback

type DelegatorSharesQueryCallback struct {
	// Validator delegation at the time the query is submitted
	InitialValidatorDelegation cosmossdk_io_math.Int `` /* 164-byte string literal not displayed */
}

func (*DelegatorSharesQueryCallback) Descriptor

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

func (*DelegatorSharesQueryCallback) Marshal

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

func (*DelegatorSharesQueryCallback) MarshalTo

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

func (*DelegatorSharesQueryCallback) MarshalToSizedBuffer

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

func (*DelegatorSharesQueryCallback) ProtoMessage

func (*DelegatorSharesQueryCallback) ProtoMessage()

func (*DelegatorSharesQueryCallback) Reset

func (m *DelegatorSharesQueryCallback) Reset()

func (*DelegatorSharesQueryCallback) Size

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

func (*DelegatorSharesQueryCallback) String

func (*DelegatorSharesQueryCallback) Unmarshal

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

func (*DelegatorSharesQueryCallback) XXX_DiscardUnknown

func (m *DelegatorSharesQueryCallback) XXX_DiscardUnknown()

func (*DelegatorSharesQueryCallback) XXX_Marshal

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

func (*DelegatorSharesQueryCallback) XXX_Merge

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

func (*DelegatorSharesQueryCallback) XXX_Size

func (m *DelegatorSharesQueryCallback) XXX_Size() int

func (*DelegatorSharesQueryCallback) XXX_Unmarshal

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

type DetokenizeSharesCallback

type DetokenizeSharesCallback struct {
	Deposit *types1.LSMTokenDeposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit,omitempty"`
}

func (*DetokenizeSharesCallback) Descriptor

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

func (*DetokenizeSharesCallback) GetDeposit

func (*DetokenizeSharesCallback) Marshal

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

func (*DetokenizeSharesCallback) MarshalTo

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

func (*DetokenizeSharesCallback) MarshalToSizedBuffer

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

func (*DetokenizeSharesCallback) ProtoMessage

func (*DetokenizeSharesCallback) ProtoMessage()

func (*DetokenizeSharesCallback) Reset

func (m *DetokenizeSharesCallback) Reset()

func (*DetokenizeSharesCallback) Size

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

func (*DetokenizeSharesCallback) String

func (m *DetokenizeSharesCallback) String() string

func (*DetokenizeSharesCallback) Unmarshal

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

func (*DetokenizeSharesCallback) XXX_DiscardUnknown

func (m *DetokenizeSharesCallback) XXX_DiscardUnknown()

func (*DetokenizeSharesCallback) XXX_Marshal

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

func (*DetokenizeSharesCallback) XXX_Merge

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

func (*DetokenizeSharesCallback) XXX_Size

func (m *DetokenizeSharesCallback) XXX_Size() int

func (*DetokenizeSharesCallback) XXX_Unmarshal

func (m *DetokenizeSharesCallback) 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 {
	// Chain ID of the host zone
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Bech32 prefix of host zone's address
	Bech32Prefix string `protobuf:"bytes,17,opt,name=bech32prefix,proto3" json:"bech32prefix,omitempty"`
	// ConnectionID from Stride to the host zone (ID is on the stride side)
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// Transfer Channel ID from Stride to the host zone (ID is on the stride side)
	TransferChannelId string `protobuf:"bytes,12,opt,name=transfer_channel_id,json=transferChannelId,proto3" json:"transfer_channel_id,omitempty"`
	// ibc denom of the host zone's native token 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"`
	// The unbonding period in days (e.g. 21)
	UnbondingPeriod uint64 `protobuf:"varint,26,opt,name=unbonding_period,json=unbondingPeriod,proto3" json:"unbonding_period,omitempty"`
	// List of validators that are delegated to
	Validators []*Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"`
	// Address that custodies native tokens during a liquid stake
	DepositAddress string `protobuf:"bytes,18,opt,name=deposit_address,json=depositAddress,proto3" json:"deposit_address,omitempty"`
	// ICA Address on the host zone responsible for collecting rewards
	WithdrawalIcaAddress string `protobuf:"bytes,22,opt,name=withdrawal_ica_address,json=withdrawalIcaAddress,proto3" json:"withdrawal_ica_address,omitempty"`
	// ICA Address on the host zone responsible for commission
	FeeIcaAddress string `protobuf:"bytes,23,opt,name=fee_ica_address,json=feeIcaAddress,proto3" json:"fee_ica_address,omitempty"`
	// ICA Address on the host zone responsible for staking and unstaking
	DelegationIcaAddress string `protobuf:"bytes,24,opt,name=delegation_ica_address,json=delegationIcaAddress,proto3" json:"delegation_ica_address,omitempty"`
	// ICA Address that receives unstaked tokens after they've finished unbonding
	RedemptionIcaAddress string `protobuf:"bytes,25,opt,name=redemption_ica_address,json=redemptionIcaAddress,proto3" json:"redemption_ica_address,omitempty"`
	// ICA Address that receives tokens from a community pool to liquid stake or
	// redeem In the case of a liquid stake, the community pool deposits native
	// tokens In the case of a redemption, the community pool deposits stTokens
	CommunityPoolDepositIcaAddress string `` /* 158-byte string literal not displayed */
	// ICA Address that distributes tokens back to the community pool during a
	// community pool liquid stake or redeem In the case of a liquid stake, the
	// return address sends back stTokens In the case of a redemption, the return
	// address sends back native tokens
	CommunityPoolReturnIcaAddress string `` /* 155-byte string literal not displayed */
	// Module account on Stride that receives native tokens from the deposit ICA
	// and liquid stakes them
	CommunityPoolStakeHoldingAddress string `` /* 164-byte string literal not displayed */
	// Module account on Stride that receives stTokens from the deposit ICA and
	// redeems them
	CommunityPoolRedeemHoldingAddress string `` /* 167-byte string literal not displayed */
	// Optional community pool address to send tokens to after a community pool
	// liquid stake or redemption If this address is empty, the tokens are sent to
	// the main community pool
	CommunityPoolTreasuryAddress string `` /* 150-byte string literal not displayed */
	// The total delegated balance on the host zone
	TotalDelegations cosmossdk_io_math.Int `` /* 133-byte string literal not displayed */
	// The redemption rate from the previous epoch
	LastRedemptionRate cosmossdk_io_math.LegacyDec `` /* 147-byte string literal not displayed */
	// The current redemption rate
	RedemptionRate cosmossdk_io_math.LegacyDec `` /* 133-byte string literal not displayed */
	// The min outer redemption rate bound - controlled only be governance
	// The min inner bound cannot exceed this bound
	MinRedemptionRate cosmossdk_io_math.LegacyDec `` /* 144-byte string literal not displayed */
	// The max outer redemption rate bound - controlled only be governance
	// The max inner bound cannot exceed this bound
	MaxRedemptionRate cosmossdk_io_math.LegacyDec `` /* 144-byte string literal not displayed */
	// The min minner redemption rate bound - controlled by the admin
	// If the redemption rate exceeds this bound, the host zone is halted
	MinInnerRedemptionRate cosmossdk_io_math.LegacyDec `` /* 161-byte string literal not displayed */
	// The max minner redemption rate bound - controlled by the admin
	// If the redemption rate exceeds this bound, the host zone is halted
	MaxInnerRedemptionRate cosmossdk_io_math.LegacyDec `` /* 161-byte string literal not displayed */
	// The max number of messages that can be sent in a delegation
	// or undelegation ICA tx
	MaxMessagesPerIcaTx uint64 `` /* 126-byte string literal not displayed */
	// An optional fee rebate
	// If there is no rebate for the host zone, this will be nil
	CommunityPoolRebate *CommunityPoolRebate `protobuf:"bytes,34,opt,name=community_pool_rebate,json=communityPoolRebate,proto3" json:"community_pool_rebate,omitempty"`
	// A boolean indicating whether the chain has LSM enabled
	LsmLiquidStakeEnabled bool `` /* 130-byte string literal not displayed */
	// A boolean indicating whether the chain is currently halted
	Halted bool `protobuf:"varint,19,opt,name=halted,proto3" json:"halted,omitempty"`
}

Core data structure to track liquid staking zones

func (*HostZone) Descriptor

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

func (*HostZone) GetBech32Prefix

func (m *HostZone) GetBech32Prefix() string

func (*HostZone) GetChainId

func (m *HostZone) GetChainId() string

func (*HostZone) GetCommunityPoolDepositIcaAddress

func (m *HostZone) GetCommunityPoolDepositIcaAddress() string

func (*HostZone) GetCommunityPoolRebate

func (m *HostZone) GetCommunityPoolRebate() *CommunityPoolRebate

func (*HostZone) GetCommunityPoolRedeemHoldingAddress

func (m *HostZone) GetCommunityPoolRedeemHoldingAddress() string

func (*HostZone) GetCommunityPoolReturnIcaAddress

func (m *HostZone) GetCommunityPoolReturnIcaAddress() string

func (*HostZone) GetCommunityPoolStakeHoldingAddress

func (m *HostZone) GetCommunityPoolStakeHoldingAddress() string

func (*HostZone) GetCommunityPoolTreasuryAddress

func (m *HostZone) GetCommunityPoolTreasuryAddress() string

func (*HostZone) GetConnectionId

func (m *HostZone) GetConnectionId() string

func (*HostZone) GetDelegationIcaAddress

func (m *HostZone) GetDelegationIcaAddress() string

func (*HostZone) GetDepositAddress

func (m *HostZone) GetDepositAddress() string

func (*HostZone) GetFeeIcaAddress

func (m *HostZone) GetFeeIcaAddress() string

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) GetLsmLiquidStakeEnabled

func (m *HostZone) GetLsmLiquidStakeEnabled() bool

func (*HostZone) GetMaxMessagesPerIcaTx

func (m *HostZone) GetMaxMessagesPerIcaTx() uint64

func (*HostZone) GetRedemptionIcaAddress

func (m *HostZone) GetRedemptionIcaAddress() string

func (*HostZone) GetTransferChannelId

func (m *HostZone) GetTransferChannelId() string

func (HostZone) GetUnbondingFrequency

func (h HostZone) GetUnbondingFrequency() uint64

Per an SDK constraint, we can issue no more than 7 undelegation messages in a given unbonding period

The unbonding period dictates the cadence (in number of days) with which we submit undelegation messages, such that the 7 messages are spaced out throughout the period

We calculate this by dividing the period by 7 and then adding 1 as a buffer Ex: If our unbonding period is 21 days, we issue an undelegation every 4th day

func (*HostZone) GetUnbondingPeriod

func (m *HostZone) GetUnbondingPeriod() uint64

func (*HostZone) GetValidators

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

func (*HostZone) GetWithdrawalIcaAddress

func (m *HostZone) GetWithdrawalIcaAddress() string

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) SafelyGetCommunityPoolRebate

func (h HostZone) SafelyGetCommunityPoolRebate() (rebate CommunityPoolRebate, exists bool)

Gets the rebate struct if it exists on the host zone

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 {
	ChainId      string         `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Type         ICAAccountType `protobuf:"varint,2,opt,name=type,proto3,enum=stride.stakeibc.ICAAccountType" json:"type,omitempty"`
	ConnectionId string         `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Address      string         `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
}

func (*ICAAccount) Descriptor

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

func (*ICAAccount) GetAddress

func (m *ICAAccount) GetAddress() string

func (*ICAAccount) GetChainId

func (m *ICAAccount) GetChainId() string

func (*ICAAccount) GetConnectionId

func (m *ICAAccount) GetConnectionId() string

func (*ICAAccount) GetType

func (m *ICAAccount) GetType() 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
	ICAAccountType_COMMUNITY_POOL_DEPOSIT ICAAccountType = 4
	ICAAccountType_COMMUNITY_POOL_RETURN  ICAAccountType = 5
	ICAAccountType_CONVERTER_UNWIND       ICAAccountType = 6
	ICAAccountType_CONVERTER_TRADE        ICAAccountType = 7
)

func (ICAAccountType) EnumDescriptor

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

func (ICAAccountType) String

func (x ICAAccountType) String() string

type LSMLiquidStake

type LSMLiquidStake struct {
	Deposit   *types1.LSMTokenDeposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit,omitempty"`
	HostZone  *HostZone               `protobuf:"bytes,2,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	Validator *Validator              `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"`
}

func (*LSMLiquidStake) Descriptor

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

func (*LSMLiquidStake) GetDeposit

func (m *LSMLiquidStake) GetDeposit() *types1.LSMTokenDeposit

func (*LSMLiquidStake) GetHostZone

func (m *LSMLiquidStake) GetHostZone() *HostZone

func (*LSMLiquidStake) GetValidator

func (m *LSMLiquidStake) GetValidator() *Validator

func (*LSMLiquidStake) Marshal

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

func (*LSMLiquidStake) MarshalTo

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

func (*LSMLiquidStake) MarshalToSizedBuffer

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

func (*LSMLiquidStake) ProtoMessage

func (*LSMLiquidStake) ProtoMessage()

func (*LSMLiquidStake) Reset

func (m *LSMLiquidStake) Reset()

func (*LSMLiquidStake) Size

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

func (*LSMLiquidStake) String

func (m *LSMLiquidStake) String() string

func (*LSMLiquidStake) Unmarshal

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

func (*LSMLiquidStake) XXX_DiscardUnknown

func (m *LSMLiquidStake) XXX_DiscardUnknown()

func (*LSMLiquidStake) XXX_Marshal

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

func (*LSMLiquidStake) XXX_Merge

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

func (*LSMLiquidStake) XXX_Size

func (m *LSMLiquidStake) XXX_Size() int

func (*LSMLiquidStake) XXX_Unmarshal

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

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 MsgCalibrateDelegation

type MsgCalibrateDelegation 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 NewMsgCalibrateDelegation

func NewMsgCalibrateDelegation(creator string, chainid string, valoper string) *MsgCalibrateDelegation

func (*MsgCalibrateDelegation) Descriptor

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

func (*MsgCalibrateDelegation) GetChainId

func (m *MsgCalibrateDelegation) GetChainId() string

func (*MsgCalibrateDelegation) GetCreator

func (m *MsgCalibrateDelegation) GetCreator() string

func (*MsgCalibrateDelegation) GetSignBytes

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

func (*MsgCalibrateDelegation) GetSigners

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

func (*MsgCalibrateDelegation) GetValoper

func (m *MsgCalibrateDelegation) GetValoper() string

func (*MsgCalibrateDelegation) Marshal

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

func (*MsgCalibrateDelegation) MarshalTo

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

func (*MsgCalibrateDelegation) MarshalToSizedBuffer

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

func (*MsgCalibrateDelegation) ProtoMessage

func (*MsgCalibrateDelegation) ProtoMessage()

func (*MsgCalibrateDelegation) Reset

func (m *MsgCalibrateDelegation) Reset()

func (*MsgCalibrateDelegation) Route

func (msg *MsgCalibrateDelegation) Route() string

func (*MsgCalibrateDelegation) Size

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

func (*MsgCalibrateDelegation) String

func (m *MsgCalibrateDelegation) String() string

func (*MsgCalibrateDelegation) Type

func (msg *MsgCalibrateDelegation) Type() string

func (*MsgCalibrateDelegation) Unmarshal

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

func (*MsgCalibrateDelegation) ValidateBasic

func (msg *MsgCalibrateDelegation) ValidateBasic() error

func (*MsgCalibrateDelegation) XXX_DiscardUnknown

func (m *MsgCalibrateDelegation) XXX_DiscardUnknown()

func (*MsgCalibrateDelegation) XXX_Marshal

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

func (*MsgCalibrateDelegation) XXX_Merge

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

func (*MsgCalibrateDelegation) XXX_Size

func (m *MsgCalibrateDelegation) XXX_Size() int

func (*MsgCalibrateDelegation) XXX_Unmarshal

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

type MsgCalibrateDelegationResponse

type MsgCalibrateDelegationResponse struct {
}

func (*MsgCalibrateDelegationResponse) Descriptor

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

func (*MsgCalibrateDelegationResponse) Marshal

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

func (*MsgCalibrateDelegationResponse) MarshalTo

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

func (*MsgCalibrateDelegationResponse) MarshalToSizedBuffer

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

func (*MsgCalibrateDelegationResponse) ProtoMessage

func (*MsgCalibrateDelegationResponse) ProtoMessage()

func (*MsgCalibrateDelegationResponse) Reset

func (m *MsgCalibrateDelegationResponse) Reset()

func (*MsgCalibrateDelegationResponse) Size

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

func (*MsgCalibrateDelegationResponse) String

func (*MsgCalibrateDelegationResponse) Unmarshal

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

func (*MsgCalibrateDelegationResponse) XXX_DiscardUnknown

func (m *MsgCalibrateDelegationResponse) XXX_DiscardUnknown()

func (*MsgCalibrateDelegationResponse) XXX_Marshal

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

func (*MsgCalibrateDelegationResponse) XXX_Merge

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

func (*MsgCalibrateDelegationResponse) XXX_Size

func (m *MsgCalibrateDelegationResponse) XXX_Size() int

func (*MsgCalibrateDelegationResponse) XXX_Unmarshal

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

type MsgChangeValidatorWeights

type MsgChangeValidatorWeights 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"`
	ValidatorWeights []*ValidatorWeight `protobuf:"bytes,3,rep,name=validator_weights,json=validatorWeights,proto3" json:"validator_weights,omitempty"`
}

func NewMsgChangeValidatorWeights

func NewMsgChangeValidatorWeights(creator, hostZone string, weights []*ValidatorWeight) *MsgChangeValidatorWeights

func (*MsgChangeValidatorWeights) Descriptor

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

func (*MsgChangeValidatorWeights) GetCreator

func (m *MsgChangeValidatorWeights) GetCreator() string

func (*MsgChangeValidatorWeights) GetHostZone

func (m *MsgChangeValidatorWeights) GetHostZone() string

func (*MsgChangeValidatorWeights) GetSignBytes

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

func (*MsgChangeValidatorWeights) GetSigners

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

func (*MsgChangeValidatorWeights) GetValidatorWeights

func (m *MsgChangeValidatorWeights) GetValidatorWeights() []*ValidatorWeight

func (*MsgChangeValidatorWeights) Marshal

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

func (*MsgChangeValidatorWeights) MarshalTo

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

func (*MsgChangeValidatorWeights) MarshalToSizedBuffer

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

func (*MsgChangeValidatorWeights) ProtoMessage

func (*MsgChangeValidatorWeights) ProtoMessage()

func (*MsgChangeValidatorWeights) Reset

func (m *MsgChangeValidatorWeights) Reset()

func (*MsgChangeValidatorWeights) Route

func (msg *MsgChangeValidatorWeights) Route() string

func (*MsgChangeValidatorWeights) Size

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

func (*MsgChangeValidatorWeights) String

func (m *MsgChangeValidatorWeights) String() string

func (*MsgChangeValidatorWeights) Type

func (msg *MsgChangeValidatorWeights) Type() string

func (*MsgChangeValidatorWeights) Unmarshal

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

func (*MsgChangeValidatorWeights) ValidateBasic

func (msg *MsgChangeValidatorWeights) ValidateBasic() error

func (*MsgChangeValidatorWeights) XXX_DiscardUnknown

func (m *MsgChangeValidatorWeights) XXX_DiscardUnknown()

func (*MsgChangeValidatorWeights) XXX_Marshal

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

func (*MsgChangeValidatorWeights) XXX_Merge

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

func (*MsgChangeValidatorWeights) XXX_Size

func (m *MsgChangeValidatorWeights) XXX_Size() int

func (*MsgChangeValidatorWeights) XXX_Unmarshal

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

type MsgChangeValidatorWeightsResponse

type MsgChangeValidatorWeightsResponse struct {
}

func (*MsgChangeValidatorWeightsResponse) Descriptor

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

func (*MsgChangeValidatorWeightsResponse) Marshal

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

func (*MsgChangeValidatorWeightsResponse) MarshalTo

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

func (*MsgChangeValidatorWeightsResponse) MarshalToSizedBuffer

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

func (*MsgChangeValidatorWeightsResponse) ProtoMessage

func (*MsgChangeValidatorWeightsResponse) ProtoMessage()

func (*MsgChangeValidatorWeightsResponse) Reset

func (*MsgChangeValidatorWeightsResponse) Size

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

func (*MsgChangeValidatorWeightsResponse) String

func (*MsgChangeValidatorWeightsResponse) Unmarshal

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

func (*MsgChangeValidatorWeightsResponse) XXX_DiscardUnknown

func (m *MsgChangeValidatorWeightsResponse) XXX_DiscardUnknown()

func (*MsgChangeValidatorWeightsResponse) XXX_Marshal

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

func (*MsgChangeValidatorWeightsResponse) XXX_Merge

func (*MsgChangeValidatorWeightsResponse) XXX_Size

func (m *MsgChangeValidatorWeightsResponse) XXX_Size() int

func (*MsgChangeValidatorWeightsResponse) XXX_Unmarshal

func (m *MsgChangeValidatorWeightsResponse) 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}.{receiver}
	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"`
	Receiver   string `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func NewMsgClaimUndelegatedTokens

func NewMsgClaimUndelegatedTokens(creator string, hostZone string, epoch uint64, receiver 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) GetReceiver

func (m *MsgClaimUndelegatedTokens) GetReceiver() 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  cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=cosmossdk.io/math.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

type MsgClient interface {
	LiquidStake(ctx context.Context, in *MsgLiquidStake, opts ...grpc.CallOption) (*MsgLiquidStakeResponse, error)
	LSMLiquidStake(ctx context.Context, in *MsgLSMLiquidStake, opts ...grpc.CallOption) (*MsgLSMLiquidStakeResponse, error)
	RedeemStake(ctx context.Context, in *MsgRedeemStake, opts ...grpc.CallOption) (*MsgRedeemStakeResponse, error)
	RegisterHostZone(ctx context.Context, in *MsgRegisterHostZone, opts ...grpc.CallOption) (*MsgRegisterHostZoneResponse, error)
	ClaimUndelegatedTokens(ctx context.Context, in *MsgClaimUndelegatedTokens, opts ...grpc.CallOption) (*MsgClaimUndelegatedTokensResponse, error)
	RebalanceValidators(ctx context.Context, in *MsgRebalanceValidators, opts ...grpc.CallOption) (*MsgRebalanceValidatorsResponse, error)
	AddValidators(ctx context.Context, in *MsgAddValidators, opts ...grpc.CallOption) (*MsgAddValidatorsResponse, error)
	ChangeValidatorWeight(ctx context.Context, in *MsgChangeValidatorWeights, opts ...grpc.CallOption) (*MsgChangeValidatorWeightsResponse, error)
	DeleteValidator(ctx context.Context, in *MsgDeleteValidator, opts ...grpc.CallOption) (*MsgDeleteValidatorResponse, error)
	RestoreInterchainAccount(ctx context.Context, in *MsgRestoreInterchainAccount, opts ...grpc.CallOption) (*MsgRestoreInterchainAccountResponse, error)
	UpdateValidatorSharesExchRate(ctx context.Context, in *MsgUpdateValidatorSharesExchRate, opts ...grpc.CallOption) (*MsgUpdateValidatorSharesExchRateResponse, error)
	CalibrateDelegation(ctx context.Context, in *MsgCalibrateDelegation, opts ...grpc.CallOption) (*MsgCalibrateDelegationResponse, error)
	ClearBalance(ctx context.Context, in *MsgClearBalance, opts ...grpc.CallOption) (*MsgClearBalanceResponse, error)
	UpdateInnerRedemptionRateBounds(ctx context.Context, in *MsgUpdateInnerRedemptionRateBounds, opts ...grpc.CallOption) (*MsgUpdateInnerRedemptionRateBoundsResponse, error)
	ResumeHostZone(ctx context.Context, in *MsgResumeHostZone, opts ...grpc.CallOption) (*MsgResumeHostZoneResponse, error)
	CreateTradeRoute(ctx context.Context, in *MsgCreateTradeRoute, opts ...grpc.CallOption) (*MsgCreateTradeRouteResponse, error)
	DeleteTradeRoute(ctx context.Context, in *MsgDeleteTradeRoute, opts ...grpc.CallOption) (*MsgDeleteTradeRouteResponse, error)
	UpdateTradeRoute(ctx context.Context, in *MsgUpdateTradeRoute, opts ...grpc.CallOption) (*MsgUpdateTradeRouteResponse, error)
	SetCommunityPoolRebate(ctx context.Context, in *MsgSetCommunityPoolRebate, opts ...grpc.CallOption) (*MsgSetCommunityPoolRebateResponse, error)
	ToggleTradeController(ctx context.Context, in *MsgToggleTradeController, opts ...grpc.CallOption) (*MsgToggleTradeControllerResponse, error)
	UpdateHostZoneParams(ctx context.Context, in *MsgUpdateHostZoneParams, opts ...grpc.CallOption) (*MsgUpdateHostZoneParamsResponse, error)
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateTradeRoute

type MsgCreateTradeRoute struct {
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// The chain ID of the host zone
	HostChainId string `protobuf:"bytes,2,opt,name=host_chain_id,json=hostChainId,proto3" json:"host_chain_id,omitempty"`
	// Connection IDs between stride and the other zones
	StrideToRewardConnectionId string `` /* 145-byte string literal not displayed */
	StrideToTradeConnectionId  string `` /* 142-byte string literal not displayed */
	// Transfer channels between the host, reward, and trade zones
	HostToRewardTransferChannelId  string `` /* 156-byte string literal not displayed */
	RewardToTradeTransferChannelId string `` /* 159-byte string literal not displayed */
	TradeToHostTransferChannelId   string `` /* 153-byte string literal not displayed */
	// ibc denom for the reward token on the host zone (e.g. ibc/usdc on dYdX)
	RewardDenomOnHost string `protobuf:"bytes,8,opt,name=reward_denom_on_host,json=rewardDenomOnHost,proto3" json:"reward_denom_on_host,omitempty"`
	// native denom of reward token on the reward zone (e.g. usdc on Noble)
	RewardDenomOnReward string `protobuf:"bytes,9,opt,name=reward_denom_on_reward,json=rewardDenomOnReward,proto3" json:"reward_denom_on_reward,omitempty"`
	// ibc denom of the reward token on the trade zone (e.g. ibc/usdc on Osmosis)
	RewardDenomOnTrade string `protobuf:"bytes,10,opt,name=reward_denom_on_trade,json=rewardDenomOnTrade,proto3" json:"reward_denom_on_trade,omitempty"`
	// ibc denom of the host's token on the trade zone (e.g. ibc/dydx on Osmosis)
	HostDenomOnTrade string `protobuf:"bytes,11,opt,name=host_denom_on_trade,json=hostDenomOnTrade,proto3" json:"host_denom_on_trade,omitempty"`
	// the host zone's native denom (e.g. dydx on dYdX)
	HostDenomOnHost string `protobuf:"bytes,12,opt,name=host_denom_on_host,json=hostDenomOnHost,proto3" json:"host_denom_on_host,omitempty"`
	// The osmosis pool ID
	PoolId uint64 `protobuf:"varint,13,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// Threshold defining the percentage of tokens that could be lost in the trade
	// This captures both the loss from slippage and from a stale price on stride
	// "0.05" means the output from the trade can be no less than a 5% deviation
	// from the current value
	MaxAllowedSwapLossRate string `` /* 134-byte string literal not displayed */
	// minimum amount of reward tokens to initate a swap
	// if not provided, defaults to 0
	MinSwapAmount cosmossdk_io_math.Int `` /* 126-byte string literal not displayed */
	// maximum amount of reward tokens in a single swap
	// if not provided, defaults to 10e24
	MaxSwapAmount cosmossdk_io_math.Int `` /* 126-byte string literal not displayed */
}

Creates a new trade route

func (*MsgCreateTradeRoute) Descriptor

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

func (*MsgCreateTradeRoute) GetAuthority

func (m *MsgCreateTradeRoute) GetAuthority() string

func (*MsgCreateTradeRoute) GetHostChainId

func (m *MsgCreateTradeRoute) GetHostChainId() string

func (*MsgCreateTradeRoute) GetHostDenomOnHost

func (m *MsgCreateTradeRoute) GetHostDenomOnHost() string

func (*MsgCreateTradeRoute) GetHostDenomOnTrade

func (m *MsgCreateTradeRoute) GetHostDenomOnTrade() string

func (*MsgCreateTradeRoute) GetHostToRewardTransferChannelId

func (m *MsgCreateTradeRoute) GetHostToRewardTransferChannelId() string

func (*MsgCreateTradeRoute) GetMaxAllowedSwapLossRate

func (m *MsgCreateTradeRoute) GetMaxAllowedSwapLossRate() string

func (*MsgCreateTradeRoute) GetPoolId

func (m *MsgCreateTradeRoute) GetPoolId() uint64

func (*MsgCreateTradeRoute) GetRewardDenomOnHost

func (m *MsgCreateTradeRoute) GetRewardDenomOnHost() string

func (*MsgCreateTradeRoute) GetRewardDenomOnReward

func (m *MsgCreateTradeRoute) GetRewardDenomOnReward() string

func (*MsgCreateTradeRoute) GetRewardDenomOnTrade

func (m *MsgCreateTradeRoute) GetRewardDenomOnTrade() string

func (*MsgCreateTradeRoute) GetRewardToTradeTransferChannelId

func (m *MsgCreateTradeRoute) GetRewardToTradeTransferChannelId() string

func (*MsgCreateTradeRoute) GetSignBytes

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

func (*MsgCreateTradeRoute) GetSigners

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

func (*MsgCreateTradeRoute) GetStrideToRewardConnectionId

func (m *MsgCreateTradeRoute) GetStrideToRewardConnectionId() string

func (*MsgCreateTradeRoute) GetStrideToTradeConnectionId

func (m *MsgCreateTradeRoute) GetStrideToTradeConnectionId() string

func (*MsgCreateTradeRoute) GetTradeToHostTransferChannelId

func (m *MsgCreateTradeRoute) GetTradeToHostTransferChannelId() string

func (*MsgCreateTradeRoute) Marshal

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

func (*MsgCreateTradeRoute) MarshalTo

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

func (*MsgCreateTradeRoute) MarshalToSizedBuffer

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

func (*MsgCreateTradeRoute) ProtoMessage

func (*MsgCreateTradeRoute) ProtoMessage()

func (*MsgCreateTradeRoute) Reset

func (m *MsgCreateTradeRoute) Reset()

func (*MsgCreateTradeRoute) Route

func (msg *MsgCreateTradeRoute) Route() string

func (*MsgCreateTradeRoute) Size

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

func (*MsgCreateTradeRoute) String

func (m *MsgCreateTradeRoute) String() string

func (*MsgCreateTradeRoute) Type

func (msg *MsgCreateTradeRoute) Type() string

func (*MsgCreateTradeRoute) Unmarshal

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

func (*MsgCreateTradeRoute) ValidateBasic

func (msg *MsgCreateTradeRoute) ValidateBasic() error

func (*MsgCreateTradeRoute) XXX_DiscardUnknown

func (m *MsgCreateTradeRoute) XXX_DiscardUnknown()

func (*MsgCreateTradeRoute) XXX_Marshal

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

func (*MsgCreateTradeRoute) XXX_Merge

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

func (*MsgCreateTradeRoute) XXX_Size

func (m *MsgCreateTradeRoute) XXX_Size() int

func (*MsgCreateTradeRoute) XXX_Unmarshal

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

type MsgCreateTradeRouteResponse

type MsgCreateTradeRouteResponse struct {
}

func (*MsgCreateTradeRouteResponse) Descriptor

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

func (*MsgCreateTradeRouteResponse) Marshal

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

func (*MsgCreateTradeRouteResponse) MarshalTo

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

func (*MsgCreateTradeRouteResponse) MarshalToSizedBuffer

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

func (*MsgCreateTradeRouteResponse) ProtoMessage

func (*MsgCreateTradeRouteResponse) ProtoMessage()

func (*MsgCreateTradeRouteResponse) Reset

func (m *MsgCreateTradeRouteResponse) Reset()

func (*MsgCreateTradeRouteResponse) Size

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

func (*MsgCreateTradeRouteResponse) String

func (m *MsgCreateTradeRouteResponse) String() string

func (*MsgCreateTradeRouteResponse) Unmarshal

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

func (*MsgCreateTradeRouteResponse) XXX_DiscardUnknown

func (m *MsgCreateTradeRouteResponse) XXX_DiscardUnknown()

func (*MsgCreateTradeRouteResponse) XXX_Marshal

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

func (*MsgCreateTradeRouteResponse) XXX_Merge

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

func (*MsgCreateTradeRouteResponse) XXX_Size

func (m *MsgCreateTradeRouteResponse) XXX_Size() int

func (*MsgCreateTradeRouteResponse) XXX_Unmarshal

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

type MsgDeleteTradeRoute

type MsgDeleteTradeRoute struct {
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// The reward denom of the route in it's native form (e.g. usdc)
	RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	// The host zone's denom in it's native form (e.g. dydx)
	HostDenom string `protobuf:"bytes,3,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
}

Deletes a trade route

func (*MsgDeleteTradeRoute) Descriptor

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

func (*MsgDeleteTradeRoute) GetAuthority

func (m *MsgDeleteTradeRoute) GetAuthority() string

func (*MsgDeleteTradeRoute) GetHostDenom

func (m *MsgDeleteTradeRoute) GetHostDenom() string

func (*MsgDeleteTradeRoute) GetRewardDenom

func (m *MsgDeleteTradeRoute) GetRewardDenom() string

func (*MsgDeleteTradeRoute) GetSignBytes

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

func (*MsgDeleteTradeRoute) GetSigners

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

func (*MsgDeleteTradeRoute) Marshal

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

func (*MsgDeleteTradeRoute) MarshalTo

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

func (*MsgDeleteTradeRoute) MarshalToSizedBuffer

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

func (*MsgDeleteTradeRoute) ProtoMessage

func (*MsgDeleteTradeRoute) ProtoMessage()

func (*MsgDeleteTradeRoute) Reset

func (m *MsgDeleteTradeRoute) Reset()

func (*MsgDeleteTradeRoute) Route

func (msg *MsgDeleteTradeRoute) Route() string

func (*MsgDeleteTradeRoute) Size

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

func (*MsgDeleteTradeRoute) String

func (m *MsgDeleteTradeRoute) String() string

func (*MsgDeleteTradeRoute) Type

func (msg *MsgDeleteTradeRoute) Type() string

func (*MsgDeleteTradeRoute) Unmarshal

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

func (*MsgDeleteTradeRoute) ValidateBasic

func (msg *MsgDeleteTradeRoute) ValidateBasic() error

func (*MsgDeleteTradeRoute) XXX_DiscardUnknown

func (m *MsgDeleteTradeRoute) XXX_DiscardUnknown()

func (*MsgDeleteTradeRoute) XXX_Marshal

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

func (*MsgDeleteTradeRoute) XXX_Merge

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

func (*MsgDeleteTradeRoute) XXX_Size

func (m *MsgDeleteTradeRoute) XXX_Size() int

func (*MsgDeleteTradeRoute) XXX_Unmarshal

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

type MsgDeleteTradeRouteResponse

type MsgDeleteTradeRouteResponse struct {
}

func (*MsgDeleteTradeRouteResponse) Descriptor

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

func (*MsgDeleteTradeRouteResponse) Marshal

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

func (*MsgDeleteTradeRouteResponse) MarshalTo

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

func (*MsgDeleteTradeRouteResponse) MarshalToSizedBuffer

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

func (*MsgDeleteTradeRouteResponse) ProtoMessage

func (*MsgDeleteTradeRouteResponse) ProtoMessage()

func (*MsgDeleteTradeRouteResponse) Reset

func (m *MsgDeleteTradeRouteResponse) Reset()

func (*MsgDeleteTradeRouteResponse) Size

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

func (*MsgDeleteTradeRouteResponse) String

func (m *MsgDeleteTradeRouteResponse) String() string

func (*MsgDeleteTradeRouteResponse) Unmarshal

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

func (*MsgDeleteTradeRouteResponse) XXX_DiscardUnknown

func (m *MsgDeleteTradeRouteResponse) XXX_DiscardUnknown()

func (*MsgDeleteTradeRouteResponse) XXX_Marshal

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

func (*MsgDeleteTradeRouteResponse) XXX_Merge

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

func (*MsgDeleteTradeRouteResponse) XXX_Size

func (m *MsgDeleteTradeRouteResponse) XXX_Size() int

func (*MsgDeleteTradeRouteResponse) XXX_Unmarshal

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

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 MsgDisableTokenizeShares

type MsgDisableTokenizeShares struct {
	DelegatorAddress string `` /* 134-byte string literal not displayed */
}

MsgDisableTokenizeShares prevents LSM tokenization of shares for address

func (*MsgDisableTokenizeShares) Descriptor

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

func (*MsgDisableTokenizeShares) Marshal

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

func (*MsgDisableTokenizeShares) MarshalTo

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

func (*MsgDisableTokenizeShares) MarshalToSizedBuffer

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

func (*MsgDisableTokenizeShares) ProtoMessage

func (*MsgDisableTokenizeShares) ProtoMessage()

func (*MsgDisableTokenizeShares) Reset

func (m *MsgDisableTokenizeShares) Reset()

func (*MsgDisableTokenizeShares) Size

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

func (*MsgDisableTokenizeShares) String

func (m *MsgDisableTokenizeShares) String() string

func (*MsgDisableTokenizeShares) Unmarshal

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

func (*MsgDisableTokenizeShares) XXX_DiscardUnknown

func (m *MsgDisableTokenizeShares) XXX_DiscardUnknown()

func (*MsgDisableTokenizeShares) XXX_Marshal

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

func (*MsgDisableTokenizeShares) XXX_Merge

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

func (*MsgDisableTokenizeShares) XXX_Size

func (m *MsgDisableTokenizeShares) XXX_Size() int

func (*MsgDisableTokenizeShares) XXX_Unmarshal

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

type MsgLSMLiquidStake

type MsgLSMLiquidStake struct {
	Creator          string                `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount           cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"`
	LsmTokenIbcDenom string                `protobuf:"bytes,3,opt,name=lsm_token_ibc_denom,json=lsmTokenIbcDenom,proto3" json:"lsm_token_ibc_denom,omitempty"`
}

func NewMsgLSMLiquidStake

func NewMsgLSMLiquidStake(creator string, amount sdkmath.Int, lsmTokenIbcDenom string) *MsgLSMLiquidStake

func (*MsgLSMLiquidStake) Descriptor

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

func (*MsgLSMLiquidStake) GetCreator

func (m *MsgLSMLiquidStake) GetCreator() string

func (*MsgLSMLiquidStake) GetLsmTokenIbcDenom

func (m *MsgLSMLiquidStake) GetLsmTokenIbcDenom() string

func (*MsgLSMLiquidStake) GetSignBytes

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

func (*MsgLSMLiquidStake) GetSigners

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

func (*MsgLSMLiquidStake) Marshal

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

func (*MsgLSMLiquidStake) MarshalTo

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

func (*MsgLSMLiquidStake) MarshalToSizedBuffer

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

func (*MsgLSMLiquidStake) ProtoMessage

func (*MsgLSMLiquidStake) ProtoMessage()

func (*MsgLSMLiquidStake) Reset

func (m *MsgLSMLiquidStake) Reset()

func (*MsgLSMLiquidStake) Route

func (msg *MsgLSMLiquidStake) Route() string

func (*MsgLSMLiquidStake) Size

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

func (*MsgLSMLiquidStake) String

func (m *MsgLSMLiquidStake) String() string

func (*MsgLSMLiquidStake) Type

func (msg *MsgLSMLiquidStake) Type() string

func (*MsgLSMLiquidStake) Unmarshal

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

func (*MsgLSMLiquidStake) ValidateBasic

func (msg *MsgLSMLiquidStake) ValidateBasic() error

func (*MsgLSMLiquidStake) XXX_DiscardUnknown

func (m *MsgLSMLiquidStake) XXX_DiscardUnknown()

func (*MsgLSMLiquidStake) XXX_Marshal

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

func (*MsgLSMLiquidStake) XXX_Merge

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

func (*MsgLSMLiquidStake) XXX_Size

func (m *MsgLSMLiquidStake) XXX_Size() int

func (*MsgLSMLiquidStake) XXX_Unmarshal

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

type MsgLSMLiquidStakeResponse

type MsgLSMLiquidStakeResponse struct {
	TransactionComplete bool `protobuf:"varint,1,opt,name=transaction_complete,json=transactionComplete,proto3" json:"transaction_complete,omitempty"`
}

func (*MsgLSMLiquidStakeResponse) Descriptor

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

func (*MsgLSMLiquidStakeResponse) GetTransactionComplete

func (m *MsgLSMLiquidStakeResponse) GetTransactionComplete() bool

func (*MsgLSMLiquidStakeResponse) Marshal

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

func (*MsgLSMLiquidStakeResponse) MarshalTo

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

func (*MsgLSMLiquidStakeResponse) MarshalToSizedBuffer

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

func (*MsgLSMLiquidStakeResponse) ProtoMessage

func (*MsgLSMLiquidStakeResponse) ProtoMessage()

func (*MsgLSMLiquidStakeResponse) Reset

func (m *MsgLSMLiquidStakeResponse) Reset()

func (*MsgLSMLiquidStakeResponse) Size

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

func (*MsgLSMLiquidStakeResponse) String

func (m *MsgLSMLiquidStakeResponse) String() string

func (*MsgLSMLiquidStakeResponse) Unmarshal

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

func (*MsgLSMLiquidStakeResponse) XXX_DiscardUnknown

func (m *MsgLSMLiquidStakeResponse) XXX_DiscardUnknown()

func (*MsgLSMLiquidStakeResponse) XXX_Marshal

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

func (*MsgLSMLiquidStakeResponse) XXX_Merge

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

func (*MsgLSMLiquidStakeResponse) XXX_Size

func (m *MsgLSMLiquidStakeResponse) XXX_Size() int

func (*MsgLSMLiquidStakeResponse) XXX_Unmarshal

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

type MsgLiquidStake

type MsgLiquidStake struct {
	Creator   string                `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount    cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.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 {
	StToken types.Coin `protobuf:"bytes,1,opt,name=st_token,json=stToken,proto3,castrepeated=cosmossdk.io/math.Coins" json:"st_token"`
}

func (*MsgLiquidStakeResponse) Descriptor

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

func (*MsgLiquidStakeResponse) GetStToken

func (m *MsgLiquidStakeResponse) GetStToken() types.Coin

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   cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.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 MsgRedeemTokensForShares

type MsgRedeemTokensForShares struct {
	DelegatorAddress string     `` /* 134-byte string literal not displayed */
	Amount           types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}

MsgRedeemTokensForShares redeems a tokenized share back into a native delegation

func NewMsgRedeemTokensForShares

func NewMsgRedeemTokensForShares(delAddr sdk.AccAddress, amount sdk.Coin) *MsgRedeemTokensForShares

NewMsgRedeemTokensForShares creates a new MsgRedeemTokensForShares instance.

func (*MsgRedeemTokensForShares) Descriptor

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

func (MsgRedeemTokensForShares) GetSignBytes

func (msg MsgRedeemTokensForShares) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface.

func (MsgRedeemTokensForShares) GetSigners

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

GetSigners implements the sdk.Msg interface.

func (*MsgRedeemTokensForShares) Marshal

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

func (*MsgRedeemTokensForShares) MarshalTo

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

func (*MsgRedeemTokensForShares) MarshalToSizedBuffer

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

func (*MsgRedeemTokensForShares) ProtoMessage

func (*MsgRedeemTokensForShares) ProtoMessage()

func (*MsgRedeemTokensForShares) Reset

func (m *MsgRedeemTokensForShares) Reset()

func (MsgRedeemTokensForShares) Route

func (msg MsgRedeemTokensForShares) Route() string

Route implements the sdk.Msg interface.

func (*MsgRedeemTokensForShares) Size

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

func (*MsgRedeemTokensForShares) String

func (m *MsgRedeemTokensForShares) String() string

func (MsgRedeemTokensForShares) Type

func (msg MsgRedeemTokensForShares) Type() string

Type implements the sdk.Msg interface.

func (*MsgRedeemTokensForShares) Unmarshal

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

func (MsgRedeemTokensForShares) ValidateBasic

func (msg MsgRedeemTokensForShares) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgRedeemTokensForShares) XXX_DiscardUnknown

func (m *MsgRedeemTokensForShares) XXX_DiscardUnknown()

func (*MsgRedeemTokensForShares) XXX_Marshal

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

func (*MsgRedeemTokensForShares) XXX_Merge

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

func (*MsgRedeemTokensForShares) XXX_Size

func (m *MsgRedeemTokensForShares) XXX_Size() int

func (*MsgRedeemTokensForShares) XXX_Unmarshal

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

type MsgRedeemTokensForSharesResponse

type MsgRedeemTokensForSharesResponse struct {
	Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

MsgRedeemTokensForSharesResponse defines the Msg/MsgRedeemTokensForShares response type.

func (*MsgRedeemTokensForSharesResponse) Descriptor

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

func (*MsgRedeemTokensForSharesResponse) GetAmount

func (*MsgRedeemTokensForSharesResponse) Marshal

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

func (*MsgRedeemTokensForSharesResponse) MarshalTo

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

func (*MsgRedeemTokensForSharesResponse) MarshalToSizedBuffer

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

func (*MsgRedeemTokensForSharesResponse) ProtoMessage

func (*MsgRedeemTokensForSharesResponse) ProtoMessage()

func (*MsgRedeemTokensForSharesResponse) Reset

func (*MsgRedeemTokensForSharesResponse) Size

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

func (*MsgRedeemTokensForSharesResponse) String

func (*MsgRedeemTokensForSharesResponse) Unmarshal

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

func (*MsgRedeemTokensForSharesResponse) XXX_DiscardUnknown

func (m *MsgRedeemTokensForSharesResponse) XXX_DiscardUnknown()

func (*MsgRedeemTokensForSharesResponse) XXX_Marshal

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

func (*MsgRedeemTokensForSharesResponse) XXX_Merge

func (*MsgRedeemTokensForSharesResponse) XXX_Size

func (m *MsgRedeemTokensForSharesResponse) XXX_Size() int

func (*MsgRedeemTokensForSharesResponse) XXX_Unmarshal

func (m *MsgRedeemTokensForSharesResponse) 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 */
	UnbondingPeriod              uint64                      `` /* 132-byte string literal not displayed */
	MinRedemptionRate            cosmossdk_io_math.LegacyDec `` /* 144-byte string literal not displayed */
	MaxRedemptionRate            cosmossdk_io_math.LegacyDec `` /* 144-byte string literal not displayed */
	LsmLiquidStakeEnabled        bool                        `` /* 130-byte string literal not displayed */
	CommunityPoolTreasuryAddress string                      `` /* 150-byte string literal not displayed */
	MaxMessagesPerIcaTx          uint64                      `` /* 126-byte string literal not displayed */
}

next: 15

func NewMsgRegisterHostZone

func NewMsgRegisterHostZone(
	creator string,
	connectionId string,
	bech32prefix string,
	hostDenom string,
	ibcDenom string,
	transferChannelId string,
	unbondingPeriod uint64,
	minRedemptionRate sdkmath.LegacyDec,
	maxRedemptionRate sdkmath.LegacyDec,
	lsmLiquidStakeEnabled bool,
	communityPoolTreasuryAddress string,
	maxMessagePerIcaTx uint64,
) *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

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"`
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	AccountOwner string `protobuf:"bytes,4,opt,name=account_owner,json=accountOwner,proto3" json:"account_owner,omitempty"`
}

func NewMsgRestoreInterchainAccount

func NewMsgRestoreInterchainAccount(creator, chainId, connectionId, owner string) *MsgRestoreInterchainAccount

func (*MsgRestoreInterchainAccount) Descriptor

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

func (*MsgRestoreInterchainAccount) GetAccountOwner

func (m *MsgRestoreInterchainAccount) GetAccountOwner() string

func (*MsgRestoreInterchainAccount) GetChainId

func (m *MsgRestoreInterchainAccount) GetChainId() string

func (*MsgRestoreInterchainAccount) GetConnectionId

func (m *MsgRestoreInterchainAccount) GetConnectionId() 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 MsgResumeHostZone

type MsgResumeHostZone 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"`
}

func NewMsgResumeHostZone

func NewMsgResumeHostZone(creator string, chainId string) *MsgResumeHostZone

func (*MsgResumeHostZone) Descriptor

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

func (*MsgResumeHostZone) GetChainId

func (m *MsgResumeHostZone) GetChainId() string

func (*MsgResumeHostZone) GetCreator

func (m *MsgResumeHostZone) GetCreator() string

func (*MsgResumeHostZone) GetSignBytes

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

func (*MsgResumeHostZone) GetSigners

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

func (*MsgResumeHostZone) Marshal

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

func (*MsgResumeHostZone) MarshalTo

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

func (*MsgResumeHostZone) MarshalToSizedBuffer

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

func (*MsgResumeHostZone) ProtoMessage

func (*MsgResumeHostZone) ProtoMessage()

func (*MsgResumeHostZone) Reset

func (m *MsgResumeHostZone) Reset()

func (*MsgResumeHostZone) Route

func (msg *MsgResumeHostZone) Route() string

func (*MsgResumeHostZone) Size

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

func (*MsgResumeHostZone) String

func (m *MsgResumeHostZone) String() string

func (*MsgResumeHostZone) Type

func (msg *MsgResumeHostZone) Type() string

func (*MsgResumeHostZone) Unmarshal

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

func (*MsgResumeHostZone) ValidateBasic

func (msg *MsgResumeHostZone) ValidateBasic() error

func (*MsgResumeHostZone) XXX_DiscardUnknown

func (m *MsgResumeHostZone) XXX_DiscardUnknown()

func (*MsgResumeHostZone) XXX_Marshal

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

func (*MsgResumeHostZone) XXX_Merge

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

func (*MsgResumeHostZone) XXX_Size

func (m *MsgResumeHostZone) XXX_Size() int

func (*MsgResumeHostZone) XXX_Unmarshal

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

type MsgResumeHostZoneResponse

type MsgResumeHostZoneResponse struct {
}

func (*MsgResumeHostZoneResponse) Descriptor

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

func (*MsgResumeHostZoneResponse) Marshal

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

func (*MsgResumeHostZoneResponse) MarshalTo

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

func (*MsgResumeHostZoneResponse) MarshalToSizedBuffer

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

func (*MsgResumeHostZoneResponse) ProtoMessage

func (*MsgResumeHostZoneResponse) ProtoMessage()

func (*MsgResumeHostZoneResponse) Reset

func (m *MsgResumeHostZoneResponse) Reset()

func (*MsgResumeHostZoneResponse) Size

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

func (*MsgResumeHostZoneResponse) String

func (m *MsgResumeHostZoneResponse) String() string

func (*MsgResumeHostZoneResponse) Unmarshal

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

func (*MsgResumeHostZoneResponse) XXX_DiscardUnknown

func (m *MsgResumeHostZoneResponse) XXX_DiscardUnknown()

func (*MsgResumeHostZoneResponse) XXX_Marshal

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

func (*MsgResumeHostZoneResponse) XXX_Merge

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

func (*MsgResumeHostZoneResponse) XXX_Size

func (m *MsgResumeHostZoneResponse) XXX_Size() int

func (*MsgResumeHostZoneResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	LiquidStake(context.Context, *MsgLiquidStake) (*MsgLiquidStakeResponse, error)
	LSMLiquidStake(context.Context, *MsgLSMLiquidStake) (*MsgLSMLiquidStakeResponse, error)
	RedeemStake(context.Context, *MsgRedeemStake) (*MsgRedeemStakeResponse, error)
	RegisterHostZone(context.Context, *MsgRegisterHostZone) (*MsgRegisterHostZoneResponse, error)
	ClaimUndelegatedTokens(context.Context, *MsgClaimUndelegatedTokens) (*MsgClaimUndelegatedTokensResponse, error)
	RebalanceValidators(context.Context, *MsgRebalanceValidators) (*MsgRebalanceValidatorsResponse, error)
	AddValidators(context.Context, *MsgAddValidators) (*MsgAddValidatorsResponse, error)
	ChangeValidatorWeight(context.Context, *MsgChangeValidatorWeights) (*MsgChangeValidatorWeightsResponse, error)
	DeleteValidator(context.Context, *MsgDeleteValidator) (*MsgDeleteValidatorResponse, error)
	RestoreInterchainAccount(context.Context, *MsgRestoreInterchainAccount) (*MsgRestoreInterchainAccountResponse, error)
	UpdateValidatorSharesExchRate(context.Context, *MsgUpdateValidatorSharesExchRate) (*MsgUpdateValidatorSharesExchRateResponse, error)
	CalibrateDelegation(context.Context, *MsgCalibrateDelegation) (*MsgCalibrateDelegationResponse, error)
	ClearBalance(context.Context, *MsgClearBalance) (*MsgClearBalanceResponse, error)
	UpdateInnerRedemptionRateBounds(context.Context, *MsgUpdateInnerRedemptionRateBounds) (*MsgUpdateInnerRedemptionRateBoundsResponse, error)
	ResumeHostZone(context.Context, *MsgResumeHostZone) (*MsgResumeHostZoneResponse, error)
	CreateTradeRoute(context.Context, *MsgCreateTradeRoute) (*MsgCreateTradeRouteResponse, error)
	DeleteTradeRoute(context.Context, *MsgDeleteTradeRoute) (*MsgDeleteTradeRouteResponse, error)
	UpdateTradeRoute(context.Context, *MsgUpdateTradeRoute) (*MsgUpdateTradeRouteResponse, error)
	SetCommunityPoolRebate(context.Context, *MsgSetCommunityPoolRebate) (*MsgSetCommunityPoolRebateResponse, error)
	ToggleTradeController(context.Context, *MsgToggleTradeController) (*MsgToggleTradeControllerResponse, error)
	UpdateHostZoneParams(context.Context, *MsgUpdateHostZoneParams) (*MsgUpdateHostZoneParamsResponse, error)
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetCommunityPoolRebate

type MsgSetCommunityPoolRebate struct {
	// Message signer (admin only)
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// Chain id of the chain whose community pool has a liquid staking rebate
	// arrangement with stride
	ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Rebate percentage represented as a decimal (e.g. 0.2 for 20%)
	RebateRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=rebate_rate,json=rebateRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"rebate_rate"`
	// Number of stTokens recieved by the community pool after liquid staking
	LiquidStakedStTokenAmount cosmossdk_io_math.Int `` /* 165-byte string literal not displayed */
}

Registers or updates a community pool rebate by specifying the amount liquid staked

func NewMsgSetCommunityPoolRebate

func NewMsgSetCommunityPoolRebate(
	creator string,
	chainId string,
	rebateRate sdkmath.LegacyDec,
	liquidStakedStTokenAmount sdkmath.Int,
) *MsgSetCommunityPoolRebate

func (*MsgSetCommunityPoolRebate) Descriptor

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

func (*MsgSetCommunityPoolRebate) GetChainId

func (m *MsgSetCommunityPoolRebate) GetChainId() string

func (*MsgSetCommunityPoolRebate) GetCreator

func (m *MsgSetCommunityPoolRebate) GetCreator() string

func (*MsgSetCommunityPoolRebate) GetSignBytes

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

func (*MsgSetCommunityPoolRebate) GetSigners

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

func (*MsgSetCommunityPoolRebate) Marshal

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

func (*MsgSetCommunityPoolRebate) MarshalTo

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

func (*MsgSetCommunityPoolRebate) MarshalToSizedBuffer

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

func (*MsgSetCommunityPoolRebate) ProtoMessage

func (*MsgSetCommunityPoolRebate) ProtoMessage()

func (*MsgSetCommunityPoolRebate) Reset

func (m *MsgSetCommunityPoolRebate) Reset()

func (*MsgSetCommunityPoolRebate) Route

func (msg *MsgSetCommunityPoolRebate) Route() string

func (*MsgSetCommunityPoolRebate) Size

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

func (*MsgSetCommunityPoolRebate) String

func (m *MsgSetCommunityPoolRebate) String() string

func (*MsgSetCommunityPoolRebate) Type

func (msg *MsgSetCommunityPoolRebate) Type() string

func (*MsgSetCommunityPoolRebate) Unmarshal

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

func (*MsgSetCommunityPoolRebate) ValidateBasic

func (msg *MsgSetCommunityPoolRebate) ValidateBasic() error

func (*MsgSetCommunityPoolRebate) XXX_DiscardUnknown

func (m *MsgSetCommunityPoolRebate) XXX_DiscardUnknown()

func (*MsgSetCommunityPoolRebate) XXX_Marshal

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

func (*MsgSetCommunityPoolRebate) XXX_Merge

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

func (*MsgSetCommunityPoolRebate) XXX_Size

func (m *MsgSetCommunityPoolRebate) XXX_Size() int

func (*MsgSetCommunityPoolRebate) XXX_Unmarshal

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

type MsgSetCommunityPoolRebateResponse

type MsgSetCommunityPoolRebateResponse struct {
}

func (*MsgSetCommunityPoolRebateResponse) Descriptor

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

func (*MsgSetCommunityPoolRebateResponse) Marshal

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

func (*MsgSetCommunityPoolRebateResponse) MarshalTo

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

func (*MsgSetCommunityPoolRebateResponse) MarshalToSizedBuffer

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

func (*MsgSetCommunityPoolRebateResponse) ProtoMessage

func (*MsgSetCommunityPoolRebateResponse) ProtoMessage()

func (*MsgSetCommunityPoolRebateResponse) Reset

func (*MsgSetCommunityPoolRebateResponse) Size

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

func (*MsgSetCommunityPoolRebateResponse) String

func (*MsgSetCommunityPoolRebateResponse) Unmarshal

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

func (*MsgSetCommunityPoolRebateResponse) XXX_DiscardUnknown

func (m *MsgSetCommunityPoolRebateResponse) XXX_DiscardUnknown()

func (*MsgSetCommunityPoolRebateResponse) XXX_Marshal

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

func (*MsgSetCommunityPoolRebateResponse) XXX_Merge

func (*MsgSetCommunityPoolRebateResponse) XXX_Size

func (m *MsgSetCommunityPoolRebateResponse) XXX_Size() int

func (*MsgSetCommunityPoolRebateResponse) XXX_Unmarshal

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

type MsgSwapExactAmountIn

type MsgSwapExactAmountIn struct {
	Sender            string                `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Routes            []SwapAmountInRoute   `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes"`
	TokenIn           types.Coin            `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in" yaml:"token_in"`
	TokenOutMinAmount cosmossdk_io_math.Int `` /* 167-byte string literal not displayed */
}

MsgSwapExactAmountIn stores the tx Msg type to swap tokens in the trade ICA

func (*MsgSwapExactAmountIn) Descriptor

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

func (*MsgSwapExactAmountIn) GetRoutes

func (m *MsgSwapExactAmountIn) GetRoutes() []SwapAmountInRoute

func (*MsgSwapExactAmountIn) GetSender

func (m *MsgSwapExactAmountIn) GetSender() string

func (*MsgSwapExactAmountIn) GetTokenIn

func (m *MsgSwapExactAmountIn) GetTokenIn() types.Coin

func (*MsgSwapExactAmountIn) Marshal

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

func (*MsgSwapExactAmountIn) MarshalTo

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

func (*MsgSwapExactAmountIn) MarshalToSizedBuffer

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

func (*MsgSwapExactAmountIn) ProtoMessage

func (*MsgSwapExactAmountIn) ProtoMessage()

func (*MsgSwapExactAmountIn) Reset

func (m *MsgSwapExactAmountIn) Reset()

func (*MsgSwapExactAmountIn) Size

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

func (*MsgSwapExactAmountIn) String

func (m *MsgSwapExactAmountIn) String() string

func (*MsgSwapExactAmountIn) Unmarshal

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

func (*MsgSwapExactAmountIn) XXX_DiscardUnknown

func (m *MsgSwapExactAmountIn) XXX_DiscardUnknown()

func (*MsgSwapExactAmountIn) XXX_Marshal

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

func (*MsgSwapExactAmountIn) XXX_Merge

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

func (*MsgSwapExactAmountIn) XXX_Size

func (m *MsgSwapExactAmountIn) XXX_Size() int

func (*MsgSwapExactAmountIn) XXX_Unmarshal

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

type MsgToggleTradeController

type MsgToggleTradeController struct {
	// Message signer (admin only)
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// Chain ID of the trade account
	ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Permission change (either grant or revoke)
	PermissionChange AuthzPermissionChange `` /* 153-byte string literal not displayed */
	// Address of trade operator
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
}

Grants or revokes trade permissions to a given address via authz

func NewMsgToggleTradeController

func NewMsgToggleTradeController(creator, chainId string, permissionChange AuthzPermissionChange, address string) *MsgToggleTradeController

func (*MsgToggleTradeController) Descriptor

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

func (*MsgToggleTradeController) GetAddress

func (m *MsgToggleTradeController) GetAddress() string

func (*MsgToggleTradeController) GetChainId

func (m *MsgToggleTradeController) GetChainId() string

func (*MsgToggleTradeController) GetCreator

func (m *MsgToggleTradeController) GetCreator() string

func (*MsgToggleTradeController) GetPermissionChange

func (m *MsgToggleTradeController) GetPermissionChange() AuthzPermissionChange

func (*MsgToggleTradeController) GetSignBytes

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

func (*MsgToggleTradeController) GetSigners

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

func (*MsgToggleTradeController) Marshal

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

func (*MsgToggleTradeController) MarshalTo

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

func (*MsgToggleTradeController) MarshalToSizedBuffer

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

func (*MsgToggleTradeController) ProtoMessage

func (*MsgToggleTradeController) ProtoMessage()

func (*MsgToggleTradeController) Reset

func (m *MsgToggleTradeController) Reset()

func (*MsgToggleTradeController) Route

func (msg *MsgToggleTradeController) Route() string

func (*MsgToggleTradeController) Size

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

func (*MsgToggleTradeController) String

func (m *MsgToggleTradeController) String() string

func (*MsgToggleTradeController) Type

func (msg *MsgToggleTradeController) Type() string

func (*MsgToggleTradeController) Unmarshal

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

func (*MsgToggleTradeController) ValidateBasic

func (msg *MsgToggleTradeController) ValidateBasic() error

func (*MsgToggleTradeController) XXX_DiscardUnknown

func (m *MsgToggleTradeController) XXX_DiscardUnknown()

func (*MsgToggleTradeController) XXX_Marshal

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

func (*MsgToggleTradeController) XXX_Merge

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

func (*MsgToggleTradeController) XXX_Size

func (m *MsgToggleTradeController) XXX_Size() int

func (*MsgToggleTradeController) XXX_Unmarshal

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

type MsgToggleTradeControllerResponse

type MsgToggleTradeControllerResponse struct {
}

func (*MsgToggleTradeControllerResponse) Descriptor

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

func (*MsgToggleTradeControllerResponse) Marshal

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

func (*MsgToggleTradeControllerResponse) MarshalTo

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

func (*MsgToggleTradeControllerResponse) MarshalToSizedBuffer

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

func (*MsgToggleTradeControllerResponse) ProtoMessage

func (*MsgToggleTradeControllerResponse) ProtoMessage()

func (*MsgToggleTradeControllerResponse) Reset

func (*MsgToggleTradeControllerResponse) Size

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

func (*MsgToggleTradeControllerResponse) String

func (*MsgToggleTradeControllerResponse) Unmarshal

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

func (*MsgToggleTradeControllerResponse) XXX_DiscardUnknown

func (m *MsgToggleTradeControllerResponse) XXX_DiscardUnknown()

func (*MsgToggleTradeControllerResponse) XXX_Marshal

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

func (*MsgToggleTradeControllerResponse) XXX_Merge

func (*MsgToggleTradeControllerResponse) XXX_Size

func (m *MsgToggleTradeControllerResponse) XXX_Size() int

func (*MsgToggleTradeControllerResponse) XXX_Unmarshal

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

type MsgUpdateHostZoneParams

type MsgUpdateHostZoneParams struct {
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// Chain ID of the host zone
	ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Max messages that can be sent in a single ICA message
	MaxMessagesPerIcaTx uint64 `protobuf:"varint,3,opt,name=max_messages_per_ica_tx,json=maxMessagesPerIcaTx,proto3" json:"max_messages_per_ica_tx,omitempty"`
}

Updates host zone params

func (*MsgUpdateHostZoneParams) Descriptor

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

func (*MsgUpdateHostZoneParams) GetAuthority

func (m *MsgUpdateHostZoneParams) GetAuthority() string

func (*MsgUpdateHostZoneParams) GetChainId

func (m *MsgUpdateHostZoneParams) GetChainId() string

func (*MsgUpdateHostZoneParams) GetMaxMessagesPerIcaTx

func (m *MsgUpdateHostZoneParams) GetMaxMessagesPerIcaTx() uint64

func (*MsgUpdateHostZoneParams) GetSignBytes

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

func (*MsgUpdateHostZoneParams) GetSigners

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

func (*MsgUpdateHostZoneParams) Marshal

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

func (*MsgUpdateHostZoneParams) MarshalTo

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

func (*MsgUpdateHostZoneParams) MarshalToSizedBuffer

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

func (*MsgUpdateHostZoneParams) ProtoMessage

func (*MsgUpdateHostZoneParams) ProtoMessage()

func (*MsgUpdateHostZoneParams) Reset

func (m *MsgUpdateHostZoneParams) Reset()

func (*MsgUpdateHostZoneParams) Route

func (msg *MsgUpdateHostZoneParams) Route() string

func (*MsgUpdateHostZoneParams) Size

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

func (*MsgUpdateHostZoneParams) String

func (m *MsgUpdateHostZoneParams) String() string

func (*MsgUpdateHostZoneParams) Type

func (msg *MsgUpdateHostZoneParams) Type() string

func (*MsgUpdateHostZoneParams) Unmarshal

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

func (*MsgUpdateHostZoneParams) ValidateBasic

func (msg *MsgUpdateHostZoneParams) ValidateBasic() error

func (*MsgUpdateHostZoneParams) XXX_DiscardUnknown

func (m *MsgUpdateHostZoneParams) XXX_DiscardUnknown()

func (*MsgUpdateHostZoneParams) XXX_Marshal

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

func (*MsgUpdateHostZoneParams) XXX_Merge

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

func (*MsgUpdateHostZoneParams) XXX_Size

func (m *MsgUpdateHostZoneParams) XXX_Size() int

func (*MsgUpdateHostZoneParams) XXX_Unmarshal

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

type MsgUpdateHostZoneParamsResponse

type MsgUpdateHostZoneParamsResponse struct {
}

func (*MsgUpdateHostZoneParamsResponse) Descriptor

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

func (*MsgUpdateHostZoneParamsResponse) Marshal

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

func (*MsgUpdateHostZoneParamsResponse) MarshalTo

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

func (*MsgUpdateHostZoneParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateHostZoneParamsResponse) ProtoMessage

func (*MsgUpdateHostZoneParamsResponse) ProtoMessage()

func (*MsgUpdateHostZoneParamsResponse) Reset

func (*MsgUpdateHostZoneParamsResponse) Size

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

func (*MsgUpdateHostZoneParamsResponse) String

func (*MsgUpdateHostZoneParamsResponse) Unmarshal

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

func (*MsgUpdateHostZoneParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateHostZoneParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateHostZoneParamsResponse) XXX_Marshal

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

func (*MsgUpdateHostZoneParamsResponse) XXX_Merge

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

func (*MsgUpdateHostZoneParamsResponse) XXX_Size

func (m *MsgUpdateHostZoneParamsResponse) XXX_Size() int

func (*MsgUpdateHostZoneParamsResponse) XXX_Unmarshal

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

type MsgUpdateInnerRedemptionRateBounds

type MsgUpdateInnerRedemptionRateBounds 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"`
	MinInnerRedemptionRate cosmossdk_io_math.LegacyDec `` /* 160-byte string literal not displayed */
	MaxInnerRedemptionRate cosmossdk_io_math.LegacyDec `` /* 160-byte string literal not displayed */
}

func NewMsgUpdateInnerRedemptionRateBounds

func NewMsgUpdateInnerRedemptionRateBounds(creator string, chainId string, minInnerRedemptionRate sdkmath.LegacyDec, maxInnerRedemptionRate sdkmath.LegacyDec) *MsgUpdateInnerRedemptionRateBounds

func (*MsgUpdateInnerRedemptionRateBounds) Descriptor

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

func (*MsgUpdateInnerRedemptionRateBounds) GetChainId

func (*MsgUpdateInnerRedemptionRateBounds) GetCreator

func (*MsgUpdateInnerRedemptionRateBounds) GetSignBytes

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

func (*MsgUpdateInnerRedemptionRateBounds) GetSigners

func (*MsgUpdateInnerRedemptionRateBounds) Marshal

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

func (*MsgUpdateInnerRedemptionRateBounds) MarshalTo

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

func (*MsgUpdateInnerRedemptionRateBounds) MarshalToSizedBuffer

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

func (*MsgUpdateInnerRedemptionRateBounds) ProtoMessage

func (*MsgUpdateInnerRedemptionRateBounds) ProtoMessage()

func (*MsgUpdateInnerRedemptionRateBounds) Reset

func (*MsgUpdateInnerRedemptionRateBounds) Route

func (*MsgUpdateInnerRedemptionRateBounds) Size

func (*MsgUpdateInnerRedemptionRateBounds) String

func (*MsgUpdateInnerRedemptionRateBounds) Type

func (*MsgUpdateInnerRedemptionRateBounds) Unmarshal

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

func (*MsgUpdateInnerRedemptionRateBounds) ValidateBasic

func (msg *MsgUpdateInnerRedemptionRateBounds) ValidateBasic() error

func (*MsgUpdateInnerRedemptionRateBounds) XXX_DiscardUnknown

func (m *MsgUpdateInnerRedemptionRateBounds) XXX_DiscardUnknown()

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Marshal

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

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Merge

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Size

func (*MsgUpdateInnerRedemptionRateBounds) XXX_Unmarshal

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

type MsgUpdateInnerRedemptionRateBoundsResponse

type MsgUpdateInnerRedemptionRateBoundsResponse struct {
}

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Descriptor

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Marshal

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) MarshalTo

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) ProtoMessage

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Reset

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Size

func (*MsgUpdateInnerRedemptionRateBoundsResponse) String

func (*MsgUpdateInnerRedemptionRateBoundsResponse) Unmarshal

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_DiscardUnknown

func (m *MsgUpdateInnerRedemptionRateBoundsResponse) XXX_DiscardUnknown()

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Marshal

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

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Merge

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Size

func (*MsgUpdateInnerRedemptionRateBoundsResponse) XXX_Unmarshal

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/staking parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type MsgUpdateTradeRoute

type MsgUpdateTradeRoute struct {
	// authority is the address that controls the module (defaults to x/gov unless
	// overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// The reward denom of the route in it's native form (e.g. usdc)
	RewardDenom string `protobuf:"bytes,2,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	// The host zone's denom in it's native form (e.g. dydx)
	HostDenom string `protobuf:"bytes,3,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
	// The osmosis pool ID
	PoolId uint64 `protobuf:"varint,4,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// Threshold defining the percentage of tokens that could be lost in the trade
	// This captures both the loss from slippage and from a stale price on stride
	// "0.05" means the output from the trade can be no less than a 5% deviation
	// from the current value
	MaxAllowedSwapLossRate string `` /* 133-byte string literal not displayed */
	// minimum amount of reward tokens to initate a swap
	// if not provided, defaults to 0
	MinSwapAmount cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=min_swap_amount,json=minSwapAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_swap_amount"`
	// maximum amount of reward tokens in a single swap
	// if not provided, defaults to 10e24
	MaxSwapAmount cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_swap_amount,json=maxSwapAmount,proto3,customtype=cosmossdk.io/math.Int" json:"max_swap_amount"`
}

Updates the config of a trade route

func (*MsgUpdateTradeRoute) Descriptor

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

func (*MsgUpdateTradeRoute) GetAuthority

func (m *MsgUpdateTradeRoute) GetAuthority() string

func (*MsgUpdateTradeRoute) GetHostDenom

func (m *MsgUpdateTradeRoute) GetHostDenom() string

func (*MsgUpdateTradeRoute) GetMaxAllowedSwapLossRate

func (m *MsgUpdateTradeRoute) GetMaxAllowedSwapLossRate() string

func (*MsgUpdateTradeRoute) GetPoolId

func (m *MsgUpdateTradeRoute) GetPoolId() uint64

func (*MsgUpdateTradeRoute) GetRewardDenom

func (m *MsgUpdateTradeRoute) GetRewardDenom() string

func (*MsgUpdateTradeRoute) GetSignBytes

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

func (*MsgUpdateTradeRoute) GetSigners

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

func (*MsgUpdateTradeRoute) Marshal

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

func (*MsgUpdateTradeRoute) MarshalTo

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

func (*MsgUpdateTradeRoute) MarshalToSizedBuffer

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

func (*MsgUpdateTradeRoute) ProtoMessage

func (*MsgUpdateTradeRoute) ProtoMessage()

func (*MsgUpdateTradeRoute) Reset

func (m *MsgUpdateTradeRoute) Reset()

func (*MsgUpdateTradeRoute) Route

func (msg *MsgUpdateTradeRoute) Route() string

func (*MsgUpdateTradeRoute) Size

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

func (*MsgUpdateTradeRoute) String

func (m *MsgUpdateTradeRoute) String() string

func (*MsgUpdateTradeRoute) Type

func (msg *MsgUpdateTradeRoute) Type() string

func (*MsgUpdateTradeRoute) Unmarshal

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

func (*MsgUpdateTradeRoute) ValidateBasic

func (msg *MsgUpdateTradeRoute) ValidateBasic() error

func (*MsgUpdateTradeRoute) XXX_DiscardUnknown

func (m *MsgUpdateTradeRoute) XXX_DiscardUnknown()

func (*MsgUpdateTradeRoute) XXX_Marshal

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

func (*MsgUpdateTradeRoute) XXX_Merge

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

func (*MsgUpdateTradeRoute) XXX_Size

func (m *MsgUpdateTradeRoute) XXX_Size() int

func (*MsgUpdateTradeRoute) XXX_Unmarshal

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

type MsgUpdateTradeRouteResponse

type MsgUpdateTradeRouteResponse struct {
}

func (*MsgUpdateTradeRouteResponse) Descriptor

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

func (*MsgUpdateTradeRouteResponse) Marshal

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

func (*MsgUpdateTradeRouteResponse) MarshalTo

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

func (*MsgUpdateTradeRouteResponse) MarshalToSizedBuffer

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

func (*MsgUpdateTradeRouteResponse) ProtoMessage

func (*MsgUpdateTradeRouteResponse) ProtoMessage()

func (*MsgUpdateTradeRouteResponse) Reset

func (m *MsgUpdateTradeRouteResponse) Reset()

func (*MsgUpdateTradeRouteResponse) Size

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

func (*MsgUpdateTradeRouteResponse) String

func (m *MsgUpdateTradeRouteResponse) String() string

func (*MsgUpdateTradeRouteResponse) Unmarshal

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

func (*MsgUpdateTradeRouteResponse) XXX_DiscardUnknown

func (m *MsgUpdateTradeRouteResponse) XXX_DiscardUnknown()

func (*MsgUpdateTradeRouteResponse) XXX_Marshal

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

func (*MsgUpdateTradeRouteResponse) XXX_Merge

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

func (*MsgUpdateTradeRouteResponse) XXX_Size

func (m *MsgUpdateTradeRouteResponse) XXX_Size() int

func (*MsgUpdateTradeRouteResponse) XXX_Unmarshal

func (m *MsgUpdateTradeRouteResponse) 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 OPChildKeeper added in v1.2.0

type OPChildKeeper interface {
	GetParams(ctx context.Context) (opchildtypes.Params, error)
}

type OsmosisTwapRecord

type OsmosisTwapRecord struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// Lexicographically smaller denom of the pair
	Asset0Denom string `protobuf:"bytes,2,opt,name=asset0_denom,json=asset0Denom,proto3" json:"asset0_denom,omitempty"`
	// Lexicographically larger denom of the pair
	Asset1Denom string `protobuf:"bytes,3,opt,name=asset1_denom,json=asset1Denom,proto3" json:"asset1_denom,omitempty"`
	// height this record corresponds to, for debugging purposes
	Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"record_height" yaml:"record_height"`
	// This field should only exist until we have a global registry in the state
	// machine, mapping prior block heights within {TIME RANGE} to times.
	Time time.Time `protobuf:"bytes,5,opt,name=time,proto3,stdtime" json:"time" yaml:"record_time"`
	// We store the last spot prices in the struct, so that we can interpolate
	// accumulator values for times between when accumulator records are stored.
	P0LastSpotPrice             cosmossdk_io_math.LegacyDec `` /* 139-byte string literal not displayed */
	P1LastSpotPrice             cosmossdk_io_math.LegacyDec `` /* 139-byte string literal not displayed */
	P0ArithmeticTwapAccumulator cosmossdk_io_math.LegacyDec `` /* 175-byte string literal not displayed */
	P1ArithmeticTwapAccumulator cosmossdk_io_math.LegacyDec `` /* 175-byte string literal not displayed */
	GeometricTwapAccumulator    cosmossdk_io_math.LegacyDec `` /* 165-byte string literal not displayed */
	// This field contains the time in which the last spot price error occured.
	// It is used to alert the caller if they are getting a potentially erroneous
	// TWAP, due to an unforeseen underlying error.
	LastErrorTime time.Time `protobuf:"bytes,11,opt,name=last_error_time,json=lastErrorTime,proto3,stdtime" json:"last_error_time" yaml:"last_error_time"`
}

A TwapRecord stores the most recent price of a pair of denom's

func (*OsmosisTwapRecord) Descriptor

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

func (*OsmosisTwapRecord) GetAsset0Denom

func (m *OsmosisTwapRecord) GetAsset0Denom() string

func (*OsmosisTwapRecord) GetAsset1Denom

func (m *OsmosisTwapRecord) GetAsset1Denom() string

func (*OsmosisTwapRecord) GetHeight

func (m *OsmosisTwapRecord) GetHeight() int64

func (*OsmosisTwapRecord) GetLastErrorTime

func (m *OsmosisTwapRecord) GetLastErrorTime() time.Time

func (*OsmosisTwapRecord) GetPoolId

func (m *OsmosisTwapRecord) GetPoolId() uint64

func (*OsmosisTwapRecord) GetTime

func (m *OsmosisTwapRecord) GetTime() time.Time

func (*OsmosisTwapRecord) Marshal

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

func (*OsmosisTwapRecord) MarshalTo

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

func (*OsmosisTwapRecord) MarshalToSizedBuffer

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

func (*OsmosisTwapRecord) ProtoMessage

func (*OsmosisTwapRecord) ProtoMessage()

func (*OsmosisTwapRecord) Reset

func (m *OsmosisTwapRecord) Reset()

func (*OsmosisTwapRecord) Size

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

func (*OsmosisTwapRecord) String

func (m *OsmosisTwapRecord) String() string

func (*OsmosisTwapRecord) Unmarshal

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

func (*OsmosisTwapRecord) XXX_DiscardUnknown

func (m *OsmosisTwapRecord) XXX_DiscardUnknown()

func (*OsmosisTwapRecord) XXX_Marshal

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

func (*OsmosisTwapRecord) XXX_Merge

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

func (*OsmosisTwapRecord) XXX_Size

func (m *OsmosisTwapRecord) XXX_Size() int

func (*OsmosisTwapRecord) XXX_Unmarshal

func (m *OsmosisTwapRecord) 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 */
	ValidatorSlashQueryThreshold      uint64 `` /* 151-byte string literal not displayed */
	ValidatorWeightCap                uint64 `protobuf:"varint,20,opt,name=validator_weight_cap,json=validatorWeightCap,proto3" json:"validator_weight_cap,omitempty"`
}

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

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,
	validatorSlashQueryInterval uint64,
	validatorWeightCap 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) GetStrideCommission

func (m *Params) GetStrideCommission() uint64

func (*Params) GetValidatorSlashQueryThreshold

func (m *Params) GetValidatorSlashQueryThreshold() uint64

func (*Params) GetValidatorWeightCap

func (m *Params) GetValidatorWeightCap() 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) 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 QueryAllTradeRoutes

type QueryAllTradeRoutes struct {
}

func (*QueryAllTradeRoutes) Descriptor

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

func (*QueryAllTradeRoutes) Marshal

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

func (*QueryAllTradeRoutes) MarshalTo

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

func (*QueryAllTradeRoutes) MarshalToSizedBuffer

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

func (*QueryAllTradeRoutes) ProtoMessage

func (*QueryAllTradeRoutes) ProtoMessage()

func (*QueryAllTradeRoutes) Reset

func (m *QueryAllTradeRoutes) Reset()

func (*QueryAllTradeRoutes) Size

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

func (*QueryAllTradeRoutes) String

func (m *QueryAllTradeRoutes) String() string

func (*QueryAllTradeRoutes) Unmarshal

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

func (*QueryAllTradeRoutes) XXX_DiscardUnknown

func (m *QueryAllTradeRoutes) XXX_DiscardUnknown()

func (*QueryAllTradeRoutes) XXX_Marshal

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

func (*QueryAllTradeRoutes) XXX_Merge

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

func (*QueryAllTradeRoutes) XXX_Size

func (m *QueryAllTradeRoutes) XXX_Size() int

func (*QueryAllTradeRoutes) XXX_Unmarshal

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

type QueryAllTradeRoutesResponse

type QueryAllTradeRoutesResponse struct {
	TradeRoutes []TradeRoute `protobuf:"bytes,1,rep,name=trade_routes,json=tradeRoutes,proto3" json:"trade_routes"`
}

func (*QueryAllTradeRoutesResponse) Descriptor

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

func (*QueryAllTradeRoutesResponse) GetTradeRoutes

func (m *QueryAllTradeRoutesResponse) GetTradeRoutes() []TradeRoute

func (*QueryAllTradeRoutesResponse) Marshal

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

func (*QueryAllTradeRoutesResponse) MarshalTo

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

func (*QueryAllTradeRoutesResponse) MarshalToSizedBuffer

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

func (*QueryAllTradeRoutesResponse) ProtoMessage

func (*QueryAllTradeRoutesResponse) ProtoMessage()

func (*QueryAllTradeRoutesResponse) Reset

func (m *QueryAllTradeRoutesResponse) Reset()

func (*QueryAllTradeRoutesResponse) Size

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

func (*QueryAllTradeRoutesResponse) String

func (m *QueryAllTradeRoutesResponse) String() string

func (*QueryAllTradeRoutesResponse) Unmarshal

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

func (*QueryAllTradeRoutesResponse) XXX_DiscardUnknown

func (m *QueryAllTradeRoutesResponse) XXX_DiscardUnknown()

func (*QueryAllTradeRoutesResponse) XXX_Marshal

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

func (*QueryAllTradeRoutesResponse) XXX_Merge

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

func (*QueryAllTradeRoutesResponse) XXX_Size

func (m *QueryAllTradeRoutesResponse) XXX_Size() int

func (*QueryAllTradeRoutesResponse) XXX_Unmarshal

func (m *QueryAllTradeRoutesResponse) 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)
	// Queries all trade routes
	AllTradeRoutes(ctx context.Context, in *QueryAllTradeRoutes, opts ...grpc.CallOption) (*QueryAllTradeRoutesResponse, 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)
	// Queries all trade routes
	AllTradeRoutes(context.Context, *QueryAllTradeRoutes) (*QueryAllTradeRoutesResponse, 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)
	SetWhitelistedAddressPair(ctx sdk.Context, whitelist ratelimittypes.WhitelistedAddressPair)
	RemoveWhitelistedAddressPair(ctx sdk.Context, sender, receiver 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          cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=amt,proto3,customtype=cosmossdk.io/math.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 */
}

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 `` /* 129-byte string literal not displayed */
	HostZoneId     string     `protobuf:"bytes,3,opt,name=host_zone_id,json=hostZoneId,proto3" json:"host_zone_id,omitempty"`
}

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    cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"`
}

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 SwapAmountInRoute

type SwapAmountInRoute struct {
	PoolId        uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"`
	TokenOutDenom string `protobuf:"bytes,2,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty" yaml:"token_out_denom"`
}

func (*SwapAmountInRoute) Descriptor

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

func (*SwapAmountInRoute) GetPoolId

func (m *SwapAmountInRoute) GetPoolId() uint64

func (*SwapAmountInRoute) GetTokenOutDenom

func (m *SwapAmountInRoute) GetTokenOutDenom() string

func (*SwapAmountInRoute) Marshal

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

func (*SwapAmountInRoute) MarshalTo

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

func (*SwapAmountInRoute) MarshalToSizedBuffer

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

func (*SwapAmountInRoute) ProtoMessage

func (*SwapAmountInRoute) ProtoMessage()

func (*SwapAmountInRoute) Reset

func (m *SwapAmountInRoute) Reset()

func (*SwapAmountInRoute) Size

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

func (*SwapAmountInRoute) String

func (m *SwapAmountInRoute) String() string

func (*SwapAmountInRoute) Unmarshal

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

func (*SwapAmountInRoute) XXX_DiscardUnknown

func (m *SwapAmountInRoute) XXX_DiscardUnknown()

func (*SwapAmountInRoute) XXX_Marshal

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

func (*SwapAmountInRoute) XXX_Merge

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

func (*SwapAmountInRoute) XXX_Size

func (m *SwapAmountInRoute) XXX_Size() int

func (*SwapAmountInRoute) XXX_Unmarshal

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

type TradeConfig

type TradeConfig struct {
	// Currently Osmosis is the only trade chain so this is an osmosis pool id
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// Spot price in the pool to convert the reward denom to the host denom
	// output_tokens = swap_price * input tokens
	// This value may be slightly stale as it is updated by an ICQ
	SwapPrice cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=swap_price,json=swapPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"swap_price"`
	// unix time in seconds that the price was last updated
	PriceUpdateTimestamp uint64 `protobuf:"varint,3,opt,name=price_update_timestamp,json=priceUpdateTimestamp,proto3" json:"price_update_timestamp,omitempty"`
	// Threshold defining the percentage of tokens that could be lost in the trade
	// This captures both the loss from slippage and from a stale price on stride
	// 0.05 means the output from the trade can be no less than a 5% deviation
	// from the current value
	MaxAllowedSwapLossRate cosmossdk_io_math.LegacyDec `` /* 162-byte string literal not displayed */
	// min and max set boundaries of reward denom on trade chain we will swap
	// min also decides when reward token transfers are worth it (transfer fees)
	MinSwapAmount cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=min_swap_amount,json=minSwapAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_swap_amount"`
	MaxSwapAmount cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=max_swap_amount,json=maxSwapAmount,proto3,customtype=cosmossdk.io/math.Int" json:"max_swap_amount"`
}

Stores pool information needed to execute the swap along a trade route

func (*TradeConfig) Descriptor

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

func (*TradeConfig) GetPoolId

func (m *TradeConfig) GetPoolId() uint64

func (*TradeConfig) GetPriceUpdateTimestamp

func (m *TradeConfig) GetPriceUpdateTimestamp() uint64

func (*TradeConfig) Marshal

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

func (*TradeConfig) MarshalTo

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

func (*TradeConfig) MarshalToSizedBuffer

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

func (*TradeConfig) ProtoMessage

func (*TradeConfig) ProtoMessage()

func (*TradeConfig) Reset

func (m *TradeConfig) Reset()

func (*TradeConfig) Size

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

func (*TradeConfig) String

func (m *TradeConfig) String() string

func (*TradeConfig) Unmarshal

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

func (*TradeConfig) XXX_DiscardUnknown

func (m *TradeConfig) XXX_DiscardUnknown()

func (*TradeConfig) XXX_Marshal

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

func (*TradeConfig) XXX_Merge

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

func (*TradeConfig) XXX_Size

func (m *TradeConfig) XXX_Size() int

func (*TradeConfig) XXX_Unmarshal

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

type TradeRoute

type TradeRoute struct {
	// ibc denom for the reward on the host zone
	RewardDenomOnHostZone string `` /* 130-byte string literal not displayed */
	// should be the native denom for the reward chain
	RewardDenomOnRewardZone string `` /* 136-byte string literal not displayed */
	// ibc denom of the reward on the trade chain, input to the swap
	RewardDenomOnTradeZone string `` /* 133-byte string literal not displayed */
	// ibc of the host denom on the trade chain, output from the swap
	HostDenomOnTradeZone string `` /* 127-byte string literal not displayed */
	// should be the same as the native host denom on the host chain
	HostDenomOnHostZone string `protobuf:"bytes,5,opt,name=host_denom_on_host_zone,json=hostDenomOnHostZone,proto3" json:"host_denom_on_host_zone,omitempty"`
	// ICAAccount on the host zone with the reward tokens
	// This is the same as the host zone withdrawal ICA account
	HostAccount ICAAccount `protobuf:"bytes,6,opt,name=host_account,json=hostAccount,proto3" json:"host_account"`
	// ICAAccount on the reward zone that is acts as the intermediate
	// receiver of the transfer from host zone to trade zone
	RewardAccount ICAAccount `protobuf:"bytes,7,opt,name=reward_account,json=rewardAccount,proto3" json:"reward_account"`
	// ICAAccount responsible for executing the swap of reward
	// tokens for host tokens
	TradeAccount ICAAccount `protobuf:"bytes,8,opt,name=trade_account,json=tradeAccount,proto3" json:"trade_account"`
	// Channel responsible for the transfer of reward tokens from the host
	// zone to the reward zone. This is the channel ID on the host zone side
	HostToRewardChannelId string `` /* 130-byte string literal not displayed */
	// Channel responsible for the transfer of reward tokens from the reward
	// zone to the trade zone. This is the channel ID on the reward zone side
	RewardToTradeChannelId string `` /* 134-byte string literal not displayed */
	// Channel responsible for the transfer of host tokens from the trade
	// zone, back to the host zone. This is the channel ID on the trade zone side
	TradeToHostChannelId string `` /* 128-byte string literal not displayed */
	// specifies the configuration needed to execute the swap
	// such as pool_id, slippage, min trade amount, etc.
	TradeConfig TradeConfig `protobuf:"bytes,12,opt,name=trade_config,json=tradeConfig,proto3" json:"trade_config"`
}

TradeRoute represents a round trip including info on transfer and how to do the swap. It makes the assumption that the reward token is always foreign to the host so therefore the first two hops are to unwind the ibc denom enroute to the trade chain and the last hop is the return so funds start/end in the withdrawl ICA on hostZone The structure is key'd on reward denom and host denom in their native forms (i.e. reward_denom_on_reward_zone and host_denom_on_host_zone)

func (TradeRoute) Description

func (t TradeRoute) Description() string

Human readable description for logging

func (*TradeRoute) Descriptor

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

func (*TradeRoute) GetHostAccount

func (m *TradeRoute) GetHostAccount() ICAAccount

func (*TradeRoute) GetHostDenomOnHostZone

func (m *TradeRoute) GetHostDenomOnHostZone() string

func (*TradeRoute) GetHostDenomOnTradeZone

func (m *TradeRoute) GetHostDenomOnTradeZone() string

func (*TradeRoute) GetHostToRewardChannelId

func (m *TradeRoute) GetHostToRewardChannelId() string

func (TradeRoute) GetKey

func (t TradeRoute) GetKey() []byte

Builds the store key from the reward and host denom's

func (*TradeRoute) GetRewardAccount

func (m *TradeRoute) GetRewardAccount() ICAAccount

func (*TradeRoute) GetRewardDenomOnHostZone

func (m *TradeRoute) GetRewardDenomOnHostZone() string

func (*TradeRoute) GetRewardDenomOnRewardZone

func (m *TradeRoute) GetRewardDenomOnRewardZone() string

func (*TradeRoute) GetRewardDenomOnTradeZone

func (m *TradeRoute) GetRewardDenomOnTradeZone() string

func (*TradeRoute) GetRewardToTradeChannelId

func (m *TradeRoute) GetRewardToTradeChannelId() string

func (TradeRoute) GetRouteId

func (t TradeRoute) GetRouteId() string

Builds the store key (as a string) from the reward and host denom's

func (*TradeRoute) GetTradeAccount

func (m *TradeRoute) GetTradeAccount() ICAAccount

func (*TradeRoute) GetTradeConfig

func (m *TradeRoute) GetTradeConfig() TradeConfig

func (*TradeRoute) GetTradeToHostChannelId

func (m *TradeRoute) GetTradeToHostChannelId() string

func (*TradeRoute) Marshal

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

func (*TradeRoute) MarshalTo

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

func (*TradeRoute) MarshalToSizedBuffer

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

func (*TradeRoute) ProtoMessage

func (*TradeRoute) ProtoMessage()

func (*TradeRoute) Reset

func (m *TradeRoute) Reset()

func (*TradeRoute) Size

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

func (*TradeRoute) String

func (m *TradeRoute) String() string

func (*TradeRoute) Unmarshal

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

func (*TradeRoute) XXX_DiscardUnknown

func (m *TradeRoute) XXX_DiscardUnknown()

func (*TradeRoute) XXX_Marshal

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

func (*TradeRoute) XXX_Merge

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

func (*TradeRoute) XXX_Size

func (m *TradeRoute) XXX_Size() int

func (*TradeRoute) XXX_Unmarshal

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

type TradeRouteCallback

type TradeRouteCallback struct {
	RewardDenom string `protobuf:"bytes,1,opt,name=reward_denom,json=rewardDenom,proto3" json:"reward_denom,omitempty"`
	HostDenom   string `protobuf:"bytes,2,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
}

func (*TradeRouteCallback) Descriptor

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

func (*TradeRouteCallback) GetHostDenom

func (m *TradeRouteCallback) GetHostDenom() string

func (*TradeRouteCallback) GetRewardDenom

func (m *TradeRouteCallback) GetRewardDenom() string

func (*TradeRouteCallback) Marshal

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

func (*TradeRouteCallback) MarshalTo

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

func (*TradeRouteCallback) MarshalToSizedBuffer

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

func (*TradeRouteCallback) ProtoMessage

func (*TradeRouteCallback) ProtoMessage()

func (*TradeRouteCallback) Reset

func (m *TradeRouteCallback) Reset()

func (*TradeRouteCallback) Size

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

func (*TradeRouteCallback) String

func (m *TradeRouteCallback) String() string

func (*TradeRouteCallback) Unmarshal

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

func (*TradeRouteCallback) XXX_DiscardUnknown

func (m *TradeRouteCallback) XXX_DiscardUnknown()

func (*TradeRouteCallback) XXX_Marshal

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

func (*TradeRouteCallback) XXX_Merge

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

func (*TradeRouteCallback) XXX_Size

func (m *TradeRouteCallback) XXX_Size() int

func (*TradeRouteCallback) XXX_Unmarshal

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

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 */
}

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) CalibrateDelegation

func (*UnimplementedMsgServer) ChangeValidatorWeight

func (*UnimplementedMsgServer) ClaimUndelegatedTokens

func (*UnimplementedMsgServer) ClearBalance

func (*UnimplementedMsgServer) CreateTradeRoute

func (*UnimplementedMsgServer) DeleteTradeRoute

func (*UnimplementedMsgServer) DeleteValidator

func (*UnimplementedMsgServer) LSMLiquidStake

func (*UnimplementedMsgServer) LiquidStake

func (*UnimplementedMsgServer) RebalanceValidators

func (*UnimplementedMsgServer) RedeemStake

func (*UnimplementedMsgServer) RegisterHostZone

func (*UnimplementedMsgServer) RestoreInterchainAccount

func (*UnimplementedMsgServer) ResumeHostZone

func (*UnimplementedMsgServer) SetCommunityPoolRebate

func (*UnimplementedMsgServer) ToggleTradeController

func (*UnimplementedMsgServer) UpdateHostZoneParams

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdateTradeRoute

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AddressUnbondings

func (*UnimplementedQueryServer) AllTradeRoutes

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"`
	Weight                      uint64                      `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"`
	Delegation                  cosmossdk_io_math.Int       `protobuf:"bytes,5,opt,name=delegation,proto3,customtype=cosmossdk.io/math.Int" json:"delegation"`
	SlashQueryProgressTracker   cosmossdk_io_math.Int       `` /* 163-byte string literal not displayed */
	SlashQueryCheckpoint        cosmossdk_io_math.Int       `` /* 147-byte string literal not displayed */
	SharesToTokensRate          cosmossdk_io_math.LegacyDec `` /* 149-byte string literal not displayed */
	DelegationChangesInProgress int64                       `` /* 148-byte string literal not displayed */
	SlashQueryInProgress        bool                        `` /* 127-byte string literal not displayed */
}

func (*Validator) Descriptor

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

func (*Validator) GetAddress

func (m *Validator) GetAddress() string

func (*Validator) GetDelegationChangesInProgress

func (m *Validator) GetDelegationChangesInProgress() int64

func (*Validator) GetName

func (m *Validator) GetName() string

func (*Validator) GetSlashQueryInProgress

func (m *Validator) GetSlashQueryInProgress() bool

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 ValidatorSharesToTokensQueryCallback

type ValidatorSharesToTokensQueryCallback struct {
	LsmLiquidStake *LSMLiquidStake `protobuf:"bytes,1,opt,name=lsm_liquid_stake,json=lsmLiquidStake,proto3" json:"lsm_liquid_stake,omitempty"`
}

func (*ValidatorSharesToTokensQueryCallback) Descriptor

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

func (*ValidatorSharesToTokensQueryCallback) GetLsmLiquidStake

func (m *ValidatorSharesToTokensQueryCallback) GetLsmLiquidStake() *LSMLiquidStake

func (*ValidatorSharesToTokensQueryCallback) Marshal

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

func (*ValidatorSharesToTokensQueryCallback) MarshalTo

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

func (*ValidatorSharesToTokensQueryCallback) MarshalToSizedBuffer

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

func (*ValidatorSharesToTokensQueryCallback) ProtoMessage

func (*ValidatorSharesToTokensQueryCallback) ProtoMessage()

func (*ValidatorSharesToTokensQueryCallback) Reset

func (*ValidatorSharesToTokensQueryCallback) Size

func (*ValidatorSharesToTokensQueryCallback) String

func (*ValidatorSharesToTokensQueryCallback) Unmarshal

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

func (*ValidatorSharesToTokensQueryCallback) XXX_DiscardUnknown

func (m *ValidatorSharesToTokensQueryCallback) XXX_DiscardUnknown()

func (*ValidatorSharesToTokensQueryCallback) XXX_Marshal

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

func (*ValidatorSharesToTokensQueryCallback) XXX_Merge

func (*ValidatorSharesToTokensQueryCallback) XXX_Size

func (*ValidatorSharesToTokensQueryCallback) XXX_Unmarshal

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

type ValidatorWeight

type ValidatorWeight struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Weight  uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
}

func (*ValidatorWeight) Descriptor

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

func (*ValidatorWeight) GetAddress

func (m *ValidatorWeight) GetAddress() string

func (*ValidatorWeight) GetWeight

func (m *ValidatorWeight) GetWeight() uint64

func (*ValidatorWeight) Marshal

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

func (*ValidatorWeight) MarshalTo

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

func (*ValidatorWeight) MarshalToSizedBuffer

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

func (*ValidatorWeight) ProtoMessage

func (*ValidatorWeight) ProtoMessage()

func (*ValidatorWeight) Reset

func (m *ValidatorWeight) Reset()

func (*ValidatorWeight) Size

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

func (*ValidatorWeight) String

func (m *ValidatorWeight) String() string

func (*ValidatorWeight) Unmarshal

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

func (*ValidatorWeight) XXX_DiscardUnknown

func (m *ValidatorWeight) XXX_DiscardUnknown()

func (*ValidatorWeight) XXX_Marshal

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

func (*ValidatorWeight) XXX_Merge

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

func (*ValidatorWeight) XXX_Size

func (m *ValidatorWeight) XXX_Size() int

func (*ValidatorWeight) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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