types

package
v5.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	AttributeCreator              = "Creator"
	AttributeReceiver             = "Receiver"
	AttributeToken0               = "TokenZero"
	AttributeToken1               = "TokenOne"
	AttributeTokenIn              = "TokenIn"
	AttributeTokenOut             = "TokenOut"
	AttributeAmountIn             = "AmountIn"
	AttributeAmountOut            = "AmountOut"
	AttributeSwapAmountIn         = "SwapAmountIn"
	AttributeSwapAmountOut        = "SwapAmountOut"
	AttributeTokenInAmountOut     = "TokenInAmountOut"
	AttributeTokenOutAmountOut    = "TokenOutAmountOut"
	AttributeTickIndex            = "TickIndex"
	AttributeFee                  = "Fee"
	AttributeTrancheKey           = "TrancheKey"
	AttributeSharesMinted         = "SharesMinted"
	AttributeReserves0Deposited   = "ReservesZeroDeposited"
	AttributeReserves1Deposited   = "ReservesOneDeposited"
	AttributeReserves0Withdrawn   = "ReservesZeroWithdrawn"
	AttributeReserves1Withdrawn   = "ReservesOneWithdrawn"
	AttributeSharesRemoved        = "SharesRemoved"
	AttributeRoute                = "Route"
	AttributeDust                 = "Dust"
	AttributeLimitTick            = "LimitTick"
	AttributeOrderType            = "OrderType"
	AttributeShares               = "Shares"
	AttributeReserves             = "Reserves"
	AttributeGas                  = "Gas"
	AttributeDenom                = "denom"
	AttributeWithdrawn            = "total_withdrawn"
	AttributeGasConsumed          = "gas_consumed"
	AttributeLiquidityTickType    = "liquidity_tick_type"
	AttributeLp                   = "lp"
	AttributeLimitOrder           = "limit_order"
	AttributeIsExpiringLimitOrder = "is_expiring_limit_order"
	AttributeInc                  = "inc"
	AttributeDec                  = "dec"
	AttributePairID               = "pair_id"
	AttributeMakerDenom           = "MakerDenom"
	AttributeTakerDenom           = "TakerDenom"
	AttributeSharesOwned          = "SharesOwned"
	AttributeSharesWithdrawn      = "SharesWithdrawn"
	AttributeMinAvgSellPrice      = "MinAvgSellPrice"
)

Shared Attributes

View Source
const (
	DepositEventKey                  = "DepositLP"
	WithdrawEventKey                 = "WithdrawLP"
	MultihopSwapEventKey             = "MultihopSwap"
	PlaceLimitOrderEventKey          = "PlaceLimitOrder"
	WithdrawFilledLimitOrderEventKey = "WithdrawLimitOrder"
	CancelLimitOrderEventKey         = "CancelLimitOrder"
	EventTypeTickUpdate              = "TickUpdate"
	TickUpdateEventKey               = "TickUpdate"
	EventTypeGoodTilPurgeHitGasLimit = "GoodTilPurgeHitGasLimit"
	TrancheUserUpdateEventKey        = "TrancheUserUpdate"
	EventTypeTrancheUserUpdate       = "TrancheUserUpdate"
	// EventTypeNeutronMessage defines the event type used by the Interchain Queries module events.
	EventTypeNeutronMessage = "neutron"
)

Event Keys

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"

	// TStoreKey defines the transient store key
	TStoreKey = "transient_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/"

	// JITPerBlock is the key to retrieve the number of JIT limit orders place in a single block
	JITsInBlockKey = "JITsInBlock/count/"
)
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 (
	PoolDenomPrefix    = "neutron/pool/"
	PoolDenomRegexpStr = "^" + PoolDenomPrefix + `(\d+)` + "$"
)
View Source
const (
	// NOTE: 559_680 is the highest possible tick at which price can be calculated with a < 1% error
	// when using 27 digit decimal precision (via prec_dec).
	// The error rate for very negative ticks approaches zero, so there is no concern there
	MaxTickExp uint64 = 559_680
	MinPrice   string = "0.000000000000000000000000495"
	MaxPrice   string = "2020125331305056766452345.127500016657360222036663651"
)
View Source
const ConsensusVersion = 5
View Source
const DummyAddress = "neutron1pq7j6za5zjcl3um9t5gfyleues336tv04tyq0k"

Dummy Address used for simulate queries

View Source
const (
	ExpiringLimitOrderGas = 10_000
)
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 tranche not found:",
	) // "%d", trancheKey
	ErrCancelEmptyLimitOrder = sdkerrors.Register(
		ModuleName,
		1112,
		"Cannot cancel additional liquidity from limit order tranche:",
	) // "%d", tranche.TrancheKey
	ErrTickOutsideRange = sdkerrors.Register(
		ModuleName,
		1117,
		"abs(tick) + fee must be < 559,680",
	)
	ErrInvalidPoolDenom = sdkerrors.Register(
		ModuleName,
		1118,
		"Denom is not an instance of Neutron PoolDenom",
	)
	ErrInvalidPairIDStr = sdkerrors.Register(
		ModuleName,
		1119,
		"PairID does not conform to pattern TokenA<>TokenB",
	)
	ErrZeroDeposit = sdkerrors.Register(
		ModuleName,
		1120,
		"At least one deposit amount must be > 0.",
	)
	ErrZeroTrueDeposit = sdkerrors.Register(
		ModuleName,
		1121,
		"Cannot deposit single-sided liquidity in tick with opposite liquidity while autoswap is disabled",
	)
	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.",
	)
	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:",
	)
	ErrAllMultiHopRoutesFailed = sdkerrors.Register(
		ModuleName,
		1141,
		"All multihop routes failed limitPrice check or had insufficient liquidity",
	)
	ErrMultihopExitTokensMismatch = sdkerrors.Register(
		ModuleName,
		1142,
		"All multihop routes must have the same exit token",
	)
	ErrMissingMultihopRoute = sdkerrors.Register(
		ModuleName,
		1143,
		"Must supply at least 1 route for multihop swap",
	)
	ErrZeroMaxAmountOut = sdkerrors.Register(
		ModuleName,
		1144,
		"MaxAmountOut must be nil or > 0.",
	)
	ErrInvalidMaxAmountOutForMaker = sdkerrors.Register(
		ModuleName,
		1145,
		"MaxAmountOut can only be set for taker only limit orders.",
	)
	ErrInvalidFee = sdkerrors.Register(
		ModuleName,
		1148,
		"Fee must must a legal fee amount:",
	)
	ErrInvalidAddress = sdkerrors.Register(
		ModuleName,
		1149,
		"Invalid Address",
	)
	ErrRouteWithoutExitToken = sdkerrors.Register(
		ModuleName,
		1150,
		"Each route should specify at least two hops - input and output tokens",
	)
	ErrCycleInHops = sdkerrors.Register(
		ModuleName,
		1151,
		"Hops cannot have cycles",
	)
	ErrZeroExitPrice = sdkerrors.Register(
		ModuleName,
		1152,
		"Cannot have negative or zero exit price",
	)
	ErrDuplicatePoolDeposit = sdkerrors.Register(
		ModuleName,
		1153,
		"Can only provide a single deposit amount for each tick, fee pair",
	)
	ErrLimitPriceNotSatisfied = sdkerrors.Register(
		ModuleName,
		1154,
		"Trade cannot be filled at the specified LimitPrice",
	)
	ErrDexPaused = sdkerrors.Register(
		ModuleName,
		1155,
		"Dex has been paused, all messages are disabled at this time",
	)
	ErrOverJITPerBlockLimit = sdkerrors.Register(
		ModuleName,
		1156,
		"Maximum JIT LimitOrders per block has already been reached",
	)
	ErrInvalidDenom = sdkerrors.Register(
		ModuleName,
		1157,
		"Invalid token denom",
	)
	ErrMultihopEntryTokensMismatch = sdkerrors.Register(
		ModuleName,
		1158,
		"MultihopSwap starting tokens for each route must be the same",
	)
	ErrTradeTooSmall = sdkerrors.Register(
		ModuleName,
		1159,
		"Specified trade will result in a rounded output of 0",
	)
	ErrPriceOutsideRange = sdkerrors.Register(
		ModuleName,
		1160,
		"Invalid price; 0.00000000000000000000000050 < PRICE > 2020125331305056766451886.728",
	)
	ErrInvalidPriceAndTick = sdkerrors.Register(
		ModuleName,
		1161,
		"Only LimitSellPrice or TickIndexInToOut should be specified",
	)
	ErrDepositBehindEnemyLines = sdkerrors.Register(
		ModuleName,
		1162,
		"Cannot deposit at a price below the opposing token's current price",
	)
	ErrCalcTickFromPrice = sdkerrors.Register(
		ModuleName,
		1163,
		"Cannot convert price to int64 tick value",
	)
	ErrNoLiquidity = sdkerrors.Register(
		ModuleName,
		1164,
		"No tradable liquidity below LimitSellPrice",
	)
	ErrZeroMinAverageSellPrice = sdkerrors.Register(
		ModuleName,
		1165,
		"MinAverageSellPrice must be nil or > 0.",
	)
)
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}
	KeyPaused                           = []byte("Paused")
	DefaultPaused                       = false
	KeyMaxJITsPerBlock                  = []byte("MaxJITs")
	DefaultMaxJITsPerBlock       uint64 = 25
	KeyGoodTilPurgeAllowance            = []byte("PurgeAllowance")
	DefaultGoodTilPurgeAllowance uint64 = 540_000
)
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,
}
View Source
var PrecomputedPrices []math_utils.PrecDec

Functions

func BinarySearchPriceToTick

func BinarySearchPriceToTick(price math_utils.PrecDec) uint64

func BytesToTickIndex

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

func CalcAmountAsToken0

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

func CalcAutoswapAmount

func CalcAutoswapAmount(
	reserves0,
	reserves1,
	depositAmount0,
	depositAmount1 math.Int,
	price1To0 math_utils.PrecDec,
) (resultAmount0, resultAmount1 math.Int)

CalcAutoswapAmount calculates the smallest swap to match the current pool ratio. see: https://www.notion.so/Autoswap-Spec-ca5f35a4cd5b4dbf9ae27e0454ddd445?pvs=4#12032ea59b0e802c925efae10c3ca85f

func CalcGreatestMatchingRatio

func CalcGreatestMatchingRatio(
	targetAmount0 math.Int,
	targetAmount1 math.Int,
	amount0 math.Int,
	amount1 math.Int,
) (resultAmount0, resultAmount1 math.Int)

Balance deposit amounts to match the existing ratio in the pool. If pool is empty allow any 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 CalcTickIndexFromPrice

func CalcTickIndexFromPrice(price math_utils.PrecDec) (int64, error)

func CancelLimitOrderEvent

func CancelLimitOrderEvent(
	creator sdk.AccAddress,
	token0 string,
	token1 string,
	makerDenom string,
	tokenOut string,
	amountOutTaker math.Int,
	amountOutMaker 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,
	dust sdk.Coins,
) 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,
	minAvgSellPrice math_utils.PrecDec,
	shares math.Int,
	trancheKey string,
	swapAmountIn math.Int,
	swapAmountOut math.Int,
) sdk.Event

func CreateTickUpdateLimitOrderTranche

func CreateTickUpdateLimitOrderTranche(tranche *LimitOrderTranche) sdk.Event

func CreateTickUpdateLimitOrderTranchePurge

func CreateTickUpdateLimitOrderTranchePurge(tranche *LimitOrderTranche) sdk.Event

func CreateTickUpdatePoolReserves

