@elliottech/lighter-v2-periphery
v1.0.1
Published
Lighter V2 Periphery Smart Contracts
Readme
Lighter Exchange V2
Lighter is fully decentralized order book exchange protocol designed for permission-less, zero slippage and MEV-protected trades.
Contract Structure
contracts
├── Router.sol
├── interfaces
│ ├── IRouter.sol
│ ├── ISwapMultiRequest.sol
│ └── external
│ └── IWETH9.sol
└── libraries
├── PeripheryErrors.sol
├── Quoter.sol
└── SafeTransfer.sol
Installing 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) contracts/interfaces/IWETH9.solandcontracts/libraries/SafeTransfer.solare licensed underSPDX-License-Identifier: MIT
