amm

package
v1.6.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	FilterType_name = map[int32]string{
		0: "FILTER_ALL",
		1: "FILTER_PERPETUAL",
		2: "FILTER_FIXED_WEIGHT",
		3: "FILTER_DYNAMIC_WEIGHT",
		4: "FILTER_LEVERAGE",
	}
	FilterType_value = map[string]int32{
		"FILTER_ALL":            0,
		"FILTER_PERPETUAL":      1,
		"FILTER_FIXED_WEIGHT":   2,
		"FILTER_DYNAMIC_WEIGHT": 3,
		"FILTER_LEVERAGE":       4,
	}
)

Enum value maps for FilterType.

View Source
var File_elys_amm_denom_liquidity_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_params_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_pool_asset_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_pool_params_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_pool_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_proposal_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_query_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_swap_route_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_tx_proto protoreflect.FileDescriptor
View Source
var File_elys_amm_types_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.amm.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePool",
			Handler:    _Msg_CreatePool_Handler,
		},
		{
			MethodName: "JoinPool",
			Handler:    _Msg_JoinPool_Handler,
		},
		{
			MethodName: "ExitPool",
			Handler:    _Msg_ExitPool_Handler,
		},
		{
			MethodName: "SwapExactAmountIn",
			Handler:    _Msg_SwapExactAmountIn_Handler,
		},
		{
			MethodName: "SwapExactAmountOut",
			Handler:    _Msg_SwapExactAmountOut_Handler,
		},
		{
			MethodName: "SwapByDenom",
			Handler:    _Msg_SwapByDenom_Handler,
		},
		{
			MethodName: "FeedMultipleExternalLiquidity",
			Handler:    _Msg_FeedMultipleExternalLiquidity_Handler,
		},
		{
			MethodName: "UpdatePoolParams",
			Handler:    _Msg_UpdatePoolParams_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/amm/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.amm.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "Pool",
			Handler:    _Query_Pool_Handler,
		},
		{
			MethodName: "PoolAll",
			Handler:    _Query_PoolAll_Handler,
		},
		{
			MethodName: "DenomLiquidity",
			Handler:    _Query_DenomLiquidity_Handler,
		},
		{
			MethodName: "DenomLiquidityAll",
			Handler:    _Query_DenomLiquidityAll_Handler,
		},
		{
			MethodName: "SwapEstimation",
			Handler:    _Query_SwapEstimation_Handler,
		},
		{
			MethodName: "JoinPoolEstimation",
			Handler:    _Query_JoinPoolEstimation_Handler,
		},
		{
			MethodName: "ExitPoolEstimation",
			Handler:    _Query_ExitPoolEstimation_Handler,
		},
		{
			MethodName: "SlippageTrack",
			Handler:    _Query_SlippageTrack_Handler,
		},
		{
			MethodName: "SlippageTrackAll",
			Handler:    _Query_SlippageTrackAll_Handler,
		},
		{
			MethodName: "Balance",
			Handler:    _Query_Balance_Handler,
		},
		{
			MethodName: "InRouteByDenom",
			Handler:    _Query_InRouteByDenom_Handler,
		},
		{
			MethodName: "OutRouteByDenom",
			Handler:    _Query_OutRouteByDenom_Handler,
		},
		{
			MethodName: "SwapEstimationByDenom",
			Handler:    _Query_SwapEstimationByDenom_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/amm/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type AssetAmountDepth

type AssetAmountDepth struct {
	Asset  string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Depth  string `protobuf:"bytes,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetAmountDepth) Descriptor deprecated

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

Deprecated: Use AssetAmountDepth.ProtoReflect.Descriptor instead.

func (*AssetAmountDepth) GetAmount

func (x *AssetAmountDepth) GetAmount() string

func (*AssetAmountDepth) GetAsset

func (x *AssetAmountDepth) GetAsset() string

func (*AssetAmountDepth) GetDepth

func (x *AssetAmountDepth) GetDepth() string

func (*AssetAmountDepth) ProtoMessage

func (*AssetAmountDepth) ProtoMessage()

func (*AssetAmountDepth) ProtoReflect

func (x *AssetAmountDepth) ProtoReflect() protoreflect.Message

func (*AssetAmountDepth) Reset

func (x *AssetAmountDepth) Reset()

func (*AssetAmountDepth) String

func (x *AssetAmountDepth) String() string

type DenomLiquidity

type DenomLiquidity struct {
	Denom     string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Liquidity string `protobuf:"bytes,2,opt,name=liquidity,proto3" json:"liquidity,omitempty"`
	// contains filtered or unexported fields
}

func (*DenomLiquidity) Descriptor deprecated

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

Deprecated: Use DenomLiquidity.ProtoReflect.Descriptor instead.

func (*DenomLiquidity) GetDenom

func (x *DenomLiquidity) GetDenom() string

func (*DenomLiquidity) GetLiquidity

func (x *DenomLiquidity) GetLiquidity() string

func (*DenomLiquidity) ProtoMessage

func (*DenomLiquidity) ProtoMessage()

func (*DenomLiquidity) ProtoReflect

func (x *DenomLiquidity) ProtoReflect() protoreflect.Message

func (*DenomLiquidity) Reset

func (x *DenomLiquidity) Reset()

func (*DenomLiquidity) String

func (x *DenomLiquidity) String() string

type EarnPool

type EarnPool struct {
	PoolId       uint64           `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Assets       []*PoolAsset     `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
	PoolRatio    string           `protobuf:"bytes,3,opt,name=pool_ratio,json=poolRatio,proto3" json:"pool_ratio,omitempty"`
	RewardsApr   string           `protobuf:"bytes,4,opt,name=rewards_apr,json=rewardsApr,proto3" json:"rewards_apr,omitempty"`
	BorrowApr    string           `protobuf:"bytes,5,opt,name=borrow_apr,json=borrowApr,proto3" json:"borrow_apr,omitempty"`
	LeverageLp   string           `protobuf:"bytes,6,opt,name=leverage_lp,json=leverageLp,proto3" json:"leverage_lp,omitempty"`
	Perpetual    string           `protobuf:"bytes,7,opt,name=perpetual,proto3" json:"perpetual,omitempty"`
	Tvl          string           `protobuf:"bytes,8,opt,name=tvl,proto3" json:"tvl,omitempty"`
	LpTokenPrice string           `protobuf:"bytes,9,opt,name=lp_token_price,json=lpTokenPrice,proto3" json:"lp_token_price,omitempty"`
	RewardsUsd   string           `protobuf:"bytes,10,opt,name=rewards_usd,json=rewardsUsd,proto3" json:"rewards_usd,omitempty"`
	RewardCoins  []*v1beta11.Coin `protobuf:"bytes,11,rep,name=reward_coins,json=rewardCoins,proto3" json:"reward_coins,omitempty"`
	TotalShares  *v1beta11.Coin   `protobuf:"bytes,12,opt,name=total_shares,json=totalShares,proto3" json:"total_shares,omitempty"`
	SwapFee      string           `protobuf:"bytes,13,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	FeeDenom     string           `protobuf:"bytes,14,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"`
	UseOracle    bool             `protobuf:"varint,15,opt,name=use_oracle,json=useOracle,proto3" json:"use_oracle,omitempty"`
	IsLeveragelp bool             `protobuf:"varint,16,opt,name=is_leveragelp,json=isLeveragelp,proto3" json:"is_leveragelp,omitempty"`
	// contains filtered or unexported fields
}

func (*EarnPool) Descriptor deprecated

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

Deprecated: Use EarnPool.ProtoReflect.Descriptor instead.

func (*EarnPool) GetAssets

func (x *EarnPool) GetAssets() []*PoolAsset

func (*EarnPool) GetBorrowApr

func (x *EarnPool) GetBorrowApr() string

func (*EarnPool) GetFeeDenom

func (x *EarnPool) GetFeeDenom() string

func (*EarnPool) GetIsLeveragelp

func (x *EarnPool) GetIsLeveragelp() bool

func (*EarnPool) GetLeverageLp

func (x *EarnPool) GetLeverageLp() string

func (*EarnPool) GetLpTokenPrice

func (x *EarnPool) GetLpTokenPrice() string

func (*EarnPool) GetPerpetual

func (x *EarnPool) GetPerpetual() string

func (*EarnPool) GetPoolId

func (x *EarnPool) GetPoolId() uint64

func (*EarnPool) GetPoolRatio

func (x *EarnPool) GetPoolRatio() string

func (*EarnPool) GetRewardCoins

func (x *EarnPool) GetRewardCoins() []*v1beta11.Coin

func (*EarnPool) GetRewardsApr

func (x *EarnPool) GetRewardsApr() string

func (*EarnPool) GetRewardsUsd

func (x *EarnPool) GetRewardsUsd() string

func (*EarnPool) GetSwapFee

func (x *EarnPool) GetSwapFee() string

func (*EarnPool) GetTotalShares

func (x *EarnPool) GetTotalShares() *v1beta11.Coin

func (*EarnPool) GetTvl

func (x *EarnPool) GetTvl() string

func (*EarnPool) GetUseOracle

func (x *EarnPool) GetUseOracle() bool

func (*EarnPool) ProtoMessage

func (*EarnPool) ProtoMessage()

func (*EarnPool) ProtoReflect

func (x *EarnPool) ProtoReflect() protoreflect.Message

func (*EarnPool) Reset

func (x *EarnPool) Reset()

func (*EarnPool) String

func (x *EarnPool) String() string

type ExternalLiquidity

type ExternalLiquidity struct {
	PoolId          uint64              `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	AmountDepthInfo []*AssetAmountDepth `protobuf:"bytes,2,rep,name=amount_depth_info,json=amountDepthInfo,proto3" json:"amount_depth_info,omitempty"`
	// contains filtered or unexported fields
}

ExternalLiquidity defines price, volume, and time information for an exchange rate.

func (*ExternalLiquidity) Descriptor deprecated

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

Deprecated: Use ExternalLiquidity.ProtoReflect.Descriptor instead.

func (*ExternalLiquidity) GetAmountDepthInfo

func (x *ExternalLiquidity) GetAmountDepthInfo() []*AssetAmountDepth

func (*ExternalLiquidity) GetPoolId

func (x *ExternalLiquidity) GetPoolId() uint64

func (*ExternalLiquidity) ProtoMessage

func (*ExternalLiquidity) ProtoMessage()

func (*ExternalLiquidity) ProtoReflect

func (x *ExternalLiquidity) ProtoReflect() protoreflect.Message

func (*ExternalLiquidity) Reset

func (x *ExternalLiquidity) Reset()

func (*ExternalLiquidity) String

func (x *ExternalLiquidity) String() string

type FilterType

type FilterType int32
const (
	FilterType_FILTER_ALL            FilterType = 0
	FilterType_FILTER_PERPETUAL      FilterType = 1
	FilterType_FILTER_FIXED_WEIGHT   FilterType = 2
	FilterType_FILTER_DYNAMIC_WEIGHT FilterType = 3
	FilterType_FILTER_LEVERAGE       FilterType = 4
)

func (FilterType) Descriptor

func (FilterType) Descriptor() protoreflect.EnumDescriptor

func (FilterType) Enum

func (x FilterType) Enum() *FilterType

func (FilterType) EnumDescriptor deprecated

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

Deprecated: Use FilterType.Descriptor instead.

func (FilterType) Number

func (x FilterType) Number() protoreflect.EnumNumber

func (FilterType) String

func (x FilterType) String() string

func (FilterType) Type

type GenesisState

type GenesisState struct {
	Params             *Params                    `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	PoolList           []*Pool                    `protobuf:"bytes,2,rep,name=pool_list,json=poolList,proto3" json:"pool_list,omitempty"`
	DenomLiquidityList []*DenomLiquidity          `protobuf:"bytes,3,rep,name=denom_liquidity_list,json=denomLiquidityList,proto3" json:"denom_liquidity_list,omitempty"`
	SlippageTracks     []*OraclePoolSlippageTrack `protobuf:"bytes,4,rep,name=slippage_tracks,json=slippageTracks,proto3" json:"slippage_tracks,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the amm module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDenomLiquidityList

func (x *GenesisState) GetDenomLiquidityList() []*DenomLiquidity

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetPoolList

func (x *GenesisState) GetPoolList() []*Pool

func (*GenesisState) GetSlippageTracks

func (x *GenesisState) GetSlippageTracks() []*OraclePoolSlippageTrack

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type LegacyParams

type LegacyParams struct {
	PoolCreationFee       string `protobuf:"bytes,1,opt,name=pool_creation_fee,json=poolCreationFee,proto3" json:"pool_creation_fee,omitempty"`
	SlippageTrackDuration uint64 `` // default 1 week: 604,800
	/* 127-byte string literal not displayed */
	BaseAssets                  []string `protobuf:"bytes,3,rep,name=base_assets,json=baseAssets,proto3" json:"base_assets,omitempty"`
	WeightBreakingFeeExponent   string   `` /* 140-byte string literal not displayed */
	WeightBreakingFeeMultiplier string   `` /* 146-byte string literal not displayed */
	WeightBreakingFeePortion    string   `` /* 137-byte string literal not displayed */
	WeightRecoveryFeePortion    string   `` /* 137-byte string literal not displayed */
	ThresholdWeightDifference   string   `` /* 138-byte string literal not displayed */
	AllowedPoolCreators         []string `protobuf:"bytes,9,rep,name=allowed_pool_creators,json=allowedPoolCreators,proto3" json:"allowed_pool_creators,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*LegacyParams) Descriptor deprecated

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

Deprecated: Use LegacyParams.ProtoReflect.Descriptor instead.

func (*LegacyParams) GetAllowedPoolCreators added in v1.6.0

func (x *LegacyParams) GetAllowedPoolCreators() []string

func (*LegacyParams) GetBaseAssets added in v1.6.0

func (x *LegacyParams) GetBaseAssets() []string

func (*LegacyParams) GetPoolCreationFee

func (x *LegacyParams) GetPoolCreationFee() string

func (*LegacyParams) GetSlippageTrackDuration

func (x *LegacyParams) GetSlippageTrackDuration() uint64

func (*LegacyParams) GetThresholdWeightDifference added in v1.6.0

func (x *LegacyParams) GetThresholdWeightDifference() string

func (*LegacyParams) GetWeightBreakingFeeExponent added in v1.6.0

func (x *LegacyParams) GetWeightBreakingFeeExponent() string

func (*LegacyParams) GetWeightBreakingFeeMultiplier added in v1.6.0

func (x *LegacyParams) GetWeightBreakingFeeMultiplier() string

func (*LegacyParams) GetWeightBreakingFeePortion added in v1.6.0

func (x *LegacyParams) GetWeightBreakingFeePortion() string

func (*LegacyParams) GetWeightRecoveryFeePortion added in v1.6.0

func (x *LegacyParams) GetWeightRecoveryFeePortion() string

func (*LegacyParams) ProtoMessage

func (*LegacyParams) ProtoMessage()

func (*LegacyParams) ProtoReflect

func (x *LegacyParams) ProtoReflect() protoreflect.Message

func (*LegacyParams) Reset

func (x *LegacyParams) Reset()

func (*LegacyParams) String

func (x *LegacyParams) String() string

type LegacyPool

type LegacyPool struct {
	PoolId            uint64            `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Address           string            `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PoolParams        *LegacyPoolParams `protobuf:"bytes,3,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	TotalShares       *v1beta1.Coin     `protobuf:"bytes,4,opt,name=total_shares,json=totalShares,proto3" json:"total_shares,omitempty"`
	PoolAssets        []*PoolAsset      `protobuf:"bytes,5,rep,name=pool_assets,json=poolAssets,proto3" json:"pool_assets,omitempty"`
	TotalWeight       string            `protobuf:"bytes,6,opt,name=total_weight,json=totalWeight,proto3" json:"total_weight,omitempty"`
	RebalanceTreasury string            `protobuf:"bytes,7,opt,name=rebalance_treasury,json=rebalanceTreasury,proto3" json:"rebalance_treasury,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyPool) Descriptor deprecated

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

Deprecated: Use LegacyPool.ProtoReflect.Descriptor instead.

func (*LegacyPool) GetAddress

func (x *LegacyPool) GetAddress() string

func (*LegacyPool) GetPoolAssets

func (x *LegacyPool) GetPoolAssets() []*PoolAsset

func (*LegacyPool) GetPoolId

func (x *LegacyPool) GetPoolId() uint64

func (*LegacyPool) GetPoolParams

func (x *LegacyPool) GetPoolParams() *LegacyPoolParams

func (*LegacyPool) GetRebalanceTreasury

func (x *LegacyPool) GetRebalanceTreasury() string

func (*LegacyPool) GetTotalShares

func (x *LegacyPool) GetTotalShares() *v1beta1.Coin

func (*LegacyPool) GetTotalWeight

func (x *LegacyPool) GetTotalWeight() string

func (*LegacyPool) ProtoMessage

func (*LegacyPool) ProtoMessage()

func (*LegacyPool) ProtoReflect

func (x *LegacyPool) ProtoReflect() protoreflect.Message

func (*LegacyPool) Reset

func (x *LegacyPool) Reset()

func (*LegacyPool) String

func (x *LegacyPool) String() string

type LegacyPoolAsset

type LegacyPoolAsset struct {
	Token  *v1beta1.Coin `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Weight string        `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyPoolAsset) Descriptor deprecated

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

Deprecated: Use LegacyPoolAsset.ProtoReflect.Descriptor instead.

func (*LegacyPoolAsset) GetToken

func (x *LegacyPoolAsset) GetToken() *v1beta1.Coin

func (*LegacyPoolAsset) GetWeight

func (x *LegacyPoolAsset) GetWeight() string

func (*LegacyPoolAsset) ProtoMessage

func (*LegacyPoolAsset) ProtoMessage()

func (*LegacyPoolAsset) ProtoReflect

func (x *LegacyPoolAsset) ProtoReflect() protoreflect.Message

func (*LegacyPoolAsset) Reset

func (x *LegacyPoolAsset) Reset()

func (*LegacyPoolAsset) String

func (x *LegacyPoolAsset) String() string

type LegacyPoolParams

type LegacyPoolParams struct {
	SwapFee                     string `protobuf:"bytes,1,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	ExitFee                     string `protobuf:"bytes,2,opt,name=exit_fee,json=exitFee,proto3" json:"exit_fee,omitempty"`
	UseOracle                   bool   `protobuf:"varint,3,opt,name=use_oracle,json=useOracle,proto3" json:"use_oracle,omitempty"`
	WeightBreakingFeeMultiplier string ``                                                                                      /* 146-byte string literal not displayed */
	WeightBreakingFeeExponent   string ``                                                                                      /* 140-byte string literal not displayed */
	WeightRecoveryFeePortion    string ``                                                                                      /* 137-byte string literal not displayed */
	ThresholdWeightDifference   string ``                                                                                      /* 138-byte string literal not displayed */
	WeightBreakingFeePortion    string ``                                                                                      /* 137-byte string literal not displayed */
	FeeDenom                    string `protobuf:"bytes,9,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` // denom for fee collection
	// contains filtered or unexported fields
}

func (*LegacyPoolParams) Descriptor deprecated

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

Deprecated: Use LegacyPoolParams.ProtoReflect.Descriptor instead.

func (*LegacyPoolParams) GetExitFee

func (x *LegacyPoolParams) GetExitFee() string

func (*LegacyPoolParams) GetFeeDenom

func (x *LegacyPoolParams) GetFeeDenom() string

func (*LegacyPoolParams) GetSwapFee

func (x *LegacyPoolParams) GetSwapFee() string

func (*LegacyPoolParams) GetThresholdWeightDifference

func (x *LegacyPoolParams) GetThresholdWeightDifference() string

func (*LegacyPoolParams) GetUseOracle

func (x *LegacyPoolParams) GetUseOracle() bool

func (*LegacyPoolParams) GetWeightBreakingFeeExponent

func (x *LegacyPoolParams) GetWeightBreakingFeeExponent() string

func (*LegacyPoolParams) GetWeightBreakingFeeMultiplier

func (x *LegacyPoolParams) GetWeightBreakingFeeMultiplier() string

func (*LegacyPoolParams) GetWeightBreakingFeePortion

func (x *LegacyPoolParams) GetWeightBreakingFeePortion() string

func (*LegacyPoolParams) GetWeightRecoveryFeePortion

func (x *LegacyPoolParams) GetWeightRecoveryFeePortion() string

func (*LegacyPoolParams) ProtoMessage

func (*LegacyPoolParams) ProtoMessage()

func (*LegacyPoolParams) ProtoReflect

func (x *LegacyPoolParams) ProtoReflect() protoreflect.Message

func (*LegacyPoolParams) Reset

func (x *LegacyPoolParams) Reset()

func (*LegacyPoolParams) String

func (x *LegacyPoolParams) String() string

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreatePool

type MsgCreatePool struct {
	Sender     string       `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	PoolParams *PoolParams  `protobuf:"bytes,2,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	PoolAssets []*PoolAsset `protobuf:"bytes,3,rep,name=pool_assets,json=poolAssets,proto3" json:"pool_assets,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCreatePool) Descriptor deprecated

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

Deprecated: Use MsgCreatePool.ProtoReflect.Descriptor instead.

func (*MsgCreatePool) GetPoolAssets

func (x *MsgCreatePool) GetPoolAssets() []*PoolAsset

func (*MsgCreatePool) GetPoolParams

func (x *MsgCreatePool) GetPoolParams() *PoolParams

func (*MsgCreatePool) GetSender

func (x *MsgCreatePool) GetSender() string

func (*MsgCreatePool) ProtoMessage

func (*MsgCreatePool) ProtoMessage()

func (*MsgCreatePool) ProtoReflect

func (x *MsgCreatePool) ProtoReflect() protoreflect.Message

func (*MsgCreatePool) Reset

func (x *MsgCreatePool) Reset()

func (*MsgCreatePool) String

func (x *MsgCreatePool) String() string

type MsgCreatePoolResponse

type MsgCreatePoolResponse struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCreatePoolResponse) Descriptor deprecated

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

Deprecated: Use MsgCreatePoolResponse.ProtoReflect.Descriptor instead.

func (*MsgCreatePoolResponse) GetPoolId

func (x *MsgCreatePoolResponse) GetPoolId() uint64

func (*MsgCreatePoolResponse) ProtoMessage

func (*MsgCreatePoolResponse) ProtoMessage()

func (*MsgCreatePoolResponse) ProtoReflect

func (x *MsgCreatePoolResponse) ProtoReflect() protoreflect.Message

func (*MsgCreatePoolResponse) Reset

func (x *MsgCreatePoolResponse) Reset()

func (*MsgCreatePoolResponse) String

func (x *MsgCreatePoolResponse) String() string

type MsgExitPool

type MsgExitPool struct {
	Sender        string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	PoolId        uint64          `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	MinAmountsOut []*v1beta1.Coin `protobuf:"bytes,3,rep,name=min_amounts_out,json=minAmountsOut,proto3" json:"min_amounts_out,omitempty"`
	ShareAmountIn string          `protobuf:"bytes,4,opt,name=share_amount_in,json=shareAmountIn,proto3" json:"share_amount_in,omitempty"`
	TokenOutDenom string          `protobuf:"bytes,5,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgExitPool) Descriptor deprecated

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

Deprecated: Use MsgExitPool.ProtoReflect.Descriptor instead.

func (*MsgExitPool) GetMinAmountsOut

func (x *MsgExitPool) GetMinAmountsOut() []*v1beta1.Coin

func (*MsgExitPool) GetPoolId

func (x *MsgExitPool) GetPoolId() uint64

func (*MsgExitPool) GetSender

func (x *MsgExitPool) GetSender() string

func (*MsgExitPool) GetShareAmountIn

func (x *MsgExitPool) GetShareAmountIn() string

func (*MsgExitPool) GetTokenOutDenom

func (x *MsgExitPool) GetTokenOutDenom() string

func (*MsgExitPool) ProtoMessage

func (*MsgExitPool) ProtoMessage()

func (*MsgExitPool) ProtoReflect

func (x *MsgExitPool) ProtoReflect() protoreflect.Message

func (*MsgExitPool) Reset

func (x *MsgExitPool) Reset()

func (*MsgExitPool) String

func (x *MsgExitPool) String() string

type MsgExitPoolResponse

type MsgExitPoolResponse struct {
	TokenOut []*v1beta1.Coin `protobuf:"bytes,1,rep,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgExitPoolResponse) Descriptor deprecated

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

Deprecated: Use MsgExitPoolResponse.ProtoReflect.Descriptor instead.

func (*MsgExitPoolResponse) GetTokenOut

func (x *MsgExitPoolResponse) GetTokenOut() []*v1beta1.Coin

func (*MsgExitPoolResponse) ProtoMessage

func (*MsgExitPoolResponse) ProtoMessage()

func (*MsgExitPoolResponse) ProtoReflect

func (x *MsgExitPoolResponse) ProtoReflect() protoreflect.Message

func (*MsgExitPoolResponse) Reset

func (x *MsgExitPoolResponse) Reset()

func (*MsgExitPoolResponse) String

func (x *MsgExitPoolResponse) String() string

type MsgFeedMultipleExternalLiquidity

type MsgFeedMultipleExternalLiquidity struct {
	Sender    string               `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Liquidity []*ExternalLiquidity `protobuf:"bytes,2,rep,name=liquidity,proto3" json:"liquidity,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgFeedMultipleExternalLiquidity) Descriptor deprecated

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

Deprecated: Use MsgFeedMultipleExternalLiquidity.ProtoReflect.Descriptor instead.

func (*MsgFeedMultipleExternalLiquidity) GetLiquidity

func (*MsgFeedMultipleExternalLiquidity) GetSender

func (*MsgFeedMultipleExternalLiquidity) ProtoMessage

func (*MsgFeedMultipleExternalLiquidity) ProtoMessage()

func (*MsgFeedMultipleExternalLiquidity) ProtoReflect

func (*MsgFeedMultipleExternalLiquidity) Reset

func (*MsgFeedMultipleExternalLiquidity) String

type MsgFeedMultipleExternalLiquidityResponse

type MsgFeedMultipleExternalLiquidityResponse struct {
	// contains filtered or unexported fields
}

func (*MsgFeedMultipleExternalLiquidityResponse) Descriptor deprecated

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

Deprecated: Use MsgFeedMultipleExternalLiquidityResponse.ProtoReflect.Descriptor instead.

func (*MsgFeedMultipleExternalLiquidityResponse) ProtoMessage

func (*MsgFeedMultipleExternalLiquidityResponse) ProtoReflect

func (*MsgFeedMultipleExternalLiquidityResponse) Reset

func (*MsgFeedMultipleExternalLiquidityResponse) String

type MsgJoinPool

type MsgJoinPool struct {
	Sender         string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	PoolId         uint64          `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	MaxAmountsIn   []*v1beta1.Coin `protobuf:"bytes,3,rep,name=max_amounts_in,json=maxAmountsIn,proto3" json:"max_amounts_in,omitempty"`
	ShareAmountOut string          `protobuf:"bytes,4,opt,name=share_amount_out,json=shareAmountOut,proto3" json:"share_amount_out,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgJoinPool) Descriptor deprecated

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

Deprecated: Use MsgJoinPool.ProtoReflect.Descriptor instead.

func (*MsgJoinPool) GetMaxAmountsIn

func (x *MsgJoinPool) GetMaxAmountsIn() []*v1beta1.Coin

func (*MsgJoinPool) GetPoolId

func (x *MsgJoinPool) GetPoolId() uint64

func (*MsgJoinPool) GetSender

func (x *MsgJoinPool) GetSender() string

func (*MsgJoinPool) GetShareAmountOut

func (x *MsgJoinPool) GetShareAmountOut() string

func (*MsgJoinPool) ProtoMessage

func (*MsgJoinPool) ProtoMessage()

func (*MsgJoinPool) ProtoReflect

func (x *MsgJoinPool) ProtoReflect() protoreflect.Message

func (*MsgJoinPool) Reset

func (x *MsgJoinPool) Reset()

func (*MsgJoinPool) String

func (x *MsgJoinPool) String() string

type MsgJoinPoolResponse

type MsgJoinPoolResponse struct {
	ShareAmountOut string          `protobuf:"bytes,1,opt,name=share_amount_out,json=shareAmountOut,proto3" json:"share_amount_out,omitempty"`
	TokenIn        []*v1beta1.Coin `protobuf:"bytes,2,rep,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgJoinPoolResponse) Descriptor deprecated

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

Deprecated: Use MsgJoinPoolResponse.ProtoReflect.Descriptor instead.

func (*MsgJoinPoolResponse) GetShareAmountOut

func (x *MsgJoinPoolResponse) GetShareAmountOut() string

func (*MsgJoinPoolResponse) GetTokenIn

func (x *MsgJoinPoolResponse) GetTokenIn() []*v1beta1.Coin

func (*MsgJoinPoolResponse) ProtoMessage

func (*MsgJoinPoolResponse) ProtoMessage()

func (*MsgJoinPoolResponse) ProtoReflect

func (x *MsgJoinPoolResponse) ProtoReflect() protoreflect.Message

func (*MsgJoinPoolResponse) Reset

func (x *MsgJoinPoolResponse) Reset()

func (*MsgJoinPoolResponse) String

func (x *MsgJoinPoolResponse) String() string

type MsgServer

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSwapByDenom

type MsgSwapByDenom struct {
	Sender    string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Amount    *v1beta1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	MinAmount *v1beta1.Coin `protobuf:"bytes,3,opt,name=min_amount,json=minAmount,proto3" json:"min_amount,omitempty"`
	MaxAmount *v1beta1.Coin `protobuf:"bytes,4,opt,name=max_amount,json=maxAmount,proto3" json:"max_amount,omitempty"`
	DenomIn   string        `protobuf:"bytes,5,opt,name=denom_in,json=denomIn,proto3" json:"denom_in,omitempty"`
	DenomOut  string        `protobuf:"bytes,6,opt,name=denom_out,json=denomOut,proto3" json:"denom_out,omitempty"`
	Recipient string        `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSwapByDenom) Descriptor deprecated

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

Deprecated: Use MsgSwapByDenom.ProtoReflect.Descriptor instead.

func (*MsgSwapByDenom) GetAmount

func (x *MsgSwapByDenom) GetAmount() *v1beta1.Coin

func (*MsgSwapByDenom) GetDenomIn

func (x *MsgSwapByDenom) GetDenomIn() string

func (*MsgSwapByDenom) GetDenomOut

func (x *MsgSwapByDenom) GetDenomOut() string

func (*MsgSwapByDenom) GetMaxAmount

func (x *MsgSwapByDenom) GetMaxAmount() *v1beta1.Coin

func (*MsgSwapByDenom) GetMinAmount

func (x *MsgSwapByDenom) GetMinAmount() *v1beta1.Coin

func (*MsgSwapByDenom) GetRecipient

func (x *MsgSwapByDenom) GetRecipient() string

func (*MsgSwapByDenom) GetSender

func (x *MsgSwapByDenom) GetSender() string

func (*MsgSwapByDenom) ProtoMessage

func (*MsgSwapByDenom) ProtoMessage()

func (*MsgSwapByDenom) ProtoReflect

func (x *MsgSwapByDenom) ProtoReflect() protoreflect.Message

func (*MsgSwapByDenom) Reset

func (x *MsgSwapByDenom) Reset()

func (*MsgSwapByDenom) String

func (x *MsgSwapByDenom) String() string

type MsgSwapByDenomResponse

type MsgSwapByDenomResponse struct {
	Amount    *v1beta1.Coin         `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	InRoute   []*SwapAmountInRoute  `protobuf:"bytes,2,rep,name=in_route,json=inRoute,proto3" json:"in_route,omitempty"`
	OutRoute  []*SwapAmountOutRoute `protobuf:"bytes,3,rep,name=out_route,json=outRoute,proto3" json:"out_route,omitempty"`
	SpotPrice string                `protobuf:"bytes,4,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty"`
	SwapFee   string                `protobuf:"bytes,5,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	Discount  string                `protobuf:"bytes,6,opt,name=discount,proto3" json:"discount,omitempty"`
	Recipient string                `protobuf:"bytes,7,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSwapByDenomResponse) Descriptor deprecated

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

Deprecated: Use MsgSwapByDenomResponse.ProtoReflect.Descriptor instead.

func (*MsgSwapByDenomResponse) GetAmount

func (x *MsgSwapByDenomResponse) GetAmount() *v1beta1.Coin

func (*MsgSwapByDenomResponse) GetDiscount

func (x *MsgSwapByDenomResponse) GetDiscount() string

func (*MsgSwapByDenomResponse) GetInRoute

func (x *MsgSwapByDenomResponse) GetInRoute() []*SwapAmountInRoute

func (*MsgSwapByDenomResponse) GetOutRoute

func (x *MsgSwapByDenomResponse) GetOutRoute() []*SwapAmountOutRoute

func (*MsgSwapByDenomResponse) GetRecipient

func (x *MsgSwapByDenomResponse) GetRecipient() string

func (*MsgSwapByDenomResponse) GetSpotPrice

func (x *MsgSwapByDenomResponse) GetSpotPrice() string

func (*MsgSwapByDenomResponse) GetSwapFee

func (x *MsgSwapByDenomResponse) GetSwapFee() string

func (*MsgSwapByDenomResponse) ProtoMessage

func (*MsgSwapByDenomResponse) ProtoMessage()

func (*MsgSwapByDenomResponse) ProtoReflect

func (x *MsgSwapByDenomResponse) ProtoReflect() protoreflect.Message

func (*MsgSwapByDenomResponse) Reset

func (x *MsgSwapByDenomResponse) Reset()

func (*MsgSwapByDenomResponse) String

func (x *MsgSwapByDenomResponse) String() string

type MsgSwapExactAmountIn

type MsgSwapExactAmountIn struct {
	Sender            string               `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Routes            []*SwapAmountInRoute `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	TokenIn           *v1beta1.Coin        `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	TokenOutMinAmount string               `protobuf:"bytes,4,opt,name=token_out_min_amount,json=tokenOutMinAmount,proto3" json:"token_out_min_amount,omitempty"`
	Recipient         string               `protobuf:"bytes,5,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSwapExactAmountIn) Descriptor deprecated

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

Deprecated: Use MsgSwapExactAmountIn.ProtoReflect.Descriptor instead.

func (*MsgSwapExactAmountIn) GetRecipient

func (x *MsgSwapExactAmountIn) GetRecipient() string

func (*MsgSwapExactAmountIn) GetRoutes

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

func (*MsgSwapExactAmountIn) GetSender

func (x *MsgSwapExactAmountIn) GetSender() string

func (*MsgSwapExactAmountIn) GetTokenIn

func (x *MsgSwapExactAmountIn) GetTokenIn() *v1beta1.Coin

func (*MsgSwapExactAmountIn) GetTokenOutMinAmount

func (x *MsgSwapExactAmountIn) GetTokenOutMinAmount() string

func (*MsgSwapExactAmountIn) ProtoMessage

func (*MsgSwapExactAmountIn) ProtoMessage()

func (*MsgSwapExactAmountIn) ProtoReflect

func (x *MsgSwapExactAmountIn) ProtoReflect() protoreflect.Message

func (*MsgSwapExactAmountIn) Reset

func (x *MsgSwapExactAmountIn) Reset()

func (*MsgSwapExactAmountIn) String

func (x *MsgSwapExactAmountIn) String() string

type MsgSwapExactAmountInResponse

type MsgSwapExactAmountInResponse struct {
	TokenOutAmount string `protobuf:"bytes,1,opt,name=token_out_amount,json=tokenOutAmount,proto3" json:"token_out_amount,omitempty"`
	SwapFee        string `protobuf:"bytes,2,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	Discount       string `protobuf:"bytes,3,opt,name=discount,proto3" json:"discount,omitempty"`
	Recipient      string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSwapExactAmountInResponse) Descriptor deprecated

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

Deprecated: Use MsgSwapExactAmountInResponse.ProtoReflect.Descriptor instead.

func (*MsgSwapExactAmountInResponse) GetDiscount

func (x *MsgSwapExactAmountInResponse) GetDiscount() string

func (*MsgSwapExactAmountInResponse) GetRecipient

func (x *MsgSwapExactAmountInResponse) GetRecipient() string

func (*MsgSwapExactAmountInResponse) GetSwapFee

func (x *MsgSwapExactAmountInResponse) GetSwapFee() string

func (*MsgSwapExactAmountInResponse) GetTokenOutAmount

func (x *MsgSwapExactAmountInResponse) GetTokenOutAmount() string

func (*MsgSwapExactAmountInResponse) ProtoMessage

func (*MsgSwapExactAmountInResponse) ProtoMessage()

func (*MsgSwapExactAmountInResponse) ProtoReflect

func (*MsgSwapExactAmountInResponse) Reset

func (x *MsgSwapExactAmountInResponse) Reset()

func (*MsgSwapExactAmountInResponse) String

type MsgSwapExactAmountOut

type MsgSwapExactAmountOut struct {
	Sender           string                `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Routes           []*SwapAmountOutRoute `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	TokenOut         *v1beta1.Coin         `protobuf:"bytes,3,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
	TokenInMaxAmount string                `protobuf:"bytes,4,opt,name=token_in_max_amount,json=tokenInMaxAmount,proto3" json:"token_in_max_amount,omitempty"`
	Recipient        string                `protobuf:"bytes,5,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSwapExactAmountOut) Descriptor deprecated

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

Deprecated: Use MsgSwapExactAmountOut.ProtoReflect.Descriptor instead.

func (*MsgSwapExactAmountOut) GetRecipient

func (x *MsgSwapExactAmountOut) GetRecipient() string

func (*MsgSwapExactAmountOut) GetRoutes

func (x *MsgSwapExactAmountOut) GetRoutes() []*SwapAmountOutRoute

func (*MsgSwapExactAmountOut) GetSender

func (x *MsgSwapExactAmountOut) GetSender() string

func (*MsgSwapExactAmountOut) GetTokenInMaxAmount

func (x *MsgSwapExactAmountOut) GetTokenInMaxAmount() string

func (*MsgSwapExactAmountOut) GetTokenOut

func (x *MsgSwapExactAmountOut) GetTokenOut() *v1beta1.Coin

func (*MsgSwapExactAmountOut) ProtoMessage

func (*MsgSwapExactAmountOut) ProtoMessage()

func (*MsgSwapExactAmountOut) ProtoReflect

func (x *MsgSwapExactAmountOut) ProtoReflect() protoreflect.Message

func (*MsgSwapExactAmountOut) Reset

func (x *MsgSwapExactAmountOut) Reset()

func (*MsgSwapExactAmountOut) String

func (x *MsgSwapExactAmountOut) String() string

type MsgSwapExactAmountOutResponse

type MsgSwapExactAmountOutResponse struct {
	TokenInAmount string `protobuf:"bytes,1,opt,name=token_in_amount,json=tokenInAmount,proto3" json:"token_in_amount,omitempty"`
	SwapFee       string `protobuf:"bytes,2,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	Discount      string `protobuf:"bytes,3,opt,name=discount,proto3" json:"discount,omitempty"`
	Recipient     string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSwapExactAmountOutResponse) Descriptor deprecated

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

Deprecated: Use MsgSwapExactAmountOutResponse.ProtoReflect.Descriptor instead.

func (*MsgSwapExactAmountOutResponse) GetDiscount

func (x *MsgSwapExactAmountOutResponse) GetDiscount() string

func (*MsgSwapExactAmountOutResponse) GetRecipient

func (x *MsgSwapExactAmountOutResponse) GetRecipient() string

func (*MsgSwapExactAmountOutResponse) GetSwapFee

func (x *MsgSwapExactAmountOutResponse) GetSwapFee() string

func (*MsgSwapExactAmountOutResponse) GetTokenInAmount

func (x *MsgSwapExactAmountOutResponse) GetTokenInAmount() string

func (*MsgSwapExactAmountOutResponse) ProtoMessage

func (*MsgSwapExactAmountOutResponse) ProtoMessage()

func (*MsgSwapExactAmountOutResponse) ProtoReflect

func (*MsgSwapExactAmountOutResponse) Reset

func (x *MsgSwapExactAmountOutResponse) Reset()

func (*MsgSwapExactAmountOutResponse) String

type MsgUpdateParams

type MsgUpdateParams struct {
	Authority string  `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdatePoolParams

type MsgUpdatePoolParams struct {
	Authority  string      `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	PoolId     uint64      `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolParams *PoolParams `protobuf:"bytes,3,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdatePoolParams) Descriptor deprecated

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

Deprecated: Use MsgUpdatePoolParams.ProtoReflect.Descriptor instead.

func (*MsgUpdatePoolParams) GetAuthority

func (x *MsgUpdatePoolParams) GetAuthority() string

func (*MsgUpdatePoolParams) GetPoolId

func (x *MsgUpdatePoolParams) GetPoolId() uint64

func (*MsgUpdatePoolParams) GetPoolParams

func (x *MsgUpdatePoolParams) GetPoolParams() *PoolParams

func (*MsgUpdatePoolParams) ProtoMessage

func (*MsgUpdatePoolParams) ProtoMessage()

func (*MsgUpdatePoolParams) ProtoReflect

func (x *MsgUpdatePoolParams) ProtoReflect() protoreflect.Message

func (*MsgUpdatePoolParams) Reset

func (x *MsgUpdatePoolParams) Reset()

func (*MsgUpdatePoolParams) String

func (x *MsgUpdatePoolParams) String() string

type MsgUpdatePoolParamsResponse

type MsgUpdatePoolParamsResponse struct {
	PoolId     uint64      `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolParams *PoolParams `protobuf:"bytes,2,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdatePoolParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdatePoolParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdatePoolParamsResponse) GetPoolId

func (x *MsgUpdatePoolParamsResponse) GetPoolId() uint64

func (*MsgUpdatePoolParamsResponse) GetPoolParams

func (x *MsgUpdatePoolParamsResponse) GetPoolParams() *PoolParams

func (*MsgUpdatePoolParamsResponse) ProtoMessage

func (*MsgUpdatePoolParamsResponse) ProtoMessage()

func (*MsgUpdatePoolParamsResponse) ProtoReflect

func (*MsgUpdatePoolParamsResponse) Reset

func (x *MsgUpdatePoolParamsResponse) Reset()

func (*MsgUpdatePoolParamsResponse) String

func (x *MsgUpdatePoolParamsResponse) String() string

type OraclePoolSlippageTrack

type OraclePoolSlippageTrack struct {
	PoolId    uint64          `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Timestamp uint64          `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Tracked   []*v1beta1.Coin `protobuf:"bytes,3,rep,name=tracked,proto3" json:"tracked,omitempty"`
	// contains filtered or unexported fields
}

func (*OraclePoolSlippageTrack) Descriptor deprecated

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

Deprecated: Use OraclePoolSlippageTrack.ProtoReflect.Descriptor instead.

func (*OraclePoolSlippageTrack) GetPoolId

func (x *OraclePoolSlippageTrack) GetPoolId() uint64

func (*OraclePoolSlippageTrack) GetTimestamp

func (x *OraclePoolSlippageTrack) GetTimestamp() uint64

func (*OraclePoolSlippageTrack) GetTracked

func (x *OraclePoolSlippageTrack) GetTracked() []*v1beta1.Coin

func (*OraclePoolSlippageTrack) ProtoMessage

func (*OraclePoolSlippageTrack) ProtoMessage()

func (*OraclePoolSlippageTrack) ProtoReflect

func (x *OraclePoolSlippageTrack) ProtoReflect() protoreflect.Message

func (*OraclePoolSlippageTrack) Reset

func (x *OraclePoolSlippageTrack) Reset()

func (*OraclePoolSlippageTrack) String

func (x *OraclePoolSlippageTrack) String() string

type Params

type Params struct {
	PoolCreationFee       string `protobuf:"bytes,1,opt,name=pool_creation_fee,json=poolCreationFee,proto3" json:"pool_creation_fee,omitempty"`
	SlippageTrackDuration uint64 `` // default 1 week: 604,800
	/* 127-byte string literal not displayed */
	BaseAssets                       []string `protobuf:"bytes,3,rep,name=base_assets,json=baseAssets,proto3" json:"base_assets,omitempty"`
	WeightBreakingFeeExponent        string   `` /* 140-byte string literal not displayed */
	WeightBreakingFeeMultiplier      string   `` /* 146-byte string literal not displayed */
	WeightBreakingFeePortion         string   `` /* 137-byte string literal not displayed */
	WeightRecoveryFeePortion         string   `` /* 137-byte string literal not displayed */
	ThresholdWeightDifference        string   `` /* 138-byte string literal not displayed */
	AllowedPoolCreators              []string `protobuf:"bytes,9,rep,name=allowed_pool_creators,json=allowedPoolCreators,proto3" json:"allowed_pool_creators,omitempty"`
	ThresholdWeightDifferenceSwapFee string   `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAllowedPoolCreators

func (x *Params) GetAllowedPoolCreators() []string

func (*Params) GetBaseAssets

func (x *Params) GetBaseAssets() []string

func (*Params) GetPoolCreationFee

func (x *Params) GetPoolCreationFee() string

func (*Params) GetSlippageTrackDuration

func (x *Params) GetSlippageTrackDuration() uint64

func (*Params) GetThresholdWeightDifference

func (x *Params) GetThresholdWeightDifference() string

func (*Params) GetThresholdWeightDifferenceSwapFee added in v1.6.0

func (x *Params) GetThresholdWeightDifferenceSwapFee() string

func (*Params) GetWeightBreakingFeeExponent

func (x *Params) GetWeightBreakingFeeExponent() string

func (*Params) GetWeightBreakingFeeMultiplier

func (x *Params) GetWeightBreakingFeeMultiplier() string

func (*Params) GetWeightBreakingFeePortion

func (x *Params) GetWeightBreakingFeePortion() string

func (*Params) GetWeightRecoveryFeePortion

func (x *Params) GetWeightRecoveryFeePortion() string

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type Pool

type Pool struct {
	PoolId            uint64        `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Address           string        `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PoolParams        *PoolParams   `protobuf:"bytes,3,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	TotalShares       *v1beta1.Coin `protobuf:"bytes,4,opt,name=total_shares,json=totalShares,proto3" json:"total_shares,omitempty"`
	PoolAssets        []*PoolAsset  `protobuf:"bytes,5,rep,name=pool_assets,json=poolAssets,proto3" json:"pool_assets,omitempty"`
	TotalWeight       string        `protobuf:"bytes,6,opt,name=total_weight,json=totalWeight,proto3" json:"total_weight,omitempty"`
	RebalanceTreasury string        `protobuf:"bytes,7,opt,name=rebalance_treasury,json=rebalanceTreasury,proto3" json:"rebalance_treasury,omitempty"`
	// contains filtered or unexported fields
}

func (*Pool) Descriptor deprecated

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

Deprecated: Use Pool.ProtoReflect.Descriptor instead.

func (*Pool) GetAddress

func (x *Pool) GetAddress() string

func (*Pool) GetPoolAssets

func (x *Pool) GetPoolAssets() []*PoolAsset

func (*Pool) GetPoolId

func (x *Pool) GetPoolId() uint64

func (*Pool) GetPoolParams

func (x *Pool) GetPoolParams() *PoolParams

func (*Pool) GetRebalanceTreasury

func (x *Pool) GetRebalanceTreasury() string

func (*Pool) GetTotalShares

func (x *Pool) GetTotalShares() *v1beta1.Coin

func (*Pool) GetTotalWeight

func (x *Pool) GetTotalWeight() string

func (*Pool) ProtoMessage

func (*Pool) ProtoMessage()

func (*Pool) ProtoReflect

func (x *Pool) ProtoReflect() protoreflect.Message

func (*Pool) Reset

func (x *Pool) Reset()

func (*Pool) String

func (x *Pool) String() string

type PoolAsset

type PoolAsset struct {
	Token                  *v1beta1.Coin `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Weight                 string        `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
	ExternalLiquidityRatio string        `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PoolAsset) Descriptor deprecated

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

Deprecated: Use PoolAsset.ProtoReflect.Descriptor instead.

func (*PoolAsset) GetExternalLiquidityRatio

func (x *PoolAsset) GetExternalLiquidityRatio() string

func (*PoolAsset) GetToken

func (x *PoolAsset) GetToken() *v1beta1.Coin

func (*PoolAsset) GetWeight

func (x *PoolAsset) GetWeight() string

func (*PoolAsset) ProtoMessage

func (*PoolAsset) ProtoMessage()

func (*PoolAsset) ProtoReflect

func (x *PoolAsset) ProtoReflect() protoreflect.Message

func (*PoolAsset) Reset

func (x *PoolAsset) Reset()

func (*PoolAsset) String

func (x *PoolAsset) String() string

type PoolExtraInfo

type PoolExtraInfo struct {
	Tvl          string `protobuf:"bytes,1,opt,name=tvl,proto3" json:"tvl,omitempty"`
	LpTokenPrice string `protobuf:"bytes,2,opt,name=lp_token_price,json=lpTokenPrice,proto3" json:"lp_token_price,omitempty"`
	LpSavedApr   string `protobuf:"bytes,3,opt,name=lp_saved_apr,json=lpSavedApr,proto3" json:"lp_saved_apr,omitempty"`
	// contains filtered or unexported fields
}

func (*PoolExtraInfo) Descriptor deprecated

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

Deprecated: Use PoolExtraInfo.ProtoReflect.Descriptor instead.

func (*PoolExtraInfo) GetLpSavedApr added in v0.55.0

func (x *PoolExtraInfo) GetLpSavedApr() string

func (*PoolExtraInfo) GetLpTokenPrice

func (x *PoolExtraInfo) GetLpTokenPrice() string

func (*PoolExtraInfo) GetTvl

func (x *PoolExtraInfo) GetTvl() string

func (*PoolExtraInfo) ProtoMessage

func (*PoolExtraInfo) ProtoMessage()

func (*PoolExtraInfo) ProtoReflect

func (x *PoolExtraInfo) ProtoReflect() protoreflect.Message

func (*PoolExtraInfo) Reset

func (x *PoolExtraInfo) Reset()

func (*PoolExtraInfo) String

func (x *PoolExtraInfo) String() string

type PoolParams

type PoolParams struct {
	SwapFee   string `protobuf:"bytes,1,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	UseOracle bool   `protobuf:"varint,2,opt,name=use_oracle,json=useOracle,proto3" json:"use_oracle,omitempty"`
	FeeDenom  string `protobuf:"bytes,3,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` // denom for fee collection
	// contains filtered or unexported fields
}

func (*PoolParams) Descriptor deprecated

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

Deprecated: Use PoolParams.ProtoReflect.Descriptor instead.

func (*PoolParams) GetFeeDenom

func (x *PoolParams) GetFeeDenom() string

func (*PoolParams) GetSwapFee

func (x *PoolParams) GetSwapFee() string

func (*PoolParams) GetUseOracle

func (x *PoolParams) GetUseOracle() bool

func (*PoolParams) ProtoMessage

func (*PoolParams) ProtoMessage()

func (*PoolParams) ProtoReflect

func (x *PoolParams) ProtoReflect() protoreflect.Message

func (*PoolParams) Reset

func (x *PoolParams) Reset()

func (*PoolParams) String

func (x *PoolParams) String() string

type ProposalCreateBalancerPool

type ProposalCreateBalancerPool struct {
	Title       string       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	PoolParams  *PoolParams  `protobuf:"bytes,3,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	PoolAssets  []*PoolAsset `protobuf:"bytes,4,rep,name=pool_assets,json=poolAssets,proto3" json:"pool_assets,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalCreateBalancerPool) Descriptor deprecated

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

Deprecated: Use ProposalCreateBalancerPool.ProtoReflect.Descriptor instead.

func (*ProposalCreateBalancerPool) GetDescription

func (x *ProposalCreateBalancerPool) GetDescription() string

func (*ProposalCreateBalancerPool) GetPoolAssets

func (x *ProposalCreateBalancerPool) GetPoolAssets() []*PoolAsset

func (*ProposalCreateBalancerPool) GetPoolParams

func (x *ProposalCreateBalancerPool) GetPoolParams() *PoolParams

func (*ProposalCreateBalancerPool) GetTitle

func (x *ProposalCreateBalancerPool) GetTitle() string

func (*ProposalCreateBalancerPool) ProtoMessage

func (*ProposalCreateBalancerPool) ProtoMessage()

func (*ProposalCreateBalancerPool) ProtoReflect

func (*ProposalCreateBalancerPool) Reset

func (x *ProposalCreateBalancerPool) Reset()

func (*ProposalCreateBalancerPool) String

func (x *ProposalCreateBalancerPool) String() string

type ProposalUpdatePoolParams

type ProposalUpdatePoolParams struct {
	Title       string      `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string      `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	PoolId      uint64      `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	PoolParams  *PoolParams `protobuf:"bytes,4,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalUpdatePoolParams) Descriptor deprecated

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

Deprecated: Use ProposalUpdatePoolParams.ProtoReflect.Descriptor instead.

func (*ProposalUpdatePoolParams) GetDescription

func (x *ProposalUpdatePoolParams) GetDescription() string

func (*ProposalUpdatePoolParams) GetPoolId

func (x *ProposalUpdatePoolParams) GetPoolId() uint64

func (*ProposalUpdatePoolParams) GetPoolParams

func (x *ProposalUpdatePoolParams) GetPoolParams() *PoolParams

func (*ProposalUpdatePoolParams) GetTitle

func (x *ProposalUpdatePoolParams) GetTitle() string

func (*ProposalUpdatePoolParams) ProtoMessage

func (*ProposalUpdatePoolParams) ProtoMessage()

func (*ProposalUpdatePoolParams) ProtoReflect

func (x *ProposalUpdatePoolParams) ProtoReflect() protoreflect.Message

func (*ProposalUpdatePoolParams) Reset

func (x *ProposalUpdatePoolParams) Reset()

func (*ProposalUpdatePoolParams) String

func (x *ProposalUpdatePoolParams) String() string

type QueryAMMPriceRequest

type QueryAMMPriceRequest struct {
	TokenIn  *v1beta11.Coin `protobuf:"bytes,1,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	Discount string         `protobuf:"bytes,2,opt,name=discount,proto3" json:"discount,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAMMPriceRequest) Descriptor deprecated

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

Deprecated: Use QueryAMMPriceRequest.ProtoReflect.Descriptor instead.

func (*QueryAMMPriceRequest) GetDiscount

func (x *QueryAMMPriceRequest) GetDiscount() string

func (*QueryAMMPriceRequest) GetTokenIn

func (x *QueryAMMPriceRequest) GetTokenIn() *v1beta11.Coin

func (*QueryAMMPriceRequest) ProtoMessage

func (*QueryAMMPriceRequest) ProtoMessage()

func (*QueryAMMPriceRequest) ProtoReflect

func (x *QueryAMMPriceRequest) ProtoReflect() protoreflect.Message

func (*QueryAMMPriceRequest) Reset

func (x *QueryAMMPriceRequest) Reset()

func (*QueryAMMPriceRequest) String

func (x *QueryAMMPriceRequest) String() string

type QueryAllDenomLiquidityRequest

type QueryAllDenomLiquidityRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllDenomLiquidityRequest) Descriptor deprecated

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

Deprecated: Use QueryAllDenomLiquidityRequest.ProtoReflect.Descriptor instead.

func (*QueryAllDenomLiquidityRequest) GetPagination

func (*QueryAllDenomLiquidityRequest) ProtoMessage

func (*QueryAllDenomLiquidityRequest) ProtoMessage()

func (*QueryAllDenomLiquidityRequest) ProtoReflect

func (*QueryAllDenomLiquidityRequest) Reset

func (x *QueryAllDenomLiquidityRequest) Reset()

func (*QueryAllDenomLiquidityRequest) String

type QueryAllDenomLiquidityResponse

type QueryAllDenomLiquidityResponse struct {
	DenomLiquidity []*DenomLiquidity     `protobuf:"bytes,1,rep,name=denom_liquidity,json=denomLiquidity,proto3" json:"denom_liquidity,omitempty"`
	Pagination     *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllDenomLiquidityResponse) Descriptor deprecated

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

Deprecated: Use QueryAllDenomLiquidityResponse.ProtoReflect.Descriptor instead.

func (*QueryAllDenomLiquidityResponse) GetDenomLiquidity

func (x *QueryAllDenomLiquidityResponse) GetDenomLiquidity() []*DenomLiquidity

func (*QueryAllDenomLiquidityResponse) GetPagination

func (*QueryAllDenomLiquidityResponse) ProtoMessage

func (*QueryAllDenomLiquidityResponse) ProtoMessage()

func (*QueryAllDenomLiquidityResponse) ProtoReflect

func (*QueryAllDenomLiquidityResponse) Reset

func (x *QueryAllDenomLiquidityResponse) Reset()

func (*QueryAllDenomLiquidityResponse) String

type QueryAllPoolRequest

type QueryAllPoolRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPoolRequest) Descriptor deprecated

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

Deprecated: Use QueryAllPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryAllPoolRequest) GetPagination

func (x *QueryAllPoolRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllPoolRequest) ProtoMessage

func (*QueryAllPoolRequest) ProtoMessage()

func (*QueryAllPoolRequest) ProtoReflect

func (x *QueryAllPoolRequest) ProtoReflect() protoreflect.Message

func (*QueryAllPoolRequest) Reset

func (x *QueryAllPoolRequest) Reset()

func (*QueryAllPoolRequest) String

func (x *QueryAllPoolRequest) String() string

type QueryAllPoolResponse

type QueryAllPoolResponse struct {
	Pool       []*Pool               `protobuf:"bytes,1,rep,name=pool,proto3" json:"pool,omitempty"`
	ExtraInfos []*PoolExtraInfo      `protobuf:"bytes,2,rep,name=extra_infos,json=extraInfos,proto3" json:"extra_infos,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllPoolResponse) Descriptor deprecated

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

Deprecated: Use QueryAllPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryAllPoolResponse) GetExtraInfos

func (x *QueryAllPoolResponse) GetExtraInfos() []*PoolExtraInfo

func (*QueryAllPoolResponse) GetPagination

func (x *QueryAllPoolResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllPoolResponse) GetPool

func (x *QueryAllPoolResponse) GetPool() []*Pool

func (*QueryAllPoolResponse) ProtoMessage

func (*QueryAllPoolResponse) ProtoMessage()

func (*QueryAllPoolResponse) ProtoReflect

func (x *QueryAllPoolResponse) ProtoReflect() protoreflect.Message

func (*QueryAllPoolResponse) Reset

func (x *QueryAllPoolResponse) Reset()

func (*QueryAllPoolResponse) String

func (x *QueryAllPoolResponse) String() string

type QueryBalanceRequest

type QueryBalanceRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Denom   string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBalanceRequest) Descriptor deprecated

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

Deprecated: Use QueryBalanceRequest.ProtoReflect.Descriptor instead.

func (*QueryBalanceRequest) GetAddress

func (x *QueryBalanceRequest) GetAddress() string

func (*QueryBalanceRequest) GetDenom

func (x *QueryBalanceRequest) GetDenom() string

func (*QueryBalanceRequest) ProtoMessage

func (*QueryBalanceRequest) ProtoMessage()

func (*QueryBalanceRequest) ProtoReflect

func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message

func (*QueryBalanceRequest) Reset

func (x *QueryBalanceRequest) Reset()

func (*QueryBalanceRequest) String

func (x *QueryBalanceRequest) String() string

type QueryBalanceResponse

type QueryBalanceResponse struct {
	Balance *v1beta11.Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBalanceResponse) Descriptor deprecated

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

Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead.

func (*QueryBalanceResponse) GetBalance

func (x *QueryBalanceResponse) GetBalance() *v1beta11.Coin

func (*QueryBalanceResponse) ProtoMessage

func (*QueryBalanceResponse) ProtoMessage()

func (*QueryBalanceResponse) ProtoReflect

func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message

func (*QueryBalanceResponse) Reset

func (x *QueryBalanceResponse) Reset()

func (*QueryBalanceResponse) String

func (x *QueryBalanceResponse) String() string

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 list of Pool items.
	Pool(ctx context.Context, in *QueryGetPoolRequest, opts ...grpc.CallOption) (*QueryGetPoolResponse, error)
	PoolAll(ctx context.Context, in *QueryAllPoolRequest, opts ...grpc.CallOption) (*QueryAllPoolResponse, error)
	// Queries a list of DenomLiquidity items.
	DenomLiquidity(ctx context.Context, in *QueryGetDenomLiquidityRequest, opts ...grpc.CallOption) (*QueryGetDenomLiquidityResponse, error)
	DenomLiquidityAll(ctx context.Context, in *QueryAllDenomLiquidityRequest, opts ...grpc.CallOption) (*QueryAllDenomLiquidityResponse, error)
	// Queries a list of SwapEstimation items.
	SwapEstimation(ctx context.Context, in *QuerySwapEstimationRequest, opts ...grpc.CallOption) (*QuerySwapEstimationResponse, error)
	// Queries JoinPool estimation
	JoinPoolEstimation(ctx context.Context, in *QueryJoinPoolEstimationRequest, opts ...grpc.CallOption) (*QueryJoinPoolEstimationResponse, error)
	// Queries ExistPool estimation
	ExitPoolEstimation(ctx context.Context, in *QueryExitPoolEstimationRequest, opts ...grpc.CallOption) (*QueryExitPoolEstimationResponse, error)
	// Queries slippage track for a week.
	SlippageTrack(ctx context.Context, in *QuerySlippageTrackRequest, opts ...grpc.CallOption) (*QuerySlippageTrackResponse, error)
	// Queries all slippage tracks for a week.
	SlippageTrackAll(ctx context.Context, in *QuerySlippageTrackAllRequest, opts ...grpc.CallOption) (*QuerySlippageTrackAllResponse, error)
	// Queries a list of Balance items.
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// Queries a list of InRouteByDenom items.
	InRouteByDenom(ctx context.Context, in *QueryInRouteByDenomRequest, opts ...grpc.CallOption) (*QueryInRouteByDenomResponse, error)
	// Queries a list of OutRouteByDenom items.
	OutRouteByDenom(ctx context.Context, in *QueryOutRouteByDenomRequest, opts ...grpc.CallOption) (*QueryOutRouteByDenomResponse, error)
	// Queries a list of SwapEstimationByDenom items.
	SwapEstimationByDenom(ctx context.Context, in *QuerySwapEstimationByDenomRequest, opts ...grpc.CallOption) (*QuerySwapEstimationByDenomResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryEarnPoolRequest

type QueryEarnPoolRequest struct {
	PoolIds    []uint64             `protobuf:"varint,1,rep,packed,name=pool_ids,json=poolIds,proto3" json:"pool_ids,omitempty"`
	FilterType FilterType           `protobuf:"varint,2,opt,name=filter_type,json=filterType,proto3,enum=elys.amm.FilterType" json:"filter_type,omitempty"`
	Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEarnPoolRequest) Descriptor deprecated

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

Deprecated: Use QueryEarnPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryEarnPoolRequest) GetFilterType

func (x *QueryEarnPoolRequest) GetFilterType() FilterType

func (*QueryEarnPoolRequest) GetPagination

func (x *QueryEarnPoolRequest) GetPagination() *v1beta1.PageRequest

func (*QueryEarnPoolRequest) GetPoolIds

func (x *QueryEarnPoolRequest) GetPoolIds() []uint64

func (*QueryEarnPoolRequest) ProtoMessage

func (*QueryEarnPoolRequest) ProtoMessage()

func (*QueryEarnPoolRequest) ProtoReflect

func (x *QueryEarnPoolRequest) ProtoReflect() protoreflect.Message

func (*QueryEarnPoolRequest) Reset

func (x *QueryEarnPoolRequest) Reset()

func (*QueryEarnPoolRequest) String

func (x *QueryEarnPoolRequest) String() string

type QueryEarnPoolResponse

type QueryEarnPoolResponse struct {
	Pools []*EarnPool `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEarnPoolResponse) Descriptor deprecated

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

Deprecated: Use QueryEarnPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryEarnPoolResponse) GetPools

func (x *QueryEarnPoolResponse) GetPools() []*EarnPool

func (*QueryEarnPoolResponse) ProtoMessage

func (*QueryEarnPoolResponse) ProtoMessage()

func (*QueryEarnPoolResponse) ProtoReflect

func (x *QueryEarnPoolResponse) ProtoReflect() protoreflect.Message

func (*QueryEarnPoolResponse) Reset

func (x *QueryEarnPoolResponse) Reset()

func (*QueryEarnPoolResponse) String

func (x *QueryEarnPoolResponse) String() string

type QueryExitPoolEstimationRequest

type QueryExitPoolEstimationRequest struct {
	PoolId        uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	ShareAmountIn string `protobuf:"bytes,2,opt,name=share_amount_in,json=shareAmountIn,proto3" json:"share_amount_in,omitempty"`
	TokenOutDenom string `protobuf:"bytes,3,opt,name=token_out_denom,json=tokenOutDenom,proto3" json:"token_out_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryExitPoolEstimationRequest) Descriptor deprecated

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

Deprecated: Use QueryExitPoolEstimationRequest.ProtoReflect.Descriptor instead.

func (*QueryExitPoolEstimationRequest) GetPoolId

func (x *QueryExitPoolEstimationRequest) GetPoolId() uint64

func (*QueryExitPoolEstimationRequest) GetShareAmountIn

func (x *QueryExitPoolEstimationRequest) GetShareAmountIn() string

func (*QueryExitPoolEstimationRequest) GetTokenOutDenom

func (x *QueryExitPoolEstimationRequest) GetTokenOutDenom() string

func (*QueryExitPoolEstimationRequest) ProtoMessage

func (*QueryExitPoolEstimationRequest) ProtoMessage()

func (*QueryExitPoolEstimationRequest) ProtoReflect

func (*QueryExitPoolEstimationRequest) Reset

func (x *QueryExitPoolEstimationRequest) Reset()

func (*QueryExitPoolEstimationRequest) String

type QueryExitPoolEstimationResponse

type QueryExitPoolEstimationResponse struct {
	AmountsOut []*v1beta11.Coin `protobuf:"bytes,1,rep,name=amounts_out,json=amountsOut,proto3" json:"amounts_out,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryExitPoolEstimationResponse) Descriptor deprecated

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

Deprecated: Use QueryExitPoolEstimationResponse.ProtoReflect.Descriptor instead.

func (*QueryExitPoolEstimationResponse) GetAmountsOut

func (x *QueryExitPoolEstimationResponse) GetAmountsOut() []*v1beta11.Coin

func (*QueryExitPoolEstimationResponse) ProtoMessage

func (*QueryExitPoolEstimationResponse) ProtoMessage()

func (*QueryExitPoolEstimationResponse) ProtoReflect

func (*QueryExitPoolEstimationResponse) Reset

func (*QueryExitPoolEstimationResponse) String

type QueryGetDenomLiquidityRequest

type QueryGetDenomLiquidityRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetDenomLiquidityRequest) Descriptor deprecated

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

Deprecated: Use QueryGetDenomLiquidityRequest.ProtoReflect.Descriptor instead.

func (*QueryGetDenomLiquidityRequest) GetDenom

func (x *QueryGetDenomLiquidityRequest) GetDenom() string

func (*QueryGetDenomLiquidityRequest) ProtoMessage

func (*QueryGetDenomLiquidityRequest) ProtoMessage()

func (*QueryGetDenomLiquidityRequest) ProtoReflect

func (*QueryGetDenomLiquidityRequest) Reset

func (x *QueryGetDenomLiquidityRequest) Reset()

func (*QueryGetDenomLiquidityRequest) String

type QueryGetDenomLiquidityResponse

type QueryGetDenomLiquidityResponse struct {
	DenomLiquidity *DenomLiquidity `protobuf:"bytes,1,opt,name=denom_liquidity,json=denomLiquidity,proto3" json:"denom_liquidity,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetDenomLiquidityResponse) Descriptor deprecated

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

Deprecated: Use QueryGetDenomLiquidityResponse.ProtoReflect.Descriptor instead.

func (*QueryGetDenomLiquidityResponse) GetDenomLiquidity

func (x *QueryGetDenomLiquidityResponse) GetDenomLiquidity() *DenomLiquidity

func (*QueryGetDenomLiquidityResponse) ProtoMessage

func (*QueryGetDenomLiquidityResponse) ProtoMessage()

func (*QueryGetDenomLiquidityResponse) ProtoReflect

func (*QueryGetDenomLiquidityResponse) Reset

func (x *QueryGetDenomLiquidityResponse) Reset()

func (*QueryGetDenomLiquidityResponse) String

type QueryGetPoolRequest

type QueryGetPoolRequest struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPoolRequest) Descriptor deprecated

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

Deprecated: Use QueryGetPoolRequest.ProtoReflect.Descriptor instead.

func (*QueryGetPoolRequest) GetPoolId

func (x *QueryGetPoolRequest) GetPoolId() uint64

func (*QueryGetPoolRequest) ProtoMessage

func (*QueryGetPoolRequest) ProtoMessage()

func (*QueryGetPoolRequest) ProtoReflect

func (x *QueryGetPoolRequest) ProtoReflect() protoreflect.Message

func (*QueryGetPoolRequest) Reset

func (x *QueryGetPoolRequest) Reset()

func (*QueryGetPoolRequest) String

func (x *QueryGetPoolRequest) String() string

type QueryGetPoolResponse

type QueryGetPoolResponse struct {
	Pool      *Pool          `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
	ExtraInfo *PoolExtraInfo `protobuf:"bytes,2,opt,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetPoolResponse) Descriptor deprecated

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

Deprecated: Use QueryGetPoolResponse.ProtoReflect.Descriptor instead.

func (*QueryGetPoolResponse) GetExtraInfo

func (x *QueryGetPoolResponse) GetExtraInfo() *PoolExtraInfo

func (*QueryGetPoolResponse) GetPool

func (x *QueryGetPoolResponse) GetPool() *Pool

func (*QueryGetPoolResponse) ProtoMessage

func (*QueryGetPoolResponse) ProtoMessage()

func (*QueryGetPoolResponse) ProtoReflect

func (x *QueryGetPoolResponse) ProtoReflect() protoreflect.Message

func (*QueryGetPoolResponse) Reset

func (x *QueryGetPoolResponse) Reset()

func (*QueryGetPoolResponse) String

func (x *QueryGetPoolResponse) String() string

type QueryInRouteByDenomRequest

type QueryInRouteByDenomRequest struct {
	DenomIn  string `protobuf:"bytes,1,opt,name=denom_in,json=denomIn,proto3" json:"denom_in,omitempty"`
	DenomOut string `protobuf:"bytes,2,opt,name=denom_out,json=denomOut,proto3" json:"denom_out,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInRouteByDenomRequest) Descriptor deprecated

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

Deprecated: Use QueryInRouteByDenomRequest.ProtoReflect.Descriptor instead.

func (*QueryInRouteByDenomRequest) GetDenomIn

func (x *QueryInRouteByDenomRequest) GetDenomIn() string

func (*QueryInRouteByDenomRequest) GetDenomOut

func (x *QueryInRouteByDenomRequest) GetDenomOut() string

func (*QueryInRouteByDenomRequest) ProtoMessage

func (*QueryInRouteByDenomRequest) ProtoMessage()

func (*QueryInRouteByDenomRequest) ProtoReflect

func (*QueryInRouteByDenomRequest) Reset

func (x *QueryInRouteByDenomRequest) Reset()

func (*QueryInRouteByDenomRequest) String

func (x *QueryInRouteByDenomRequest) String() string

type QueryInRouteByDenomResponse

type QueryInRouteByDenomResponse struct {
	InRoute []*SwapAmountInRoute `protobuf:"bytes,1,rep,name=in_route,json=inRoute,proto3" json:"in_route,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInRouteByDenomResponse) Descriptor deprecated

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

Deprecated: Use QueryInRouteByDenomResponse.ProtoReflect.Descriptor instead.

func (*QueryInRouteByDenomResponse) GetInRoute

func (*QueryInRouteByDenomResponse) ProtoMessage

func (*QueryInRouteByDenomResponse) ProtoMessage()

func (*QueryInRouteByDenomResponse) ProtoReflect

func (*QueryInRouteByDenomResponse) Reset

func (x *QueryInRouteByDenomResponse) Reset()

func (*QueryInRouteByDenomResponse) String

func (x *QueryInRouteByDenomResponse) String() string

type QueryJoinPoolEstimationRequest

type QueryJoinPoolEstimationRequest struct {
	PoolId    uint64           `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	AmountsIn []*v1beta11.Coin `protobuf:"bytes,2,rep,name=amounts_in,json=amountsIn,proto3" json:"amounts_in,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryJoinPoolEstimationRequest) Descriptor deprecated

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

Deprecated: Use QueryJoinPoolEstimationRequest.ProtoReflect.Descriptor instead.

func (*QueryJoinPoolEstimationRequest) GetAmountsIn

func (x *QueryJoinPoolEstimationRequest) GetAmountsIn() []*v1beta11.Coin

func (*QueryJoinPoolEstimationRequest) GetPoolId

func (x *QueryJoinPoolEstimationRequest) GetPoolId() uint64

func (*QueryJoinPoolEstimationRequest) ProtoMessage

func (*QueryJoinPoolEstimationRequest) ProtoMessage()

func (*QueryJoinPoolEstimationRequest) ProtoReflect

func (*QueryJoinPoolEstimationRequest) Reset

func (x *QueryJoinPoolEstimationRequest) Reset()

func (*QueryJoinPoolEstimationRequest) String

type QueryJoinPoolEstimationResponse

type QueryJoinPoolEstimationResponse struct {
	ShareAmountOut     *v1beta11.Coin   `protobuf:"bytes,1,opt,name=share_amount_out,json=shareAmountOut,proto3" json:"share_amount_out,omitempty"`
	AmountsIn          []*v1beta11.Coin `protobuf:"bytes,2,rep,name=amounts_in,json=amountsIn,proto3" json:"amounts_in,omitempty"`
	Slippage           string           `protobuf:"bytes,3,opt,name=slippage,proto3" json:"slippage,omitempty"`
	WeightBalanceRatio string           `protobuf:"bytes,4,opt,name=weight_balance_ratio,json=weightBalanceRatio,proto3" json:"weight_balance_ratio,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryJoinPoolEstimationResponse) Descriptor deprecated

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

Deprecated: Use QueryJoinPoolEstimationResponse.ProtoReflect.Descriptor instead.

func (*QueryJoinPoolEstimationResponse) GetAmountsIn

func (x *QueryJoinPoolEstimationResponse) GetAmountsIn() []*v1beta11.Coin

func (*QueryJoinPoolEstimationResponse) GetShareAmountOut

func (x *QueryJoinPoolEstimationResponse) GetShareAmountOut() *v1beta11.Coin

func (*QueryJoinPoolEstimationResponse) GetSlippage

func (x *QueryJoinPoolEstimationResponse) GetSlippage() string

func (*QueryJoinPoolEstimationResponse) GetWeightBalanceRatio

func (x *QueryJoinPoolEstimationResponse) GetWeightBalanceRatio() string

func (*QueryJoinPoolEstimationResponse) ProtoMessage

func (*QueryJoinPoolEstimationResponse) ProtoMessage()

func (*QueryJoinPoolEstimationResponse) ProtoReflect

func (*QueryJoinPoolEstimationResponse) Reset

func (*QueryJoinPoolEstimationResponse) String

type QueryOutRouteByDenomRequest

type QueryOutRouteByDenomRequest struct {
	DenomOut string `protobuf:"bytes,1,opt,name=denom_out,json=denomOut,proto3" json:"denom_out,omitempty"`
	DenomIn  string `protobuf:"bytes,2,opt,name=denom_in,json=denomIn,proto3" json:"denom_in,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryOutRouteByDenomRequest) Descriptor deprecated

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

Deprecated: Use QueryOutRouteByDenomRequest.ProtoReflect.Descriptor instead.

func (*QueryOutRouteByDenomRequest) GetDenomIn

func (x *QueryOutRouteByDenomRequest) GetDenomIn() string

func (*QueryOutRouteByDenomRequest) GetDenomOut

func (x *QueryOutRouteByDenomRequest) GetDenomOut() string

func (*QueryOutRouteByDenomRequest) ProtoMessage

func (*QueryOutRouteByDenomRequest) ProtoMessage()

func (*QueryOutRouteByDenomRequest) ProtoReflect

func (*QueryOutRouteByDenomRequest) Reset

func (x *QueryOutRouteByDenomRequest) Reset()

func (*QueryOutRouteByDenomRequest) String

func (x *QueryOutRouteByDenomRequest) String() string

type QueryOutRouteByDenomResponse

type QueryOutRouteByDenomResponse struct {
	OutRoute []*SwapAmountOutRoute `protobuf:"bytes,1,rep,name=out_route,json=outRoute,proto3" json:"out_route,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryOutRouteByDenomResponse) Descriptor deprecated

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

Deprecated: Use QueryOutRouteByDenomResponse.ProtoReflect.Descriptor instead.

func (*QueryOutRouteByDenomResponse) GetOutRoute

func (*QueryOutRouteByDenomResponse) ProtoMessage

func (*QueryOutRouteByDenomResponse) ProtoMessage()

func (*QueryOutRouteByDenomResponse) ProtoReflect

func (*QueryOutRouteByDenomResponse) Reset

func (x *QueryOutRouteByDenomResponse) Reset()

func (*QueryOutRouteByDenomResponse) String

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

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

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Pool items.
	Pool(context.Context, *QueryGetPoolRequest) (*QueryGetPoolResponse, error)
	PoolAll(context.Context, *QueryAllPoolRequest) (*QueryAllPoolResponse, error)
	// Queries a list of DenomLiquidity items.
	DenomLiquidity(context.Context, *QueryGetDenomLiquidityRequest) (*QueryGetDenomLiquidityResponse, error)
	DenomLiquidityAll(context.Context, *QueryAllDenomLiquidityRequest) (*QueryAllDenomLiquidityResponse, error)
	// Queries a list of SwapEstimation items.
	SwapEstimation(context.Context, *QuerySwapEstimationRequest) (*QuerySwapEstimationResponse, error)
	// Queries JoinPool estimation
	JoinPoolEstimation(context.Context, *QueryJoinPoolEstimationRequest) (*QueryJoinPoolEstimationResponse, error)
	// Queries ExistPool estimation
	ExitPoolEstimation(context.Context, *QueryExitPoolEstimationRequest) (*QueryExitPoolEstimationResponse, error)
	// Queries slippage track for a week.
	SlippageTrack(context.Context, *QuerySlippageTrackRequest) (*QuerySlippageTrackResponse, error)
	// Queries all slippage tracks for a week.
	SlippageTrackAll(context.Context, *QuerySlippageTrackAllRequest) (*QuerySlippageTrackAllResponse, error)
	// Queries a list of Balance items.
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// Queries a list of InRouteByDenom items.
	InRouteByDenom(context.Context, *QueryInRouteByDenomRequest) (*QueryInRouteByDenomResponse, error)
	// Queries a list of OutRouteByDenom items.
	OutRouteByDenom(context.Context, *QueryOutRouteByDenomRequest) (*QueryOutRouteByDenomResponse, error)
	// Queries a list of SwapEstimationByDenom items.
	SwapEstimationByDenom(context.Context, *QuerySwapEstimationByDenomRequest) (*QuerySwapEstimationByDenomResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QuerySlippageTrackAllRequest

type QuerySlippageTrackAllRequest struct {
	// contains filtered or unexported fields
}

func (*QuerySlippageTrackAllRequest) Descriptor deprecated

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

Deprecated: Use QuerySlippageTrackAllRequest.ProtoReflect.Descriptor instead.

func (*QuerySlippageTrackAllRequest) ProtoMessage

func (*QuerySlippageTrackAllRequest) ProtoMessage()

func (*QuerySlippageTrackAllRequest) ProtoReflect

func (*QuerySlippageTrackAllRequest) Reset

func (x *QuerySlippageTrackAllRequest) Reset()

func (*QuerySlippageTrackAllRequest) String

type QuerySlippageTrackAllResponse

type QuerySlippageTrackAllResponse struct {
	Tracks []*OraclePoolSlippageTrack `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySlippageTrackAllResponse) Descriptor deprecated

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

Deprecated: Use QuerySlippageTrackAllResponse.ProtoReflect.Descriptor instead.

func (*QuerySlippageTrackAllResponse) GetTracks

func (*QuerySlippageTrackAllResponse) ProtoMessage

func (*QuerySlippageTrackAllResponse) ProtoMessage()

func (*QuerySlippageTrackAllResponse) ProtoReflect

func (*QuerySlippageTrackAllResponse) Reset

func (x *QuerySlippageTrackAllResponse) Reset()

func (*QuerySlippageTrackAllResponse) String

type QuerySlippageTrackRequest

type QuerySlippageTrackRequest struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySlippageTrackRequest) Descriptor deprecated

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

Deprecated: Use QuerySlippageTrackRequest.ProtoReflect.Descriptor instead.

func (*QuerySlippageTrackRequest) GetPoolId

func (x *QuerySlippageTrackRequest) GetPoolId() uint64

func (*QuerySlippageTrackRequest) ProtoMessage

func (*QuerySlippageTrackRequest) ProtoMessage()

func (*QuerySlippageTrackRequest) ProtoReflect

func (*QuerySlippageTrackRequest) Reset

func (x *QuerySlippageTrackRequest) Reset()

func (*QuerySlippageTrackRequest) String

func (x *QuerySlippageTrackRequest) String() string

type QuerySlippageTrackResponse

type QuerySlippageTrackResponse struct {
	Track *OraclePoolSlippageTrack `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySlippageTrackResponse) Descriptor deprecated

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

Deprecated: Use QuerySlippageTrackResponse.ProtoReflect.Descriptor instead.

func (*QuerySlippageTrackResponse) GetTrack

func (*QuerySlippageTrackResponse) ProtoMessage

func (*QuerySlippageTrackResponse) ProtoMessage()

func (*QuerySlippageTrackResponse) ProtoReflect

func (*QuerySlippageTrackResponse) Reset

func (x *QuerySlippageTrackResponse) Reset()

func (*QuerySlippageTrackResponse) String

func (x *QuerySlippageTrackResponse) String() string

type QuerySwapEstimationByDenomRequest

type QuerySwapEstimationByDenomRequest struct {
	Amount   *v1beta11.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	DenomIn  string         `protobuf:"bytes,2,opt,name=denom_in,json=denomIn,proto3" json:"denom_in,omitempty"`
	DenomOut string         `protobuf:"bytes,3,opt,name=denom_out,json=denomOut,proto3" json:"denom_out,omitempty"`
	Address  string         `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySwapEstimationByDenomRequest) Descriptor deprecated

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

Deprecated: Use QuerySwapEstimationByDenomRequest.ProtoReflect.Descriptor instead.

func (*QuerySwapEstimationByDenomRequest) GetAddress

func (x *QuerySwapEstimationByDenomRequest) GetAddress() string

func (*QuerySwapEstimationByDenomRequest) GetAmount

func (*QuerySwapEstimationByDenomRequest) GetDenomIn

func (x *QuerySwapEstimationByDenomRequest) GetDenomIn() string

func (*QuerySwapEstimationByDenomRequest) GetDenomOut

func (x *QuerySwapEstimationByDenomRequest) GetDenomOut() string

func (*QuerySwapEstimationByDenomRequest) ProtoMessage

func (*QuerySwapEstimationByDenomRequest) ProtoMessage()

func (*QuerySwapEstimationByDenomRequest) ProtoReflect

func (*QuerySwapEstimationByDenomRequest) Reset

func (*QuerySwapEstimationByDenomRequest) String

type QuerySwapEstimationByDenomResponse

type QuerySwapEstimationByDenomResponse struct {
	InRoute            []*SwapAmountInRoute  `protobuf:"bytes,1,rep,name=in_route,json=inRoute,proto3" json:"in_route,omitempty"`
	OutRoute           []*SwapAmountOutRoute `protobuf:"bytes,2,rep,name=out_route,json=outRoute,proto3" json:"out_route,omitempty"`
	SpotPrice          string                `protobuf:"bytes,3,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty"`
	Amount             *v1beta11.Coin        `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	SwapFee            string                `protobuf:"bytes,5,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	Discount           string                `protobuf:"bytes,6,opt,name=discount,proto3" json:"discount,omitempty"`
	AvailableLiquidity *v1beta11.Coin        `protobuf:"bytes,7,opt,name=available_liquidity,json=availableLiquidity,proto3" json:"available_liquidity,omitempty"`
	WeightBalanceRatio string                `protobuf:"bytes,8,opt,name=weight_balance_ratio,json=weightBalanceRatio,proto3" json:"weight_balance_ratio,omitempty"`
	Slippage           string                `protobuf:"bytes,9,opt,name=slippage,proto3" json:"slippage,omitempty"`
	PriceImpact        string                `protobuf:"bytes,10,opt,name=price_impact,json=priceImpact,proto3" json:"price_impact,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySwapEstimationByDenomResponse) Descriptor deprecated

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

Deprecated: Use QuerySwapEstimationByDenomResponse.ProtoReflect.Descriptor instead.

func (*QuerySwapEstimationByDenomResponse) GetAmount

func (*QuerySwapEstimationByDenomResponse) GetAvailableLiquidity

func (x *QuerySwapEstimationByDenomResponse) GetAvailableLiquidity() *v1beta11.Coin

func (*QuerySwapEstimationByDenomResponse) GetDiscount

func (x *QuerySwapEstimationByDenomResponse) GetDiscount() string

func (*QuerySwapEstimationByDenomResponse) GetInRoute

func (*QuerySwapEstimationByDenomResponse) GetOutRoute

func (*QuerySwapEstimationByDenomResponse) GetPriceImpact

func (x *QuerySwapEstimationByDenomResponse) GetPriceImpact() string

func (*QuerySwapEstimationByDenomResponse) GetSlippage

func (x *QuerySwapEstimationByDenomResponse) GetSlippage() string

func (*QuerySwapEstimationByDenomResponse) GetSpotPrice

func (x *QuerySwapEstimationByDenomResponse) GetSpotPrice() string

func (*QuerySwapEstimationByDenomResponse) GetSwapFee

func (*QuerySwapEstimationByDenomResponse) GetWeightBalanceRatio

func (x *QuerySwapEstimationByDenomResponse) GetWeightBalanceRatio() string

func (*QuerySwapEstimationByDenomResponse) ProtoMessage

func (*QuerySwapEstimationByDenomResponse) ProtoMessage()

func (*QuerySwapEstimationByDenomResponse) ProtoReflect

func (*QuerySwapEstimationByDenomResponse) Reset

func (*QuerySwapEstimationByDenomResponse) String

type QuerySwapEstimationRequest

type QuerySwapEstimationRequest struct {
	Routes   []*SwapAmountInRoute `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	TokenIn  *v1beta11.Coin       `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	Discount string               `protobuf:"bytes,3,opt,name=discount,proto3" json:"discount,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySwapEstimationRequest) Descriptor deprecated

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

Deprecated: Use QuerySwapEstimationRequest.ProtoReflect.Descriptor instead.

func (*QuerySwapEstimationRequest) GetDiscount

func (x *QuerySwapEstimationRequest) GetDiscount() string

func (*QuerySwapEstimationRequest) GetRoutes

func (*QuerySwapEstimationRequest) GetTokenIn

func (x *QuerySwapEstimationRequest) GetTokenIn() *v1beta11.Coin

func (*QuerySwapEstimationRequest) ProtoMessage

func (*QuerySwapEstimationRequest) ProtoMessage()

func (*QuerySwapEstimationRequest) ProtoReflect

func (*QuerySwapEstimationRequest) Reset

func (x *QuerySwapEstimationRequest) Reset()

func (*QuerySwapEstimationRequest) String

func (x *QuerySwapEstimationRequest) String() string

type QuerySwapEstimationResponse

type QuerySwapEstimationResponse struct {
	SpotPrice          string         `protobuf:"bytes,1,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty"`
	TokenOut           *v1beta11.Coin `protobuf:"bytes,2,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
	SwapFee            string         `protobuf:"bytes,3,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
	Discount           string         `protobuf:"bytes,4,opt,name=discount,proto3" json:"discount,omitempty"`
	AvailableLiquidity *v1beta11.Coin `protobuf:"bytes,5,opt,name=available_liquidity,json=availableLiquidity,proto3" json:"available_liquidity,omitempty"`
	Slippage           string         `protobuf:"bytes,6,opt,name=slippage,proto3" json:"slippage,omitempty"`
	WeightBalanceRatio string         `protobuf:"bytes,7,opt,name=weight_balance_ratio,json=weightBalanceRatio,proto3" json:"weight_balance_ratio,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySwapEstimationResponse) Descriptor deprecated

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

Deprecated: Use QuerySwapEstimationResponse.ProtoReflect.Descriptor instead.

func (*QuerySwapEstimationResponse) GetAvailableLiquidity

func (x *QuerySwapEstimationResponse) GetAvailableLiquidity() *v1beta11.Coin

func (*QuerySwapEstimationResponse) GetDiscount

func (x *QuerySwapEstimationResponse) GetDiscount() string

func (*QuerySwapEstimationResponse) GetSlippage

func (x *QuerySwapEstimationResponse) GetSlippage() string

func (*QuerySwapEstimationResponse) GetSpotPrice

func (x *QuerySwapEstimationResponse) GetSpotPrice() string

func (*QuerySwapEstimationResponse) GetSwapFee

func (x *QuerySwapEstimationResponse) GetSwapFee() string

func (*QuerySwapEstimationResponse) GetTokenOut

func (x *QuerySwapEstimationResponse) GetTokenOut() *v1beta11.Coin

func (*QuerySwapEstimationResponse) GetWeightBalanceRatio

func (x *QuerySwapEstimationResponse) GetWeightBalanceRatio() string

func (*QuerySwapEstimationResponse) ProtoMessage

func (*QuerySwapEstimationResponse) ProtoMessage()

func (*QuerySwapEstimationResponse) ProtoReflect

func (*QuerySwapEstimationResponse) Reset

func (x *QuerySwapEstimationResponse) Reset()

func (*QuerySwapEstimationResponse) String

func (x *QuerySwapEstimationResponse) String() string

type SwapAmountInRoute

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

func (*SwapAmountInRoute) Descriptor deprecated

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

Deprecated: Use SwapAmountInRoute.ProtoReflect.Descriptor instead.

func (*SwapAmountInRoute) GetPoolId

func (x *SwapAmountInRoute) GetPoolId() uint64

func (*SwapAmountInRoute) GetTokenOutDenom

func (x *SwapAmountInRoute) GetTokenOutDenom() string

func (*SwapAmountInRoute) ProtoMessage

func (*SwapAmountInRoute) ProtoMessage()

func (*SwapAmountInRoute) ProtoReflect

func (x *SwapAmountInRoute) ProtoReflect() protoreflect.Message

func (*SwapAmountInRoute) Reset

func (x *SwapAmountInRoute) Reset()

func (*SwapAmountInRoute) String

func (x *SwapAmountInRoute) String() string

type SwapAmountOutRoute

type SwapAmountOutRoute struct {
	PoolId       uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	TokenInDenom string `protobuf:"bytes,2,opt,name=token_in_denom,json=tokenInDenom,proto3" json:"token_in_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapAmountOutRoute) Descriptor deprecated

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

Deprecated: Use SwapAmountOutRoute.ProtoReflect.Descriptor instead.

func (*SwapAmountOutRoute) GetPoolId

func (x *SwapAmountOutRoute) GetPoolId() uint64

func (*SwapAmountOutRoute) GetTokenInDenom

func (x *SwapAmountOutRoute) GetTokenInDenom() string

func (*SwapAmountOutRoute) ProtoMessage

func (*SwapAmountOutRoute) ProtoMessage()

func (*SwapAmountOutRoute) ProtoReflect

func (x *SwapAmountOutRoute) ProtoReflect() protoreflect.Message

func (*SwapAmountOutRoute) Reset

func (x *SwapAmountOutRoute) Reset()

func (*SwapAmountOutRoute) String

func (x *SwapAmountOutRoute) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CreatePool

func (UnimplementedMsgServer) ExitPool

func (UnimplementedMsgServer) JoinPool

func (UnimplementedMsgServer) SwapByDenom

func (UnimplementedMsgServer) UpdateParams

func (UnimplementedMsgServer) UpdatePoolParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Balance

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Pool

func (UnimplementedQueryServer) PoolAll

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

type WeightBreakingSlippage added in v0.55.0

type WeightBreakingSlippage struct {
	PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
	Date   string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*WeightBreakingSlippage) Descriptor deprecated added in v0.55.0

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

Deprecated: Use WeightBreakingSlippage.ProtoReflect.Descriptor instead.

func (*WeightBreakingSlippage) GetAmount added in v0.55.0

func (x *WeightBreakingSlippage) GetAmount() string

func (*WeightBreakingSlippage) GetDate added in v0.55.0

func (x *WeightBreakingSlippage) GetDate() string

func (*WeightBreakingSlippage) GetPoolId added in v0.55.0

func (x *WeightBreakingSlippage) GetPoolId() uint64

func (*WeightBreakingSlippage) ProtoMessage added in v0.55.0

func (*WeightBreakingSlippage) ProtoMessage()

func (*WeightBreakingSlippage) ProtoReflect added in v0.55.0

func (x *WeightBreakingSlippage) ProtoReflect() protoreflect.Message

func (*WeightBreakingSlippage) Reset added in v0.55.0

func (x *WeightBreakingSlippage) Reset()

func (*WeightBreakingSlippage) String added in v0.55.0

func (x *WeightBreakingSlippage) String() string

Jump to

Keyboard shortcuts

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