func CreateTickUpdatePoolReserves(tick PoolReserves) sdk.Event

func CreateWithdrawEvent

func 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 GetEventsDecExpiringOrders

func GetEventsDecExpiringOrders(pairID *TradePairID) sdk.Events

func GetEventsDecTotalOrders

func GetEventsDecTotalOrders(pairID *TradePairID) sdk.Events

func GetEventsDecTotalPoolReserves

func GetEventsDecTotalPoolReserves(pairID PairID) sdk.Events

func GetEventsGasConsumed

func GetEventsGasConsumed(gasBefore, gasAfter types.Gas) sdk.Events

func GetEventsIncExpiringOrders

func GetEventsIncExpiringOrders(pairID *TradePairID) sdk.Events

func GetEventsIncTotalOrders

func GetEventsIncTotalOrders(pairID *TradePairID) sdk.Events

func GetEventsIncTotalPoolReserves

func GetEventsIncTotalPoolReserves(pairID PairID) sdk.Events

func GetEventsWithdrawnAmount

func GetEventsWithdrawnAmount(coins sdk.Coins) sdk.Events

func GoodTilPurgeHitLimitEvent

func GoodTilPurgeHitLimitEvent(gas types.Gas) sdk.Event

func IsPriceOutOfRange

func IsPriceOutOfRange(price math_utils.PrecDec) bool

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() types.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 TrancheUserUpdateEvent

func TrancheUserUpdateEvent(trancheUser LimitOrderTrancheUser) sdk.Event

func ValidateFairOutput

func ValidateFairOutput(amountIn math.Int, price math_utils.PrecDec) error

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,
	amountOutTaker math.Int,
	amountOutMaker math.Int,
	trancheKey string,
) sdk.Event

Types

type BankKeeper

type BankKeeper interface {
	// Methods imported from bank should be defined here
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	IterateAccountBalances(ctx context.Context, addr sdk.AccAddress, cb func(sdk.Coin) bool)
	GetSupply(ctx context.Context, denom string) sdk.Coin
	GetAccountsBalances(ctx context.Context) []banktypes.Balance
	GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

BankKeeper defines the expected interface needed to retrieve account balances.

type BranchableCache

type BranchableCache struct {
	Parent *BranchableCache
	Ctx    sdk.Context
	// contains filtered or unexported fields
}

func NewBranchableCache

func NewBranchableCache(ctx sdk.Context) *BranchableCache

func (*BranchableCache) Branch

func (bc *BranchableCache) Branch() *BranchableCache

func (*BranchableCache) WriteCache

func (bc *BranchableCache) WriteCache()

type DepositOptions

type DepositOptions struct {
	DisableAutoswap bool `protobuf:"varint,1,opt,name=disable_autoswap,json=disableAutoswap,proto3" json:"disable_autoswap,omitempty"`
	FailTxOnBel     bool `protobuf:"varint,2,opt,name=fail_tx_on_bel,json=failTxOnBel,proto3" json:"fail_tx_on_bel,omitempty"`
}

func (*DepositOptions) Descriptor

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

func (*DepositOptions) GetDisableAutoswap

func (m *DepositOptions) GetDisableAutoswap() bool

func (*DepositOptions) GetFailTxOnBel

func (m *DepositOptions) GetFailTxOnBel() bool

func (*DepositOptions) Marshal

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

func (*DepositOptions) 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     cosmossdk_io_math.Int  `` /* 137-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"`
	TotalShares     *cosmossdk_io_math.Int `` /* 137-byte string literal not displayed */
	Pool            *Pool                  `protobuf:"bytes,8,opt,name=pool,proto3" json:"pool,omitempty"`
}

func (*DepositRecord) Descriptor

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

func (*DepositRecord) GetCenterTickIndex

func (m *DepositRecord) GetCenterTickIndex() int64

func (*DepositRecord) GetFee

func (m *DepositRecord) GetFee() uint64

func (*DepositRecord) GetLowerTickIndex

func (m *DepositRecord) GetLowerTickIndex() int64

func (*DepositRecord) GetPairId

func (m *DepositRecord) GetPairId() *PairID

func (*DepositRecord) GetPool

func (m *DepositRecord) GetPool() *Pool

func (*DepositRecord) GetUpperTickIndex

func (m *DepositRecord) GetUpperTickIndex() int64

func (*DepositRecord) Marshal

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

func (*DepositRecord) 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 FailedDeposit

type FailedDeposit struct {
	DepositIdx uint64 `protobuf:"varint,1,opt,name=deposit_idx,json=depositIdx,proto3" json:"deposit_idx,omitempty"`
	Error      string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}

func (*FailedDeposit) Descriptor

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

func (*FailedDeposit) GetDepositIdx

func (m *FailedDeposit) GetDepositIdx() uint64

func (*FailedDeposit) GetError

func (m *FailedDeposit) GetError() string

func (*FailedDeposit) Marshal

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

func (*FailedDeposit) MarshalTo

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

func (*FailedDeposit) MarshalToSizedBuffer

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

func (*FailedDeposit) ProtoMessage

func (*FailedDeposit) ProtoMessage()

func (*FailedDeposit) Reset

func (m *FailedDeposit) Reset()

func (*FailedDeposit) Size

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

func (*FailedDeposit) String

func (m *FailedDeposit) String() string

func (*FailedDeposit) Unmarshal

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

func (*FailedDeposit) XXX_DiscardUnknown

func (m *FailedDeposit) XXX_DiscardUnknown()

func (*FailedDeposit) XXX_Marshal

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

func (*FailedDeposit) XXX_Merge

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

func (*FailedDeposit) XXX_Size

func (m *FailedDeposit) XXX_Size() int

func (*FailedDeposit) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                        Params                   `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	TickLiquidityList             []*TickLiquidity         `protobuf:"bytes,2,rep,name=tick_liquidity_list,json=tickLiquidityList,proto3" json:"tick_liquidity_list,omitempty"`
	InactiveLimitOrderTrancheList []*LimitOrderTranche     `` /* 154-byte string literal not displayed */
	LimitOrderTrancheUserList     []*LimitOrderTrancheUser `` /* 142-byte string literal not displayed */
	PoolMetadataList              []PoolMetadata           `protobuf:"bytes,5,rep,name=pool_metadata_list,json=poolMetadataList,proto3" json:"pool_metadata_list"`
	PoolCount                     uint64                   `protobuf:"varint,6,opt,name=pool_count,json=poolCount,proto3" json:"pool_count,omitempty"`
}

GenesisState defines the dex module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetInactiveLimitOrderTrancheList

func (m *GenesisState) GetInactiveLimitOrderTrancheList() []*LimitOrderTranche

func (*GenesisState) GetLimitOrderTrancheUserList

func (m *GenesisState) GetLimitOrderTrancheUserList() []*LimitOrderTrancheUser

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPoolCount

func (m *GenesisState) GetPoolCount() uint64

func (*GenesisState) GetPoolMetadataList

func (m *GenesisState) GetPoolMetadataList() []PoolMetadata

func (*GenesisState) GetTickLiquidityList

func (m *GenesisState) GetTickLiquidityList() []*TickLiquidity

func (*GenesisState) Marshal

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

func (*GenesisState) 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 expiration_time
	ExpirationTime time.Time `protobuf:"bytes,1,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time"`
	TrancheRef     []byte    `protobuf:"bytes,2,opt,name=tranche_ref,json=trancheRef,proto3" json:"tranche_ref,omitempty"`
}

func (*LimitOrderExpiration) Descriptor

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

func (*LimitOrderExpiration) GetExpirationTime

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

func (*LimitOrderExpiration) GetTrancheRef

func (m *LimitOrderExpiration) GetTrancheRef() []byte

func (*LimitOrderExpiration) Marshal

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

func (*LimitOrderExpiration) MarshalTo

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

func (*LimitOrderExpiration) MarshalToSizedBuffer

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

func (*LimitOrderExpiration) ProtoMessage

func (*LimitOrderExpiration) ProtoMessage()

func (*LimitOrderExpiration) Reset

func (m *LimitOrderExpiration) Reset()

func (*LimitOrderExpiration) Size

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

func (*LimitOrderExpiration) String

func (m *LimitOrderExpiration) String() string

func (*LimitOrderExpiration) Unmarshal

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

func (*LimitOrderExpiration) XXX_DiscardUnknown

func (m *LimitOrderExpiration) XXX_DiscardUnknown()

func (*LimitOrderExpiration) XXX_Marshal

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

func (*LimitOrderExpiration) XXX_Merge

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

func (*LimitOrderExpiration) XXX_Size

func (m *LimitOrderExpiration) XXX_Size() int

func (*LimitOrderExpiration) XXX_Unmarshal

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

type LimitOrderTranche

type LimitOrderTranche struct {
	Key                *LimitOrderTrancheKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	ReservesMakerDenom cosmossdk_io_math.Int `` /* 168-byte string literal not displayed */
	ReservesTakerDenom cosmossdk_io_math.Int `` /* 168-byte string literal not displayed */
	TotalMakerDenom    cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */
	TotalTakerDenom    cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */
	// JIT orders also use expiration_time to handle deletion but represent a special case
	// All JIT orders have a expiration_time of 0 and an exception is made to still treat these orders as live
	// Order deletion still functions the same and the orders will be deleted at the end of the block
	ExpirationTime *time.Time `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"`
	// DEPRECATED: price_taker_to_maker will be removed in future release, `maker_price` should always be used.
	PriceTakerToMaker github_com_neutron_org_neutron_v5_utils_math.PrecDec `` // Deprecated: Do not use.
	/* 198-byte string literal not displayed */
	// This is the price of the LimitOrder denominated in the opposite token. (ie. 1 TokenA with a maker_price of 10 is worth 10 TokenB )
	MakerPrice github_com_neutron_org_neutron_v5_utils_math.PrecDec `` /* 164-byte string literal not displayed */
}

func MustNewLimitOrderTranche

func MustNewLimitOrderTranche(
	makerDenom string,
	takerDenom string,
	trancheKey string,
	tickIndex int64,
	reservesMakerDenom math.Int,
	reservesTakerDenom math.Int,
	totalMakerDenom math.Int,
	totalTakerDenom math.Int,
	expirationTime ...time.Time,
) *LimitOrderTranche

Useful for testing

func NewLimitOrderTranche

func 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) CalcWithdrawAmount

func (t *LimitOrderTranche) CalcWithdrawAmount(trancheUser *LimitOrderTrancheUser) (sharesToWithdraw, tokenOut math.Int)

func (*LimitOrderTranche) Descriptor

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

func (*LimitOrderTranche) GetExpirationTime

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

func (*LimitOrderTranche) GetKey

func (LimitOrderTranche) HasExpiration

func (t LimitOrderTranche) HasExpiration() bool

func (LimitOrderTranche) HasLiquidity

func (t LimitOrderTranche) HasLiquidity() bool

func (LimitOrderTranche) HasTokenIn

func (t LimitOrderTranche) HasTokenIn() bool

func (LimitOrderTranche) HasTokenOut

func (t LimitOrderTranche) HasTokenOut() bool

func (LimitOrderTranche) 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) ToBinding

func (*LimitOrderTranche) Unmarshal

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

func (*LimitOrderTranche) Withdraw

func (t *LimitOrderTranche) Withdraw(trancheUser *LimitOrderTrancheUser) (sharesWithdrawn, tokenOut math.Int)

func (*LimitOrderTranche) XXX_DiscardUnknown

func (m *LimitOrderTranche) XXX_DiscardUnknown()

