0.1.10 • Published 9 months ago

@majora-finance/borrow-module v0.1.10

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Strateg Borrow module Contracts

This repository contains the Strateg Position managers factory. A position manager is a contract designed to handling isolated debt position for a MajoraVault

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:

  1. Clone the repository:

    git clone https://github.com/majora-finance/borrow-module.git
  2. 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

  3. Make the desired changes to the contract files.

  4. Compile the contracts:

    npx hardhat compile
  5. Run the tests to ensure everything is working as expected:

    npx hardhat test
  6. Submit 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.