{"_id":"@chanceprotocol/aave-v3-yield-source","name":"@chanceprotocol/aave-v3-yield-source","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.1":{"name":"@chanceprotocol/aave-v3-yield-source","version":"1.1.1","description":"PoolTogether Aave V3 Yield Source","main":"index.js","license":"GPL-3.0","dependencies":{"@aave/core-v3":"1.13.1","@aave/periphery-v3":"1.10.0","@openzeppelin/contracts":"4.5.0","@chanceprotocol/owner-manager-contracts":"1.1.0","@chanceprotocol/yield-source-interface":"1.4.0"},"devDependencies":{"@nomiclabs/hardhat-ethers":"2.0.5","@nomiclabs/hardhat-etherscan":"3.0.3","@nomiclabs/hardhat-waffle":"2.0.3","@typechain/ethers-v5":"10.0.0","@typechain/hardhat":"6.0.0","@types/chai":"4.3.1","@types/debug":"4.1.7","@types/mocha":"9.1.0","@types/node":"17.0.24","chai":"4.3.6","chalk":"4.1.2","debug":"4.3.4","ethereum-waffle":"3.4.4","ethers":"5.6.4","hardhat":"2.9.3","hardhat-abi-exporter":"2.8.0","hardhat-deploy":"0.11.4","hardhat-deploy-ethers":"0.3.0-beta.13","hardhat-ethers":"1.0.1","hardhat-gas-reporter":"1.0.8","hardhat-log-remover":"2.0.2","npm-run-all":"4.1.5","prettier":"2.6.2","prettier-plugin-solidity":"1.0.0-beta.19","solc":"0.8.10","solc-0.8":"npm:solc@0.8.10","solhint":"3.3.7","solidity-coverage":"0.7.20","solidity-docgen":"0.5.16","ts-generator":"0.1.1","ts-node":"10.7.0","typechain":"8.0.0","typescript":"4.6.3","wait-on":"6.0.1","@chanceprotocol/v4-periphery":"1.4.0","@chanceprotocol/v4-core":"1.3.1","@chanceprotocol/v4-timelocks":"1.1.0"},"scripts":{"clean":"rm -rf cache/ artifacts/","compile":"mkdir -p abis && hardhat --show-stack-traces --max-memory 8192 compile","coverage":"HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true hardhat coverage","coverage:file":"HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true hardhat coverage --testfiles","docs":"solidity-docgen --solc-module solc -i contracts -o docs -t templates","deploy":"hardhat deploy --write true --network","verify":"hardhat etherscan-verify --license GPL-3.0 --solc-input --network","etherscan-verify":"hardhat etherscan:verify --network","etherscan-verify-polygon":"hardhat --config hardhat.config.polygon.js run ./scripts/verify.js --network","format":"prettier --config .prettierrc --write \"**/*.{ts,js}\" \"contracts/**/*.sol\"","format:file":"prettier --config .prettierrc --write","hint":"solhint \"contracts/**/*.sol\"","start-fork":"FORK_ENABLED=true hardhat node --no-reset --no-deploy","impersonate":"hardhat --network localhost fork:impersonate ","distribute":"hardhat --network localhost fork:distribute","create-pool":"hardhat --network localhost fork:create-pool","run-fork":"wait-on tcp:8545 && yarn impersonate && yarn distribute && hardhat --network localhost fork:yield-source","run-yield-source-fork":"rm -rf ./deployments/localhost && npm-run-all -p -r start-fork run-fork","remove-logs":"yarn run hardhat remove-logs","test":"yarn clean && HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true hardhat test","typechain":"typechain --target=ethers-v5 \"./abis/*.json\" --out-dir \"./types\""},"_id":"@chanceprotocol/aave-v3-yield-source@1.1.1","_integrity":"sha512-0aBqRSWIoRm8auspBojtG0jaI+ZU70w+p2ovZiAVwzpIWVtbND9btUIt9Kewgi83W0uDeEknKgzDD6Wwt62lcA==","_resolved":"/tmp/346ad63bde5a8d7dd588ec0558f63588/chanceprotocol-aave-v3-yield-source-1.1.1.tgz","_from":"file:chanceprotocol-aave-v3-yield-source-1.1.1.tgz","_nodeVersion":"16.15.1","_npmVersion":"9.6.5","dist":{"integrity":"sha512-0aBqRSWIoRm8auspBojtG0jaI+ZU70w+p2ovZiAVwzpIWVtbND9btUIt9Kewgi83W0uDeEknKgzDD6Wwt62lcA==","shasum":"a2bdc4d3c933e10b552a3e00e38d16f8e1a75c4d","tarball":"https://registry.npmjs.org/@chanceprotocol/aave-v3-yield-source/-/aave-v3-yield-source-1.1.1.tgz","fileCount":109,"unpackedSize":11130607,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAJ+b84QldjeNamAXRXAKrUc63dHoHARPkPNj2LV3GkAiA9vDB2idDAgzdc04mwnG5EXfBpaGnxNpHiouLWPCqmgQ=="}]},"_npmUser":{"name":"chanceprotocol","email":"chance@netixsol.com"},"directories":{},"maintainers":[{"name":"chanceprotocol","email":"chance@netixsol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aave-v3-yield-source_1.1.1_1692257299617_0.4562298960441449"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-17T07:28:19.542Z","1.1.1":"2023-08-17T07:28:19.878Z","modified":"2023-08-17T07:28:20.141Z"},"maintainers":[{"name":"chanceprotocol","email":"chance@netixsol.com"}],"description":"PoolTogether Aave V3 Yield Source","license":"GPL-3.0","readme":"<p align=\"center\">\n  <a href=\"https://github.com/pooltogether/pooltogether--brand-assets\">\n    <img src=\"https://github.com/pooltogether/pooltogether--brand-assets/blob/977e03604c49c63314450b5d432fe57d34747c66/logo/pooltogether-logo--purple-gradient.png?raw=true\" alt=\"PoolTogether Brand\" style=\"max-width:100%;\" width=\"200\">\n  </a>\n</p>\n\n<br />\n\n# PoolTogether Aave V3 Yield Source 👻\n\n![Fork](https://github.com/pooltogether/aave-v3-yield-source/actions/workflows/fork.yml/badge.svg)\n![Tests](https://github.com/pooltogether/aave-v3-yield-source/actions/workflows/coveralls.yml/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/pooltogether/aave-v3-yield-source/badge.svg)](https://coveralls.io/github/pooltogether/aave-v3-yield-source)\n[![built-with openzeppelin](https://img.shields.io/badge/built%20with-OpenZeppelin-3677FF)](https://docs.openzeppelin.com/)\n[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)\n\nPoolTogether Yield Source that uses [Aave](https://aave.com) V3 to generate yield by lending any ERC20 token deposited into the Yield Source to Aave.\n\n## Development\n\nClone this repository and enter the directory:\n```\ncd aave-v3-yield-source\n```\n\n### Installation\n\nInstall dependencies:\n\n```\nyarn\n```\n\n\n### Env\n\nWe use [direnv](https://direnv.net) to manage environment variables. You'll likely need to install it.\n\nCopy `.envrc.example` and write down the env variables needed to run this project.\n```\ncp .envrc.example .envrc\n```\n\nOnce your env variables are setup, load them with:\n```\ndirenv allow\n```\n\n### Compile\n\nRun the following command to compile the contract:\n```\nyarn compile\n```\n\n### Test\n\nWe use the [Hardhat](https://hardhat.org) ecosystem to test our contracts.\n\nTo run unit tests:\n\n```\nyarn test\n```\n\nTo run coverage:\n\n```\nyarn coverage\n```\n\n### Polygon fork\n\nBefore deploying, you can make sure your implementation works by deploying a Yield Source Prize Pool on a fork of Polygon.\n\nTo do so, run the following command:\n```\nyarn run-yield-source-fork\n```\n\n\n### Code quality\n\n[Prettier](https://prettier.io) is used to format TypeScript and Solidity code. Use it by running:\n\n```\nyarn format\n```\n\n[Solhint](https://protofire.github.io/solhint/) is used to lint Solidity files. Run it with:\n```\nyarn hint\n```\n\n[TypeChain](https://github.com/ethereum-ts/Typechain) is used to generates types for scripts and tests. Generate types by running:\n```\nyarn typechain\n```\n","readmeFilename":"README.md"}