@elliottech/lighter-v2-periphery
v1.0.1
Published
Lighter V2 Periphery Smart Contracts
Downloads
3
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 install
Compiling the contracts
npm compile
Running the tests
npm test
License
- The primary license for Lighter V2 is the Business Source License 1.1 (
BUSL-1.1
) contracts/interfaces/IWETH9.sol
andcontracts/libraries/SafeTransfer.sol
are licensed underSPDX-License-Identifier: MIT