@murphy-labs/strateg-protocol-borrow

0.0.58 • Public • Published

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:

  1. Clone the repository:

    git clone https://gitlab.com/murphy-labs/strateg-protocol/contracts/borrow.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.

Readme

Keywords

none

Package Sidebar

Install

npm i @murphy-labs/strateg-protocol-borrow

Weekly Downloads

0

Version

0.0.58

License

none

Unpacked Size

14.3 MB

Total Files

1353

Last publish

Collaborators

  • murphylabs