Credit Delegation is a feature of Aave which allows a Credit Delegator to delegate the credit of their account's position to a Borrower. The terms of the Credit Delegation are decided and agreed between the parties off-chain, using OpenLaw.


Overview

OpenLaw Loan Agreement

An open source example of an OpenLaw loan agreement can be found here. This can be used (and improved) by anyone, however before signing the contract, the parties should seek legal counsel.

Methods

deployVault()

deployVault(address _asset)

Deploys a vault with _asset to be borrowed.

Returns the address of the newly deployed AaveCollateralVault.

setModel()

setModel(uint _model)