Borrow
User borrows the specified amount of borrow assets from the vault and receives borrowTokens in exchange to represent their debt.
borrow(uint256 amount)
amount - the amount the user wants to borrow
Upon receiving a request for a borrow the vault will check how this request would affect the users position and if within specified margins will borrow the required amount from the active lending provider.
Thresholds There are several thresholds that impact the user position:
supplyThreshold → users can actively borrow and withdraw but their loan-to-value should stay below this value
liquidationThreshold → the user position can be liquidated if their loan-to-value is higher than this value
Last updated
Was this helpful?