2020-05-29 14:55:31 +00:00
|
|
|
{
|
2020-05-29 15:28:55 +00:00
|
|
|
"name": "protocol-v2",
|
2020-05-29 14:55:31 +00:00
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Aave Protocol V2 smart contracts",
|
|
|
|
"scripts": {
|
|
|
|
"run-env": "npm i && tail -f /dev/null",
|
2020-11-05 11:18:20 +00:00
|
|
|
"hardhat": "hardhat",
|
|
|
|
"hardhat:kovan": "hardhat --network kovan",
|
|
|
|
"hardhat:ropsten": "hardhat--network ropsten",
|
|
|
|
"hardhat:main": "hardhat --network main",
|
|
|
|
"hardhat:docker": "hardhat --network hardhatevm_docker",
|
|
|
|
"compile": "SKIP_LOAD=true hardhat compile",
|
2020-11-05 12:44:20 +00:00
|
|
|
"test": "SKIP_LOAD=true TS_NODE_TRANSPILE_ONLY=1 hardhat test",
|
2020-11-05 11:18:20 +00:00
|
|
|
"test-scenarios": "npm run test -- test/__setup.spec.ts test/scenario.spec.ts",
|
|
|
|
"aave:evm:dev:migration": "hardhat aave:dev",
|
|
|
|
"aave:evm:full:migration": "hardhat aave:full",
|
|
|
|
"aave:docker:dev:migration": "npm run hardhat:docker -- aave:dev",
|
|
|
|
"aave:docker:full:migration": "npm run hardhat:docker -- aave:full",
|
|
|
|
"aave:kovan:dev:migration": "npm run hardhat:kovan -- aave:dev --verify",
|
|
|
|
"aave:kovan:full:migration": "npm run hardhat:kovan -- aave:full --verify",
|
|
|
|
"aave:kovan:full:initialize": "npm run hardhat:kovan -- full:initialize-lending-pool --verify --pool Aave",
|
|
|
|
"aave:ropsten:dev:migration": "npm run hardhat:ropsten -- aave:dev --verify",
|
|
|
|
"aave:ropsten:full:migration": "npm run hardhat:ropsten -- aave:full --verify",
|
|
|
|
"aave:main:dev:migration": "npm run hardhat:main -- aave:dev --verify",
|
|
|
|
"aave:main:full:migration": "npm run hardhat:main -- aave:full --verify",
|
|
|
|
"uniswap:evm:dev:migration": "hardhat uniswap:dev",
|
|
|
|
"uniswap:evm:full:migration": "hardhat uniswap:full --verify",
|
|
|
|
"uniswap:kovan:dev:migration": "npm run hardhat:kovan -- uniswap:dev --verify",
|
|
|
|
"uniswap:kovan:full:migration": "npm run hardhat:kovan -- uniswap:full --verify",
|
|
|
|
"uniswap:ropsten:dev:migration": "npm run hardhat:ropsten -- uniswap:dev --verify",
|
|
|
|
"uniswap:ropsten:full:migration": "npm run hardhat:ropsten -- uniswap:full --verify",
|
|
|
|
"uniswap:main:dev:migration": "npm run hardhat:main -- uniswap:dev --verify",
|
|
|
|
"uniswap:main:full:migration": "npm run hardhat:main -- uniswap:full --verify",
|
|
|
|
"test-repay-with-collateral": "hardhat test test/__setup.spec.ts test/repay-with-collateral.spec.ts",
|
|
|
|
"test-liquidate-with-collateral": "hardhat test test/__setup.spec.ts test/flash-liquidation-with-collateral.spec.ts",
|
|
|
|
"test-liquidate-underlying": "hardhat test test/__setup.spec.ts test/liquidation-underlying.spec.ts",
|
|
|
|
"test-configurator": "hardhat test test/__setup.spec.ts test/configurator.spec.ts",
|
|
|
|
"test-transfers": "hardhat test test/__setup.spec.ts test/atoken-transfer.spec.ts",
|
|
|
|
"test-flash": "hardhat test test/__setup.spec.ts test/flashloan.spec.ts",
|
|
|
|
"test-liquidate": "hardhat test test/__setup.spec.ts test/liquidation-atoken.spec.ts",
|
|
|
|
"test-deploy": "hardhat test test/__setup.spec.ts test/test-init.spec.ts",
|
|
|
|
"test-pausable": "hardhat test test/__setup.spec.ts test/pausable-functions.spec.ts",
|
|
|
|
"test-permit": "hardhat test test/__setup.spec.ts test/atoken-permit.spec.ts",
|
|
|
|
"test-stable-and-atokens": "hardhat test test/__setup.spec.ts test/atoken-transfer.spec.ts test/stable-token.spec.ts",
|
|
|
|
"test-subgraph:scenarios": "hardhat --network hardhatevm_docker test test/__setup.spec.ts test/subgraph-scenarios.spec.ts",
|
|
|
|
"test-weth": "hardhat test test/__setup.spec.ts test/weth-gateway.spec.ts",
|
2020-11-05 12:44:20 +00:00
|
|
|
"dev:coverage": "buidler compile --force && buidler coverage --network coverage",
|
2020-11-05 11:18:20 +00:00
|
|
|
"dev:deployment": "hardhat dev-deployment",
|
|
|
|
"dev:deployExample": "hardhat deploy-Example",
|
2020-08-21 12:11:01 +00:00
|
|
|
"dev:prettier": "prettier --write .",
|
2020-11-05 14:52:36 +00:00
|
|
|
"ci:test": "npm run compile && npm run test",
|
2020-11-02 13:45:00 +00:00
|
|
|
"ci:clean": "rm -rf ./artifacts ./cache ./types",
|
2020-11-05 11:18:20 +00:00
|
|
|
"print-contracts:kovan": "npm run hardhat:kovan -- print-contracts",
|
|
|
|
"print-contracts:main": "npm run hardhat:main -- print-contracts",
|
2020-11-06 12:54:50 +00:00
|
|
|
"print-contracts:ropsten": "npm run hardhat:main -- print-contracts",
|
2020-11-10 12:11:33 +00:00
|
|
|
"dev:deployUIProvider": "npm run hardhat:kovan deploy-UiPoolDataProvider",
|
2020-11-10 20:16:31 +00:00
|
|
|
"kovan:verify": "npm run hardhat:kovan verify:general -- --all --pool Aave",
|
|
|
|
"ropsten:verify": "npm run hardhat:ropsten verify:general -- --all --pool Aave",
|
|
|
|
"mainnet:verify": "npm run hardhat:main verify:general -- --all --pool Aave",
|
|
|
|
"kovan:verify:tokens": "npm run hardhat:kovan verify:tokens -- --pool Aave",
|
|
|
|
"ropsten:verify:tokens": "npm run hardhat:ropsten verify:tokens -- --pool Aave",
|
|
|
|
"mainnet:verify:tokens": "npm run hardhat:main verify:tokens -- --pool Aave"
|
2020-05-29 14:55:31 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-09-24 15:48:29 +00:00
|
|
|
"@nomiclabs/buidler": "^1.4.7",
|
2020-08-19 12:23:41 +00:00
|
|
|
"@nomiclabs/buidler-ethers": "2.0.0",
|
2020-09-24 15:48:29 +00:00
|
|
|
"@nomiclabs/buidler-etherscan": "^2.1.0",
|
2020-08-19 12:23:41 +00:00
|
|
|
"@nomiclabs/buidler-waffle": "2.0.0",
|
2020-11-05 11:18:20 +00:00
|
|
|
"@nomiclabs/hardhat-ethers": "^2.0.0",
|
|
|
|
"@nomiclabs/hardhat-waffle": "^2.0.0",
|
2020-06-26 14:58:52 +00:00
|
|
|
"@openzeppelin/contracts": "3.1.0",
|
2020-05-29 14:55:31 +00:00
|
|
|
"@typechain/ethers-v4": "1.0.0",
|
2020-08-21 15:11:15 +00:00
|
|
|
"@typechain/ethers-v5": "^1.0.0",
|
2020-05-29 14:55:31 +00:00
|
|
|
"@typechain/truffle-v4": "2.0.2",
|
|
|
|
"@typechain/truffle-v5": "2.0.2",
|
|
|
|
"@typechain/web3-v1": "1.0.0",
|
|
|
|
"@types/chai": "4.2.11",
|
|
|
|
"@types/lowdb": "1.0.9",
|
|
|
|
"@types/mocha": "7.0.2",
|
|
|
|
"@types/node": "14.0.5",
|
|
|
|
"bignumber.js": "9.0.0",
|
|
|
|
"buidler-typechain": "0.1.1",
|
2020-06-02 12:56:44 +00:00
|
|
|
"chai": "4.2.0",
|
2020-06-12 07:41:30 +00:00
|
|
|
"chai-bignumber": "3.0.0",
|
2020-07-08 15:26:50 +00:00
|
|
|
"chai-bn": "^0.2.1",
|
2020-10-30 10:14:42 +00:00
|
|
|
"dotenv": "^8.2.0",
|
2020-09-24 15:48:29 +00:00
|
|
|
"eth-sig-util": "2.5.3",
|
2020-08-19 12:23:41 +00:00
|
|
|
"ethereum-waffle": "3.0.2",
|
2020-09-24 15:48:29 +00:00
|
|
|
"ethereumjs-util": "7.0.2",
|
2020-08-19 12:23:41 +00:00
|
|
|
"ethers": "5.0.8",
|
2020-10-22 09:17:21 +00:00
|
|
|
"globby": "^11.0.1",
|
2020-11-05 11:18:20 +00:00
|
|
|
"hardhat": "^2.0.2",
|
|
|
|
"hardhat-gas-reporter": "^1.0.0",
|
|
|
|
"hardhat-typechain": "^0.3.3",
|
2020-06-20 23:40:03 +00:00
|
|
|
"husky": "^4.2.5",
|
2020-05-29 14:55:31 +00:00
|
|
|
"lowdb": "1.0.0",
|
2020-06-02 12:56:44 +00:00
|
|
|
"prettier": "^2.0.5",
|
|
|
|
"prettier-plugin-solidity": "^1.0.0-alpha.53",
|
2020-07-13 08:54:08 +00:00
|
|
|
"pretty-quick": "^2.0.1",
|
2020-08-19 12:23:41 +00:00
|
|
|
"solidity-coverage": "0.7.10",
|
2020-11-09 18:28:13 +00:00
|
|
|
"temp-hardhat-etherscan": "^2.0.2",
|
2020-05-29 14:55:31 +00:00
|
|
|
"ts-generator": "0.0.8",
|
2020-11-05 11:18:20 +00:00
|
|
|
"ts-node": "^8.10.2",
|
2020-06-18 12:41:23 +00:00
|
|
|
"tslint": "^6.1.2",
|
|
|
|
"tslint-config-prettier": "^1.18.0",
|
|
|
|
"tslint-plugin-prettier": "^2.3.0",
|
2020-06-02 12:56:44 +00:00
|
|
|
"typechain": "2.0.0",
|
2020-11-05 11:18:20 +00:00
|
|
|
"typescript": "^3.9.3"
|
2020-05-29 14:55:31 +00:00
|
|
|
},
|
2020-07-13 08:54:08 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "pretty-quick --staged"
|
|
|
|
}
|
|
|
|
},
|
2020-05-29 14:55:31 +00:00
|
|
|
"author": "Aave",
|
|
|
|
"contributors": [
|
|
|
|
{
|
|
|
|
"name": "Ernesto Boado",
|
|
|
|
"email": "ernesto@aave.com"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Emilio Frangella",
|
|
|
|
"email": "emilio@aave.com"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Andrey Kozlov",
|
|
|
|
"email": "andrey@aave.com"
|
|
|
|
}
|
|
|
|
],
|
2020-09-24 15:48:29 +00:00
|
|
|
"license": "AGPLv3",
|
|
|
|
"dependencies": {
|
|
|
|
"tmp-promise": "^3.0.2"
|
|
|
|
}
|
2020-05-29 14:55:31 +00:00
|
|
|
}
|