mrgnlabs / marginfi-v2

Apache License 2.0
150 stars 65 forks source link

Isolated borrow pools #84

Closed jkbpvsc closed 1 year ago

jkbpvsc commented 1 year ago

Copied from Euler

Isolation assets are available for ordinary lending and borrowing, but they cannot be used as collateral to borrow other assets, and they can only be borrowed in isolation. What this means is that they cannot be borrowed alongside other assets using the same pool of collateral. For example, if a user has USDC and DAI as collateral, and they want to borrow isolation-tier asset ABC, then they can only borrow ABC. If they later want to borrow another token, XYZ, then they can only do so using a separate account on Euler.