2020-05-29 14:55:31 +00:00
{
2021-01-26 11:56:36 +00:00
"name" : "@aave/protocol-v2" ,
2021-01-26 12:46:48 +00:00
"version" : "1.0.1" ,
2020-05-29 14:55:31 +00:00
"description" : "Aave Protocol V2 smart contracts" ,
2021-01-26 11:56:36 +00:00
"files" : [
"contracts" ,
"artifacts"
] ,
2020-05-29 14:55:31 +00:00
"scripts" : {
"run-env" : "npm i && tail -f /dev/null" ,
2020-11-05 11:18:20 +00:00
"hardhat" : "hardhat" ,
"hardhat:kovan" : "hardhat --network kovan" ,
2020-11-12 13:12:26 +00:00
"hardhat:tenderly-main" : "hardhat --network tenderlyMain" ,
2021-03-16 21:52:40 +00:00
"hardhat:ropsten" : "hardhat --network ropsten" ,
2020-11-05 11:18:20 +00:00
"hardhat:main" : "hardhat --network main" ,
"hardhat:docker" : "hardhat --network hardhatevm_docker" ,
2021-02-19 23:50:24 +00:00
"hardhat:mumbai" : "hardhat --network mumbai" ,
2021-02-20 02:58:10 +00:00
"hardhat:matic" : "hardhat --network matic" ,
2020-11-05 11:18:20 +00:00
"compile" : "SKIP_LOAD=true hardhat compile" ,
2021-01-07 12:45:18 +00:00
"console:fork" : "MAINNET_FORK=true hardhat console" ,
2021-02-07 03:10:29 +00:00
"test" : "TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-aave/*.spec.ts" ,
2021-02-23 15:59:02 +00:00
"test-amm" : "TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-amm/*.spec.ts" ,
"test-amm-scenarios" : "TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-amm/__setup.spec.ts test-suites/test-amm/scenario.spec.ts" ,
2021-02-07 03:10:29 +00:00
"test-scenarios" : "npx hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/scenario.spec.ts" ,
"test-repay-with-collateral" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/repay-with-collateral.spec.ts" ,
"test-liquidate-with-collateral" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/flash-liquidation-with-collateral.spec.ts" ,
"test-liquidate-underlying" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/liquidation-underlying.spec.ts" ,
"test-configurator" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/configurator.spec.ts" ,
"test-transfers" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/atoken-transfer.spec.ts" ,
"test-flash" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/flashloan.spec.ts" ,
"test-liquidate" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/liquidation-atoken.spec.ts" ,
"test-deploy" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/test-init.spec.ts" ,
"test-pausable" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/pausable-functions.spec.ts" ,
"test-permit" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/atoken-permit.spec.ts" ,
"test-stable-and-atokens" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/atoken-transfer.spec.ts test-suites/test-aave/stable-token.spec.ts" ,
"test-subgraph:scenarios" : "hardhat --network hardhatevm_docker test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/subgraph-scenarios.spec.ts" ,
2021-02-22 12:23:52 +00:00
"test-weth:main" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/weth-gateway.spec.ts" ,
2021-02-23 15:59:02 +00:00
"test-weth:amm" : "hardhat test test-suites/test-amm/__setup.spec.ts test-suites/test-amm/weth-gateway.spec.ts" ,
2021-02-07 03:10:29 +00:00
"test-uniswap" : "hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/uniswapAdapters*.spec.ts" ,
"test:main:check-list" : "MAINNET_FORK=true TS_NODE_TRANSPILE_ONLY=1 hardhat test test-suites/test-aave/__setup.spec.ts test-suites/test-aave/mainnet/check-list.spec.ts" ,
2020-11-05 12:44:20 +00:00
"dev:coverage" : "buidler compile --force && buidler coverage --network coverage" ,
2020-11-17 08:33:45 +00:00
"aave:evm:dev:migration" : "npm run compile && hardhat aave:dev" ,
2020-11-17 09:24:24 +00:00
"aave:docker:full:migration" : "npm run compile && npm run hardhat:docker -- aave:mainnet" ,
"aave:kovan:full:migration" : "npm run compile && npm run hardhat:kovan -- aave:mainnet --verify" ,
2021-03-31 12:13:44 +00:00
"matic:mumbai:full:migration" : "npm run compile && npm run hardhat:mumbai sidechain:mainnet -- --pool Matic" ,
"matic:matic:full:migration" : "npm run compile && npm run hardhat:matic sidechain:mainnet -- --pool Matic" ,
2021-02-23 15:59:02 +00:00
"amm:kovan:full:migration" : "npm run compile && npm run hardhat:kovan -- amm:mainnet --verify" ,
2020-11-17 08:33:45 +00:00
"aave:kovan:full:initialize" : "npm run hardhat:kovan -- full:initialize-lending-pool --verify --pool Aave" ,
2020-11-17 09:24:24 +00:00
"aave:ropsten:full:migration" : "npm run compile && npm run hardhat:ropsten -- aave:mainnet --verify" ,
2020-11-17 08:33:45 +00:00
"aave:fork:main:tenderly" : "npm run compile && npm run hardhat:tenderly-main -- aave:mainnet" ,
2020-12-25 05:47:30 +00:00
"aave:fork:main" : "npm run compile && MAINNET_FORK=true hardhat aave:mainnet" ,
2021-02-23 15:59:02 +00:00
"amm:fork:main" : "npm run compile && MAINNET_FORK=true hardhat amm:mainnet" ,
2021-03-02 16:21:04 +00:00
"amm:fork:main:tenderly" : "npm run compile && npm run hardhat:tenderly-main -- amm:mainnet" ,
2020-11-30 18:25:06 +00:00
"aave:main:full:migration" : "npm run compile && npm run hardhat:main -- aave:mainnet --verify" ,
2020-12-01 11:39:54 +00:00
"aave:main:full:initialize" : "npm run compile && MAINNET_FORK=true full:initialize-tokens --pool Aave" ,
2021-02-24 22:36:16 +00:00
"amm:main:full:migration" : "npm run compile && npm run hardhat:main -- amm:mainnet --verify" ,
2021-02-07 03:10:29 +00:00
"prettier:check" : "npx prettier -c 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-aave/**/*.ts'" ,
"prettier:write" : "prettier --write 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-aave/**/*.ts'" ,
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" ,
2021-04-19 15:23:45 +00:00
"dev:deployUIProvider" : "hardhat --network kovan deploy-UiPoolDataProvider --verify" ,
"main:deployUIProvider" : "hardhat --network main deploy-UiPoolDataProvider --verify" ,
2021-03-30 11:17:08 +00:00
"matic:deployUIProvider" : "hardhat --network matic deploy-UiPoolDataProvider" ,
2021-04-09 08:57:01 +00:00
"mumbai:deployUIProvider" : "hardhat --network mumbai deploy-UiPoolDataProvider" ,
2020-12-02 15:56:38 +00:00
"dev:deployUniswapRepayAdapter" : "hardhat --network kovan deploy-UniswapRepayAdapter --provider 0x88757f2f99175387aB4C6a4b3067c77A695b0349 --router 0xfcd87315f0e4067070ade8682fcdbc3006631441 --weth 0xd0a1e359811322d97991e03f863a0c30c2cf029c" ,
"dev:UniswapLiquiditySwapAdapter" : "hardhat --network kovan deploy-UniswapLiquiditySwapAdapter --provider 0x88757f2f99175387aB4C6a4b3067c77A695b0349 --router 0xfcd87315f0e4067070ade8682fcdbc3006631441 --weth 0xd0a1e359811322d97991e03f863a0c30c2cf029c" ,
"main:deployUniswapRepayAdapter" : "hardhat --network main deploy-UniswapRepayAdapter --provider 0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5 --router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D --weth 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" ,
"main:UniswapLiquiditySwapAdapter" : "hardhat --network main deploy-UniswapLiquiditySwapAdapter --provider 0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5 --router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D --weth 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" ,
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" ,
2021-03-11 15:55:04 +00:00
"matic:mumbai:verify" : "npm run hardhat:mumbai verify:general -- --all --pool Matic" ,
"matic:mainnet:verify" : "npm run hardhat:matic verify:general -- --all --pool Matic" ,
"matic:mumbai:verify:tokens" : "npm run hardhat:mumbai verify:tokens -- --pool Matic" ,
"matic:mainnet:verify:tokens" : "npm run hardhat:matic verify:tokens -- --pool Matic" ,
2020-11-10 20:16:31 +00:00
"kovan:verify:tokens" : "npm run hardhat:kovan verify:tokens -- --pool Aave" ,
"ropsten:verify:tokens" : "npm run hardhat:ropsten verify:tokens -- --pool Aave" ,
2020-11-30 18:25:06 +00:00
"mainnet:verify:tokens" : "npm run hardhat:main verify:tokens -- --pool Aave" ,
2020-11-30 18:47:16 +00:00
"print-config:fork:mainnet" : "MAINNET_FORK=true hardhat print-config:fork" ,
2020-12-01 11:39:54 +00:00
"print-config:kovan" : "hardhat --network kovan print-config --pool Aave --data-provider 0xA1901785c29cBd48bfA74e46b67C736b26054fa4" ,
2020-12-22 10:37:08 +00:00
"external:deploy-assets-kovan" : "npm run compile && hardhat --network kovan external:deploy-new-asset --symbol ${SYMBOL} --verify" ,
2021-01-26 11:56:36 +00:00
"external:deploy-assets-main" : "npm run compile && hardhat --network main external:deploy-new-asset --symbol ${SYMBOL} --verify" ,
"prepublishOnly" : "npm run compile"
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" ,
2021-03-03 11:25:10 +00:00
"@tenderly/hardhat-tenderly" : "^1.1.0-beta.4" ,
2020-05-29 14:55:31 +00:00
"@typechain/ethers-v4" : "1.0.0" ,
2020-11-18 18:18:02 +00:00
"@typechain/ethers-v5" : "^2.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-11-18 18:18:02 +00:00
"ethers" : "^5.0.19" ,
2020-10-22 09:17:21 +00:00
"globby" : "^11.0.1" ,
2021-04-23 14:07:14 +00:00
"hardhat" : "^2.2.0" ,
2020-11-05 11:18:20 +00:00
"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" ,
2021-04-23 16:04:43 +00:00
"solidity-coverage" : "^0.7.16" ,
2020-11-09 18:28:13 +00:00
"temp-hardhat-etherscan" : "^2.0.2" ,
2020-11-18 18:18:02 +00:00
"ts-generator" : "^0.1.1" ,
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-11-18 18:18:02 +00:00
"typechain" : "^4.0.0" ,
"typescript" : "^4.0.5"
2020-05-29 14:55:31 +00:00
} ,
2020-07-13 08:54:08 +00:00
"husky" : {
"hooks" : {
2021-02-07 03:10:29 +00:00
"pre-commit" : "pretty-quick --staged --pattern 'contracts/**/*.sol' --pattern 'helpers/**/*.ts' --pattern 'test-suites/test-aave/**/*.ts' --pattern 'tasks/**/*.ts'"
2020-07-13 08:54:08 +00:00
}
} ,
2020-05-29 14:55:31 +00:00
"author" : "Aave" ,
"contributors" : [
2021-01-26 11:56:36 +00:00
"Ernesto Boado <ernesto@aave.com>" ,
"Emilio Frangella <emilio@aave.com>" ,
"Andrey Kozlov <andrey@aave.com>" ,
"David Racero <david.k@aave.com>" ,
"Pol Sendra <pol@aave.com>" ,
"David Truong <david@aave.com>"
2020-05-29 14:55:31 +00:00
] ,
2020-09-24 15:48:29 +00:00
"license" : "AGPLv3" ,
"dependencies" : {
2021-03-11 15:55:04 +00:00
"axios-curlirize" : "^1.3.7" ,
2020-09-24 15:48:29 +00:00
"tmp-promise" : "^3.0.2"
2021-01-26 11:56:36 +00:00
} ,
"keywords" : [
"aave" ,
"protocol" ,
"protocol-v2" ,
"ethereum" ,
"solidity"
]
2020-05-29 14:55:31 +00:00
}