func (*LimitOrderTranche) XXX_Marshal

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

func (*LimitOrderTranche) XXX_Merge

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

func (*LimitOrderTranche) XXX_Size

func (m *LimitOrderTranche) XXX_Size() int

func (*LimitOrderTranche) XXX_Unmarshal

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

type LimitOrderTrancheBinding

type LimitOrderTrancheBinding struct {
	LimitOrderTranche
	ExpirationTime *uint64 `json:"expiration_time,omitempty"`
}

type LimitOrderTrancheKey

type LimitOrderTrancheKey struct {
	TradePairId           *TradePairID `protobuf:"bytes,1,opt,name=trade_pair_id,json=tradePairId,proto3" json:"trade_pair_id,omitempty"`
	TickIndexTakerToMaker int64        `` /* 131-byte string literal not displayed */
	TrancheKey            string       `protobuf:"bytes,3,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"`
}

func (*LimitOrderTrancheKey) Descriptor

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

func (*LimitOrderTrancheKey) GetTickIndexTakerToMaker

func (m *LimitOrderTrancheKey) GetTickIndexTakerToMaker() int64

func (*LimitOrderTrancheKey) GetTradePairId

func (m *LimitOrderTrancheKey) GetTradePairId() *TradePairID

func (*LimitOrderTrancheKey) GetTrancheKey

func (m *LimitOrderTrancheKey) GetTrancheKey() string

func (LimitOrderTrancheKey) KeyMarshal

func (p LimitOrderTrancheKey) KeyMarshal() []byte

func (*LimitOrderTrancheKey) Marshal

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

func (*LimitOrderTrancheKey) MarshalTo

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

func (*LimitOrderTrancheKey) MarshalToSizedBuffer

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

func (LimitOrderTrancheKey) MustPrice

func (p LimitOrderTrancheKey) MustPrice() (priceTakerToMaker math_utils.PrecDec)

func (LimitOrderTrancheKey) Price

func (p LimitOrderTrancheKey) Price() (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           cosmossdk_io_math.Int `` /* 137-byte string literal not displayed */
	SharesWithdrawn       cosmossdk_io_math.Int `` /* 153-byte string literal not displayed */
	// TODO: remove this in next release. It is no longer used
	SharesCancelled cosmossdk_io_math.Int `` /* 153-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 LimitOrderTrancheUserBinding

type LimitOrderTrancheUserBinding struct {
	LimitOrderTrancheUser
	OrderType string `json:"order_type"`
}

type LimitOrderType

type LimitOrderType int32
const (
	LimitOrderType_GOOD_TIL_CANCELLED  LimitOrderType = 0
	LimitOrderType_FILL_OR_KILL        LimitOrderType = 1
	LimitOrderType_IMMEDIATE_OR_CANCEL LimitOrderType = 2
	LimitOrderType_JUST_IN_TIME        LimitOrderType = 3
	LimitOrderType_GOOD_TIL_TIME       LimitOrderType = 4
)

func (LimitOrderType) EnumDescriptor

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

func (LimitOrderType) HasExpiration

func (l LimitOrderType) HasExpiration() bool

func (LimitOrderType) IsFoK

func (l LimitOrderType) IsFoK() bool

func (LimitOrderType) IsGTC

func (l LimitOrderType) IsGTC() bool

func (LimitOrderType) IsGoodTil

func (l LimitOrderType) IsGoodTil() bool

func (LimitOrderType) IsIoC

func (l LimitOrderType) IsIoC() bool

func (LimitOrderType) IsJIT

func (l LimitOrderType) IsJIT() bool

func (LimitOrderType) IsTakerOnly

func (l LimitOrderType) IsTakerOnly() bool

func (LimitOrderType) String

func (x LimitOrderType) String() string

type 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) Validate

func (msg *MsgCancelLimitOrder) Validate() error

func (*MsgCancelLimitOrder) XXX_DiscardUnknown

func (m *MsgCancelLimitOrder) XXX_DiscardUnknown()

func (*MsgCancelLimitOrder) XXX_Marshal

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

func (*MsgCancelLimitOrder) XXX_Merge

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

func (*MsgCancelLimitOrder) XXX_Size

func (m *MsgCancelLimitOrder) XXX_Size() int

func (*MsgCancelLimitOrder) XXX_Unmarshal

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

type MsgCancelLimitOrderResponse

type MsgCancelLimitOrderResponse struct {
	// Total amount of taker reserves that were withdrawn
	TakerCoinOut github_com_cosmos_cosmos_sdk_types.Coin `` /* 162-byte string literal not displayed */
	// Total amount of maker reserves that were canceled
	MakerCoinOut github_com_cosmos_cosmos_sdk_types.Coin `` /* 162-byte string literal not displayed */
}

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        []cosmossdk_io_math.Int `protobuf:"bytes,5,rep,name=amounts_a,json=amountsA,proto3,customtype=cosmossdk.io/math.Int" json:"amounts_a" yaml:"amounts_a"`
	AmountsB        []cosmossdk_io_math.Int `protobuf:"bytes,6,rep,name=amounts_b,json=amountsB,proto3,customtype=cosmossdk.io/math.Int" json:"amounts_b" yaml:"amounts_b"`
	TickIndexesAToB []int64                 `protobuf:"varint,7,rep,packed,name=tick_indexes_a_to_b,json=tickIndexesAToB,proto3" json:"tick_indexes_a_to_b,omitempty"`
	Fees            []uint64                `protobuf:"varint,8,rep,packed,name=fees,proto3" json:"fees,omitempty"`
	Options         []*DepositOptions       `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty"`
}

func NewMsgDeposit

func NewMsgDeposit(
	creator,
	receiver,
	tokenA,
	tokenB string,
	amountsA,
	amountsB []math.Int,
	tickIndexes []int64,
	fees []uint64,
	depositOptions []*DepositOptions,
) *MsgDeposit

func (*MsgDeposit) Descriptor

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

func (*MsgDeposit) GetCreator

func (m *MsgDeposit) GetCreator() string

func (*MsgDeposit) GetFees

func (m *MsgDeposit) GetFees() []uint64

func (*MsgDeposit) GetOptions

func (m *MsgDeposit) GetOptions() []*DepositOptions

func (*MsgDeposit) GetReceiver

func (m *MsgDeposit) GetReceiver() string

func (*MsgDeposit) GetSignBytes

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

func (*MsgDeposit) GetSigners

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

func (*MsgDeposit) GetTickIndexesAToB

func (m *MsgDeposit) GetTickIndexesAToB() []int64

func (*MsgDeposit) GetTokenA

func (m *MsgDeposit) GetTokenA() string

func (*MsgDeposit) GetTokenB

func (m *MsgDeposit) GetTokenB() string

func (*MsgDeposit) Marshal

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

func (*MsgDeposit) 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) Validate

func (msg *MsgDeposit) Validate() error

func (*MsgDeposit) XXX_DiscardUnknown

func (m *MsgDeposit) XXX_DiscardUnknown()

func (*MsgDeposit) XXX_Marshal

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

func (*MsgDeposit) XXX_Merge

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

func (*MsgDeposit) XXX_Size

func (m *MsgDeposit) XXX_Size() int

func (*MsgDeposit) XXX_Unmarshal

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

type MsgDepositResponse

type MsgDepositResponse struct {
	Reserve0Deposited []cosmossdk_io_math.Int                   `` /* 161-byte string literal not displayed */
	Reserve1Deposited []cosmossdk_io_math.Int                   `` /* 161-byte string literal not displayed */
	FailedDeposits    []*FailedDeposit                          `protobuf:"bytes,3,rep,name=failed_deposits,json=failedDeposits,proto3" json:"failed_deposits,omitempty"`
	SharesIssued      []github_com_cosmos_cosmos_sdk_types.Coin `` /* 159-byte string literal not displayed */
}

func (*MsgDepositResponse) Descriptor

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

func (*MsgDepositResponse) GetFailedDeposits

func (m *MsgDepositResponse) GetFailedDeposits() []*FailedDeposit

func (*MsgDepositResponse) Marshal

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

func (*MsgDepositResponse) MarshalTo

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

func (*MsgDepositResponse) MarshalToSizedBuffer

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

func (*MsgDepositResponse) ProtoMessage

func (*MsgDepositResponse) ProtoMessage()

func (*MsgDepositResponse) Reset

func (m *MsgDepositResponse) Reset()

func (*MsgDepositResponse) Size

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

func (*MsgDepositResponse) String

func (m *MsgDepositResponse) String() string

func (*MsgDepositResponse) Unmarshal

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

func (*MsgDepositResponse) XXX_DiscardUnknown

func (m *MsgDepositResponse) XXX_DiscardUnknown()

func (*MsgDepositResponse) XXX_Marshal

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

func (*MsgDepositResponse) XXX_Merge

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

func (*MsgDepositResponse) XXX_Size

func (m *MsgDepositResponse) XXX_Size() int

func (*MsgDepositResponse) XXX_Unmarshal

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

type MsgMultiHopSwap

type MsgMultiHopSwap struct {
	Creator        string                                               `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Receiver       string                                               `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Routes         []*MultiHopRoute                                     `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"`
	AmountIn       cosmossdk_io_math.Int                                `protobuf:"bytes,4,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"`
	ExitLimitPrice github_com_neutron_org_neutron_v5_utils_math.PrecDec `` /* 183-byte string literal not displayed */
	// If pickBestRoute == true then all routes are run and the route with the
	// best price is chosen otherwise, the first succesful route is used.
	PickBestRoute bool `protobuf:"varint,6,opt,name=pick_best_route,json=pickBestRoute,proto3" json:"pick_best_route,omitempty"`
}

func NewMsgMultiHopSwap

func NewMsgMultiHopSwap(
	creator string,
	receiver string,
	routesArr [][]string,
	amountIn math.Int,
	exitLimitPrice math_utils.PrecDec,
	pickBestRoute bool,
) *MsgMultiHopSwap

func (*MsgMultiHopSwap) Descriptor

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

func (*MsgMultiHopSwap) GetCreator

func (m *MsgMultiHopSwap) GetCreator() string

func (*MsgMultiHopSwap) GetPickBestRoute

func (m *MsgMultiHopSwap) GetPickBestRoute() bool

func (*MsgMultiHopSwap) GetReceiver

func (m *MsgMultiHopSwap) GetReceiver() string

func (*MsgMultiHopSwap) GetRoutes

func (m *MsgMultiHopSwap) GetRoutes() []*MultiHopRoute

func (*MsgMultiHopSwap) GetSignBytes

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

func (*MsgMultiHopSwap) GetSigners

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

func (*MsgMultiHopSwap) Marshal

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

func (*MsgMultiHopSwap) 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) Validate

func (msg *MsgMultiHopSwap) Validate() error

func (*MsgMultiHopSwap) XXX_DiscardUnknown

func (m *MsgMultiHopSwap) XXX_DiscardUnknown()

func (*MsgMultiHopSwap) XXX_Marshal

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

func (*MsgMultiHopSwap) XXX_Merge

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

func (*MsgMultiHopSwap) XXX_Size

func (m *MsgMultiHopSwap) XXX_Size() int

func (*MsgMultiHopSwap) XXX_Unmarshal

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

type MsgMultiHopSwapResponse

type MsgMultiHopSwapResponse struct {
	CoinOut github_com_cosmos_cosmos_sdk_types.Coin   `` /* 139-byte string literal not displayed */
	Route   *MultiHopRoute                            `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	Dust    []github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,rep,name=dust,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"dust" yaml:"dust"`
}

