{"_id":"@airdao/astra-cl-core","name":"@airdao/astra-cl-core","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@airdao/astra-cl-core","description":"Core smart contracts of Astra CL version","license":"BUSL-1.1","version":"1.0.0","keywords":[],"engines":{"node":">=10"},"dependencies":{"dotenv":"^16.4.5","tsconfig-paths":"^4.2.0"},"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"},"scripts":{"compile":"hardhat compile","test":"hardhat test"},"_id":"@airdao/astra-cl-core@1.0.0","dist":{"shasum":"3a8a7fed00793f220a1ba43b73be4e7dcd2d296e","integrity":"sha512-GUzjdmRc3dTQae2DVp/zBuH+0n1vEZYCOcT6ku/GmJvzCWWbuRLZCgd/i/x5J6DifK4jjGpjxjkFr0Qxn6NFUQ==","tarball":"https://registry.npmjs.org/@airdao/astra-cl-core/-/astra-cl-core-1.0.0.tgz","fileCount":416,"unpackedSize":9283335,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGXjL1vy2GMQWFAVf1aRn4YfMAVBVhlxwtkquT6vowCAiEAv+bzwHsT2vi3LDD2LO6HYf9hNz+SS84Q7RXqzb11MTo="}]},"_npmUser":{"name":"tech_airdao","email":"support@airdao.io"},"directories":{},"maintainers":[{"name":"november-pain","email":"m.chikita@inc4.net"},{"name":"tech_airdao","email":"support@airdao.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astra-cl-core_1.0.0_1731327727640_0.8563761530717184"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-11T12:22:07.556Z","1.0.0":"2024-11-11T12:22:07.927Z","modified":"2024-11-11T12:22:08.208Z"},"maintainers":[{"name":"november-pain","email":"m.chikita@inc4.net"},{"name":"tech_airdao","email":"support@airdao.io"}],"description":"Core smart contracts of Astra CL version","keywords":[],"license":"BUSL-1.1","readme":"# Astra CL Core\n\nThis repository contains the core smart contracts for the Astra CL Protocol.\nFor higher level contracts, see the [astra-cl-periphery](https://github.com/airdao/astra-cl-periphery)\nrepository.\n\n## Local deployment\n\nIn order to deploy this code to a local testnet, you should install the npm package\n`@airdao/astra-cl-core`\nand import the factory bytecode located at\n`@airdao/astra-cl-core/artifacts/contracts/AstraCLFactory.sol/AstraCLFactory.json`.\nFor example:\n\n```typescript\nimport {\n  abi as FACTORY_ABI,\n  bytecode as FACTORY_BYTECODE,\n} from '@airdao/astra-cl-core/artifacts/contracts/AstraCLFactory.sol/AstraCLFactory.sol.json'\n\n// deploy the bytecode\n```\n\nThis will ensure that you are testing against the same bytecode that is deployed to\nAMB mainnet, testnet and devnet, and all Astra code will correctly interoperate with\nyour local deployment.\n\n## Using solidity interfaces\n\nThe Astra CL interfaces are available for import into solidity smart contracts\nvia the npm artifact `@airdao/astra-cl-core`, e.g.:\n\n```solidity\nimport '@airdao/astra-cl-core/contracts/interfaces/IAstraCLPool.sol';\n\ncontract MyContract {\n  IAstraCLPool pool;\n\n  function doSomethingWithPool() {\n    // pool.swap(...);\n  }\n}\n```\n","readmeFilename":"README.md"}