DCA V2 - Periphery
This repository contains the periphery smart contracts for the DCA V2 Protocol.
💰 Bug bounty
This repository is subject to the DCA V2 bug bounty program, per the terms defined here.
📖 Docs
Check our docs at docs.mean.finance
📦 NPM/YARN Package
npm install @mean-finance/dca-v2-periphery
yarn add @mean-finance/dca-v2-periphery
👨💻 Development environment
cp .env.example .env
- Fill environment file with your information
nano .env
🧪 Testing
Unit
yarn test:unit
Will run all tests under test/unit
Integration
You will need to set up the development environment first, please refer to the development environment section.
yarn test:integration
Will run all tests under test/integration
🚢 Deployment
You will need to set up the development environment first, please refer to the development environment section.
yarn deploy --network [network]
The plugin hardhat-deploy
is used to deploy contracts.
Licensing
The primary license for DCA V2 Periphery is the GNU General Public License v2.0 (GPL-2.0-or-later
), see LICENSE
.
Exceptions
- All files in
contracts/mocks
remain unlicensed.