{"_id":"@aetherswap/core-contracts","_rev":"1-13944a4db8f50a3e2c8ce91fb2a79012","name":"@aetherswap/core-contracts","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aetherswap/core-contracts","version":"1.0.0","keywords":["aetherswap","core","ethernity","solidity"],"author":{"name":"aetherlabs"},"license":"BUSL-1.1","_id":"@aetherswap/core-contracts@1.0.0","maintainers":[{"name":"aetherdex","email":"aetherswap15@gmail.com"}],"homepage":"https://aetherswap.org","bugs":{"url":"https://github.com/aetherswap/core-contracts/issues"},"dist":{"shasum":"5a839f39dce531d6a9feb4dbeb534668ab7e30a0","tarball":"https://registry.npmjs.org/@aetherswap/core-contracts/-/core-contracts-1.0.0.tgz","fileCount":50,"integrity":"sha512-tCuz/ZYPEk78bpXcT/6RpR630P/SCqz8XWP9fy/RKgQGY2d3jFbjQOvwmQYKUvL9eh185IQosZEkWNLJXVPrPA==","signatures":[{"sig":"MEUCIQDmCOwX8NPUB0RrtkJLTB0qTwBZMNa2TCphrTLPX7/r/wIgf1kCJlAINJV/tr8iSHMyaDrEfLx/ngf5ss5r7MDEWSM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":435498},"main":"index.js","engines":{"node":">=10"},"gitHead":"b38248ff991f1ab6029bbaa2887f0bd3ed7e4ac7","scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"aetherdex","email":"aetherswap15@gmail.com"},"repository":{"url":"git+https://github.com/aetherswap/core-contracts.git","type":"git"},"_npmVersion":"10.8.1","description":"Core smart contracts of Aetherswap Protocol","directories":{"test":"test"},"_nodeVersion":"20.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2","ethers":"^5.0.8","hardhat":"^2.2.0","solhint":"^3.2.1","ts-node":"^8.5.4","prettier":"^2.0.5","typechain":"^4.0.0","decimal.js":"^10.2.1","typescript":"^3.7.3","@types/chai":"^4.2.6","@types/mocha":"^5.2.7","ts-generator":"^0.1.1","ethereum-waffle":"^3.0.2","hardhat-typechain":"^0.3.5","@typechain/ethers-v5":"^4.0.0","solhint-plugin-prettier":"^0.0.5","mocha-chai-jest-snapshot":"^1.1.0","prettier-plugin-solidity":"^1.0.0-alpha.59","@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-waffle":"^2.0.1","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/core-contracts_1.0.0_1728601447653_0.6473141660261668","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2024-10-10T23:04:07.531Z","modified":"2024-10-26T16:11:21.882Z","1.0.0":"2024-10-10T23:04:07.831Z"},"bugs":{"url":"https://github.com/aetherswap/core-contracts/issues"},"author":{"name":"aetherlabs"},"license":"BUSL-1.1","homepage":"https://aetherswap.org","keywords":["aetherswap","core","ethernity","solidity"],"repository":{"url":"git+https://github.com/aetherswap/core-contracts.git","type":"git"},"description":"Core smart contracts of Aetherswap Protocol","maintainers":[{"name":"aetherdex","email":"aetherswap15@gmail.com"}],"readme":"# Aetherswap Core\n\n[![Lint](https://github.com/Aetherswap/core-contracts/actions/workflows/lint.yml/badge.svg)](https://github.com/Aetherswap/core-contracts/actions/workflows/lint.yml)\n[![Tests](https://github.com/Aetherswap/core-contracts/actions/workflows/tests.yml/badge.svg)](https://github.com/Aetherswap/core-contracts/actions/workflows/tests.yml)\n[![Fuzz Testing](https://github.com/Aetherswap/core-contracts/actions/workflows/fuzz-testing.yml/badge.svg)](https://github.com/Aetherswap/core-contracts/actions/workflows/fuzz-testing.yml)\n[![Mythx](https://github.com/Aetherswap/core-contracts/actions/workflows/mythx.yml/badge.svg)](https://github.com/Aetherswap/core-contracts/actions/workflows/mythx.yml)\n[![npm version](https://img.shields.io/npm/v/@aetherswap/core-contracts/latest.svg)](https://www.npmjs.com/package/@aetherswap/core-contracts/v/latest)\n\n***Forked from (Uniswap V3)[https://github.com/uniswap/v3-core]***\n\nThis repository contains the core smart contracts for the Aetherswap Protocol.\nFor higher level contracts, see the [Periphery](https://github.com/Aetherswap/periphery)\nrepository.\n\n## Local deployment\n\nIn order to deploy this code to a local testnet, you should install the npm package\n`@aetherswap/core-contracts`\nand import the factory bytecode located at\n`@aetherswap/core-contracts/artifacts/contracts/AetherFactory.sol/AetherFactory.json`.\nFor example:\n\n```typescript\nimport {\n  abi as FACTORY_ABI,\n  bytecode as FACTORY_BYTECODE,\n} from '@aetherswap/core-contracts/artifacts/contracts/AetherFactory.sol/AetherFactory.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 Aetherswap code will correctly interoperate with\nyour local deployment.\n\n## Using solidity interfaces\n\nThe Aetherswap interfaces are available for import into solidity smart contracts\nvia the npm artifact `@aetherswap/core-contracts`, e.g.:\n\n```solidity\nimport '@aetherswap/core-contracts/contracts/interfaces/IAetherPool.sol';\n\ncontract MyContract {\n  IAetherPool pool;\n\n  function doSomethingWithPool() {\n    // pool.swap(...);\n  }\n}\n\n```\n\n## Licensing\n\nThe primary license for ***Uniswap V3 Core*** is the Business Source License 1.1 (`BUSL-1.1`), see [`LICENSE`](./LICENSE). However, some files are dual licensed under `GPL-2.0-or-later`:\n\n- All files in `contracts/interfaces/` may also be 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/` may also be licensed under `GPL-2.0-or-later` (as indicated in their SPDX headers), see [`contracts/libraries/LICENSE`](contracts/libraries/LICENSE)\n\n### Other Exceptions\n\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 (as indicated in their SPDX headers).\n","readmeFilename":"README.md"}