Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 587 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 587 Bytes

ProfitCycle Perpetual DEX

Description

This project demonstrates a basic Perpetual DEX where one token can be traded and traders earn rewards depending their volumes. All operations happens in O(1) time complexity.

There can be infinity amount of trader, that does not affect the time complexity.

Compile & Test

Compile Contracts

npx hardhat compile
# or
npm run compile

Test Contracts

npx hardhat test
# or
npm run test

Test Specific Contract

npx hardhat test <contract path>
# or
npm run test <contract path>