@mean-finance/dca-v2-core
TypeScript icon, indicating that this package has built-in type declarations

3.4.0 • Public • Published

DCA V2

Lint Tests (unit, integration, e2e) npm version

This repository contains the core smart contracts for the DCA V2 Protocol.

⚠️ Audit

These contracts have been audited. Read all performed audits in here.

💰 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 Installation
npm install @mean-finance/dca-v2-core
  • Yarn installation
yarn add @mean-finance/dca-v2-core

👨‍💻 Development environment

  • Copy environment file
cp .env.example .env
  • Fill environment file with your information
nano .env

🧪 Testing

Unit

yarn test:unit

Will run all tests under test/unit

E2E

yarn test:e2e

Will run all tests under test/e2e

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 is the Business Source License 1.1 (BUSL-1.1), see LICENSE.

Exceptions

  • All files in contracts/interfaces/ are licensed under GPL-2.0-or-later (as indicated in their SPDX headers), see contracts/interfaces/LICENSE
  • All files in contracts/libraries/ are licensed under GPL-2.0-or-later (as indicated in their SPDX headers), see contracts/libraries/LICENSE
  • All files in contracts/mocks remain unlicensed.

Package Sidebar

Install

npm i @mean-finance/dca-v2-core

Homepage

mean.finance

Weekly Downloads

120

Version

3.4.0

License

BUSL-1.1

Unpacked Size

2.57 MB

Total Files

438

Last publish

Collaborators

  • fiboape
  • sambugs
  • 0xged
  • alejoamiras
  • nchamo