This repository contains a collection of contracts with diamond implementation to integrate Dex aggregators to our stack. This Diamond implement an oracle aggregator system for Majora Core protocol needs
To contribute or make changes to these contracts, follow these steps:
-
Clone the repository:
git clone https://github.com/majora-finance/portal.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.