{"_id":"@aetherswap/periphery","_rev":"1-a4a09937fe12040a5a10991d578f35fa","name":"@aetherswap/periphery","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aetherswap/periphery","version":"1.0.0","keywords":["aetherswap","periphery","solidity","ethernity","evm"],"license":"GPL-2.0-or-later","_id":"@aetherswap/periphery@1.0.0","maintainers":[{"name":"aetherdex","email":"aetherswap15@gmail.com"}],"homepage":"https://aetherswap.org","bugs":{"url":"https://github.com/aetherswap/periphery/issues"},"dist":{"shasum":"64557cc9aa004b14eaf614a33e91d71967035fc6","tarball":"https://registry.npmjs.org/@aetherswap/periphery/-/periphery-1.0.0.tgz","fileCount":90,"integrity":"sha512-f7M8x2EMqWBZ3oG3FqkQhNgzXwpK8E0OcF7f5THG33fB2aImFZf03XrCcfDCFb7+n3exU5FiR2z1ztKxZCZZfw==","signatures":[{"sig":"MEQCIEgJvSNXaBOvzwWf1Yh4LbU7HjaIKfkP3tz4oChnk6egAiBBPJU9AdhEaoWstMrnovW+6ZNIt1awjO92PdtlAQiuMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":700372},"engines":{"node":">=10"},"scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"aetherdex","email":"aetherswap15@gmail.com"},"repository":{"url":"git+https://github.com/aetherswap/periphery.git","type":"git"},"_npmVersion":"10.7.0","description":"Peripheral smart contracts for interacting with Aetherswap Protocol","directories":{},"_nodeVersion":"18.20.4","dependencies":{"base64-sol":"1.0.1","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@types/sinon-chai":"3.2.3","@openzeppelin/contracts":"3.4.2-solc-0.7","@aetherswap/core-contracts":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2","ethers":"^5.0.8","is-svg":"^4.3.1","hardhat":"^2.6.8","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-watcher":"^2.1.1","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-beta.10","@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-waffle":"2.0.6","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/periphery_1.0.0_1728633556359_0.539850762940377","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-11T07:59:16.196Z","modified":"2024-10-26T16:10:49.273Z","1.0.0":"2024-10-11T07:59:16.526Z"},"bugs":{"url":"https://github.com/aetherswap/periphery/issues"},"license":"GPL-2.0-or-later","homepage":"https://aetherswap.org","keywords":["aetherswap","periphery","solidity","ethernity","evm"],"repository":{"url":"git+https://github.com/aetherswap/periphery.git","type":"git"},"description":"Peripheral smart contracts for interacting with Aetherswap Protocol","maintainers":[{"name":"aetherdex","email":"aetherswap15@gmail.com"}],"readme":"# Aetherswap Periphery\n\n[![Tests](https://github.com/aetherswap/periphery/workflows/Tests/badge.svg)](https://github.com/aetherswap/periphery/actions?query=workflow%3ATests)\n[![Lint](https://github.com/aetherswap/periphery/workflows/Lint/badge.svg)](https://github.com/aetherswap/periphery/actions?query=workflow%3ALint)\n\n![NFTImage](./test/__snapshots__/NFTDescriptor.svg)\n\nThis repository contains the periphery smart contracts for the Aetherswap Protocol.\nFor the lower level core contracts, see the [core-contracts](https://github.com/aetherswap/core-contracts)\nrepository.\n\n## Local deployment\n\nIn order to deploy this code to a local testnet, you should install the npm package\n`@aetherswap/periphery`\nand import bytecode imported from artifacts located at\n`@aetherswap/periphery/artifacts/contracts/*/*.json`.\nFor example:\n\n```typescript\nimport {\n  abi as SWAP_ROUTER_ABI,\n  bytecode as SWAP_ROUTER_BYTECODE,\n} from '@aetherswap/periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.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 periphery interfaces are available for import into solidity smart contracts\nvia the npm artifact `@aetherswap/periphery`, e.g.:\n\n```solidity\nimport '@aetherswap/periphery/contracts/interfaces/ISwapRouter.sol';\n\ncontract MyContract {\n  ISwapRouter router;\n\n  function doSomethingWithSwapRouter() {\n    // router.exactInput(...);\n  }\n}\n\n```\n\n♾️...","readmeFilename":"README.md"}