UniV3LoanRouter

API Documentation

constructor(contract ISwapRouter _uniswapV3Router) (public)

borrow(uint256 amount, contract IBondController bond, contract IERC20 currency, uint256[] sales, uint256 minOutput) → uint256 amountOut (external)

borrowMax(uint256 amount, contract IBondController bond, contract IERC20 currency, uint256 minOutput) → uint256 amountOut (external)

_borrow(uint256 amount, contract IBondController bond, contract IERC20 currency, uint256[] sales, uint256 minOutput) → uint256 amountOut (internal)

Internal function to borrow a given currency from a given collateral

Last updated