types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
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/"
)
View Source
const (
	DepositEventKey                = "DepositLP"
	DepositEventCreator            = "Creator"
	DepositEventToken0             = "TokenZero"
	DepositEventToken1             = "TokenOne"
	DepositEventPrice              = "TickIndex"
	DepositEventFee                = "Fee"
	DepositEventReceiver           = "Receiver"
	DepositEventReserves0Deposited = "ReservesZeroDeposited"
	DepositEventReserves1Deposited = "ReservesOneDeposited"
	DepositEventSharesMinted       = "SharesMinted"
)

Deposit Event Attributes

View Source
const (
	WithdrawEventKey                = "WithdrawLP"
	WithdrawEventCreator            = "Creator"
	WithdrawEventToken0             = "TokenZero"
	WithdrawEventToken1             = "TokenOne"
	WithdrawEventPrice              = "TickIndex"
	WithdrawEventFee                = "Fee"
	WithdrawEventReceiver           = "Receiver"
	WithdrawEventReserves0Withdrawn = "ReservesZeroWithdrawn"
	WithdrawEventReserves1Withdrawn = "ReservesOneWithdrawn"
	WithdrawEventSharesRemoved      = "SharesRemoved"
)

Withdraw Event Attributes

View Source
const (
	MultihopSwapEventKey       = "MultihopSwap"
	MultihopSwapEventCreator   = "Creator"
	MultihopSwapEventReceiver  = "Receiver"
	MultihopSwapEventTokenIn   = "TokenIn"
	MultihopSwapEventTokenOut  = "TokenOut"
	MultihopSwapEventAmountIn  = "AmountIn"
	MultihopSwapEventAmountOut = "AmountOut"
	MultihopSwapEventRoute     = "Route"
)

Multihop-Swap Event Attributes

View Source
const (
	PlaceLimitOrderEventKey        = "PlaceLimitOrder"
	PlaceLimitOrderEventCreator    = "Creator"
	PlaceLimitOrderEventReceiver   = "Receiver"
	PlaceLimitOrderEventToken0     = "TokenZero"
	PlaceLimitOrderEventToken1     = "TokenOne"
	PlaceLimitOrderEventTokenIn    = "TokenIn"
	PlaceLimitOrderEventTokenOut   = "TokenOut"
	PlaceLimitOrderEventAmountIn   = "AmountIn"
	PlaceLimitOrderEventLimitTick  = "LimitTick"
	PlaceLimitOrderEventOrderType  = "OrderType"
	PlaceLimitOrderEventShares     = "Shares"
	PlaceLimitOrderEventTrancheKey = "TrancheKey"
)

Place LimitOrder Event Attributes

View Source
const (
	WithdrawFilledLimitOrderEventKey        = "WithdrawLimitOrder"
	WithdrawFilledLimitOrderEventCreator    = "Creator"
	WithdrawFilledLimitOrderEventToken0     = "TokenZero"
	WithdrawFilledLimitOrderEventToken1     = "TokenOne"
	WithdrawFilledLimitOrderEventTokenIn    = "TokenIn"
	WithdrawFilledLimitOrderEventTokenOut   = "TokenOut"
	WithdrawFilledLimitOrderEventTrancheKey = "TrancheKey"
	WithdrawFilledLimitOrderEventAmountOut  = "AmountOut"
)

Withdraw LimitOrder Event Attributes

View Source
const (
	CancelLimitOrderEventKey        = "CancelLimitOrder"
	CancelLimitOrderEventCreator    = "Creator"
	CancelLimitOrderEventToken0     = "TokenZero"
	CancelLimitOrderEventToken1     = "TokenOne"
	CancelLimitOrderEventTokenIn    = "TokenIn"
	CancelLimitOrderEventTokenOut   = "TokenOut"
	CancelLimitOrderEventTrancheKey = "TrancheKey"
	CancelLimitOrderEventAmountOut  = "AmountOut"
)

Cancel LimitOrder Event Attributes

View Source
const (
	EventTypeTickUpdate       = "TickUpdate"
	TickUpdateEventKey        = "TickUpdate"
	TickUpdateEventToken0     = "TokenZero"
	TickUpdateEventToken1     = "TokenOne"
	TickUpdateEventTokenIn    = "TokenIn"
	TickUpdateEventTickIndex  = "TickIndex"
	TickUpdateEventFee        = "Fee"
	TickUpdateEventTrancheKey = "TrancheKey"
	TickUpdateEventReserves   = "Reserves"
)

Tick Update Event Attributes

