{"_id":"@cytoswap/v3-periphery","_rev":"5-c18bc0b3ebfc5753900b8d60755988d7","name":"@cytoswap/v3-periphery","dist-tags":{"latest":"1.5.0"},"versions":{"1.4.5":{"name":"@cytoswap/v3-periphery","version":"1.4.5","keywords":["cytoswap","periphery","v3"],"license":"GPL-2.0-or-later","_id":"@cytoswap/v3-periphery@1.4.5","maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"homepage":"https://cytoswap.com","dist":{"shasum":"f6f51df89285110a8578a3b47c8c65686b337f92","tarball":"https://registry.npmjs.org/@cytoswap/v3-periphery/-/v3-periphery-1.4.5.tgz","fileCount":47,"integrity":"sha512-qqX7Miq6II6IYYSJqtXpJeao6WTJ4r1NuHQHfSTsXXBtQ1sInMzdnfhncpVzrNkoJbInEun5MdsAvSG1wy8jhQ==","signatures":[{"sig":"MEYCIQC+4nmRMBMYBut6JWWQQpH7iED/4TZFKEmKb48L/vSiRwIhAKDpQN/dyF7M2MNzn7yz/4SCYkPAr159jG8ckOcQkwds","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157303},"engines":{"node":">=10"},"gitHead":"3ccdd470e4297ff04f87ac1599f440c4a0b3f5c2","scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"snap.devs","email":"devs@snapresearch.io"},"repository":{"url":"https://gitlab.snapresearch.io/swapnity/cy-v3-periphery","type":"git"},"_npmVersion":"9.6.7","description":"🎚 Peripheral smart contracts for interacting with Cytoswap V3","directories":{},"_nodeVersion":"18.17.1","dependencies":{"base64-sol":"1.0.1","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@cytoswap/v3-core":"^1.0.1","@openzeppelin/contracts":"3.4.2-solc-0.7"},"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","hardhat-contract-sizer":"^2.10.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.1","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/v3-periphery_1.4.5_1708513093577_0.6860383075592942","host":"s3://npm-registry-packages"}},"1.4.6":{"name":"@cytoswap/v3-periphery","version":"1.4.6","keywords":["cytoswap","periphery","v3"],"license":"GPL-2.0-or-later","_id":"@cytoswap/v3-periphery@1.4.6","maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"homepage":"https://cytoswap.com","dist":{"shasum":"1bbe272af78c2c5e23ebf28f41110e3ff6031a13","tarball":"https://registry.npmjs.org/@cytoswap/v3-periphery/-/v3-periphery-1.4.6.tgz","fileCount":91,"integrity":"sha512-iD2x52r/5PImlmBN3hKSfkTFSj+AoRoPLaGaGo24j9WTtk9rRvHs/V8vbebNspywaVZjfPOoEfz2UuZOjk9wUQ==","signatures":[{"sig":"MEYCIQD4uMjMgce9qreBx/7nGH1xLlVTvj9RMcl07NqAo/jtVQIhAPvgrogV6+DmXgMrDj6FWrIc3zRFZ8wp2UpYQEPr50zo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":702510},"engines":{"node":">=10"},"gitHead":"3ccdd470e4297ff04f87ac1599f440c4a0b3f5c2","scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"snap.devs","email":"devs@snapresearch.io"},"repository":{"url":"https://gitlab.snapresearch.io/swapnity/cy-v3-periphery","type":"git"},"_npmVersion":"9.6.7","description":"🎚 Peripheral smart contracts for interacting with Cytoswap V3","directories":{},"_nodeVersion":"18.17.1","dependencies":{"base64-sol":"1.0.1","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@cytoswap/v3-core":"^1.0.1","@openzeppelin/contracts":"3.4.2-solc-0.7"},"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","hardhat-contract-sizer":"^2.10.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.1","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/v3-periphery_1.4.6_1708514653699_0.9442963360564016","host":"s3://npm-registry-packages"}},"1.4.7":{"name":"@cytoswap/v3-periphery","version":"1.4.7","keywords":["cytoswap","periphery","v3"],"license":"GPL-2.0-or-later","_id":"@cytoswap/v3-periphery@1.4.7","maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"homepage":"https://cytoswap.com","dist":{"shasum":"5cce469e3aebaefa4d40e01ef73e09e1b8f5b466","tarball":"https://registry.npmjs.org/@cytoswap/v3-periphery/-/v3-periphery-1.4.7.tgz","fileCount":91,"integrity":"sha512-IZjc8yea1FvNtdcEtUN14iwMJzCjoep+JQMcnUf3VUDl6uBTJRBldKVO9GotUinV8XkoKWF4IGDVl+ahjPS6aA==","signatures":[{"sig":"MEQCIEueB0r3VfZLGlskBhIi/ZctjLDWVKozigfADoS+OEs7AiBjvf/k1pEfo8GCYohPEH+ZLQo+Ppe0ntxIFnwN3kvezA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":706131},"engines":{"node":">=10"},"gitHead":"13ca9fbc36a4a3bce165ce75fecd24dbd55d4d46","scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"snap.devs","email":"devs@snapresearch.io"},"repository":{"url":"https://gitlab.snapresearch.io/swapnity/cytoswap-v3-periphery","type":"git"},"_npmVersion":"9.6.7","description":"🎚 Peripheral smart contracts for interacting with Cytoswap V3","directories":{},"_nodeVersion":"20.11.1","dependencies":{"base64-sol":"1.0.1","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@cytoswap/v3-core":"^1.0.1","@openzeppelin/contracts":"3.4.2-solc-0.7"},"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","hardhat-contract-sizer":"^2.10.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.1","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/v3-periphery_1.4.7_1708600084754_0.1842731527964243","host":"s3://npm-registry-packages"}},"1.4.8":{"name":"@cytoswap/v3-periphery","version":"1.4.8","keywords":["cytoswap","periphery","v3"],"license":"GPL-2.0-or-later","_id":"@cytoswap/v3-periphery@1.4.8","maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"homepage":"https://cytoswap.com","dist":{"shasum":"b7684e416ec558732447ded6c33b50b5cfaa3fe2","tarball":"https://registry.npmjs.org/@cytoswap/v3-periphery/-/v3-periphery-1.4.8.tgz","fileCount":91,"integrity":"sha512-nv51dNfbyX+x0Sm94FlDoYE7BdUtULLSK29/YaZylylP+7JJp4iBFl50b3OcY/IsbERTx7TqPNF5V59Ia42rlg==","signatures":[{"sig":"MEUCIQD887nbwHxgUo5uMM8+RJlyKNNb7mEgDJA2EXYC3BUHywIgFfdwKDQSmJ8LkK6UIhDzcycBk8GYQHEBabpUKDoNP4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":706131},"engines":{"node":">=10"},"gitHead":"13ca9fbc36a4a3bce165ce75fecd24dbd55d4d46","scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"snap.devs","email":"devs@snapresearch.io"},"repository":{"url":"https://gitlab.snapresearch.io/swapnity/cytoswap-v3-periphery","type":"git"},"_npmVersion":"9.6.7","description":"🎚 Peripheral smart contracts for interacting with Cytoswap V3","directories":{},"_nodeVersion":"20.11.1","dependencies":{"base64-sol":"1.0.1","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@cytoswap/v3-core":"^1.0.2","@openzeppelin/contracts":"3.4.2-solc-0.7"},"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","hardhat-contract-sizer":"^2.10.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.1","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/v3-periphery_1.4.8_1708600341635_0.21184883881024374","host":"s3://npm-registry-packages"}},"1.4.9":{"name":"@cytoswap/v3-periphery","version":"1.4.9","keywords":["cytoswap","periphery","v3"],"license":"GPL-2.0-or-later","_id":"@cytoswap/v3-periphery@1.4.9","maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"homepage":"https://cytoswap.com","dist":{"shasum":"c37fcff8c4f49f09324728ca92b3b4a7941635ea","tarball":"https://registry.npmjs.org/@cytoswap/v3-periphery/-/v3-periphery-1.4.9.tgz","fileCount":91,"integrity":"sha512-e49dl/JzaJmG2RBg1yjgG7K0eEBXZU+X0nlfTs017Ryg3l/DT91xAljJ0zhOx0NlEqJ0AkPERDnPKYlXs/TDCg==","signatures":[{"sig":"MEUCIHVzVF6b0ZdoL2BUWT7n3YqgohtKlPRdLbltLVigKlU4AiEAj+EIJDCDIV+CGoixcupGl8HsXSaNlbCwolN08ie4Soo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":706131},"engines":{"node":">=10"},"gitHead":"b1ccb95561a0e75fbf655251f67725ab8d3b056a","scripts":{"test":"hardhat test","compile":"hardhat compile"},"_npmUser":{"name":"snap.devs","email":"devs@snapresearch.io"},"repository":{"url":"https://gitlab.snapresearch.io/swapnity/cytoswap-v3-periphery","type":"git"},"_npmVersion":"9.6.7","description":"🎚 Peripheral smart contracts for interacting with Cytoswap V3","directories":{},"_nodeVersion":"18.19.1","dependencies":{"base64-sol":"1.0.1","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","@cytoswap/v3-core":"^1.0.2","@openzeppelin/contracts":"3.4.2-solc-0.7"},"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","hardhat-contract-sizer":"^2.10.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.1","@nomiclabs/hardhat-etherscan":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/v3-periphery_1.4.9_1709089255676_0.7179295894603026","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"@cytoswap/v3-periphery","description":"Peripheral smart contracts for interacting with Cytoswap V3","license":"GPL-2.0-or-later","publishConfig":{"access":"public"},"version":"1.5.0","homepage":"https://cytoswap.com","keywords":["cytoswap","periphery","v3"],"repository":{"type":"git","url":"git+https://github.com/hela-cytoswap/cytoswap-v3-periphery.git"},"engines":{"node":">=10"},"dependencies":{"@cytoswap/v3-core":"^1.0.3","@openzeppelin/contracts":"3.4.2-solc-0.7","@uniswap/lib":"^4.0.1-alpha","@uniswap/v2-core":"^1.0.1","base64-sol":"1.0.1"},"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.6.8","hardhat-contract-sizer":"^2.10.0","hardhat-typechain":"^0.3.5","hardhat-watcher":"^2.1.1","is-svg":"^4.3.1","mocha":"^6.2.2","mocha-chai-jest-snapshot":"^1.1.0","prettier":"^2.0.5","prettier-plugin-solidity":"^1.0.0-beta.10","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"},"gitHead":"38eaa2c4d60f32e6712ca60c0397a99f2d9665b4","bugs":{"url":"https://github.com/hela-cytoswap/cytoswap-v3-periphery/issues"},"_id":"@cytoswap/v3-periphery@1.5.0","_nodeVersion":"18.19.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-6Y6ouYFd3UJ98Uglo7tIJNK3oz1aGhNBQQBnBd3KUjuLjon/DHcN7QMk7Wj76wLQS3TwBXGiHejpJHgq/+eNxA==","shasum":"2c68bef7099c2f481c651aa243f4f6a020db79c5","tarball":"https://registry.npmjs.org/@cytoswap/v3-periphery/-/v3-periphery-1.5.0.tgz","fileCount":91,"unpackedSize":706119,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC276qG/CIJ9mjdodR7b8t6V6+/MD65dhE5xqDu61D0zQIgDJyaRaHk1cdnjgT+7Jaa8WuD2fzaVUEoar2ezfdLdR8="}]},"_npmUser":{"name":"snap.devs","email":"devs@snapresearch.io"},"directories":{},"maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/v3-periphery_1.5.0_1734602890253_0.8000793222164908"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-21T10:58:13.503Z","modified":"2024-12-19T10:08:10.713Z","1.4.5":"2024-02-21T10:58:13.779Z","1.4.6":"2024-02-21T11:24:14.026Z","1.4.7":"2024-02-22T11:08:04.995Z","1.4.8":"2024-02-22T11:12:21.829Z","1.4.9":"2024-02-28T03:00:55.832Z","1.5.0":"2024-12-19T10:08:10.504Z"},"license":"GPL-2.0-or-later","homepage":"https://cytoswap.com","keywords":["cytoswap","periphery","v3"],"repository":{"type":"git","url":"git+https://github.com/hela-cytoswap/cytoswap-v3-periphery.git"},"description":"Peripheral smart contracts for interacting with Cytoswap V3","maintainers":[{"name":"snap.devs","email":"devs@snapresearch.io"}],"readme":"# Cytoswap V3 Periphery\r\n\r\nThis repository contains the periphery smart contracts for the Cytoswap V3 Protocol.\r\nFor the lower level core contracts, see the [cytoswap-v3-core](https://gitlab.snapresearch.io/swapnity/cytoswap-sdk-core)\r\nrepository.\r\n\r\n## Bug bounty\r\n\r\nThis repository is subject to the Cytoswap V3 bug bounty program,\r\nper the terms defined [here](./bug-bounty.md).\r\n\r\n## Local deployment\r\n\r\nIn order to deploy this code to a local testnet, you should install the npm package\r\n`@cytoswap/v3-periphery`\r\nand import bytecode imported from artifacts located at\r\n`@cytoswap/v3-periphery/artifacts/contracts/*/*.json`.\r\nFor example:\r\n\r\n```typescript\r\nimport {\r\n  abi as SWAP_ROUTER_ABI,\r\n  bytecode as SWAP_ROUTER_BYTECODE,\r\n} from '@cytoswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json'\r\n\r\n// deploy the bytecode\r\n```\r\n\r\nThis will ensure that you are testing against the same bytecode that is deployed to\r\nmainnet and public testnets, and all Cytoswap code will correctly interoperate with\r\nyour local deployment.\r\n\r\n## Using solidity interfaces\r\n\r\nThe Cytoswap v3 periphery interfaces are available for import into solidity smart contracts\r\nvia the npm artifact `@cytoswap/v3-periphery`, e.g.:\r\n\r\n```solidity\r\nimport '@cytoswap/v3-periphery/contracts/interfaces/ISwapRouter.sol';\r\n\r\ncontract MyContract {\r\n  ISwapRouter router;\r\n\r\n  function doSomethingWithSwapRouter() {\r\n    // router.exactInput(...);\r\n  }\r\n}\r\n\r\n```\r\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/hela-cytoswap/cytoswap-v3-periphery/issues"}}