ICorrectionsApplierJob
Inherits: IKeep3rJob
Applies corrections to manipulated pools
Functions
POOL_MANAGER_FACTORY
Returns the pool manager factory
function POOL_MANAGER_FACTORY() external view returns (IPoolManagerFactory _poolManagerFactory);
Returns
Name | Type | Description |
---|---|---|
_poolManagerFactory | IPoolManagerFactory | The pool manager factory |
PRICE_ORACLE
Returns the price oracle
function PRICE_ORACLE() external view returns (IPriceOracle _priceOracle);
Returns
Name | Type | Description |
---|---|---|
_priceOracle | IPriceOracle | The price oracle |
work
Removes the old corrections for a given pool
function work(IUniswapV3Pool _pool, uint16 _manipulatedIndex, uint16 _period) external;
Parameters
Name | Type | Description |
---|---|---|
_pool | IUniswapV3Pool | The Uniswap V3 pool |
_manipulatedIndex | uint16 | |
_period | uint16 |
Events
Worked
Emitted when then job is worked
event Worked(IUniswapV3Pool _pool, uint16 _manipulatedIndex, uint16 _period);
Errors
CorrectionsApplierJob_InvalidPool
Throws if we can't verify the pool
error CorrectionsApplierJob_InvalidPool(IUniswapV3Pool _pool);