BoostManager
Inherits: IManager, IUniswapV3SwapCallback
State Variables
FACTORY
Factory public immutable FACTORY;
BORROWER_NFT
address public immutable BORROWER_NFT;
UNISWAP_NFT
IUniswapPositionNFT public immutable UNISWAP_NFT;
Functions
constructor
constructor(Factory factory, address borrowerNft, IUniswapPositionNFT uniswapNft);
uniswapV3SwapCallback
function uniswapV3SwapCallback(int256 amount0, int256 amount1, bytes calldata data) external;
callback
function callback(bytes calldata data, address owner, uint208 positions) external override returns (uint208);
_action0Mint
function _action0Mint(Borrower borrower, address owner, bytes memory args) private returns (uint208);
_action2Burn
function _action2Burn(
Borrower borrower,
address owner,
bytes memory args,
uint208 positions
) private returns (uint208);
_withdrawFromUniswapNFT
function _withdrawFromUniswapNFT(
uint256 tokenId,
uint128 liquidity,
address recipient
) private returns (uint256 burned0, uint256 burned1);