1.0.1 • Published 2 years ago
@elliottech/lighter-v2-core v1.0.1
Lighter Exchange V2
Lighter is fully decentralized order book exchange protocol designed for permission-less, zero slippage and MEV-protected trades.
Contract Structure
contracts
├── Factory.sol
├── OrderBook.sol
├── interfaces
│ ├── IFactory.sol
│ ├── ILighterV2FlashCallback.sol
│ ├── ILighterV2TransferCallback.sol
│ ├── IOrderBook.sol
│ └── external
│ └── IERC20Minimal.sol
└── libraries
├── Errors.sol
├── LinkedList.sol
└── OrderBookDeployerLib.solInstalling the dependencies
npm installCompiling the contracts
npm compileRunning the tests
npm testLicense
- The primary license for Lighter V2 is the Business Source License 1.1 (
BUSL-1.1) - All external interface files in
contracts/interfaces/are licensed underSPDX-License-Identifier: MIT