{"_id":"@arth-s/v3-core","name":"@arth-s/v3-core","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@arth-s/v3-core","description":"Core smart contracts of ArthSwap V3","license":"GPL-2.0-or-later","publishConfig":{"access":"public"},"version":"1.0.3","homepage":"https://app.arthswap.org","keywords":["arthswap","core","v3"],"repository":{"type":"git","url":"git+https://github.com/ArthSwap/arthswap-v3-core.git"},"engines":{"node":">=10"},"dependencies":{},"devDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.2","@nomiclabs/hardhat-etherscan":"^3.1.7","@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","dotenv":"^16.0.3","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"},"scripts":{"compile":"hardhat compile","test":"hardhat test"},"_id":"@arth-s/v3-core@1.0.3","gitHead":"13c726fea85b811eb4dfabdfe3b76a3ee7ba44a6","bugs":{"url":"https://github.com/ArthSwap/arthswap-v3-core/issues"},"_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-BV5i/VivKvyBkuLzOtojz1bxftKxteY+jKcJvZEwVcDMqanDSr53AnYSb+u+qHWhcEsmhzhI4ZsME0d1mDhKUw==","shasum":"581aa4d91f87fde5848d4eb180c00be5b3b765ed","tarball":"https://registry.npmjs.org/@arth-s/v3-core/-/v3-core-1.0.3.tgz","fileCount":48,"unpackedSize":403033,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChKzJ2Ka0flTVGsv1JWTDt6lEP0cD23R/urAEPwhpmbwIge6Jbxmpeo8ZBR7i8gBt8jYKC6ccQlZda7mzELd4tY/I="}]},"_npmUser":{"name":"arthswap-dev","email":"dev@arthswap.org"},"directories":{},"maintainers":[{"name":"arthswap-dev","email":"dev@arthswap.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v3-core_1.0.3_1701700732649_0.11059167092747035"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-04T14:38:52.582Z","1.0.3":"2023-12-04T14:38:52.792Z","modified":"2023-12-04T14:38:53.052Z"},"maintainers":[{"name":"arthswap-dev","email":"dev@arthswap.org"}],"description":"Core smart contracts of ArthSwap V3","homepage":"https://app.arthswap.org","keywords":["arthswap","core","v3"],"repository":{"type":"git","url":"git+https://github.com/ArthSwap/arthswap-v3-core.git"},"bugs":{"url":"https://github.com/ArthSwap/arthswap-v3-core/issues"},"license":"GPL-2.0-or-later","readme":"# ArthSwap V3\n\n[![Lint](https://github.com/ArthSwap/arthswap-v3-core/actions/workflows/lint.yml/badge.svg)](https://github.com/ArthSwap/arthswap-v3-core/actions/workflows/lint.yml)\n[![Tests](https://github.com/ArthSwap/arthswap-v3-core/actions/workflows/tests.yml/badge.svg)](https://github.com/ArthSwap/arthswap-v3-core/actions/workflows/tests.yml)\n[![Fuzz Testing](https://github.com/ArthSwap/arthswap-v3-core/actions/workflows/fuzz-testing.yml/badge.svg)](https://github.com/ArthSwap/arthswap-v3-core/actions/workflows/fuzz-testing.yml)\n[![npm version](https://img.shields.io/npm/v/@arth-s/v3-core/latest.svg)](https://www.npmjs.com/package/@arth-s/v3-core/v/latest)\n\nThis repository contains the core smart contracts for the ArthSwap V3 Protocol.\nFor higher level contracts, see the [arthswap-v3-periphery](https://github.com/ArthSwap/arthswap-v3-periphery)\nrepository.\n\n## Local deployment\n\nIn order to deploy this code to a local testnet, you should install the npm package\n`@arth-s/v3-core`\nand import the factory bytecode located at\n`@arth-s/v3-core/artifacts/contracts/ArthSwapV3Factory.sol/ArthSwapV3Factory.json`.\nFor example:\n\n```typescript\nimport {\n  abi as FACTORY_ABI,\n  bytecode as FACTORY_BYTECODE,\n} from '@arth-s/v3-core/artifacts/contracts/ArthSwapV3Factory.sol/ArthSwapV3Factory.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 ArthSwap code will correctly interoperate with\nyour local deployment.\n\n## Using solidity interfaces\n\nThe ArthSwap v3 interfaces are available for import into solidity smart contracts\nvia the npm artifact `@arth-s/v3-core`, e.g.:\n\n```solidity\nimport '@arth-s/v3-core/contracts/interfaces/IArthSwapV3Pool.sol';\n\ncontract MyContract {\n  IArthSwapV3Pool pool;\n\n  function doSomethingWithPool() {\n    // pool.swap(...);\n  }\n}\n\n```\n","readmeFilename":"README.md"}