{"_id":"@chaoswap/v1-core","_rev":"1-2f224164bb18230cf7271fb13c446652","name":"@chaoswap/v1-core","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@chaoswap/v1-core","version":"1.0.0","description":"Core smart contracts of Chaoswap v1","scripts":{"compile":"hardhat compile","test":"hardhat test"},"repository":{"type":"git","url":"git+https://github.com/chaoswap/v1-core.git"},"engines":{"node":">=10"},"dependencies":{},"devDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-etherscan":"^2.1.8","@nomiclabs/hardhat-waffle":"^2.0.1","@typechain/ethers-v5":"^4.0.0","@types/chai":"^4.2.6","@types/mocha":"^5.2.7","chai":"^4.2.0","decimal.js":"^10.2.1","ethereum-waffle":"^3.0.2","ethers":"^5.0.8","hardhat":"^2.2.0","hardhat-typechain":"^0.3.5","mocha":"^6.2.2","mocha-chai-jest-snapshot":"^1.1.0","prettier":"^2.0.5","prettier-plugin-solidity":"^1.0.0-alpha.59","solhint":"^3.2.1","solhint-plugin-prettier":"^0.0.5","ts-generator":"^0.1.1","ts-node":"^8.5.4","typechain":"^4.0.0","typescript":"^3.7.3"},"homepage":"https://github.com/chaoswap/v1-core#readme","keywords":["chaoswap","core","v1"],"license":"GPL-3.0-or-later","bugs":{"url":"https://github.com/chaoswap/v1-core/issues"},"_id":"@chaoswap/v1-core@1.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-XpL52as3Nab5NqPl0ysj78YjCOuj7gZKGLucjurQR6O71zBgyaHKJObfM6aGXdFS6m/hsh/0XJUJt/QjBpAnzw==","shasum":"0e6e4818f0063ff022e934951bea6d8e34a6a864","tarball":"https://registry.npmjs.org/@chaoswap/v1-core/-/v1-core-1.0.0.tgz","fileCount":48,"unpackedSize":241688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8tReCRA9TVsSAnZWagAAVGsP/Al70Rxjzwres5meZBNm\nTKciKbNdzH0ztMiuza7lM3pXuvo6XAwACvTDzRCZ7cbMXcfsIgwhtd8W3p7w\nmnzzXehrhMtbhvI15ZHh2mo8GjRR+ekM/+cU2UEAlD6KFeQOQBeIZqyvwPqb\nALzVEM/EeU7ZlBPA6vGzKgxaN+2IdtCu1JxUkigGZZiBvtEPpesn0rvesVWk\nAigNBXaG9/KdHg398HcyRzjDdVf+O8vLzQytZqKWx1WCdf010dR+LKNMPa9Y\nB1Epppf18kAr9yMsE23+awl487QHfWFy0YhkA5fuJZ5Pzal0nSYRyAvUuE4O\nNGq3mfg8bn7I5R8jSSiwMWx9WvWjDnbzuB4CbZvxIR3nBxMd0nUq1YN2Kxtd\n2ZByI2cpvnW6iVLR/pJROdC/qLkaCOAWTi7lTqOxgmLrK61r/ZCLELQ3ryzX\nOMX5sp2aU/HBzYPxg6IMNcGIw0Fc1ecIe81KnAEZpdLRrlAYp+at9WdduXrb\nhCe78g6vzXCd52jrHKiqWYILrFRWa890EYhc+2p7ZWuzSz9RgNukd0bog/j/\nJa0RudnAqxwlX+iTVd6KoVQeID5xSSg0vg5fd2rVRdlHXvdfShYSe9fY37FB\nqEF427bD2YBm3dYluQYwMAEyJdQ9J9N8fAJpJ4ju+26zewaI3N0WE9XQ/gKN\nIxjj\r\n=Cenl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCQ4kDWgE0k12ePPVgr/xa0InO9dMIdAO4Ss2YTmvcfQIgf16583WS8Jehh3BLd1B4CYUXiYzyB5igil68W3XlINk="}]},"_npmUser":{"name":"oliverstone","email":"oliver.w.stone@gmail.com"},"directories":{},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v1-core_1.0.0_1643304030757_0.24307122333271947"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-27T17:20:30.714Z","1.0.0":"2022-01-27T17:20:30.909Z","modified":"2022-04-04T22:31:20.261Z"},"maintainers":[{"name":"oliverstone","email":"oliver.w.stone@gmail.com"}],"description":"Core smart contracts of Chaoswap v1","homepage":"https://github.com/chaoswap/v1-core#readme","keywords":["chaoswap","core","v1"],"repository":{"type":"git","url":"git+https://github.com/chaoswap/v1-core.git"},"bugs":{"url":"https://github.com/chaoswap/v1-core/issues"},"license":"GPL-3.0-or-later","readme":"# Chaoswap V1\n\n[![Lint](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/lint.yml/badge.svg)](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/lint.yml)\n[![Tests](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/tests.yml/badge.svg)](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/tests.yml)\n[![Fuzz Testing](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/fuzz-testing.yml/badge.svg)](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/fuzz-testing.yml)\n[![Mythx](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/mythx.yml/badge.svg)](https://github.com/Chaoswap/Chaoswap-v1-core/actions/workflows/mythx.yml)\n[![npm version](https://img.shields.io/npm/v/@uniswap/v3-core/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-core/v/latest)\n\nThis repository contains the core smart contracts for the Chaoswap V1 Protocol.\nFor higher level contracts, see the [Chaoswap-v1-periphery](https://github.com/Chaoswap/Chaoswap-v1-periphery)\nrepository.\n\n## Bug bounty\n\nThis repository is subject to the Chaoswap V1 bug bounty program, per the terms defined [here](./bug-bounty.md).\n\n## Local deployment\n\nIn order to deploy this code to a local testnet, you should install the npm package\n`@uniswap/v3-core`\nand import the factory bytecode located at\n`@uniswap/v3-core/artifacts/contracts/ChaoswapV1Factory.sol/ChaoswapV1Factory.json`.\nFor example:\n\n```typescript\nimport {\n  abi as FACTORY_ABI,\n  bytecode as FACTORY_BYTECODE,\n} from '@uniswap/v3-core/artifacts/contracts/ChaoswapV1Factory.sol/ChaoswapV1Factory.json'\n\n// deploy the bytecode\n```\n\nThis will ensure that you are testing against the same bytecode that is deployed to\nmainnet and public testnets, and all Chaoswapcode will correctly interoperate with\nyour local deployment.\n\n## Using solidity interfaces\n\nThe Chaoswap V1 interfaces are available for import into solidity smart contracts\nvia the npm artifact `@uniswap/v3-core`, e.g.:\n\n```solidity\nimport '@uniswap/v3-core/contracts/interfaces/IChaoswapV1Pool.sol';\n\ncontract MyContract {\n  IChaoswapV1Pool pool;\n\n  function doSomethingWithPool() {\n    // pool.swap(...);\n  }\n}\n\n```\n\n## Licensing\n\nThe primary license for Chaoswap V1 Core is the Business Source License 1.1 (`BUSL-1.1`), see [`LICENSE`](./LICENSE).\n\n### Exceptions\n\n- All files in `contracts/interfaces/` are licensed under `GPL-2.0-or-later` (as indicated in their SPDX headers), see [`contracts/interfaces/LICENSE`](./contracts/interfaces/LICENSE)\n- Several files in `contracts/libraries/` are licensed under `GPL-2.0-or-later` (as indicated in their SPDX headers), see [`contracts/libraries/LICENSE_GPL`](contracts/libraries/LICENSE_GPL)\n- `contracts/libraries/FullMath.sol` is licensed under `MIT` (as indicated in its SPDX header), see [`contracts/libraries/LICENSE_MIT`](contracts/libraries/LICENSE_MIT)\n- All files in `contracts/test` remain unlicensed.\n","readmeFilename":"README.md"}