Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCFMMPoolI
- func (m *MockCFMMPoolI) CalcExitPoolCoinsFromShares(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
- func (m *MockCFMMPoolI) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, ...) (types.Coin, error)
- func (m *MockCFMMPoolI) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
- func (m *MockCFMMPoolI) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
- func (m *MockCFMMPoolI) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, ...) (types.Coin, error)
- func (m *MockCFMMPoolI) EXPECT() *MockCFMMPoolIMockRecorder
- func (m *MockCFMMPoolI) ExitPool(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
- func (m *MockCFMMPoolI) GetAddress() types.AccAddress
- func (m *MockCFMMPoolI) GetExitFee(ctx types.Context) types.Dec
- func (m *MockCFMMPoolI) GetId() uint64
- func (m *MockCFMMPoolI) GetSwapFee(ctx types.Context) types.Dec
- func (m *MockCFMMPoolI) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockCFMMPoolI) GetTotalShares() types.Int
- func (m *MockCFMMPoolI) GetType() types0.PoolType
- func (m *MockCFMMPoolI) IsActive(ctx types.Context) bool
- func (m *MockCFMMPoolI) JoinPool(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
- func (m *MockCFMMPoolI) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
- func (m *MockCFMMPoolI) ProtoMessage()
- func (m *MockCFMMPoolI) Reset()
- func (m *MockCFMMPoolI) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
- func (m *MockCFMMPoolI) String() string
- func (m *MockCFMMPoolI) SwapInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, ...) (types.Coin, error)
- func (m *MockCFMMPoolI) SwapOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, ...) (types.Coin, error)
- type MockCFMMPoolIMockRecorder
- func (mr *MockCFMMPoolIMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) ExitPool(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetAddress() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetId() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetTotalShares() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetType() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) IsActive(ctx interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) JoinPool(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) JoinPoolNoSwap(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) ProtoMessage() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) Reset() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) String() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) SwapInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
- type MockConcentratedPoolExtension
- func (m *MockConcentratedPoolExtension) ApplySwap(newLiquidity types.Dec, newCurrentTick types.Int, ...) error
- func (m *MockConcentratedPoolExtension) CalcActualAmounts(ctx types.Context, lowerTick, upperTick int64, ...) (types.Dec, types.Dec)
- func (m *MockConcentratedPoolExtension) EXPECT() *MockConcentratedPoolExtensionMockRecorder
- func (m *MockConcentratedPoolExtension) GetAddress() types.AccAddress
- func (m *MockConcentratedPoolExtension) GetCurrentSqrtPrice() types.Dec
- func (m *MockConcentratedPoolExtension) GetCurrentTick() types.Int
- func (m *MockConcentratedPoolExtension) GetExitFee(ctx types.Context) types.Dec
- func (m *MockConcentratedPoolExtension) GetId() uint64
- func (m *MockConcentratedPoolExtension) GetLiquidity() types.Dec
- func (m *MockConcentratedPoolExtension) GetPrecisionFactorAtPriceOne() types.Int
- func (m *MockConcentratedPoolExtension) GetSwapFee(ctx types.Context) types.Dec
- func (m *MockConcentratedPoolExtension) GetTickSpacing() uint64
- func (m *MockConcentratedPoolExtension) GetToken0() string
- func (m *MockConcentratedPoolExtension) GetToken1() string
- func (m *MockConcentratedPoolExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockConcentratedPoolExtension) GetTotalShares() types.Int
- func (m *MockConcentratedPoolExtension) GetType() types0.PoolType
- func (m *MockConcentratedPoolExtension) IsActive(ctx types.Context) bool
- func (m *MockConcentratedPoolExtension) ProtoMessage()
- func (m *MockConcentratedPoolExtension) Reset()
- func (m *MockConcentratedPoolExtension) SetCurrentSqrtPrice(newSqrtPrice types.Dec)
- func (m *MockConcentratedPoolExtension) SetCurrentTick(newTick types.Int)
- func (m *MockConcentratedPoolExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
- func (m *MockConcentratedPoolExtension) String() string
- func (m *MockConcentratedPoolExtension) UpdateLiquidity(newLiquidity types.Dec)
- func (m *MockConcentratedPoolExtension) UpdateLiquidityIfActivePosition(ctx types.Context, lowerTick, upperTick int64, liquidityDelta types.Dec) bool
- type MockConcentratedPoolExtensionMockRecorder
- func (mr *MockConcentratedPoolExtensionMockRecorder) ApplySwap(newLiquidity, newCurrentTick, newCurrentSqrtPrice interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) CalcActualAmounts(...) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetAddress() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetCurrentSqrtPrice() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetCurrentTick() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetId() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetLiquidity() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetPrecisionFactorAtPriceOne() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetTickSpacing() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetToken0() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetToken1() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetTotalShares() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetType() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) ProtoMessage() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) Reset() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) SetCurrentSqrtPrice(newSqrtPrice interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) SetCurrentTick(newTick interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) String() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) UpdateLiquidity(newLiquidity interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) UpdateLiquidityIfActivePosition(ctx, lowerTick, upperTick, liquidityDelta interface{}) *gomock.Call
- type MockPoolAmountOutExtension
- func (m *MockPoolAmountOutExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
- func (m *MockPoolAmountOutExtension) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, ...) (types.Coin, error)
- func (m *MockPoolAmountOutExtension) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
- func (m *MockPoolAmountOutExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
- func (m *MockPoolAmountOutExtension) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, ...) (types.Coin, error)
- func (m *MockPoolAmountOutExtension) CalcTokenInShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount types.Int, ...) (types.Int, error)
- func (m *MockPoolAmountOutExtension) EXPECT() *MockPoolAmountOutExtensionMockRecorder
- func (m *MockPoolAmountOutExtension) ExitPool(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
- func (m *MockPoolAmountOutExtension) ExitSwapExactAmountOut(ctx types.Context, tokenOut types.Coin, shareInMaxAmount types.Int) (types.Int, error)
- func (m *MockPoolAmountOutExtension) GetAddress() types.AccAddress
- func (m *MockPoolAmountOutExtension) GetExitFee(ctx types.Context) types.Dec
- func (m *MockPoolAmountOutExtension) GetId() uint64
- func (m *MockPoolAmountOutExtension) GetSwapFee(ctx types.Context) types.Dec
- func (m *MockPoolAmountOutExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockPoolAmountOutExtension) GetTotalShares() types.Int
- func (m *MockPoolAmountOutExtension) GetType() types0.PoolType
- func (m *MockPoolAmountOutExtension) IncreaseLiquidity(sharesOut types.Int, coinsIn types.Coins)
- func (m *MockPoolAmountOutExtension) IsActive(ctx types.Context) bool
- func (m *MockPoolAmountOutExtension) JoinPool(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
- func (m *MockPoolAmountOutExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
- func (m *MockPoolAmountOutExtension) JoinPoolTokenInMaxShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount types.Int) (types.Int, error)
- func (m *MockPoolAmountOutExtension) ProtoMessage()
- func (m *MockPoolAmountOutExtension) Reset()
- func (m *MockPoolAmountOutExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
- func (m *MockPoolAmountOutExtension) String() string
- func (m *MockPoolAmountOutExtension) SwapInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, ...) (types.Coin, error)
- func (m *MockPoolAmountOutExtension) SwapOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, ...) (types.Coin, error)
- type MockPoolAmountOutExtensionMockRecorder
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcTokenInShareAmountOut(ctx, tokenInDenom, shareOutAmount, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) ExitPool(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) ExitSwapExactAmountOut(ctx, tokenOut, shareInMaxAmount interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetAddress() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetId() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetTotalShares() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetType() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) IncreaseLiquidity(sharesOut, coinsIn interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPool(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPoolTokenInMaxShareAmountOut(ctx, tokenInDenom, shareOutAmount interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) ProtoMessage() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) Reset() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) String() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) SwapInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
- type MockWeightedPoolExtension
- func (m *MockWeightedPoolExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
- func (m *MockWeightedPoolExtension) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, ...) (types.Coin, error)
- func (m *MockWeightedPoolExtension) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
- func (m *MockWeightedPoolExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
- func (m *MockWeightedPoolExtension) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, ...) (types.Coin, error)
- func (m *MockWeightedPoolExtension) EXPECT() *MockWeightedPoolExtensionMockRecorder
- func (m *MockWeightedPoolExtension) ExitPool(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
- func (m *MockWeightedPoolExtension) GetAddress() types.AccAddress
- func (m *MockWeightedPoolExtension) GetExitFee(ctx types.Context) types.Dec
- func (m *MockWeightedPoolExtension) GetId() uint64
- func (m *MockWeightedPoolExtension) GetSwapFee(ctx types.Context) types.Dec
- func (m *MockWeightedPoolExtension) GetTokenWeight(denom string) (types.Int, error)
- func (m *MockWeightedPoolExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockWeightedPoolExtension) GetTotalShares() types.Int
- func (m *MockWeightedPoolExtension) GetType() types0.PoolType
- func (m *MockWeightedPoolExtension) IsActive(ctx types.Context) bool
- func (m *MockWeightedPoolExtension) JoinPool(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
- func (m *MockWeightedPoolExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
- func (m *MockWeightedPoolExtension) PokePool(blockTime time.Time)
- func (m *MockWeightedPoolExtension) ProtoMessage()
- func (m *MockWeightedPoolExtension) Reset()
- func (m *MockWeightedPoolExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
- func (m *MockWeightedPoolExtension) String() string
- func (m *MockWeightedPoolExtension) SwapInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, ...) (types.Coin, error)
- func (m *MockWeightedPoolExtension) SwapOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, ...) (types.Coin, error)
- type MockWeightedPoolExtensionMockRecorder
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) ExitPool(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetAddress() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetId() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetTokenWeight(denom interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetTotalShares() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetType() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) JoinPool(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) PokePool(blockTime interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) ProtoMessage() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) Reset() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) String() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) SwapInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCFMMPoolI ¶
type MockCFMMPoolI struct {
// contains filtered or unexported fields
}
MockCFMMPoolI is a mock of CFMMPoolI interface.
func NewMockCFMMPoolI ¶
func NewMockCFMMPoolI(ctrl *gomock.Controller) *MockCFMMPoolI
NewMockCFMMPoolI creates a new mock instance.
func (*MockCFMMPoolI) CalcExitPoolCoinsFromShares ¶
func (m *MockCFMMPoolI) CalcExitPoolCoinsFromShares(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
CalcExitPoolCoinsFromShares mocks base method.
func (*MockCFMMPoolI) CalcInAmtGivenOut ¶
func (m *MockCFMMPoolI) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, swapFee types.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockCFMMPoolI) CalcJoinPoolNoSwapShares ¶
func (m *MockCFMMPoolI) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
CalcJoinPoolNoSwapShares mocks base method.
func (*MockCFMMPoolI) CalcJoinPoolShares ¶
func (m *MockCFMMPoolI) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
CalcJoinPoolShares mocks base method.
func (*MockCFMMPoolI) CalcOutAmtGivenIn ¶
func (m *MockCFMMPoolI) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, swapFee types.Dec) (types.Coin, error)
CalcOutAmtGivenIn mocks base method.
func (*MockCFMMPoolI) EXPECT ¶
func (m *MockCFMMPoolI) EXPECT() *MockCFMMPoolIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCFMMPoolI) ExitPool ¶
func (m *MockCFMMPoolI) ExitPool(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
ExitPool mocks base method.
func (*MockCFMMPoolI) GetAddress ¶
func (m *MockCFMMPoolI) GetAddress() types.AccAddress
GetAddress mocks base method.
func (*MockCFMMPoolI) GetExitFee ¶
func (m *MockCFMMPoolI) GetExitFee(ctx types.Context) types.Dec
GetExitFee mocks base method.
func (*MockCFMMPoolI) GetSwapFee ¶
func (m *MockCFMMPoolI) GetSwapFee(ctx types.Context) types.Dec
GetSwapFee mocks base method.
func (*MockCFMMPoolI) GetTotalPoolLiquidity ¶
func (m *MockCFMMPoolI) GetTotalPoolLiquidity(ctx types.Context) types.Coins
GetTotalPoolLiquidity mocks base method.
func (*MockCFMMPoolI) GetTotalShares ¶
func (m *MockCFMMPoolI) GetTotalShares() types.Int
GetTotalShares mocks base method.
func (*MockCFMMPoolI) GetType ¶
func (m *MockCFMMPoolI) GetType() types0.PoolType
GetType mocks base method.
func (*MockCFMMPoolI) IsActive ¶
func (m *MockCFMMPoolI) IsActive(ctx types.Context) bool
IsActive mocks base method.
func (*MockCFMMPoolI) JoinPool ¶
func (m *MockCFMMPoolI) JoinPool(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
JoinPool mocks base method.
func (*MockCFMMPoolI) JoinPoolNoSwap ¶
func (m *MockCFMMPoolI) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
JoinPoolNoSwap mocks base method.
func (*MockCFMMPoolI) ProtoMessage ¶
func (m *MockCFMMPoolI) ProtoMessage()
ProtoMessage mocks base method.
func (*MockCFMMPoolI) SpotPrice ¶
func (m *MockCFMMPoolI) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
SpotPrice mocks base method.
type MockCFMMPoolIMockRecorder ¶
type MockCFMMPoolIMockRecorder struct {
// contains filtered or unexported fields
}
MockCFMMPoolIMockRecorder is the mock recorder for MockCFMMPoolI.
func (*MockCFMMPoolIMockRecorder) CalcExitPoolCoinsFromShares ¶
func (mr *MockCFMMPoolIMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
CalcExitPoolCoinsFromShares indicates an expected call of CalcExitPoolCoinsFromShares.
func (*MockCFMMPoolIMockRecorder) CalcInAmtGivenOut ¶
func (mr *MockCFMMPoolIMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockCFMMPoolIMockRecorder) CalcJoinPoolNoSwapShares ¶
func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
CalcJoinPoolNoSwapShares indicates an expected call of CalcJoinPoolNoSwapShares.
func (*MockCFMMPoolIMockRecorder) CalcJoinPoolShares ¶
func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
CalcJoinPoolShares indicates an expected call of CalcJoinPoolShares.
func (*MockCFMMPoolIMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockCFMMPoolIMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
CalcOutAmtGivenIn indicates an expected call of CalcOutAmtGivenIn.
func (*MockCFMMPoolIMockRecorder) ExitPool ¶
func (mr *MockCFMMPoolIMockRecorder) ExitPool(ctx, numShares, exitFee interface{}) *gomock.Call
ExitPool indicates an expected call of ExitPool.
func (*MockCFMMPoolIMockRecorder) GetAddress ¶
func (mr *MockCFMMPoolIMockRecorder) GetAddress() *gomock.Call
GetAddress indicates an expected call of GetAddress.
func (*MockCFMMPoolIMockRecorder) GetExitFee ¶
func (mr *MockCFMMPoolIMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
GetExitFee indicates an expected call of GetExitFee.
func (*MockCFMMPoolIMockRecorder) GetId ¶
func (mr *MockCFMMPoolIMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockCFMMPoolIMockRecorder) GetSwapFee ¶
func (mr *MockCFMMPoolIMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
GetSwapFee indicates an expected call of GetSwapFee.
func (*MockCFMMPoolIMockRecorder) GetTotalPoolLiquidity ¶
func (mr *MockCFMMPoolIMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
GetTotalPoolLiquidity indicates an expected call of GetTotalPoolLiquidity.
func (*MockCFMMPoolIMockRecorder) GetTotalShares ¶
func (mr *MockCFMMPoolIMockRecorder) GetTotalShares() *gomock.Call
GetTotalShares indicates an expected call of GetTotalShares.
func (*MockCFMMPoolIMockRecorder) GetType ¶
func (mr *MockCFMMPoolIMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockCFMMPoolIMockRecorder) IsActive ¶
func (mr *MockCFMMPoolIMockRecorder) IsActive(ctx interface{}) *gomock.Call
IsActive indicates an expected call of IsActive.
func (*MockCFMMPoolIMockRecorder) JoinPool ¶
func (mr *MockCFMMPoolIMockRecorder) JoinPool(ctx, tokensIn, swapFee interface{}) *gomock.Call
JoinPool indicates an expected call of JoinPool.
func (*MockCFMMPoolIMockRecorder) JoinPoolNoSwap ¶
func (mr *MockCFMMPoolIMockRecorder) JoinPoolNoSwap(ctx, tokensIn, swapFee interface{}) *gomock.Call
JoinPoolNoSwap indicates an expected call of JoinPoolNoSwap.
func (*MockCFMMPoolIMockRecorder) ProtoMessage ¶
func (mr *MockCFMMPoolIMockRecorder) ProtoMessage() *gomock.Call
ProtoMessage indicates an expected call of ProtoMessage.
func (*MockCFMMPoolIMockRecorder) Reset ¶
func (mr *MockCFMMPoolIMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockCFMMPoolIMockRecorder) SpotPrice ¶
func (mr *MockCFMMPoolIMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
SpotPrice indicates an expected call of SpotPrice.
func (*MockCFMMPoolIMockRecorder) String ¶
func (mr *MockCFMMPoolIMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockCFMMPoolIMockRecorder) SwapInAmtGivenOut ¶
func (mr *MockCFMMPoolIMockRecorder) SwapInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
SwapInAmtGivenOut indicates an expected call of SwapInAmtGivenOut.
func (*MockCFMMPoolIMockRecorder) SwapOutAmtGivenIn ¶
func (mr *MockCFMMPoolIMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
SwapOutAmtGivenIn indicates an expected call of SwapOutAmtGivenIn.
type MockConcentratedPoolExtension ¶
type MockConcentratedPoolExtension struct {
// contains filtered or unexported fields
}
MockConcentratedPoolExtension is a mock of ConcentratedPoolExtension interface.
func NewMockConcentratedPoolExtension ¶
func NewMockConcentratedPoolExtension(ctrl *gomock.Controller) *MockConcentratedPoolExtension
NewMockConcentratedPoolExtension creates a new mock instance.
func (*MockConcentratedPoolExtension) ApplySwap ¶
func (m *MockConcentratedPoolExtension) ApplySwap(newLiquidity types.Dec, newCurrentTick types.Int, newCurrentSqrtPrice types.Dec) error
ApplySwap mocks base method.
func (*MockConcentratedPoolExtension) CalcActualAmounts ¶
func (m *MockConcentratedPoolExtension) CalcActualAmounts(ctx types.Context, lowerTick, upperTick int64, sqrtRatioLowerTick, sqrtRatioUpperTick, liquidityDelta types.Dec) (types.Dec, types.Dec)
CalcActualAmounts mocks base method.
func (*MockConcentratedPoolExtension) EXPECT ¶
func (m *MockConcentratedPoolExtension) EXPECT() *MockConcentratedPoolExtensionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConcentratedPoolExtension) GetAddress ¶
func (m *MockConcentratedPoolExtension) GetAddress() types.AccAddress
GetAddress mocks base method.
func (*MockConcentratedPoolExtension) GetCurrentSqrtPrice ¶
func (m *MockConcentratedPoolExtension) GetCurrentSqrtPrice() types.Dec
GetCurrentSqrtPrice mocks base method.
func (*MockConcentratedPoolExtension) GetCurrentTick ¶
func (m *MockConcentratedPoolExtension) GetCurrentTick() types.Int
GetCurrentTick mocks base method.
func (*MockConcentratedPoolExtension) GetExitFee ¶
func (m *MockConcentratedPoolExtension) GetExitFee(ctx types.Context) types.Dec
GetExitFee mocks base method.
func (*MockConcentratedPoolExtension) GetId ¶
func (m *MockConcentratedPoolExtension) GetId() uint64
GetId mocks base method.
func (*MockConcentratedPoolExtension) GetLiquidity ¶
func (m *MockConcentratedPoolExtension) GetLiquidity() types.Dec
GetLiquidity mocks base method.
func (*MockConcentratedPoolExtension) GetPrecisionFactorAtPriceOne ¶
func (m *MockConcentratedPoolExtension) GetPrecisionFactorAtPriceOne() types.Int
GetPrecisionFactorAtPriceOne mocks base method.
func (*MockConcentratedPoolExtension) GetSwapFee ¶
func (m *MockConcentratedPoolExtension) GetSwapFee(ctx types.Context) types.Dec
GetSwapFee mocks base method.
func (*MockConcentratedPoolExtension) GetTickSpacing ¶
func (m *MockConcentratedPoolExtension) GetTickSpacing() uint64
GetTickSpacing mocks base method.
func (*MockConcentratedPoolExtension) GetToken0 ¶
func (m *MockConcentratedPoolExtension) GetToken0() string
GetToken0 mocks base method.
func (*MockConcentratedPoolExtension) GetToken1 ¶
func (m *MockConcentratedPoolExtension) GetToken1() string
GetToken1 mocks base method.
func (*MockConcentratedPoolExtension) GetTotalPoolLiquidity ¶
func (m *MockConcentratedPoolExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
GetTotalPoolLiquidity mocks base method.
func (*MockConcentratedPoolExtension) GetTotalShares ¶
func (m *MockConcentratedPoolExtension) GetTotalShares() types.Int
GetTotalShares mocks base method.
func (*MockConcentratedPoolExtension) GetType ¶
func (m *MockConcentratedPoolExtension) GetType() types0.PoolType
GetType mocks base method.
func (*MockConcentratedPoolExtension) IsActive ¶
func (m *MockConcentratedPoolExtension) IsActive(ctx types.Context) bool
IsActive mocks base method.
func (*MockConcentratedPoolExtension) ProtoMessage ¶
func (m *MockConcentratedPoolExtension) ProtoMessage()
ProtoMessage mocks base method.
func (*MockConcentratedPoolExtension) Reset ¶
func (m *MockConcentratedPoolExtension) Reset()
Reset mocks base method.
func (*MockConcentratedPoolExtension) SetCurrentSqrtPrice ¶
func (m *MockConcentratedPoolExtension) SetCurrentSqrtPrice(newSqrtPrice types.Dec)
SetCurrentSqrtPrice mocks base method.
func (*MockConcentratedPoolExtension) SetCurrentTick ¶
func (m *MockConcentratedPoolExtension) SetCurrentTick(newTick types.Int)
SetCurrentTick mocks base method.
func (*MockConcentratedPoolExtension) SpotPrice ¶
func (m *MockConcentratedPoolExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
SpotPrice mocks base method.
func (*MockConcentratedPoolExtension) String ¶
func (m *MockConcentratedPoolExtension) String() string
String mocks base method.
func (*MockConcentratedPoolExtension) UpdateLiquidity ¶
func (m *MockConcentratedPoolExtension) UpdateLiquidity(newLiquidity types.Dec)
UpdateLiquidity mocks base method.
func (*MockConcentratedPoolExtension) UpdateLiquidityIfActivePosition ¶
func (m *MockConcentratedPoolExtension) UpdateLiquidityIfActivePosition(ctx types.Context, lowerTick, upperTick int64, liquidityDelta types.Dec) bool
UpdateLiquidityIfActivePosition mocks base method.
type MockConcentratedPoolExtensionMockRecorder ¶
type MockConcentratedPoolExtensionMockRecorder struct {
// contains filtered or unexported fields
}
MockConcentratedPoolExtensionMockRecorder is the mock recorder for MockConcentratedPoolExtension.
func (*MockConcentratedPoolExtensionMockRecorder) ApplySwap ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) ApplySwap(newLiquidity, newCurrentTick, newCurrentSqrtPrice interface{}) *gomock.Call
ApplySwap indicates an expected call of ApplySwap.
func (*MockConcentratedPoolExtensionMockRecorder) CalcActualAmounts ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) CalcActualAmounts(ctx, lowerTick, upperTick, sqrtRatioLowerTick, sqrtRatioUpperTick, liquidityDelta interface{}) *gomock.Call
CalcActualAmounts indicates an expected call of CalcActualAmounts.
func (*MockConcentratedPoolExtensionMockRecorder) GetAddress ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetAddress() *gomock.Call
GetAddress indicates an expected call of GetAddress.
func (*MockConcentratedPoolExtensionMockRecorder) GetCurrentSqrtPrice ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetCurrentSqrtPrice() *gomock.Call
GetCurrentSqrtPrice indicates an expected call of GetCurrentSqrtPrice.
func (*MockConcentratedPoolExtensionMockRecorder) GetCurrentTick ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetCurrentTick() *gomock.Call
GetCurrentTick indicates an expected call of GetCurrentTick.
func (*MockConcentratedPoolExtensionMockRecorder) GetExitFee ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
GetExitFee indicates an expected call of GetExitFee.
func (*MockConcentratedPoolExtensionMockRecorder) GetId ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockConcentratedPoolExtensionMockRecorder) GetLiquidity ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetLiquidity() *gomock.Call
GetLiquidity indicates an expected call of GetLiquidity.
func (*MockConcentratedPoolExtensionMockRecorder) GetPrecisionFactorAtPriceOne ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetPrecisionFactorAtPriceOne() *gomock.Call
GetPrecisionFactorAtPriceOne indicates an expected call of GetPrecisionFactorAtPriceOne.
func (*MockConcentratedPoolExtensionMockRecorder) GetSwapFee ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
GetSwapFee indicates an expected call of GetSwapFee.
func (*MockConcentratedPoolExtensionMockRecorder) GetTickSpacing ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetTickSpacing() *gomock.Call
GetTickSpacing indicates an expected call of GetTickSpacing.
func (*MockConcentratedPoolExtensionMockRecorder) GetToken0 ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetToken0() *gomock.Call
GetToken0 indicates an expected call of GetToken0.
func (*MockConcentratedPoolExtensionMockRecorder) GetToken1 ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetToken1() *gomock.Call
GetToken1 indicates an expected call of GetToken1.
func (*MockConcentratedPoolExtensionMockRecorder) GetTotalPoolLiquidity ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
GetTotalPoolLiquidity indicates an expected call of GetTotalPoolLiquidity.
func (*MockConcentratedPoolExtensionMockRecorder) GetTotalShares ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetTotalShares() *gomock.Call
GetTotalShares indicates an expected call of GetTotalShares.
func (*MockConcentratedPoolExtensionMockRecorder) GetType ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockConcentratedPoolExtensionMockRecorder) IsActive ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
IsActive indicates an expected call of IsActive.
func (*MockConcentratedPoolExtensionMockRecorder) ProtoMessage ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) ProtoMessage() *gomock.Call
ProtoMessage indicates an expected call of ProtoMessage.
func (*MockConcentratedPoolExtensionMockRecorder) Reset ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockConcentratedPoolExtensionMockRecorder) SetCurrentSqrtPrice ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) SetCurrentSqrtPrice(newSqrtPrice interface{}) *gomock.Call
SetCurrentSqrtPrice indicates an expected call of SetCurrentSqrtPrice.
func (*MockConcentratedPoolExtensionMockRecorder) SetCurrentTick ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) SetCurrentTick(newTick interface{}) *gomock.Call
SetCurrentTick indicates an expected call of SetCurrentTick.
func (*MockConcentratedPoolExtensionMockRecorder) SpotPrice ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
SpotPrice indicates an expected call of SpotPrice.
func (*MockConcentratedPoolExtensionMockRecorder) String ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockConcentratedPoolExtensionMockRecorder) UpdateLiquidity ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) UpdateLiquidity(newLiquidity interface{}) *gomock.Call
UpdateLiquidity indicates an expected call of UpdateLiquidity.
func (*MockConcentratedPoolExtensionMockRecorder) UpdateLiquidityIfActivePosition ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) UpdateLiquidityIfActivePosition(ctx, lowerTick, upperTick, liquidityDelta interface{}) *gomock.Call
UpdateLiquidityIfActivePosition indicates an expected call of UpdateLiquidityIfActivePosition.
type MockPoolAmountOutExtension ¶
type MockPoolAmountOutExtension struct {
// contains filtered or unexported fields
}
MockPoolAmountOutExtension is a mock of PoolAmountOutExtension interface.
func NewMockPoolAmountOutExtension ¶
func NewMockPoolAmountOutExtension(ctrl *gomock.Controller) *MockPoolAmountOutExtension
NewMockPoolAmountOutExtension creates a new mock instance.
func (*MockPoolAmountOutExtension) CalcExitPoolCoinsFromShares ¶
func (m *MockPoolAmountOutExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
CalcExitPoolCoinsFromShares mocks base method.
func (*MockPoolAmountOutExtension) CalcInAmtGivenOut ¶
func (m *MockPoolAmountOutExtension) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, swapFee types.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockPoolAmountOutExtension) CalcJoinPoolNoSwapShares ¶
func (m *MockPoolAmountOutExtension) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
CalcJoinPoolNoSwapShares mocks base method.
func (*MockPoolAmountOutExtension) CalcJoinPoolShares ¶
func (m *MockPoolAmountOutExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
CalcJoinPoolShares mocks base method.
func (*MockPoolAmountOutExtension) CalcOutAmtGivenIn ¶
func (m *MockPoolAmountOutExtension) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, swapFee types.Dec) (types.Coin, error)
CalcOutAmtGivenIn mocks base method.
func (*MockPoolAmountOutExtension) CalcTokenInShareAmountOut ¶
func (m *MockPoolAmountOutExtension) CalcTokenInShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount types.Int, swapFee types.Dec) (types.Int, error)
CalcTokenInShareAmountOut mocks base method.
func (*MockPoolAmountOutExtension) EXPECT ¶
func (m *MockPoolAmountOutExtension) EXPECT() *MockPoolAmountOutExtensionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolAmountOutExtension) ExitPool ¶
func (m *MockPoolAmountOutExtension) ExitPool(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
ExitPool mocks base method.
func (*MockPoolAmountOutExtension) ExitSwapExactAmountOut ¶
func (m *MockPoolAmountOutExtension) ExitSwapExactAmountOut(ctx types.Context, tokenOut types.Coin, shareInMaxAmount types.Int) (types.Int, error)
ExitSwapExactAmountOut mocks base method.
func (*MockPoolAmountOutExtension) GetAddress ¶
func (m *MockPoolAmountOutExtension) GetAddress() types.AccAddress
GetAddress mocks base method.
func (*MockPoolAmountOutExtension) GetExitFee ¶
func (m *MockPoolAmountOutExtension) GetExitFee(ctx types.Context) types.Dec
GetExitFee mocks base method.
func (*MockPoolAmountOutExtension) GetId ¶
func (m *MockPoolAmountOutExtension) GetId() uint64
GetId mocks base method.
func (*MockPoolAmountOutExtension) GetSwapFee ¶
func (m *MockPoolAmountOutExtension) GetSwapFee(ctx types.Context) types.Dec
GetSwapFee mocks base method.
func (*MockPoolAmountOutExtension) GetTotalPoolLiquidity ¶
func (m *MockPoolAmountOutExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
GetTotalPoolLiquidity mocks base method.
func (*MockPoolAmountOutExtension) GetTotalShares ¶
func (m *MockPoolAmountOutExtension) GetTotalShares() types.Int
GetTotalShares mocks base method.
func (*MockPoolAmountOutExtension) GetType ¶
func (m *MockPoolAmountOutExtension) GetType() types0.PoolType
GetType mocks base method.
func (*MockPoolAmountOutExtension) IncreaseLiquidity ¶
func (m *MockPoolAmountOutExtension) IncreaseLiquidity(sharesOut types.Int, coinsIn types.Coins)
IncreaseLiquidity mocks base method.
func (*MockPoolAmountOutExtension) IsActive ¶
func (m *MockPoolAmountOutExtension) IsActive(ctx types.Context) bool
IsActive mocks base method.
func (*MockPoolAmountOutExtension) JoinPool ¶
func (m *MockPoolAmountOutExtension) JoinPool(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
JoinPool mocks base method.
func (*MockPoolAmountOutExtension) JoinPoolNoSwap ¶
func (m *MockPoolAmountOutExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
JoinPoolNoSwap mocks base method.
func (*MockPoolAmountOutExtension) JoinPoolTokenInMaxShareAmountOut ¶
func (m *MockPoolAmountOutExtension) JoinPoolTokenInMaxShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount types.Int) (types.Int, error)
JoinPoolTokenInMaxShareAmountOut mocks base method.
func (*MockPoolAmountOutExtension) ProtoMessage ¶
func (m *MockPoolAmountOutExtension) ProtoMessage()
ProtoMessage mocks base method.
func (*MockPoolAmountOutExtension) Reset ¶
func (m *MockPoolAmountOutExtension) Reset()
Reset mocks base method.
func (*MockPoolAmountOutExtension) SpotPrice ¶
func (m *MockPoolAmountOutExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
SpotPrice mocks base method.
func (*MockPoolAmountOutExtension) String ¶
func (m *MockPoolAmountOutExtension) String() string
String mocks base method.
type MockPoolAmountOutExtensionMockRecorder ¶
type MockPoolAmountOutExtensionMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolAmountOutExtensionMockRecorder is the mock recorder for MockPoolAmountOutExtension.
func (*MockPoolAmountOutExtensionMockRecorder) CalcExitPoolCoinsFromShares ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
CalcExitPoolCoinsFromShares indicates an expected call of CalcExitPoolCoinsFromShares.
func (*MockPoolAmountOutExtensionMockRecorder) CalcInAmtGivenOut ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolNoSwapShares ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
CalcJoinPoolNoSwapShares indicates an expected call of CalcJoinPoolNoSwapShares.
func (*MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolShares ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
CalcJoinPoolShares indicates an expected call of CalcJoinPoolShares.
func (*MockPoolAmountOutExtensionMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
CalcOutAmtGivenIn indicates an expected call of CalcOutAmtGivenIn.
func (*MockPoolAmountOutExtensionMockRecorder) CalcTokenInShareAmountOut ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcTokenInShareAmountOut(ctx, tokenInDenom, shareOutAmount, swapFee interface{}) *gomock.Call
CalcTokenInShareAmountOut indicates an expected call of CalcTokenInShareAmountOut.
func (*MockPoolAmountOutExtensionMockRecorder) ExitPool ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) ExitPool(ctx, numShares, exitFee interface{}) *gomock.Call
ExitPool indicates an expected call of ExitPool.
func (*MockPoolAmountOutExtensionMockRecorder) ExitSwapExactAmountOut ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) ExitSwapExactAmountOut(ctx, tokenOut, shareInMaxAmount interface{}) *gomock.Call
ExitSwapExactAmountOut indicates an expected call of ExitSwapExactAmountOut.
func (*MockPoolAmountOutExtensionMockRecorder) GetAddress ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetAddress() *gomock.Call
GetAddress indicates an expected call of GetAddress.
func (*MockPoolAmountOutExtensionMockRecorder) GetExitFee ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
GetExitFee indicates an expected call of GetExitFee.
func (*MockPoolAmountOutExtensionMockRecorder) GetId ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockPoolAmountOutExtensionMockRecorder) GetSwapFee ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
GetSwapFee indicates an expected call of GetSwapFee.
func (*MockPoolAmountOutExtensionMockRecorder) GetTotalPoolLiquidity ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
GetTotalPoolLiquidity indicates an expected call of GetTotalPoolLiquidity.
func (*MockPoolAmountOutExtensionMockRecorder) GetTotalShares ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetTotalShares() *gomock.Call
GetTotalShares indicates an expected call of GetTotalShares.
func (*MockPoolAmountOutExtensionMockRecorder) GetType ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockPoolAmountOutExtensionMockRecorder) IncreaseLiquidity ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) IncreaseLiquidity(sharesOut, coinsIn interface{}) *gomock.Call
IncreaseLiquidity indicates an expected call of IncreaseLiquidity.
func (*MockPoolAmountOutExtensionMockRecorder) IsActive ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
IsActive indicates an expected call of IsActive.
func (*MockPoolAmountOutExtensionMockRecorder) JoinPool ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPool(ctx, tokensIn, swapFee interface{}) *gomock.Call
JoinPool indicates an expected call of JoinPool.
func (*MockPoolAmountOutExtensionMockRecorder) JoinPoolNoSwap ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, swapFee interface{}) *gomock.Call
JoinPoolNoSwap indicates an expected call of JoinPoolNoSwap.
func (*MockPoolAmountOutExtensionMockRecorder) JoinPoolTokenInMaxShareAmountOut ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPoolTokenInMaxShareAmountOut(ctx, tokenInDenom, shareOutAmount interface{}) *gomock.Call
JoinPoolTokenInMaxShareAmountOut indicates an expected call of JoinPoolTokenInMaxShareAmountOut.
func (*MockPoolAmountOutExtensionMockRecorder) ProtoMessage ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) ProtoMessage() *gomock.Call
ProtoMessage indicates an expected call of ProtoMessage.
func (*MockPoolAmountOutExtensionMockRecorder) Reset ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockPoolAmountOutExtensionMockRecorder) SpotPrice ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
SpotPrice indicates an expected call of SpotPrice.
func (*MockPoolAmountOutExtensionMockRecorder) String ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockPoolAmountOutExtensionMockRecorder) SwapInAmtGivenOut ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) SwapInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
SwapInAmtGivenOut indicates an expected call of SwapInAmtGivenOut.
func (*MockPoolAmountOutExtensionMockRecorder) SwapOutAmtGivenIn ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
SwapOutAmtGivenIn indicates an expected call of SwapOutAmtGivenIn.
type MockWeightedPoolExtension ¶
type MockWeightedPoolExtension struct {
// contains filtered or unexported fields
}
MockWeightedPoolExtension is a mock of WeightedPoolExtension interface.
func NewMockWeightedPoolExtension ¶
func NewMockWeightedPoolExtension(ctrl *gomock.Controller) *MockWeightedPoolExtension
NewMockWeightedPoolExtension creates a new mock instance.
func (*MockWeightedPoolExtension) CalcExitPoolCoinsFromShares ¶
func (m *MockWeightedPoolExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
CalcExitPoolCoinsFromShares mocks base method.
func (*MockWeightedPoolExtension) CalcInAmtGivenOut ¶
func (m *MockWeightedPoolExtension) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, swapFee types.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockWeightedPoolExtension) CalcJoinPoolNoSwapShares ¶
func (m *MockWeightedPoolExtension) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
CalcJoinPoolNoSwapShares mocks base method.
func (*MockWeightedPoolExtension) CalcJoinPoolShares ¶
func (m *MockWeightedPoolExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, types.Coins, error)
CalcJoinPoolShares mocks base method.
func (*MockWeightedPoolExtension) CalcOutAmtGivenIn ¶
func (m *MockWeightedPoolExtension) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, swapFee types.Dec) (types.Coin, error)
CalcOutAmtGivenIn mocks base method.
func (*MockWeightedPoolExtension) EXPECT ¶
func (m *MockWeightedPoolExtension) EXPECT() *MockWeightedPoolExtensionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWeightedPoolExtension) ExitPool ¶
func (m *MockWeightedPoolExtension) ExitPool(ctx types.Context, numShares types.Int, exitFee types.Dec) (types.Coins, error)
ExitPool mocks base method.
func (*MockWeightedPoolExtension) GetAddress ¶
func (m *MockWeightedPoolExtension) GetAddress() types.AccAddress
GetAddress mocks base method.
func (*MockWeightedPoolExtension) GetExitFee ¶
func (m *MockWeightedPoolExtension) GetExitFee(ctx types.Context) types.Dec
GetExitFee mocks base method.
func (*MockWeightedPoolExtension) GetId ¶
func (m *MockWeightedPoolExtension) GetId() uint64
GetId mocks base method.
func (*MockWeightedPoolExtension) GetSwapFee ¶
func (m *MockWeightedPoolExtension) GetSwapFee(ctx types.Context) types.Dec
GetSwapFee mocks base method.
func (*MockWeightedPoolExtension) GetTokenWeight ¶
func (m *MockWeightedPoolExtension) GetTokenWeight(denom string) (types.Int, error)
GetTokenWeight mocks base method.
func (*MockWeightedPoolExtension) GetTotalPoolLiquidity ¶
func (m *MockWeightedPoolExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
GetTotalPoolLiquidity mocks base method.
func (*MockWeightedPoolExtension) GetTotalShares ¶
func (m *MockWeightedPoolExtension) GetTotalShares() types.Int
GetTotalShares mocks base method.
func (*MockWeightedPoolExtension) GetType ¶
func (m *MockWeightedPoolExtension) GetType() types0.PoolType
GetType mocks base method.
func (*MockWeightedPoolExtension) IsActive ¶
func (m *MockWeightedPoolExtension) IsActive(ctx types.Context) bool
IsActive mocks base method.
func (*MockWeightedPoolExtension) JoinPool ¶
func (m *MockWeightedPoolExtension) JoinPool(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
JoinPool mocks base method.
func (*MockWeightedPoolExtension) JoinPoolNoSwap ¶
func (m *MockWeightedPoolExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, swapFee types.Dec) (types.Int, error)
JoinPoolNoSwap mocks base method.
func (*MockWeightedPoolExtension) PokePool ¶
func (m *MockWeightedPoolExtension) PokePool(blockTime time.Time)
PokePool mocks base method.
func (*MockWeightedPoolExtension) ProtoMessage ¶
func (m *MockWeightedPoolExtension) ProtoMessage()
ProtoMessage mocks base method.
func (*MockWeightedPoolExtension) Reset ¶
func (m *MockWeightedPoolExtension) Reset()
Reset mocks base method.
func (*MockWeightedPoolExtension) SpotPrice ¶
func (m *MockWeightedPoolExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (types.Dec, error)
SpotPrice mocks base method.
func (*MockWeightedPoolExtension) String ¶
func (m *MockWeightedPoolExtension) String() string
String mocks base method.
type MockWeightedPoolExtensionMockRecorder ¶
type MockWeightedPoolExtensionMockRecorder struct {
// contains filtered or unexported fields
}
MockWeightedPoolExtensionMockRecorder is the mock recorder for MockWeightedPoolExtension.
func (*MockWeightedPoolExtensionMockRecorder) CalcExitPoolCoinsFromShares ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
CalcExitPoolCoinsFromShares indicates an expected call of CalcExitPoolCoinsFromShares.
func (*MockWeightedPoolExtensionMockRecorder) CalcInAmtGivenOut ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockWeightedPoolExtensionMockRecorder) CalcJoinPoolNoSwapShares ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
CalcJoinPoolNoSwapShares indicates an expected call of CalcJoinPoolNoSwapShares.
func (*MockWeightedPoolExtensionMockRecorder) CalcJoinPoolShares ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, swapFee interface{}) *gomock.Call
CalcJoinPoolShares indicates an expected call of CalcJoinPoolShares.
func (*MockWeightedPoolExtensionMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
CalcOutAmtGivenIn indicates an expected call of CalcOutAmtGivenIn.
func (*MockWeightedPoolExtensionMockRecorder) ExitPool ¶
func (mr *MockWeightedPoolExtensionMockRecorder) ExitPool(ctx, numShares, exitFee interface{}) *gomock.Call
ExitPool indicates an expected call of ExitPool.
func (*MockWeightedPoolExtensionMockRecorder) GetAddress ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetAddress() *gomock.Call
GetAddress indicates an expected call of GetAddress.
func (*MockWeightedPoolExtensionMockRecorder) GetExitFee ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetExitFee(ctx interface{}) *gomock.Call
GetExitFee indicates an expected call of GetExitFee.
func (*MockWeightedPoolExtensionMockRecorder) GetId ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockWeightedPoolExtensionMockRecorder) GetSwapFee ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetSwapFee(ctx interface{}) *gomock.Call
GetSwapFee indicates an expected call of GetSwapFee.
func (*MockWeightedPoolExtensionMockRecorder) GetTokenWeight ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetTokenWeight(denom interface{}) *gomock.Call
GetTokenWeight indicates an expected call of GetTokenWeight.
func (*MockWeightedPoolExtensionMockRecorder) GetTotalPoolLiquidity ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetTotalPoolLiquidity(ctx interface{}) *gomock.Call
GetTotalPoolLiquidity indicates an expected call of GetTotalPoolLiquidity.
func (*MockWeightedPoolExtensionMockRecorder) GetTotalShares ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetTotalShares() *gomock.Call
GetTotalShares indicates an expected call of GetTotalShares.
func (*MockWeightedPoolExtensionMockRecorder) GetType ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockWeightedPoolExtensionMockRecorder) IsActive ¶
func (mr *MockWeightedPoolExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
IsActive indicates an expected call of IsActive.
func (*MockWeightedPoolExtensionMockRecorder) JoinPool ¶
func (mr *MockWeightedPoolExtensionMockRecorder) JoinPool(ctx, tokensIn, swapFee interface{}) *gomock.Call
JoinPool indicates an expected call of JoinPool.
func (*MockWeightedPoolExtensionMockRecorder) JoinPoolNoSwap ¶
func (mr *MockWeightedPoolExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, swapFee interface{}) *gomock.Call
JoinPoolNoSwap indicates an expected call of JoinPoolNoSwap.
func (*MockWeightedPoolExtensionMockRecorder) PokePool ¶
func (mr *MockWeightedPoolExtensionMockRecorder) PokePool(blockTime interface{}) *gomock.Call
PokePool indicates an expected call of PokePool.
func (*MockWeightedPoolExtensionMockRecorder) ProtoMessage ¶
func (mr *MockWeightedPoolExtensionMockRecorder) ProtoMessage() *gomock.Call
ProtoMessage indicates an expected call of ProtoMessage.
func (*MockWeightedPoolExtensionMockRecorder) Reset ¶
func (mr *MockWeightedPoolExtensionMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockWeightedPoolExtensionMockRecorder) SpotPrice ¶
func (mr *MockWeightedPoolExtensionMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
SpotPrice indicates an expected call of SpotPrice.
func (*MockWeightedPoolExtensionMockRecorder) String ¶
func (mr *MockWeightedPoolExtensionMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockWeightedPoolExtensionMockRecorder) SwapInAmtGivenOut ¶
func (mr *MockWeightedPoolExtensionMockRecorder) SwapInAmtGivenOut(ctx, tokenOut, tokenInDenom, swapFee interface{}) *gomock.Call
SwapInAmtGivenOut indicates an expected call of SwapInAmtGivenOut.
func (*MockWeightedPoolExtensionMockRecorder) SwapOutAmtGivenIn ¶
func (mr *MockWeightedPoolExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, swapFee interface{}) *gomock.Call
SwapOutAmtGivenIn indicates an expected call of SwapOutAmtGivenIn.