View Source
const (
	EventTypeGoodTilPurgeHitGasLimit = "GoodTilPurgeHitGasLimit"
	GoodTilPurgeHitGasLimitEventGas  = "Gas"
)
View Source
const (
	// NOTE: have to add letter so that LP deposits are indexed ahead of LimitOrders
	LiquidityTypePoolReserves = "A_PoolDeposit"
	LiquidityTypeLimitOrder   = "B_LODeposit"
)
View Source
const (
	// NOTE: This number is based current cost of all operations in EndBlock,
	// if that changes this value must be updated to ensure there is enough
	// remaining gas (weak proxy for timeoutPrepareProposal) to complete endBlock
	GoodTilPurgeGasBuffer = 50_000
	ExpiringLimitOrderGas = 10_000
)
View Source
const (
	PoolDenomPrefix    = "neutron/pool/"
	PoolDenomRegexpStr = "^" + PoolDenomPrefix + `(\d+)` + "$"
)
View Source
const MaxTickExp uint64 = 559_680

NOTE: 559_680 is the highest possible tick at which price can be calculated with a < 1% error when using 26 digit decimal precision (via prec_dec). The error rate for very negative ticks approaches zero, so there is no concern there

View Source
const TypeMsgCancelLimitOrder = "cancel_limit_order"
View Source
const TypeMsgDeposit = "deposit"
View Source
const TypeMsgMultiHopSwap = "multi_hop_swap"
View Source
const TypeMsgPlaceLimitOrder = "place_limit_order"
View Source
const TypeMsgUpdateParams = "update-params"
View Source
const TypeMsgWithdrawFilledLimitOrder = "withdrawal_withdrawn_limit_order"
View Source
const TypeMsgWithdrawal = "withdrawal"

Variables

View Source
var (
	ErrInvalidLengthDepositRecord        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDepositRecord          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDepositRecord = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidTradingPair = sdkerrors.Register(
		ModuleName,
		1102,
		"Invalid token pair:",
	) // "%s<>%s", tokenA, tokenB
	ErrInsufficientShares = sdkerrors.Register(
		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
	ErrInsufficientLiquidity = sdkerrors.Register(
		ModuleName,
		1114,
		"Not enough liquidity to complete trade",
	)
	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.",
	)
	ErrDepositShareUnderflow = sdkerrors.Register(
		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:",
	)
	ErrExitLimitPriceHit = sdkerrors.Register(
		ModuleName,
		1140,
		"ExitLimitPrice cannot be satisfied.",
	)
	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",
	)
	ErrSwapAmountTooSmall = sdkerrors.Register(
		ModuleName,
		1154,
		"Swap amount too small; creates unfair spread for liquidity providers",
	)
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLimitOrderExpiration        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLimitOrderExpiration          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLimitOrderExpiration = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLimitOrderTranche        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLimitOrderTranche          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLimitOrderTranche = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLimitOrderTrancheUser        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLimitOrderTrancheUser          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLimitOrderTrancheUser = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPairId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPairId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPairId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyFeeTiers               = []byte("FeeTiers")
	DefaultFeeTiers           = []uint64{0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 150, 200}
	DefaultMaxTrueTakerSpread = math_utils.MustNewPrecDecFromStr("0.005")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPoolMetadata        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPoolMetadata          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPoolMetadata = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPoolReserves        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPoolReserves          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPoolReserves = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTickLiquidity        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTickLiquidity          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTickLiquidity = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTradePairId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTradePairId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTradePairId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var 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",
}
View Source
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,
}

Functions

func BytesToTickIndex

func BytesToTickIndex(bz []byte) (int64, error)

func CalcAmountAsToken0

func CalcAmountAsToken0(amount0, amount1 math.Int, price1To0 math_utils.PrecDec) math_utils.PrecDec

func CalcFee

func CalcFee(upperTickIndex, lowerTickIndex int64) int64

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 CancelLimitOrderEvent

func CancelLimitOrderEvent(
	creator sdk.AccAddress,
	token0 string,
	token1 string,
	makerDenom string,
	tokenOut string,
	amountOut math.Int,
	trancheKey string,
) sdk.Event

func CreateDepositEvent

func CreateDepositEvent(
	creator sdk.AccAddress,
	receiver sdk.AccAddress,
	token0 string,
	token1 string,
	tickIndex int64,
	fee uint64,
	depositAmountReserve0 math.Int,
	depositAmountReserve1 math.Int,
	sharesMinted math.Int,
) sdk.Event

func CreateMultihopSwapEvent

