Borrower
Actions
Creating the vault
/// @notice This function is called when a borrower wants to deploy a new collateral vault.
/// @param _asset address of vault asset
/// @param _targetVault address of the target vault, used for the lookup of the beacon proxy implementation contract
/// @param _liqLTV user-specified target LTV
/// @return vault address of the newly created collateral vault
function createCollateralVault(address _asset, address _targetVault, uint _liqLTV)
external
returns (address vault);Collateral amount
/// @notice Deposits a certain amount of collateral asset
/// @param assets The assets to deposit.
function deposit(uint assets) external;
/// @notice Deposits a certain amount of underlying asset
/// @param underlying The underlying assets to deposit.
function depositUnderlying(uint underlying) external;
/// @notice allow users of the underlying protocol to seamlessly transfer their position to this vault
function teleport(uint toDeposit, uint toBorrow) external;Borrowed amount
Twyne Liquidation LTV
Last updated