func (*MsgMultiHopSwapResponse) Descriptor

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

func (*MsgMultiHopSwapResponse) GetRoute

func (m *MsgMultiHopSwapResponse) GetRoute() *MultiHopRoute

func (*MsgMultiHopSwapResponse) Marshal

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

func (*MsgMultiHopSwapResponse) MarshalTo

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

func (*MsgMultiHopSwapResponse) MarshalToSizedBuffer

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

func (*MsgMultiHopSwapResponse) ProtoMessage

func (*MsgMultiHopSwapResponse) ProtoMessage()

func (*MsgMultiHopSwapResponse) Reset

func (m *MsgMultiHopSwapResponse) Reset()

func (*MsgMultiHopSwapResponse) Size

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

func (*MsgMultiHopSwapResponse) String

func (m *MsgMultiHopSwapResponse) String() string

func (*MsgMultiHopSwapResponse) Unmarshal

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

func (*MsgMultiHopSwapResponse) XXX_DiscardUnknown

func (m *MsgMultiHopSwapResponse) XXX_DiscardUnknown()

func (*MsgMultiHopSwapResponse) XXX_Marshal

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

func (*MsgMultiHopSwapResponse) XXX_Merge

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

func (*MsgMultiHopSwapResponse) XXX_Size

func (m *MsgMultiHopSwapResponse) XXX_Size() int

func (*MsgMultiHopSwapResponse) XXX_Unmarshal

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

type MsgPlaceLimitOrder

type MsgPlaceLimitOrder struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	TokenIn  string `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	TokenOut string `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
	// DEPRECATED: tick_index_in_to_out will be removed in future release; limit_sell_price should be used instead.
	TickIndexInToOut int64                 `protobuf:"varint,5,opt,name=tick_index_in_to_out,json=tickIndexInToOut,proto3" json:"tick_index_in_to_out,omitempty"` // Deprecated: Do not use.
	AmountIn         cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"`
	OrderType        LimitOrderType        `protobuf:"varint,8,opt,name=order_type,json=orderType,proto3,enum=neutron.dex.LimitOrderType" json:"order_type,omitempty"`
	// expirationTime is only valid iff orderType == GOOD_TIL_TIME.
	ExpirationTime *time.Time                                            `protobuf:"bytes,9,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"`
	MaxAmountOut   *cosmossdk_io_math.Int                                `` /* 145-byte string literal not displayed */
	LimitSellPrice *github_com_neutron_org_neutron_v5_utils_math.PrecDec `` /* 184-byte string literal not displayed */
	// min_average_sell_price is an optional parameter that sets a required minimum average price for the entire trade.
	// if the min_average_sell_price is not met the trade will fail.
	// If min_average_sell_price is omitted limit_sell_price will be used instead
	MinAverageSellPrice *github_com_neutron_org_neutron_v5_utils_math.PrecDec `` /* 207-byte string literal not displayed */
}

func NewMsgPlaceLimitOrder

func NewMsgPlaceLimitOrder(
	creator,
	receiver,
	tokenIn,
	tokenOut string,
	tickIndex int64,
	amountIn math.Int,
	orderType LimitOrderType,
	goodTil *time.Time,
	maxAmountOut *math.Int,
	price *math_utils.PrecDec,
) *MsgPlaceLimitOrder

func (*MsgPlaceLimitOrder) Descriptor

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

func (*MsgPlaceLimitOrder) GetCreator

func (m *MsgPlaceLimitOrder) GetCreator() string

func (*MsgPlaceLimitOrder) GetExpirationTime

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

func (*MsgPlaceLimitOrder) GetOrderType

func (m *MsgPlaceLimitOrder) GetOrderType() LimitOrderType

func (*MsgPlaceLimitOrder) GetReceiver

func (m *MsgPlaceLimitOrder) GetReceiver() string

func (*MsgPlaceLimitOrder) GetSignBytes

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

func (*MsgPlaceLimitOrder) GetSigners

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

func (*MsgPlaceLimitOrder) GetTickIndexInToOut deprecated

func (m *MsgPlaceLimitOrder) GetTickIndexInToOut() int64

Deprecated: Do not use.

func (*MsgPlaceLimitOrder) GetTokenIn

func (m *MsgPlaceLimitOrder) GetTokenIn() string

func (*MsgPlaceLimitOrder) GetTokenOut

func (m *MsgPlaceLimitOrder) GetTokenOut() string

func (*MsgPlaceLimitOrder) Marshal

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

func (*MsgPlaceLimitOrder) MarshalTo

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

func (*MsgPlaceLimitOrder) MarshalToSizedBuffer

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

func (*MsgPlaceLimitOrder) ProtoMessage

func (*MsgPlaceLimitOrder) ProtoMessage()

func (*MsgPlaceLimitOrder) Reset

func (m *MsgPlaceLimitOrder) Reset()

func (*MsgPlaceLimitOrder) Route

func (msg *MsgPlaceLimitOrder) Route() string

func (*MsgPlaceLimitOrder) Size

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

func (*MsgPlaceLimitOrder) String

func (m *MsgPlaceLimitOrder) String() string

func (*MsgPlaceLimitOrder) Type

func (msg *MsgPlaceLimitOrder) Type() string

func (*MsgPlaceLimitOrder) Unmarshal

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

func (*MsgPlaceLimitOrder) Validate

func (msg *MsgPlaceLimitOrder) Validate() error

func (*MsgPlaceLimitOrder) ValidateGoodTilExpiration

func (msg *MsgPlaceLimitOrder) ValidateGoodTilExpiration(blockTime time.Time) error

func (*MsgPlaceLimitOrder) XXX_DiscardUnknown

func (m *MsgPlaceLimitOrder) XXX_DiscardUnknown()

func (*MsgPlaceLimitOrder) XXX_Marshal

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

func (*MsgPlaceLimitOrder) XXX_Merge

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

func (*MsgPlaceLimitOrder) XXX_Size

func (m *MsgPlaceLimitOrder) XXX_Size() int

func (*MsgPlaceLimitOrder) XXX_Unmarshal

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

type MsgPlaceLimitOrderResponse

type MsgPlaceLimitOrderResponse struct {
	TrancheKey string `protobuf:"bytes,1,opt,name=trancheKey,proto3" json:"trancheKey,omitempty"`
	// Total amount of coin used for the limit order
	CoinIn github_com_cosmos_cosmos_sdk_types.Coin `` /* 135-byte string literal not displayed */
	// Total amount of coin received from the taker portion of the limit order
	// This is the amount of coin immediately available in the users account after
	// executing the limit order. It does not include any future proceeds from the
	// maker portion which will have withdrawn in the future
	TakerCoinOut github_com_cosmos_cosmos_sdk_types.Coin `` /* 162-byte string literal not displayed */
	// Total amount of the token in that was immediately swapped for takerOutCoin
	TakerCoinIn github_com_cosmos_cosmos_sdk_types.Coin `` /* 158-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) Validate

func (msg *MsgUpdateParams) Validate() error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: 0.47

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type MsgWithdrawFilledLimitOrder

type MsgWithdrawFilledLimitOrder struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	TrancheKey string `protobuf:"bytes,2,opt,name=tranche_key,json=trancheKey,proto3" json:"tranche_key,omitempty"`
}

func NewMsgWithdrawFilledLimitOrder

func NewMsgWithdrawFilledLimitOrder(creator, trancheKey string) *MsgWithdrawFilledLimitOrder

func (*MsgWithdrawFilledLimitOrder) Descriptor

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

func (*MsgWithdrawFilledLimitOrder) GetCreator

func (m *MsgWithdrawFilledLimitOrder) GetCreator() string

func (*MsgWithdrawFilledLimitOrder) GetSignBytes

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

func (*MsgWithdrawFilledLimitOrder) GetSigners

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

func (*MsgWithdrawFilledLimitOrder) GetTrancheKey

func (m *MsgWithdrawFilledLimitOrder) GetTrancheKey() string

func (*MsgWithdrawFilledLimitOrder) Marshal

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

func (*MsgWithdrawFilledLimitOrder) MarshalTo

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

func (*MsgWithdrawFilledLimitOrder) MarshalToSizedBuffer

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

func (*MsgWithdrawFilledLimitOrder) ProtoMessage

func (*MsgWithdrawFilledLimitOrder) ProtoMessage()

func (*MsgWithdrawFilledLimitOrder) Reset

func (m *MsgWithdrawFilledLimitOrder) Reset()

func (*MsgWithdrawFilledLimitOrder) Route

func (msg *MsgWithdrawFilledLimitOrder) Route() string

func (*MsgWithdrawFilledLimitOrder) Size

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

func (*MsgWithdrawFilledLimitOrder) String

func (m *MsgWithdrawFilledLimitOrder) String() string

func (*MsgWithdrawFilledLimitOrder) Type

func (msg *MsgWithdrawFilledLimitOrder) Type() string

func (*MsgWithdrawFilledLimitOrder) Unmarshal

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

func (*MsgWithdrawFilledLimitOrder) Validate

func (msg *MsgWithdrawFilledLimitOrder) Validate() error

func (*MsgWithdrawFilledLimitOrder) XXX_DiscardUnknown

func (m *MsgWithdrawFilledLimitOrder) XXX_DiscardUnknown()

func (*MsgWithdrawFilledLimitOrder) XXX_Marshal

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

func (*MsgWithdrawFilledLimitOrder) XXX_Merge

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

func (*MsgWithdrawFilledLimitOrder) XXX_Size

func (m *MsgWithdrawFilledLimitOrder) XXX_Size() int

func (*MsgWithdrawFilledLimitOrder) XXX_Unmarshal

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

type MsgWithdrawFilledLimitOrderResponse

type MsgWithdrawFilledLimitOrderResponse struct {
	// Total amount of taker reserves that were withdrawn
	TakerCoinOut github_com_cosmos_cosmos_sdk_types.Coin `` /* 162-byte string literal not displayed */
	// Total amount of maker reserves that were withdrawn --only applies to inactive LimitOrders
	MakerCoinOut github_com_cosmos_cosmos_sdk_types.Coin `` /* 162-byte string literal not displayed */
}

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  []cosmossdk_io_math.Int `` /* 152-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) Validate

func (msg *MsgWithdrawal) Validate() error

func (*MsgWithdrawal) XXX_DiscardUnknown

func (m *MsgWithdrawal) XXX_DiscardUnknown()

func (*MsgWithdrawal) XXX_Marshal

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

func (*MsgWithdrawal) XXX_Merge

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

func (*MsgWithdrawal) XXX_Size

func (m *MsgWithdrawal) XXX_Size() int

func (*MsgWithdrawal) XXX_Unmarshal

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

type MsgWithdrawalResponse

type MsgWithdrawalResponse struct {
	Reserve0Withdrawn cosmossdk_io_math.Int                     `` /* 161-byte string literal not displayed */
	Reserve1Withdrawn cosmossdk_io_math.Int                     `` /* 161-byte string literal not displayed */
	SharesBurned      []github_com_cosmos_cosmos_sdk_types.Coin `` /* 159-byte string literal not displayed */
}

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(tokenA, tokenB string) *PairID

func NewPairID

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

func NewPairIDFromCanonicalString