func CreateMultihopSwapEvent(
	creator sdk.AccAddress,
	receiver sdk.AccAddress,
	makerDenom string,
	tokenOut string,
	amountIn math.Int,
	amountOut math.Int,
	route []string,
) sdk.Event

func CreatePlaceLimitOrderEvent

func CreatePlaceLimitOrderEvent(
	creator sdk.AccAddress,
	receiver sdk.AccAddress,
	token0 string,
	token1 string,
	makerDenom string,
	tokenOut string,
	amountIn math.Int,
	limitTick int64,
	orderType string,
	shares math.Int,
	trancheKey string,
) sdk.Event

func CreateTickUpdateLimitOrderTranche

func CreateTickUpdateLimitOrderTranche(tranche *LimitOrderTranche) sdk.Event

func CreateTickUpdatePoolReserves

func CreateTickUpdatePoolReserves(tick PoolReserves) sdk.Event

func CreateWithdrawEvent

func CreateWithdrawEvent(
	creator sdk.AccAddress,
	receiver sdk.AccAddress,
	token0 string,
	token1 string,
	tickIndex int64,
	fee uint64,
	withdrawAmountReserve0 math.Int,
	withdrawAmountReserve1 math.Int,
	sharesRemoved math.Int,
) sdk.Event

func GoodTilPurgeHitLimitEvent

func GoodTilPurgeHitLimitEvent(gas sdk.Gas) sdk.Event

func IsTickOutOfRange

func IsTickOutOfRange(tickIndex int64) bool

func JITGoodTilTime

func JITGoodTilTime() time.Time

func KeyPrefix

func KeyPrefix(p string) []byte

func LimitOrderExpirationKey

func LimitOrderExpirationKey(
	goodTilDate time.Time,
	trancheRef []byte,
) []byte

func LimitOrderTrancheUserAddressPrefix

func LimitOrderTrancheUserAddressPrefix(address string) []byte

func LimitOrderTrancheUserKey

func LimitOrderTrancheUserKey(address, trancheKey string) []byte

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() bankkeeper.MintingRestrictionFn

NewDexMintCoinsRestriction creates and returns a BankMintingRestrictionFn that only allows minting of valid pool denoms

func NewPoolDenom

func NewPoolDenom(poolID uint64) string

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func ParsePoolIDFromDenom

func ParsePoolIDFromDenom(denom string) (uint64, error)

func PoolIDKey

func PoolIDKey(
	pairID *PairID,
	tickIndex int64,
	fee uint64,
) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SortTokens

func SortTokens(tokenA, tokenB string) (string, string)

func TickIndexToBytes

func TickIndexToBytes(tickTakerToMaker int64) []byte

func TickLiquidityLimitOrderPrefix

func TickLiquidityLimitOrderPrefix(
	tradePairID *TradePairID,
	tickIndexTakerTomMaker int64,
) []byte

func TickLiquidityPrefix

func TickLiquidityPrefix(tradePairID *TradePairID) []byte

func TickUpdateEvent

func TickUpdateEvent(
	token0 string,
	token1 string,
	makerDenom string,
	tickIndex int64,
	reserves math.Int,
	otherAttrs ...sdk.Attribute,
) sdk.Event

func TimeBytes

func TimeBytes(timestamp time.Time) []byte

func ValidatePoolDenom

func ValidatePoolDenom(denom string) error

func ValidateTickFee

func ValidateTickFee(tick int64, fee uint64) error

func WithdrawFilledLimitOrderEvent

func WithdrawFilledLimitOrderEvent(
	creator sdk.AccAddress,
	token0 string,
	token1 string,
	makerDenom string,
	tokenOut string,
	amountOut math.Int,
	trancheKey string,
) sdk.Event

Types

type BankKeeper

