This repository contains the Strateg Position managers factory. A position manager is a contract handling isolated debt position for a Strateg Vault
There is only Aave v3 position manager actually with 2 debt management mode: borrow and leverage (debt loop)
To contribute or make changes to these contracts, follow these steps:
-
Clone the repository:
git clone https://gitlab.com/murphy-labs/strateg-protocol/contracts/borrow.git
-
Install the necessary dependencies:
npm install --force
The --force is mandatory because there is a package version conflict with hardhat-deploy but everything is working fine. There is no solution until we migrate on ethers v6
-
Make the desired changes to the contract files.
-
Compile the contracts:
npx hardhat compile
-
Run the tests to ensure everything is working as expected:
npx hardhat test
-
Submit a pull request with your changes for review.
This project is licensed under the BUSL-1.1 license. Please refer to the individual contract files for their specific license information.
These contracts are provided as-is without any warranty or guarantee of any kind. Use them at your own risk. Always review and audit the code before deploying it in a production environment.