IMaverickV2BoostedPositionFactory
Functions
createBoostedPosition
Creates BP from the specified input parameters. Requirements:
Pool must be from pool factory
BP kind must be supported by the pool
BinIds have to be sorted in ascending order
ratios[0] must be 1e18; ratios are specified in D18 scale
ratio and binId arrays have to be the same length
movement-mode BPs can only have one binId
static-mode BPs can have at most 24 binIds
lookup
Look up BPs by range of indexes.
lookup
Look up BPs by range of indexes for a given pool.
isFactoryBoostedPosition
Returns whether or not input BP was created by this factory.
poolFactory
Pool factory that all BPs pool must be deployed from.
Events
CreateBoostedPosition
Errors
BoostedPositionFactoryNotFactoryPool
BoostedPositionFactoryKindNotSupportedByPool
BoostedPositionFactoryInvalidRatioZero
BoostedPositionFactoryInvalidLengths
BoostedPositionFactoryInvalidLengthForKind
BoostedPositionFactoryInvalidBinIdOrder
BoostedPositionFactoryInvalidBinKind
Last updated