type BankKeeper interface {
	// Methods imported from bank should be defined here
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	IterateAccountBalances(ctx sdk.Context, addr sdk.AccAddress, cb func(sdk.Coin) bool)
	GetSupply(ctx sdk.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"`
}

func (*DepositOptions) Descriptor

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

func (*DepositOptions) GetDisableAutoswap

func (m *DepositOptions) GetDisableAutoswap() bool

func (*DepositOptions) Marshal

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

func (*DepositOptions) MarshalTo

func (m *DepositOptions) MarshalTo(dAtA []byte) (int, 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"`
	SharesOwned     github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */
	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"`
}

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

func (m *DepositRecord) GetUpperTickIndex() int64

func (*DepositRecord) Marshal

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

func (*DepositRecord) MarshalTo

func (m *DepositRecord) MarshalTo(dAtA []byte) (int, 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 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) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type LimitOrderExpiration

type LimitOrderExpiration struct {
	// see limitOrderTranche.proto for details on goodTilDate
	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 github_com_cosmos_cosmos_sdk_types.Int `` /* 185-byte string literal not displayed */
	ReservesTakerDenom github_com_cosmos_cosmos_sdk_types.Int `` /* 185-byte string literal not displayed */
	TotalMakerDenom    github_com_cosmos_cosmos_sdk_types.Int `` /* 173-byte string literal not displayed */
	TotalTakerDenom    github_com_cosmos_cosmos_sdk_types.Int `` /* 173-byte string literal not displayed */
	// JIT orders also use goodTilDate to handle deletion but represent a special case
	// All JIT orders have a goodTilDate of 0 and an exception is made to still 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_utils_math.PrecDec `` /* 195-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,
) *LimitOrderTranche

Useful for testing

func NewLimitOrderTranche

func NewLimitOrderTranche(
	makerDenom string,
	takerDenom string,
	trancheKey string,
	tickIndex int64,
	reservesMakerDenom math.Int,
	reservesTakerDenom math.Int,
	totalMakerDenom math.Int,
	totalTakerDenom math.Int,
) (*LimitOrderTranche, error)

func (LimitOrderTranche) AmountUnfilled

func (t LimitOrderTranche) AmountUnfilled() math_utils.PrecDec

func (*LimitOrderTranche) Descriptor

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

func (*LimitOrderTranche) GetExpirationTime

func (m *LimitOrderTranche) GetExpirationTime() *time.Time

func (*LimitOrderTranche) GetKey

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

func (t LimitOrderTranche) IsExpired(ctx sdk.Context) 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 (*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) Swap

func (t *LimitOrderTranche) Swap(maxAmountTakerIn math.Int, maxAmountMakerOut *math.Int) (
	inAmount math.Int,
	outAmount math.Int,
)

func (*LimitOrderTranche) Unmarshal

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

func (*LimitOrderTranche) Withdraw

func (t *LimitOrderTranche) Withdraw(trancheUser *LimitOrderTrancheUser) (math.Int, math_utils.PrecDec)

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 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"`
	SharesOwned           github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */
	SharesWithdrawn       github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */
	SharesCancelled       github_com_cosmos_cosmos_sdk_types.Int `` /* 170-byte string literal not displayed */
	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 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 Liquidity

type Liquidity interface {
	Swap(maxAmountTakerIn math.Int, maxAmountMakerOut *math.Int) (inAmount, outAmount math.Int)
	Price() math_utils.PrecDec
}

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

func (msg *MsgCancelLimitOrder) ValidateBasic() 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

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        []github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	AmountsB        []github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	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) MarshalTo

func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, 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) ValidateBasic

func (msg *MsgDeposit) ValidateBasic() 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 []github_com_cosmos_cosmos_sdk_types.Int `` /* 178-byte string literal not displayed */
	Reserve1Deposited []github_com_cosmos_cosmos_sdk_types.Int `` /* 178-byte string literal not displayed */
}

func (*MsgDepositResponse) Descriptor

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

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       github_com_cosmos_cosmos_sdk_types.Int            `` /* 142-byte string literal not displayed */
	ExitLimitPrice github_com_neutron_org_neutron_utils_math.PrecDec `` /* 180-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) MarshalTo

func (m *MsgMultiHopSwap) MarshalTo(dAtA []byte) (int, 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) ValidateBasic

func (msg *MsgMultiHopSwap) ValidateBasic() 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"`
	TickIndexInToOut int64                                  `protobuf:"varint,5,opt,name=tick_index_in_to_out,json=tickIndexInToOut,proto3" json:"tick_index_in_to_out,omitempty"`
	AmountIn         github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	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   *github_com_cosmos_cosmos_sdk_types.Int `` /* 162-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,
) *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

func (m *MsgPlaceLimitOrder) GetTickIndexInToOut() int64

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

func (msg *MsgPlaceLimitOrder) ValidateBasic() 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 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) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) 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) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() 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) ValidateBasic

func (msg *MsgWithdrawFilledLimitOrder) ValidateBasic() 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 (*MsgWithdrawFilledLimitOrderResponse) Size

func (*MsgWithdrawFilledLimitOrderResponse) 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 (*MsgWithdrawFilledLimitOrderResponse) XXX_Size

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"`
	SharesToRemove  []github_com_cosmos_cosmos_sdk_types.Int `` /* 169-byte string literal not displayed */
	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 NewMsgWithdrawal(creator,
	receiver,
	tokenA,
	tokenB string,
	sharesToRemove []math.Int,
	tickIndexes []int64,
	fees []uint64,
) *MsgWithdrawal

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

