Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAccountI
- func (m *MockAccountI) EXPECT() *MockAccountIMockRecorder
- func (m *MockAccountI) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
- func (m *MockAccountI) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI
- func (m *MockAccountI) NewAccount(arg0 context.Context, arg1 types.AccountI) types.AccountI
- func (m *MockAccountI) SetAccount(ctx context.Context, acc types.AccountI)
- type MockAccountIMockRecorder
- func (mr *MockAccountIMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountIMockRecorder) GetModuleAccount(ctx, moduleName interface{}) *gomock.Call
- func (mr *MockAccountIMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountIMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call
- type MockBankI
- func (m *MockBankI) EXPECT() *MockBankIMockRecorder
- func (m *MockBankI) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
- func (m *MockBankI) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
- func (m *MockBankI) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *MockBankI) SetDenomMetaData(ctx context.Context, denomMetaData types0.Metadata)
- type MockBankIMockRecorder
- func (mr *MockBankIMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankIMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
- func (mr *MockBankIMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankIMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
- type MockCFMMPoolI
- func (m *MockCFMMPoolI) AsSerializablePool() types0.PoolI
- func (m *MockCFMMPoolI) CalcExitPoolCoinsFromShares(ctx types.Context, numShares osmomath.Int, exitFee osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
- func (m *MockCFMMPoolI) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.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 osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
- func (m *MockCFMMPoolI) GetAddress() types.AccAddress
- func (m *MockCFMMPoolI) GetExitFee(ctx types.Context) osmomath.Dec
- func (m *MockCFMMPoolI) GetId() uint64
- func (m *MockCFMMPoolI) GetPoolDenoms(arg0 types.Context) []string
- func (m *MockCFMMPoolI) GetSpreadFactor(ctx types.Context) osmomath.Dec
- func (m *MockCFMMPoolI) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockCFMMPoolI) GetTotalShares() osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, error)
- func (m *MockCFMMPoolI) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, error)
- func (m *MockCFMMPoolI) ProtoMessage()
- func (m *MockCFMMPoolI) Reset()
- func (m *MockCFMMPoolI) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, 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) AsSerializablePool() *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, spreadFactor interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor 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) GetPoolDenoms(arg0 interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) GetSpreadFactor(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, spreadFactor interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) JoinPoolNoSwap(ctx, tokensIn, spreadFactor 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, spreadFactor interface{}) *gomock.Call
- func (mr *MockCFMMPoolIMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
- type MockCommunityPoolI
- type MockCommunityPoolIMockRecorder
- type MockConcentratedPoolExtension
- func (m *MockConcentratedPoolExtension) ApplySwap(newLiquidity osmomath.Dec, newCurrentTick int64, ...) error
- func (m *MockConcentratedPoolExtension) AsSerializablePool() types0.PoolI
- func (m *MockConcentratedPoolExtension) CalcActualAmounts(ctx types.Context, lowerTick, upperTick int64, liquidityDelta osmomath.Dec) (osmomath.Dec, osmomath.Dec, error)
- func (m *MockConcentratedPoolExtension) EXPECT() *MockConcentratedPoolExtensionMockRecorder
- func (m *MockConcentratedPoolExtension) GetAddress() types.AccAddress
- func (m *MockConcentratedPoolExtension) GetCurrentSqrtPrice() osmomath.BigDec
- func (m *MockConcentratedPoolExtension) GetCurrentTick() int64
- func (m *MockConcentratedPoolExtension) GetExponentAtPriceOne() int64
- func (m *MockConcentratedPoolExtension) GetId() uint64
- func (m *MockConcentratedPoolExtension) GetIncentivesAddress() types.AccAddress
- func (m *MockConcentratedPoolExtension) GetLastLiquidityUpdate() time.Time
- func (m *MockConcentratedPoolExtension) GetLiquidity() osmomath.Dec
- func (m *MockConcentratedPoolExtension) GetPoolDenoms(arg0 types.Context) []string
- func (m *MockConcentratedPoolExtension) GetSpreadFactor(ctx types.Context) osmomath.Dec
- func (m *MockConcentratedPoolExtension) GetSpreadRewardsAddress() types.AccAddress
- func (m *MockConcentratedPoolExtension) GetTickSpacing() uint64
- func (m *MockConcentratedPoolExtension) GetToken0() string
- func (m *MockConcentratedPoolExtension) GetToken1() string
- func (m *MockConcentratedPoolExtension) GetType() types0.PoolType
- func (m *MockConcentratedPoolExtension) IsActive(ctx types.Context) bool
- func (m *MockConcentratedPoolExtension) IsCurrentTickInRange(lowerTick, upperTick int64) bool
- func (m *MockConcentratedPoolExtension) ProtoMessage()
- func (m *MockConcentratedPoolExtension) Reset()
- func (m *MockConcentratedPoolExtension) SetCurrentSqrtPrice(newSqrtPrice osmomath.BigDec)
- func (m *MockConcentratedPoolExtension) SetCurrentTick(newTick int64)
- func (m *MockConcentratedPoolExtension) SetLastLiquidityUpdate(newTime time.Time)
- func (m *MockConcentratedPoolExtension) SetTickSpacing(newTickSpacing uint64)
- func (m *MockConcentratedPoolExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, error)
- func (m *MockConcentratedPoolExtension) String() string
- func (m *MockConcentratedPoolExtension) UpdateLiquidity(newLiquidity osmomath.Dec)
- func (m *MockConcentratedPoolExtension) UpdateLiquidityIfActivePosition(ctx types.Context, lowerTick, upperTick int64, liquidityDelta osmomath.Dec) bool
- type MockConcentratedPoolExtensionMockRecorder
- func (mr *MockConcentratedPoolExtensionMockRecorder) ApplySwap(newLiquidity, newCurrentTick, newCurrentSqrtPrice interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) AsSerializablePool() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) CalcActualAmounts(ctx, lowerTick, upperTick, liquidityDelta interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetAddress() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetCurrentSqrtPrice() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetCurrentTick() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetExponentAtPriceOne() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetId() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetIncentivesAddress() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetLastLiquidityUpdate() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetLiquidity() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetSpreadRewardsAddress() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetTickSpacing() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetToken0() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetToken1() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) GetType() *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) IsActive(ctx interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) IsCurrentTickInRange(lowerTick, upperTick 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) SetLastLiquidityUpdate(newTime interface{}) *gomock.Call
- func (mr *MockConcentratedPoolExtensionMockRecorder) SetTickSpacing(newTickSpacing 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 MockMultihopRoute
- type MockMultihopRouteMockRecorder
- type MockPoolAmountOutExtension
- func (m *MockPoolAmountOutExtension) AsSerializablePool() types0.PoolI
- func (m *MockPoolAmountOutExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares osmomath.Int, exitFee osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
- func (m *MockPoolAmountOutExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.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 osmomath.Int, ...) (osmomath.Int, error)
- func (m *MockPoolAmountOutExtension) EXPECT() *MockPoolAmountOutExtensionMockRecorder
- func (m *MockPoolAmountOutExtension) ExitPool(ctx types.Context, numShares osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
- func (m *MockPoolAmountOutExtension) ExitSwapExactAmountOut(ctx types.Context, tokenOut types.Coin, shareInMaxAmount osmomath.Int) (osmomath.Int, error)
- func (m *MockPoolAmountOutExtension) GetAddress() types.AccAddress
- func (m *MockPoolAmountOutExtension) GetExitFee(ctx types.Context) osmomath.Dec
- func (m *MockPoolAmountOutExtension) GetId() uint64
- func (m *MockPoolAmountOutExtension) GetPoolDenoms(arg0 types.Context) []string
- func (m *MockPoolAmountOutExtension) GetSpreadFactor(ctx types.Context) osmomath.Dec
- func (m *MockPoolAmountOutExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockPoolAmountOutExtension) GetTotalShares() osmomath.Int
- func (m *MockPoolAmountOutExtension) GetType() types0.PoolType
- func (m *MockPoolAmountOutExtension) IncreaseLiquidity(sharesOut osmomath.Int, coinsIn types.Coins)
- func (m *MockPoolAmountOutExtension) IsActive(ctx types.Context) bool
- func (m *MockPoolAmountOutExtension) JoinPool(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, error)
- func (m *MockPoolAmountOutExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, error)
- func (m *MockPoolAmountOutExtension) JoinPoolTokenInMaxShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount osmomath.Int) (osmomath.Int, error)
- func (m *MockPoolAmountOutExtension) ProtoMessage()
- func (m *MockPoolAmountOutExtension) Reset()
- func (m *MockPoolAmountOutExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, 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) AsSerializablePool() *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) CalcTokenInShareAmountOut(ctx, tokenInDenom, shareOutAmount, spreadFactor 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) GetPoolDenoms(arg0 interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) GetSpreadFactor(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, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, spreadFactor 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, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolAmountOutExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
- type MockPoolI
- func (m *MockPoolI) AsSerializablePool() types0.PoolI
- func (m *MockPoolI) EXPECT() *MockPoolIMockRecorder
- func (m *MockPoolI) GetAddress() types.AccAddress
- func (m *MockPoolI) GetId() uint64
- func (m *MockPoolI) GetPoolDenoms(arg0 types.Context) []string
- func (m *MockPoolI) GetSpreadFactor(ctx types.Context) osmomath.Dec
- func (m *MockPoolI) GetType() types0.PoolType
- func (m *MockPoolI) IsActive(ctx types.Context) bool
- func (m *MockPoolI) ProtoMessage()
- func (m *MockPoolI) Reset()
- func (m *MockPoolI) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, error)
- func (m *MockPoolI) String() string
- type MockPoolIMockRecorder
- func (mr *MockPoolIMockRecorder) AsSerializablePool() *gomock.Call
- func (mr *MockPoolIMockRecorder) GetAddress() *gomock.Call
- func (mr *MockPoolIMockRecorder) GetId() *gomock.Call
- func (mr *MockPoolIMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
- func (mr *MockPoolIMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
- func (mr *MockPoolIMockRecorder) GetType() *gomock.Call
- func (mr *MockPoolIMockRecorder) IsActive(ctx interface{}) *gomock.Call
- func (mr *MockPoolIMockRecorder) ProtoMessage() *gomock.Call
- func (mr *MockPoolIMockRecorder) Reset() *gomock.Call
- func (mr *MockPoolIMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
- func (mr *MockPoolIMockRecorder) String() *gomock.Call
- type MockPoolIncentivesKeeperI
- type MockPoolIncentivesKeeperIMockRecorder
- type MockPoolModuleI
- func (m *MockPoolModuleI) CalcInAmtGivenOut(ctx types.Context, poolI types1.PoolI, tokenOut types.Coin, ...) (types.Coin, error)
- func (m *MockPoolModuleI) CalcOutAmtGivenIn(ctx types.Context, poolI types1.PoolI, tokenIn types.Coin, ...) (types.Coin, error)
- func (m *MockPoolModuleI) CalculateSpotPrice(ctx types.Context, poolId uint64, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, error)
- func (m *MockPoolModuleI) EXPECT() *MockPoolModuleIMockRecorder
- func (m *MockPoolModuleI) GetPool(ctx types.Context, poolId uint64) (types1.PoolI, error)
- func (m *MockPoolModuleI) GetPoolDenoms(ctx types.Context, poolId uint64) ([]string, error)
- func (m *MockPoolModuleI) GetPools(ctx types.Context) ([]types1.PoolI, error)
- func (m *MockPoolModuleI) GetTotalLiquidity(ctx types.Context) (types.Coins, error)
- func (m *MockPoolModuleI) GetTotalPoolLiquidity(ctx types.Context, poolId uint64) (types.Coins, error)
- func (m *MockPoolModuleI) InitializePool(ctx types.Context, pool types1.PoolI, creatorAddress types.AccAddress) error
- func (m *MockPoolModuleI) SwapExactAmountIn(ctx types.Context, sender types.AccAddress, pool types1.PoolI, ...) (osmomath.Int, error)
- func (m *MockPoolModuleI) SwapExactAmountOut(ctx types.Context, sender types.AccAddress, pool types1.PoolI, ...) (osmomath.Int, error)
- type MockPoolModuleIMockRecorder
- func (mr *MockPoolModuleIMockRecorder) CalcInAmtGivenOut(ctx, poolI, tokenOut, tokenInDenom, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) CalcOutAmtGivenIn(ctx, poolI, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) CalculateSpotPrice(ctx, poolId, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) GetPool(ctx, poolId interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) GetPoolDenoms(ctx, poolId interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) GetPools(ctx interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) GetTotalLiquidity(ctx interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) GetTotalPoolLiquidity(ctx, poolId interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) InitializePool(ctx, pool, creatorAddress interface{}) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) SwapExactAmountIn(...) *gomock.Call
- func (mr *MockPoolModuleIMockRecorder) SwapExactAmountOut(...) *gomock.Call
- type MockProtorevKeeper
- type MockProtorevKeeperMockRecorder
- type MockQueryServer
- func (m *MockQueryServer) Account(arg0 context.Context, arg1 *types.QueryAccountRequest) (*types.QueryAccountResponse, error)
- func (m *MockQueryServer) AccountAddressByID(arg0 context.Context, arg1 *types.QueryAccountAddressByIDRequest) (*types.QueryAccountAddressByIDResponse, error)
- func (m *MockQueryServer) AccountInfo(arg0 context.Context, arg1 *types.QueryAccountInfoRequest) (*types.QueryAccountInfoResponse, error)
- func (m *MockQueryServer) Accounts(arg0 context.Context, arg1 *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error)
- func (m *MockQueryServer) AddressBytesToString(arg0 context.Context, arg1 *types.AddressBytesToStringRequest) (*types.AddressBytesToStringResponse, error)
- func (m *MockQueryServer) AddressStringToBytes(arg0 context.Context, arg1 *types.AddressStringToBytesRequest) (*types.AddressStringToBytesResponse, error)
- func (m *MockQueryServer) Bech32Prefix(arg0 context.Context, arg1 *types.Bech32PrefixRequest) (*types.Bech32PrefixResponse, error)
- func (m *MockQueryServer) EXPECT() *MockQueryServerMockRecorder
- func (m *MockQueryServer) ModuleAccountByName(arg0 context.Context, arg1 *types.QueryModuleAccountByNameRequest) (*types.QueryModuleAccountByNameResponse, error)
- func (m *MockQueryServer) ModuleAccounts(arg0 context.Context, arg1 *types.QueryModuleAccountsRequest) (*types.QueryModuleAccountsResponse, error)
- func (m *MockQueryServer) Params(arg0 context.Context, arg1 *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- type MockQueryServerMockRecorder
- func (mr *MockQueryServerMockRecorder) Account(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) AccountAddressByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) AccountInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) Accounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) AddressBytesToString(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) AddressStringToBytes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) Bech32Prefix(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) ModuleAccountByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) ModuleAccounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryServerMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call
- type MockServiceServer
- func (m *MockServiceServer) BroadcastTx(arg0 context.Context, arg1 *tx.BroadcastTxRequest) (*tx.BroadcastTxResponse, error)
- func (m *MockServiceServer) EXPECT() *MockServiceServerMockRecorder
- func (m *MockServiceServer) GetBlockWithTxs(arg0 context.Context, arg1 *tx.GetBlockWithTxsRequest) (*tx.GetBlockWithTxsResponse, error)
- func (m *MockServiceServer) GetTx(arg0 context.Context, arg1 *tx.GetTxRequest) (*tx.GetTxResponse, error)
- func (m *MockServiceServer) GetTxsEvent(arg0 context.Context, arg1 *tx.GetTxsEventRequest) (*tx.GetTxsEventResponse, error)
- func (m *MockServiceServer) Simulate(arg0 context.Context, arg1 *tx.SimulateRequest) (*tx.SimulateResponse, error)
- func (m *MockServiceServer) TxDecode(arg0 context.Context, arg1 *tx.TxDecodeRequest) (*tx.TxDecodeResponse, error)
- func (m *MockServiceServer) TxDecodeAmino(arg0 context.Context, arg1 *tx.TxDecodeAminoRequest) (*tx.TxDecodeAminoResponse, error)
- func (m *MockServiceServer) TxEncode(arg0 context.Context, arg1 *tx.TxEncodeRequest) (*tx.TxEncodeResponse, error)
- func (m *MockServiceServer) TxEncodeAmino(arg0 context.Context, arg1 *tx.TxEncodeAminoRequest) (*tx.TxEncodeAminoResponse, error)
- type MockServiceServerMockRecorder
- func (mr *MockServiceServerMockRecorder) BroadcastTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) GetBlockWithTxs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) GetTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) GetTxsEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) Simulate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) TxDecode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) TxDecodeAmino(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) TxEncode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceServerMockRecorder) TxEncodeAmino(arg0, arg1 interface{}) *gomock.Call
- type MockStakingKeeper
- type MockStakingKeeperMockRecorder
- type MockWeightedPoolExtension
- func (m *MockWeightedPoolExtension) AsSerializablePool() types0.PoolI
- func (m *MockWeightedPoolExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares osmomath.Int, exitFee osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
- func (m *MockWeightedPoolExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.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 osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
- func (m *MockWeightedPoolExtension) GetAddress() types.AccAddress
- func (m *MockWeightedPoolExtension) GetExitFee(ctx types.Context) osmomath.Dec
- func (m *MockWeightedPoolExtension) GetId() uint64
- func (m *MockWeightedPoolExtension) GetPoolDenoms(arg0 types.Context) []string
- func (m *MockWeightedPoolExtension) GetSpreadFactor(ctx types.Context) osmomath.Dec
- func (m *MockWeightedPoolExtension) GetTokenWeight(denom string) (osmomath.Int, error)
- func (m *MockWeightedPoolExtension) GetTotalPoolLiquidity(ctx types.Context) types.Coins
- func (m *MockWeightedPoolExtension) GetTotalShares() osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, error)
- func (m *MockWeightedPoolExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.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) (osmomath.BigDec, 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) AsSerializablePool() *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcExitPoolCoinsFromShares(ctx, numShares, exitFee interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcInAmtGivenOut(ctx, tokenOut, tokenInDenom, spreadFactor interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor 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) GetPoolDenoms(arg0 interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) GetSpreadFactor(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, spreadFactor interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, spreadFactor 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, spreadFactor interface{}) *gomock.Call
- func (mr *MockWeightedPoolExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountI ¶
type MockAccountI struct {
// contains filtered or unexported fields
}
MockAccountI is a mock of AccountI interface.
func NewMockAccountI ¶
func NewMockAccountI(ctrl *gomock.Controller) *MockAccountI
NewMockAccountI creates a new mock instance.
func (*MockAccountI) EXPECT ¶
func (m *MockAccountI) EXPECT() *MockAccountIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountI) GetAccount ¶
func (m *MockAccountI) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
GetAccount mocks base method.
func (*MockAccountI) GetModuleAccount ¶
func (m *MockAccountI) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountI) NewAccount ¶
NewAccount mocks base method.
func (*MockAccountI) SetAccount ¶
func (m *MockAccountI) SetAccount(ctx context.Context, acc types.AccountI)
SetAccount mocks base method.
type MockAccountIMockRecorder ¶
type MockAccountIMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountIMockRecorder is the mock recorder for MockAccountI.
func (*MockAccountIMockRecorder) GetAccount ¶
func (mr *MockAccountIMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountIMockRecorder) GetModuleAccount ¶
func (mr *MockAccountIMockRecorder) GetModuleAccount(ctx, moduleName interface{}) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountIMockRecorder) NewAccount ¶
func (mr *MockAccountIMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAccountIMockRecorder) SetAccount ¶
func (mr *MockAccountIMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call
SetAccount indicates an expected call of SetAccount.
type MockBankI ¶
type MockBankI struct {
// contains filtered or unexported fields
}
MockBankI is a mock of BankI interface.
func NewMockBankI ¶
func NewMockBankI(ctrl *gomock.Controller) *MockBankI
NewMockBankI creates a new mock instance.
func (*MockBankI) EXPECT ¶
func (m *MockBankI) EXPECT() *MockBankIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankI) GetAllBalances ¶
GetAllBalances mocks base method.
func (*MockBankI) SendCoins ¶
func (m *MockBankI) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
SendCoins mocks base method.
type MockBankIMockRecorder ¶
type MockBankIMockRecorder struct {
// contains filtered or unexported fields
}
MockBankIMockRecorder is the mock recorder for MockBankI.
func (*MockBankIMockRecorder) GetAllBalances ¶
func (mr *MockBankIMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankIMockRecorder) SendCoins ¶
func (mr *MockBankIMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
SendCoins indicates an expected call of SendCoins.
func (*MockBankIMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankIMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankIMockRecorder) SetDenomMetaData ¶
func (mr *MockBankIMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
SetDenomMetaData indicates an expected call of SetDenomMetaData.
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) AsSerializablePool ¶
func (m *MockCFMMPoolI) AsSerializablePool() types0.PoolI
AsSerializablePool mocks base method.
func (*MockCFMMPoolI) CalcExitPoolCoinsFromShares ¶
func (m *MockCFMMPoolI) CalcExitPoolCoinsFromShares(ctx types.Context, numShares osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
CalcExitPoolCoinsFromShares mocks base method.
func (*MockCFMMPoolI) CalcInAmtGivenOut ¶
func (m *MockCFMMPoolI) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, spreadFactor osmomath.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockCFMMPoolI) CalcJoinPoolNoSwapShares ¶
func (m *MockCFMMPoolI) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
CalcJoinPoolNoSwapShares mocks base method.
func (*MockCFMMPoolI) CalcJoinPoolShares ¶
func (m *MockCFMMPoolI) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
CalcJoinPoolShares mocks base method.
func (*MockCFMMPoolI) CalcOutAmtGivenIn ¶
func (m *MockCFMMPoolI) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, spreadFactor osmomath.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 osmomath.Int, exitFee osmomath.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) osmomath.Dec
GetExitFee mocks base method.
func (*MockCFMMPoolI) GetPoolDenoms ¶
func (m *MockCFMMPoolI) GetPoolDenoms(arg0 types.Context) []string
GetPoolDenoms mocks base method.
func (*MockCFMMPoolI) GetSpreadFactor ¶
func (m *MockCFMMPoolI) GetSpreadFactor(ctx types.Context) osmomath.Dec
GetSpreadFactor 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() osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, error)
JoinPool mocks base method.
func (*MockCFMMPoolI) JoinPoolNoSwap ¶
func (m *MockCFMMPoolI) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.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) (osmomath.BigDec, error)
SpotPrice mocks base method.
type MockCFMMPoolIMockRecorder ¶
type MockCFMMPoolIMockRecorder struct {
// contains filtered or unexported fields
}
MockCFMMPoolIMockRecorder is the mock recorder for MockCFMMPoolI.
func (*MockCFMMPoolIMockRecorder) AsSerializablePool ¶
func (mr *MockCFMMPoolIMockRecorder) AsSerializablePool() *gomock.Call
AsSerializablePool indicates an expected call of AsSerializablePool.
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, spreadFactor interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockCFMMPoolIMockRecorder) CalcJoinPoolNoSwapShares ¶
func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
CalcJoinPoolNoSwapShares indicates an expected call of CalcJoinPoolNoSwapShares.
func (*MockCFMMPoolIMockRecorder) CalcJoinPoolShares ¶
func (mr *MockCFMMPoolIMockRecorder) CalcJoinPoolShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
CalcJoinPoolShares indicates an expected call of CalcJoinPoolShares.
func (*MockCFMMPoolIMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockCFMMPoolIMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor 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) GetPoolDenoms ¶
func (mr *MockCFMMPoolIMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
GetPoolDenoms indicates an expected call of GetPoolDenoms.
func (*MockCFMMPoolIMockRecorder) GetSpreadFactor ¶
func (mr *MockCFMMPoolIMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
GetSpreadFactor indicates an expected call of GetSpreadFactor.
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, spreadFactor interface{}) *gomock.Call
JoinPool indicates an expected call of JoinPool.
func (*MockCFMMPoolIMockRecorder) JoinPoolNoSwap ¶
func (mr *MockCFMMPoolIMockRecorder) JoinPoolNoSwap(ctx, tokensIn, spreadFactor 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, spreadFactor interface{}) *gomock.Call
SwapInAmtGivenOut indicates an expected call of SwapInAmtGivenOut.
func (*MockCFMMPoolIMockRecorder) SwapOutAmtGivenIn ¶
func (mr *MockCFMMPoolIMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
SwapOutAmtGivenIn indicates an expected call of SwapOutAmtGivenIn.
type MockCommunityPoolI ¶
type MockCommunityPoolI struct {
// contains filtered or unexported fields
}
MockCommunityPoolI is a mock of CommunityPoolI interface.
func NewMockCommunityPoolI ¶
func NewMockCommunityPoolI(ctrl *gomock.Controller) *MockCommunityPoolI
NewMockCommunityPoolI creates a new mock instance.
func (*MockCommunityPoolI) EXPECT ¶
func (m *MockCommunityPoolI) EXPECT() *MockCommunityPoolIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommunityPoolI) FundCommunityPool ¶
func (m *MockCommunityPoolI) FundCommunityPool(ctx context.Context, amount types.Coins, sender types.AccAddress) error
FundCommunityPool mocks base method.
type MockCommunityPoolIMockRecorder ¶
type MockCommunityPoolIMockRecorder struct {
// contains filtered or unexported fields
}
MockCommunityPoolIMockRecorder is the mock recorder for MockCommunityPoolI.
func (*MockCommunityPoolIMockRecorder) FundCommunityPool ¶
func (mr *MockCommunityPoolIMockRecorder) FundCommunityPool(ctx, amount, sender interface{}) *gomock.Call
FundCommunityPool indicates an expected call of FundCommunityPool.
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 osmomath.Dec, newCurrentTick int64, newCurrentSqrtPrice osmomath.BigDec) error
ApplySwap mocks base method.
func (*MockConcentratedPoolExtension) AsSerializablePool ¶
func (m *MockConcentratedPoolExtension) AsSerializablePool() types0.PoolI
AsSerializablePool mocks base method.
func (*MockConcentratedPoolExtension) CalcActualAmounts ¶
func (m *MockConcentratedPoolExtension) CalcActualAmounts(ctx types.Context, lowerTick, upperTick int64, liquidityDelta osmomath.Dec) (osmomath.Dec, osmomath.Dec, error)
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() osmomath.BigDec
GetCurrentSqrtPrice mocks base method.
func (*MockConcentratedPoolExtension) GetCurrentTick ¶
func (m *MockConcentratedPoolExtension) GetCurrentTick() int64
GetCurrentTick mocks base method.
func (*MockConcentratedPoolExtension) GetExponentAtPriceOne ¶
func (m *MockConcentratedPoolExtension) GetExponentAtPriceOne() int64
GetExponentAtPriceOne mocks base method.
func (*MockConcentratedPoolExtension) GetId ¶
func (m *MockConcentratedPoolExtension) GetId() uint64
GetId mocks base method.
func (*MockConcentratedPoolExtension) GetIncentivesAddress ¶
func (m *MockConcentratedPoolExtension) GetIncentivesAddress() types.AccAddress
GetIncentivesAddress mocks base method.
func (*MockConcentratedPoolExtension) GetLastLiquidityUpdate ¶
func (m *MockConcentratedPoolExtension) GetLastLiquidityUpdate() time.Time
GetLastLiquidityUpdate mocks base method.
func (*MockConcentratedPoolExtension) GetLiquidity ¶
func (m *MockConcentratedPoolExtension) GetLiquidity() osmomath.Dec
GetLiquidity mocks base method.
func (*MockConcentratedPoolExtension) GetPoolDenoms ¶
func (m *MockConcentratedPoolExtension) GetPoolDenoms(arg0 types.Context) []string
GetPoolDenoms mocks base method.
func (*MockConcentratedPoolExtension) GetSpreadFactor ¶
func (m *MockConcentratedPoolExtension) GetSpreadFactor(ctx types.Context) osmomath.Dec
GetSpreadFactor mocks base method.
func (*MockConcentratedPoolExtension) GetSpreadRewardsAddress ¶
func (m *MockConcentratedPoolExtension) GetSpreadRewardsAddress() types.AccAddress
GetSpreadRewardsAddress 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) 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) IsCurrentTickInRange ¶
func (m *MockConcentratedPoolExtension) IsCurrentTickInRange(lowerTick, upperTick int64) bool
IsCurrentTickInRange 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 osmomath.BigDec)
SetCurrentSqrtPrice mocks base method.
func (*MockConcentratedPoolExtension) SetCurrentTick ¶
func (m *MockConcentratedPoolExtension) SetCurrentTick(newTick int64)
SetCurrentTick mocks base method.
func (*MockConcentratedPoolExtension) SetLastLiquidityUpdate ¶
func (m *MockConcentratedPoolExtension) SetLastLiquidityUpdate(newTime time.Time)
SetLastLiquidityUpdate mocks base method.
func (*MockConcentratedPoolExtension) SetTickSpacing ¶
func (m *MockConcentratedPoolExtension) SetTickSpacing(newTickSpacing uint64)
SetTickSpacing mocks base method.
func (*MockConcentratedPoolExtension) SpotPrice ¶
func (m *MockConcentratedPoolExtension) SpotPrice(ctx types.Context, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, 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 osmomath.Dec)
UpdateLiquidity mocks base method.
func (*MockConcentratedPoolExtension) UpdateLiquidityIfActivePosition ¶
func (m *MockConcentratedPoolExtension) UpdateLiquidityIfActivePosition(ctx types.Context, lowerTick, upperTick int64, liquidityDelta osmomath.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) AsSerializablePool ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) AsSerializablePool() *gomock.Call
AsSerializablePool indicates an expected call of AsSerializablePool.
func (*MockConcentratedPoolExtensionMockRecorder) CalcActualAmounts ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) CalcActualAmounts(ctx, lowerTick, upperTick, 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) GetExponentAtPriceOne ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetExponentAtPriceOne() *gomock.Call
GetExponentAtPriceOne indicates an expected call of GetExponentAtPriceOne.
func (*MockConcentratedPoolExtensionMockRecorder) GetId ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockConcentratedPoolExtensionMockRecorder) GetIncentivesAddress ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetIncentivesAddress() *gomock.Call
GetIncentivesAddress indicates an expected call of GetIncentivesAddress.
func (*MockConcentratedPoolExtensionMockRecorder) GetLastLiquidityUpdate ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetLastLiquidityUpdate() *gomock.Call
GetLastLiquidityUpdate indicates an expected call of GetLastLiquidityUpdate.
func (*MockConcentratedPoolExtensionMockRecorder) GetLiquidity ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetLiquidity() *gomock.Call
GetLiquidity indicates an expected call of GetLiquidity.
func (*MockConcentratedPoolExtensionMockRecorder) GetPoolDenoms ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
GetPoolDenoms indicates an expected call of GetPoolDenoms.
func (*MockConcentratedPoolExtensionMockRecorder) GetSpreadFactor ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
GetSpreadFactor indicates an expected call of GetSpreadFactor.
func (*MockConcentratedPoolExtensionMockRecorder) GetSpreadRewardsAddress ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) GetSpreadRewardsAddress() *gomock.Call
GetSpreadRewardsAddress indicates an expected call of GetSpreadRewardsAddress.
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) 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) IsCurrentTickInRange ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) IsCurrentTickInRange(lowerTick, upperTick interface{}) *gomock.Call
IsCurrentTickInRange indicates an expected call of IsCurrentTickInRange.
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) SetLastLiquidityUpdate ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) SetLastLiquidityUpdate(newTime interface{}) *gomock.Call
SetLastLiquidityUpdate indicates an expected call of SetLastLiquidityUpdate.
func (*MockConcentratedPoolExtensionMockRecorder) SetTickSpacing ¶
func (mr *MockConcentratedPoolExtensionMockRecorder) SetTickSpacing(newTickSpacing interface{}) *gomock.Call
SetTickSpacing indicates an expected call of SetTickSpacing.
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 MockMultihopRoute ¶
type MockMultihopRoute struct {
// contains filtered or unexported fields
}
MockMultihopRoute is a mock of MultihopRoute interface.
func NewMockMultihopRoute ¶
func NewMockMultihopRoute(ctrl *gomock.Controller) *MockMultihopRoute
NewMockMultihopRoute creates a new mock instance.
func (*MockMultihopRoute) EXPECT ¶
func (m *MockMultihopRoute) EXPECT() *MockMultihopRouteMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMultihopRoute) IntermediateDenoms ¶
func (m *MockMultihopRoute) IntermediateDenoms() []string
IntermediateDenoms mocks base method.
func (*MockMultihopRoute) Length ¶
func (m *MockMultihopRoute) Length() int
Length mocks base method.
func (*MockMultihopRoute) PoolIds ¶
func (m *MockMultihopRoute) PoolIds() []uint64
PoolIds mocks base method.
type MockMultihopRouteMockRecorder ¶
type MockMultihopRouteMockRecorder struct {
// contains filtered or unexported fields
}
MockMultihopRouteMockRecorder is the mock recorder for MockMultihopRoute.
func (*MockMultihopRouteMockRecorder) IntermediateDenoms ¶
func (mr *MockMultihopRouteMockRecorder) IntermediateDenoms() *gomock.Call
IntermediateDenoms indicates an expected call of IntermediateDenoms.
func (*MockMultihopRouteMockRecorder) Length ¶
func (mr *MockMultihopRouteMockRecorder) Length() *gomock.Call
Length indicates an expected call of Length.
func (*MockMultihopRouteMockRecorder) PoolIds ¶
func (mr *MockMultihopRouteMockRecorder) PoolIds() *gomock.Call
PoolIds indicates an expected call of PoolIds.
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) AsSerializablePool ¶
func (m *MockPoolAmountOutExtension) AsSerializablePool() types0.PoolI
AsSerializablePool mocks base method.
func (*MockPoolAmountOutExtension) CalcExitPoolCoinsFromShares ¶
func (m *MockPoolAmountOutExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
CalcExitPoolCoinsFromShares mocks base method.
func (*MockPoolAmountOutExtension) CalcInAmtGivenOut ¶
func (m *MockPoolAmountOutExtension) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, spreadFactor osmomath.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockPoolAmountOutExtension) CalcJoinPoolNoSwapShares ¶
func (m *MockPoolAmountOutExtension) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
CalcJoinPoolNoSwapShares mocks base method.
func (*MockPoolAmountOutExtension) CalcJoinPoolShares ¶
func (m *MockPoolAmountOutExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
CalcJoinPoolShares mocks base method.
func (*MockPoolAmountOutExtension) CalcOutAmtGivenIn ¶
func (m *MockPoolAmountOutExtension) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, spreadFactor osmomath.Dec) (types.Coin, error)
CalcOutAmtGivenIn mocks base method.
func (*MockPoolAmountOutExtension) CalcTokenInShareAmountOut ¶
func (m *MockPoolAmountOutExtension) CalcTokenInShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount osmomath.Int, spreadFactor osmomath.Dec) (osmomath.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 osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
ExitPool mocks base method.
func (*MockPoolAmountOutExtension) ExitSwapExactAmountOut ¶
func (m *MockPoolAmountOutExtension) ExitSwapExactAmountOut(ctx types.Context, tokenOut types.Coin, shareInMaxAmount osmomath.Int) (osmomath.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) osmomath.Dec
GetExitFee mocks base method.
func (*MockPoolAmountOutExtension) GetId ¶
func (m *MockPoolAmountOutExtension) GetId() uint64
GetId mocks base method.
func (*MockPoolAmountOutExtension) GetPoolDenoms ¶
func (m *MockPoolAmountOutExtension) GetPoolDenoms(arg0 types.Context) []string
GetPoolDenoms mocks base method.
func (*MockPoolAmountOutExtension) GetSpreadFactor ¶
func (m *MockPoolAmountOutExtension) GetSpreadFactor(ctx types.Context) osmomath.Dec
GetSpreadFactor 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() osmomath.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 osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, error)
JoinPool mocks base method.
func (*MockPoolAmountOutExtension) JoinPoolNoSwap ¶
func (m *MockPoolAmountOutExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, error)
JoinPoolNoSwap mocks base method.
func (*MockPoolAmountOutExtension) JoinPoolTokenInMaxShareAmountOut ¶
func (m *MockPoolAmountOutExtension) JoinPoolTokenInMaxShareAmountOut(ctx types.Context, tokenInDenom string, shareOutAmount osmomath.Int) (osmomath.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) (osmomath.BigDec, 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) AsSerializablePool ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) AsSerializablePool() *gomock.Call
AsSerializablePool indicates an expected call of AsSerializablePool.
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, spreadFactor interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolNoSwapShares ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
CalcJoinPoolNoSwapShares indicates an expected call of CalcJoinPoolNoSwapShares.
func (*MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolShares ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
CalcJoinPoolShares indicates an expected call of CalcJoinPoolShares.
func (*MockPoolAmountOutExtensionMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
CalcOutAmtGivenIn indicates an expected call of CalcOutAmtGivenIn.
func (*MockPoolAmountOutExtensionMockRecorder) CalcTokenInShareAmountOut ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) CalcTokenInShareAmountOut(ctx, tokenInDenom, shareOutAmount, spreadFactor 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) GetPoolDenoms ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
GetPoolDenoms indicates an expected call of GetPoolDenoms.
func (*MockPoolAmountOutExtensionMockRecorder) GetSpreadFactor ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
GetSpreadFactor indicates an expected call of GetSpreadFactor.
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, spreadFactor interface{}) *gomock.Call
JoinPool indicates an expected call of JoinPool.
func (*MockPoolAmountOutExtensionMockRecorder) JoinPoolNoSwap ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, spreadFactor 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, spreadFactor interface{}) *gomock.Call
SwapInAmtGivenOut indicates an expected call of SwapInAmtGivenOut.
func (*MockPoolAmountOutExtensionMockRecorder) SwapOutAmtGivenIn ¶
func (mr *MockPoolAmountOutExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
SwapOutAmtGivenIn indicates an expected call of SwapOutAmtGivenIn.
type MockPoolI ¶
type MockPoolI struct {
// contains filtered or unexported fields
}
MockPoolI is a mock of PoolI interface.
func NewMockPoolI ¶
func NewMockPoolI(ctrl *gomock.Controller) *MockPoolI
NewMockPoolI creates a new mock instance.
func (*MockPoolI) AsSerializablePool ¶
AsSerializablePool mocks base method.
func (*MockPoolI) EXPECT ¶
func (m *MockPoolI) EXPECT() *MockPoolIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolI) GetAddress ¶
func (m *MockPoolI) GetAddress() types.AccAddress
GetAddress mocks base method.
func (*MockPoolI) GetPoolDenoms ¶
GetPoolDenoms mocks base method.
func (*MockPoolI) GetSpreadFactor ¶
GetSpreadFactor mocks base method.
type MockPoolIMockRecorder ¶
type MockPoolIMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolIMockRecorder is the mock recorder for MockPoolI.
func (*MockPoolIMockRecorder) AsSerializablePool ¶
func (mr *MockPoolIMockRecorder) AsSerializablePool() *gomock.Call
AsSerializablePool indicates an expected call of AsSerializablePool.
func (*MockPoolIMockRecorder) GetAddress ¶
func (mr *MockPoolIMockRecorder) GetAddress() *gomock.Call
GetAddress indicates an expected call of GetAddress.
func (*MockPoolIMockRecorder) GetId ¶
func (mr *MockPoolIMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockPoolIMockRecorder) GetPoolDenoms ¶
func (mr *MockPoolIMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
GetPoolDenoms indicates an expected call of GetPoolDenoms.
func (*MockPoolIMockRecorder) GetSpreadFactor ¶
func (mr *MockPoolIMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
GetSpreadFactor indicates an expected call of GetSpreadFactor.
func (*MockPoolIMockRecorder) GetType ¶
func (mr *MockPoolIMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockPoolIMockRecorder) IsActive ¶
func (mr *MockPoolIMockRecorder) IsActive(ctx interface{}) *gomock.Call
IsActive indicates an expected call of IsActive.
func (*MockPoolIMockRecorder) ProtoMessage ¶
func (mr *MockPoolIMockRecorder) ProtoMessage() *gomock.Call
ProtoMessage indicates an expected call of ProtoMessage.
func (*MockPoolIMockRecorder) Reset ¶
func (mr *MockPoolIMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockPoolIMockRecorder) SpotPrice ¶
func (mr *MockPoolIMockRecorder) SpotPrice(ctx, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
SpotPrice indicates an expected call of SpotPrice.
func (*MockPoolIMockRecorder) String ¶
func (mr *MockPoolIMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockPoolIncentivesKeeperI ¶
type MockPoolIncentivesKeeperI struct {
// contains filtered or unexported fields
}
MockPoolIncentivesKeeperI is a mock of PoolIncentivesKeeperI interface.
func NewMockPoolIncentivesKeeperI ¶
func NewMockPoolIncentivesKeeperI(ctrl *gomock.Controller) *MockPoolIncentivesKeeperI
NewMockPoolIncentivesKeeperI creates a new mock instance.
func (*MockPoolIncentivesKeeperI) EXPECT ¶
func (m *MockPoolIncentivesKeeperI) EXPECT() *MockPoolIncentivesKeeperIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolIncentivesKeeperI) IsPoolIncentivized ¶
func (m *MockPoolIncentivesKeeperI) IsPoolIncentivized(ctx types.Context, poolId uint64) (bool, error)
IsPoolIncentivized mocks base method.
type MockPoolIncentivesKeeperIMockRecorder ¶
type MockPoolIncentivesKeeperIMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolIncentivesKeeperIMockRecorder is the mock recorder for MockPoolIncentivesKeeperI.
func (*MockPoolIncentivesKeeperIMockRecorder) IsPoolIncentivized ¶
func (mr *MockPoolIncentivesKeeperIMockRecorder) IsPoolIncentivized(ctx, poolId interface{}) *gomock.Call
IsPoolIncentivized indicates an expected call of IsPoolIncentivized.
type MockPoolModuleI ¶
type MockPoolModuleI struct {
// contains filtered or unexported fields
}
MockPoolModuleI is a mock of PoolModuleI interface.
func NewMockPoolModuleI ¶
func NewMockPoolModuleI(ctrl *gomock.Controller) *MockPoolModuleI
NewMockPoolModuleI creates a new mock instance.
func (*MockPoolModuleI) CalcInAmtGivenOut ¶
func (m *MockPoolModuleI) CalcInAmtGivenOut(ctx types.Context, poolI types1.PoolI, tokenOut types.Coin, tokenInDenom string, spreadFactor osmomath.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockPoolModuleI) CalcOutAmtGivenIn ¶
func (m *MockPoolModuleI) CalcOutAmtGivenIn(ctx types.Context, poolI types1.PoolI, tokenIn types.Coin, tokenOutDenom string, spreadFactor osmomath.Dec) (types.Coin, error)
CalcOutAmtGivenIn mocks base method.
func (*MockPoolModuleI) CalculateSpotPrice ¶
func (m *MockPoolModuleI) CalculateSpotPrice(ctx types.Context, poolId uint64, quoteAssetDenom, baseAssetDenom string) (osmomath.BigDec, error)
CalculateSpotPrice mocks base method.
func (*MockPoolModuleI) EXPECT ¶
func (m *MockPoolModuleI) EXPECT() *MockPoolModuleIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolModuleI) GetPoolDenoms ¶
GetPoolDenoms mocks base method.
func (*MockPoolModuleI) GetTotalLiquidity ¶
GetTotalLiquidity mocks base method.
func (*MockPoolModuleI) GetTotalPoolLiquidity ¶
func (m *MockPoolModuleI) GetTotalPoolLiquidity(ctx types.Context, poolId uint64) (types.Coins, error)
GetTotalPoolLiquidity mocks base method.
func (*MockPoolModuleI) InitializePool ¶
func (m *MockPoolModuleI) InitializePool(ctx types.Context, pool types1.PoolI, creatorAddress types.AccAddress) error
InitializePool mocks base method.
func (*MockPoolModuleI) SwapExactAmountIn ¶
func (m *MockPoolModuleI) SwapExactAmountIn(ctx types.Context, sender types.AccAddress, pool types1.PoolI, tokenIn types.Coin, tokenOutDenom string, tokenOutMinAmount osmomath.Int, spreadFactor osmomath.Dec) (osmomath.Int, error)
SwapExactAmountIn mocks base method.
func (*MockPoolModuleI) SwapExactAmountOut ¶
func (m *MockPoolModuleI) SwapExactAmountOut(ctx types.Context, sender types.AccAddress, pool types1.PoolI, tokenInDenom string, tokenInMaxAmount osmomath.Int, tokenOut types.Coin, spreadFactor osmomath.Dec) (osmomath.Int, error)
SwapExactAmountOut mocks base method.
type MockPoolModuleIMockRecorder ¶
type MockPoolModuleIMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolModuleIMockRecorder is the mock recorder for MockPoolModuleI.
func (*MockPoolModuleIMockRecorder) CalcInAmtGivenOut ¶
func (mr *MockPoolModuleIMockRecorder) CalcInAmtGivenOut(ctx, poolI, tokenOut, tokenInDenom, spreadFactor interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockPoolModuleIMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockPoolModuleIMockRecorder) CalcOutAmtGivenIn(ctx, poolI, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
CalcOutAmtGivenIn indicates an expected call of CalcOutAmtGivenIn.
func (*MockPoolModuleIMockRecorder) CalculateSpotPrice ¶
func (mr *MockPoolModuleIMockRecorder) CalculateSpotPrice(ctx, poolId, quoteAssetDenom, baseAssetDenom interface{}) *gomock.Call
CalculateSpotPrice indicates an expected call of CalculateSpotPrice.
func (*MockPoolModuleIMockRecorder) GetPool ¶
func (mr *MockPoolModuleIMockRecorder) GetPool(ctx, poolId interface{}) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*MockPoolModuleIMockRecorder) GetPoolDenoms ¶
func (mr *MockPoolModuleIMockRecorder) GetPoolDenoms(ctx, poolId interface{}) *gomock.Call
GetPoolDenoms indicates an expected call of GetPoolDenoms.
func (*MockPoolModuleIMockRecorder) GetPools ¶
func (mr *MockPoolModuleIMockRecorder) GetPools(ctx interface{}) *gomock.Call
GetPools indicates an expected call of GetPools.
func (*MockPoolModuleIMockRecorder) GetTotalLiquidity ¶
func (mr *MockPoolModuleIMockRecorder) GetTotalLiquidity(ctx interface{}) *gomock.Call
GetTotalLiquidity indicates an expected call of GetTotalLiquidity.
func (*MockPoolModuleIMockRecorder) GetTotalPoolLiquidity ¶
func (mr *MockPoolModuleIMockRecorder) GetTotalPoolLiquidity(ctx, poolId interface{}) *gomock.Call
GetTotalPoolLiquidity indicates an expected call of GetTotalPoolLiquidity.
func (*MockPoolModuleIMockRecorder) InitializePool ¶
func (mr *MockPoolModuleIMockRecorder) InitializePool(ctx, pool, creatorAddress interface{}) *gomock.Call
InitializePool indicates an expected call of InitializePool.
func (*MockPoolModuleIMockRecorder) SwapExactAmountIn ¶
func (mr *MockPoolModuleIMockRecorder) SwapExactAmountIn(ctx, sender, pool, tokenIn, tokenOutDenom, tokenOutMinAmount, spreadFactor interface{}) *gomock.Call
SwapExactAmountIn indicates an expected call of SwapExactAmountIn.
func (*MockPoolModuleIMockRecorder) SwapExactAmountOut ¶
func (mr *MockPoolModuleIMockRecorder) SwapExactAmountOut(ctx, sender, pool, tokenInDenom, tokenInMaxAmount, tokenOut, spreadFactor interface{}) *gomock.Call
SwapExactAmountOut indicates an expected call of SwapExactAmountOut.
type MockProtorevKeeper ¶
type MockProtorevKeeper struct {
// contains filtered or unexported fields
}
MockProtorevKeeper is a mock of ProtorevKeeper interface.
func NewMockProtorevKeeper ¶
func NewMockProtorevKeeper(ctrl *gomock.Controller) *MockProtorevKeeper
NewMockProtorevKeeper creates a new mock instance.
func (*MockProtorevKeeper) EXPECT ¶
func (m *MockProtorevKeeper) EXPECT() *MockProtorevKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProtorevKeeper) GetPoolForDenomPair ¶
func (m *MockProtorevKeeper) GetPoolForDenomPair(ctx types.Context, baseDenom, denomToMatch string) (uint64, error)
GetPoolForDenomPair mocks base method.
type MockProtorevKeeperMockRecorder ¶
type MockProtorevKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockProtorevKeeperMockRecorder is the mock recorder for MockProtorevKeeper.
func (*MockProtorevKeeperMockRecorder) GetPoolForDenomPair ¶
func (mr *MockProtorevKeeperMockRecorder) GetPoolForDenomPair(ctx, baseDenom, denomToMatch interface{}) *gomock.Call
GetPoolForDenomPair indicates an expected call of GetPoolForDenomPair.
type MockQueryServer ¶
type MockQueryServer struct {
// contains filtered or unexported fields
}
MockQueryServer is a mock of QueryServer interface.
func NewMockQueryServer ¶
func NewMockQueryServer(ctrl *gomock.Controller) *MockQueryServer
NewMockQueryServer creates a new mock instance.
func (*MockQueryServer) Account ¶
func (m *MockQueryServer) Account(arg0 context.Context, arg1 *types.QueryAccountRequest) (*types.QueryAccountResponse, error)
Account mocks base method.
func (*MockQueryServer) AccountAddressByID ¶
func (m *MockQueryServer) AccountAddressByID(arg0 context.Context, arg1 *types.QueryAccountAddressByIDRequest) (*types.QueryAccountAddressByIDResponse, error)
AccountAddressByID mocks base method.
func (*MockQueryServer) AccountInfo ¶
func (m *MockQueryServer) AccountInfo(arg0 context.Context, arg1 *types.QueryAccountInfoRequest) (*types.QueryAccountInfoResponse, error)
AccountInfo mocks base method.
func (*MockQueryServer) Accounts ¶
func (m *MockQueryServer) Accounts(arg0 context.Context, arg1 *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error)
Accounts mocks base method.
func (*MockQueryServer) AddressBytesToString ¶
func (m *MockQueryServer) AddressBytesToString(arg0 context.Context, arg1 *types.AddressBytesToStringRequest) (*types.AddressBytesToStringResponse, error)
AddressBytesToString mocks base method.
func (*MockQueryServer) AddressStringToBytes ¶
func (m *MockQueryServer) AddressStringToBytes(arg0 context.Context, arg1 *types.AddressStringToBytesRequest) (*types.AddressStringToBytesResponse, error)
AddressStringToBytes mocks base method.
func (*MockQueryServer) Bech32Prefix ¶
func (m *MockQueryServer) Bech32Prefix(arg0 context.Context, arg1 *types.Bech32PrefixRequest) (*types.Bech32PrefixResponse, error)
Bech32Prefix mocks base method.
func (*MockQueryServer) EXPECT ¶
func (m *MockQueryServer) EXPECT() *MockQueryServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryServer) ModuleAccountByName ¶
func (m *MockQueryServer) ModuleAccountByName(arg0 context.Context, arg1 *types.QueryModuleAccountByNameRequest) (*types.QueryModuleAccountByNameResponse, error)
ModuleAccountByName mocks base method.
func (*MockQueryServer) ModuleAccounts ¶
func (m *MockQueryServer) ModuleAccounts(arg0 context.Context, arg1 *types.QueryModuleAccountsRequest) (*types.QueryModuleAccountsResponse, error)
ModuleAccounts mocks base method.
func (*MockQueryServer) Params ¶
func (m *MockQueryServer) Params(arg0 context.Context, arg1 *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params mocks base method.
type MockQueryServerMockRecorder ¶
type MockQueryServerMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryServerMockRecorder is the mock recorder for MockQueryServer.
func (*MockQueryServerMockRecorder) Account ¶
func (mr *MockQueryServerMockRecorder) Account(arg0, arg1 interface{}) *gomock.Call
Account indicates an expected call of Account.
func (*MockQueryServerMockRecorder) AccountAddressByID ¶
func (mr *MockQueryServerMockRecorder) AccountAddressByID(arg0, arg1 interface{}) *gomock.Call
AccountAddressByID indicates an expected call of AccountAddressByID.
func (*MockQueryServerMockRecorder) AccountInfo ¶
func (mr *MockQueryServerMockRecorder) AccountInfo(arg0, arg1 interface{}) *gomock.Call
AccountInfo indicates an expected call of AccountInfo.
func (*MockQueryServerMockRecorder) Accounts ¶
func (mr *MockQueryServerMockRecorder) Accounts(arg0, arg1 interface{}) *gomock.Call
Accounts indicates an expected call of Accounts.
func (*MockQueryServerMockRecorder) AddressBytesToString ¶
func (mr *MockQueryServerMockRecorder) AddressBytesToString(arg0, arg1 interface{}) *gomock.Call
AddressBytesToString indicates an expected call of AddressBytesToString.
func (*MockQueryServerMockRecorder) AddressStringToBytes ¶
func (mr *MockQueryServerMockRecorder) AddressStringToBytes(arg0, arg1 interface{}) *gomock.Call
AddressStringToBytes indicates an expected call of AddressStringToBytes.
func (*MockQueryServerMockRecorder) Bech32Prefix ¶
func (mr *MockQueryServerMockRecorder) Bech32Prefix(arg0, arg1 interface{}) *gomock.Call
Bech32Prefix indicates an expected call of Bech32Prefix.
func (*MockQueryServerMockRecorder) ModuleAccountByName ¶
func (mr *MockQueryServerMockRecorder) ModuleAccountByName(arg0, arg1 interface{}) *gomock.Call
ModuleAccountByName indicates an expected call of ModuleAccountByName.
func (*MockQueryServerMockRecorder) ModuleAccounts ¶
func (mr *MockQueryServerMockRecorder) ModuleAccounts(arg0, arg1 interface{}) *gomock.Call
ModuleAccounts indicates an expected call of ModuleAccounts.
func (*MockQueryServerMockRecorder) Params ¶
func (mr *MockQueryServerMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call
Params indicates an expected call of Params.
type MockServiceServer ¶
type MockServiceServer struct {
// contains filtered or unexported fields
}
MockServiceServer is a mock of ServiceServer interface.
func NewMockServiceServer ¶
func NewMockServiceServer(ctrl *gomock.Controller) *MockServiceServer
NewMockServiceServer creates a new mock instance.
func (*MockServiceServer) BroadcastTx ¶
func (m *MockServiceServer) BroadcastTx(arg0 context.Context, arg1 *tx.BroadcastTxRequest) (*tx.BroadcastTxResponse, error)
BroadcastTx mocks base method.
func (*MockServiceServer) EXPECT ¶
func (m *MockServiceServer) EXPECT() *MockServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServiceServer) GetBlockWithTxs ¶
func (m *MockServiceServer) GetBlockWithTxs(arg0 context.Context, arg1 *tx.GetBlockWithTxsRequest) (*tx.GetBlockWithTxsResponse, error)
GetBlockWithTxs mocks base method.
func (*MockServiceServer) GetTx ¶
func (m *MockServiceServer) GetTx(arg0 context.Context, arg1 *tx.GetTxRequest) (*tx.GetTxResponse, error)
GetTx mocks base method.
func (*MockServiceServer) GetTxsEvent ¶
func (m *MockServiceServer) GetTxsEvent(arg0 context.Context, arg1 *tx.GetTxsEventRequest) (*tx.GetTxsEventResponse, error)
GetTxsEvent mocks base method.
func (*MockServiceServer) Simulate ¶
func (m *MockServiceServer) Simulate(arg0 context.Context, arg1 *tx.SimulateRequest) (*tx.SimulateResponse, error)
Simulate mocks base method.
func (*MockServiceServer) TxDecode ¶
func (m *MockServiceServer) TxDecode(arg0 context.Context, arg1 *tx.TxDecodeRequest) (*tx.TxDecodeResponse, error)
TxDecode mocks base method.
func (*MockServiceServer) TxDecodeAmino ¶
func (m *MockServiceServer) TxDecodeAmino(arg0 context.Context, arg1 *tx.TxDecodeAminoRequest) (*tx.TxDecodeAminoResponse, error)
TxDecodeAmino mocks base method.
func (*MockServiceServer) TxEncode ¶
func (m *MockServiceServer) TxEncode(arg0 context.Context, arg1 *tx.TxEncodeRequest) (*tx.TxEncodeResponse, error)
TxEncode mocks base method.
func (*MockServiceServer) TxEncodeAmino ¶
func (m *MockServiceServer) TxEncodeAmino(arg0 context.Context, arg1 *tx.TxEncodeAminoRequest) (*tx.TxEncodeAminoResponse, error)
TxEncodeAmino mocks base method.
type MockServiceServerMockRecorder ¶
type MockServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceServerMockRecorder is the mock recorder for MockServiceServer.
func (*MockServiceServerMockRecorder) BroadcastTx ¶
func (mr *MockServiceServerMockRecorder) BroadcastTx(arg0, arg1 interface{}) *gomock.Call
BroadcastTx indicates an expected call of BroadcastTx.
func (*MockServiceServerMockRecorder) GetBlockWithTxs ¶
func (mr *MockServiceServerMockRecorder) GetBlockWithTxs(arg0, arg1 interface{}) *gomock.Call
GetBlockWithTxs indicates an expected call of GetBlockWithTxs.
func (*MockServiceServerMockRecorder) GetTx ¶
func (mr *MockServiceServerMockRecorder) GetTx(arg0, arg1 interface{}) *gomock.Call
GetTx indicates an expected call of GetTx.
func (*MockServiceServerMockRecorder) GetTxsEvent ¶
func (mr *MockServiceServerMockRecorder) GetTxsEvent(arg0, arg1 interface{}) *gomock.Call
GetTxsEvent indicates an expected call of GetTxsEvent.
func (*MockServiceServerMockRecorder) Simulate ¶
func (mr *MockServiceServerMockRecorder) Simulate(arg0, arg1 interface{}) *gomock.Call
Simulate indicates an expected call of Simulate.
func (*MockServiceServerMockRecorder) TxDecode ¶
func (mr *MockServiceServerMockRecorder) TxDecode(arg0, arg1 interface{}) *gomock.Call
TxDecode indicates an expected call of TxDecode.
func (*MockServiceServerMockRecorder) TxDecodeAmino ¶
func (mr *MockServiceServerMockRecorder) TxDecodeAmino(arg0, arg1 interface{}) *gomock.Call
TxDecodeAmino indicates an expected call of TxDecodeAmino.
func (*MockServiceServerMockRecorder) TxEncode ¶
func (mr *MockServiceServerMockRecorder) TxEncode(arg0, arg1 interface{}) *gomock.Call
TxEncode indicates an expected call of TxEncode.
func (*MockServiceServerMockRecorder) TxEncodeAmino ¶
func (mr *MockServiceServerMockRecorder) TxEncodeAmino(arg0, arg1 interface{}) *gomock.Call
TxEncodeAmino indicates an expected call of TxEncodeAmino.
type MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
MockStakingKeeper is a mock of StakingKeeper interface.
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
NewMockStakingKeeper creates a new mock instance.
func (*MockStakingKeeper) BondDenom ¶
func (m *MockStakingKeeper) BondDenom(ctx context.Context) (string, error)
BondDenom mocks base method.
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) BondDenom ¶
func (mr *MockStakingKeeperMockRecorder) BondDenom(ctx interface{}) *gomock.Call
BondDenom indicates an expected call of BondDenom.
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) AsSerializablePool ¶
func (m *MockWeightedPoolExtension) AsSerializablePool() types0.PoolI
AsSerializablePool mocks base method.
func (*MockWeightedPoolExtension) CalcExitPoolCoinsFromShares ¶
func (m *MockWeightedPoolExtension) CalcExitPoolCoinsFromShares(ctx types.Context, numShares osmomath.Int, exitFee osmomath.Dec) (types.Coins, error)
CalcExitPoolCoinsFromShares mocks base method.
func (*MockWeightedPoolExtension) CalcInAmtGivenOut ¶
func (m *MockWeightedPoolExtension) CalcInAmtGivenOut(ctx types.Context, tokenOut types.Coins, tokenInDenom string, spreadFactor osmomath.Dec) (types.Coin, error)
CalcInAmtGivenOut mocks base method.
func (*MockWeightedPoolExtension) CalcJoinPoolNoSwapShares ¶
func (m *MockWeightedPoolExtension) CalcJoinPoolNoSwapShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
CalcJoinPoolNoSwapShares mocks base method.
func (*MockWeightedPoolExtension) CalcJoinPoolShares ¶
func (m *MockWeightedPoolExtension) CalcJoinPoolShares(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.Int, types.Coins, error)
CalcJoinPoolShares mocks base method.
func (*MockWeightedPoolExtension) CalcOutAmtGivenIn ¶
func (m *MockWeightedPoolExtension) CalcOutAmtGivenIn(ctx types.Context, tokenIn types.Coins, tokenOutDenom string, spreadFactor osmomath.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 osmomath.Int, exitFee osmomath.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) osmomath.Dec
GetExitFee mocks base method.
func (*MockWeightedPoolExtension) GetId ¶
func (m *MockWeightedPoolExtension) GetId() uint64
GetId mocks base method.
func (*MockWeightedPoolExtension) GetPoolDenoms ¶
func (m *MockWeightedPoolExtension) GetPoolDenoms(arg0 types.Context) []string
GetPoolDenoms mocks base method.
func (*MockWeightedPoolExtension) GetSpreadFactor ¶
func (m *MockWeightedPoolExtension) GetSpreadFactor(ctx types.Context) osmomath.Dec
GetSpreadFactor mocks base method.
func (*MockWeightedPoolExtension) GetTokenWeight ¶
func (m *MockWeightedPoolExtension) GetTokenWeight(denom string) (osmomath.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() osmomath.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, spreadFactor osmomath.Dec) (osmomath.Int, error)
JoinPool mocks base method.
func (*MockWeightedPoolExtension) JoinPoolNoSwap ¶
func (m *MockWeightedPoolExtension) JoinPoolNoSwap(ctx types.Context, tokensIn types.Coins, spreadFactor osmomath.Dec) (osmomath.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) (osmomath.BigDec, 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) AsSerializablePool ¶
func (mr *MockWeightedPoolExtensionMockRecorder) AsSerializablePool() *gomock.Call
AsSerializablePool indicates an expected call of AsSerializablePool.
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, spreadFactor interface{}) *gomock.Call
CalcInAmtGivenOut indicates an expected call of CalcInAmtGivenOut.
func (*MockWeightedPoolExtensionMockRecorder) CalcJoinPoolNoSwapShares ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolNoSwapShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
CalcJoinPoolNoSwapShares indicates an expected call of CalcJoinPoolNoSwapShares.
func (*MockWeightedPoolExtensionMockRecorder) CalcJoinPoolShares ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcJoinPoolShares(ctx, tokensIn, spreadFactor interface{}) *gomock.Call
CalcJoinPoolShares indicates an expected call of CalcJoinPoolShares.
func (*MockWeightedPoolExtensionMockRecorder) CalcOutAmtGivenIn ¶
func (mr *MockWeightedPoolExtensionMockRecorder) CalcOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor 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) GetPoolDenoms ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetPoolDenoms(arg0 interface{}) *gomock.Call
GetPoolDenoms indicates an expected call of GetPoolDenoms.
func (*MockWeightedPoolExtensionMockRecorder) GetSpreadFactor ¶
func (mr *MockWeightedPoolExtensionMockRecorder) GetSpreadFactor(ctx interface{}) *gomock.Call
GetSpreadFactor indicates an expected call of GetSpreadFactor.
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, spreadFactor interface{}) *gomock.Call
JoinPool indicates an expected call of JoinPool.
func (*MockWeightedPoolExtensionMockRecorder) JoinPoolNoSwap ¶
func (mr *MockWeightedPoolExtensionMockRecorder) JoinPoolNoSwap(ctx, tokensIn, spreadFactor 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, spreadFactor interface{}) *gomock.Call
SwapInAmtGivenOut indicates an expected call of SwapInAmtGivenOut.
func (*MockWeightedPoolExtensionMockRecorder) SwapOutAmtGivenIn ¶
func (mr *MockWeightedPoolExtensionMockRecorder) SwapOutAmtGivenIn(ctx, tokenIn, tokenOutDenom, spreadFactor interface{}) *gomock.Call
SwapOutAmtGivenIn indicates an expected call of SwapOutAmtGivenIn.