@murphy-labs/strateg-protocol-borrow v0.0.58
Strateg Borrow module Contracts
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)
Development
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.gitInstall the necessary dependencies:
npm install --forceThe --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 compileRun the tests to ensure everything is working as expected:
npx hardhat testSubmit a pull request with your changes for review.
License
This project is licensed under the BUSL-1.1 license. Please refer to the individual contract files for their specific license information.
Disclaimer
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.
1 year ago