func (m *MsgWithdrawal) MarshalTo(dAtA []byte) (int, 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) ValidateBasic

func (msg *MsgWithdrawal) ValidateBasic() 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) MarshalTo

func (m *MultiHopRoute) MarshalTo(dAtA []byte) (int, 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 MustNewPairID(token0, token1 string) *PairID

func NewPairID

func NewPairID(token0, token1 string) (*PairID, error)

func NewPairIDFromCanonicalString

func NewPairIDFromCanonicalString(pairIDStr string) (*PairID, error)

func NewPairIDFromUnsorted

func NewPairIDFromUnsorted(tokenA, tokenB string) (*PairID, error)

func (*PairID) CanonicalString

func (p *PairID) CanonicalString() string

func (*PairID) Descriptor

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

func (*PairID) Equal

func (p *PairID) Equal(otherPairID *PairID) bool

func (*PairID) GetToken0

func (m *PairID) GetToken0() string

func (*PairID) GetToken1

func (m *PairID) GetToken1() string

func (*PairID) Marshal

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

func (*PairID) MarshalTo

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

func (*PairID) MarshalToSizedBuffer

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

func (*PairID) MustOppositeToken

func (p *PairID) MustOppositeToken(token string) string

func (*PairID) MustTradePairIDFromMaker

func (p *PairID) MustTradePairIDFromMaker(maker string) *TradePairID

func (*PairID) MustTradePairIDFromTaker

func (p *PairID) MustTradePairIDFromTaker(taker string) *TradePairID

func (*PairID) OppositeToken

func (p *PairID) OppositeToken(token string) (oppToken string, ok bool)

func (*PairID) ProtoMessage

func (*PairID) ProtoMessage()

func (*PairID) Reset

func (m *PairID) Reset()

func (*PairID) Size

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

func (*PairID) String

func (m *PairID) String() string

func (*PairID) Unmarshal

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

func (*PairID) XXX_DiscardUnknown

func (m *PairID) XXX_DiscardUnknown()

func (*PairID) XXX_Marshal

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

func (*PairID) XXX_Merge

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

func (*PairID) XXX_Size

func (m *PairID) XXX_Size() int

func (*PairID) XXX_Unmarshal

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

type Params

type Params struct {
	FeeTiers           []uint64                                          `protobuf:"varint,1,rep,packed,name=fee_tiers,json=feeTiers,proto3" json:"fee_tiers,omitempty"`
	MaxTrueTakerSpread github_com_neutron_org_neutron_utils_math.PrecDec `` /* 199-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(feeTiers []uint64, maxTrueTakerSpread math_utils.PrecDec) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetFeeTiers

func (m *Params) GetFeeTiers() []uint64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type 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 MustNewPool(
	pairID *PairID,
	centerTickIndexNormalized int64,
	fee uint64,
	id uint64,
) *Pool

func NewPool

func NewPool(
	pairID *PairID,
	centerTickIndexNormalized int64,
	fee uint64,
	id uint64,
) (*Pool, error)

func (*Pool) CalcResidualSharesMinted

func (p *Pool) CalcResidualSharesMinted(
	residualAmount0 math.Int,
	residualAmount1 math.Int,
) (sharesMinted sdk.Coin, err error)

func (*Pool) CalcSharesMinted

func (p *Pool) CalcSharesMinted(
	amount0 math.Int,
	amount1 math.Int,
	existingShares math.Int,
) (sharesMinted sdk.Coin)

func (*Pool) CenterTickIndex

func (p *Pool) CenterTickIndex() int64

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) Descriptor() ([]byte, []int)

func (*Pool) Fee

func (p *Pool) Fee() uint64

func (*Pool) GetId

func (m *Pool) GetId() uint64

func (*Pool) GetLowerReserve0

func (p *Pool) GetLowerReserve0() math.Int

func (*Pool) GetLowerTick0

func (m *Pool) GetLowerTick0() *PoolReserves

func (*Pool) GetPoolDenom

func (p *Pool) GetPoolDenom() string

func (*Pool) GetUpperReserve1

func (p *Pool) GetUpperReserve1() math.Int

func (*Pool) GetUpperTick1

func (m *Pool) GetUpperTick1() *PoolReserves

func (*Pool) Marshal

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

func (*Pool) MarshalTo

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

func (*Pool) MarshalToSizedBuffer

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

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 (p *Pool) RedeemValue(sharesToRemove, totalShares math.Int) (outAmount0, outAmount1 math.Int)

func (*Pool) Reset

func (m *Pool) Reset()

func (*Pool) Size

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

func (*Pool) String

func (m *Pool) String() string

func (*Pool) Swap

func (p *Pool) Swap(
	tradePairID *TradePairID,
	maxAmountTakerIn math.Int,
	maxAmountMakerOut *math.Int,
) (amountTakerIn, amountMakerOut math.Int)

func (*Pool) Unmarshal

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

func (*Pool) Withdraw

func (p *Pool) Withdraw(sharesToRemove, totalShares math.Int) (outAmount0, outAmount1 math.Int)

func (*Pool) XXX_DiscardUnknown

func (m *Pool) XXX_DiscardUnknown()

func (*Pool) XXX_Marshal

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

func (*Pool) XXX_Merge

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

func (*Pool) XXX_Size

func (m *Pool) XXX_Size() int

func (*Pool) XXX_Unmarshal

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

type PoolLiquidity

type PoolLiquidity struct {
	TradePairID *TradePairID
	Pool        *Pool
}

func (*PoolLiquidity) Price

func (pl *PoolLiquidity) Price() math_utils.PrecDec

func (*PoolLiquidity) Swap

func (pl *PoolLiquidity) Swap(
	maxAmountTakerDenomIn math.Int,
	maxAmountMakerDenomOut *math.Int,
) (inAmount, outAmount math.Int)

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

func (m *PoolMetadata) MarshalTo(dAtA []byte) (int, 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        github_com_cosmos_cosmos_sdk_types.Int            `` /* 185-byte string literal not displayed */
	PriceTakerToMaker         github_com_neutron_org_neutron_utils_math.PrecDec `` /* 195-byte string literal not displayed */
	PriceOppositeTakerToMaker github_com_neutron_org_neutron_utils_math.PrecDec `` /* 230-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) MarshalTo

func (m *PoolReserves) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *PoolReservesKey) MarshalTo(dAtA []byte) (int, 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 (*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) Reset

func (*QueryAllInactiveLimitOrderTrancheRequest) Size

func (*QueryAllInactiveLimitOrderTrancheRequest) String

func (*QueryAllInactiveLimitOrderTrancheRequest) Unmarshal

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 (*QueryAllInactiveLimitOrderTrancheRequest) XXX_Size

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 (*QueryAllInactiveLimitOrderTrancheResponse) Marshal

func (m *QueryAllInactiveLimitOrderTrancheResponse) Marshal() (dAtA []byte, err 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) Reset

func (*QueryAllInactiveLimitOrderTrancheResponse) Size

func (*QueryAllInactiveLimitOrderTrancheResponse) String

func (*QueryAllInactiveLimitOrderTrancheResponse) Unmarshal

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 (*QueryAllInactiveLimitOrderTrancheResponse) XXX_Size

func (*QueryAllInactiveLimitOrderTrancheResponse) XXX_Unmarshal

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 (*QueryAllLimitOrderTrancheRequest) GetPairId

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 (*QueryAllLimitOrderTrancheRequest) Size

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

func (*QueryAllLimitOrderTrancheRequest) 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 (*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 (*QueryAllLimitOrderTrancheResponse) Marshal

func (m *QueryAllLimitOrderTrancheResponse) Marshal() (dAtA []byte, err 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 (*QueryAllLimitOrderTrancheResponse) Size

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

func (*QueryAllLimitOrderTrancheResponse) 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 (*QueryAllLimitOrderTrancheResponse) XXX_Size

func (m *QueryAllLimitOrderTrancheResponse) XXX_Size() int

func (*QueryAllLimitOrderTrancheResponse) XXX_Unmarshal

func (m *QueryAllLimitOrderTrancheResponse) 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 (*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 (*QueryAllLimitOrderTrancheUserRequest) Size

func (*QueryAllLimitOrderTrancheUserRequest) 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 (*QueryAllLimitOrderTrancheUserRequest) XXX_Size

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 (*QueryAllLimitOrderTrancheUserResponse) Marshal

func (m *QueryAllLimitOrderTrancheUserResponse) Marshal() (dAtA []byte, err 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 (*QueryAllLimitOrderTrancheUserResponse) Size

func (*QueryAllLimitOrderTrancheUserResponse) 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 (*QueryAllLimitOrderTrancheUserResponse) XXX_Size

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 (*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 (*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 (*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) 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 (*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"`
}

func (*QueryAllUserDepositsRequest) Descriptor

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

func (*QueryAllUserDepositsRequest) GetAddress

func (m *QueryAllUserDepositsRequest) GetAddress() string

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 (*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 QueryAllUserLimitOrdersRequest

type QueryAllUserLimitOrdersRequest 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 (*QueryAllUserLimitOrdersRequest) Descriptor

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

func (*QueryAllUserLimitOrdersRequest) GetAddress

func (m *QueryAllUserLimitOrdersRequest) GetAddress() string

func (*QueryAllUserLimitOrdersRequest) GetPagination

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

func (*QueryAllUserLimitOrdersRequest) Marshal

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

func (*QueryAllUserLimitOrdersRequest) MarshalTo

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

func (*QueryAllUserLimitOrdersRequest) MarshalToSizedBuffer

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

func (*QueryAllUserLimitOrdersRequest) ProtoMessage

func (*QueryAllUserLimitOrdersRequest) ProtoMessage()

func (*QueryAllUserLimitOrdersRequest) Reset

func (m *QueryAllUserLimitOrdersRequest) Reset()

func (*QueryAllUserLimitOrdersRequest) Size

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

func (*QueryAllUserLimitOrdersRequest) String

func (*QueryAllUserLimitOrdersRequest) Unmarshal

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

func (*QueryAllUserLimitOrdersRequest) XXX_DiscardUnknown

func (m *QueryAllUserLimitOrdersRequest) XXX_DiscardUnknown()

func (*QueryAllUserLimitOrdersRequest) XXX_Marshal

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

func (*QueryAllUserLimitOrdersRequest) XXX_Merge

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

func (*QueryAllUserLimitOrdersRequest) XXX_Size

func (m *QueryAllUserLimitOrdersRequest) XXX_Size() int

func (*QueryAllUserLimitOrdersRequest) XXX_Unmarshal

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

type QueryAllUserLimitOrdersResponse

type QueryAllUserLimitOrdersResponse 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 (*QueryAllUserLimitOrdersResponse) Descriptor

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

func (*QueryAllUserLimitOrdersResponse) GetLimitOrders

func (*QueryAllUserLimitOrdersResponse) GetPagination

func (*QueryAllUserLimitOrdersResponse) Marshal

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

func (*QueryAllUserLimitOrdersResponse) MarshalTo

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

func (*QueryAllUserLimitOrdersResponse) MarshalToSizedBuffer

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

func (*QueryAllUserLimitOrdersResponse) ProtoMessage

func (*QueryAllUserLimitOrdersResponse) ProtoMessage()

func (*QueryAllUserLimitOrdersResponse) Reset

func (*QueryAllUserLimitOrdersResponse) Size

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

func (*QueryAllUserLimitOrdersResponse) String

func (*QueryAllUserLimitOrdersResponse) Unmarshal

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

func (*QueryAllUserLimitOrdersResponse) XXX_DiscardUnknown

func (m *QueryAllUserLimitOrdersResponse) XXX_DiscardUnknown()

func (*QueryAllUserLimitOrdersResponse) XXX_Marshal

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

func (*QueryAllUserLimitOrdersResponse) XXX_Merge

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

func (*QueryAllUserLimitOrdersResponse) XXX_Size

func (m *QueryAllUserLimitOrdersResponse) XXX_Size() int

func (*QueryAllUserLimitOrdersResponse) XXX_Unmarshal

func (m *QueryAllUserLimitOrdersResponse) 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 LimitOrderTrancheMap 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 *QueryAllUserLimitOrdersRequest, opts ...grpc.CallOption) (*QueryAllUserLimitOrdersResponse, 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 multihop swap
	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       github_com_cosmos_cosmos_sdk_types.Int            `` /* 142-byte string literal not displayed */
	ExitLimitPrice github_com_neutron_org_neutron_utils_math.PrecDec `` /* 180-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 (*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 (*QueryEstimateMultiHopSwapRequest) Size

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

func (*QueryEstimateMultiHopSwapRequest) 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 (*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 (*QueryEstimateMultiHopSwapResponse) Size

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

func (*QueryEstimateMultiHopSwapResponse) 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 (*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         github_com_cosmos_cosmos_sdk_types.Int `` /* 142-byte string literal not displayed */
	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   *github_com_cosmos_cosmos_sdk_types.Int `` /* 160-byte string literal not displayed */
}

func (*QueryEstimatePlaceLimitOrderRequest) Descriptor

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

func (*QueryEstimatePlaceLimitOrderRequest) GetCreator

func (*QueryEstimatePlaceLimitOrderRequest) GetExpirationTime

func (m *QueryEstimatePlaceLimitOrderRequest) GetExpirationTime() *time.Time

func (*QueryEstimatePlaceLimitOrderRequest) GetOrderType

func (*QueryEstimatePlaceLimitOrderRequest) GetReceiver

func (*QueryEstimatePlaceLimitOrderRequest) GetTickIndexInToOut

func (m *QueryEstimatePlaceLimitOrderRequest) GetTickIndexInToOut() int64

func (*QueryEstimatePlaceLimitOrderRequest) GetTokenIn

func (*QueryEstimatePlaceLimitOrderRequest) GetTokenOut

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 (*QueryEstimatePlaceLimitOrderRequest) Size

func (*QueryEstimatePlaceLimitOrderRequest) 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 (*QueryEstimatePlaceLimitOrderRequest) XXX_Size

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 (*QueryEstimatePlaceLimitOrderResponse) Size

func (*QueryEstimatePlaceLimitOrderResponse) 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 (*QueryEstimatePlaceLimitOrderResponse) XXX_Size

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 (*QueryGetInactiveLimitOrderTrancheRequest) GetTickIndex

func (*QueryGetInactiveLimitOrderTrancheRequest) GetTokenIn

func (*QueryGetInactiveLimitOrderTrancheRequest) GetTrancheKey

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

func (*QueryGetInactiveLimitOrderTrancheRequest) Size

func (*QueryGetInactiveLimitOrderTrancheRequest) String

func (*QueryGetInactiveLimitOrderTrancheRequest) Unmarshal

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 (*QueryGetInactiveLimitOrderTrancheRequest) XXX_Size

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

func (*QueryGetInactiveLimitOrderTrancheResponse) Size

func (*QueryGetInactiveLimitOrderTrancheResponse) String

func (*QueryGetInactiveLimitOrderTrancheResponse) Unmarshal

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 (*QueryGetInactiveLimitOrderTrancheResponse) XXX_Size

func (*QueryGetInactiveLimitOrderTrancheResponse) XXX_Unmarshal

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 (*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 (*QueryGetLimitOrderTrancheRequest) Size

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

func (*QueryGetLimitOrderTrancheRequest) 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 (*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) 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 (*QueryGetLimitOrderTrancheResponse) Size

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

func (*QueryGetLimitOrderTrancheResponse) 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 (*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 (*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 (*QueryGetLimitOrderTrancheUserRequest) Size

func (*QueryGetLimitOrderTrancheUserRequest) 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 (*QueryGetLimitOrderTrancheUserRequest) XXX_Size

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) 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 (*QueryGetLimitOrderTrancheUserResponse) Size

func (*QueryGetLimitOrderTrancheUserResponse) 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 (*QueryGetLimitOrderTrancheUserResponse) XXX_Size

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 (*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) 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 (*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 (*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) MarshalTo

func (m *QueryPoolRequest) MarshalTo(dAtA []byte) (int, 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 LimitOrderTrancheMap items.
	LimitOrderTrancheUserAll(context.Context, *QueryAllLimitOrderTrancheUserRequest) (*QueryAllLimitOrderTrancheUserResponse, error)
	// Queries a list of LimitOrderTrancheUser items for a given address.
	LimitOrderTrancheUserAllByAddress(context.Context, *QueryAllUserLimitOrdersRequest) (*QueryAllUserLimitOrdersResponse, 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 multihop swap
	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) MarshalTo

func (m *TickLiquidity) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *TradePairID) MarshalTo(dAtA []byte) (int, 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) Deposit

func (*UnimplementedMsgServer) MultiHopSwap

func (*UnimplementedMsgServer) PlaceLimitOrder

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) WithdrawFilledLimitOrder

func (*UnimplementedMsgServer) Withdrawal

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) LimitOrderTrancheUserAllByAddress

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Pool

func (*UnimplementedQueryServer) PoolByID

func (*UnimplementedQueryServer) PoolMetadata

func (*UnimplementedQueryServer) PoolMetadataAll

func (*UnimplementedQueryServer) PoolReserves

func (*UnimplementedQueryServer) PoolReservesAll

func (*UnimplementedQueryServer) TickLiquidityAll

func (*UnimplementedQueryServer) UserDepositsAll

Jump to

Keyboard shortcuts

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