func NewPairIDFromCanonicalString(pairIDStr 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"`
	Paused                bool     `protobuf:"varint,3,opt,name=paused,proto3" json:"paused"`
	MaxJitsPerBlock       uint64   `protobuf:"varint,4,opt,name=max_jits_per_block,json=maxJitsPerBlock,proto3" json:"max_jits_per_block,omitempty"`
	GoodTilPurgeAllowance uint64   `` /* 129-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(feeTiers []uint64, paused bool, maxJITsPerBlock, goodTilPurgeAllowance uint64) 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) GetGoodTilPurgeAllowance

func (m *Params) GetGoodTilPurgeAllowance() uint64

func (*Params) GetMaxJitsPerBlock

func (m *Params) GetMaxJitsPerBlock() uint64

func (*Params) GetPaused

func (m *Params) GetPaused() bool

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

func (p *Pool) CalcAutoswapFee(depositValueAsToken0 math_utils.PrecDec) math_utils.PrecDec

func (*Pool) CalcSharesMinted

func (p *Pool) CalcSharesMinted(
	depositValueAsToken0 math_utils.PrecDec,
	existingShares math.Int,
	autoswapFee math_utils.PrecDec,
) (sharesMinted sdk.Coin)

func (*Pool) CenterTickIndexToken1

func (p *Pool) CenterTickIndexToken1() 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 cosmossdk_io_math.Int `` /* 168-byte string literal not displayed */
	// DEPRECATED: price_taker_to_maker will be removed in future release, `maker_price` should always be used.
	PriceTakerToMaker github_com_neutron_org_neutron_v5_utils_math.PrecDec `` // Deprecated: Do not use.
	/* 198-byte string literal not displayed */
	// DEPRECATED: price_opposite_taker_maker was an internal implementation detail and will be removed in a future release.
	// It is being kept strictly for backwards compatibility. The actual field value is unused.
	PriceOppositeTakerToMaker github_com_neutron_org_neutron_v5_utils_math.PrecDec `` // Deprecated: Do not use.
	/* 233-byte string literal not displayed */
	// This is the price of the PoolReserves denominated in the opposite token. (ie. 1 TokenA with a maker_price of 10 is worth 10 TokenB )
	MakerPrice github_com_neutron_org_neutron_v5_utils_math.PrecDec `` /* 164-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) MustPrice

func (p PoolReservesKey) MustPrice() (priceTakerToMaker math_utils.PrecDec)

func (PoolReservesKey) Price

func (p PoolReservesKey) Price() (priceTakerToMaker math_utils.PrecDec, err error)

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 PoolShareholder

type PoolShareholder struct {
	Address string
	Shares  math.Int
}

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

func (t *QueryAllInactiveLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)

func (*QueryAllInactiveLimitOrderTrancheResponse) MarshalTo

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

func (*QueryAllInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer

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

func (*QueryAllInactiveLimitOrderTrancheResponse) ProtoMessage

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

func (t *QueryAllLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)

func (*QueryAllLimitOrderTrancheResponse) MarshalTo

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

func (*QueryAllLimitOrderTrancheResponse) MarshalToSizedBuffer

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

func (*QueryAllLimitOrderTrancheResponse) ProtoMessage

func (*QueryAllLimitOrderTrancheResponse) ProtoMessage()

func (*QueryAllLimitOrderTrancheResponse) Reset

func (*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 QueryAllLimitOrderTrancheUserByAddressRequest

type QueryAllLimitOrderTrancheUserByAddressRequest struct {
	Address    string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllLimitOrderTrancheUserByAddressRequest) Descriptor

func (*QueryAllLimitOrderTrancheUserByAddressRequest) GetAddress

func (*QueryAllLimitOrderTrancheUserByAddressRequest) GetPagination

func (*QueryAllLimitOrderTrancheUserByAddressRequest) Marshal

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

func (*QueryAllLimitOrderTrancheUserByAddressRequest) MarshalTo

func (*QueryAllLimitOrderTrancheUserByAddressRequest) MarshalToSizedBuffer

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

func (*QueryAllLimitOrderTrancheUserByAddressRequest) ProtoMessage

func (*QueryAllLimitOrderTrancheUserByAddressRequest) Reset

func (*QueryAllLimitOrderTrancheUserByAddressRequest) Size

func (*QueryAllLimitOrderTrancheUserByAddressRequest) String

func (*QueryAllLimitOrderTrancheUserByAddressRequest) Unmarshal

func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_DiscardUnknown

func (m *QueryAllLimitOrderTrancheUserByAddressRequest) XXX_DiscardUnknown()

func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Marshal

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

func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Merge

func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Size

func (*QueryAllLimitOrderTrancheUserByAddressRequest) XXX_Unmarshal

type QueryAllLimitOrderTrancheUserByAddressResponse

type QueryAllLimitOrderTrancheUserByAddressResponse struct {
	LimitOrders []*LimitOrderTrancheUser `protobuf:"bytes,1,rep,name=limit_orders,json=limitOrders,proto3" json:"limit_orders,omitempty"`
	Pagination  *query.PageResponse      `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllLimitOrderTrancheUserByAddressResponse) Descriptor

func (*QueryAllLimitOrderTrancheUserByAddressResponse) GetLimitOrders

func (*QueryAllLimitOrderTrancheUserByAddressResponse) GetPagination

func (*QueryAllLimitOrderTrancheUserByAddressResponse) Marshal

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

func (*QueryAllLimitOrderTrancheUserByAddressResponse) MarshalBinding

func (*QueryAllLimitOrderTrancheUserByAddressResponse) MarshalTo

func (*QueryAllLimitOrderTrancheUserByAddressResponse) MarshalToSizedBuffer

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

func (*QueryAllLimitOrderTrancheUserByAddressResponse) ProtoMessage

func (*QueryAllLimitOrderTrancheUserByAddressResponse) Reset

func (*QueryAllLimitOrderTrancheUserByAddressResponse) Size

func (*QueryAllLimitOrderTrancheUserByAddressResponse) String

func (*QueryAllLimitOrderTrancheUserByAddressResponse) Unmarshal

func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_DiscardUnknown

func (m *QueryAllLimitOrderTrancheUserByAddressResponse) XXX_DiscardUnknown()

func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Marshal

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

func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Merge

func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Size

func (*QueryAllLimitOrderTrancheUserByAddressResponse) XXX_Unmarshal

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

func (t *QueryAllLimitOrderTrancheUserResponse) MarshalBinding() ([]byte, error)

func (*QueryAllLimitOrderTrancheUserResponse) MarshalTo

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

func (*QueryAllLimitOrderTrancheUserResponse) MarshalToSizedBuffer

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

func (*QueryAllLimitOrderTrancheUserResponse) ProtoMessage

func (*QueryAllLimitOrderTrancheUserResponse) ProtoMessage()

func (*QueryAllLimitOrderTrancheUserResponse) Reset

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

func (t *QueryAllTickLiquidityResponse) MarshalBinding() ([]byte, error)

func (*QueryAllTickLiquidityResponse) MarshalTo

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

func (*QueryAllTickLiquidityResponse) MarshalToSizedBuffer

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

func (*QueryAllTickLiquidityResponse) ProtoMessage

func (*QueryAllTickLiquidityResponse) ProtoMessage()

func (*QueryAllTickLiquidityResponse) Reset

func (m *QueryAllTickLiquidityResponse) Reset()

func (*QueryAllTickLiquidityResponse) Size

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

func (*QueryAllTickLiquidityResponse) String

func (*QueryAllTickLiquidityResponse) Unmarshal

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

func (*QueryAllTickLiquidityResponse) XXX_DiscardUnknown

func (m *QueryAllTickLiquidityResponse) XXX_DiscardUnknown()

func (*QueryAllTickLiquidityResponse) XXX_Marshal

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

func (*QueryAllTickLiquidityResponse) XXX_Merge

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

func (*QueryAllTickLiquidityResponse) XXX_Size

func (m *QueryAllTickLiquidityResponse) XXX_Size() int

func (*QueryAllTickLiquidityResponse) XXX_Unmarshal

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

type QueryAllUserDepositsRequest

type QueryAllUserDepositsRequest struct {
	Address         string             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Pagination      *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	IncludePoolData bool               `protobuf:"varint,3,opt,name=include_pool_data,json=includePoolData,proto3" json:"include_pool_data,omitempty"`
}

func (*QueryAllUserDepositsRequest) Descriptor

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

func (*QueryAllUserDepositsRequest) GetAddress

func (m *QueryAllUserDepositsRequest) GetAddress() string

func (*QueryAllUserDepositsRequest) GetIncludePoolData

func (m *QueryAllUserDepositsRequest) GetIncludePoolData() bool

func (*QueryAllUserDepositsRequest) GetPagination

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

func (*QueryAllUserDepositsRequest) Marshal

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

func (*QueryAllUserDepositsRequest) MarshalTo

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

func (*QueryAllUserDepositsRequest) MarshalToSizedBuffer

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

func (*QueryAllUserDepositsRequest) ProtoMessage

func (*QueryAllUserDepositsRequest) ProtoMessage()

func (*QueryAllUserDepositsRequest) Reset

func (m *QueryAllUserDepositsRequest) Reset()

func (*QueryAllUserDepositsRequest) Size

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

func (*QueryAllUserDepositsRequest) String

func (m *QueryAllUserDepositsRequest) String() string

func (*QueryAllUserDepositsRequest) Unmarshal

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

func (*QueryAllUserDepositsRequest) XXX_DiscardUnknown

func (m *QueryAllUserDepositsRequest) XXX_DiscardUnknown()

func (*QueryAllUserDepositsRequest) XXX_Marshal

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

func (*QueryAllUserDepositsRequest) XXX_Merge

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

func (*QueryAllUserDepositsRequest) XXX_Size

func (m *QueryAllUserDepositsRequest) XXX_Size() int

func (*QueryAllUserDepositsRequest) XXX_Unmarshal

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

type QueryAllUserDepositsResponse

type QueryAllUserDepositsResponse struct {
	Deposits   []*DepositRecord    `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllUserDepositsResponse) Descriptor

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

func (*QueryAllUserDepositsResponse) GetDeposits

func (m *QueryAllUserDepositsResponse) GetDeposits() []*DepositRecord

func (*QueryAllUserDepositsResponse) GetPagination

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

func (*QueryAllUserDepositsResponse) Marshal

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

func (*QueryAllUserDepositsResponse) MarshalTo

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

func (*QueryAllUserDepositsResponse) MarshalToSizedBuffer

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

func (*QueryAllUserDepositsResponse) ProtoMessage

func (*QueryAllUserDepositsResponse) ProtoMessage()

func (*QueryAllUserDepositsResponse) Reset

func (m *QueryAllUserDepositsResponse) Reset()

func (*QueryAllUserDepositsResponse) Size

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

func (*QueryAllUserDepositsResponse) String

func (*QueryAllUserDepositsResponse) Unmarshal

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

func (*QueryAllUserDepositsResponse) XXX_DiscardUnknown

func (m *QueryAllUserDepositsResponse) XXX_DiscardUnknown()

func (*QueryAllUserDepositsResponse) XXX_Marshal

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

func (*QueryAllUserDepositsResponse) XXX_Merge

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

func (*QueryAllUserDepositsResponse) XXX_Size

func (m *QueryAllUserDepositsResponse) XXX_Size() int

func (*QueryAllUserDepositsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a LimitOrderTrancheUser by index.
	LimitOrderTrancheUser(ctx context.Context, in *QueryGetLimitOrderTrancheUserRequest, opts ...grpc.CallOption) (*QueryGetLimitOrderTrancheUserResponse, error)
	// Queries a list of LimitOrderTranchUser items.
	LimitOrderTrancheUserAll(ctx context.Context, in *QueryAllLimitOrderTrancheUserRequest, opts ...grpc.CallOption) (*QueryAllLimitOrderTrancheUserResponse, error)
	// Queries a list of LimitOrderTrancheUser items for a given address.
	LimitOrderTrancheUserAllByAddress(ctx context.Context, in *QueryAllLimitOrderTrancheUserByAddressRequest, opts ...grpc.CallOption) (*QueryAllLimitOrderTrancheUserByAddressResponse, error)
	// Queries a LimitOrderTranche by index.
	LimitOrderTranche(ctx context.Context, in *QueryGetLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryGetLimitOrderTrancheResponse, error)
	// Queries a list of LimitOrderTranche items for a given pairID / TokenIn
	// combination.
	LimitOrderTrancheAll(ctx context.Context, in *QueryAllLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryAllLimitOrderTrancheResponse, error)
	// Queries a list of UserDeposits items.
	UserDepositsAll(ctx context.Context, in *QueryAllUserDepositsRequest, opts ...grpc.CallOption) (*QueryAllUserDepositsResponse, error)
	// Queries a list of TickLiquidity items.
	TickLiquidityAll(ctx context.Context, in *QueryAllTickLiquidityRequest, opts ...grpc.CallOption) (*QueryAllTickLiquidityResponse, error)
	// Queries a InactiveLimitOrderTranche by index.
	InactiveLimitOrderTranche(ctx context.Context, in *QueryGetInactiveLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryGetInactiveLimitOrderTrancheResponse, error)
	// Queries a list of InactiveLimitOrderTranche items.
	InactiveLimitOrderTrancheAll(ctx context.Context, in *QueryAllInactiveLimitOrderTrancheRequest, opts ...grpc.CallOption) (*QueryAllInactiveLimitOrderTrancheResponse, error)
	// Queries a list of PoolReserves items.
	PoolReservesAll(ctx context.Context, in *QueryAllPoolReservesRequest, opts ...grpc.CallOption) (*QueryAllPoolReservesResponse, error)
	// Queries a PoolReserve by index
	PoolReserves(ctx context.Context, in *QueryGetPoolReservesRequest, opts ...grpc.CallOption) (*QueryGetPoolReservesResponse, error)
	// DEPRECATED Queries the simulated result of a multihop swap
	EstimateMultiHopSwap(ctx context.Context, in *QueryEstimateMultiHopSwapRequest, opts ...grpc.CallOption) (*QueryEstimateMultiHopSwapResponse, error)
	// DEPRECATED Queries the simulated result of a PlaceLimit order
	EstimatePlaceLimitOrder(ctx context.Context, in *QueryEstimatePlaceLimitOrderRequest, opts ...grpc.CallOption) (*QueryEstimatePlaceLimitOrderResponse, error)
	// Queries a pool by pair, tick and fee
	Pool(ctx context.Context, in *QueryPoolRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error)
	// Queries a pool by ID
	PoolByID(ctx context.Context, in *QueryPoolByIDRequest, opts ...grpc.CallOption) (*QueryPoolResponse, error)
	// Queries a PoolMetadata by ID
	PoolMetadata(ctx context.Context, in *QueryGetPoolMetadataRequest, opts ...grpc.CallOption) (*QueryGetPoolMetadataResponse, error)
	// Queries a list of PoolMetadata items.
	PoolMetadataAll(ctx context.Context, in *QueryAllPoolMetadataRequest, opts ...grpc.CallOption) (*QueryAllPoolMetadataResponse, error)
	// Simulates MsgDeposit
	SimulateDeposit(ctx context.Context, in *QuerySimulateDepositRequest, opts ...grpc.CallOption) (*QuerySimulateDepositResponse, error)
	// Simulates MsgWithdrawal
	SimulateWithdrawal(ctx context.Context, in *QuerySimulateWithdrawalRequest, opts ...grpc.CallOption) (*QuerySimulateWithdrawalResponse, error)
	// Simulates MsgPlaceLimitOrder
	SimulatePlaceLimitOrder(ctx context.Context, in *QuerySimulatePlaceLimitOrderRequest, opts ...grpc.CallOption) (*QuerySimulatePlaceLimitOrderResponse, error)
	// Simulates MsgWithdrawFilledLimitOrder
	SimulateWithdrawFilledLimitOrder(ctx context.Context, in *QuerySimulateWithdrawFilledLimitOrderRequest, opts ...grpc.CallOption) (*QuerySimulateWithdrawFilledLimitOrderResponse, error)
	// Simulates MsgCancelLimitOrder
	SimulateCancelLimitOrder(ctx context.Context, in *QuerySimulateCancelLimitOrderRequest, opts ...grpc.CallOption) (*QuerySimulateCancelLimitOrderResponse, error)
	// Simulates MsgMultiHopSwap
	SimulateMultiHopSwap(ctx context.Context, in *QuerySimulateMultiHopSwapRequest, opts ...grpc.CallOption) (*QuerySimulateMultiHopSwapResponse, 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 {
	// DEPRECATED: Use QuerySimulateMultiHopSwap
	Creator        string                                               `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Receiver       string                                               `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Routes         []*MultiHopRoute                                     `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"`
	AmountIn       cosmossdk_io_math.Int                                `protobuf:"bytes,4,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"`
	ExitLimitPrice github_com_neutron_org_neutron_v5_utils_math.PrecDec `` /* 183-byte string literal not displayed */
	// If pickBestRoute == true then all routes are run and the route with the
	// best price is chosen otherwise, the first succesful route is used.
	PickBestRoute bool `protobuf:"varint,6,opt,name=pick_best_route,json=pickBestRoute,proto3" json:"pick_best_route,omitempty"`
}

