Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func BinarySearchPriceToTick(price math_utils.PrecDec) uint64
- func BytesToTickIndex(bz []byte) (int64, error)
- func CalcAmountAsToken0(amount0, amount1 math.Int, price1To0 math_utils.PrecDec) math_utils.PrecDec
- func CalcFee(upperTickIndex, lowerTickIndex int64) int64
- func CalcGreatestMatchingRatio(targetAmount0 math.Int, targetAmount1 math.Int, amount0 math.Int, ...) (resultAmount0, resultAmount1 math.Int)
- func CalcPrice(relativeTickIndex int64) (math_utils.PrecDec, error)
- func CalcResidualValue(amount0, amount1 math.Int, priceLowerTakerToMaker math_utils.PrecDec, ...) (math_utils.PrecDec, error)
- func CalcTickIndexFromPrice(price math_utils.PrecDec) (int64, error)
- func CancelLimitOrderEvent(creator sdk.AccAddress, token0 string, token1 string, makerDenom string, ...) sdk.Event
- func CreateDepositEvent(creator sdk.AccAddress, receiver sdk.AccAddress, token0 string, token1 string, ...) sdk.Event
- func CreateMultihopSwapEvent(creator sdk.AccAddress, receiver sdk.AccAddress, makerDenom string, ...) sdk.Event
- func CreatePlaceLimitOrderEvent(creator sdk.AccAddress, receiver sdk.AccAddress, token0 string, token1 string, ...) sdk.Event
- func CreateTickUpdateLimitOrderTranche(tranche *LimitOrderTranche) sdk.Event
- func CreateTickUpdateLimitOrderTranchePurge(tranche *LimitOrderTranche) sdk.Event
- func CreateTickUpdatePoolReserves(tick PoolReserves) sdk.Event
- func CreateWithdrawEvent(creator sdk.AccAddress, receiver sdk.AccAddress, token0 string, token1 string, ...) sdk.Event
- func GetEventsDecExpiringOrders(pairID *TradePairID) sdk.Events
- func GetEventsDecTotalOrders(pairID *TradePairID) sdk.Events
- func GetEventsDecTotalPoolReserves(pairID PairID) sdk.Events
- func GetEventsGasConsumed(gasBefore, gasAfter types.Gas) sdk.Events
- func GetEventsIncExpiringOrders(pairID *TradePairID) sdk.Events
- func GetEventsIncTotalOrders(pairID *TradePairID) sdk.Events
- func GetEventsIncTotalPoolReserves(pairID PairID) sdk.Events
- func GetEventsWithdrawnAmount(coins sdk.Coins) sdk.Events
- func GoodTilPurgeHitLimitEvent(gas types.Gas) sdk.Event
- func IsPriceOutOfRange(price math_utils.PrecDec) bool
- func IsTickOutOfRange(tickIndex int64) bool
- func JITGoodTilTime() time.Time
- func KeyPrefix(p string) []byte
- func LimitOrderExpirationKey(goodTilDate time.Time, trancheRef []byte) []byte
- func LimitOrderTrancheUserAddressPrefix(address string) []byte
- func LimitOrderTrancheUserKey(address, trancheKey string) []byte
- func MustCalcPrice(relativeTickIndex int64) math_utils.PrecDec
- func NewDexDenomMintCoinsRestriction() types.MintingRestrictionFn
- func NewPoolDenom(poolID uint64) string
- func ParamKeyTable() paramtypes.KeyTable
- func ParsePoolIDFromDenom(denom string) (uint64, error)
- func PoolIDKey(pairID *PairID, tickIndex int64, fee uint64) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SortTokens(tokenA, tokenB string) (string, string)
- func TickIndexToBytes(tickTakerToMaker int64) []byte
- func TickLiquidityLimitOrderPrefix(tradePairID *TradePairID, tickIndexTakerTomMaker int64) []byte
- func TickLiquidityPrefix(tradePairID *TradePairID) []byte
- func TickUpdateEvent(token0 string, token1 string, makerDenom string, tickIndex int64, ...) sdk.Event
- func TimeBytes(timestamp time.Time) []byte
- func ValidateFairOutput(amountIn math.Int, price math_utils.PrecDec) error
- func ValidatePoolDenom(denom string) error
- func ValidateTickFee(tick int64, fee uint64) error
- func WithdrawFilledLimitOrderEvent(creator sdk.AccAddress, token0 string, token1 string, makerDenom string, ...) sdk.Event
- type BankKeeper
- type BranchableCache
- type DepositOptions
- func (*DepositOptions) Descriptor() ([]byte, []int)
- func (m *DepositOptions) GetDisableAutoswap() bool
- func (m *DepositOptions) GetFailTxOnBel() bool
- func (m *DepositOptions) Marshal() (dAtA []byte, err error)
- func (m *DepositOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositOptions) ProtoMessage()
- func (m *DepositOptions) Reset()
- func (m *DepositOptions) Size() (n int)
- func (m *DepositOptions) String() string
- func (m *DepositOptions) Unmarshal(dAtA []byte) error
- func (m *DepositOptions) XXX_DiscardUnknown()
- func (m *DepositOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositOptions) XXX_Merge(src proto.Message)
- func (m *DepositOptions) XXX_Size() int
- func (m *DepositOptions) XXX_Unmarshal(b []byte) error
- type DepositRecord
- func (*DepositRecord) Descriptor() ([]byte, []int)
- func (m *DepositRecord) GetCenterTickIndex() int64
- func (m *DepositRecord) GetFee() uint64
- func (m *DepositRecord) GetLowerTickIndex() int64
- func (m *DepositRecord) GetPairId() *PairID
- func (m *DepositRecord) GetPool() *Pool
- func (m *DepositRecord) GetUpperTickIndex() int64
- func (m *DepositRecord) Marshal() (dAtA []byte, err error)
- func (m *DepositRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositRecord) ProtoMessage()
- func (m *DepositRecord) Reset()
- func (m *DepositRecord) Size() (n int)
- func (m *DepositRecord) String() string
- func (m *DepositRecord) Unmarshal(dAtA []byte) error
- func (m *DepositRecord) XXX_DiscardUnknown()
- func (m *DepositRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositRecord) XXX_Merge(src proto.Message)
- func (m *DepositRecord) XXX_Size() int
- func (m *DepositRecord) XXX_Unmarshal(b []byte) error
- type FailedDeposit
- func (*FailedDeposit) Descriptor() ([]byte, []int)
- func (m *FailedDeposit) GetDepositIdx() uint64
- func (m *FailedDeposit) GetError() string
- func (m *FailedDeposit) Marshal() (dAtA []byte, err error)
- func (m *FailedDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *FailedDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FailedDeposit) ProtoMessage()
- func (m *FailedDeposit) Reset()
- func (m *FailedDeposit) Size() (n int)
- func (m *FailedDeposit) String() string
- func (m *FailedDeposit) Unmarshal(dAtA []byte) error
- func (m *FailedDeposit) XXX_DiscardUnknown()
- func (m *FailedDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FailedDeposit) XXX_Merge(src proto.Message)
- func (m *FailedDeposit) XXX_Size() int
- func (m *FailedDeposit) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetInactiveLimitOrderTrancheList() []*LimitOrderTranche
- func (m *GenesisState) GetLimitOrderTrancheUserList() []*LimitOrderTrancheUser
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPoolCount() uint64
- func (m *GenesisState) GetPoolMetadataList() []PoolMetadata
- func (m *GenesisState) GetTickLiquidityList() []*TickLiquidity
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type LimitOrderExpiration
- func (*LimitOrderExpiration) Descriptor() ([]byte, []int)
- func (m *LimitOrderExpiration) GetExpirationTime() time.Time
- func (m *LimitOrderExpiration) GetTrancheRef() []byte
- func (m *LimitOrderExpiration) Marshal() (dAtA []byte, err error)
- func (m *LimitOrderExpiration) MarshalTo(dAtA []byte) (int, error)
- func (m *LimitOrderExpiration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LimitOrderExpiration) ProtoMessage()
- func (m *LimitOrderExpiration) Reset()
- func (m *LimitOrderExpiration) Size() (n int)
- func (m *LimitOrderExpiration) String() string
- func (m *LimitOrderExpiration) Unmarshal(dAtA []byte) error
- func (m *LimitOrderExpiration) XXX_DiscardUnknown()
- func (m *LimitOrderExpiration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitOrderExpiration) XXX_Merge(src proto.Message)
- func (m *LimitOrderExpiration) XXX_Size() int
- func (m *LimitOrderExpiration) XXX_Unmarshal(b []byte) error
- type LimitOrderTranche
- func (t LimitOrderTranche) AmountUnfilled() math_utils.PrecDec
- func (t *LimitOrderTranche) CalcWithdrawAmount(trancheUser *LimitOrderTrancheUser) (sharesToWithdraw, tokenOut math.Int)
- func (*LimitOrderTranche) Descriptor() ([]byte, []int)
- func (m *LimitOrderTranche) GetExpirationTime() *time.Time
- func (m *LimitOrderTranche) GetKey() *LimitOrderTrancheKey
- func (t LimitOrderTranche) HasExpiration() bool
- func (t LimitOrderTranche) HasLiquidity() bool
- func (t LimitOrderTranche) HasTokenIn() bool
- func (t LimitOrderTranche) HasTokenOut() bool
- func (t LimitOrderTranche) IsExpired(ctx sdk.Context) bool
- func (t LimitOrderTranche) IsFilled() bool
- func (t LimitOrderTranche) IsJIT() bool
- func (t LimitOrderTranche) IsPlaceTranche() bool
- func (m *LimitOrderTranche) Marshal() (dAtA []byte, err error)
- func (m *LimitOrderTranche) MarshalTo(dAtA []byte) (int, error)
- func (m *LimitOrderTranche) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (t *LimitOrderTranche) PlaceMakerLimitOrder(amountIn math.Int)
- func (t LimitOrderTranche) Price() math_utils.PrecDec
- func (*LimitOrderTranche) ProtoMessage()
- func (t LimitOrderTranche) RatioFilled() math_utils.PrecDec
- func (t *LimitOrderTranche) RemoveTokenIn(trancheUser *LimitOrderTrancheUser) (amountToRemove math.Int)
- func (m *LimitOrderTranche) Reset()
- func (m *LimitOrderTranche) Size() (n int)
- func (m *LimitOrderTranche) String() string
- func (t *LimitOrderTranche) Swap(maxAmountTakerIn math.Int, maxAmountMakerOut *math.Int) (inAmount math.Int, outAmount math.Int)
- func (t LimitOrderTranche) ToBinding() LimitOrderTrancheBinding
- func (m *LimitOrderTranche) Unmarshal(dAtA []byte) error
- func (t *LimitOrderTranche) Withdraw(trancheUser *LimitOrderTrancheUser) (sharesWithdrawn, tokenOut math.Int)
- func (m *LimitOrderTranche) XXX_DiscardUnknown()
- func (m *LimitOrderTranche) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitOrderTranche) XXX_Merge(src proto.Message)
- func (m *LimitOrderTranche) XXX_Size() int
- func (m *LimitOrderTranche) XXX_Unmarshal(b []byte) error
- type LimitOrderTrancheBinding
- type LimitOrderTrancheKey
- func (*LimitOrderTrancheKey) Descriptor() ([]byte, []int)
- func (m *LimitOrderTrancheKey) GetTickIndexTakerToMaker() int64
- func (m *LimitOrderTrancheKey) GetTradePairId() *TradePairID
- func (m *LimitOrderTrancheKey) GetTrancheKey() string
- func (p LimitOrderTrancheKey) KeyMarshal() []byte
- func (m *LimitOrderTrancheKey) Marshal() (dAtA []byte, err error)
- func (m *LimitOrderTrancheKey) MarshalTo(dAtA []byte) (int, error)
- func (m *LimitOrderTrancheKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p LimitOrderTrancheKey) MustPriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec)
- func (p LimitOrderTrancheKey) PriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec, err error)
- func (*LimitOrderTrancheKey) ProtoMessage()
- func (m *LimitOrderTrancheKey) Reset()
- func (m *LimitOrderTrancheKey) Size() (n int)
- func (m *LimitOrderTrancheKey) String() string
- func (m *LimitOrderTrancheKey) Unmarshal(dAtA []byte) error
- func (m *LimitOrderTrancheKey) XXX_DiscardUnknown()
- func (m *LimitOrderTrancheKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitOrderTrancheKey) XXX_Merge(src proto.Message)
- func (m *LimitOrderTrancheKey) XXX_Size() int
- func (m *LimitOrderTrancheKey) XXX_Unmarshal(b []byte) error
- type LimitOrderTrancheUser
- func (*LimitOrderTrancheUser) Descriptor() ([]byte, []int)
- func (m *LimitOrderTrancheUser) GetAddress() string
- func (m *LimitOrderTrancheUser) GetOrderType() LimitOrderType
- func (m *LimitOrderTrancheUser) GetTickIndexTakerToMaker() int64
- func (m *LimitOrderTrancheUser) GetTradePairId() *TradePairID
- func (m *LimitOrderTrancheUser) GetTrancheKey() string
- func (l LimitOrderTrancheUser) IsEmpty() bool
- func (m *LimitOrderTrancheUser) Marshal() (dAtA []byte, err error)
- func (m *LimitOrderTrancheUser) MarshalTo(dAtA []byte) (int, error)
- func (m *LimitOrderTrancheUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LimitOrderTrancheUser) ProtoMessage()
- func (m *LimitOrderTrancheUser) Reset()
- func (m *LimitOrderTrancheUser) Size() (n int)
- func (m *LimitOrderTrancheUser) String() string
- func (m *LimitOrderTrancheUser) Unmarshal(dAtA []byte) error
- func (m *LimitOrderTrancheUser) XXX_DiscardUnknown()
- func (m *LimitOrderTrancheUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitOrderTrancheUser) XXX_Merge(src proto.Message)
- func (m *LimitOrderTrancheUser) XXX_Size() int
- func (m *LimitOrderTrancheUser) XXX_Unmarshal(b []byte) error
- type LimitOrderTrancheUserBinding
- type LimitOrderType
- func (LimitOrderType) EnumDescriptor() ([]byte, []int)
- func (l LimitOrderType) HasExpiration() bool
- func (l LimitOrderType) IsFoK() bool
- func (l LimitOrderType) IsGTC() bool
- func (l LimitOrderType) IsGoodTil() bool
- func (l LimitOrderType) IsIoC() bool
- func (l LimitOrderType) IsJIT() bool
- func (l LimitOrderType) IsTakerOnly() bool
- func (x LimitOrderType) String() string
- type Liquidity
- type MsgCancelLimitOrder
- func (*MsgCancelLimitOrder) Descriptor() ([]byte, []int)
- func (m *MsgCancelLimitOrder) GetCreator() string
- func (msg *MsgCancelLimitOrder) GetSignBytes() []byte
- func (msg *MsgCancelLimitOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCancelLimitOrder) GetTrancheKey() string
- func (m *MsgCancelLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelLimitOrder) ProtoMessage()
- func (m *MsgCancelLimitOrder) Reset()
- func (msg *MsgCancelLimitOrder) Route() string
- func (m *MsgCancelLimitOrder) Size() (n int)
- func (m *MsgCancelLimitOrder) String() string
- func (msg *MsgCancelLimitOrder) Type() string
- func (m *MsgCancelLimitOrder) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelLimitOrder) Validate() error
- func (m *MsgCancelLimitOrder) XXX_DiscardUnknown()
- func (m *MsgCancelLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelLimitOrder) XXX_Merge(src proto.Message)
- func (m *MsgCancelLimitOrder) XXX_Size() int
- func (m *MsgCancelLimitOrder) XXX_Unmarshal(b []byte) error
- type MsgCancelLimitOrderResponse
- func (*MsgCancelLimitOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelLimitOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelLimitOrderResponse) ProtoMessage()
- func (m *MsgCancelLimitOrderResponse) Reset()
- func (m *MsgCancelLimitOrderResponse) Size() (n int)
- func (m *MsgCancelLimitOrderResponse) String() string
- func (m *MsgCancelLimitOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelLimitOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCancelLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelLimitOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelLimitOrderResponse) XXX_Size() int
- func (m *MsgCancelLimitOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeposit
- func (*MsgDeposit) Descriptor() ([]byte, []int)
- func (m *MsgDeposit) GetCreator() string
- func (m *MsgDeposit) GetFees() []uint64
- func (m *MsgDeposit) GetOptions() []*DepositOptions
- func (m *MsgDeposit) GetReceiver() string
- func (msg *MsgDeposit) GetSignBytes() []byte
- func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgDeposit) GetTickIndexesAToB() []int64
- func (m *MsgDeposit) GetTokenA() string
- func (m *MsgDeposit) GetTokenB() string
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeposit) ProtoMessage()
- func (m *MsgDeposit) Reset()
- func (msg *MsgDeposit) Route() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) String() string
- func (msg *MsgDeposit) Type() string
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- func (msg *MsgDeposit) Validate() error
- func (m *MsgDeposit) XXX_DiscardUnknown()
- func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeposit) XXX_Merge(src proto.Message)
- func (m *MsgDeposit) XXX_Size() int
- func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
- type MsgDepositResponse
- func (*MsgDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositResponse) GetFailedDeposits() []*FailedDeposit
- func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositResponse) ProtoMessage()
- func (m *MsgDepositResponse) Reset()
- func (m *MsgDepositResponse) Size() (n int)
- func (m *MsgDepositResponse) String() string
- func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositResponse) XXX_DiscardUnknown()
- func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositResponse) XXX_Size() int
- func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgMultiHopSwap
- func (*MsgMultiHopSwap) Descriptor() ([]byte, []int)
- func (m *MsgMultiHopSwap) GetCreator() string
- func (m *MsgMultiHopSwap) GetPickBestRoute() bool
- func (m *MsgMultiHopSwap) GetReceiver() string
- func (m *MsgMultiHopSwap) GetRoutes() []*MultiHopRoute
- func (msg *MsgMultiHopSwap) GetSignBytes() []byte
- func (msg *MsgMultiHopSwap) GetSigners() []sdk.AccAddress
- func (m *MsgMultiHopSwap) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiHopSwap) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiHopSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiHopSwap) ProtoMessage()
- func (m *MsgMultiHopSwap) Reset()
- func (msg *MsgMultiHopSwap) Route() string
- func (m *MsgMultiHopSwap) Size() (n int)
- func (m *MsgMultiHopSwap) String() string
- func (msg *MsgMultiHopSwap) Type() string
- func (m *MsgMultiHopSwap) Unmarshal(dAtA []byte) error
- func (msg *MsgMultiHopSwap) Validate() error
- func (m *MsgMultiHopSwap) XXX_DiscardUnknown()
- func (m *MsgMultiHopSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiHopSwap) XXX_Merge(src proto.Message)
- func (m *MsgMultiHopSwap) XXX_Size() int
- func (m *MsgMultiHopSwap) XXX_Unmarshal(b []byte) error
- type MsgMultiHopSwapResponse
- func (*MsgMultiHopSwapResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiHopSwapResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiHopSwapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiHopSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiHopSwapResponse) ProtoMessage()
- func (m *MsgMultiHopSwapResponse) Reset()
- func (m *MsgMultiHopSwapResponse) Size() (n int)
- func (m *MsgMultiHopSwapResponse) String() string
- func (m *MsgMultiHopSwapResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiHopSwapResponse) XXX_DiscardUnknown()
- func (m *MsgMultiHopSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiHopSwapResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiHopSwapResponse) XXX_Size() int
- func (m *MsgMultiHopSwapResponse) XXX_Unmarshal(b []byte) error
- type MsgPlaceLimitOrder
- func (*MsgPlaceLimitOrder) Descriptor() ([]byte, []int)
- func (m *MsgPlaceLimitOrder) GetCreator() string
- func (m *MsgPlaceLimitOrder) GetExpirationTime() *time.Time
- func (m *MsgPlaceLimitOrder) GetOrderType() LimitOrderType
- func (m *MsgPlaceLimitOrder) GetReceiver() string
- func (msg *MsgPlaceLimitOrder) GetSignBytes() []byte
- func (msg *MsgPlaceLimitOrder) GetSigners() []sdk.AccAddress
- func (m *MsgPlaceLimitOrder) GetTickIndexInToOut() int64deprecated
- func (m *MsgPlaceLimitOrder) GetTokenIn() string
- func (m *MsgPlaceLimitOrder) GetTokenOut() string
- func (m *MsgPlaceLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgPlaceLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPlaceLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPlaceLimitOrder) ProtoMessage()
- func (m *MsgPlaceLimitOrder) Reset()
- func (msg *MsgPlaceLimitOrder) Route() string
- func (m *MsgPlaceLimitOrder) Size() (n int)
- func (m *MsgPlaceLimitOrder) String() string
- func (msg *MsgPlaceLimitOrder) Type() string
- func (m *MsgPlaceLimitOrder) Unmarshal(dAtA []byte) error
- func (msg *MsgPlaceLimitOrder) Validate() error
- func (msg *MsgPlaceLimitOrder) ValidateGoodTilExpiration(blockTime time.Time) error
- func (m *MsgPlaceLimitOrder) XXX_DiscardUnknown()
- func (m *MsgPlaceLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPlaceLimitOrder) XXX_Merge(src proto.Message)
- func (m *MsgPlaceLimitOrder) XXX_Size() int
- func (m *MsgPlaceLimitOrder) XXX_Unmarshal(b []byte) error
- type MsgPlaceLimitOrderResponse
- func (*MsgPlaceLimitOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgPlaceLimitOrderResponse) GetTrancheKey() string
- func (m *MsgPlaceLimitOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPlaceLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPlaceLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPlaceLimitOrderResponse) ProtoMessage()
- func (m *MsgPlaceLimitOrderResponse) Reset()
- func (m *MsgPlaceLimitOrderResponse) Size() (n int)
- func (m *MsgPlaceLimitOrderResponse) String() string
- func (m *MsgPlaceLimitOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPlaceLimitOrderResponse) XXX_DiscardUnknown()
- func (m *MsgPlaceLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPlaceLimitOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgPlaceLimitOrderResponse) XXX_Size() int
- func (m *MsgPlaceLimitOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) Validate() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFilledLimitOrder
- func (*MsgWithdrawFilledLimitOrder) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFilledLimitOrder) GetCreator() string
- func (msg *MsgWithdrawFilledLimitOrder) GetSignBytes() []byte
- func (msg *MsgWithdrawFilledLimitOrder) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawFilledLimitOrder) GetTrancheKey() string
- func (m *MsgWithdrawFilledLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFilledLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFilledLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFilledLimitOrder) ProtoMessage()
- func (m *MsgWithdrawFilledLimitOrder) Reset()
- func (msg *MsgWithdrawFilledLimitOrder) Route() string
- func (m *MsgWithdrawFilledLimitOrder) Size() (n int)
- func (m *MsgWithdrawFilledLimitOrder) String() string
- func (msg *MsgWithdrawFilledLimitOrder) Type() string
- func (m *MsgWithdrawFilledLimitOrder) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawFilledLimitOrder) Validate() error
- func (m *MsgWithdrawFilledLimitOrder) XXX_DiscardUnknown()
- func (m *MsgWithdrawFilledLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFilledLimitOrder) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFilledLimitOrder) XXX_Size() int
- func (m *MsgWithdrawFilledLimitOrder) XXX_Unmarshal(b []byte) error
- type MsgWithdrawFilledLimitOrderResponse
- func (*MsgWithdrawFilledLimitOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawFilledLimitOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawFilledLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawFilledLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawFilledLimitOrderResponse) ProtoMessage()
- func (m *MsgWithdrawFilledLimitOrderResponse) Reset()
- func (m *MsgWithdrawFilledLimitOrderResponse) Size() (n int)
- func (m *MsgWithdrawFilledLimitOrderResponse) String() string
- func (m *MsgWithdrawFilledLimitOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawFilledLimitOrderResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Size() int
- func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawal
- func (*MsgWithdrawal) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawal) GetCreator() string
- func (m *MsgWithdrawal) GetFees() []uint64
- func (m *MsgWithdrawal) GetReceiver() string
- func (msg *MsgWithdrawal) GetSignBytes() []byte
- func (msg *MsgWithdrawal) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawal) GetTickIndexesAToB() []int64
- func (m *MsgWithdrawal) GetTokenA() string
- func (m *MsgWithdrawal) GetTokenB() string
- func (m *MsgWithdrawal) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawal) ProtoMessage()
- func (m *MsgWithdrawal) Reset()
- func (msg *MsgWithdrawal) Route() string
- func (m *MsgWithdrawal) Size() (n int)
- func (m *MsgWithdrawal) String() string
- func (msg *MsgWithdrawal) Type() string
- func (m *MsgWithdrawal) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawal) Validate() error
- func (m *MsgWithdrawal) XXX_DiscardUnknown()
- func (m *MsgWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawal) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawal) XXX_Size() int
- func (m *MsgWithdrawal) XXX_Unmarshal(b []byte) error
- type MsgWithdrawalResponse
- func (*MsgWithdrawalResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawalResponse) ProtoMessage()
- func (m *MsgWithdrawalResponse) Reset()
- func (m *MsgWithdrawalResponse) Size() (n int)
- func (m *MsgWithdrawalResponse) String() string
- func (m *MsgWithdrawalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawalResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawalResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawalResponse) XXX_Size() int
- func (m *MsgWithdrawalResponse) XXX_Unmarshal(b []byte) error
- type MultiHopRoute
- func (*MultiHopRoute) Descriptor() ([]byte, []int)
- func (m *MultiHopRoute) GetHops() []string
- func (m *MultiHopRoute) Marshal() (dAtA []byte, err error)
- func (m *MultiHopRoute) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiHopRoute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiHopRoute) ProtoMessage()
- func (m *MultiHopRoute) Reset()
- func (m *MultiHopRoute) Size() (n int)
- func (m *MultiHopRoute) String() string
- func (m *MultiHopRoute) Unmarshal(dAtA []byte) error
- func (m *MultiHopRoute) XXX_DiscardUnknown()
- func (m *MultiHopRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiHopRoute) XXX_Merge(src proto.Message)
- func (m *MultiHopRoute) XXX_Size() int
- func (m *MultiHopRoute) XXX_Unmarshal(b []byte) error
- type PairID
- func (p *PairID) CanonicalString() string
- func (*PairID) Descriptor() ([]byte, []int)
- func (p *PairID) Equal(otherPairID *PairID) bool
- func (m *PairID) GetToken0() string
- func (m *PairID) GetToken1() string
- func (m *PairID) Marshal() (dAtA []byte, err error)
- func (m *PairID) MarshalTo(dAtA []byte) (int, error)
- func (m *PairID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *PairID) MustOppositeToken(token string) string
- func (p *PairID) MustTradePairIDFromMaker(maker string) *TradePairID
- func (p *PairID) MustTradePairIDFromTaker(taker string) *TradePairID
- func (p *PairID) OppositeToken(token string) (oppToken string, ok bool)
- func (*PairID) ProtoMessage()
- func (m *PairID) Reset()
- func (m *PairID) Size() (n int)
- func (m *PairID) String() string
- func (m *PairID) Unmarshal(dAtA []byte) error
- func (m *PairID) XXX_DiscardUnknown()
- func (m *PairID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PairID) XXX_Merge(src proto.Message)
- func (m *PairID) XXX_Size() int
- func (m *PairID) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetFeeTiers() []uint64
- func (m *Params) GetGoodTilPurgeAllowance() uint64
- func (m *Params) GetMaxJitsPerBlock() uint64
- func (m *Params) GetPaused() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Pool
- func (p *Pool) CalcResidualSharesMinted(residualAmount0 math.Int, residualAmount1 math.Int) (sharesMinted sdk.Coin, err error)
- func (p *Pool) CalcSharesMinted(amount0 math.Int, amount1 math.Int, existingShares math.Int) (sharesMinted sdk.Coin)
- func (p *Pool) CenterTickIndex() int64
- func (p *Pool) Deposit(maxAmount0, maxAmount1, existingShares math.Int, autoswap bool) (inAmount0, inAmount1 math.Int, outShares sdk.Coin)
- func (*Pool) Descriptor() ([]byte, []int)
- func (p *Pool) Fee() uint64
- func (m *Pool) GetId() uint64
- func (p *Pool) GetLowerReserve0() math.Int
- func (m *Pool) GetLowerTick0() *PoolReserves
- func (p *Pool) GetPoolDenom() string
- func (p *Pool) GetUpperReserve1() math.Int
- func (m *Pool) GetUpperTick1() *PoolReserves
- func (m *Pool) Marshal() (dAtA []byte, err error)
- func (m *Pool) MarshalTo(dAtA []byte) (int, error)
- func (m *Pool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Pool) MustCalcPrice1To0Center() math_utils.PrecDec
- func (p *Pool) Price(tradePairID *TradePairID) math_utils.PrecDec
- func (*Pool) ProtoMessage()
- func (p *Pool) RedeemValue(sharesToRemove, totalShares math.Int) (outAmount0, outAmount1 math.Int)
- func (m *Pool) Reset()
- func (m *Pool) Size() (n int)
- func (m *Pool) String() string
- func (p *Pool) Swap(tradePairID *TradePairID, maxAmountTakerIn math.Int, ...) (amountTakerIn, amountMakerOut math.Int)
- func (m *Pool) Unmarshal(dAtA []byte) error
- func (p *Pool) Withdraw(sharesToRemove, totalShares math.Int) (outAmount0, outAmount1 math.Int)
- func (m *Pool) XXX_DiscardUnknown()
- func (m *Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pool) XXX_Merge(src proto.Message)
- func (m *Pool) XXX_Size() int
- func (m *Pool) XXX_Unmarshal(b []byte) error
- type PoolLiquidity
- type PoolMetadata
- func (*PoolMetadata) Descriptor() ([]byte, []int)
- func (m *PoolMetadata) GetFee() uint64
- func (m *PoolMetadata) GetId() uint64
- func (m *PoolMetadata) GetPairId() *PairID
- func (m *PoolMetadata) GetTick() int64
- func (m *PoolMetadata) Marshal() (dAtA []byte, err error)
- func (m *PoolMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolMetadata) ProtoMessage()
- func (m *PoolMetadata) Reset()
- func (m *PoolMetadata) Size() (n int)
- func (m *PoolMetadata) String() string
- func (m *PoolMetadata) Unmarshal(dAtA []byte) error
- func (m *PoolMetadata) XXX_DiscardUnknown()
- func (m *PoolMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolMetadata) XXX_Merge(src proto.Message)
- func (m *PoolMetadata) XXX_Size() int
- func (m *PoolMetadata) XXX_Unmarshal(b []byte) error
- type PoolReserves
- func (*PoolReserves) Descriptor() ([]byte, []int)
- func (m *PoolReserves) GetKey() *PoolReservesKey
- func (p PoolReserves) HasToken() bool
- func (m *PoolReserves) Marshal() (dAtA []byte, err error)
- func (m *PoolReserves) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolReserves) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolReserves) ProtoMessage()
- func (m *PoolReserves) Reset()
- func (m *PoolReserves) Size() (n int)
- func (m *PoolReserves) String() string
- func (m *PoolReserves) Unmarshal(dAtA []byte) error
- func (m *PoolReserves) XXX_DiscardUnknown()
- func (m *PoolReserves) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolReserves) XXX_Merge(src proto.Message)
- func (m *PoolReserves) XXX_Size() int
- func (m *PoolReserves) XXX_Unmarshal(b []byte) error
- type PoolReservesKey
- func (p PoolReservesKey) Counterpart() *PoolReservesKey
- func (*PoolReservesKey) Descriptor() ([]byte, []int)
- func (m *PoolReservesKey) GetFee() uint64
- func (m *PoolReservesKey) GetTickIndexTakerToMaker() int64
- func (m *PoolReservesKey) GetTradePairId() *TradePairID
- func (p PoolReservesKey) KeyMarshal() []byte
- func (m *PoolReservesKey) Marshal() (dAtA []byte, err error)
- func (m *PoolReservesKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolReservesKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p PoolReservesKey) MustPriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec)
- func (p PoolReservesKey) PriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec, err error)
- func (*PoolReservesKey) ProtoMessage()
- func (m *PoolReservesKey) Reset()
- func (m *PoolReservesKey) Size() (n int)
- func (m *PoolReservesKey) String() string
- func (m *PoolReservesKey) Unmarshal(dAtA []byte) error
- func (m *PoolReservesKey) XXX_DiscardUnknown()
- func (m *PoolReservesKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolReservesKey) XXX_Merge(src proto.Message)
- func (m *PoolReservesKey) XXX_Size() int
- func (m *PoolReservesKey) XXX_Unmarshal(b []byte) error
- type QueryAllInactiveLimitOrderTrancheRequest
- func (*QueryAllInactiveLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllInactiveLimitOrderTrancheRequest) GetPagination() *query.PageRequest
- func (m *QueryAllInactiveLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllInactiveLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInactiveLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInactiveLimitOrderTrancheRequest) ProtoMessage()
- func (m *QueryAllInactiveLimitOrderTrancheRequest) Reset()
- func (m *QueryAllInactiveLimitOrderTrancheRequest) Size() (n int)
- func (m *QueryAllInactiveLimitOrderTrancheRequest) String() string
- func (m *QueryAllInactiveLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_DiscardUnknown()
- func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Size() int
- func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
- type QueryAllInactiveLimitOrderTrancheResponse
- func (*QueryAllInactiveLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllInactiveLimitOrderTrancheResponse) GetInactiveLimitOrderTranche() []*LimitOrderTranche
- func (m *QueryAllInactiveLimitOrderTrancheResponse) GetPagination() *query.PageResponse
- func (m *QueryAllInactiveLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryAllInactiveLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
- func (m *QueryAllInactiveLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllInactiveLimitOrderTrancheResponse) ProtoMessage()
- func (m *QueryAllInactiveLimitOrderTrancheResponse) Reset()
- func (m *QueryAllInactiveLimitOrderTrancheResponse) Size() (n int)
- func (m *QueryAllInactiveLimitOrderTrancheResponse) String() string
- func (m *QueryAllInactiveLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_DiscardUnknown()
- func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Size() int
- func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
- type QueryAllLimitOrderTrancheRequest
- func (*QueryAllLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllLimitOrderTrancheRequest) GetPagination() *query.PageRequest
- func (m *QueryAllLimitOrderTrancheRequest) GetPairId() string
- func (m *QueryAllLimitOrderTrancheRequest) GetTokenIn() string
- func (m *QueryAllLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLimitOrderTrancheRequest) ProtoMessage()
- func (m *QueryAllLimitOrderTrancheRequest) Reset()
- func (m *QueryAllLimitOrderTrancheRequest) Size() (n int)
- func (m *QueryAllLimitOrderTrancheRequest) String() string
- func (m *QueryAllLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllLimitOrderTrancheRequest) XXX_DiscardUnknown()
- func (m *QueryAllLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllLimitOrderTrancheRequest) XXX_Size() int
- func (m *QueryAllLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
- type QueryAllLimitOrderTrancheResponse
- func (*QueryAllLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllLimitOrderTrancheResponse) GetLimitOrderTranche() []*LimitOrderTranche
- func (m *QueryAllLimitOrderTrancheResponse) GetPagination() *query.PageResponse
- func (m *QueryAllLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryAllLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
- func (m *QueryAllLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLimitOrderTrancheResponse) ProtoMessage()
- func (m *QueryAllLimitOrderTrancheResponse) Reset()
- func (m *QueryAllLimitOrderTrancheResponse) Size() (n int)
- func (m *QueryAllLimitOrderTrancheResponse) String() string
- func (m *QueryAllLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllLimitOrderTrancheResponse) XXX_DiscardUnknown()
- func (m *QueryAllLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllLimitOrderTrancheResponse) XXX_Size() int
- func (m *QueryAllLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
- type QueryAllLimitOrderTrancheUserByAddressRequest
- func (*QueryAllLimitOrderTrancheUserByAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) GetAddress() string
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) GetPagination() *query.PageRequest
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLimitOrderTrancheUserByAddressRequest) ProtoMessage()
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Reset()
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Size() (n int)
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) String() string
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_DiscardUnknown()
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Size() int
- func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryAllLimitOrderTrancheUserByAddressResponse
- func (*QueryAllLimitOrderTrancheUserByAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) GetLimitOrders() []*LimitOrderTrancheUser
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) GetPagination() *query.PageResponse
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryAllLimitOrderTrancheUserByAddressResponse) MarshalBinding() ([]byte, error)
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLimitOrderTrancheUserByAddressResponse) ProtoMessage()
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Reset()
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Size() (n int)
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) String() string
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_DiscardUnknown()
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Size() int
- func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryAllLimitOrderTrancheUserRequest
- func (*QueryAllLimitOrderTrancheUserRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllLimitOrderTrancheUserRequest) GetPagination() *query.PageRequest
- func (m *QueryAllLimitOrderTrancheUserRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLimitOrderTrancheUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLimitOrderTrancheUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLimitOrderTrancheUserRequest) ProtoMessage()
- func (m *QueryAllLimitOrderTrancheUserRequest) Reset()
- func (m *QueryAllLimitOrderTrancheUserRequest) Size() (n int)
- func (m *QueryAllLimitOrderTrancheUserRequest) String() string
- func (m *QueryAllLimitOrderTrancheUserRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllLimitOrderTrancheUserRequest) XXX_DiscardUnknown()
- func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Size() int
- func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Unmarshal(b []byte) error
- type QueryAllLimitOrderTrancheUserResponse
- func (*QueryAllLimitOrderTrancheUserResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser() []*LimitOrderTrancheUser
- func (m *QueryAllLimitOrderTrancheUserResponse) GetPagination() *query.PageResponse
- func (m *QueryAllLimitOrderTrancheUserResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryAllLimitOrderTrancheUserResponse) MarshalBinding() ([]byte, error)
- func (m *QueryAllLimitOrderTrancheUserResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLimitOrderTrancheUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLimitOrderTrancheUserResponse) ProtoMessage()
- func (m *QueryAllLimitOrderTrancheUserResponse) Reset()
- func (m *QueryAllLimitOrderTrancheUserResponse) Size() (n int)
- func (m *QueryAllLimitOrderTrancheUserResponse) String() string
- func (m *QueryAllLimitOrderTrancheUserResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllLimitOrderTrancheUserResponse) XXX_DiscardUnknown()
- func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Size() int
- func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPoolMetadataRequest
- func (*QueryAllPoolMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPoolMetadataRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPoolMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPoolMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPoolMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPoolMetadataRequest) ProtoMessage()
- func (m *QueryAllPoolMetadataRequest) Reset()
- func (m *QueryAllPoolMetadataRequest) Size() (n int)
- func (m *QueryAllPoolMetadataRequest) String() string
- func (m *QueryAllPoolMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPoolMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryAllPoolMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPoolMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPoolMetadataRequest) XXX_Size() int
- func (m *QueryAllPoolMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPoolMetadataResponse
- func (*QueryAllPoolMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPoolMetadataResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPoolMetadataResponse) GetPoolMetadata() []PoolMetadata
- func (m *QueryAllPoolMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPoolMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPoolMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPoolMetadataResponse) ProtoMessage()
- func (m *QueryAllPoolMetadataResponse) Reset()
- func (m *QueryAllPoolMetadataResponse) Size() (n int)
- func (m *QueryAllPoolMetadataResponse) String() string
- func (m *QueryAllPoolMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPoolMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryAllPoolMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPoolMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPoolMetadataResponse) XXX_Size() int
- func (m *QueryAllPoolMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPoolReservesRequest
- func (*QueryAllPoolReservesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPoolReservesRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPoolReservesRequest) GetPairId() string
- func (m *QueryAllPoolReservesRequest) GetTokenIn() string
- func (m *QueryAllPoolReservesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPoolReservesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPoolReservesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPoolReservesRequest) ProtoMessage()
- func (m *QueryAllPoolReservesRequest) Reset()
- func (m *QueryAllPoolReservesRequest) Size() (n int)
- func (m *QueryAllPoolReservesRequest) String() string
- func (m *QueryAllPoolReservesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPoolReservesRequest) XXX_DiscardUnknown()
- func (m *QueryAllPoolReservesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPoolReservesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPoolReservesRequest) XXX_Size() int
- func (m *QueryAllPoolReservesRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPoolReservesResponse
- func (*QueryAllPoolReservesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPoolReservesResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPoolReservesResponse) GetPoolReserves() []*PoolReserves
- func (m *QueryAllPoolReservesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPoolReservesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPoolReservesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPoolReservesResponse) ProtoMessage()
- func (m *QueryAllPoolReservesResponse) Reset()
- func (m *QueryAllPoolReservesResponse) Size() (n int)
- func (m *QueryAllPoolReservesResponse) String() string
- func (m *QueryAllPoolReservesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPoolReservesResponse) XXX_DiscardUnknown()
- func (m *QueryAllPoolReservesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPoolReservesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPoolReservesResponse) XXX_Size() int
- func (m *QueryAllPoolReservesResponse) XXX_Unmarshal(b []byte) error
- type QueryAllTickLiquidityRequest
- func (*QueryAllTickLiquidityRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllTickLiquidityRequest) GetPagination() *query.PageRequest
- func (m *QueryAllTickLiquidityRequest) GetPairId() string
- func (m *QueryAllTickLiquidityRequest) GetTokenIn() string
- func (m *QueryAllTickLiquidityRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllTickLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllTickLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllTickLiquidityRequest) ProtoMessage()
- func (m *QueryAllTickLiquidityRequest) Reset()
- func (m *QueryAllTickLiquidityRequest) Size() (n int)
- func (m *QueryAllTickLiquidityRequest) String() string
- func (m *QueryAllTickLiquidityRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllTickLiquidityRequest) XXX_DiscardUnknown()
- func (m *QueryAllTickLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllTickLiquidityRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllTickLiquidityRequest) XXX_Size() int
- func (m *QueryAllTickLiquidityRequest) XXX_Unmarshal(b []byte) error
- type QueryAllTickLiquidityResponse
- func (*QueryAllTickLiquidityResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllTickLiquidityResponse) GetPagination() *query.PageResponse
- func (m *QueryAllTickLiquidityResponse) GetTickLiquidity() []*TickLiquidity
- func (m *QueryAllTickLiquidityResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryAllTickLiquidityResponse) MarshalBinding() ([]byte, error)
- func (m *QueryAllTickLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllTickLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllTickLiquidityResponse) ProtoMessage()
- func (m *QueryAllTickLiquidityResponse) Reset()
- func (m *QueryAllTickLiquidityResponse) Size() (n int)
- func (m *QueryAllTickLiquidityResponse) String() string
- func (m *QueryAllTickLiquidityResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllTickLiquidityResponse) XXX_DiscardUnknown()
- func (m *QueryAllTickLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllTickLiquidityResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllTickLiquidityResponse) XXX_Size() int
- func (m *QueryAllTickLiquidityResponse) XXX_Unmarshal(b []byte) error
- type QueryAllUserDepositsRequest
- func (*QueryAllUserDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllUserDepositsRequest) GetAddress() string
- func (m *QueryAllUserDepositsRequest) GetIncludePoolData() bool
- func (m *QueryAllUserDepositsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllUserDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllUserDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllUserDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllUserDepositsRequest) ProtoMessage()
- func (m *QueryAllUserDepositsRequest) Reset()
- func (m *QueryAllUserDepositsRequest) Size() (n int)
- func (m *QueryAllUserDepositsRequest) String() string
- func (m *QueryAllUserDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllUserDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryAllUserDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllUserDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllUserDepositsRequest) XXX_Size() int
- func (m *QueryAllUserDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllUserDepositsResponse
- func (*QueryAllUserDepositsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllUserDepositsResponse) GetDeposits() []*DepositRecord
- func (m *QueryAllUserDepositsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllUserDepositsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllUserDepositsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllUserDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllUserDepositsResponse) ProtoMessage()
- func (m *QueryAllUserDepositsResponse) Reset()
- func (m *QueryAllUserDepositsResponse) Size() (n int)
- func (m *QueryAllUserDepositsResponse) String() string
- func (m *QueryAllUserDepositsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllUserDepositsResponse) XXX_DiscardUnknown()
- func (m *QueryAllUserDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllUserDepositsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllUserDepositsResponse) XXX_Size() int
- func (m *QueryAllUserDepositsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEstimateMultiHopSwapRequest
- func (*QueryEstimateMultiHopSwapRequest) Descriptor() ([]byte, []int)
- func (m *QueryEstimateMultiHopSwapRequest) GetCreator() string
- func (m *QueryEstimateMultiHopSwapRequest) GetPickBestRoute() bool
- func (m *QueryEstimateMultiHopSwapRequest) GetReceiver() string
- func (m *QueryEstimateMultiHopSwapRequest) GetRoutes() []*MultiHopRoute
- func (m *QueryEstimateMultiHopSwapRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEstimateMultiHopSwapRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEstimateMultiHopSwapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEstimateMultiHopSwapRequest) ProtoMessage()
- func (m *QueryEstimateMultiHopSwapRequest) Reset()
- func (m *QueryEstimateMultiHopSwapRequest) Size() (n int)
- func (m *QueryEstimateMultiHopSwapRequest) String() string
- func (m *QueryEstimateMultiHopSwapRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEstimateMultiHopSwapRequest) XXX_DiscardUnknown()
- func (m *QueryEstimateMultiHopSwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEstimateMultiHopSwapRequest) XXX_Merge(src proto.Message)
- func (m *QueryEstimateMultiHopSwapRequest) XXX_Size() int
- func (m *QueryEstimateMultiHopSwapRequest) XXX_Unmarshal(b []byte) error
- type QueryEstimateMultiHopSwapResponse
- func (*QueryEstimateMultiHopSwapResponse) Descriptor() ([]byte, []int)
- func (m *QueryEstimateMultiHopSwapResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEstimateMultiHopSwapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEstimateMultiHopSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEstimateMultiHopSwapResponse) ProtoMessage()
- func (m *QueryEstimateMultiHopSwapResponse) Reset()
- func (m *QueryEstimateMultiHopSwapResponse) Size() (n int)
- func (m *QueryEstimateMultiHopSwapResponse) String() string
- func (m *QueryEstimateMultiHopSwapResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEstimateMultiHopSwapResponse) XXX_DiscardUnknown()
- func (m *QueryEstimateMultiHopSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEstimateMultiHopSwapResponse) XXX_Merge(src proto.Message)
- func (m *QueryEstimateMultiHopSwapResponse) XXX_Size() int
- func (m *QueryEstimateMultiHopSwapResponse) XXX_Unmarshal(b []byte) error
- type QueryEstimatePlaceLimitOrderRequest
- func (*QueryEstimatePlaceLimitOrderRequest) Descriptor() ([]byte, []int)
- func (m *QueryEstimatePlaceLimitOrderRequest) GetCreator() string
- func (m *QueryEstimatePlaceLimitOrderRequest) GetExpirationTime() *time.Time
- func (m *QueryEstimatePlaceLimitOrderRequest) GetOrderType() LimitOrderType
- func (m *QueryEstimatePlaceLimitOrderRequest) GetReceiver() string
- func (m *QueryEstimatePlaceLimitOrderRequest) GetTickIndexInToOut() int64
- func (m *QueryEstimatePlaceLimitOrderRequest) GetTokenIn() string
- func (m *QueryEstimatePlaceLimitOrderRequest) GetTokenOut() string
- func (m *QueryEstimatePlaceLimitOrderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEstimatePlaceLimitOrderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEstimatePlaceLimitOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEstimatePlaceLimitOrderRequest) ProtoMessage()
- func (m *QueryEstimatePlaceLimitOrderRequest) Reset()
- func (m *QueryEstimatePlaceLimitOrderRequest) Size() (n int)
- func (m *QueryEstimatePlaceLimitOrderRequest) String() string
- func (m *QueryEstimatePlaceLimitOrderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEstimatePlaceLimitOrderRequest) XXX_DiscardUnknown()
- func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Merge(src proto.Message)
- func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Size() int
- func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Unmarshal(b []byte) error
- type QueryEstimatePlaceLimitOrderResponse
- func (*QueryEstimatePlaceLimitOrderResponse) Descriptor() ([]byte, []int)
- func (m *QueryEstimatePlaceLimitOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEstimatePlaceLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEstimatePlaceLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEstimatePlaceLimitOrderResponse) ProtoMessage()
- func (m *QueryEstimatePlaceLimitOrderResponse) Reset()
- func (m *QueryEstimatePlaceLimitOrderResponse) Size() (n int)
- func (m *QueryEstimatePlaceLimitOrderResponse) String() string
- func (m *QueryEstimatePlaceLimitOrderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEstimatePlaceLimitOrderResponse) XXX_DiscardUnknown()
- func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Merge(src proto.Message)
- func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Size() int
- func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Unmarshal(b []byte) error
- type QueryGetInactiveLimitOrderTrancheRequest
- func (*QueryGetInactiveLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetInactiveLimitOrderTrancheRequest) GetPairId() string
- func (m *QueryGetInactiveLimitOrderTrancheRequest) GetTickIndex() int64
- func (m *QueryGetInactiveLimitOrderTrancheRequest) GetTokenIn() string
- func (m *QueryGetInactiveLimitOrderTrancheRequest) GetTrancheKey() string
- func (m *QueryGetInactiveLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetInactiveLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInactiveLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInactiveLimitOrderTrancheRequest) ProtoMessage()
- func (m *QueryGetInactiveLimitOrderTrancheRequest) Reset()
- func (m *QueryGetInactiveLimitOrderTrancheRequest) Size() (n int)
- func (m *QueryGetInactiveLimitOrderTrancheRequest) String() string
- func (m *QueryGetInactiveLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_DiscardUnknown()
- func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Size() int
- func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
- type QueryGetInactiveLimitOrderTrancheResponse
- func (*QueryGetInactiveLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetInactiveLimitOrderTrancheResponse) GetInactiveLimitOrderTranche() *LimitOrderTranche
- func (m *QueryGetInactiveLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryGetInactiveLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
- func (m *QueryGetInactiveLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetInactiveLimitOrderTrancheResponse) ProtoMessage()
- func (m *QueryGetInactiveLimitOrderTrancheResponse) Reset()
- func (m *QueryGetInactiveLimitOrderTrancheResponse) Size() (n int)
- func (m *QueryGetInactiveLimitOrderTrancheResponse) String() string
- func (m *QueryGetInactiveLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_DiscardUnknown()
- func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Size() int
- func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLimitOrderTrancheRequest
- func (*QueryGetLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLimitOrderTrancheRequest) GetPairId() string
- func (m *QueryGetLimitOrderTrancheRequest) GetTickIndex() int64
- func (m *QueryGetLimitOrderTrancheRequest) GetTokenIn() string
- func (m *QueryGetLimitOrderTrancheRequest) GetTrancheKey() string
- func (m *QueryGetLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLimitOrderTrancheRequest) ProtoMessage()
- func (m *QueryGetLimitOrderTrancheRequest) Reset()
- func (m *QueryGetLimitOrderTrancheRequest) Size() (n int)
- func (m *QueryGetLimitOrderTrancheRequest) String() string
- func (m *QueryGetLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLimitOrderTrancheRequest) XXX_DiscardUnknown()
- func (m *QueryGetLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLimitOrderTrancheRequest) XXX_Size() int
- func (m *QueryGetLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLimitOrderTrancheResponse
- func (*QueryGetLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLimitOrderTrancheResponse) GetLimitOrderTranche() *LimitOrderTranche
- func (m *QueryGetLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryGetLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
- func (m *QueryGetLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLimitOrderTrancheResponse) ProtoMessage()
- func (m *QueryGetLimitOrderTrancheResponse) Reset()
- func (m *QueryGetLimitOrderTrancheResponse) Size() (n int)
- func (m *QueryGetLimitOrderTrancheResponse) String() string
- func (m *QueryGetLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLimitOrderTrancheResponse) XXX_DiscardUnknown()
- func (m *QueryGetLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLimitOrderTrancheResponse) XXX_Size() int
- func (m *QueryGetLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLimitOrderTrancheUserRequest
- func (*QueryGetLimitOrderTrancheUserRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLimitOrderTrancheUserRequest) GetAddress() string
- func (m *QueryGetLimitOrderTrancheUserRequest) GetCalcWithdrawableShares() bool
- func (m *QueryGetLimitOrderTrancheUserRequest) GetTrancheKey() string
- func (m *QueryGetLimitOrderTrancheUserRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLimitOrderTrancheUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLimitOrderTrancheUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLimitOrderTrancheUserRequest) ProtoMessage()
- func (m *QueryGetLimitOrderTrancheUserRequest) Reset()
- func (m *QueryGetLimitOrderTrancheUserRequest) Size() (n int)
- func (m *QueryGetLimitOrderTrancheUserRequest) String() string
- func (m *QueryGetLimitOrderTrancheUserRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLimitOrderTrancheUserRequest) XXX_DiscardUnknown()
- func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Size() int
- func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLimitOrderTrancheUserResponse
- func (*QueryGetLimitOrderTrancheUserResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser() *LimitOrderTrancheUser
- func (m *QueryGetLimitOrderTrancheUserResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryGetLimitOrderTrancheUserResponse) MarshalBinding() ([]byte, error)
- func (m *QueryGetLimitOrderTrancheUserResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLimitOrderTrancheUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLimitOrderTrancheUserResponse) ProtoMessage()
- func (m *QueryGetLimitOrderTrancheUserResponse) Reset()
- func (m *QueryGetLimitOrderTrancheUserResponse) Size() (n int)
- func (m *QueryGetLimitOrderTrancheUserResponse) String() string
- func (m *QueryGetLimitOrderTrancheUserResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLimitOrderTrancheUserResponse) XXX_DiscardUnknown()
- func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Size() int
- func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPoolMetadataRequest
- func (*QueryGetPoolMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPoolMetadataRequest) GetId() uint64
- func (m *QueryGetPoolMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPoolMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPoolMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPoolMetadataRequest) ProtoMessage()
- func (m *QueryGetPoolMetadataRequest) Reset()
- func (m *QueryGetPoolMetadataRequest) Size() (n int)
- func (m *QueryGetPoolMetadataRequest) String() string
- func (m *QueryGetPoolMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPoolMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryGetPoolMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPoolMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPoolMetadataRequest) XXX_Size() int
- func (m *QueryGetPoolMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPoolMetadataResponse
- func (*QueryGetPoolMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPoolMetadataResponse) GetPoolMetadata() PoolMetadata
- func (m *QueryGetPoolMetadataResponse) Marshal() (dAtA []byte, err error)
- func (t *QueryGetPoolMetadataResponse) MarshalBinding() ([]byte, error)
- func (m *QueryGetPoolMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPoolMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPoolMetadataResponse) ProtoMessage()
- func (m *QueryGetPoolMetadataResponse) Reset()
- func (m *QueryGetPoolMetadataResponse) Size() (n int)
- func (m *QueryGetPoolMetadataResponse) String() string
- func (m *QueryGetPoolMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPoolMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryGetPoolMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPoolMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPoolMetadataResponse) XXX_Size() int
- func (m *QueryGetPoolMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPoolReservesRequest
- func (*QueryGetPoolReservesRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPoolReservesRequest) GetFee() uint64
- func (m *QueryGetPoolReservesRequest) GetPairId() string
- func (m *QueryGetPoolReservesRequest) GetTickIndex() int64
- func (m *QueryGetPoolReservesRequest) GetTokenIn() string
- func (m *QueryGetPoolReservesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPoolReservesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPoolReservesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPoolReservesRequest) ProtoMessage()
- func (m *QueryGetPoolReservesRequest) Reset()
- func (m *QueryGetPoolReservesRequest) Size() (n int)
- func (m *QueryGetPoolReservesRequest) String() string
- func (m *QueryGetPoolReservesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPoolReservesRequest) XXX_DiscardUnknown()
- func (m *QueryGetPoolReservesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPoolReservesRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPoolReservesRequest) XXX_Size() int
- func (m *QueryGetPoolReservesRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPoolReservesResponse
- func (*QueryGetPoolReservesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPoolReservesResponse) GetPoolReserves() *PoolReserves
- func (m *QueryGetPoolReservesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPoolReservesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPoolReservesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPoolReservesResponse) ProtoMessage()
- func (m *QueryGetPoolReservesResponse) Reset()
- func (m *QueryGetPoolReservesResponse) Size() (n int)
- func (m *QueryGetPoolReservesResponse) String() string
- func (m *QueryGetPoolReservesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPoolReservesResponse) XXX_DiscardUnknown()
- func (m *QueryGetPoolReservesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPoolReservesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPoolReservesResponse) XXX_Size() int
- func (m *QueryGetPoolReservesResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPoolByIDRequest
- func (*QueryPoolByIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolByIDRequest) GetPoolId() uint64
- func (m *QueryPoolByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolByIDRequest) ProtoMessage()
- func (m *QueryPoolByIDRequest) Reset()
- func (m *QueryPoolByIDRequest) Size() (n int)
- func (m *QueryPoolByIDRequest) String() string
- func (m *QueryPoolByIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolByIDRequest) XXX_DiscardUnknown()
- func (m *QueryPoolByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolByIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolByIDRequest) XXX_Size() int
- func (m *QueryPoolByIDRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolRequest
- func (*QueryPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryPoolRequest) GetFee() uint64
- func (m *QueryPoolRequest) GetPairId() string
- func (m *QueryPoolRequest) GetTickIndex() int64
- func (m *QueryPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolRequest) ProtoMessage()
- func (m *QueryPoolRequest) Reset()
- func (m *QueryPoolRequest) Size() (n int)
- func (m *QueryPoolRequest) String() string
- func (m *QueryPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPoolRequest) XXX_DiscardUnknown()
- func (m *QueryPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryPoolRequest) XXX_Size() int
- func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryPoolResponse
- func (*QueryPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryPoolResponse) GetPool() *Pool
- func (m *QueryPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPoolResponse) ProtoMessage()
- func (m *QueryPoolResponse) Reset()
- func (m *QueryPoolResponse) Size() (n int)
- func (m *QueryPoolResponse) String() string
- func (m *QueryPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPoolResponse) XXX_DiscardUnknown()
- func (m *QueryPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryPoolResponse) XXX_Size() int
- func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type TickLiquidity
- func (*TickLiquidity) Descriptor() ([]byte, []int)
- func (m *TickLiquidity) GetLimitOrderTranche() *LimitOrderTranche
- func (m *TickLiquidity) GetLiquidity() isTickLiquidity_Liquidity
- func (m *TickLiquidity) GetPoolReserves() *PoolReserves
- func (t TickLiquidity) HasToken() bool
- func (m *TickLiquidity) Marshal() (dAtA []byte, err error)
- func (m *TickLiquidity) MarshalTo(dAtA []byte) (int, error)
- func (m *TickLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (t TickLiquidity) Price() math_utils.PrecDec
- func (*TickLiquidity) ProtoMessage()
- func (m *TickLiquidity) Reset()
- func (m *TickLiquidity) Size() (n int)
- func (m *TickLiquidity) String() string
- func (t TickLiquidity) TickIndex() int64
- func (m *TickLiquidity) Unmarshal(dAtA []byte) error
- func (m *TickLiquidity) XXX_DiscardUnknown()
- func (m *TickLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickLiquidity) XXX_Merge(src proto.Message)
- func (*TickLiquidity) XXX_OneofWrappers() []interface{}
- func (m *TickLiquidity) XXX_Size() int
- func (m *TickLiquidity) XXX_Unmarshal(b []byte) error
- type TickLiquidityKey
- type TickLiquidity_LimitOrderTranche
- type TickLiquidity_PoolReserves
- type TradePairID
- func (*TradePairID) Descriptor() ([]byte, []int)
- func (m *TradePairID) GetMakerDenom() string
- func (m *TradePairID) GetTakerDenom() string
- func (p TradePairID) IsMakerDenomToken0() bool
- func (p TradePairID) IsTakerDenomToken0() bool
- func (m *TradePairID) Marshal() (dAtA []byte, err error)
- func (m *TradePairID) MarshalTo(dAtA []byte) (int, error)
- func (m *TradePairID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p TradePairID) MustPairID() *PairID
- func (p TradePairID) MustPriceTakerToMaker(tickIndexNormalized int64) (priceTakerToMaker math_utils.PrecDec)
- func (p TradePairID) PairID() (*PairID, error)
- func (p TradePairID) PriceTakerToMaker(tickIndexNormalized int64) (priceTakerToMaker math_utils.PrecDec, err error)
- func (*TradePairID) ProtoMessage()
- func (m *TradePairID) Reset()
- func (p TradePairID) Reversed() *TradePairID
- func (m *TradePairID) Size() (n int)
- func (m *TradePairID) String() string
- func (p TradePairID) TickIndexNormalized(tickIndexTakerToMaker int64) int64
- func (p TradePairID) TickIndexTakerToMaker(tickIndexNormalized int64) int64
- func (m *TradePairID) Unmarshal(dAtA []byte) error
- func (m *TradePairID) XXX_DiscardUnknown()
- func (m *TradePairID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradePairID) XXX_Merge(src proto.Message)
- func (m *TradePairID) XXX_Size() int
- func (m *TradePairID) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelLimitOrder(ctx context.Context, req *MsgCancelLimitOrder) (*MsgCancelLimitOrderResponse, error)
- func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
- func (*UnimplementedMsgServer) MultiHopSwap(ctx context.Context, req *MsgMultiHopSwap) (*MsgMultiHopSwapResponse, error)
- func (*UnimplementedMsgServer) PlaceLimitOrder(ctx context.Context, req *MsgPlaceLimitOrder) (*MsgPlaceLimitOrderResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) WithdrawFilledLimitOrder(ctx context.Context, req *MsgWithdrawFilledLimitOrder) (*MsgWithdrawFilledLimitOrderResponse, error)
- func (*UnimplementedMsgServer) Withdrawal(ctx context.Context, req *MsgWithdrawal) (*MsgWithdrawalResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) EstimateMultiHopSwap(ctx context.Context, req *QueryEstimateMultiHopSwapRequest) (*QueryEstimateMultiHopSwapResponse, error)
- func (*UnimplementedQueryServer) EstimatePlaceLimitOrder(ctx context.Context, req *QueryEstimatePlaceLimitOrderRequest) (*QueryEstimatePlaceLimitOrderResponse, error)
- func (*UnimplementedQueryServer) InactiveLimitOrderTranche(ctx context.Context, req *QueryGetInactiveLimitOrderTrancheRequest) (*QueryGetInactiveLimitOrderTrancheResponse, error)
- func (*UnimplementedQueryServer) InactiveLimitOrderTrancheAll(ctx context.Context, req *QueryAllInactiveLimitOrderTrancheRequest) (*QueryAllInactiveLimitOrderTrancheResponse, error)
- func (*UnimplementedQueryServer) LimitOrderTranche(ctx context.Context, req *QueryGetLimitOrderTrancheRequest) (*QueryGetLimitOrderTrancheResponse, error)
- func (*UnimplementedQueryServer) LimitOrderTrancheAll(ctx context.Context, req *QueryAllLimitOrderTrancheRequest) (*QueryAllLimitOrderTrancheResponse, error)
- func (*UnimplementedQueryServer) LimitOrderTrancheUser(ctx context.Context, req *QueryGetLimitOrderTrancheUserRequest) (*QueryGetLimitOrderTrancheUserResponse, error)
- func (*UnimplementedQueryServer) LimitOrderTrancheUserAll(ctx context.Context, req *QueryAllLimitOrderTrancheUserRequest) (*QueryAllLimitOrderTrancheUserResponse, error)
- func (*UnimplementedQueryServer) LimitOrderTrancheUserAllByAddress(ctx context.Context, req *QueryAllLimitOrderTrancheUserByAddressRequest) (*QueryAllLimitOrderTrancheUserByAddressResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
- func (*UnimplementedQueryServer) PoolByID(ctx context.Context, req *QueryPoolByIDRequest) (*QueryPoolResponse, error)
- func (*UnimplementedQueryServer) PoolMetadata(ctx context.Context, req *QueryGetPoolMetadataRequest) (*QueryGetPoolMetadataResponse, error)
- func (*UnimplementedQueryServer) PoolMetadataAll(ctx context.Context, req *QueryAllPoolMetadataRequest) (*QueryAllPoolMetadataResponse, error)
- func (*UnimplementedQueryServer) PoolReserves(ctx context.Context, req *QueryGetPoolReservesRequest) (*QueryGetPoolReservesResponse, error)
- func (*UnimplementedQueryServer) PoolReservesAll(ctx context.Context, req *QueryAllPoolReservesRequest) (*QueryAllPoolReservesResponse, error)
- func (*UnimplementedQueryServer) TickLiquidityAll(ctx context.Context, req *QueryAllTickLiquidityRequest) (*QueryAllTickLiquidityResponse, error)
- func (*UnimplementedQueryServer) UserDepositsAll(ctx context.Context, req *QueryAllUserDepositsRequest) (*QueryAllUserDepositsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "dex" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_dex" // TStoreKey defines the transient store key TStoreKey = "transient_dex" )
const ( // TickLiquidityKeyPrefix is the prefix to retrieve all TickLiquidity TickLiquidityKeyPrefix = "TickLiquidity/value/" // LimitOrderTrancheUserKeyPrefix is the prefix to retrieve all LimitOrderTrancheUser LimitOrderTrancheUserKeyPrefix = "LimitOrderTrancheUser/value" // InactiveLimitOrderTrancheKeyPrefix is the prefix to retrieve all InactiveLimitOrderTranche InactiveLimitOrderTrancheKeyPrefix = "InactiveLimitOrderTranche/value/" // LimitOrderExpirationKeyPrefix is the prefix to retrieve all LimitOrderExpiration LimitOrderExpirationKeyPrefix = "LimitOrderExpiration/value/" // PoolIDKeyPrefix is the prefix to retrieve all PoolIds or retrieve a specific pool by pair+tick+fee PoolIDKeyPrefix = "Pool/id/" // PoolMetadataKeyPrefix is the prefix to retrieve all PoolMetadata PoolMetadataKeyPrefix = "PoolMetadata/value/" // PoolCountKeyPrefix is the prefix to retrieve the Pool count PoolCountKeyPrefix = "Pool/count/" // ParamsKey is the prefix to retrieve params ParamsKey = "Params/value/" // JITPerBlock is the key to retrieve the number of JIT limit orders place in a single block JITsInBlockKey = "JITsInBlock/count/" )
const ( DepositEventKey = "DepositLP" DepositEventCreator = "Creator" DepositEventToken0 = "TokenZero" DepositEventToken1 = "TokenOne" DepositEventPrice = "TickIndex" DepositEventFee = "Fee" DepositEventReceiver = "Receiver" DepositEventReserves0Deposited = "ReservesZeroDeposited" DepositEventReserves1Deposited = "ReservesOneDeposited" )
Deposit Event Attributes
const ( WithdrawEventKey = "WithdrawLP" WithdrawEventCreator = "Creator" WithdrawEventToken0 = "TokenZero" WithdrawEventToken1 = "TokenOne" WithdrawEventPrice = "TickIndex" WithdrawEventFee = "Fee" WithdrawEventReceiver = "Receiver" WithdrawEventReserves0Withdrawn = "ReservesZeroWithdrawn" WithdrawEventReserves1Withdrawn = "ReservesOneWithdrawn" )
Withdraw Event Attributes
const ( MultihopSwapEventKey = "MultihopSwap" MultihopSwapEventCreator = "Creator" MultihopSwapEventReceiver = "Receiver" MultihopSwapEventTokenIn = "TokenIn" MultihopSwapEventTokenOut = "TokenOut" MultihopSwapEventAmountIn = "AmountIn" MultihopSwapEventAmountOut = "AmountOut" MultihopSwapEventRoute = "Route" MultihopSwapEventDust = "Dust" )
Multihop-Swap Event Attributes
const ( PlaceLimitOrderEventKey = "PlaceLimitOrder" PlaceLimitOrderEventCreator = "Creator" PlaceLimitOrderEventReceiver = "Receiver" PlaceLimitOrderEventToken0 = "TokenZero" PlaceLimitOrderEventToken1 = "TokenOne" PlaceLimitOrderEventTokenIn = "TokenIn" PlaceLimitOrderEventTokenOut = "TokenOut" PlaceLimitOrderEventAmountIn = "AmountIn" PlaceLimitOrderEventLimitTick = "LimitTick" PlaceLimitOrderEventOrderType = "OrderType" PlaceLimitOrderEventTrancheKey = "TrancheKey" )
Place LimitOrder Event Attributes
const ( WithdrawFilledLimitOrderEventKey = "WithdrawLimitOrder" WithdrawFilledLimitOrderEventCreator = "Creator" WithdrawFilledLimitOrderEventToken0 = "TokenZero" WithdrawFilledLimitOrderEventToken1 = "TokenOne" WithdrawFilledLimitOrderEventTokenIn = "TokenIn" WithdrawFilledLimitOrderEventTokenOut = "TokenOut" WithdrawFilledLimitOrderEventTrancheKey = "TrancheKey" WithdrawFilledLimitOrderEventAmountOut = "AmountOut" )
Withdraw LimitOrder Event Attributes
const ( CancelLimitOrderEventKey = "CancelLimitOrder" CancelLimitOrderEventCreator = "Creator" CancelLimitOrderEventToken0 = "TokenZero" CancelLimitOrderEventToken1 = "TokenOne" CancelLimitOrderEventTokenIn = "TokenIn" CancelLimitOrderEventTokenOut = "TokenOut" CancelLimitOrderEventTrancheKey = "TrancheKey" CancelLimitOrderEventAmountOut = "AmountOut" )
Cancel LimitOrder Event Attributes
const ( EventTypeTickUpdate = "TickUpdate" TickUpdateEventKey = "TickUpdate" TickUpdateEventToken0 = "TokenZero" TickUpdateEventToken1 = "TokenOne" TickUpdateEventTokenIn = "TokenIn" TickUpdateEventTickIndex = "TickIndex" TickUpdateEventFee = "Fee" TickUpdateEventTrancheKey = "TrancheKey" TickUpdateEventReserves = "Reserves" )
Tick Update Event Attributes
const ( EventTypeGoodTilPurgeHitGasLimit = "GoodTilPurgeHitGasLimit" GoodTilPurgeHitGasLimitEventGas = "Gas" )
const ( // NOTE: have to add letter so that LP deposits are indexed ahead of LimitOrders LiquidityTypePoolReserves = "A_PoolDeposit" LiquidityTypeLimitOrder = "B_LODeposit" )
const ( PoolDenomPrefix = "neutron/pool/" PoolDenomRegexpStr = "^" + PoolDenomPrefix + `(\d+)` + "$" )
const ( // NOTE: 559_680 is the highest possible tick at which price can be calculated with a < 1% error // when using 27 digit decimal precision (via prec_dec). // The error rate for very negative ticks approaches zero, so there is no concern there MaxTickExp uint64 = 559_680 MinPrice string = "0.000000000000000000000000495" MaxPrice string = "2020125331305056766452345.127500016657360222036663651" )
const ( // EventTypeNeutronMessage defines the event type used by the Interchain Queries module events. EventTypeNeutronMessage = "neutron" AttributeDenom = "denom" AttributeWithdrawn = "total_withdrawn" AttributeGasConsumed = "gas_consumed" AttributeLiquidityTickType = "liquidity_tick_type" AttributeLp = "lp" AttributeLimitOrder = "limit_order" AttributeIsExpiringLimitOrder = "is_expiring_limit_order" AttributeInc = "inc" AttributeDec = "dec" AttributePairID = "pair_id" )
const ConsensusVersion = 4
const (
ExpiringLimitOrderGas = 10_000
)
const TypeMsgCancelLimitOrder = "cancel_limit_order"
const TypeMsgDeposit = "deposit"
const TypeMsgMultiHopSwap = "multi_hop_swap"
const TypeMsgPlaceLimitOrder = "place_limit_order"
const TypeMsgUpdateParams = "update-params"
const TypeMsgWithdrawFilledLimitOrder = "withdrawal_withdrawn_limit_order"
const TypeMsgWithdrawal = "withdrawal"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthDepositRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDepositRecord = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDepositRecord = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidTradingPair = sdkerrors.Register( ModuleName, 1102, "Invalid token pair:", ) // "%s<>%s", tokenA, tokenB ModuleName, 1104, "Insufficient shares:", ) // "%s does not have %s shares of type %s", address, shares, sharesID ErrUnbalancedTxArray = sdkerrors.Register( ModuleName, 1110, "Transaction input arrays are not of the same length.", ) ErrValidLimitOrderTrancheNotFound = sdkerrors.Register( ModuleName, 1111, "Limit order trache not found:", ) // "%d", trancheKey ErrCancelEmptyLimitOrder = sdkerrors.Register( ModuleName, 1112, "Cannot cancel additional liquidity from limit order tranche:", ) // "%d", tranche.TrancheKey ErrTickOutsideRange = sdkerrors.Register( ModuleName, 1117, "abs(tick) + fee must be < 559,680", ) ErrInvalidPoolDenom = sdkerrors.Register( ModuleName, 1118, "Denom is not an instance of Neutron PoolDenom", ) ErrInvalidPairIDStr = sdkerrors.Register( ModuleName, 1119, "PairID does not conform to pattern TokenA<>TokenB", ) ErrZeroDeposit = sdkerrors.Register( ModuleName, 1120, "At least one deposit amount must be > 0.", ) ErrZeroTrueDeposit = sdkerrors.Register( ModuleName, 1121, "Cannot deposit double-sided liquidity in tick with prexisting single-sided liquidity.", ) ErrWithdrawEmptyLimitOrder = sdkerrors.Register( ModuleName, 1124, "Cannot withdraw additional liqudity from this limit order at this time.", ) ErrZeroSwap = sdkerrors.Register( ModuleName, 1125, "MaxAmountIn in must be > 0 for swap.", ) ErrActiveLimitOrderNotFound = sdkerrors.Register( ModuleName, 1128, "No active limit found. It does not exist or has already been filled", ) ErrZeroWithdraw = sdkerrors.Register( ModuleName, 1129, "Withdraw amount must be > 0.", ) ErrZeroLimitOrder = sdkerrors.Register( ModuleName, 1130, "Limit order amount must be > 0.", ) ModuleName, 1133, "Deposit amount is too small to issue shares", ) ErrFoKLimitOrderNotFilled = sdkerrors.Register( ModuleName, 1134, "Fill Or Kill limit order couldn't be executed in its entirety.", ) ErrInvalidTimeString = sdkerrors.Register( ModuleName, 1135, "Time string must be formatted as MM/dd/yyyy HH:mm:ss (ex. 02/05/2023 15:34:56) ", ) ErrGoodTilOrderWithoutExpiration = sdkerrors.Register( ModuleName, 1136, "Limit orders of type GOOD_TIL_TIME must supply an ExpirationTime.", ) ErrExpirationOnWrongOrderType = sdkerrors.Register( ModuleName, 1137, "Only Limit orders of type GOOD_TIL_TIME can supply an ExpirationTime.", ) ErrInvalidOrderType = sdkerrors.Register( ModuleName, 1138, "Order type must be one of: GOOD_TIL_CANCELLED, FILL_OR_KILL, IMMEDIATE_OR_CANCEL, JUST_IN_TIME, or GOOD_TIL_TIME.", ) ErrExpirationTimeInPast = sdkerrors.Register( ModuleName, 1139, "Limit order expiration time must be greater than current block time:", ) ErrAllMultiHopRoutesFailed = sdkerrors.Register( ModuleName, 1141, "All multihop routes failed limitPrice check or had insufficient liquidity", ) ErrMultihopExitTokensMismatch = sdkerrors.Register( ModuleName, 1142, "All multihop routes must have the same exit token", ) ErrMissingMultihopRoute = sdkerrors.Register( ModuleName, 1143, "Must supply at least 1 route for multihop swap", ) ErrZeroMaxAmountOut = sdkerrors.Register( ModuleName, 1144, "MaxAmountOut must be nil or > 0.", ) ErrInvalidMaxAmountOutForMaker = sdkerrors.Register( ModuleName, 1145, "MaxAmountOut can only be set for taker only limit orders.", ) ErrInvalidFee = sdkerrors.Register( ModuleName, 1148, "Fee must must a legal fee amount:", ) ErrInvalidAddress = sdkerrors.Register( ModuleName, 1149, "Invalid Address", ) ErrRouteWithoutExitToken = sdkerrors.Register( ModuleName, 1150, "Each route should specify at least two hops - input and output tokens", ) ErrCycleInHops = sdkerrors.Register( ModuleName, 1151, "Hops cannot have cycles", ) ErrZeroExitPrice = sdkerrors.Register( ModuleName, 1152, "Cannot have negative or zero exit price", ) ErrDuplicatePoolDeposit = sdkerrors.Register( ModuleName, 1153, "Can only provide a single deposit amount for each tick, fee pair", ) ErrLimitPriceNotSatisfied = sdkerrors.Register( ModuleName, 1154, "Trade cannot be filled at the specified LimitPrice", ) ErrDexPaused = sdkerrors.Register( ModuleName, 1155, "Dex has been paused, all messages are disabled at this time", ) ErrOverJITPerBlockLimit = sdkerrors.Register( ModuleName, 1156, "Maximum JIT LimitOrders per block has already been reached", ) ErrInvalidDenom = sdkerrors.Register( ModuleName, 1157, "Invalid token denom", ) ErrMultihopEntryTokensMismatch = sdkerrors.Register( ModuleName, 1158, "MultihopSwap starting tokens for each route must be the same", ) ErrTradeTooSmall = sdkerrors.Register( ModuleName, 1159, "Specified trade will result in a rounded output of 0", ) ErrPriceOutsideRange = sdkerrors.Register( ModuleName, 1160, "Invalid price; 0.00000000000000000000000050 < PRICE > 2020125331305056766451886.728", ) ErrInvalidPriceAndTick = sdkerrors.Register( ModuleName, 1161, "Only LimitSellPrice or TickIndexInToOut should be specified", ) ErrDepositBehindEnemyLines = sdkerrors.Register( ModuleName, 1162, "Cannot deposit at a price below the opposing token's current price", ) ErrCalcTickFromPrice = sdkerrors.Register( ModuleName, 1163, "Cannot convert price to int64 tick value", ) )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLimitOrderExpiration = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLimitOrderExpiration = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLimitOrderExpiration = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLimitOrderTranche = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLimitOrderTranche = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLimitOrderTranche = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLimitOrderTrancheUser = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLimitOrderTrancheUser = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLimitOrderTrancheUser = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPairId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPairId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPairId = fmt.Errorf("proto: unexpected end of group") )
var ( KeyFeeTiers = []byte("FeeTiers") DefaultFeeTiers = []uint64{0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 150, 200} KeyPaused = []byte("Paused") DefaultPaused = false KeyMaxJITsPerBlock = []byte("MaxJITs") DefaultMaxJITsPerBlock uint64 = 25 KeyGoodTilPurgeAllowance = []byte("PurgeAllowance") DefaultGoodTilPurgeAllowance uint64 = 540_000 )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPoolMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPoolMetadata = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPoolMetadata = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPoolReserves = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPoolReserves = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPoolReserves = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTickLiquidity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTickLiquidity = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTickLiquidity = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTradePairId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTradePairId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTradePairId = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var LimitOrderType_name = map[int32]string{
0: "GOOD_TIL_CANCELLED",
1: "FILL_OR_KILL",
2: "IMMEDIATE_OR_CANCEL",
3: "JUST_IN_TIME",
4: "GOOD_TIL_TIME",
}
var LimitOrderType_value = map[string]int32{
"GOOD_TIL_CANCELLED": 0,
"FILL_OR_KILL": 1,
"IMMEDIATE_OR_CANCEL": 2,
"JUST_IN_TIME": 3,
"GOOD_TIL_TIME": 4,
}
var PoolDenomRegexp = regexp.MustCompile(PoolDenomRegexpStr)
var PrecomputedPrices []math_utils.PrecDec
Functions ¶
func BinarySearchPriceToTick ¶
func BinarySearchPriceToTick(price math_utils.PrecDec) uint64
func BytesToTickIndex ¶
func CalcAmountAsToken0 ¶
func CalcAmountAsToken0(amount0, amount1 math.Int, price1To0 math_utils.PrecDec) math_utils.PrecDec
func CalcGreatestMatchingRatio ¶
func CalcGreatestMatchingRatio( targetAmount0 math.Int, targetAmount1 math.Int, amount0 math.Int, amount1 math.Int, ) (resultAmount0, resultAmount1 math.Int)
Balance trueAmount1 to the pool ratio
func CalcPrice ¶
func CalcPrice(relativeTickIndex int64) (math_utils.PrecDec, error)
Calculates the price for a swap from token 0 to token 1 given a relative tick tickIndex refers to the index of a specified tick such that x * 1.0001 ^(-1 * t) = y Lower ticks offer better prices.
func CalcResidualValue ¶
func CalcResidualValue( amount0, amount1 math.Int, priceLowerTakerToMaker math_utils.PrecDec, fee int64, ) (math_utils.PrecDec, error)
func CalcTickIndexFromPrice ¶
func CalcTickIndexFromPrice(price math_utils.PrecDec) (int64, error)
func CancelLimitOrderEvent ¶
func CreateDepositEvent ¶
func CreateMultihopSwapEvent ¶
func CreateTickUpdateLimitOrderTranche ¶
func CreateTickUpdateLimitOrderTranche(tranche *LimitOrderTranche) sdk.Event
func CreateTickUpdateLimitOrderTranchePurge ¶
func CreateTickUpdateLimitOrderTranchePurge(tranche *LimitOrderTranche) sdk.Event
func CreateTickUpdatePoolReserves ¶
func CreateTickUpdatePoolReserves(tick PoolReserves) sdk.Event
func CreateWithdrawEvent ¶
func GetEventsDecExpiringOrders ¶
func GetEventsDecExpiringOrders(pairID *TradePairID) sdk.Events
func GetEventsDecTotalOrders ¶
func GetEventsDecTotalOrders(pairID *TradePairID) sdk.Events
func GetEventsIncExpiringOrders ¶
func GetEventsIncExpiringOrders(pairID *TradePairID) sdk.Events
func GetEventsIncTotalOrders ¶
func GetEventsIncTotalOrders(pairID *TradePairID) sdk.Events
func IsPriceOutOfRange ¶
func IsPriceOutOfRange(price math_utils.PrecDec) bool
func IsTickOutOfRange ¶
func JITGoodTilTime ¶
func LimitOrderExpirationKey ¶
func LimitOrderTrancheUserKey ¶
LimitOrderTrancheUserKey returns the store key to retrieve a LimitOrderTrancheUser from the index fields
func MustCalcPrice ¶
func MustCalcPrice(relativeTickIndex int64) math_utils.PrecDec
func NewDexDenomMintCoinsRestriction ¶
func NewDexDenomMintCoinsRestriction() types.MintingRestrictionFn
NewDexMintCoinsRestriction creates and returns a BankMintingRestrictionFn that only allows minting of valid pool denoms
func NewPoolDenom ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func ParsePoolIDFromDenom ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SortTokens ¶
func TickIndexToBytes ¶
func TickLiquidityLimitOrderPrefix ¶
func TickLiquidityLimitOrderPrefix( tradePairID *TradePairID, tickIndexTakerTomMaker int64, ) []byte
func TickLiquidityPrefix ¶
func TickLiquidityPrefix(tradePairID *TradePairID) []byte
func TickUpdateEvent ¶
func ValidateFairOutput ¶
func ValidateFairOutput(amountIn math.Int, price math_utils.PrecDec) error
func ValidatePoolDenom ¶
func ValidateTickFee ¶
Types ¶
type BankKeeper ¶
type BankKeeper interface { // Methods imported from bank should be defined here SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error IterateAccountBalances(ctx context.Context, addr sdk.AccAddress, cb func(sdk.Coin) bool) GetSupply(ctx context.Context, denom string) sdk.Coin }
BankKeeper defines the expected interface needed to retrieve account balances.
type BranchableCache ¶
type BranchableCache struct { Parent *BranchableCache Ctx sdk.Context // contains filtered or unexported fields }
func NewBranchableCache ¶
func NewBranchableCache(ctx sdk.Context) *BranchableCache
func (*BranchableCache) Branch ¶
func (bc *BranchableCache) Branch() *BranchableCache
func (*BranchableCache) WriteCache ¶
func (bc *BranchableCache) WriteCache()
type DepositOptions ¶
type DepositOptions struct { DisableAutoswap bool `protobuf:"varint,1,opt,name=disable_autoswap,json=disableAutoswap,proto3" json:"disable_autoswap,omitempty"` FailTxOnBel bool `protobuf:"varint,2,opt,name=fail_tx_on_bel,json=failTxOnBel,proto3" json:"fail_tx_on_bel,omitempty"` }
func (*DepositOptions) Descriptor ¶
func (*DepositOptions) Descriptor() ([]byte, []int)
func (*DepositOptions) GetDisableAutoswap ¶
func (m *DepositOptions) GetDisableAutoswap() bool
func (*DepositOptions) GetFailTxOnBel ¶
func (m *DepositOptions) GetFailTxOnBel() bool
func (*DepositOptions) Marshal ¶
func (m *DepositOptions) Marshal() (dAtA []byte, err error)
func (*DepositOptions) MarshalToSizedBuffer ¶
func (m *DepositOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DepositOptions) ProtoMessage ¶
func (*DepositOptions) ProtoMessage()
func (*DepositOptions) Reset ¶
func (m *DepositOptions) Reset()
func (*DepositOptions) Size ¶
func (m *DepositOptions) Size() (n int)
func (*DepositOptions) String ¶
func (m *DepositOptions) String() string
func (*DepositOptions) Unmarshal ¶
func (m *DepositOptions) Unmarshal(dAtA []byte) error
func (*DepositOptions) XXX_DiscardUnknown ¶
func (m *DepositOptions) XXX_DiscardUnknown()
func (*DepositOptions) XXX_Marshal ¶
func (m *DepositOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositOptions) XXX_Merge ¶
func (m *DepositOptions) XXX_Merge(src proto.Message)
func (*DepositOptions) XXX_Size ¶
func (m *DepositOptions) XXX_Size() int
func (*DepositOptions) XXX_Unmarshal ¶
func (m *DepositOptions) XXX_Unmarshal(b []byte) error
type DepositRecord ¶
type DepositRecord struct { PairId *PairID `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` CenterTickIndex int64 `protobuf:"varint,3,opt,name=center_tick_index,json=centerTickIndex,proto3" json:"center_tick_index,omitempty"` LowerTickIndex int64 `protobuf:"varint,4,opt,name=lower_tick_index,json=lowerTickIndex,proto3" json:"lower_tick_index,omitempty"` UpperTickIndex int64 `protobuf:"varint,5,opt,name=upper_tick_index,json=upperTickIndex,proto3" json:"upper_tick_index,omitempty"` Fee uint64 `protobuf:"varint,6,opt,name=fee,proto3" json:"fee,omitempty"` Pool *Pool `protobuf:"bytes,8,opt,name=pool,proto3" json:"pool,omitempty"` }
func (*DepositRecord) Descriptor ¶
func (*DepositRecord) Descriptor() ([]byte, []int)
func (*DepositRecord) GetCenterTickIndex ¶
func (m *DepositRecord) GetCenterTickIndex() int64
func (*DepositRecord) GetFee ¶
func (m *DepositRecord) GetFee() uint64
func (*DepositRecord) GetLowerTickIndex ¶
func (m *DepositRecord) GetLowerTickIndex() int64
func (*DepositRecord) GetPairId ¶
func (m *DepositRecord) GetPairId() *PairID
func (*DepositRecord) GetPool ¶
func (m *DepositRecord) GetPool() *Pool
func (*DepositRecord) GetUpperTickIndex ¶
func (m *DepositRecord) GetUpperTickIndex() int64
func (*DepositRecord) Marshal ¶
func (m *DepositRecord) Marshal() (dAtA []byte, err error)
func (*DepositRecord) MarshalToSizedBuffer ¶
func (m *DepositRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DepositRecord) ProtoMessage ¶
func (*DepositRecord) ProtoMessage()
func (*DepositRecord) Reset ¶
func (m *DepositRecord) Reset()
func (*DepositRecord) Size ¶
func (m *DepositRecord) Size() (n int)
func (*DepositRecord) String ¶
func (m *DepositRecord) String() string
func (*DepositRecord) Unmarshal ¶
func (m *DepositRecord) Unmarshal(dAtA []byte) error
func (*DepositRecord) XXX_DiscardUnknown ¶
func (m *DepositRecord) XXX_DiscardUnknown()
func (*DepositRecord) XXX_Marshal ¶
func (m *DepositRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositRecord) XXX_Merge ¶
func (m *DepositRecord) XXX_Merge(src proto.Message)
func (*DepositRecord) XXX_Size ¶
func (m *DepositRecord) XXX_Size() int
func (*DepositRecord) XXX_Unmarshal ¶
func (m *DepositRecord) XXX_Unmarshal(b []byte) error
type FailedDeposit ¶
type FailedDeposit struct { DepositIdx uint64 `protobuf:"varint,1,opt,name=deposit_idx,json=depositIdx,proto3" json:"deposit_idx,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
func (*FailedDeposit) Descriptor ¶
func (*FailedDeposit) Descriptor() ([]byte, []int)
func (*FailedDeposit) GetDepositIdx ¶
func (m *FailedDeposit) GetDepositIdx() uint64
func (*FailedDeposit) GetError ¶
func (m *FailedDeposit) GetError() string
func (*FailedDeposit) Marshal ¶
func (m *FailedDeposit) Marshal() (dAtA []byte, err error)
func (*FailedDeposit) MarshalToSizedBuffer ¶
func (m *FailedDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FailedDeposit) ProtoMessage ¶
func (*FailedDeposit) ProtoMessage()
func (*FailedDeposit) Reset ¶
func (m *FailedDeposit) Reset()
func (*FailedDeposit) Size ¶
func (m *FailedDeposit) Size() (n int)
func (*FailedDeposit) String ¶
func (m *FailedDeposit) String() string
func (*FailedDeposit) Unmarshal ¶
func (m *FailedDeposit) Unmarshal(dAtA []byte) error
func (*FailedDeposit) XXX_DiscardUnknown ¶
func (m *FailedDeposit) XXX_DiscardUnknown()
func (*FailedDeposit) XXX_Marshal ¶
func (m *FailedDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FailedDeposit) XXX_Merge ¶
func (m *FailedDeposit) XXX_Merge(src proto.Message)
func (*FailedDeposit) XXX_Size ¶
func (m *FailedDeposit) XXX_Size() int
func (*FailedDeposit) XXX_Unmarshal ¶
func (m *FailedDeposit) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` TickLiquidityList []*TickLiquidity `protobuf:"bytes,2,rep,name=tick_liquidity_list,json=tickLiquidityList,proto3" json:"tick_liquidity_list,omitempty"` InactiveLimitOrderTrancheList []*LimitOrderTranche `` /* 154-byte string literal not displayed */ LimitOrderTrancheUserList []*LimitOrderTrancheUser `` /* 142-byte string literal not displayed */ PoolMetadataList []PoolMetadata `protobuf:"bytes,5,rep,name=pool_metadata_list,json=poolMetadataList,proto3" json:"pool_metadata_list"` PoolCount uint64 `protobuf:"varint,6,opt,name=pool_count,json=poolCount,proto3" json:"pool_count,omitempty"` }
GenesisState defines the dex module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetInactiveLimitOrderTrancheList ¶
func (m *GenesisState) GetInactiveLimitOrderTrancheList() []*LimitOrderTranche
func (*GenesisState) GetLimitOrderTrancheUserList ¶
func (m *GenesisState) GetLimitOrderTrancheUserList() []*LimitOrderTrancheUser
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPoolCount ¶
func (m *GenesisState) GetPoolCount() uint64
func (*GenesisState) GetPoolMetadataList ¶
func (m *GenesisState) GetPoolMetadataList() []PoolMetadata
func (*GenesisState) GetTickLiquidityList ¶
func (m *GenesisState) GetTickLiquidityList() []*TickLiquidity
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type LimitOrderExpiration ¶
type LimitOrderExpiration struct { // see limitOrderTranche.proto for details on expiration_time ExpirationTime time.Time `protobuf:"bytes,1,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time"` TrancheRef []byte `protobuf:"bytes,2,opt,name=tranche_ref,json=trancheRef,proto3" json:"tranche_ref,omitempty"` }
func (*LimitOrderExpiration) Descriptor ¶
func (*LimitOrderExpiration) Descriptor() ([]byte, []int)
func (*LimitOrderExpiration) GetExpirationTime ¶
func (m *LimitOrderExpiration) GetExpirationTime() time.Time
func (*LimitOrderExpiration) GetTrancheRef ¶
func (m *LimitOrderExpiration) GetTrancheRef() []byte
func (*LimitOrderExpiration) Marshal ¶
func (m *LimitOrderExpiration) Marshal() (dAtA []byte, err error)
func (*LimitOrderExpiration) MarshalTo ¶
func (m *LimitOrderExpiration) MarshalTo(dAtA []byte) (int, error)
func (*LimitOrderExpiration) MarshalToSizedBuffer ¶
func (m *LimitOrderExpiration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LimitOrderExpiration) ProtoMessage ¶
func (*LimitOrderExpiration) ProtoMessage()
func (*LimitOrderExpiration) Reset ¶
func (m *LimitOrderExpiration) Reset()
func (*LimitOrderExpiration) Size ¶
func (m *LimitOrderExpiration) Size() (n int)
func (*LimitOrderExpiration) String ¶
func (m *LimitOrderExpiration) String() string
func (*LimitOrderExpiration) Unmarshal ¶
func (m *LimitOrderExpiration) Unmarshal(dAtA []byte) error
func (*LimitOrderExpiration) XXX_DiscardUnknown ¶
func (m *LimitOrderExpiration) XXX_DiscardUnknown()
func (*LimitOrderExpiration) XXX_Marshal ¶
func (m *LimitOrderExpiration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitOrderExpiration) XXX_Merge ¶
func (m *LimitOrderExpiration) XXX_Merge(src proto.Message)
func (*LimitOrderExpiration) XXX_Size ¶
func (m *LimitOrderExpiration) XXX_Size() int
func (*LimitOrderExpiration) XXX_Unmarshal ¶
func (m *LimitOrderExpiration) XXX_Unmarshal(b []byte) error
type LimitOrderTranche ¶
type LimitOrderTranche struct { Key *LimitOrderTrancheKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ReservesMakerDenom cosmossdk_io_math.Int `` /* 168-byte string literal not displayed */ ReservesTakerDenom cosmossdk_io_math.Int `` /* 168-byte string literal not displayed */ TotalMakerDenom cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */ TotalTakerDenom cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */ // JIT orders also use expiration_time to handle deletion but represent a special case // All JIT orders have a expiration_time of 0 and an exception is made to still treat these orders as live // Order deletion still functions the same and the orders will be deleted at the end of the block ExpirationTime *time.Time `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"` PriceTakerToMaker github_com_neutron_org_neutron_v4_utils_math.PrecDec `` /* 198-byte string literal not displayed */ }
func MustNewLimitOrderTranche ¶
func MustNewLimitOrderTranche( makerDenom string, takerDenom string, trancheKey string, tickIndex int64, reservesMakerDenom math.Int, reservesTakerDenom math.Int, totalMakerDenom math.Int, totalTakerDenom math.Int, expirationTime ...time.Time, ) *LimitOrderTranche
Useful for testing
func NewLimitOrderTranche ¶
func (LimitOrderTranche) AmountUnfilled ¶
func (t LimitOrderTranche) AmountUnfilled() math_utils.PrecDec
func (*LimitOrderTranche) CalcWithdrawAmount ¶
func (t *LimitOrderTranche) CalcWithdrawAmount(trancheUser *LimitOrderTrancheUser) (sharesToWithdraw, tokenOut math.Int)
func (*LimitOrderTranche) Descriptor ¶
func (*LimitOrderTranche) Descriptor() ([]byte, []int)
func (*LimitOrderTranche) GetExpirationTime ¶
func (m *LimitOrderTranche) GetExpirationTime() *time.Time
func (*LimitOrderTranche) GetKey ¶
func (m *LimitOrderTranche) GetKey() *LimitOrderTrancheKey
func (LimitOrderTranche) HasExpiration ¶
func (t LimitOrderTranche) HasExpiration() bool
func (LimitOrderTranche) HasLiquidity ¶
func (t LimitOrderTranche) HasLiquidity() bool
func (LimitOrderTranche) HasTokenIn ¶
func (t LimitOrderTranche) HasTokenIn() bool
func (LimitOrderTranche) HasTokenOut ¶
func (t LimitOrderTranche) HasTokenOut() bool
func (LimitOrderTranche) IsFilled ¶
func (t LimitOrderTranche) IsFilled() bool
func (LimitOrderTranche) IsJIT ¶
func (t LimitOrderTranche) IsJIT() bool
func (LimitOrderTranche) IsPlaceTranche ¶
func (t LimitOrderTranche) IsPlaceTranche() bool
func (*LimitOrderTranche) Marshal ¶
func (m *LimitOrderTranche) Marshal() (dAtA []byte, err error)
func (*LimitOrderTranche) MarshalTo ¶
func (m *LimitOrderTranche) MarshalTo(dAtA []byte) (int, error)
func (*LimitOrderTranche) MarshalToSizedBuffer ¶
func (m *LimitOrderTranche) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LimitOrderTranche) PlaceMakerLimitOrder ¶
func (t *LimitOrderTranche) PlaceMakerLimitOrder(amountIn math.Int)
func (LimitOrderTranche) Price ¶
func (t LimitOrderTranche) Price() math_utils.PrecDec
func (*LimitOrderTranche) ProtoMessage ¶
func (*LimitOrderTranche) ProtoMessage()
func (LimitOrderTranche) RatioFilled ¶
func (t LimitOrderTranche) RatioFilled() math_utils.PrecDec
func (*LimitOrderTranche) RemoveTokenIn ¶
func (t *LimitOrderTranche) RemoveTokenIn( trancheUser *LimitOrderTrancheUser, ) (amountToRemove math.Int)
func (*LimitOrderTranche) Reset ¶
func (m *LimitOrderTranche) Reset()
func (*LimitOrderTranche) Size ¶
func (m *LimitOrderTranche) Size() (n int)
func (*LimitOrderTranche) String ¶
func (m *LimitOrderTranche) String() string
func (LimitOrderTranche) ToBinding ¶
func (t LimitOrderTranche) ToBinding() LimitOrderTrancheBinding
func (*LimitOrderTranche) Unmarshal ¶
func (m *LimitOrderTranche) Unmarshal(dAtA []byte) error
func (*LimitOrderTranche) Withdraw ¶
func (t *LimitOrderTranche) Withdraw(trancheUser *LimitOrderTrancheUser) (sharesWithdrawn, tokenOut math.Int)
func (*LimitOrderTranche) XXX_DiscardUnknown ¶
func (m *LimitOrderTranche) XXX_DiscardUnknown()
func (*LimitOrderTranche) XXX_Marshal ¶
func (m *LimitOrderTranche) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitOrderTranche) XXX_Merge ¶
func (m *LimitOrderTranche) XXX_Merge(src proto.Message)
func (*LimitOrderTranche) XXX_Size ¶
func (m *LimitOrderTranche) XXX_Size() int
func (*LimitOrderTranche) XXX_Unmarshal ¶
func (m *LimitOrderTranche) XXX_Unmarshal(b []byte) error
type LimitOrderTrancheBinding ¶
type LimitOrderTrancheBinding struct { LimitOrderTranche ExpirationTime *uint64 `json:"expiration_time,omitempty"` }
type LimitOrderTrancheKey ¶
type LimitOrderTrancheKey struct { TradePairId *TradePairID `protobuf:"bytes,1,opt,name=trade_pair_id,json=tradePairId,proto3" json:"trade_pair_id,omitempty"` TickIndexTakerToMaker int64 `` /* 131-byte string literal not displayed */ TrancheKey string `protobuf:"bytes,3,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` }
func (*LimitOrderTrancheKey) Descriptor ¶
func (*LimitOrderTrancheKey) Descriptor() ([]byte, []int)
func (*LimitOrderTrancheKey) GetTickIndexTakerToMaker ¶
func (m *LimitOrderTrancheKey) GetTickIndexTakerToMaker() int64
func (*LimitOrderTrancheKey) GetTradePairId ¶
func (m *LimitOrderTrancheKey) GetTradePairId() *TradePairID
func (*LimitOrderTrancheKey) GetTrancheKey ¶
func (m *LimitOrderTrancheKey) GetTrancheKey() string
func (LimitOrderTrancheKey) KeyMarshal ¶
func (p LimitOrderTrancheKey) KeyMarshal() []byte
func (*LimitOrderTrancheKey) Marshal ¶
func (m *LimitOrderTrancheKey) Marshal() (dAtA []byte, err error)
func (*LimitOrderTrancheKey) MarshalTo ¶
func (m *LimitOrderTrancheKey) MarshalTo(dAtA []byte) (int, error)
func (*LimitOrderTrancheKey) MarshalToSizedBuffer ¶
func (m *LimitOrderTrancheKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (LimitOrderTrancheKey) MustPriceTakerToMaker ¶
func (p LimitOrderTrancheKey) MustPriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec)
func (LimitOrderTrancheKey) PriceTakerToMaker ¶
func (p LimitOrderTrancheKey) PriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec, err error)
func (*LimitOrderTrancheKey) ProtoMessage ¶
func (*LimitOrderTrancheKey) ProtoMessage()
func (*LimitOrderTrancheKey) Reset ¶
func (m *LimitOrderTrancheKey) Reset()
func (*LimitOrderTrancheKey) Size ¶
func (m *LimitOrderTrancheKey) Size() (n int)
func (*LimitOrderTrancheKey) String ¶
func (m *LimitOrderTrancheKey) String() string
func (*LimitOrderTrancheKey) Unmarshal ¶
func (m *LimitOrderTrancheKey) Unmarshal(dAtA []byte) error
func (*LimitOrderTrancheKey) XXX_DiscardUnknown ¶
func (m *LimitOrderTrancheKey) XXX_DiscardUnknown()
func (*LimitOrderTrancheKey) XXX_Marshal ¶
func (m *LimitOrderTrancheKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitOrderTrancheKey) XXX_Merge ¶
func (m *LimitOrderTrancheKey) XXX_Merge(src proto.Message)
func (*LimitOrderTrancheKey) XXX_Size ¶
func (m *LimitOrderTrancheKey) XXX_Size() int
func (*LimitOrderTrancheKey) XXX_Unmarshal ¶
func (m *LimitOrderTrancheKey) XXX_Unmarshal(b []byte) error
type LimitOrderTrancheUser ¶
type LimitOrderTrancheUser struct { TradePairId *TradePairID `protobuf:"bytes,1,opt,name=trade_pair_id,json=tradePairId,proto3" json:"trade_pair_id,omitempty"` TickIndexTakerToMaker int64 `` /* 131-byte string literal not displayed */ TrancheKey string `protobuf:"bytes,3,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // TODO: remove this in next release. It is no longer used OrderType LimitOrderType `protobuf:"varint,8,opt,name=order_type,json=orderType,proto3,enum=neutron.dex.LimitOrderType" json:"order_type,omitempty"` }
func (*LimitOrderTrancheUser) Descriptor ¶
func (*LimitOrderTrancheUser) Descriptor() ([]byte, []int)
func (*LimitOrderTrancheUser) GetAddress ¶
func (m *LimitOrderTrancheUser) GetAddress() string
func (*LimitOrderTrancheUser) GetOrderType ¶
func (m *LimitOrderTrancheUser) GetOrderType() LimitOrderType
func (*LimitOrderTrancheUser) GetTickIndexTakerToMaker ¶
func (m *LimitOrderTrancheUser) GetTickIndexTakerToMaker() int64
func (*LimitOrderTrancheUser) GetTradePairId ¶
func (m *LimitOrderTrancheUser) GetTradePairId() *TradePairID
func (*LimitOrderTrancheUser) GetTrancheKey ¶
func (m *LimitOrderTrancheUser) GetTrancheKey() string
func (LimitOrderTrancheUser) IsEmpty ¶
func (l LimitOrderTrancheUser) IsEmpty() bool
func (*LimitOrderTrancheUser) Marshal ¶
func (m *LimitOrderTrancheUser) Marshal() (dAtA []byte, err error)
func (*LimitOrderTrancheUser) MarshalTo ¶
func (m *LimitOrderTrancheUser) MarshalTo(dAtA []byte) (int, error)
func (*LimitOrderTrancheUser) MarshalToSizedBuffer ¶
func (m *LimitOrderTrancheUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LimitOrderTrancheUser) ProtoMessage ¶
func (*LimitOrderTrancheUser) ProtoMessage()
func (*LimitOrderTrancheUser) Reset ¶
func (m *LimitOrderTrancheUser) Reset()
func (*LimitOrderTrancheUser) Size ¶
func (m *LimitOrderTrancheUser) Size() (n int)
func (*LimitOrderTrancheUser) String ¶
func (m *LimitOrderTrancheUser) String() string
func (*LimitOrderTrancheUser) Unmarshal ¶
func (m *LimitOrderTrancheUser) Unmarshal(dAtA []byte) error
func (*LimitOrderTrancheUser) XXX_DiscardUnknown ¶
func (m *LimitOrderTrancheUser) XXX_DiscardUnknown()
func (*LimitOrderTrancheUser) XXX_Marshal ¶
func (m *LimitOrderTrancheUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitOrderTrancheUser) XXX_Merge ¶
func (m *LimitOrderTrancheUser) XXX_Merge(src proto.Message)
func (*LimitOrderTrancheUser) XXX_Size ¶
func (m *LimitOrderTrancheUser) XXX_Size() int
func (*LimitOrderTrancheUser) XXX_Unmarshal ¶
func (m *LimitOrderTrancheUser) XXX_Unmarshal(b []byte) error
type LimitOrderTrancheUserBinding ¶
type LimitOrderTrancheUserBinding struct { LimitOrderTrancheUser OrderType string `json:"order_type"` }
type LimitOrderType ¶
type LimitOrderType int32
const ( LimitOrderType_GOOD_TIL_CANCELLED LimitOrderType = 0 LimitOrderType_FILL_OR_KILL LimitOrderType = 1 LimitOrderType_IMMEDIATE_OR_CANCEL LimitOrderType = 2 LimitOrderType_JUST_IN_TIME LimitOrderType = 3 LimitOrderType_GOOD_TIL_TIME LimitOrderType = 4 )
func (LimitOrderType) EnumDescriptor ¶
func (LimitOrderType) EnumDescriptor() ([]byte, []int)
func (LimitOrderType) HasExpiration ¶
func (l LimitOrderType) HasExpiration() bool
func (LimitOrderType) IsFoK ¶
func (l LimitOrderType) IsFoK() bool
func (LimitOrderType) IsGTC ¶
func (l LimitOrderType) IsGTC() bool
func (LimitOrderType) IsGoodTil ¶
func (l LimitOrderType) IsGoodTil() bool
func (LimitOrderType) IsIoC ¶
func (l LimitOrderType) IsIoC() bool
func (LimitOrderType) IsJIT ¶
func (l LimitOrderType) IsJIT() bool
func (LimitOrderType) IsTakerOnly ¶
func (l LimitOrderType) IsTakerOnly() bool
func (LimitOrderType) String ¶
func (x LimitOrderType) String() string
type MsgCancelLimitOrder ¶
type MsgCancelLimitOrder struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` TrancheKey string `protobuf:"bytes,2,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` }
func NewMsgCancelLimitOrder ¶
func NewMsgCancelLimitOrder(creator, trancheKey string) *MsgCancelLimitOrder
func (*MsgCancelLimitOrder) Descriptor ¶
func (*MsgCancelLimitOrder) Descriptor() ([]byte, []int)
func (*MsgCancelLimitOrder) GetCreator ¶
func (m *MsgCancelLimitOrder) GetCreator() string
func (*MsgCancelLimitOrder) GetSignBytes ¶
func (msg *MsgCancelLimitOrder) GetSignBytes() []byte
func (*MsgCancelLimitOrder) GetSigners ¶
func (msg *MsgCancelLimitOrder) GetSigners() []sdk.AccAddress
func (*MsgCancelLimitOrder) GetTrancheKey ¶
func (m *MsgCancelLimitOrder) GetTrancheKey() string
func (*MsgCancelLimitOrder) Marshal ¶
func (m *MsgCancelLimitOrder) Marshal() (dAtA []byte, err error)
func (*MsgCancelLimitOrder) MarshalTo ¶
func (m *MsgCancelLimitOrder) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelLimitOrder) MarshalToSizedBuffer ¶
func (m *MsgCancelLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelLimitOrder) ProtoMessage ¶
func (*MsgCancelLimitOrder) ProtoMessage()
func (*MsgCancelLimitOrder) Reset ¶
func (m *MsgCancelLimitOrder) Reset()
func (*MsgCancelLimitOrder) Route ¶
func (msg *MsgCancelLimitOrder) Route() string
func (*MsgCancelLimitOrder) Size ¶
func (m *MsgCancelLimitOrder) Size() (n int)
func (*MsgCancelLimitOrder) String ¶
func (m *MsgCancelLimitOrder) String() string
func (*MsgCancelLimitOrder) Type ¶
func (msg *MsgCancelLimitOrder) Type() string
func (*MsgCancelLimitOrder) Unmarshal ¶
func (m *MsgCancelLimitOrder) Unmarshal(dAtA []byte) error
func (*MsgCancelLimitOrder) Validate ¶
func (msg *MsgCancelLimitOrder) Validate() error
func (*MsgCancelLimitOrder) XXX_DiscardUnknown ¶
func (m *MsgCancelLimitOrder) XXX_DiscardUnknown()
func (*MsgCancelLimitOrder) XXX_Marshal ¶
func (m *MsgCancelLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelLimitOrder) XXX_Merge ¶
func (m *MsgCancelLimitOrder) XXX_Merge(src proto.Message)
func (*MsgCancelLimitOrder) XXX_Size ¶
func (m *MsgCancelLimitOrder) XXX_Size() int
func (*MsgCancelLimitOrder) XXX_Unmarshal ¶
func (m *MsgCancelLimitOrder) XXX_Unmarshal(b []byte) error
type MsgCancelLimitOrderResponse ¶
type MsgCancelLimitOrderResponse struct { }
func (*MsgCancelLimitOrderResponse) Descriptor ¶
func (*MsgCancelLimitOrderResponse) Descriptor() ([]byte, []int)
func (*MsgCancelLimitOrderResponse) Marshal ¶
func (m *MsgCancelLimitOrderResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelLimitOrderResponse) MarshalTo ¶
func (m *MsgCancelLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelLimitOrderResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelLimitOrderResponse) ProtoMessage ¶
func (*MsgCancelLimitOrderResponse) ProtoMessage()
func (*MsgCancelLimitOrderResponse) Reset ¶
func (m *MsgCancelLimitOrderResponse) Reset()
func (*MsgCancelLimitOrderResponse) Size ¶
func (m *MsgCancelLimitOrderResponse) Size() (n int)
func (*MsgCancelLimitOrderResponse) String ¶
func (m *MsgCancelLimitOrderResponse) String() string
func (*MsgCancelLimitOrderResponse) Unmarshal ¶
func (m *MsgCancelLimitOrderResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelLimitOrderResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelLimitOrderResponse) XXX_DiscardUnknown()
func (*MsgCancelLimitOrderResponse) XXX_Marshal ¶
func (m *MsgCancelLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelLimitOrderResponse) XXX_Merge ¶
func (m *MsgCancelLimitOrderResponse) XXX_Merge(src proto.Message)
func (*MsgCancelLimitOrderResponse) XXX_Size ¶
func (m *MsgCancelLimitOrderResponse) XXX_Size() int
func (*MsgCancelLimitOrderResponse) XXX_Unmarshal ¶
func (m *MsgCancelLimitOrderResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) Withdrawal(ctx context.Context, in *MsgWithdrawal, opts ...grpc.CallOption) (*MsgWithdrawalResponse, error) PlaceLimitOrder(ctx context.Context, in *MsgPlaceLimitOrder, opts ...grpc.CallOption) (*MsgPlaceLimitOrderResponse, error) WithdrawFilledLimitOrder(ctx context.Context, in *MsgWithdrawFilledLimitOrder, opts ...grpc.CallOption) (*MsgWithdrawFilledLimitOrderResponse, error) CancelLimitOrder(ctx context.Context, in *MsgCancelLimitOrder, opts ...grpc.CallOption) (*MsgCancelLimitOrderResponse, error) MultiHopSwap(ctx context.Context, in *MsgMultiHopSwap, opts ...grpc.CallOption) (*MsgMultiHopSwapResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgDeposit ¶
type MsgDeposit struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` TokenA string `protobuf:"bytes,3,opt,name=token_a,json=tokenA,proto3" json:"token_a,omitempty"` TokenB string `protobuf:"bytes,4,opt,name=token_b,json=tokenB,proto3" json:"token_b,omitempty"` AmountsA []cosmossdk_io_math.Int `protobuf:"bytes,5,rep,name=amounts_a,json=amountsA,proto3,customtype=cosmossdk.io/math.Int" json:"amounts_a" yaml:"amounts_a"` AmountsB []cosmossdk_io_math.Int `protobuf:"bytes,6,rep,name=amounts_b,json=amountsB,proto3,customtype=cosmossdk.io/math.Int" json:"amounts_b" yaml:"amounts_b"` TickIndexesAToB []int64 `protobuf:"varint,7,rep,packed,name=tick_indexes_a_to_b,json=tickIndexesAToB,proto3" json:"tick_indexes_a_to_b,omitempty"` Fees []uint64 `protobuf:"varint,8,rep,packed,name=fees,proto3" json:"fees,omitempty"` Options []*DepositOptions `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty"` }
func NewMsgDeposit ¶
func NewMsgDeposit( creator, receiver, tokenA, tokenB string, amountsA, amountsB []math.Int, tickIndexes []int64, fees []uint64, depositOptions []*DepositOptions, ) *MsgDeposit
func (*MsgDeposit) Descriptor ¶
func (*MsgDeposit) Descriptor() ([]byte, []int)
func (*MsgDeposit) GetCreator ¶
func (m *MsgDeposit) GetCreator() string
func (*MsgDeposit) GetFees ¶
func (m *MsgDeposit) GetFees() []uint64
func (*MsgDeposit) GetOptions ¶
func (m *MsgDeposit) GetOptions() []*DepositOptions
func (*MsgDeposit) GetReceiver ¶
func (m *MsgDeposit) GetReceiver() string
func (*MsgDeposit) GetSignBytes ¶
func (msg *MsgDeposit) GetSignBytes() []byte
func (*MsgDeposit) GetSigners ¶
func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
func (*MsgDeposit) GetTickIndexesAToB ¶
func (m *MsgDeposit) GetTickIndexesAToB() []int64
func (*MsgDeposit) GetTokenA ¶
func (m *MsgDeposit) GetTokenA() string
func (*MsgDeposit) GetTokenB ¶
func (m *MsgDeposit) GetTokenB() string
func (*MsgDeposit) Marshal ¶
func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
func (*MsgDeposit) MarshalToSizedBuffer ¶
func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeposit) ProtoMessage ¶
func (*MsgDeposit) ProtoMessage()
func (*MsgDeposit) Reset ¶
func (m *MsgDeposit) Reset()
func (*MsgDeposit) Route ¶
func (msg *MsgDeposit) Route() string
func (*MsgDeposit) Size ¶
func (m *MsgDeposit) Size() (n int)
func (*MsgDeposit) String ¶
func (m *MsgDeposit) String() string
func (*MsgDeposit) Type ¶
func (msg *MsgDeposit) Type() string
func (*MsgDeposit) Unmarshal ¶
func (m *MsgDeposit) Unmarshal(dAtA []byte) error
func (*MsgDeposit) Validate ¶
func (msg *MsgDeposit) Validate() error
func (*MsgDeposit) XXX_DiscardUnknown ¶
func (m *MsgDeposit) XXX_DiscardUnknown()
func (*MsgDeposit) XXX_Marshal ¶
func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeposit) XXX_Merge ¶
func (m *MsgDeposit) XXX_Merge(src proto.Message)
func (*MsgDeposit) XXX_Size ¶
func (m *MsgDeposit) XXX_Size() int
func (*MsgDeposit) XXX_Unmarshal ¶
func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
type MsgDepositResponse ¶
type MsgDepositResponse struct { Reserve0Deposited []cosmossdk_io_math.Int `` /* 161-byte string literal not displayed */ Reserve1Deposited []cosmossdk_io_math.Int `` /* 161-byte string literal not displayed */ FailedDeposits []*FailedDeposit `protobuf:"bytes,3,rep,name=failed_deposits,json=failedDeposits,proto3" json:"failed_deposits,omitempty"` }
func (*MsgDepositResponse) Descriptor ¶
func (*MsgDepositResponse) Descriptor() ([]byte, []int)
func (*MsgDepositResponse) GetFailedDeposits ¶
func (m *MsgDepositResponse) GetFailedDeposits() []*FailedDeposit
func (*MsgDepositResponse) Marshal ¶
func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositResponse) MarshalTo ¶
func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositResponse) ProtoMessage ¶
func (*MsgDepositResponse) ProtoMessage()
func (*MsgDepositResponse) Reset ¶
func (m *MsgDepositResponse) Reset()
func (*MsgDepositResponse) Size ¶
func (m *MsgDepositResponse) Size() (n int)
func (*MsgDepositResponse) String ¶
func (m *MsgDepositResponse) String() string
func (*MsgDepositResponse) Unmarshal ¶
func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositResponse) XXX_DiscardUnknown()
func (*MsgDepositResponse) XXX_Marshal ¶
func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositResponse) XXX_Merge ¶
func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
func (*MsgDepositResponse) XXX_Size ¶
func (m *MsgDepositResponse) XXX_Size() int
func (*MsgDepositResponse) XXX_Unmarshal ¶
func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
type MsgMultiHopSwap ¶
type MsgMultiHopSwap struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Routes []*MultiHopRoute `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"` AmountIn cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"` ExitLimitPrice github_com_neutron_org_neutron_v4_utils_math.PrecDec `` /* 183-byte string literal not displayed */ // If pickBestRoute == true then all routes are run and the route with the // best price is chosen otherwise, the first succesful route is used. PickBestRoute bool `protobuf:"varint,6,opt,name=pick_best_route,json=pickBestRoute,proto3" json:"pick_best_route,omitempty"` }
func NewMsgMultiHopSwap ¶
func NewMsgMultiHopSwap( creator string, receiver string, routesArr [][]string, amountIn math.Int, exitLimitPrice math_utils.PrecDec, pickBestRoute bool, ) *MsgMultiHopSwap
func (*MsgMultiHopSwap) Descriptor ¶
func (*MsgMultiHopSwap) Descriptor() ([]byte, []int)
func (*MsgMultiHopSwap) GetCreator ¶
func (m *MsgMultiHopSwap) GetCreator() string
func (*MsgMultiHopSwap) GetPickBestRoute ¶
func (m *MsgMultiHopSwap) GetPickBestRoute() bool
func (*MsgMultiHopSwap) GetReceiver ¶
func (m *MsgMultiHopSwap) GetReceiver() string
func (*MsgMultiHopSwap) GetRoutes ¶
func (m *MsgMultiHopSwap) GetRoutes() []*MultiHopRoute
func (*MsgMultiHopSwap) GetSignBytes ¶
func (msg *MsgMultiHopSwap) GetSignBytes() []byte
func (*MsgMultiHopSwap) GetSigners ¶
func (msg *MsgMultiHopSwap) GetSigners() []sdk.AccAddress
func (*MsgMultiHopSwap) Marshal ¶
func (m *MsgMultiHopSwap) Marshal() (dAtA []byte, err error)
func (*MsgMultiHopSwap) MarshalToSizedBuffer ¶
func (m *MsgMultiHopSwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiHopSwap) ProtoMessage ¶
func (*MsgMultiHopSwap) ProtoMessage()
func (*MsgMultiHopSwap) Reset ¶
func (m *MsgMultiHopSwap) Reset()
func (*MsgMultiHopSwap) Route ¶
func (msg *MsgMultiHopSwap) Route() string
func (*MsgMultiHopSwap) Size ¶
func (m *MsgMultiHopSwap) Size() (n int)
func (*MsgMultiHopSwap) String ¶
func (m *MsgMultiHopSwap) String() string
func (*MsgMultiHopSwap) Type ¶
func (msg *MsgMultiHopSwap) Type() string
func (*MsgMultiHopSwap) Unmarshal ¶
func (m *MsgMultiHopSwap) Unmarshal(dAtA []byte) error
func (*MsgMultiHopSwap) Validate ¶
func (msg *MsgMultiHopSwap) Validate() error
func (*MsgMultiHopSwap) XXX_DiscardUnknown ¶
func (m *MsgMultiHopSwap) XXX_DiscardUnknown()
func (*MsgMultiHopSwap) XXX_Marshal ¶
func (m *MsgMultiHopSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiHopSwap) XXX_Merge ¶
func (m *MsgMultiHopSwap) XXX_Merge(src proto.Message)
func (*MsgMultiHopSwap) XXX_Size ¶
func (m *MsgMultiHopSwap) XXX_Size() int
func (*MsgMultiHopSwap) XXX_Unmarshal ¶
func (m *MsgMultiHopSwap) XXX_Unmarshal(b []byte) error
type MsgMultiHopSwapResponse ¶
type MsgMultiHopSwapResponse struct {
CoinOut github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=coin_out,json=coinOut,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin_out"`
}
func (*MsgMultiHopSwapResponse) Descriptor ¶
func (*MsgMultiHopSwapResponse) Descriptor() ([]byte, []int)
func (*MsgMultiHopSwapResponse) Marshal ¶
func (m *MsgMultiHopSwapResponse) Marshal() (dAtA []byte, err error)
func (*MsgMultiHopSwapResponse) MarshalTo ¶
func (m *MsgMultiHopSwapResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMultiHopSwapResponse) MarshalToSizedBuffer ¶
func (m *MsgMultiHopSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiHopSwapResponse) ProtoMessage ¶
func (*MsgMultiHopSwapResponse) ProtoMessage()
func (*MsgMultiHopSwapResponse) Reset ¶
func (m *MsgMultiHopSwapResponse) Reset()
func (*MsgMultiHopSwapResponse) Size ¶
func (m *MsgMultiHopSwapResponse) Size() (n int)
func (*MsgMultiHopSwapResponse) String ¶
func (m *MsgMultiHopSwapResponse) String() string
func (*MsgMultiHopSwapResponse) Unmarshal ¶
func (m *MsgMultiHopSwapResponse) Unmarshal(dAtA []byte) error
func (*MsgMultiHopSwapResponse) XXX_DiscardUnknown ¶
func (m *MsgMultiHopSwapResponse) XXX_DiscardUnknown()
func (*MsgMultiHopSwapResponse) XXX_Marshal ¶
func (m *MsgMultiHopSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiHopSwapResponse) XXX_Merge ¶
func (m *MsgMultiHopSwapResponse) XXX_Merge(src proto.Message)
func (*MsgMultiHopSwapResponse) XXX_Size ¶
func (m *MsgMultiHopSwapResponse) XXX_Size() int
func (*MsgMultiHopSwapResponse) XXX_Unmarshal ¶
func (m *MsgMultiHopSwapResponse) XXX_Unmarshal(b []byte) error
type MsgPlaceLimitOrder ¶
type MsgPlaceLimitOrder struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` TokenIn string `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` TokenOut string `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"` // DEPRECATED: tick_index_in_to_out will be removed in future release; limit_sell_price should be used instead. TickIndexInToOut int64 `protobuf:"varint,5,opt,name=tick_index_in_to_out,json=tickIndexInToOut,proto3" json:"tick_index_in_to_out,omitempty"` // Deprecated: Do not use. AmountIn cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"` OrderType LimitOrderType `protobuf:"varint,8,opt,name=order_type,json=orderType,proto3,enum=neutron.dex.LimitOrderType" json:"order_type,omitempty"` // expirationTime is only valid iff orderType == GOOD_TIL_TIME. ExpirationTime *time.Time `protobuf:"bytes,9,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"` MaxAmountOut *cosmossdk_io_math.Int `` /* 145-byte string literal not displayed */ LimitSellPrice *github_com_neutron_org_neutron_v4_utils_math.PrecDec `` /* 184-byte string literal not displayed */ }
func NewMsgPlaceLimitOrder ¶
func NewMsgPlaceLimitOrder( creator, receiver, tokenIn, tokenOut string, tickIndex int64, amountIn math.Int, orderType LimitOrderType, goodTil *time.Time, maxAmountOut *math.Int, price *math_utils.PrecDec, ) *MsgPlaceLimitOrder
func (*MsgPlaceLimitOrder) Descriptor ¶
func (*MsgPlaceLimitOrder) Descriptor() ([]byte, []int)
func (*MsgPlaceLimitOrder) GetCreator ¶
func (m *MsgPlaceLimitOrder) GetCreator() string
func (*MsgPlaceLimitOrder) GetExpirationTime ¶
func (m *MsgPlaceLimitOrder) GetExpirationTime() *time.Time
func (*MsgPlaceLimitOrder) GetOrderType ¶
func (m *MsgPlaceLimitOrder) GetOrderType() LimitOrderType
func (*MsgPlaceLimitOrder) GetReceiver ¶
func (m *MsgPlaceLimitOrder) GetReceiver() string
func (*MsgPlaceLimitOrder) GetSignBytes ¶
func (msg *MsgPlaceLimitOrder) GetSignBytes() []byte
func (*MsgPlaceLimitOrder) GetSigners ¶
func (msg *MsgPlaceLimitOrder) GetSigners() []sdk.AccAddress
func (*MsgPlaceLimitOrder) GetTickIndexInToOut
deprecated
func (m *MsgPlaceLimitOrder) GetTickIndexInToOut() int64
Deprecated: Do not use.
func (*MsgPlaceLimitOrder) GetTokenIn ¶
func (m *MsgPlaceLimitOrder) GetTokenIn() string
func (*MsgPlaceLimitOrder) GetTokenOut ¶
func (m *MsgPlaceLimitOrder) GetTokenOut() string
func (*MsgPlaceLimitOrder) Marshal ¶
func (m *MsgPlaceLimitOrder) Marshal() (dAtA []byte, err error)
func (*MsgPlaceLimitOrder) MarshalTo ¶
func (m *MsgPlaceLimitOrder) MarshalTo(dAtA []byte) (int, error)
func (*MsgPlaceLimitOrder) MarshalToSizedBuffer ¶
func (m *MsgPlaceLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPlaceLimitOrder) ProtoMessage ¶
func (*MsgPlaceLimitOrder) ProtoMessage()
func (*MsgPlaceLimitOrder) Reset ¶
func (m *MsgPlaceLimitOrder) Reset()
func (*MsgPlaceLimitOrder) Route ¶
func (msg *MsgPlaceLimitOrder) Route() string
func (*MsgPlaceLimitOrder) Size ¶
func (m *MsgPlaceLimitOrder) Size() (n int)
func (*MsgPlaceLimitOrder) String ¶
func (m *MsgPlaceLimitOrder) String() string
func (*MsgPlaceLimitOrder) Type ¶
func (msg *MsgPlaceLimitOrder) Type() string
func (*MsgPlaceLimitOrder) Unmarshal ¶
func (m *MsgPlaceLimitOrder) Unmarshal(dAtA []byte) error
func (*MsgPlaceLimitOrder) Validate ¶
func (msg *MsgPlaceLimitOrder) Validate() error
func (*MsgPlaceLimitOrder) ValidateGoodTilExpiration ¶
func (msg *MsgPlaceLimitOrder) ValidateGoodTilExpiration(blockTime time.Time) error
func (*MsgPlaceLimitOrder) XXX_DiscardUnknown ¶
func (m *MsgPlaceLimitOrder) XXX_DiscardUnknown()
func (*MsgPlaceLimitOrder) XXX_Marshal ¶
func (m *MsgPlaceLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPlaceLimitOrder) XXX_Merge ¶
func (m *MsgPlaceLimitOrder) XXX_Merge(src proto.Message)
func (*MsgPlaceLimitOrder) XXX_Size ¶
func (m *MsgPlaceLimitOrder) XXX_Size() int
func (*MsgPlaceLimitOrder) XXX_Unmarshal ¶
func (m *MsgPlaceLimitOrder) XXX_Unmarshal(b []byte) error
type MsgPlaceLimitOrderResponse ¶
type MsgPlaceLimitOrderResponse struct { TrancheKey string `protobuf:"bytes,1,opt,name=trancheKey,proto3" json:"trancheKey,omitempty"` // Total amount of coin used for the limit order CoinIn github_com_cosmos_cosmos_sdk_types.Coin `` /* 135-byte string literal not displayed */ // Total amount of coin received from the taker portion of the limit order // This is the amount of coin immediately available in the users account after // executing the limit order. It does not include any future proceeds from the // maker portion which will have withdrawn in the future TakerCoinOut github_com_cosmos_cosmos_sdk_types.Coin `` /* 162-byte string literal not displayed */ }
func (*MsgPlaceLimitOrderResponse) Descriptor ¶
func (*MsgPlaceLimitOrderResponse) Descriptor() ([]byte, []int)
func (*MsgPlaceLimitOrderResponse) GetTrancheKey ¶
func (m *MsgPlaceLimitOrderResponse) GetTrancheKey() string
func (*MsgPlaceLimitOrderResponse) Marshal ¶
func (m *MsgPlaceLimitOrderResponse) Marshal() (dAtA []byte, err error)
func (*MsgPlaceLimitOrderResponse) MarshalTo ¶
func (m *MsgPlaceLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPlaceLimitOrderResponse) MarshalToSizedBuffer ¶
func (m *MsgPlaceLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPlaceLimitOrderResponse) ProtoMessage ¶
func (*MsgPlaceLimitOrderResponse) ProtoMessage()
func (*MsgPlaceLimitOrderResponse) Reset ¶
func (m *MsgPlaceLimitOrderResponse) Reset()
func (*MsgPlaceLimitOrderResponse) Size ¶
func (m *MsgPlaceLimitOrderResponse) Size() (n int)
func (*MsgPlaceLimitOrderResponse) String ¶
func (m *MsgPlaceLimitOrderResponse) String() string
func (*MsgPlaceLimitOrderResponse) Unmarshal ¶
func (m *MsgPlaceLimitOrderResponse) Unmarshal(dAtA []byte) error
func (*MsgPlaceLimitOrderResponse) XXX_DiscardUnknown ¶
func (m *MsgPlaceLimitOrderResponse) XXX_DiscardUnknown()
func (*MsgPlaceLimitOrderResponse) XXX_Marshal ¶
func (m *MsgPlaceLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPlaceLimitOrderResponse) XXX_Merge ¶
func (m *MsgPlaceLimitOrderResponse) XXX_Merge(src proto.Message)
func (*MsgPlaceLimitOrderResponse) XXX_Size ¶
func (m *MsgPlaceLimitOrderResponse) XXX_Size() int
func (*MsgPlaceLimitOrderResponse) XXX_Unmarshal ¶
func (m *MsgPlaceLimitOrderResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) Withdrawal(context.Context, *MsgWithdrawal) (*MsgWithdrawalResponse, error) PlaceLimitOrder(context.Context, *MsgPlaceLimitOrder) (*MsgPlaceLimitOrderResponse, error) WithdrawFilledLimitOrder(context.Context, *MsgWithdrawFilledLimitOrder) (*MsgWithdrawFilledLimitOrderResponse, error) CancelLimitOrder(context.Context, *MsgCancelLimitOrder) (*MsgCancelLimitOrderResponse, error) MultiHopSwap(context.Context, *MsgMultiHopSwap) (*MsgMultiHopSwapResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct { // Authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶
func (msg *MsgUpdateParams) GetSignBytes() []byte
func (*MsgUpdateParams) GetSigners ¶
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Route ¶
func (msg *MsgUpdateParams) Route() string
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (msg *MsgUpdateParams) Type() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) Validate ¶
func (msg *MsgUpdateParams) Validate() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawFilledLimitOrder ¶
type MsgWithdrawFilledLimitOrder struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` TrancheKey string `protobuf:"bytes,2,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` }
func NewMsgWithdrawFilledLimitOrder ¶
func NewMsgWithdrawFilledLimitOrder(creator, trancheKey string) *MsgWithdrawFilledLimitOrder
func (*MsgWithdrawFilledLimitOrder) Descriptor ¶
func (*MsgWithdrawFilledLimitOrder) Descriptor() ([]byte, []int)
func (*MsgWithdrawFilledLimitOrder) GetCreator ¶
func (m *MsgWithdrawFilledLimitOrder) GetCreator() string
func (*MsgWithdrawFilledLimitOrder) GetSignBytes ¶
func (msg *MsgWithdrawFilledLimitOrder) GetSignBytes() []byte
func (*MsgWithdrawFilledLimitOrder) GetSigners ¶
func (msg *MsgWithdrawFilledLimitOrder) GetSigners() []sdk.AccAddress
func (*MsgWithdrawFilledLimitOrder) GetTrancheKey ¶
func (m *MsgWithdrawFilledLimitOrder) GetTrancheKey() string
func (*MsgWithdrawFilledLimitOrder) Marshal ¶
func (m *MsgWithdrawFilledLimitOrder) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFilledLimitOrder) MarshalTo ¶
func (m *MsgWithdrawFilledLimitOrder) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawFilledLimitOrder) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFilledLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFilledLimitOrder) ProtoMessage ¶
func (*MsgWithdrawFilledLimitOrder) ProtoMessage()
func (*MsgWithdrawFilledLimitOrder) Reset ¶
func (m *MsgWithdrawFilledLimitOrder) Reset()
func (*MsgWithdrawFilledLimitOrder) Route ¶
func (msg *MsgWithdrawFilledLimitOrder) Route() string
func (*MsgWithdrawFilledLimitOrder) Size ¶
func (m *MsgWithdrawFilledLimitOrder) Size() (n int)
func (*MsgWithdrawFilledLimitOrder) String ¶
func (m *MsgWithdrawFilledLimitOrder) String() string
func (*MsgWithdrawFilledLimitOrder) Type ¶
func (msg *MsgWithdrawFilledLimitOrder) Type() string
func (*MsgWithdrawFilledLimitOrder) Unmarshal ¶
func (m *MsgWithdrawFilledLimitOrder) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFilledLimitOrder) Validate ¶
func (msg *MsgWithdrawFilledLimitOrder) Validate() error
func (*MsgWithdrawFilledLimitOrder) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFilledLimitOrder) XXX_DiscardUnknown()
func (*MsgWithdrawFilledLimitOrder) XXX_Marshal ¶
func (m *MsgWithdrawFilledLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFilledLimitOrder) XXX_Merge ¶
func (m *MsgWithdrawFilledLimitOrder) XXX_Merge(src proto.Message)
func (*MsgWithdrawFilledLimitOrder) XXX_Size ¶
func (m *MsgWithdrawFilledLimitOrder) XXX_Size() int
func (*MsgWithdrawFilledLimitOrder) XXX_Unmarshal ¶
func (m *MsgWithdrawFilledLimitOrder) XXX_Unmarshal(b []byte) error
type MsgWithdrawFilledLimitOrderResponse ¶
type MsgWithdrawFilledLimitOrderResponse struct { }
func (*MsgWithdrawFilledLimitOrderResponse) Descriptor ¶
func (*MsgWithdrawFilledLimitOrderResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawFilledLimitOrderResponse) Marshal ¶
func (m *MsgWithdrawFilledLimitOrderResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawFilledLimitOrderResponse) MarshalTo ¶
func (m *MsgWithdrawFilledLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawFilledLimitOrderResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawFilledLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawFilledLimitOrderResponse) ProtoMessage ¶
func (*MsgWithdrawFilledLimitOrderResponse) ProtoMessage()
func (*MsgWithdrawFilledLimitOrderResponse) Reset ¶
func (m *MsgWithdrawFilledLimitOrderResponse) Reset()
func (*MsgWithdrawFilledLimitOrderResponse) Size ¶
func (m *MsgWithdrawFilledLimitOrderResponse) Size() (n int)
func (*MsgWithdrawFilledLimitOrderResponse) String ¶
func (m *MsgWithdrawFilledLimitOrderResponse) String() string
func (*MsgWithdrawFilledLimitOrderResponse) Unmarshal ¶
func (m *MsgWithdrawFilledLimitOrderResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawFilledLimitOrderResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawFilledLimitOrderResponse) XXX_DiscardUnknown()
func (*MsgWithdrawFilledLimitOrderResponse) XXX_Marshal ¶
func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawFilledLimitOrderResponse) XXX_Merge ¶
func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawFilledLimitOrderResponse) XXX_Size ¶
func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Size() int
func (*MsgWithdrawFilledLimitOrderResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawFilledLimitOrderResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawal ¶
type MsgWithdrawal struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` TokenA string `protobuf:"bytes,3,opt,name=token_a,json=tokenA,proto3" json:"token_a,omitempty"` TokenB string `protobuf:"bytes,4,opt,name=token_b,json=tokenB,proto3" json:"token_b,omitempty"` TickIndexesAToB []int64 `protobuf:"varint,6,rep,packed,name=tick_indexes_a_to_b,json=tickIndexesAToB,proto3" json:"tick_indexes_a_to_b,omitempty"` Fees []uint64 `protobuf:"varint,7,rep,packed,name=fees,proto3" json:"fees,omitempty"` }
func NewMsgWithdrawal ¶
func (*MsgWithdrawal) Descriptor ¶
func (*MsgWithdrawal) Descriptor() ([]byte, []int)
func (*MsgWithdrawal) GetCreator ¶
func (m *MsgWithdrawal) GetCreator() string
func (*MsgWithdrawal) GetFees ¶
func (m *MsgWithdrawal) GetFees() []uint64
func (*MsgWithdrawal) GetReceiver ¶
func (m *MsgWithdrawal) GetReceiver() string
func (*MsgWithdrawal) GetSignBytes ¶
func (msg *MsgWithdrawal) GetSignBytes() []byte
func (*MsgWithdrawal) GetSigners ¶
func (msg *MsgWithdrawal) GetSigners() []sdk.AccAddress
func (*MsgWithdrawal) GetTickIndexesAToB ¶
func (m *MsgWithdrawal) GetTickIndexesAToB() []int64
func (*MsgWithdrawal) GetTokenA ¶
func (m *MsgWithdrawal) GetTokenA() string
func (*MsgWithdrawal) GetTokenB ¶
func (m *MsgWithdrawal) GetTokenB() string
func (*MsgWithdrawal) Marshal ¶
func (m *MsgWithdrawal) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawal) MarshalToSizedBuffer ¶
func (m *MsgWithdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawal) ProtoMessage ¶
func (*MsgWithdrawal) ProtoMessage()
func (*MsgWithdrawal) Reset ¶
func (m *MsgWithdrawal) Reset()
func (*MsgWithdrawal) Route ¶
func (msg *MsgWithdrawal) Route() string
func (*MsgWithdrawal) Size ¶
func (m *MsgWithdrawal) Size() (n int)
func (*MsgWithdrawal) String ¶
func (m *MsgWithdrawal) String() string
func (*MsgWithdrawal) Type ¶
func (msg *MsgWithdrawal) Type() string
func (*MsgWithdrawal) Unmarshal ¶
func (m *MsgWithdrawal) Unmarshal(dAtA []byte) error
func (*MsgWithdrawal) Validate ¶
func (msg *MsgWithdrawal) Validate() error
func (*MsgWithdrawal) XXX_DiscardUnknown ¶
func (m *MsgWithdrawal) XXX_DiscardUnknown()
func (*MsgWithdrawal) XXX_Marshal ¶
func (m *MsgWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawal) XXX_Merge ¶
func (m *MsgWithdrawal) XXX_Merge(src proto.Message)
func (*MsgWithdrawal) XXX_Size ¶
func (m *MsgWithdrawal) XXX_Size() int
func (*MsgWithdrawal) XXX_Unmarshal ¶
func (m *MsgWithdrawal) XXX_Unmarshal(b []byte) error
type MsgWithdrawalResponse ¶
type MsgWithdrawalResponse struct { }
func (*MsgWithdrawalResponse) Descriptor ¶
func (*MsgWithdrawalResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawalResponse) Marshal ¶
func (m *MsgWithdrawalResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawalResponse) MarshalTo ¶
func (m *MsgWithdrawalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawalResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawalResponse) ProtoMessage ¶
func (*MsgWithdrawalResponse) ProtoMessage()
func (*MsgWithdrawalResponse) Reset ¶
func (m *MsgWithdrawalResponse) Reset()
func (*MsgWithdrawalResponse) Size ¶
func (m *MsgWithdrawalResponse) Size() (n int)
func (*MsgWithdrawalResponse) String ¶
func (m *MsgWithdrawalResponse) String() string
func (*MsgWithdrawalResponse) Unmarshal ¶
func (m *MsgWithdrawalResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawalResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawalResponse) XXX_DiscardUnknown()
func (*MsgWithdrawalResponse) XXX_Marshal ¶
func (m *MsgWithdrawalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawalResponse) XXX_Merge ¶
func (m *MsgWithdrawalResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawalResponse) XXX_Size ¶
func (m *MsgWithdrawalResponse) XXX_Size() int
func (*MsgWithdrawalResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawalResponse) XXX_Unmarshal(b []byte) error
type MultiHopRoute ¶
type MultiHopRoute struct {
Hops []string `protobuf:"bytes,1,rep,name=hops,proto3" json:"hops,omitempty"`
}
func (*MultiHopRoute) Descriptor ¶
func (*MultiHopRoute) Descriptor() ([]byte, []int)
func (*MultiHopRoute) GetHops ¶
func (m *MultiHopRoute) GetHops() []string
func (*MultiHopRoute) Marshal ¶
func (m *MultiHopRoute) Marshal() (dAtA []byte, err error)
func (*MultiHopRoute) MarshalToSizedBuffer ¶
func (m *MultiHopRoute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiHopRoute) ProtoMessage ¶
func (*MultiHopRoute) ProtoMessage()
func (*MultiHopRoute) Reset ¶
func (m *MultiHopRoute) Reset()
func (*MultiHopRoute) Size ¶
func (m *MultiHopRoute) Size() (n int)
func (*MultiHopRoute) String ¶
func (m *MultiHopRoute) String() string
func (*MultiHopRoute) Unmarshal ¶
func (m *MultiHopRoute) Unmarshal(dAtA []byte) error
func (*MultiHopRoute) XXX_DiscardUnknown ¶
func (m *MultiHopRoute) XXX_DiscardUnknown()
func (*MultiHopRoute) XXX_Marshal ¶
func (m *MultiHopRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiHopRoute) XXX_Merge ¶
func (m *MultiHopRoute) XXX_Merge(src proto.Message)
func (*MultiHopRoute) XXX_Size ¶
func (m *MultiHopRoute) XXX_Size() int
func (*MultiHopRoute) XXX_Unmarshal ¶
func (m *MultiHopRoute) XXX_Unmarshal(b []byte) error
type PairID ¶
type PairID struct { Token0 string `protobuf:"bytes,1,opt,name=token0,proto3" json:"token0,omitempty"` Token1 string `protobuf:"bytes,2,opt,name=token1,proto3" json:"token1,omitempty"` }
func MustNewPairID ¶
func NewPairIDFromUnsorted ¶
func (*PairID) CanonicalString ¶
func (*PairID) Descriptor ¶
func (*PairID) MarshalToSizedBuffer ¶
func (*PairID) MustOppositeToken ¶
func (*PairID) MustTradePairIDFromMaker ¶
func (p *PairID) MustTradePairIDFromMaker(maker string) *TradePairID
func (*PairID) MustTradePairIDFromTaker ¶
func (p *PairID) MustTradePairIDFromTaker(taker string) *TradePairID
func (*PairID) OppositeToken ¶
func (*PairID) ProtoMessage ¶
func (*PairID) ProtoMessage()
func (*PairID) XXX_DiscardUnknown ¶
func (m *PairID) XXX_DiscardUnknown()
func (*PairID) XXX_Marshal ¶
func (*PairID) XXX_Unmarshal ¶
type Params ¶
type Params struct { FeeTiers []uint64 `protobuf:"varint,1,rep,packed,name=fee_tiers,json=feeTiers,proto3" json:"fee_tiers,omitempty"` Paused bool `protobuf:"varint,3,opt,name=paused,proto3" json:"paused"` MaxJitsPerBlock uint64 `protobuf:"varint,4,opt,name=max_jits_per_block,json=maxJitsPerBlock,proto3" json:"max_jits_per_block,omitempty"` GoodTilPurgeAllowance uint64 `` /* 129-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams(feeTiers []uint64, paused bool, maxJITsPerBlock, goodTilPurgeAllowance uint64) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetFeeTiers ¶
func (*Params) GetGoodTilPurgeAllowance ¶
func (*Params) GetMaxJitsPerBlock ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Pool ¶
type Pool struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` LowerTick0 *PoolReserves `protobuf:"bytes,2,opt,name=lower_tick0,json=lowerTick0,proto3" json:"lower_tick0,omitempty"` UpperTick1 *PoolReserves `protobuf:"bytes,3,opt,name=upper_tick1,json=upperTick1,proto3" json:"upper_tick1,omitempty"` }
func MustNewPool ¶
func (*Pool) CalcResidualSharesMinted ¶
func (*Pool) CalcSharesMinted ¶
func (*Pool) CenterTickIndex ¶
func (*Pool) Deposit ¶
func (p *Pool) Deposit( maxAmount0, maxAmount1, existingShares math.Int, autoswap bool, ) (inAmount0, inAmount1 math.Int, outShares sdk.Coin)
Mutates the Pool object and returns relevant change variables. Deposit is not committed until pool.save() is called or the underlying ticks are saved; this method does not use any keeper methods.
func (*Pool) Descriptor ¶
func (*Pool) GetLowerReserve0 ¶
func (*Pool) GetLowerTick0 ¶
func (m *Pool) GetLowerTick0() *PoolReserves
func (*Pool) GetPoolDenom ¶
func (*Pool) GetUpperReserve1 ¶
func (*Pool) GetUpperTick1 ¶
func (m *Pool) GetUpperTick1() *PoolReserves
func (*Pool) MustCalcPrice1To0Center ¶
func (p *Pool) MustCalcPrice1To0Center() math_utils.PrecDec
func (*Pool) Price ¶
func (p *Pool) Price(tradePairID *TradePairID) math_utils.PrecDec
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (*Pool) RedeemValue ¶
func (*Pool) XXX_DiscardUnknown ¶
func (m *Pool) XXX_DiscardUnknown()
func (*Pool) XXX_Unmarshal ¶
type PoolLiquidity ¶
type PoolLiquidity struct { TradePairID *TradePairID Pool *Pool }
func (*PoolLiquidity) Price ¶
func (pl *PoolLiquidity) Price() math_utils.PrecDec
type PoolMetadata ¶
type PoolMetadata struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Tick int64 `protobuf:"varint,2,opt,name=tick,proto3" json:"tick,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` PairId *PairID `protobuf:"bytes,4,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` }
func NewPoolMetadata ¶
func NewPoolMetadata(pairID *PairID, tick int64, fee, poolID uint64) PoolMetadata
func (*PoolMetadata) Descriptor ¶
func (*PoolMetadata) Descriptor() ([]byte, []int)
func (*PoolMetadata) GetFee ¶
func (m *PoolMetadata) GetFee() uint64
func (*PoolMetadata) GetId ¶
func (m *PoolMetadata) GetId() uint64
func (*PoolMetadata) GetPairId ¶
func (m *PoolMetadata) GetPairId() *PairID
func (*PoolMetadata) GetTick ¶
func (m *PoolMetadata) GetTick() int64
func (*PoolMetadata) Marshal ¶
func (m *PoolMetadata) Marshal() (dAtA []byte, err error)
func (*PoolMetadata) MarshalToSizedBuffer ¶
func (m *PoolMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolMetadata) ProtoMessage ¶
func (*PoolMetadata) ProtoMessage()
func (*PoolMetadata) Reset ¶
func (m *PoolMetadata) Reset()
func (*PoolMetadata) Size ¶
func (m *PoolMetadata) Size() (n int)
func (*PoolMetadata) String ¶
func (m *PoolMetadata) String() string
func (*PoolMetadata) Unmarshal ¶
func (m *PoolMetadata) Unmarshal(dAtA []byte) error
func (*PoolMetadata) XXX_DiscardUnknown ¶
func (m *PoolMetadata) XXX_DiscardUnknown()
func (*PoolMetadata) XXX_Marshal ¶
func (m *PoolMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolMetadata) XXX_Merge ¶
func (m *PoolMetadata) XXX_Merge(src proto.Message)
func (*PoolMetadata) XXX_Size ¶
func (m *PoolMetadata) XXX_Size() int
func (*PoolMetadata) XXX_Unmarshal ¶
func (m *PoolMetadata) XXX_Unmarshal(b []byte) error
type PoolReserves ¶
type PoolReserves struct { Key *PoolReservesKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ReservesMakerDenom cosmossdk_io_math.Int `` /* 168-byte string literal not displayed */ PriceTakerToMaker github_com_neutron_org_neutron_v4_utils_math.PrecDec `` /* 198-byte string literal not displayed */ PriceOppositeTakerToMaker github_com_neutron_org_neutron_v4_utils_math.PrecDec `` /* 233-byte string literal not displayed */ }
func MustNewPoolReserves ¶
func MustNewPoolReserves( poolReservesID *PoolReservesKey, ) *PoolReserves
func NewPoolReserves ¶
func NewPoolReserves( poolReservesID *PoolReservesKey, ) (*PoolReserves, error)
func NewPoolReservesFromCounterpart ¶
func NewPoolReservesFromCounterpart( counterpart *PoolReserves, ) *PoolReserves
func (*PoolReserves) Descriptor ¶
func (*PoolReserves) Descriptor() ([]byte, []int)
func (*PoolReserves) GetKey ¶
func (m *PoolReserves) GetKey() *PoolReservesKey
func (PoolReserves) HasToken ¶
func (p PoolReserves) HasToken() bool
func (*PoolReserves) Marshal ¶
func (m *PoolReserves) Marshal() (dAtA []byte, err error)
func (*PoolReserves) MarshalToSizedBuffer ¶
func (m *PoolReserves) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolReserves) ProtoMessage ¶
func (*PoolReserves) ProtoMessage()
func (*PoolReserves) Reset ¶
func (m *PoolReserves) Reset()
func (*PoolReserves) Size ¶
func (m *PoolReserves) Size() (n int)
func (*PoolReserves) String ¶
func (m *PoolReserves) String() string
func (*PoolReserves) Unmarshal ¶
func (m *PoolReserves) Unmarshal(dAtA []byte) error
func (*PoolReserves) XXX_DiscardUnknown ¶
func (m *PoolReserves) XXX_DiscardUnknown()
func (*PoolReserves) XXX_Marshal ¶
func (m *PoolReserves) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolReserves) XXX_Merge ¶
func (m *PoolReserves) XXX_Merge(src proto.Message)
func (*PoolReserves) XXX_Size ¶
func (m *PoolReserves) XXX_Size() int
func (*PoolReserves) XXX_Unmarshal ¶
func (m *PoolReserves) XXX_Unmarshal(b []byte) error
type PoolReservesKey ¶
type PoolReservesKey struct { TradePairId *TradePairID `protobuf:"bytes,1,opt,name=trade_pair_id,json=tradePairId,proto3" json:"trade_pair_id,omitempty"` TickIndexTakerToMaker int64 `` /* 131-byte string literal not displayed */ Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` }
func (PoolReservesKey) Counterpart ¶
func (p PoolReservesKey) Counterpart() *PoolReservesKey
func (*PoolReservesKey) Descriptor ¶
func (*PoolReservesKey) Descriptor() ([]byte, []int)
func (*PoolReservesKey) GetFee ¶
func (m *PoolReservesKey) GetFee() uint64
func (*PoolReservesKey) GetTickIndexTakerToMaker ¶
func (m *PoolReservesKey) GetTickIndexTakerToMaker() int64
func (*PoolReservesKey) GetTradePairId ¶
func (m *PoolReservesKey) GetTradePairId() *TradePairID
func (PoolReservesKey) KeyMarshal ¶
func (p PoolReservesKey) KeyMarshal() []byte
func (*PoolReservesKey) Marshal ¶
func (m *PoolReservesKey) Marshal() (dAtA []byte, err error)
func (*PoolReservesKey) MarshalToSizedBuffer ¶
func (m *PoolReservesKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (PoolReservesKey) MustPriceTakerToMaker ¶
func (p PoolReservesKey) MustPriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec)
func (PoolReservesKey) PriceTakerToMaker ¶
func (p PoolReservesKey) PriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec, err error)
func (*PoolReservesKey) ProtoMessage ¶
func (*PoolReservesKey) ProtoMessage()
func (*PoolReservesKey) Reset ¶
func (m *PoolReservesKey) Reset()
func (*PoolReservesKey) Size ¶
func (m *PoolReservesKey) Size() (n int)
func (*PoolReservesKey) String ¶
func (m *PoolReservesKey) String() string
func (*PoolReservesKey) Unmarshal ¶
func (m *PoolReservesKey) Unmarshal(dAtA []byte) error
func (*PoolReservesKey) XXX_DiscardUnknown ¶
func (m *PoolReservesKey) XXX_DiscardUnknown()
func (*PoolReservesKey) XXX_Marshal ¶
func (m *PoolReservesKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolReservesKey) XXX_Merge ¶
func (m *PoolReservesKey) XXX_Merge(src proto.Message)
func (*PoolReservesKey) XXX_Size ¶
func (m *PoolReservesKey) XXX_Size() int
func (*PoolReservesKey) XXX_Unmarshal ¶
func (m *PoolReservesKey) XXX_Unmarshal(b []byte) error
type QueryAllInactiveLimitOrderTrancheRequest ¶
type QueryAllInactiveLimitOrderTrancheRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllInactiveLimitOrderTrancheRequest) Descriptor ¶
func (*QueryAllInactiveLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
func (*QueryAllInactiveLimitOrderTrancheRequest) GetPagination ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) GetPagination() *query.PageRequest
func (*QueryAllInactiveLimitOrderTrancheRequest) Marshal ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllInactiveLimitOrderTrancheRequest) MarshalTo ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllInactiveLimitOrderTrancheRequest) MarshalToSizedBuffer ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllInactiveLimitOrderTrancheRequest) ProtoMessage ¶
func (*QueryAllInactiveLimitOrderTrancheRequest) ProtoMessage()
func (*QueryAllInactiveLimitOrderTrancheRequest) Reset ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) Reset()
func (*QueryAllInactiveLimitOrderTrancheRequest) Size ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) Size() (n int)
func (*QueryAllInactiveLimitOrderTrancheRequest) String ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) String() string
func (*QueryAllInactiveLimitOrderTrancheRequest) Unmarshal ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
func (*QueryAllInactiveLimitOrderTrancheRequest) XXX_DiscardUnknown ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_DiscardUnknown()
func (*QueryAllInactiveLimitOrderTrancheRequest) XXX_Marshal ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllInactiveLimitOrderTrancheRequest) XXX_Merge ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
func (*QueryAllInactiveLimitOrderTrancheRequest) XXX_Size ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Size() int
func (*QueryAllInactiveLimitOrderTrancheRequest) XXX_Unmarshal ¶
func (m *QueryAllInactiveLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
type QueryAllInactiveLimitOrderTrancheResponse ¶
type QueryAllInactiveLimitOrderTrancheResponse struct { InactiveLimitOrderTranche []*LimitOrderTranche `` /* 140-byte string literal not displayed */ Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllInactiveLimitOrderTrancheResponse) Descriptor ¶
func (*QueryAllInactiveLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
func (*QueryAllInactiveLimitOrderTrancheResponse) GetInactiveLimitOrderTranche ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) GetInactiveLimitOrderTranche() []*LimitOrderTranche
func (*QueryAllInactiveLimitOrderTrancheResponse) GetPagination ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) GetPagination() *query.PageResponse
func (*QueryAllInactiveLimitOrderTrancheResponse) Marshal ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllInactiveLimitOrderTrancheResponse) MarshalBinding ¶
func (t *QueryAllInactiveLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
func (*QueryAllInactiveLimitOrderTrancheResponse) MarshalTo ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllInactiveLimitOrderTrancheResponse) ProtoMessage ¶
func (*QueryAllInactiveLimitOrderTrancheResponse) ProtoMessage()
func (*QueryAllInactiveLimitOrderTrancheResponse) Reset ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) Reset()
func (*QueryAllInactiveLimitOrderTrancheResponse) Size ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) Size() (n int)
func (*QueryAllInactiveLimitOrderTrancheResponse) String ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) String() string
func (*QueryAllInactiveLimitOrderTrancheResponse) Unmarshal ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
func (*QueryAllInactiveLimitOrderTrancheResponse) XXX_DiscardUnknown ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_DiscardUnknown()
func (*QueryAllInactiveLimitOrderTrancheResponse) XXX_Marshal ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllInactiveLimitOrderTrancheResponse) XXX_Merge ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
func (*QueryAllInactiveLimitOrderTrancheResponse) XXX_Size ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Size() int
func (*QueryAllInactiveLimitOrderTrancheResponse) XXX_Unmarshal ¶
func (m *QueryAllInactiveLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
type QueryAllLimitOrderTrancheRequest ¶
type QueryAllLimitOrderTrancheRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLimitOrderTrancheRequest) Descriptor ¶
func (*QueryAllLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
func (*QueryAllLimitOrderTrancheRequest) GetPagination ¶
func (m *QueryAllLimitOrderTrancheRequest) GetPagination() *query.PageRequest
func (*QueryAllLimitOrderTrancheRequest) GetPairId ¶
func (m *QueryAllLimitOrderTrancheRequest) GetPairId() string
func (*QueryAllLimitOrderTrancheRequest) GetTokenIn ¶
func (m *QueryAllLimitOrderTrancheRequest) GetTokenIn() string
func (*QueryAllLimitOrderTrancheRequest) Marshal ¶
func (m *QueryAllLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllLimitOrderTrancheRequest) MarshalTo ¶
func (m *QueryAllLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheRequest) MarshalToSizedBuffer ¶
func (m *QueryAllLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheRequest) ProtoMessage ¶
func (*QueryAllLimitOrderTrancheRequest) ProtoMessage()
func (*QueryAllLimitOrderTrancheRequest) Reset ¶
func (m *QueryAllLimitOrderTrancheRequest) Reset()
func (*QueryAllLimitOrderTrancheRequest) Size ¶
func (m *QueryAllLimitOrderTrancheRequest) Size() (n int)
func (*QueryAllLimitOrderTrancheRequest) String ¶
func (m *QueryAllLimitOrderTrancheRequest) String() string
func (*QueryAllLimitOrderTrancheRequest) Unmarshal ¶
func (m *QueryAllLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
func (*QueryAllLimitOrderTrancheRequest) XXX_DiscardUnknown ¶
func (m *QueryAllLimitOrderTrancheRequest) XXX_DiscardUnknown()
func (*QueryAllLimitOrderTrancheRequest) XXX_Marshal ¶
func (m *QueryAllLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLimitOrderTrancheRequest) XXX_Merge ¶
func (m *QueryAllLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
func (*QueryAllLimitOrderTrancheRequest) XXX_Size ¶
func (m *QueryAllLimitOrderTrancheRequest) XXX_Size() int
func (*QueryAllLimitOrderTrancheRequest) XXX_Unmarshal ¶
func (m *QueryAllLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
type QueryAllLimitOrderTrancheResponse ¶
type QueryAllLimitOrderTrancheResponse struct { LimitOrderTranche []*LimitOrderTranche `protobuf:"bytes,1,rep,name=limit_order_tranche,json=limitOrderTranche,proto3" json:"limit_order_tranche,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLimitOrderTrancheResponse) Descriptor ¶
func (*QueryAllLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
func (*QueryAllLimitOrderTrancheResponse) GetLimitOrderTranche ¶
func (m *QueryAllLimitOrderTrancheResponse) GetLimitOrderTranche() []*LimitOrderTranche
func (*QueryAllLimitOrderTrancheResponse) GetPagination ¶
func (m *QueryAllLimitOrderTrancheResponse) GetPagination() *query.PageResponse
func (*QueryAllLimitOrderTrancheResponse) Marshal ¶
func (m *QueryAllLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllLimitOrderTrancheResponse) MarshalBinding ¶
func (t *QueryAllLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
func (*QueryAllLimitOrderTrancheResponse) MarshalTo ¶
func (m *QueryAllLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheResponse) MarshalToSizedBuffer ¶
func (m *QueryAllLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheResponse) ProtoMessage ¶
func (*QueryAllLimitOrderTrancheResponse) ProtoMessage()
func (*QueryAllLimitOrderTrancheResponse) Reset ¶
func (m *QueryAllLimitOrderTrancheResponse) Reset()
func (*QueryAllLimitOrderTrancheResponse) Size ¶
func (m *QueryAllLimitOrderTrancheResponse) Size() (n int)
func (*QueryAllLimitOrderTrancheResponse) String ¶
func (m *QueryAllLimitOrderTrancheResponse) String() string
func (*QueryAllLimitOrderTrancheResponse) Unmarshal ¶
func (m *QueryAllLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
func (*QueryAllLimitOrderTrancheResponse) XXX_DiscardUnknown ¶
func (m *QueryAllLimitOrderTrancheResponse) XXX_DiscardUnknown()
func (*QueryAllLimitOrderTrancheResponse) XXX_Marshal ¶
func (m *QueryAllLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLimitOrderTrancheResponse) XXX_Merge ¶
func (m *QueryAllLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
func (*QueryAllLimitOrderTrancheResponse) XXX_Size ¶
func (m *QueryAllLimitOrderTrancheResponse) XXX_Size() int
func (*QueryAllLimitOrderTrancheResponse) XXX_Unmarshal ¶
func (m *QueryAllLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
type QueryAllLimitOrderTrancheUserByAddressRequest ¶
type QueryAllLimitOrderTrancheUserByAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLimitOrderTrancheUserByAddressRequest) Descriptor ¶
func (*QueryAllLimitOrderTrancheUserByAddressRequest) Descriptor() ([]byte, []int)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) GetAddress ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) GetAddress() string
func (*QueryAllLimitOrderTrancheUserByAddressRequest) GetPagination ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) GetPagination() *query.PageRequest
func (*QueryAllLimitOrderTrancheUserByAddressRequest) Marshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) MarshalTo ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) ProtoMessage ¶
func (*QueryAllLimitOrderTrancheUserByAddressRequest) ProtoMessage()
func (*QueryAllLimitOrderTrancheUserByAddressRequest) Reset ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Reset()
func (*QueryAllLimitOrderTrancheUserByAddressRequest) Size ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Size() (n int)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) String ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) String() string
func (*QueryAllLimitOrderTrancheUserByAddressRequest) Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_DiscardUnknown()
func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Marshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Merge ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Merge(src proto.Message)
func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Size ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Size() int
func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Unmarshal(b []byte) error
type QueryAllLimitOrderTrancheUserByAddressResponse ¶
type QueryAllLimitOrderTrancheUserByAddressResponse struct { LimitOrders []*LimitOrderTrancheUser `protobuf:"bytes,1,rep,name=limit_orders,json=limitOrders,proto3" json:"limit_orders,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLimitOrderTrancheUserByAddressResponse) Descriptor ¶
func (*QueryAllLimitOrderTrancheUserByAddressResponse) Descriptor() ([]byte, []int)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) GetLimitOrders ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) GetLimitOrders() []*LimitOrderTrancheUser
func (*QueryAllLimitOrderTrancheUserByAddressResponse) GetPagination ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) GetPagination() *query.PageResponse
func (*QueryAllLimitOrderTrancheUserByAddressResponse) Marshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) MarshalBinding ¶
func (t *QueryAllLimitOrderTrancheUserByAddressResponse) MarshalBinding() ([]byte, error)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) MarshalTo ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) ProtoMessage ¶
func (*QueryAllLimitOrderTrancheUserByAddressResponse) ProtoMessage()
func (*QueryAllLimitOrderTrancheUserByAddressResponse) Reset ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Reset()
func (*QueryAllLimitOrderTrancheUserByAddressResponse) Size ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Size() (n int)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) String ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) String() string
func (*QueryAllLimitOrderTrancheUserByAddressResponse) Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_DiscardUnknown()
func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Marshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Merge ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Merge(src proto.Message)
func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Size ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Size() int
func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Unmarshal(b []byte) error
type QueryAllLimitOrderTrancheUserRequest ¶
type QueryAllLimitOrderTrancheUserRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllLimitOrderTrancheUserRequest) Descriptor ¶
func (*QueryAllLimitOrderTrancheUserRequest) Descriptor() ([]byte, []int)
func (*QueryAllLimitOrderTrancheUserRequest) GetPagination ¶
func (m *QueryAllLimitOrderTrancheUserRequest) GetPagination() *query.PageRequest
func (*QueryAllLimitOrderTrancheUserRequest) Marshal ¶
func (m *QueryAllLimitOrderTrancheUserRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllLimitOrderTrancheUserRequest) MarshalTo ¶
func (m *QueryAllLimitOrderTrancheUserRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserRequest) MarshalToSizedBuffer ¶
func (m *QueryAllLimitOrderTrancheUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserRequest) ProtoMessage ¶
func (*QueryAllLimitOrderTrancheUserRequest) ProtoMessage()
func (*QueryAllLimitOrderTrancheUserRequest) Reset ¶
func (m *QueryAllLimitOrderTrancheUserRequest) Reset()
func (*QueryAllLimitOrderTrancheUserRequest) Size ¶
func (m *QueryAllLimitOrderTrancheUserRequest) Size() (n int)
func (*QueryAllLimitOrderTrancheUserRequest) String ¶
func (m *QueryAllLimitOrderTrancheUserRequest) String() string
func (*QueryAllLimitOrderTrancheUserRequest) Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserRequest) Unmarshal(dAtA []byte) error
func (*QueryAllLimitOrderTrancheUserRequest) XXX_DiscardUnknown ¶
func (m *QueryAllLimitOrderTrancheUserRequest) XXX_DiscardUnknown()
func (*QueryAllLimitOrderTrancheUserRequest) XXX_Marshal ¶
func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLimitOrderTrancheUserRequest) XXX_Merge ¶
func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Merge(src proto.Message)
func (*QueryAllLimitOrderTrancheUserRequest) XXX_Size ¶
func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Size() int
func (*QueryAllLimitOrderTrancheUserRequest) XXX_Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserRequest) XXX_Unmarshal(b []byte) error
type QueryAllLimitOrderTrancheUserResponse ¶
type QueryAllLimitOrderTrancheUserResponse struct { LimitOrderTrancheUser []*LimitOrderTrancheUser `` /* 128-byte string literal not displayed */ Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLimitOrderTrancheUserResponse) Descriptor ¶
func (*QueryAllLimitOrderTrancheUserResponse) Descriptor() ([]byte, []int)
func (*QueryAllLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser ¶
func (m *QueryAllLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser() []*LimitOrderTrancheUser
func (*QueryAllLimitOrderTrancheUserResponse) GetPagination ¶
func (m *QueryAllLimitOrderTrancheUserResponse) GetPagination() *query.PageResponse
func (*QueryAllLimitOrderTrancheUserResponse) Marshal ¶
func (m *QueryAllLimitOrderTrancheUserResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllLimitOrderTrancheUserResponse) MarshalBinding ¶
func (t *QueryAllLimitOrderTrancheUserResponse) MarshalBinding() ([]byte, error)
func (*QueryAllLimitOrderTrancheUserResponse) MarshalTo ¶
func (m *QueryAllLimitOrderTrancheUserResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserResponse) MarshalToSizedBuffer ¶
func (m *QueryAllLimitOrderTrancheUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLimitOrderTrancheUserResponse) ProtoMessage ¶
func (*QueryAllLimitOrderTrancheUserResponse) ProtoMessage()
func (*QueryAllLimitOrderTrancheUserResponse) Reset ¶
func (m *QueryAllLimitOrderTrancheUserResponse) Reset()
func (*QueryAllLimitOrderTrancheUserResponse) Size ¶
func (m *QueryAllLimitOrderTrancheUserResponse) Size() (n int)
func (*QueryAllLimitOrderTrancheUserResponse) String ¶
func (m *QueryAllLimitOrderTrancheUserResponse) String() string
func (*QueryAllLimitOrderTrancheUserResponse) Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserResponse) Unmarshal(dAtA []byte) error
func (*QueryAllLimitOrderTrancheUserResponse) XXX_DiscardUnknown ¶
func (m *QueryAllLimitOrderTrancheUserResponse) XXX_DiscardUnknown()
func (*QueryAllLimitOrderTrancheUserResponse) XXX_Marshal ¶
func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLimitOrderTrancheUserResponse) XXX_Merge ¶
func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Merge(src proto.Message)
func (*QueryAllLimitOrderTrancheUserResponse) XXX_Size ¶
func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Size() int
func (*QueryAllLimitOrderTrancheUserResponse) XXX_Unmarshal ¶
func (m *QueryAllLimitOrderTrancheUserResponse) XXX_Unmarshal(b []byte) error
type QueryAllPoolMetadataRequest ¶
type QueryAllPoolMetadataRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPoolMetadataRequest) Descriptor ¶
func (*QueryAllPoolMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryAllPoolMetadataRequest) GetPagination ¶
func (m *QueryAllPoolMetadataRequest) GetPagination() *query.PageRequest
func (*QueryAllPoolMetadataRequest) Marshal ¶
func (m *QueryAllPoolMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPoolMetadataRequest) MarshalTo ¶
func (m *QueryAllPoolMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPoolMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPoolMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPoolMetadataRequest) ProtoMessage ¶
func (*QueryAllPoolMetadataRequest) ProtoMessage()
func (*QueryAllPoolMetadataRequest) Reset ¶
func (m *QueryAllPoolMetadataRequest) Reset()
func (*QueryAllPoolMetadataRequest) Size ¶
func (m *QueryAllPoolMetadataRequest) Size() (n int)
func (*QueryAllPoolMetadataRequest) String ¶
func (m *QueryAllPoolMetadataRequest) String() string
func (*QueryAllPoolMetadataRequest) Unmarshal ¶
func (m *QueryAllPoolMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPoolMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPoolMetadataRequest) XXX_DiscardUnknown()
func (*QueryAllPoolMetadataRequest) XXX_Marshal ¶
func (m *QueryAllPoolMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPoolMetadataRequest) XXX_Merge ¶
func (m *QueryAllPoolMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryAllPoolMetadataRequest) XXX_Size ¶
func (m *QueryAllPoolMetadataRequest) XXX_Size() int
func (*QueryAllPoolMetadataRequest) XXX_Unmarshal ¶
func (m *QueryAllPoolMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryAllPoolMetadataResponse ¶
type QueryAllPoolMetadataResponse struct { PoolMetadata []PoolMetadata `protobuf:"bytes,1,rep,name=pool_metadata,json=poolMetadata,proto3" json:"pool_metadata"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPoolMetadataResponse) Descriptor ¶
func (*QueryAllPoolMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryAllPoolMetadataResponse) GetPagination ¶
func (m *QueryAllPoolMetadataResponse) GetPagination() *query.PageResponse
func (*QueryAllPoolMetadataResponse) GetPoolMetadata ¶
func (m *QueryAllPoolMetadataResponse) GetPoolMetadata() []PoolMetadata
func (*QueryAllPoolMetadataResponse) Marshal ¶
func (m *QueryAllPoolMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPoolMetadataResponse) MarshalTo ¶
func (m *QueryAllPoolMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPoolMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPoolMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPoolMetadataResponse) ProtoMessage ¶
func (*QueryAllPoolMetadataResponse) ProtoMessage()
func (*QueryAllPoolMetadataResponse) Reset ¶
func (m *QueryAllPoolMetadataResponse) Reset()
func (*QueryAllPoolMetadataResponse) Size ¶
func (m *QueryAllPoolMetadataResponse) Size() (n int)
func (*QueryAllPoolMetadataResponse) String ¶
func (m *QueryAllPoolMetadataResponse) String() string
func (*QueryAllPoolMetadataResponse) Unmarshal ¶
func (m *QueryAllPoolMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPoolMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPoolMetadataResponse) XXX_DiscardUnknown()
func (*QueryAllPoolMetadataResponse) XXX_Marshal ¶
func (m *QueryAllPoolMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPoolMetadataResponse) XXX_Merge ¶
func (m *QueryAllPoolMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryAllPoolMetadataResponse) XXX_Size ¶
func (m *QueryAllPoolMetadataResponse) XXX_Size() int
func (*QueryAllPoolMetadataResponse) XXX_Unmarshal ¶
func (m *QueryAllPoolMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryAllPoolReservesRequest ¶
type QueryAllPoolReservesRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPoolReservesRequest) Descriptor ¶
func (*QueryAllPoolReservesRequest) Descriptor() ([]byte, []int)
func (*QueryAllPoolReservesRequest) GetPagination ¶
func (m *QueryAllPoolReservesRequest) GetPagination() *query.PageRequest
func (*QueryAllPoolReservesRequest) GetPairId ¶
func (m *QueryAllPoolReservesRequest) GetPairId() string
func (*QueryAllPoolReservesRequest) GetTokenIn ¶
func (m *QueryAllPoolReservesRequest) GetTokenIn() string
func (*QueryAllPoolReservesRequest) Marshal ¶
func (m *QueryAllPoolReservesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPoolReservesRequest) MarshalTo ¶
func (m *QueryAllPoolReservesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPoolReservesRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPoolReservesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPoolReservesRequest) ProtoMessage ¶
func (*QueryAllPoolReservesRequest) ProtoMessage()
func (*QueryAllPoolReservesRequest) Reset ¶
func (m *QueryAllPoolReservesRequest) Reset()
func (*QueryAllPoolReservesRequest) Size ¶
func (m *QueryAllPoolReservesRequest) Size() (n int)
func (*QueryAllPoolReservesRequest) String ¶
func (m *QueryAllPoolReservesRequest) String() string
func (*QueryAllPoolReservesRequest) Unmarshal ¶
func (m *QueryAllPoolReservesRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPoolReservesRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPoolReservesRequest) XXX_DiscardUnknown()
func (*QueryAllPoolReservesRequest) XXX_Marshal ¶
func (m *QueryAllPoolReservesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPoolReservesRequest) XXX_Merge ¶
func (m *QueryAllPoolReservesRequest) XXX_Merge(src proto.Message)
func (*QueryAllPoolReservesRequest) XXX_Size ¶
func (m *QueryAllPoolReservesRequest) XXX_Size() int
func (*QueryAllPoolReservesRequest) XXX_Unmarshal ¶
func (m *QueryAllPoolReservesRequest) XXX_Unmarshal(b []byte) error
type QueryAllPoolReservesResponse ¶
type QueryAllPoolReservesResponse struct { PoolReserves []*PoolReserves `protobuf:"bytes,1,rep,name=pool_reserves,json=poolReserves,proto3" json:"pool_reserves,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPoolReservesResponse) Descriptor ¶
func (*QueryAllPoolReservesResponse) Descriptor() ([]byte, []int)
func (*QueryAllPoolReservesResponse) GetPagination ¶
func (m *QueryAllPoolReservesResponse) GetPagination() *query.PageResponse
func (*QueryAllPoolReservesResponse) GetPoolReserves ¶
func (m *QueryAllPoolReservesResponse) GetPoolReserves() []*PoolReserves
func (*QueryAllPoolReservesResponse) Marshal ¶
func (m *QueryAllPoolReservesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPoolReservesResponse) MarshalTo ¶
func (m *QueryAllPoolReservesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPoolReservesResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPoolReservesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPoolReservesResponse) ProtoMessage ¶
func (*QueryAllPoolReservesResponse) ProtoMessage()
func (*QueryAllPoolReservesResponse) Reset ¶
func (m *QueryAllPoolReservesResponse) Reset()
func (*QueryAllPoolReservesResponse) Size ¶
func (m *QueryAllPoolReservesResponse) Size() (n int)
func (*QueryAllPoolReservesResponse) String ¶
func (m *QueryAllPoolReservesResponse) String() string
func (*QueryAllPoolReservesResponse) Unmarshal ¶
func (m *QueryAllPoolReservesResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPoolReservesResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPoolReservesResponse) XXX_DiscardUnknown()
func (*QueryAllPoolReservesResponse) XXX_Marshal ¶
func (m *QueryAllPoolReservesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPoolReservesResponse) XXX_Merge ¶
func (m *QueryAllPoolReservesResponse) XXX_Merge(src proto.Message)
func (*QueryAllPoolReservesResponse) XXX_Size ¶
func (m *QueryAllPoolReservesResponse) XXX_Size() int
func (*QueryAllPoolReservesResponse) XXX_Unmarshal ¶
func (m *QueryAllPoolReservesResponse) XXX_Unmarshal(b []byte) error
type QueryAllTickLiquidityRequest ¶
type QueryAllTickLiquidityRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllTickLiquidityRequest) Descriptor ¶
func (*QueryAllTickLiquidityRequest) Descriptor() ([]byte, []int)
func (*QueryAllTickLiquidityRequest) GetPagination ¶
func (m *QueryAllTickLiquidityRequest) GetPagination() *query.PageRequest
func (*QueryAllTickLiquidityRequest) GetPairId ¶
func (m *QueryAllTickLiquidityRequest) GetPairId() string
func (*QueryAllTickLiquidityRequest) GetTokenIn ¶
func (m *QueryAllTickLiquidityRequest) GetTokenIn() string
func (*QueryAllTickLiquidityRequest) Marshal ¶
func (m *QueryAllTickLiquidityRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllTickLiquidityRequest) MarshalTo ¶
func (m *QueryAllTickLiquidityRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllTickLiquidityRequest) MarshalToSizedBuffer ¶
func (m *QueryAllTickLiquidityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllTickLiquidityRequest) ProtoMessage ¶
func (*QueryAllTickLiquidityRequest) ProtoMessage()
func (*QueryAllTickLiquidityRequest) Reset ¶
func (m *QueryAllTickLiquidityRequest) Reset()
func (*QueryAllTickLiquidityRequest) Size ¶
func (m *QueryAllTickLiquidityRequest) Size() (n int)
func (*QueryAllTickLiquidityRequest) String ¶
func (m *QueryAllTickLiquidityRequest) String() string
func (*QueryAllTickLiquidityRequest) Unmarshal ¶
func (m *QueryAllTickLiquidityRequest) Unmarshal(dAtA []byte) error
func (*QueryAllTickLiquidityRequest) XXX_DiscardUnknown ¶
func (m *QueryAllTickLiquidityRequest) XXX_DiscardUnknown()
func (*QueryAllTickLiquidityRequest) XXX_Marshal ¶
func (m *QueryAllTickLiquidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllTickLiquidityRequest) XXX_Merge ¶
func (m *QueryAllTickLiquidityRequest) XXX_Merge(src proto.Message)
func (*QueryAllTickLiquidityRequest) XXX_Size ¶
func (m *QueryAllTickLiquidityRequest) XXX_Size() int
func (*QueryAllTickLiquidityRequest) XXX_Unmarshal ¶
func (m *QueryAllTickLiquidityRequest) XXX_Unmarshal(b []byte) error
type QueryAllTickLiquidityResponse ¶
type QueryAllTickLiquidityResponse struct { TickLiquidity []*TickLiquidity `protobuf:"bytes,1,rep,name=tick_liquidity,json=tickLiquidity,proto3" json:"tick_liquidity,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllTickLiquidityResponse) Descriptor ¶
func (*QueryAllTickLiquidityResponse) Descriptor() ([]byte, []int)
func (*QueryAllTickLiquidityResponse) GetPagination ¶
func (m *QueryAllTickLiquidityResponse) GetPagination() *query.PageResponse
func (*QueryAllTickLiquidityResponse) GetTickLiquidity ¶
func (m *QueryAllTickLiquidityResponse) GetTickLiquidity() []*TickLiquidity
func (*QueryAllTickLiquidityResponse) Marshal ¶
func (m *QueryAllTickLiquidityResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllTickLiquidityResponse) MarshalBinding ¶
func (t *QueryAllTickLiquidityResponse) MarshalBinding() ([]byte, error)
func (*QueryAllTickLiquidityResponse) MarshalTo ¶
func (m *QueryAllTickLiquidityResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllTickLiquidityResponse) MarshalToSizedBuffer ¶
func (m *QueryAllTickLiquidityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllTickLiquidityResponse) ProtoMessage ¶
func (*QueryAllTickLiquidityResponse) ProtoMessage()
func (*QueryAllTickLiquidityResponse) Reset ¶
func (m *QueryAllTickLiquidityResponse) Reset()
func (*QueryAllTickLiquidityResponse) Size ¶
func (m *QueryAllTickLiquidityResponse) Size() (n int)
func (*QueryAllTickLiquidityResponse) String ¶
func (m *QueryAllTickLiquidityResponse) String() string
func (*QueryAllTickLiquidityResponse) Unmarshal ¶
func (m *QueryAllTickLiquidityResponse) Unmarshal(dAtA []byte) error
func (*QueryAllTickLiquidityResponse) XXX_DiscardUnknown ¶
func (m *QueryAllTickLiquidityResponse) XXX_DiscardUnknown()
func (*QueryAllTickLiquidityResponse) XXX_Marshal ¶
func (m *QueryAllTickLiquidityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllTickLiquidityResponse) XXX_Merge ¶
func (m *QueryAllTickLiquidityResponse) XXX_Merge(src proto.Message)
func (*QueryAllTickLiquidityResponse) XXX_Size ¶
func (m *QueryAllTickLiquidityResponse) XXX_Size() int
func (*QueryAllTickLiquidityResponse) XXX_Unmarshal ¶
func (m *QueryAllTickLiquidityResponse) XXX_Unmarshal(b []byte) error
type QueryAllUserDepositsRequest ¶
type QueryAllUserDepositsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` IncludePoolData bool `protobuf:"varint,3,opt,name=include_pool_data,json=includePoolData,proto3" json:"include_pool_data,omitempty"` }
func (*QueryAllUserDepositsRequest) Descriptor ¶
func (*QueryAllUserDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryAllUserDepositsRequest) GetAddress ¶
func (m *QueryAllUserDepositsRequest) GetAddress() string
func (*QueryAllUserDepositsRequest) GetIncludePoolData ¶
func (m *QueryAllUserDepositsRequest) GetIncludePoolData() bool
func (*QueryAllUserDepositsRequest) GetPagination ¶
func (m *QueryAllUserDepositsRequest) GetPagination() *query.PageRequest
func (*QueryAllUserDepositsRequest) Marshal ¶
func (m *QueryAllUserDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllUserDepositsRequest) MarshalTo ¶
func (m *QueryAllUserDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllUserDepositsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllUserDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllUserDepositsRequest) ProtoMessage ¶
func (*QueryAllUserDepositsRequest) ProtoMessage()
func (*QueryAllUserDepositsRequest) Reset ¶
func (m *QueryAllUserDepositsRequest) Reset()
func (*QueryAllUserDepositsRequest) Size ¶
func (m *QueryAllUserDepositsRequest) Size() (n int)
func (*QueryAllUserDepositsRequest) String ¶
func (m *QueryAllUserDepositsRequest) String() string
func (*QueryAllUserDepositsRequest) Unmarshal ¶
func (m *QueryAllUserDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllUserDepositsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllUserDepositsRequest) XXX_DiscardUnknown()
func (*QueryAllUserDepositsRequest) XXX_Marshal ¶
func (m *QueryAllUserDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllUserDepositsRequest) XXX_Merge ¶
func (m *QueryAllUserDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryAllUserDepositsRequest) XXX_Size ¶
func (m *QueryAllUserDepositsRequest) XXX_Size() int
func (*QueryAllUserDepositsRequest) XXX_Unmarshal ¶
func (m *QueryAllUserDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryAllUserDepositsResponse ¶
type QueryAllUserDepositsResponse struct { Deposits []*DepositRecord `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllUserDepositsResponse) Descriptor ¶
func (*QueryAllUserDepositsResponse) Descriptor() ([]byte, []int)
func (*QueryAllUserDepositsResponse) GetDeposits ¶
func (m *QueryAllUserDepositsResponse) GetDeposits() []*DepositRecord
func (*QueryAllUserDepositsResponse) GetPagination ¶
func (m *QueryAllUserDepositsResponse) GetPagination() *query.PageResponse
func (*QueryAllUserDepositsResponse) Marshal ¶
func (m *QueryAllUserDepositsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllUserDepositsResponse) MarshalTo ¶
func (m *QueryAllUserDepositsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllUserDepositsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllUserDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllUserDepositsResponse) ProtoMessage ¶
func (*QueryAllUserDepositsResponse) ProtoMessage()
func (*QueryAllUserDepositsResponse) Reset ¶
func (m *QueryAllUserDepositsResponse) Reset()
func (*QueryAllUserDepositsResponse) Size ¶
func (m *QueryAllUserDepositsResponse) Size() (n int)
func (*QueryAllUserDepositsResponse) String ¶
func (m *QueryAllUserDepositsResponse) String() string
func (*QueryAllUserDepositsResponse) Unmarshal ¶
func (m *QueryAllUserDepositsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllUserDepositsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllUserDepositsResponse) XXX_DiscardUnknown()
func (*QueryAllUserDepositsResponse) XXX_Marshal ¶
func (m *QueryAllUserDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllUserDepositsResponse) XXX_Merge ¶
func (m *QueryAllUserDepositsResponse) XXX_Merge(src proto.Message)
func (*QueryAllUserDepositsResponse) XXX_Size ¶
func (m *QueryAllUserDepositsResponse) XXX_Size() int
func (*QueryAllUserDepositsResponse) XXX_Unmarshal ¶
func (m *QueryAllUserDepositsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a LimitOrderTrancheUser by index. LimitOrderTrancheUser(ctx context.Context, in *QueryGetLimitOrderTrancheUserRequest, opts ...grpc.CallOption) (*QueryGetLimitOrderTrancheUserResponse, error) // Queries a list of LimitOrderTranchUser items. LimitOrderTrancheUserAll(ctx context.Context, in *QueryAllLimitOrderTrancheUserRequest, opts ...grpc.CallOption) (*QueryAllLimitOrderTrancheUserResponse, error) // Queries a list of LimitOrderTrancheUser items for a given address. LimitOrderTrancheUserAllByAddress(ctx context.Context, in *QueryAllLimitOrderTrancheUserByAddressRequest, opts ...grpc.CallOption) (*QueryAllLimitOrderTrancheUserByAddressResponse, error) // Queries a LimitOrderTranche by index. LimitOrderTranche(ctx context.Context, in *QueryGetLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryGetLimitOrderTrancheResponse, error) // Queries a list of LimitOrderTranche items for a given pairID / TokenIn // combination. LimitOrderTrancheAll(ctx context.Context, in *QueryAllLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryAllLimitOrderTrancheResponse, error) // Queries a list of UserDeposits items. UserDepositsAll(ctx context.Context, in *QueryAllUserDepositsRequest, opts ...grpc.CallOption) (*QueryAllUserDepositsResponse, error) // Queries a list of TickLiquidity items. TickLiquidityAll(ctx context.Context, in *QueryAllTickLiquidityRequest, opts ...grpc.CallOption) (*QueryAllTickLiquidityResponse, error) // Queries a InactiveLimitOrderTranche by index. InactiveLimitOrderTranche(ctx context.Context, in *QueryGetInactiveLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryGetInactiveLimitOrderTrancheResponse, error) // Queries a list of InactiveLimitOrderTranche items. InactiveLimitOrderTrancheAll(ctx context.Context, in *QueryAllInactiveLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryAllInactiveLimitOrderTrancheResponse, error) // Queries a list of PoolReserves items. PoolReservesAll(ctx context.Context, in *QueryAllPoolReservesRequest, opts ...grpc.CallOption) (*QueryAllPoolReservesResponse, error) // Queries a PoolReserve by index PoolReserves(ctx context.Context, in *QueryGetPoolReservesRequest, opts ...grpc.CallOption) (*QueryGetPoolReservesResponse, error) // Queries the simulated result of a multihop swap EstimateMultiHopSwap(ctx context.Context, in *QueryEstimateMultiHopSwapRequest, opts ...grpc.CallOption) (*QueryEstimateMultiHopSwapResponse, error) // Queries the simulated result of a PlaceLimit order EstimatePlaceLimitOrder(ctx context.Context, in *QueryEstimatePlaceLimitOrderRequest, opts ...grpc.CallOption) (*QueryEstimatePlaceLimitOrderResponse, error) // Queries a pool by pair, tick and fee Pool(ctx context.Context, in *QueryPoolRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error) // Queries a pool by ID PoolByID(ctx context.Context, in *QueryPoolByIDRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error) // Queries a PoolMetadata by ID PoolMetadata(ctx context.Context, in *QueryGetPoolMetadataRequest, opts ...grpc.CallOption) (*QueryGetPoolMetadataResponse, error) // Queries a list of PoolMetadata items. PoolMetadataAll(ctx context.Context, in *QueryAllPoolMetadataRequest, opts ...grpc.CallOption) (*QueryAllPoolMetadataResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryEstimateMultiHopSwapRequest ¶
type QueryEstimateMultiHopSwapRequest struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` Routes []*MultiHopRoute `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"` AmountIn cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"` ExitLimitPrice github_com_neutron_org_neutron_v4_utils_math.PrecDec `` /* 183-byte string literal not displayed */ // If pickBestRoute == true then all routes are run and the route with the // best price is chosen otherwise, the first succesful route is used. PickBestRoute bool `protobuf:"varint,6,opt,name=pick_best_route,json=pickBestRoute,proto3" json:"pick_best_route,omitempty"` }
func (*QueryEstimateMultiHopSwapRequest) Descriptor ¶
func (*QueryEstimateMultiHopSwapRequest) Descriptor() ([]byte, []int)
func (*QueryEstimateMultiHopSwapRequest) GetCreator ¶
func (m *QueryEstimateMultiHopSwapRequest) GetCreator() string
func (*QueryEstimateMultiHopSwapRequest) GetPickBestRoute ¶
func (m *QueryEstimateMultiHopSwapRequest) GetPickBestRoute() bool
func (*QueryEstimateMultiHopSwapRequest) GetReceiver ¶
func (m *QueryEstimateMultiHopSwapRequest) GetReceiver() string
func (*QueryEstimateMultiHopSwapRequest) GetRoutes ¶
func (m *QueryEstimateMultiHopSwapRequest) GetRoutes() []*MultiHopRoute
func (*QueryEstimateMultiHopSwapRequest) Marshal ¶
func (m *QueryEstimateMultiHopSwapRequest) Marshal() (dAtA []byte, err error)
func (*QueryEstimateMultiHopSwapRequest) MarshalTo ¶
func (m *QueryEstimateMultiHopSwapRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEstimateMultiHopSwapRequest) MarshalToSizedBuffer ¶
func (m *QueryEstimateMultiHopSwapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEstimateMultiHopSwapRequest) ProtoMessage ¶
func (*QueryEstimateMultiHopSwapRequest) ProtoMessage()
func (*QueryEstimateMultiHopSwapRequest) Reset ¶
func (m *QueryEstimateMultiHopSwapRequest) Reset()
func (*QueryEstimateMultiHopSwapRequest) Size ¶
func (m *QueryEstimateMultiHopSwapRequest) Size() (n int)
func (*QueryEstimateMultiHopSwapRequest) String ¶
func (m *QueryEstimateMultiHopSwapRequest) String() string
func (*QueryEstimateMultiHopSwapRequest) Unmarshal ¶
func (m *QueryEstimateMultiHopSwapRequest) Unmarshal(dAtA []byte) error
func (*QueryEstimateMultiHopSwapRequest) XXX_DiscardUnknown ¶
func (m *QueryEstimateMultiHopSwapRequest) XXX_DiscardUnknown()
func (*QueryEstimateMultiHopSwapRequest) XXX_Marshal ¶
func (m *QueryEstimateMultiHopSwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEstimateMultiHopSwapRequest) XXX_Merge ¶
func (m *QueryEstimateMultiHopSwapRequest) XXX_Merge(src proto.Message)
func (*QueryEstimateMultiHopSwapRequest) XXX_Size ¶
func (m *QueryEstimateMultiHopSwapRequest) XXX_Size() int
func (*QueryEstimateMultiHopSwapRequest) XXX_Unmarshal ¶
func (m *QueryEstimateMultiHopSwapRequest) XXX_Unmarshal(b []byte) error
type QueryEstimateMultiHopSwapResponse ¶
type QueryEstimateMultiHopSwapResponse struct {
CoinOut github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=coin_out,json=coinOut,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin_out"`
}
func (*QueryEstimateMultiHopSwapResponse) Descriptor ¶
func (*QueryEstimateMultiHopSwapResponse) Descriptor() ([]byte, []int)
func (*QueryEstimateMultiHopSwapResponse) Marshal ¶
func (m *QueryEstimateMultiHopSwapResponse) Marshal() (dAtA []byte, err error)
func (*QueryEstimateMultiHopSwapResponse) MarshalTo ¶
func (m *QueryEstimateMultiHopSwapResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEstimateMultiHopSwapResponse) MarshalToSizedBuffer ¶
func (m *QueryEstimateMultiHopSwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEstimateMultiHopSwapResponse) ProtoMessage ¶
func (*QueryEstimateMultiHopSwapResponse) ProtoMessage()
func (*QueryEstimateMultiHopSwapResponse) Reset ¶
func (m *QueryEstimateMultiHopSwapResponse) Reset()
func (*QueryEstimateMultiHopSwapResponse) Size ¶
func (m *QueryEstimateMultiHopSwapResponse) Size() (n int)
func (*QueryEstimateMultiHopSwapResponse) String ¶
func (m *QueryEstimateMultiHopSwapResponse) String() string
func (*QueryEstimateMultiHopSwapResponse) Unmarshal ¶
func (m *QueryEstimateMultiHopSwapResponse) Unmarshal(dAtA []byte) error
func (*QueryEstimateMultiHopSwapResponse) XXX_DiscardUnknown ¶
func (m *QueryEstimateMultiHopSwapResponse) XXX_DiscardUnknown()
func (*QueryEstimateMultiHopSwapResponse) XXX_Marshal ¶
func (m *QueryEstimateMultiHopSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEstimateMultiHopSwapResponse) XXX_Merge ¶
func (m *QueryEstimateMultiHopSwapResponse) XXX_Merge(src proto.Message)
func (*QueryEstimateMultiHopSwapResponse) XXX_Size ¶
func (m *QueryEstimateMultiHopSwapResponse) XXX_Size() int
func (*QueryEstimateMultiHopSwapResponse) XXX_Unmarshal ¶
func (m *QueryEstimateMultiHopSwapResponse) XXX_Unmarshal(b []byte) error
type QueryEstimatePlaceLimitOrderRequest ¶
type QueryEstimatePlaceLimitOrderRequest struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` TokenIn string `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` TokenOut string `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"` TickIndexInToOut int64 `protobuf:"varint,5,opt,name=tick_index_in_to_out,json=tickIndexInToOut,proto3" json:"tick_index_in_to_out,omitempty"` AmountIn cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"` OrderType LimitOrderType `protobuf:"varint,7,opt,name=order_type,json=orderType,proto3,enum=neutron.dex.LimitOrderType" json:"order_type,omitempty"` // expirationTime is only valid iff orderType == GOOD_TIL_TIME. ExpirationTime *time.Time `protobuf:"bytes,8,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"` MaxAmountOut *cosmossdk_io_math.Int `` /* 143-byte string literal not displayed */ }
func (*QueryEstimatePlaceLimitOrderRequest) Descriptor ¶
func (*QueryEstimatePlaceLimitOrderRequest) Descriptor() ([]byte, []int)
func (*QueryEstimatePlaceLimitOrderRequest) GetCreator ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetCreator() string
func (*QueryEstimatePlaceLimitOrderRequest) GetExpirationTime ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetExpirationTime() *time.Time
func (*QueryEstimatePlaceLimitOrderRequest) GetOrderType ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetOrderType() LimitOrderType
func (*QueryEstimatePlaceLimitOrderRequest) GetReceiver ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetReceiver() string
func (*QueryEstimatePlaceLimitOrderRequest) GetTickIndexInToOut ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetTickIndexInToOut() int64
func (*QueryEstimatePlaceLimitOrderRequest) GetTokenIn ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetTokenIn() string
func (*QueryEstimatePlaceLimitOrderRequest) GetTokenOut ¶
func (m *QueryEstimatePlaceLimitOrderRequest) GetTokenOut() string
func (*QueryEstimatePlaceLimitOrderRequest) Marshal ¶
func (m *QueryEstimatePlaceLimitOrderRequest) Marshal() (dAtA []byte, err error)
func (*QueryEstimatePlaceLimitOrderRequest) MarshalTo ¶
func (m *QueryEstimatePlaceLimitOrderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEstimatePlaceLimitOrderRequest) MarshalToSizedBuffer ¶
func (m *QueryEstimatePlaceLimitOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEstimatePlaceLimitOrderRequest) ProtoMessage ¶
func (*QueryEstimatePlaceLimitOrderRequest) ProtoMessage()
func (*QueryEstimatePlaceLimitOrderRequest) Reset ¶
func (m *QueryEstimatePlaceLimitOrderRequest) Reset()
func (*QueryEstimatePlaceLimitOrderRequest) Size ¶
func (m *QueryEstimatePlaceLimitOrderRequest) Size() (n int)
func (*QueryEstimatePlaceLimitOrderRequest) String ¶
func (m *QueryEstimatePlaceLimitOrderRequest) String() string
func (*QueryEstimatePlaceLimitOrderRequest) Unmarshal ¶
func (m *QueryEstimatePlaceLimitOrderRequest) Unmarshal(dAtA []byte) error
func (*QueryEstimatePlaceLimitOrderRequest) XXX_DiscardUnknown ¶
func (m *QueryEstimatePlaceLimitOrderRequest) XXX_DiscardUnknown()
func (*QueryEstimatePlaceLimitOrderRequest) XXX_Marshal ¶
func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEstimatePlaceLimitOrderRequest) XXX_Merge ¶
func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Merge(src proto.Message)
func (*QueryEstimatePlaceLimitOrderRequest) XXX_Size ¶
func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Size() int
func (*QueryEstimatePlaceLimitOrderRequest) XXX_Unmarshal ¶
func (m *QueryEstimatePlaceLimitOrderRequest) XXX_Unmarshal(b []byte) error
type QueryEstimatePlaceLimitOrderResponse ¶
type QueryEstimatePlaceLimitOrderResponse struct { // Total amount of coin used for the limit order // You can derive makerLimitInCoin using the equation: totalInCoin = // swapInCoin + makerLimitInCoin TotalInCoin github_com_cosmos_cosmos_sdk_types.Coin `` /* 158-byte string literal not displayed */ // Total amount of the token in that was immediately swapped for swapOutCoin SwapInCoin github_com_cosmos_cosmos_sdk_types.Coin `` /* 154-byte string literal not displayed */ // Total amount of coin received from the taker portion of the limit order // This is the amount of coin immediately available in the users account after // executing the limit order. It does not include any future proceeds from the // maker portion which will have withdrawn in the future SwapOutCoin github_com_cosmos_cosmos_sdk_types.Coin `` /* 158-byte string literal not displayed */ }
func (*QueryEstimatePlaceLimitOrderResponse) Descriptor ¶
func (*QueryEstimatePlaceLimitOrderResponse) Descriptor() ([]byte, []int)
func (*QueryEstimatePlaceLimitOrderResponse) Marshal ¶
func (m *QueryEstimatePlaceLimitOrderResponse) Marshal() (dAtA []byte, err error)
func (*QueryEstimatePlaceLimitOrderResponse) MarshalTo ¶
func (m *QueryEstimatePlaceLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEstimatePlaceLimitOrderResponse) MarshalToSizedBuffer ¶
func (m *QueryEstimatePlaceLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEstimatePlaceLimitOrderResponse) ProtoMessage ¶
func (*QueryEstimatePlaceLimitOrderResponse) ProtoMessage()
func (*QueryEstimatePlaceLimitOrderResponse) Reset ¶
func (m *QueryEstimatePlaceLimitOrderResponse) Reset()
func (*QueryEstimatePlaceLimitOrderResponse) Size ¶
func (m *QueryEstimatePlaceLimitOrderResponse) Size() (n int)
func (*QueryEstimatePlaceLimitOrderResponse) String ¶
func (m *QueryEstimatePlaceLimitOrderResponse) String() string
func (*QueryEstimatePlaceLimitOrderResponse) Unmarshal ¶
func (m *QueryEstimatePlaceLimitOrderResponse) Unmarshal(dAtA []byte) error
func (*QueryEstimatePlaceLimitOrderResponse) XXX_DiscardUnknown ¶
func (m *QueryEstimatePlaceLimitOrderResponse) XXX_DiscardUnknown()
func (*QueryEstimatePlaceLimitOrderResponse) XXX_Marshal ¶
func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEstimatePlaceLimitOrderResponse) XXX_Merge ¶
func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Merge(src proto.Message)
func (*QueryEstimatePlaceLimitOrderResponse) XXX_Size ¶
func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Size() int
func (*QueryEstimatePlaceLimitOrderResponse) XXX_Unmarshal ¶
func (m *QueryEstimatePlaceLimitOrderResponse) XXX_Unmarshal(b []byte) error
type QueryGetInactiveLimitOrderTrancheRequest ¶
type QueryGetInactiveLimitOrderTrancheRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` TickIndex int64 `protobuf:"varint,3,opt,name=tick_index,json=tickIndex,proto3" json:"tick_index,omitempty"` TrancheKey string `protobuf:"bytes,4,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` }
func (*QueryGetInactiveLimitOrderTrancheRequest) Descriptor ¶
func (*QueryGetInactiveLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
func (*QueryGetInactiveLimitOrderTrancheRequest) GetPairId ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) GetPairId() string
func (*QueryGetInactiveLimitOrderTrancheRequest) GetTickIndex ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) GetTickIndex() int64
func (*QueryGetInactiveLimitOrderTrancheRequest) GetTokenIn ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) GetTokenIn() string
func (*QueryGetInactiveLimitOrderTrancheRequest) GetTrancheKey ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) GetTrancheKey() string
func (*QueryGetInactiveLimitOrderTrancheRequest) Marshal ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetInactiveLimitOrderTrancheRequest) MarshalTo ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetInactiveLimitOrderTrancheRequest) MarshalToSizedBuffer ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetInactiveLimitOrderTrancheRequest) ProtoMessage ¶
func (*QueryGetInactiveLimitOrderTrancheRequest) ProtoMessage()
func (*QueryGetInactiveLimitOrderTrancheRequest) Reset ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) Reset()
func (*QueryGetInactiveLimitOrderTrancheRequest) Size ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) Size() (n int)
func (*QueryGetInactiveLimitOrderTrancheRequest) String ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) String() string
func (*QueryGetInactiveLimitOrderTrancheRequest) Unmarshal ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
func (*QueryGetInactiveLimitOrderTrancheRequest) XXX_DiscardUnknown ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_DiscardUnknown()
func (*QueryGetInactiveLimitOrderTrancheRequest) XXX_Marshal ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetInactiveLimitOrderTrancheRequest) XXX_Merge ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
func (*QueryGetInactiveLimitOrderTrancheRequest) XXX_Size ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Size() int
func (*QueryGetInactiveLimitOrderTrancheRequest) XXX_Unmarshal ¶
func (m *QueryGetInactiveLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
type QueryGetInactiveLimitOrderTrancheResponse ¶
type QueryGetInactiveLimitOrderTrancheResponse struct {
InactiveLimitOrderTranche *LimitOrderTranche `` /* 140-byte string literal not displayed */
}
func (*QueryGetInactiveLimitOrderTrancheResponse) Descriptor ¶
func (*QueryGetInactiveLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
func (*QueryGetInactiveLimitOrderTrancheResponse) GetInactiveLimitOrderTranche ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) GetInactiveLimitOrderTranche() *LimitOrderTranche
func (*QueryGetInactiveLimitOrderTrancheResponse) Marshal ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetInactiveLimitOrderTrancheResponse) MarshalBinding ¶
func (t *QueryGetInactiveLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
func (*QueryGetInactiveLimitOrderTrancheResponse) MarshalTo ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetInactiveLimitOrderTrancheResponse) ProtoMessage ¶
func (*QueryGetInactiveLimitOrderTrancheResponse) ProtoMessage()
func (*QueryGetInactiveLimitOrderTrancheResponse) Reset ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) Reset()
func (*QueryGetInactiveLimitOrderTrancheResponse) Size ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) Size() (n int)
func (*QueryGetInactiveLimitOrderTrancheResponse) String ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) String() string
func (*QueryGetInactiveLimitOrderTrancheResponse) Unmarshal ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
func (*QueryGetInactiveLimitOrderTrancheResponse) XXX_DiscardUnknown ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_DiscardUnknown()
func (*QueryGetInactiveLimitOrderTrancheResponse) XXX_Marshal ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetInactiveLimitOrderTrancheResponse) XXX_Merge ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
func (*QueryGetInactiveLimitOrderTrancheResponse) XXX_Size ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Size() int
func (*QueryGetInactiveLimitOrderTrancheResponse) XXX_Unmarshal ¶
func (m *QueryGetInactiveLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
type QueryGetLimitOrderTrancheRequest ¶
type QueryGetLimitOrderTrancheRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TickIndex int64 `protobuf:"varint,2,opt,name=tick_index,json=tickIndex,proto3" json:"tick_index,omitempty"` TokenIn string `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` TrancheKey string `protobuf:"bytes,4,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` }
func (*QueryGetLimitOrderTrancheRequest) Descriptor ¶
func (*QueryGetLimitOrderTrancheRequest) Descriptor() ([]byte, []int)
func (*QueryGetLimitOrderTrancheRequest) GetPairId ¶
func (m *QueryGetLimitOrderTrancheRequest) GetPairId() string
func (*QueryGetLimitOrderTrancheRequest) GetTickIndex ¶
func (m *QueryGetLimitOrderTrancheRequest) GetTickIndex() int64
func (*QueryGetLimitOrderTrancheRequest) GetTokenIn ¶
func (m *QueryGetLimitOrderTrancheRequest) GetTokenIn() string
func (*QueryGetLimitOrderTrancheRequest) GetTrancheKey ¶
func (m *QueryGetLimitOrderTrancheRequest) GetTrancheKey() string
func (*QueryGetLimitOrderTrancheRequest) Marshal ¶
func (m *QueryGetLimitOrderTrancheRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLimitOrderTrancheRequest) MarshalTo ¶
func (m *QueryGetLimitOrderTrancheRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLimitOrderTrancheRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheRequest) ProtoMessage ¶
func (*QueryGetLimitOrderTrancheRequest) ProtoMessage()
func (*QueryGetLimitOrderTrancheRequest) Reset ¶
func (m *QueryGetLimitOrderTrancheRequest) Reset()
func (*QueryGetLimitOrderTrancheRequest) Size ¶
func (m *QueryGetLimitOrderTrancheRequest) Size() (n int)
func (*QueryGetLimitOrderTrancheRequest) String ¶
func (m *QueryGetLimitOrderTrancheRequest) String() string
func (*QueryGetLimitOrderTrancheRequest) Unmarshal ¶
func (m *QueryGetLimitOrderTrancheRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLimitOrderTrancheRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLimitOrderTrancheRequest) XXX_DiscardUnknown()
func (*QueryGetLimitOrderTrancheRequest) XXX_Marshal ¶
func (m *QueryGetLimitOrderTrancheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLimitOrderTrancheRequest) XXX_Merge ¶
func (m *QueryGetLimitOrderTrancheRequest) XXX_Merge(src proto.Message)
func (*QueryGetLimitOrderTrancheRequest) XXX_Size ¶
func (m *QueryGetLimitOrderTrancheRequest) XXX_Size() int
func (*QueryGetLimitOrderTrancheRequest) XXX_Unmarshal ¶
func (m *QueryGetLimitOrderTrancheRequest) XXX_Unmarshal(b []byte) error
type QueryGetLimitOrderTrancheResponse ¶
type QueryGetLimitOrderTrancheResponse struct {
LimitOrderTranche *LimitOrderTranche `protobuf:"bytes,1,opt,name=limit_order_tranche,json=limitOrderTranche,proto3" json:"limit_order_tranche,omitempty"`
}
func (*QueryGetLimitOrderTrancheResponse) Descriptor ¶
func (*QueryGetLimitOrderTrancheResponse) Descriptor() ([]byte, []int)
func (*QueryGetLimitOrderTrancheResponse) GetLimitOrderTranche ¶
func (m *QueryGetLimitOrderTrancheResponse) GetLimitOrderTranche() *LimitOrderTranche
func (*QueryGetLimitOrderTrancheResponse) Marshal ¶
func (m *QueryGetLimitOrderTrancheResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLimitOrderTrancheResponse) MarshalBinding ¶
func (t *QueryGetLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)
func (*QueryGetLimitOrderTrancheResponse) MarshalTo ¶
func (m *QueryGetLimitOrderTrancheResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLimitOrderTrancheResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheResponse) ProtoMessage ¶
func (*QueryGetLimitOrderTrancheResponse) ProtoMessage()
func (*QueryGetLimitOrderTrancheResponse) Reset ¶
func (m *QueryGetLimitOrderTrancheResponse) Reset()
func (*QueryGetLimitOrderTrancheResponse) Size ¶
func (m *QueryGetLimitOrderTrancheResponse) Size() (n int)
func (*QueryGetLimitOrderTrancheResponse) String ¶
func (m *QueryGetLimitOrderTrancheResponse) String() string
func (*QueryGetLimitOrderTrancheResponse) Unmarshal ¶
func (m *QueryGetLimitOrderTrancheResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLimitOrderTrancheResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLimitOrderTrancheResponse) XXX_DiscardUnknown()
func (*QueryGetLimitOrderTrancheResponse) XXX_Marshal ¶
func (m *QueryGetLimitOrderTrancheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLimitOrderTrancheResponse) XXX_Merge ¶
func (m *QueryGetLimitOrderTrancheResponse) XXX_Merge(src proto.Message)
func (*QueryGetLimitOrderTrancheResponse) XXX_Size ¶
func (m *QueryGetLimitOrderTrancheResponse) XXX_Size() int
func (*QueryGetLimitOrderTrancheResponse) XXX_Unmarshal ¶
func (m *QueryGetLimitOrderTrancheResponse) XXX_Unmarshal(b []byte) error
type QueryGetLimitOrderTrancheUserRequest ¶
type QueryGetLimitOrderTrancheUserRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` TrancheKey string `protobuf:"bytes,2,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"` }
func (*QueryGetLimitOrderTrancheUserRequest) Descriptor ¶
func (*QueryGetLimitOrderTrancheUserRequest) Descriptor() ([]byte, []int)
func (*QueryGetLimitOrderTrancheUserRequest) GetAddress ¶
func (m *QueryGetLimitOrderTrancheUserRequest) GetAddress() string
func (*QueryGetLimitOrderTrancheUserRequest) GetCalcWithdrawableShares ¶
func (m *QueryGetLimitOrderTrancheUserRequest) GetCalcWithdrawableShares() bool
func (*QueryGetLimitOrderTrancheUserRequest) GetTrancheKey ¶
func (m *QueryGetLimitOrderTrancheUserRequest) GetTrancheKey() string
func (*QueryGetLimitOrderTrancheUserRequest) Marshal ¶
func (m *QueryGetLimitOrderTrancheUserRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLimitOrderTrancheUserRequest) MarshalTo ¶
func (m *QueryGetLimitOrderTrancheUserRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheUserRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLimitOrderTrancheUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheUserRequest) ProtoMessage ¶
func (*QueryGetLimitOrderTrancheUserRequest) ProtoMessage()
func (*QueryGetLimitOrderTrancheUserRequest) Reset ¶
func (m *QueryGetLimitOrderTrancheUserRequest) Reset()
func (*QueryGetLimitOrderTrancheUserRequest) Size ¶
func (m *QueryGetLimitOrderTrancheUserRequest) Size() (n int)
func (*QueryGetLimitOrderTrancheUserRequest) String ¶
func (m *QueryGetLimitOrderTrancheUserRequest) String() string
func (*QueryGetLimitOrderTrancheUserRequest) Unmarshal ¶
func (m *QueryGetLimitOrderTrancheUserRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLimitOrderTrancheUserRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLimitOrderTrancheUserRequest) XXX_DiscardUnknown()
func (*QueryGetLimitOrderTrancheUserRequest) XXX_Marshal ¶
func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLimitOrderTrancheUserRequest) XXX_Merge ¶
func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Merge(src proto.Message)
func (*QueryGetLimitOrderTrancheUserRequest) XXX_Size ¶
func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Size() int
func (*QueryGetLimitOrderTrancheUserRequest) XXX_Unmarshal ¶
func (m *QueryGetLimitOrderTrancheUserRequest) XXX_Unmarshal(b []byte) error
type QueryGetLimitOrderTrancheUserResponse ¶
type QueryGetLimitOrderTrancheUserResponse struct { LimitOrderTrancheUser *LimitOrderTrancheUser `` /* 128-byte string literal not displayed */ }
func (*QueryGetLimitOrderTrancheUserResponse) Descriptor ¶
func (*QueryGetLimitOrderTrancheUserResponse) Descriptor() ([]byte, []int)
func (*QueryGetLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser ¶
func (m *QueryGetLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser() *LimitOrderTrancheUser
func (*QueryGetLimitOrderTrancheUserResponse) Marshal ¶
func (m *QueryGetLimitOrderTrancheUserResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLimitOrderTrancheUserResponse) MarshalBinding ¶
func (t *QueryGetLimitOrderTrancheUserResponse) MarshalBinding() ([]byte, error)
func (*QueryGetLimitOrderTrancheUserResponse) MarshalTo ¶
func (m *QueryGetLimitOrderTrancheUserResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheUserResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLimitOrderTrancheUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLimitOrderTrancheUserResponse) ProtoMessage ¶
func (*QueryGetLimitOrderTrancheUserResponse) ProtoMessage()
func (*QueryGetLimitOrderTrancheUserResponse) Reset ¶
func (m *QueryGetLimitOrderTrancheUserResponse) Reset()
func (*QueryGetLimitOrderTrancheUserResponse) Size ¶
func (m *QueryGetLimitOrderTrancheUserResponse) Size() (n int)
func (*QueryGetLimitOrderTrancheUserResponse) String ¶
func (m *QueryGetLimitOrderTrancheUserResponse) String() string
func (*QueryGetLimitOrderTrancheUserResponse) Unmarshal ¶
func (m *QueryGetLimitOrderTrancheUserResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLimitOrderTrancheUserResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLimitOrderTrancheUserResponse) XXX_DiscardUnknown()
func (*QueryGetLimitOrderTrancheUserResponse) XXX_Marshal ¶
func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLimitOrderTrancheUserResponse) XXX_Merge ¶
func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Merge(src proto.Message)
func (*QueryGetLimitOrderTrancheUserResponse) XXX_Size ¶
func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Size() int
func (*QueryGetLimitOrderTrancheUserResponse) XXX_Unmarshal ¶
func (m *QueryGetLimitOrderTrancheUserResponse) XXX_Unmarshal(b []byte) error
type QueryGetPoolMetadataRequest ¶
type QueryGetPoolMetadataRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryGetPoolMetadataRequest) Descriptor ¶
func (*QueryGetPoolMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryGetPoolMetadataRequest) GetId ¶
func (m *QueryGetPoolMetadataRequest) GetId() uint64
func (*QueryGetPoolMetadataRequest) Marshal ¶
func (m *QueryGetPoolMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPoolMetadataRequest) MarshalTo ¶
func (m *QueryGetPoolMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPoolMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPoolMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPoolMetadataRequest) ProtoMessage ¶
func (*QueryGetPoolMetadataRequest) ProtoMessage()
func (*QueryGetPoolMetadataRequest) Reset ¶
func (m *QueryGetPoolMetadataRequest) Reset()
func (*QueryGetPoolMetadataRequest) Size ¶
func (m *QueryGetPoolMetadataRequest) Size() (n int)
func (*QueryGetPoolMetadataRequest) String ¶
func (m *QueryGetPoolMetadataRequest) String() string
func (*QueryGetPoolMetadataRequest) Unmarshal ¶
func (m *QueryGetPoolMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPoolMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPoolMetadataRequest) XXX_DiscardUnknown()
func (*QueryGetPoolMetadataRequest) XXX_Marshal ¶
func (m *QueryGetPoolMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPoolMetadataRequest) XXX_Merge ¶
func (m *QueryGetPoolMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryGetPoolMetadataRequest) XXX_Size ¶
func (m *QueryGetPoolMetadataRequest) XXX_Size() int
func (*QueryGetPoolMetadataRequest) XXX_Unmarshal ¶
func (m *QueryGetPoolMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryGetPoolMetadataResponse ¶
type QueryGetPoolMetadataResponse struct {
PoolMetadata PoolMetadata `protobuf:"bytes,1,opt,name=Pool_metadata,json=PoolMetadata,proto3" json:"Pool_metadata"`
}
func (*QueryGetPoolMetadataResponse) Descriptor ¶
func (*QueryGetPoolMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryGetPoolMetadataResponse) GetPoolMetadata ¶
func (m *QueryGetPoolMetadataResponse) GetPoolMetadata() PoolMetadata
func (*QueryGetPoolMetadataResponse) Marshal ¶
func (m *QueryGetPoolMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPoolMetadataResponse) MarshalBinding ¶
func (t *QueryGetPoolMetadataResponse) MarshalBinding() ([]byte, error)
func (*QueryGetPoolMetadataResponse) MarshalTo ¶
func (m *QueryGetPoolMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPoolMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPoolMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPoolMetadataResponse) ProtoMessage ¶
func (*QueryGetPoolMetadataResponse) ProtoMessage()
func (*QueryGetPoolMetadataResponse) Reset ¶
func (m *QueryGetPoolMetadataResponse) Reset()
func (*QueryGetPoolMetadataResponse) Size ¶
func (m *QueryGetPoolMetadataResponse) Size() (n int)
func (*QueryGetPoolMetadataResponse) String ¶
func (m *QueryGetPoolMetadataResponse) String() string
func (*QueryGetPoolMetadataResponse) Unmarshal ¶
func (m *QueryGetPoolMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPoolMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPoolMetadataResponse) XXX_DiscardUnknown()
func (*QueryGetPoolMetadataResponse) XXX_Marshal ¶
func (m *QueryGetPoolMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPoolMetadataResponse) XXX_Merge ¶
func (m *QueryGetPoolMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryGetPoolMetadataResponse) XXX_Size ¶
func (m *QueryGetPoolMetadataResponse) XXX_Size() int
func (*QueryGetPoolMetadataResponse) XXX_Unmarshal ¶
func (m *QueryGetPoolMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryGetPoolReservesRequest ¶
type QueryGetPoolReservesRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TokenIn string `protobuf:"bytes,2,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"` TickIndex int64 `protobuf:"varint,3,opt,name=tick_index,json=tickIndex,proto3" json:"tick_index,omitempty"` Fee uint64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` }
func (*QueryGetPoolReservesRequest) Descriptor ¶
func (*QueryGetPoolReservesRequest) Descriptor() ([]byte, []int)
func (*QueryGetPoolReservesRequest) GetFee ¶
func (m *QueryGetPoolReservesRequest) GetFee() uint64
func (*QueryGetPoolReservesRequest) GetPairId ¶
func (m *QueryGetPoolReservesRequest) GetPairId() string
func (*QueryGetPoolReservesRequest) GetTickIndex ¶
func (m *QueryGetPoolReservesRequest) GetTickIndex() int64
func (*QueryGetPoolReservesRequest) GetTokenIn ¶
func (m *QueryGetPoolReservesRequest) GetTokenIn() string
func (*QueryGetPoolReservesRequest) Marshal ¶
func (m *QueryGetPoolReservesRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPoolReservesRequest) MarshalTo ¶
func (m *QueryGetPoolReservesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPoolReservesRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPoolReservesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPoolReservesRequest) ProtoMessage ¶
func (*QueryGetPoolReservesRequest) ProtoMessage()
func (*QueryGetPoolReservesRequest) Reset ¶
func (m *QueryGetPoolReservesRequest) Reset()
func (*QueryGetPoolReservesRequest) Size ¶
func (m *QueryGetPoolReservesRequest) Size() (n int)
func (*QueryGetPoolReservesRequest) String ¶
func (m *QueryGetPoolReservesRequest) String() string
func (*QueryGetPoolReservesRequest) Unmarshal ¶
func (m *QueryGetPoolReservesRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPoolReservesRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPoolReservesRequest) XXX_DiscardUnknown()
func (*QueryGetPoolReservesRequest) XXX_Marshal ¶
func (m *QueryGetPoolReservesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPoolReservesRequest) XXX_Merge ¶
func (m *QueryGetPoolReservesRequest) XXX_Merge(src proto.Message)
func (*QueryGetPoolReservesRequest) XXX_Size ¶
func (m *QueryGetPoolReservesRequest) XXX_Size() int
func (*QueryGetPoolReservesRequest) XXX_Unmarshal ¶
func (m *QueryGetPoolReservesRequest) XXX_Unmarshal(b []byte) error
type QueryGetPoolReservesResponse ¶
type QueryGetPoolReservesResponse struct {
PoolReserves *PoolReserves `protobuf:"bytes,1,opt,name=pool_reserves,json=poolReserves,proto3" json:"pool_reserves,omitempty"`
}
func (*QueryGetPoolReservesResponse) Descriptor ¶
func (*QueryGetPoolReservesResponse) Descriptor() ([]byte, []int)
func (*QueryGetPoolReservesResponse) GetPoolReserves ¶
func (m *QueryGetPoolReservesResponse) GetPoolReserves() *PoolReserves
func (*QueryGetPoolReservesResponse) Marshal ¶
func (m *QueryGetPoolReservesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPoolReservesResponse) MarshalTo ¶
func (m *QueryGetPoolReservesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPoolReservesResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPoolReservesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPoolReservesResponse) ProtoMessage ¶
func (*QueryGetPoolReservesResponse) ProtoMessage()
func (*QueryGetPoolReservesResponse) Reset ¶
func (m *QueryGetPoolReservesResponse) Reset()
func (*QueryGetPoolReservesResponse) Size ¶
func (m *QueryGetPoolReservesResponse) Size() (n int)
func (*QueryGetPoolReservesResponse) String ¶
func (m *QueryGetPoolReservesResponse) String() string
func (*QueryGetPoolReservesResponse) Unmarshal ¶
func (m *QueryGetPoolReservesResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPoolReservesResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPoolReservesResponse) XXX_DiscardUnknown()
func (*QueryGetPoolReservesResponse) XXX_Marshal ¶
func (m *QueryGetPoolReservesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPoolReservesResponse) XXX_Merge ¶
func (m *QueryGetPoolReservesResponse) XXX_Merge(src proto.Message)
func (*QueryGetPoolReservesResponse) XXX_Size ¶
func (m *QueryGetPoolReservesResponse) XXX_Size() int
func (*QueryGetPoolReservesResponse) XXX_Unmarshal ¶
func (m *QueryGetPoolReservesResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPoolByIDRequest ¶
type QueryPoolByIDRequest struct {
PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
}
func (*QueryPoolByIDRequest) Descriptor ¶
func (*QueryPoolByIDRequest) Descriptor() ([]byte, []int)
func (*QueryPoolByIDRequest) GetPoolId ¶
func (m *QueryPoolByIDRequest) GetPoolId() uint64
func (*QueryPoolByIDRequest) Marshal ¶
func (m *QueryPoolByIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolByIDRequest) MarshalTo ¶
func (m *QueryPoolByIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolByIDRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolByIDRequest) ProtoMessage ¶
func (*QueryPoolByIDRequest) ProtoMessage()
func (*QueryPoolByIDRequest) Reset ¶
func (m *QueryPoolByIDRequest) Reset()
func (*QueryPoolByIDRequest) Size ¶
func (m *QueryPoolByIDRequest) Size() (n int)
func (*QueryPoolByIDRequest) String ¶
func (m *QueryPoolByIDRequest) String() string
func (*QueryPoolByIDRequest) Unmarshal ¶
func (m *QueryPoolByIDRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolByIDRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolByIDRequest) XXX_DiscardUnknown()
func (*QueryPoolByIDRequest) XXX_Marshal ¶
func (m *QueryPoolByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolByIDRequest) XXX_Merge ¶
func (m *QueryPoolByIDRequest) XXX_Merge(src proto.Message)
func (*QueryPoolByIDRequest) XXX_Size ¶
func (m *QueryPoolByIDRequest) XXX_Size() int
func (*QueryPoolByIDRequest) XXX_Unmarshal ¶
func (m *QueryPoolByIDRequest) XXX_Unmarshal(b []byte) error
type QueryPoolRequest ¶
type QueryPoolRequest struct { PairId string `protobuf:"bytes,1,opt,name=pair_id,json=pairId,proto3" json:"pair_id,omitempty"` TickIndex int64 `protobuf:"varint,2,opt,name=tick_index,json=tickIndex,proto3" json:"tick_index,omitempty"` Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` }
func (*QueryPoolRequest) Descriptor ¶
func (*QueryPoolRequest) Descriptor() ([]byte, []int)
func (*QueryPoolRequest) GetFee ¶
func (m *QueryPoolRequest) GetFee() uint64
func (*QueryPoolRequest) GetPairId ¶
func (m *QueryPoolRequest) GetPairId() string
func (*QueryPoolRequest) GetTickIndex ¶
func (m *QueryPoolRequest) GetTickIndex() int64
func (*QueryPoolRequest) Marshal ¶
func (m *QueryPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolRequest) ProtoMessage ¶
func (*QueryPoolRequest) ProtoMessage()
func (*QueryPoolRequest) Reset ¶
func (m *QueryPoolRequest) Reset()
func (*QueryPoolRequest) Size ¶
func (m *QueryPoolRequest) Size() (n int)
func (*QueryPoolRequest) String ¶
func (m *QueryPoolRequest) String() string
func (*QueryPoolRequest) Unmarshal ¶
func (m *QueryPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryPoolRequest) XXX_DiscardUnknown()
func (*QueryPoolRequest) XXX_Marshal ¶
func (m *QueryPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolRequest) XXX_Merge ¶
func (m *QueryPoolRequest) XXX_Merge(src proto.Message)
func (*QueryPoolRequest) XXX_Size ¶
func (m *QueryPoolRequest) XXX_Size() int
func (*QueryPoolRequest) XXX_Unmarshal ¶
func (m *QueryPoolRequest) XXX_Unmarshal(b []byte) error
type QueryPoolResponse ¶
type QueryPoolResponse struct {
Pool *Pool `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
}
func (*QueryPoolResponse) Descriptor ¶
func (*QueryPoolResponse) Descriptor() ([]byte, []int)
func (*QueryPoolResponse) GetPool ¶
func (m *QueryPoolResponse) GetPool() *Pool
func (*QueryPoolResponse) Marshal ¶
func (m *QueryPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryPoolResponse) MarshalTo ¶
func (m *QueryPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPoolResponse) ProtoMessage ¶
func (*QueryPoolResponse) ProtoMessage()
func (*QueryPoolResponse) Reset ¶
func (m *QueryPoolResponse) Reset()
func (*QueryPoolResponse) Size ¶
func (m *QueryPoolResponse) Size() (n int)
func (*QueryPoolResponse) String ¶
func (m *QueryPoolResponse) String() string
func (*QueryPoolResponse) Unmarshal ¶
func (m *QueryPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryPoolResponse) XXX_DiscardUnknown()
func (*QueryPoolResponse) XXX_Marshal ¶
func (m *QueryPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPoolResponse) XXX_Merge ¶
func (m *QueryPoolResponse) XXX_Merge(src proto.Message)
func (*QueryPoolResponse) XXX_Size ¶
func (m *QueryPoolResponse) XXX_Size() int
func (*QueryPoolResponse) XXX_Unmarshal ¶
func (m *QueryPoolResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a LimitOrderTrancheUser by index. LimitOrderTrancheUser(context.Context, *QueryGetLimitOrderTrancheUserRequest) (*QueryGetLimitOrderTrancheUserResponse, error) // Queries a list of LimitOrderTranchUser items. LimitOrderTrancheUserAll(context.Context, *QueryAllLimitOrderTrancheUserRequest) (*QueryAllLimitOrderTrancheUserResponse, error) // Queries a list of LimitOrderTrancheUser items for a given address. LimitOrderTrancheUserAllByAddress(context.Context, *QueryAllLimitOrderTrancheUserByAddressRequest) (*QueryAllLimitOrderTrancheUserByAddressResponse, error) // Queries a LimitOrderTranche by index. LimitOrderTranche(context.Context, *QueryGetLimitOrderTrancheRequest) (*QueryGetLimitOrderTrancheResponse, error) // Queries a list of LimitOrderTranche items for a given pairID / TokenIn // combination. LimitOrderTrancheAll(context.Context, *QueryAllLimitOrderTrancheRequest) (*QueryAllLimitOrderTrancheResponse, error) // Queries a list of UserDeposits items. UserDepositsAll(context.Context, *QueryAllUserDepositsRequest) (*QueryAllUserDepositsResponse, error) // Queries a list of TickLiquidity items. TickLiquidityAll(context.Context, *QueryAllTickLiquidityRequest) (*QueryAllTickLiquidityResponse, error) // Queries a InactiveLimitOrderTranche by index. InactiveLimitOrderTranche(context.Context, *QueryGetInactiveLimitOrderTrancheRequest) (*QueryGetInactiveLimitOrderTrancheResponse, error) // Queries a list of InactiveLimitOrderTranche items. InactiveLimitOrderTrancheAll(context.Context, *QueryAllInactiveLimitOrderTrancheRequest) (*QueryAllInactiveLimitOrderTrancheResponse, error) // Queries a list of PoolReserves items. PoolReservesAll(context.Context, *QueryAllPoolReservesRequest) (*QueryAllPoolReservesResponse, error) // Queries a PoolReserve by index PoolReserves(context.Context, *QueryGetPoolReservesRequest) (*QueryGetPoolReservesResponse, error) // Queries the simulated result of a multihop swap EstimateMultiHopSwap(context.Context, *QueryEstimateMultiHopSwapRequest) (*QueryEstimateMultiHopSwapResponse, error) // Queries the simulated result of a PlaceLimit order EstimatePlaceLimitOrder(context.Context, *QueryEstimatePlaceLimitOrderRequest) (*QueryEstimatePlaceLimitOrderResponse, error) // Queries a pool by pair, tick and fee Pool(context.Context, *QueryPoolRequest) (*QueryPoolResponse, error) // Queries a pool by ID PoolByID(context.Context, *QueryPoolByIDRequest) (*QueryPoolResponse, error) // Queries a PoolMetadata by ID PoolMetadata(context.Context, *QueryGetPoolMetadataRequest) (*QueryGetPoolMetadataResponse, error) // Queries a list of PoolMetadata items. PoolMetadataAll(context.Context, *QueryAllPoolMetadataRequest) (*QueryAllPoolMetadataResponse, error) }
QueryServer is the server API for Query service.
type TickLiquidity ¶
type TickLiquidity struct { // Types that are valid to be assigned to Liquidity: // *TickLiquidity_PoolReserves // *TickLiquidity_LimitOrderTranche Liquidity isTickLiquidity_Liquidity `protobuf_oneof:"liquidity"` }
func (*TickLiquidity) Descriptor ¶
func (*TickLiquidity) Descriptor() ([]byte, []int)
func (*TickLiquidity) GetLimitOrderTranche ¶
func (m *TickLiquidity) GetLimitOrderTranche() *LimitOrderTranche
func (*TickLiquidity) GetLiquidity ¶
func (m *TickLiquidity) GetLiquidity() isTickLiquidity_Liquidity
func (*TickLiquidity) GetPoolReserves ¶
func (m *TickLiquidity) GetPoolReserves() *PoolReserves
func (TickLiquidity) HasToken ¶
func (t TickLiquidity) HasToken() bool
func (*TickLiquidity) Marshal ¶
func (m *TickLiquidity) Marshal() (dAtA []byte, err error)
func (*TickLiquidity) MarshalToSizedBuffer ¶
func (m *TickLiquidity) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (TickLiquidity) Price ¶
func (t TickLiquidity) Price() math_utils.PrecDec
func (*TickLiquidity) ProtoMessage ¶
func (*TickLiquidity) ProtoMessage()
func (*TickLiquidity) Reset ¶
func (m *TickLiquidity) Reset()
func (*TickLiquidity) Size ¶
func (m *TickLiquidity) Size() (n int)
func (*TickLiquidity) String ¶
func (m *TickLiquidity) String() string
func (TickLiquidity) TickIndex ¶
func (t TickLiquidity) TickIndex() int64
func (*TickLiquidity) Unmarshal ¶
func (m *TickLiquidity) Unmarshal(dAtA []byte) error
func (*TickLiquidity) XXX_DiscardUnknown ¶
func (m *TickLiquidity) XXX_DiscardUnknown()
func (*TickLiquidity) XXX_Marshal ¶
func (m *TickLiquidity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickLiquidity) XXX_Merge ¶
func (m *TickLiquidity) XXX_Merge(src proto.Message)
func (*TickLiquidity) XXX_OneofWrappers ¶
func (*TickLiquidity) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TickLiquidity) XXX_Size ¶
func (m *TickLiquidity) XXX_Size() int
func (*TickLiquidity) XXX_Unmarshal ¶
func (m *TickLiquidity) XXX_Unmarshal(b []byte) error
type TickLiquidityKey ¶
type TickLiquidityKey interface { KeyMarshal() []byte PriceTakerToMaker() (priceTakerToMaker math_utils.PrecDec, err error) }
type TickLiquidity_LimitOrderTranche ¶
type TickLiquidity_LimitOrderTranche struct {
LimitOrderTranche *LimitOrderTranche `protobuf:"bytes,2,opt,name=limit_order_tranche,json=limitOrderTranche,proto3,oneof" json:"limit_order_tranche,omitempty"`
}
func (*TickLiquidity_LimitOrderTranche) MarshalTo ¶
func (m *TickLiquidity_LimitOrderTranche) MarshalTo(dAtA []byte) (int, error)
func (*TickLiquidity_LimitOrderTranche) MarshalToSizedBuffer ¶
func (m *TickLiquidity_LimitOrderTranche) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TickLiquidity_LimitOrderTranche) Size ¶
func (m *TickLiquidity_LimitOrderTranche) Size() (n int)
type TickLiquidity_PoolReserves ¶
type TickLiquidity_PoolReserves struct {
PoolReserves *PoolReserves `protobuf:"bytes,1,opt,name=pool_reserves,json=poolReserves,proto3,oneof" json:"pool_reserves,omitempty"`
}
func (*TickLiquidity_PoolReserves) MarshalTo ¶
func (m *TickLiquidity_PoolReserves) MarshalTo(dAtA []byte) (int, error)
func (*TickLiquidity_PoolReserves) MarshalToSizedBuffer ¶
func (m *TickLiquidity_PoolReserves) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TickLiquidity_PoolReserves) Size ¶
func (m *TickLiquidity_PoolReserves) Size() (n int)
type TradePairID ¶
type TradePairID struct { MakerDenom string `protobuf:"bytes,2,opt,name=maker_denom,json=makerDenom,proto3" json:"maker_denom,omitempty"` TakerDenom string `protobuf:"bytes,3,opt,name=taker_denom,json=takerDenom,proto3" json:"taker_denom,omitempty"` }
func MustNewTradePairID ¶
func MustNewTradePairID(takerDenom, makerDenom string) *TradePairID
func NewTradePairID ¶
func NewTradePairID(takerDenom, makerDenom string) (*TradePairID, error)
func NewTradePairIDFromMaker ¶
func NewTradePairIDFromMaker(pairID *PairID, makerDenom string) *TradePairID
func NewTradePairIDFromTaker ¶
func NewTradePairIDFromTaker(pairID *PairID, takerDenom string) *TradePairID
func (*TradePairID) Descriptor ¶
func (*TradePairID) Descriptor() ([]byte, []int)
func (*TradePairID) GetMakerDenom ¶
func (m *TradePairID) GetMakerDenom() string
func (*TradePairID) GetTakerDenom ¶
func (m *TradePairID) GetTakerDenom() string
func (TradePairID) IsMakerDenomToken0 ¶
func (p TradePairID) IsMakerDenomToken0() bool
func (TradePairID) IsTakerDenomToken0 ¶
func (p TradePairID) IsTakerDenomToken0() bool
func (*TradePairID) Marshal ¶
func (m *TradePairID) Marshal() (dAtA []byte, err error)
func (*TradePairID) MarshalToSizedBuffer ¶
func (m *TradePairID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (TradePairID) MustPairID ¶
func (p TradePairID) MustPairID() *PairID
func (TradePairID) MustPriceTakerToMaker ¶
func (p TradePairID) MustPriceTakerToMaker(tickIndexNormalized int64) (priceTakerToMaker math_utils.PrecDec)
func (TradePairID) PairID ¶
func (p TradePairID) PairID() (*PairID, error)
func (TradePairID) PriceTakerToMaker ¶
func (p TradePairID) PriceTakerToMaker(tickIndexNormalized int64) (priceTakerToMaker math_utils.PrecDec, err error)
func (*TradePairID) ProtoMessage ¶
func (*TradePairID) ProtoMessage()
func (*TradePairID) Reset ¶
func (m *TradePairID) Reset()
func (TradePairID) Reversed ¶
func (p TradePairID) Reversed() *TradePairID
func (*TradePairID) Size ¶
func (m *TradePairID) Size() (n int)
func (*TradePairID) String ¶
func (m *TradePairID) String() string
func (TradePairID) TickIndexNormalized ¶
func (p TradePairID) TickIndexNormalized(tickIndexTakerToMaker int64) int64
func (TradePairID) TickIndexTakerToMaker ¶
func (p TradePairID) TickIndexTakerToMaker(tickIndexNormalized int64) int64
func (*TradePairID) Unmarshal ¶
func (m *TradePairID) Unmarshal(dAtA []byte) error
func (*TradePairID) XXX_DiscardUnknown ¶
func (m *TradePairID) XXX_DiscardUnknown()
func (*TradePairID) XXX_Marshal ¶
func (m *TradePairID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradePairID) XXX_Merge ¶
func (m *TradePairID) XXX_Merge(src proto.Message)
func (*TradePairID) XXX_Size ¶
func (m *TradePairID) XXX_Size() int
func (*TradePairID) XXX_Unmarshal ¶
func (m *TradePairID) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelLimitOrder ¶
func (*UnimplementedMsgServer) CancelLimitOrder(ctx context.Context, req *MsgCancelLimitOrder) (*MsgCancelLimitOrderResponse, error)
func (*UnimplementedMsgServer) Deposit ¶
func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
func (*UnimplementedMsgServer) MultiHopSwap ¶
func (*UnimplementedMsgServer) MultiHopSwap(ctx context.Context, req *MsgMultiHopSwap) (*MsgMultiHopSwapResponse, error)
func (*UnimplementedMsgServer) PlaceLimitOrder ¶
func (*UnimplementedMsgServer) PlaceLimitOrder(ctx context.Context, req *MsgPlaceLimitOrder) (*MsgPlaceLimitOrderResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) WithdrawFilledLimitOrder ¶
func (*UnimplementedMsgServer) WithdrawFilledLimitOrder(ctx context.Context, req *MsgWithdrawFilledLimitOrder) (*MsgWithdrawFilledLimitOrderResponse, error)
func (*UnimplementedMsgServer) Withdrawal ¶
func (*UnimplementedMsgServer) Withdrawal(ctx context.Context, req *MsgWithdrawal) (*MsgWithdrawalResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) EstimateMultiHopSwap ¶
func (*UnimplementedQueryServer) EstimateMultiHopSwap(ctx context.Context, req *QueryEstimateMultiHopSwapRequest) (*QueryEstimateMultiHopSwapResponse, error)
func (*UnimplementedQueryServer) EstimatePlaceLimitOrder ¶
func (*UnimplementedQueryServer) EstimatePlaceLimitOrder(ctx context.Context, req *QueryEstimatePlaceLimitOrderRequest) (*QueryEstimatePlaceLimitOrderResponse, error)
func (*UnimplementedQueryServer) InactiveLimitOrderTranche ¶
func (*UnimplementedQueryServer) InactiveLimitOrderTranche(ctx context.Context, req *QueryGetInactiveLimitOrderTrancheRequest) (*QueryGetInactiveLimitOrderTrancheResponse, error)
func (*UnimplementedQueryServer) InactiveLimitOrderTrancheAll ¶
func (*UnimplementedQueryServer) InactiveLimitOrderTrancheAll(ctx context.Context, req *QueryAllInactiveLimitOrderTrancheRequest) (*QueryAllInactiveLimitOrderTrancheResponse, error)
func (*UnimplementedQueryServer) LimitOrderTranche ¶
func (*UnimplementedQueryServer) LimitOrderTranche(ctx context.Context, req *QueryGetLimitOrderTrancheRequest) (*QueryGetLimitOrderTrancheResponse, error)
func (*UnimplementedQueryServer) LimitOrderTrancheAll ¶
func (*UnimplementedQueryServer) LimitOrderTrancheAll(ctx context.Context, req *QueryAllLimitOrderTrancheRequest) (*QueryAllLimitOrderTrancheResponse, error)
func (*UnimplementedQueryServer) LimitOrderTrancheUser ¶
func (*UnimplementedQueryServer) LimitOrderTrancheUser(ctx context.Context, req *QueryGetLimitOrderTrancheUserRequest) (*QueryGetLimitOrderTrancheUserResponse, error)
func (*UnimplementedQueryServer) LimitOrderTrancheUserAll ¶
func (*UnimplementedQueryServer) LimitOrderTrancheUserAll(ctx context.Context, req *QueryAllLimitOrderTrancheUserRequest) (*QueryAllLimitOrderTrancheUserResponse, error)
func (*UnimplementedQueryServer) LimitOrderTrancheUserAllByAddress ¶
func (*UnimplementedQueryServer) LimitOrderTrancheUserAllByAddress(ctx context.Context, req *QueryAllLimitOrderTrancheUserByAddressRequest) (*QueryAllLimitOrderTrancheUserByAddressResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Pool ¶
func (*UnimplementedQueryServer) Pool(ctx context.Context, req *QueryPoolRequest) (*QueryPoolResponse, error)
func (*UnimplementedQueryServer) PoolByID ¶
func (*UnimplementedQueryServer) PoolByID(ctx context.Context, req *QueryPoolByIDRequest) (*QueryPoolResponse, error)
func (*UnimplementedQueryServer) PoolMetadata ¶
func (*UnimplementedQueryServer) PoolMetadata(ctx context.Context, req *QueryGetPoolMetadataRequest) (*QueryGetPoolMetadataResponse, error)
func (*UnimplementedQueryServer) PoolMetadataAll ¶
func (*UnimplementedQueryServer) PoolMetadataAll(ctx context.Context, req *QueryAllPoolMetadataRequest) (*QueryAllPoolMetadataResponse, error)
func (*UnimplementedQueryServer) PoolReserves ¶
func (*UnimplementedQueryServer) PoolReserves(ctx context.Context, req *QueryGetPoolReservesRequest) (*QueryGetPoolReservesResponse, error)
func (*UnimplementedQueryServer) PoolReservesAll ¶
func (*UnimplementedQueryServer) PoolReservesAll(ctx context.Context, req *QueryAllPoolReservesRequest) (*QueryAllPoolReservesResponse, error)
func (*UnimplementedQueryServer) TickLiquidityAll ¶
func (*UnimplementedQueryServer) TickLiquidityAll(ctx context.Context, req *QueryAllTickLiquidityRequest) (*QueryAllTickLiquidityResponse, error)
func (*UnimplementedQueryServer) UserDepositsAll ¶
func (*UnimplementedQueryServer) UserDepositsAll(ctx context.Context, req *QueryAllUserDepositsRequest) (*QueryAllUserDepositsResponse, error)
Source Files ¶
- branchable_cache.go
- codec.go
- constants.go
- deposit_record.pb.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- limit_order_expiration.pb.go
- limit_order_tranche.go
- limit_order_tranche.pb.go
- limit_order_tranche_key.go
- limit_order_tranche_user.go
- limit_order_tranche_user.pb.go
- limit_order_type.go
- liquidity.go
- message_cancel_limit_order.go
- message_deposit.go
- message_multi_hop_swap.go
- message_place_limit_order.go
- message_update_params.go
- message_withdraw_filled_limit_order.go
- message_withdrawal.go
- pair_id.go
- pair_id.pb.go
- params.go
- params.pb.go
- pool.go
- pool.pb.go
- pool_denom.go
- pool_liquidity.go
- pool_metadata.go
- pool_metadata.pb.go
- pool_reserves.go
- pool_reserves.pb.go
- pool_reserves_key.go
- price.go
- query.pb.go
- query.pb.gw.go
- tick_liquidity.go
- tick_liquidity.pb.go
- tick_liquidity_key.go
- trade_pair_id.go
- trade_pair_id.pb.go
- tx.pb.go
- types.go
- wasm.go