{"_id":"@elliottech/lighter-v2-periphery","_rev":"1-526e044fa9b569ae546c3583df22b25f","name":"@elliottech/lighter-v2-periphery","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@elliottech/lighter-v2-periphery","description":"Lighter V2 Periphery Smart Contracts","license":"BUSL-1.1","version":"1.0.0","publishConfig":{"access":"public"},"homepage":"https://lighter.xyz","keywords":["lighter","lighter-contracts","lighter-dex","lighter-v2"],"repository":{"type":"git","url":"git+https://github.com/elliottech/lighter-v2-periphery.git"},"engines":{"node":">=10"},"scripts":{"clean":"hardhat clean","compile":"hardhat compile","test":"hardhat test","lint":"prettier --write '{**/*,*}.{js,ts,sol}'","pre-commit":"npm lint","size":"hardhat size-contracts --show-stack-traces"},"devDependencies":{"@arbitrum/sdk":"^3.1.6","@defi-wonderland/smock":"^2.2.0","@ethersproject/abi":"^5.6.4","@ethersproject/providers":"^5.6.8","@nomicfoundation/hardhat-chai-matchers":"^1.0.2","@nomicfoundation/hardhat-network-helpers":"^1.0.8","@nomicfoundation/hardhat-toolbox":"^1.0.2","@nomiclabs/hardhat-ethers":"^2.1.0","@nomiclabs/hardhat-etherscan":"^3.1.0","@typechain/ethers-v5":"^10.1.0","@typechain/hardhat":"^6.1.2","@types/mocha":"^9.1.1","axios":"^0.27.2","chai":"^4.3.6","ethereum-waffle":"^4.0.10","ethers":"^5.0.0","hardhat":"^2.11.0","hardhat-contract-sizer":"^2.10.0","hardhat-gas-reporter":"^1.0.8","husky":"^8.0.3","mocha-chai-jest-snapshot":"^1.1.4","pre-commit":"^1.2.2","prettier":"^2.8.8","prettier-plugin-solidity":"^1.1.3","solidity-coverage":"^0.7.21","ts-node":"^10.9.1","tsconfig-paths":"^4.2.0","tslint":"^6.1.3","typechain":"^8.1.0","typescript":"^4.7.4"},"dependencies":{"@elliottech/lighter-v2-core":"^1.0.1","@openzeppelin/contracts":"4.9.0"},"gitHead":"15f0ba7a13d91da7bf20577027286a422c7e68a2","bugs":{"url":"https://github.com/elliottech/lighter-v2-periphery/issues"},"_id":"@elliottech/lighter-v2-periphery@1.0.0","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Z/SheUAB3MZxUBNCt8XMXABBH6LyIJkA5mIU6ocA4S5oXb+4rzVT5TdYRh+Kt7nqNPMxDDheItBTSPksJQZ4Gg==","shasum":"00b2ec14ca4ade144296b0903677884b1a0f0f52","tarball":"https://registry.npmjs.org/@elliottech/lighter-v2-periphery/-/lighter-v2-periphery-1.0.0.tgz","fileCount":15,"unpackedSize":65948,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtaH+aRfIsahh2Jn8VAqsrrqdZBP/Ti62A81J84n+TVwIgErv3vg+M9dNzUAx/GMvu6juHtSEVi2Eol9WVDtb9l+I="}]},"_npmUser":{"name":"alexlighter","email":"alexandru@lighter.xyz"},"directories":{},"maintainers":[{"name":"alexlighter","email":"alexandru@lighter.xyz"},{"name":"cakir-enes","email":"enes@elliot.ai"},{"name":"hasanbal","email":"mailhasanbal@gmail.com"},{"name":"muratekici","email":"murat@elliot.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lighter-v2-periphery_1.0.0_1694592687537_0.8444288160044002"},"_hasShrinkwrap":false},"1.0.1":{"name":"@elliottech/lighter-v2-periphery","description":"Lighter V2 Periphery Smart Contracts","license":"BUSL-1.1","version":"1.0.1","publishConfig":{"access":"public"},"homepage":"https://lighter.xyz","keywords":["lighter","lighter-contracts","lighter-dex","lighter-v2"],"repository":{"type":"git","url":"git+https://github.com/elliottech/lighter-v2-periphery.git"},"engines":{"node":">=10"},"scripts":{"clean":"hardhat clean","compile":"hardhat compile","test":"hardhat test","lint":"prettier --write '{**/*,*}.{js,ts,sol}'","pre-commit":"npm lint","size":"hardhat size-contracts --show-stack-traces"},"devDependencies":{"@arbitrum/sdk":"^3.1.6","@defi-wonderland/smock":"^2.2.0","@ethersproject/abi":"^5.6.4","@ethersproject/providers":"^5.6.8","@nomicfoundation/hardhat-chai-matchers":"^1.0.2","@nomicfoundation/hardhat-network-helpers":"^1.0.8","@nomicfoundation/hardhat-toolbox":"^1.0.2","@nomiclabs/hardhat-ethers":"^2.1.0","@nomiclabs/hardhat-etherscan":"^3.1.0","@typechain/ethers-v5":"^10.1.0","@typechain/hardhat":"^6.1.2","@types/mocha":"^9.1.1","axios":"^0.27.2","chai":"^4.3.6","ethereum-waffle":"^4.0.10","ethers":"^5.0.0","hardhat":"^2.11.0","hardhat-contract-sizer":"^2.10.0","hardhat-gas-reporter":"^1.0.8","husky":"^8.0.3","mocha-chai-jest-snapshot":"^1.1.4","pre-commit":"^1.2.2","prettier":"^2.8.8","prettier-plugin-solidity":"^1.1.3","solidity-coverage":"^0.7.21","ts-node":"^10.9.1","tsconfig-paths":"^4.2.0","tslint":"^6.1.3","typechain":"^8.1.0","typescript":"^4.7.4"},"dependencies":{"@elliottech/lighter-v2-core":"^1.0.1","@openzeppelin/contracts":"4.9.0"},"gitHead":"15f0ba7a13d91da7bf20577027286a422c7e68a2","bugs":{"url":"https://github.com/elliottech/lighter-v2-periphery/issues"},"_id":"@elliottech/lighter-v2-periphery@1.0.1","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-jGultrqvoK15o52Bl1WPEDaPQBRyc3wrOGdA8r955k7zP07JTRb0y0pgn4t+ZK+VSQr4Rl6vR2w4A0dTzg4gCg==","shasum":"b55589ea3a90f6f608e43777572b0babe2efc22a","tarball":"https://registry.npmjs.org/@elliottech/lighter-v2-periphery/-/lighter-v2-periphery-1.0.1.tgz","fileCount":16,"unpackedSize":179337,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjmX4MWJf6rCKrrkXppeTfETgbJ1NNWRgfHXll1ZFzawIhALi8VkVCgAqypDecbsD3To+3+IjBsbQX43ZU4k4W+sZQ"}]},"_npmUser":{"name":"alexlighter","email":"alexandru@lighter.xyz"},"directories":{},"maintainers":[{"name":"alexlighter","email":"alexandru@lighter.xyz"},{"name":"cakir-enes","email":"enes@elliot.ai"},{"name":"hasanbal","email":"mailhasanbal@gmail.com"},{"name":"muratekici","email":"murat@elliot.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lighter-v2-periphery_1.0.1_1694610787789_0.29137036732089006"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-13T08:11:27.418Z","1.0.0":"2023-09-13T08:11:27.788Z","modified":"2023-09-13T13:13:08.342Z","1.0.1":"2023-09-13T13:13:08.083Z"},"maintainers":[{"name":"alexlighter","email":"alexandru@lighter.xyz"},{"name":"cakir-enes","email":"enes@elliot.ai"},{"name":"hasanbal","email":"mailhasanbal@gmail.com"},{"name":"muratekici","email":"murat@elliot.ai"}],"description":"Lighter V2 Periphery Smart Contracts","homepage":"https://lighter.xyz","keywords":["lighter","lighter-contracts","lighter-dex","lighter-v2"],"repository":{"type":"git","url":"git+https://github.com/elliottech/lighter-v2-periphery.git"},"bugs":{"url":"https://github.com/elliottech/lighter-v2-periphery/issues"},"license":"BUSL-1.1","readme":"# Lighter Exchange V2\n\nLighter is fully decentralized order book exchange protocol designed for permission-less, zero slippage and MEV-protected trades.\n\n## Contract Structure\n\n```bash\ncontracts\n├── Router.sol\n├── interfaces\n│   ├── IRouter.sol\n│   ├── ISwapMultiRequest.sol\n│   └── external\n│       └── IWETH9.sol\n└── libraries\n    ├── PeripheryErrors.sol\n    ├── Quoter.sol\n    └── SafeTransfer.sol\n\n```\n\n## Installing the dependencies\n\n```\nnpm install\n```\n\n## Compiling the contracts\n\n```shell\nnpm compile\n```\n\n## Running the tests\n\n```\nnpm test\n```\n\n## License\n\n- The primary license for Lighter V2 is the Business Source License 1.1 (`BUSL-1.1`)\n- `contracts/interfaces/IWETH9.sol` and `contracts/libraries/SafeTransfer.sol` are licensed under `SPDX-License-Identifier: MIT`\n","readmeFilename":"README.md"}