func (*QueryEstimateMultiHopSwapRequest) Descriptor

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

func (*QueryEstimateMultiHopSwapRequest) GetCreator

func (m *QueryEstimateMultiHopSwapRequest) GetCreator() string

func (*QueryEstimateMultiHopSwapRequest) GetPickBestRoute

func (m *QueryEstimateMultiHopSwapRequest) GetPickBestRoute() bool

func (*QueryEstimateMultiHopSwapRequest) GetReceiver

func (m *QueryEstimateMultiHopSwapRequest) GetReceiver() string

func (*QueryEstimateMultiHopSwapRequest) GetRoutes

func (*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 {
	// DEPRECATED: Use QuerySimulatePlaceLimitOrder
	Creator          string                `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Receiver         string                `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	TokenIn          string                `protobuf:"bytes,3,opt,name=token_in,json=tokenIn,proto3" json:"token_in,omitempty"`
	TokenOut         string                `protobuf:"bytes,4,opt,name=token_out,json=tokenOut,proto3" json:"token_out,omitempty"`
	TickIndexInToOut int64                 `protobuf:"varint,5,opt,name=tick_index_in_to_out,json=tickIndexInToOut,proto3" json:"tick_index_in_to_out,omitempty"`
	AmountIn         cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=amount_in,json=amountIn,proto3,customtype=cosmossdk.io/math.Int" json:"amount_in" yaml:"amount_in"`
	OrderType        LimitOrderType        `protobuf:"varint,7,opt,name=order_type,json=orderType,proto3,enum=neutron.dex.LimitOrderType" json:"order_type,omitempty"`
	// expirationTime is only valid iff orderType == GOOD_TIL_TIME.
	ExpirationTime *time.Time             `protobuf:"bytes,8,opt,name=expiration_time,json=expirationTime,proto3,stdtime" json:"expiration_time,omitempty"`
	MaxAmountOut   *cosmossdk_io_math.Int `` /* 143-byte string literal not displayed */
}

func (*QueryEstimatePlaceLimitOrderRequest) Descriptor

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

func (*QueryEstimatePlaceLimitOrderRequest) GetCreator

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

func (t *QueryGetInactiveLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)

func (*QueryGetInactiveLimitOrderTrancheResponse) MarshalTo

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

func (*QueryGetInactiveLimitOrderTrancheResponse) MarshalToSizedBuffer

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

func (*QueryGetInactiveLimitOrderTrancheResponse) ProtoMessage

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

func (t *QueryGetLimitOrderTrancheResponse) MarshalBinding() ([]byte, error)

func (*QueryGetLimitOrderTrancheResponse) MarshalTo

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

func (*QueryGetLimitOrderTrancheResponse) MarshalToSizedBuffer

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

func (*QueryGetLimitOrderTrancheResponse) ProtoMessage

func (*QueryGetLimitOrderTrancheResponse) ProtoMessage()

func (*QueryGetLimitOrderTrancheResponse) Reset

func (*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"`
	CalcWithdrawableShares bool   `` /* 130-byte string literal not displayed */
}

func (*QueryGetLimitOrderTrancheUserRequest) Descriptor

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

func (*QueryGetLimitOrderTrancheUserRequest) GetAddress

func (*QueryGetLimitOrderTrancheUserRequest) GetCalcWithdrawableShares

func (m *QueryGetLimitOrderTrancheUserRequest) GetCalcWithdrawableShares() bool

func (*QueryGetLimitOrderTrancheUserRequest) GetTrancheKey

func (m *QueryGetLimitOrderTrancheUserRequest) GetTrancheKey() string

func (*QueryGetLimitOrderTrancheUserRequest) Marshal

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

func (*QueryGetLimitOrderTrancheUserRequest) MarshalTo

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

func (*QueryGetLimitOrderTrancheUserRequest) MarshalToSizedBuffer

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

func (*QueryGetLimitOrderTrancheUserRequest) ProtoMessage

func (*QueryGetLimitOrderTrancheUserRequest) ProtoMessage()

func (*QueryGetLimitOrderTrancheUserRequest) Reset

func (*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 */
	WithdrawableShares    *cosmossdk_io_math.Int `` /* 165-byte string literal not displayed */
}

func (*QueryGetLimitOrderTrancheUserResponse) Descriptor

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

func (*QueryGetLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser

func (m *QueryGetLimitOrderTrancheUserResponse) GetLimitOrderTrancheUser() *LimitOrderTrancheUser

func (*QueryGetLimitOrderTrancheUserResponse) Marshal

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

func (*QueryGetLimitOrderTrancheUserResponse) MarshalBinding

func (t *QueryGetLimitOrderTrancheUserResponse) MarshalBinding() ([]byte, error)

func (*QueryGetLimitOrderTrancheUserResponse) MarshalTo

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

func (*QueryGetLimitOrderTrancheUserResponse) MarshalToSizedBuffer

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

func (*QueryGetLimitOrderTrancheUserResponse) ProtoMessage

func (*QueryGetLimitOrderTrancheUserResponse) ProtoMessage()

func (*QueryGetLimitOrderTrancheUserResponse) Reset

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

func (t *QueryGetPoolMetadataResponse) MarshalBinding() ([]byte, error)

func (*QueryGetPoolMetadataResponse) MarshalTo

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

func (*QueryGetPoolMetadataResponse) MarshalToSizedBuffer

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

func (*QueryGetPoolMetadataResponse) ProtoMessage

func (*QueryGetPoolMetadataResponse) ProtoMessage()

func (*QueryGetPoolMetadataResponse) Reset

func (m *QueryGetPoolMetadataResponse) Reset()

func (*QueryGetPoolMetadataResponse) Size

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

func (*QueryGetPoolMetadataResponse) String

func (*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 LimitOrderTranchUser items.
	LimitOrderTrancheUserAll(context.Context, *QueryAllLimitOrderTrancheUserRequest) (*QueryAllLimitOrderTrancheUserResponse, error)
	// Queries a list of LimitOrderTrancheUser items for a given address.
	LimitOrderTrancheUserAllByAddress(context.Context, *QueryAllLimitOrderTrancheUserByAddressRequest) (*QueryAllLimitOrderTrancheUserByAddressResponse, error)
	// Queries a LimitOrderTranche by index.
	LimitOrderTranche(context.Context, *QueryGetLimitOrderTrancheRequest) (*QueryGetLimitOrderTrancheResponse, error)
	// Queries a list of LimitOrderTranche items for a given pairID / TokenIn
	// combination.
	LimitOrderTrancheAll(context.Context, *QueryAllLimitOrderTrancheRequest) (*QueryAllLimitOrderTrancheResponse, error)
	// Queries a list of UserDeposits items.
	UserDepositsAll(context.Context, *QueryAllUserDepositsRequest) (*QueryAllUserDepositsResponse, error)
	// Queries a list of TickLiquidity items.
	TickLiquidityAll(context.Context, *QueryAllTickLiquidityRequest) (*QueryAllTickLiquidityResponse, error)
	// Queries a InactiveLimitOrderTranche by index.
	InactiveLimitOrderTranche(context.Context, *QueryGetInactiveLimitOrderTrancheRequest) (*QueryGetInactiveLimitOrderTrancheResponse, error)
	// Queries a list of InactiveLimitOrderTranche items.
	InactiveLimitOrderTrancheAll(context.Context, *QueryAllInactiveLimitOrderTrancheRequest) (*QueryAllInactiveLimitOrderTrancheResponse, error)
	// Queries a list of PoolReserves items.
	PoolReservesAll(context.Context, *QueryAllPoolReservesRequest) (*QueryAllPoolReservesResponse, error)
	// Queries a PoolReserve by index
	PoolReserves(context.Context, *QueryGetPoolReservesRequest) (*QueryGetPoolReservesResponse, error)
	// DEPRECATED Queries the simulated result of a multihop swap
	EstimateMultiHopSwap(context.Context, *QueryEstimateMultiHopSwapRequest) (*QueryEstimateMultiHopSwapResponse, error)
	// DEPRECATED Queries the simulated result of a PlaceLimit order
	EstimatePlaceLimitOrder(context.Context, *QueryEstimatePlaceLimitOrderRequest) (*QueryEstimatePlaceLimitOrderResponse, error)
	// Queries a pool by pair, tick and fee
	Pool(context.Context, *QueryPoolRequest) (*QueryPoolResponse, error)
	// Queries a pool by ID
	PoolByID(context.Context, *QueryPoolByIDRequest) (*QueryPoolResponse, error)
	// Queries a PoolMetadata by ID
	PoolMetadata(context.Context, *QueryGetPoolMetadataRequest) (*QueryGetPoolMetadataResponse, error)
	// Queries a list of PoolMetadata items.
	PoolMetadataAll(context.Context, *QueryAllPoolMetadataRequest) (*QueryAllPoolMetadataResponse, error)
	// Simulates MsgDeposit
	SimulateDeposit(context.Context, *QuerySimulateDepositRequest) (*QuerySimulateDepositResponse, error)
	// Simulates MsgWithdrawal
	SimulateWithdrawal(context.Context, *QuerySimulateWithdrawalRequest) (*QuerySimulateWithdrawalResponse, error)
	// Simulates MsgPlaceLimitOrder
	SimulatePlaceLimitOrder(context.Context, *QuerySimulatePlaceLimitOrderRequest) (*QuerySimulatePlaceLimitOrderResponse, error)
	// Simulates MsgWithdrawFilledLimitOrder
	SimulateWithdrawFilledLimitOrder(context.Context, *QuerySimulateWithdrawFilledLimitOrderRequest) (*QuerySimulateWithdrawFilledLimitOrderResponse, error)
	// Simulates MsgCancelLimitOrder
	SimulateCancelLimitOrder(context.Context, *QuerySimulateCancelLimitOrderRequest) (*QuerySimulateCancelLimitOrderResponse, error)
	// Simulates MsgMultiHopSwap
	SimulateMultiHopSwap(context.Context, *QuerySimulateMultiHopSwapRequest) (*QuerySimulateMultiHopSwapResponse, error)
}

QueryServer is the server API for Query service.

type QuerySimulateCancelLimitOrderRequest

type QuerySimulateCancelLimitOrderRequest struct {
	Msg *MsgCancelLimitOrder `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*QuerySimulateCancelLimitOrderRequest) Descriptor

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

func (*QuerySimulateCancelLimitOrderRequest) GetMsg

func (*QuerySimulateCancelLimitOrderRequest) Marshal

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

func (*QuerySimulateCancelLimitOrderRequest) MarshalTo

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

func (*QuerySimulateCancelLimitOrderRequest) MarshalToSizedBuffer

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

func (*QuerySimulateCancelLimitOrderRequest) ProtoMessage

func (*QuerySimulateCancelLimitOrderRequest) ProtoMessage()

func (*QuerySimulateCancelLimitOrderRequest) Reset

func (*QuerySimulateCancelLimitOrderRequest) Size

func (*QuerySimulateCancelLimitOrderRequest) String

func (*QuerySimulateCancelLimitOrderRequest) Unmarshal

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

func (*QuerySimulateCancelLimitOrderRequest) XXX_DiscardUnknown

func (m *QuerySimulateCancelLimitOrderRequest) XXX_DiscardUnknown()

func (*QuerySimulateCancelLimitOrderRequest) XXX_Marshal

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

func (*QuerySimulateCancelLimitOrderRequest) XXX_Merge

func (*QuerySimulateCancelLimitOrderRequest) XXX_Size

func (*QuerySimulateCancelLimitOrderRequest) XXX_Unmarshal

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

type QuerySimulateCancelLimitOrderResponse

type QuerySimulateCancelLimitOrderResponse struct {
	Resp *MsgCancelLimitOrderResponse `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
}

func (*QuerySimulateCancelLimitOrderResponse) Descriptor

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

func (*QuerySimulateCancelLimitOrderResponse) GetResp

func (*QuerySimulateCancelLimitOrderResponse) Marshal

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

func (*QuerySimulateCancelLimitOrderResponse) MarshalTo

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

func (*QuerySimulateCancelLimitOrderResponse) MarshalToSizedBuffer

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

func (*QuerySimulateCancelLimitOrderResponse) ProtoMessage

func (*QuerySimulateCancelLimitOrderResponse) ProtoMessage()

func (*QuerySimulateCancelLimitOrderResponse) Reset

func (*QuerySimulateCancelLimitOrderResponse) Size

func (*QuerySimulateCancelLimitOrderResponse) String

func (*QuerySimulateCancelLimitOrderResponse) Unmarshal

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

func (*QuerySimulateCancelLimitOrderResponse) XXX_DiscardUnknown

func (m *QuerySimulateCancelLimitOrderResponse) XXX_DiscardUnknown()

func (*QuerySimulateCancelLimitOrderResponse) XXX_Marshal

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

func (*QuerySimulateCancelLimitOrderResponse) XXX_Merge

func (*QuerySimulateCancelLimitOrderResponse) XXX_Size

func (*QuerySimulateCancelLimitOrderResponse) XXX_Unmarshal

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

type QuerySimulateDepositRequest

type QuerySimulateDepositRequest struct {
	Msg *MsgDeposit `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*QuerySimulateDepositRequest) Descriptor

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

func (*QuerySimulateDepositRequest) GetMsg

func (*QuerySimulateDepositRequest) Marshal

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

func (*QuerySimulateDepositRequest) MarshalTo

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

func (*QuerySimulateDepositRequest) MarshalToSizedBuffer

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

func (*QuerySimulateDepositRequest) ProtoMessage

func (*QuerySimulateDepositRequest) ProtoMessage()

func (*QuerySimulateDepositRequest) Reset

func (m *QuerySimulateDepositRequest) Reset()

func (*QuerySimulateDepositRequest) Size

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

func (*QuerySimulateDepositRequest) String

func (m *QuerySimulateDepositRequest) String() string

func (*QuerySimulateDepositRequest) Unmarshal

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

func (*QuerySimulateDepositRequest) XXX_DiscardUnknown

func (m *QuerySimulateDepositRequest) XXX_DiscardUnknown()

func (*QuerySimulateDepositRequest) XXX_Marshal

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

func (*QuerySimulateDepositRequest) XXX_Merge

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

func (*QuerySimulateDepositRequest) XXX_Size

func (m *QuerySimulateDepositRequest) XXX_Size() int

func (*QuerySimulateDepositRequest) XXX_Unmarshal

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

type QuerySimulateDepositResponse

type QuerySimulateDepositResponse struct {
	Resp *MsgDepositResponse `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
}

func (*QuerySimulateDepositResponse) Descriptor

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

func (*QuerySimulateDepositResponse) GetResp

func (*QuerySimulateDepositResponse) Marshal

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

func (*QuerySimulateDepositResponse) MarshalTo

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

func (*QuerySimulateDepositResponse) MarshalToSizedBuffer

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

func (*QuerySimulateDepositResponse) ProtoMessage

func (*QuerySimulateDepositResponse) ProtoMessage()

func (*QuerySimulateDepositResponse) Reset

func (m *QuerySimulateDepositResponse) Reset()

func (*QuerySimulateDepositResponse) Size

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

func (*QuerySimulateDepositResponse) String

func (*QuerySimulateDepositResponse) Unmarshal

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

func (*QuerySimulateDepositResponse) XXX_DiscardUnknown

func (m *QuerySimulateDepositResponse) XXX_DiscardUnknown()

func (*QuerySimulateDepositResponse) XXX_Marshal

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

func (*QuerySimulateDepositResponse) XXX_Merge

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

func (*QuerySimulateDepositResponse) XXX_Size

func (m *QuerySimulateDepositResponse) XXX_Size() int

func (*QuerySimulateDepositResponse) XXX_Unmarshal

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

type QuerySimulateMultiHopSwapRequest

type QuerySimulateMultiHopSwapRequest struct {
	Msg *MsgMultiHopSwap `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*QuerySimulateMultiHopSwapRequest) Descriptor

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

func (*QuerySimulateMultiHopSwapRequest) GetMsg

func (*QuerySimulateMultiHopSwapRequest) Marshal

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

func (*QuerySimulateMultiHopSwapRequest) MarshalTo

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

func (*QuerySimulateMultiHopSwapRequest) MarshalToSizedBuffer

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

func (*QuerySimulateMultiHopSwapRequest) ProtoMessage

func (*QuerySimulateMultiHopSwapRequest) ProtoMessage()

func (*QuerySimulateMultiHopSwapRequest) Reset

func (*QuerySimulateMultiHopSwapRequest) Size

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

func (*QuerySimulateMultiHopSwapRequest) String

func (*QuerySimulateMultiHopSwapRequest) Unmarshal

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

func (*QuerySimulateMultiHopSwapRequest) XXX_DiscardUnknown

func (m *QuerySimulateMultiHopSwapRequest) XXX_DiscardUnknown()

func (*QuerySimulateMultiHopSwapRequest) XXX_Marshal

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

func (*QuerySimulateMultiHopSwapRequest) XXX_Merge

func (*QuerySimulateMultiHopSwapRequest) XXX_Size

func (m *QuerySimulateMultiHopSwapRequest) XXX_Size() int

func (*QuerySimulateMultiHopSwapRequest) XXX_Unmarshal

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

type QuerySimulateMultiHopSwapResponse

type QuerySimulateMultiHopSwapResponse struct {
	Resp *MsgMultiHopSwapResponse `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
}

func (*QuerySimulateMultiHopSwapResponse) Descriptor

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

func (*QuerySimulateMultiHopSwapResponse) GetResp

func (*QuerySimulateMultiHopSwapResponse) Marshal

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

func (*QuerySimulateMultiHopSwapResponse) MarshalTo

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

func (*QuerySimulateMultiHopSwapResponse) MarshalToSizedBuffer

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

func (*QuerySimulateMultiHopSwapResponse) ProtoMessage

func (*QuerySimulateMultiHopSwapResponse) ProtoMessage()

func (*QuerySimulateMultiHopSwapResponse) Reset

func (*QuerySimulateMultiHopSwapResponse) Size

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

func (*QuerySimulateMultiHopSwapResponse) String

func (*QuerySimulateMultiHopSwapResponse) Unmarshal

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

func (*QuerySimulateMultiHopSwapResponse) XXX_DiscardUnknown

func (m *QuerySimulateMultiHopSwapResponse) XXX_DiscardUnknown()

func (*QuerySimulateMultiHopSwapResponse) XXX_Marshal

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

func (*QuerySimulateMultiHopSwapResponse) XXX_Merge

func (*QuerySimulateMultiHopSwapResponse) XXX_Size

func (m *QuerySimulateMultiHopSwapResponse) XXX_Size() int

func (*QuerySimulateMultiHopSwapResponse) XXX_Unmarshal

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

type QuerySimulatePlaceLimitOrderRequest

type QuerySimulatePlaceLimitOrderRequest struct {
	Msg *MsgPlaceLimitOrder `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*QuerySimulatePlaceLimitOrderRequest) Descriptor

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

func (*QuerySimulatePlaceLimitOrderRequest) GetMsg

func (*QuerySimulatePlaceLimitOrderRequest) Marshal

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

func (*QuerySimulatePlaceLimitOrderRequest) MarshalTo

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

func (*QuerySimulatePlaceLimitOrderRequest) MarshalToSizedBuffer

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

func (*QuerySimulatePlaceLimitOrderRequest) ProtoMessage

func (*QuerySimulatePlaceLimitOrderRequest) ProtoMessage()

func (*QuerySimulatePlaceLimitOrderRequest) Reset

func (*QuerySimulatePlaceLimitOrderRequest) Size

func (*QuerySimulatePlaceLimitOrderRequest) String

func (*QuerySimulatePlaceLimitOrderRequest) Unmarshal

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

func (*QuerySimulatePlaceLimitOrderRequest) XXX_DiscardUnknown

func (m *QuerySimulatePlaceLimitOrderRequest) XXX_DiscardUnknown()

func (*QuerySimulatePlaceLimitOrderRequest) XXX_Marshal

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

func (*QuerySimulatePlaceLimitOrderRequest) XXX_Merge

func (*QuerySimulatePlaceLimitOrderRequest) XXX_Size

func (*QuerySimulatePlaceLimitOrderRequest) XXX_Unmarshal

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

type QuerySimulatePlaceLimitOrderResponse

type QuerySimulatePlaceLimitOrderResponse struct {
	Resp *MsgPlaceLimitOrderResponse `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
}

func (*QuerySimulatePlaceLimitOrderResponse) Descriptor

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

func (*QuerySimulatePlaceLimitOrderResponse) GetResp

func (*QuerySimulatePlaceLimitOrderResponse) Marshal

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

func (*QuerySimulatePlaceLimitOrderResponse) MarshalTo

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

func (*QuerySimulatePlaceLimitOrderResponse) MarshalToSizedBuffer

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

func (*QuerySimulatePlaceLimitOrderResponse) ProtoMessage

func (*QuerySimulatePlaceLimitOrderResponse) ProtoMessage()

func (*QuerySimulatePlaceLimitOrderResponse) Reset

func (*QuerySimulatePlaceLimitOrderResponse) Size

func (*QuerySimulatePlaceLimitOrderResponse) String

func (*QuerySimulatePlaceLimitOrderResponse) Unmarshal

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

func (*QuerySimulatePlaceLimitOrderResponse) XXX_DiscardUnknown

func (m *QuerySimulatePlaceLimitOrderResponse) XXX_DiscardUnknown()

func (*QuerySimulatePlaceLimitOrderResponse) XXX_Marshal

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

func (*QuerySimulatePlaceLimitOrderResponse) XXX_Merge

func (*QuerySimulatePlaceLimitOrderResponse) XXX_Size

func (*QuerySimulatePlaceLimitOrderResponse) XXX_Unmarshal

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

type QuerySimulateWithdrawFilledLimitOrderRequest

type QuerySimulateWithdrawFilledLimitOrderRequest struct {
	Msg *MsgWithdrawFilledLimitOrder `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*QuerySimulateWithdrawFilledLimitOrderRequest) Descriptor

func (*QuerySimulateWithdrawFilledLimitOrderRequest) GetMsg

func (*QuerySimulateWithdrawFilledLimitOrderRequest) Marshal

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

func (*QuerySimulateWithdrawFilledLimitOrderRequest) MarshalTo

func (*QuerySimulateWithdrawFilledLimitOrderRequest) MarshalToSizedBuffer

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

func (*QuerySimulateWithdrawFilledLimitOrderRequest) ProtoMessage

func (*QuerySimulateWithdrawFilledLimitOrderRequest) Reset

func (*QuerySimulateWithdrawFilledLimitOrderRequest) Size

func (*QuerySimulateWithdrawFilledLimitOrderRequest) String

func (*QuerySimulateWithdrawFilledLimitOrderRequest) Unmarshal

func (*QuerySimulateWithdrawFilledLimitOrderRequest) XXX_DiscardUnknown

func (m *QuerySimulateWithdrawFilledLimitOrderRequest) XXX_DiscardUnknown()

func (*QuerySimulateWithdrawFilledLimitOrderRequest) XXX_Marshal

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

func (*QuerySimulateWithdrawFilledLimitOrderRequest) XXX_Merge

func (*QuerySimulateWithdrawFilledLimitOrderRequest) XXX_Size

func (*QuerySimulateWithdrawFilledLimitOrderRequest) XXX_Unmarshal

type QuerySimulateWithdrawFilledLimitOrderResponse

type QuerySimulateWithdrawFilledLimitOrderResponse struct {
	Resp *MsgWithdrawFilledLimitOrderResponse `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
}

func (*QuerySimulateWithdrawFilledLimitOrderResponse) Descriptor

func (*QuerySimulateWithdrawFilledLimitOrderResponse) GetResp

func (*QuerySimulateWithdrawFilledLimitOrderResponse) Marshal

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

func (*QuerySimulateWithdrawFilledLimitOrderResponse) MarshalTo

func (*QuerySimulateWithdrawFilledLimitOrderResponse) MarshalToSizedBuffer

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

func (*QuerySimulateWithdrawFilledLimitOrderResponse) ProtoMessage

func (*QuerySimulateWithdrawFilledLimitOrderResponse) Reset

func (*QuerySimulateWithdrawFilledLimitOrderResponse) Size

func (*QuerySimulateWithdrawFilledLimitOrderResponse) String

func (*QuerySimulateWithdrawFilledLimitOrderResponse) Unmarshal

func (*QuerySimulateWithdrawFilledLimitOrderResponse) XXX_DiscardUnknown

func (m *QuerySimulateWithdrawFilledLimitOrderResponse) XXX_DiscardUnknown()

func (*QuerySimulateWithdrawFilledLimitOrderResponse) XXX_Marshal

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

func (*QuerySimulateWithdrawFilledLimitOrderResponse) XXX_Merge

func (*QuerySimulateWithdrawFilledLimitOrderResponse) XXX_Size

func (*QuerySimulateWithdrawFilledLimitOrderResponse) XXX_Unmarshal

type QuerySimulateWithdrawalRequest

type QuerySimulateWithdrawalRequest struct {
	Msg *MsgWithdrawal `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*QuerySimulateWithdrawalRequest) Descriptor

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

func (*QuerySimulateWithdrawalRequest) GetMsg

func (*QuerySimulateWithdrawalRequest) Marshal

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

func (*QuerySimulateWithdrawalRequest) MarshalTo

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

func (*QuerySimulateWithdrawalRequest) MarshalToSizedBuffer

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

func (*QuerySimulateWithdrawalRequest) ProtoMessage

func (*QuerySimulateWithdrawalRequest) ProtoMessage()

func (*QuerySimulateWithdrawalRequest) Reset

func (m *QuerySimulateWithdrawalRequest) Reset()

func (*QuerySimulateWithdrawalRequest) Size

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

func (*QuerySimulateWithdrawalRequest) String

func (*QuerySimulateWithdrawalRequest) Unmarshal

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

func (*QuerySimulateWithdrawalRequest) XXX_DiscardUnknown

func (m *QuerySimulateWithdrawalRequest) XXX_DiscardUnknown()

func (*QuerySimulateWithdrawalRequest) XXX_Marshal

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

func (*QuerySimulateWithdrawalRequest) XXX_Merge

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

func (*QuerySimulateWithdrawalRequest) XXX_Size

func (m *QuerySimulateWithdrawalRequest) XXX_Size() int

func (*QuerySimulateWithdrawalRequest) XXX_Unmarshal

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

type QuerySimulateWithdrawalResponse

type QuerySimulateWithdrawalResponse struct {
	Resp *MsgWithdrawalResponse `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
}

func (*QuerySimulateWithdrawalResponse) Descriptor

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

func (*QuerySimulateWithdrawalResponse) GetResp

func (*QuerySimulateWithdrawalResponse) Marshal

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

func (*QuerySimulateWithdrawalResponse) MarshalTo

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

func (*QuerySimulateWithdrawalResponse) MarshalToSizedBuffer

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

func (*QuerySimulateWithdrawalResponse) ProtoMessage

func (*QuerySimulateWithdrawalResponse) ProtoMessage()

func (*QuerySimulateWithdrawalResponse) Reset

func (*QuerySimulateWithdrawalResponse) Size

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

func (*QuerySimulateWithdrawalResponse) String

func (*QuerySimulateWithdrawalResponse) Unmarshal

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

func (*QuerySimulateWithdrawalResponse) XXX_DiscardUnknown

func (m *QuerySimulateWithdrawalResponse) XXX_DiscardUnknown()

func (*QuerySimulateWithdrawalResponse) XXX_Marshal

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

func (*QuerySimulateWithdrawalResponse) XXX_Merge

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

func (*QuerySimulateWithdrawalResponse) XXX_Size

func (m *QuerySimulateWithdrawalResponse) XXX_Size() int

func (*QuerySimulateWithdrawalResponse) XXX_Unmarshal

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

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
	Price() (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) MakerPrice

func (p TradePairID) MakerPrice(tickIndexNormalized int64) (priceTakerToMaker math_utils.PrecDec, err error)

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

func (p TradePairID) MustMakerPrice(tickIndexNormalized int64) (priceTakerToMaker math_utils.PrecDec)

func (TradePairID) MustPairID

func (p TradePairID) MustPairID() *PairID

func (TradePairID) PairID

func (p TradePairID) PairID() (*PairID, 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) Params

func (*UnimplementedQueryServer) Pool

func (*UnimplementedQueryServer) PoolByID

func (*UnimplementedQueryServer) PoolMetadata

func (*UnimplementedQueryServer) PoolMetadataAll

func (*UnimplementedQueryServer) PoolReserves

func (*UnimplementedQueryServer) PoolReservesAll

func (*UnimplementedQueryServer) SimulateDeposit

func (*UnimplementedQueryServer) SimulateWithdrawal

func (*UnimplementedQueryServer) TickLiquidityAll

func (*UnimplementedQueryServer) UserDepositsAll

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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