Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankKeeper ¶
BankKeeper is an interface for getting bank balances.
type ConcentratedKeeper ¶
type ConcentratedKeeper interface { PoolKeeper GetTickLiquidityForFullRange(ctx sdk.Context, poolId uint64) ([]queryproto.LiquidityDepthWithRange, int64, error) }
ConcentratedKeeper is an interface for the concentrated keeper.
type CosmWasmPoolKeeper ¶
type CosmWasmPoolKeeper interface {
GetPoolsWithWasmKeeper(ctx sdk.Context) ([]poolmanagertypes.PoolI, error)
}
CosmWasmPoolKeeper is an interface for getting CosmWasm pools from a keeper.
type PoolKeeper ¶
type PoolKeeper interface {
GetPools(ctx sdk.Context) ([]poolmanagertypes.PoolI, error)
}
PoolKeeper is an interface for getting pools from a keeper.
type PoolManagerKeeper ¶
type PoolManagerKeeper interface { RouteCalculateSpotPrice( ctx sdk.Context, poolId uint64, quoteAssetDenom string, baseAssetDenom string, ) (price osmomath.BigDec, err error) SwapExactAmountIn( ctx sdk.Context, sender sdk.AccAddress, poolId uint64, tokenIn sdk.Coin, tokenOutDenom string, tokenOutMinAmount osmomath.Int, ) (tokenOutAmount osmomath.Int, err error) RouteGetPoolDenoms( ctx sdk.Context, poolId uint64, ) (denoms []string, err error) GetTradingPairTakerFee(ctx sdk.Context, denom0, denom1 string) (osmomath.Dec, error) }
PoolManagerKeeper is an interface for the pool manager keeper.
type ProtorevKeeper ¶
type ProtorevKeeper interface {
GetPoolForDenomPair(ctx sdk.Context, baseDenom, denomToMatch string) (uint64, error)
}
ProtorevKeeper is an interface for getting the pool for a denom pair.
type SQSIngestKeepers ¶
type SQSIngestKeepers struct { GammKeeper PoolKeeper CosmWasmPoolKeeper CosmWasmPoolKeeper BankKeeper BankKeeper ProtorevKeeper ProtorevKeeper PoolManagerKeeper PoolManagerKeeper ConcentratedKeeper ConcentratedKeeper }
Chain keepers required for sqs ingest.
Click to show internal directories.
Click to hide internal directories.