forked from beefyfinance/beefy-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 4.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "beefy-proto",
"version": "0.5.0",
"private": true,
"dependencies": {
"@uniswap/lib": "^4.0.1-alpha",
"@uniswap/v2-core": "^1.0.1",
"bignumber.js": "^9.0.1",
"blockchain-addressbook": "^0.19.2",
"keccak": "^3.0.1",
"rlp": "^2.2.6",
"ts-node": "^10.1.0",
"typescript": "^4.3.5"
},
"scripts": {
"clean": "rm -r artifacts cache",
"net": "hardhat node --fork",
"net:bsc": "yarn net bsc",
"compile": "hardhat compile",
"ganache:bsc": "ganache-cli --fork ${BSC_RPC} --account=\"${DEPLOYER_PK}, 1000000000000000000000000\" --account=\"${KEEPER_PK}, 1000000000000000000000000\" --account=\"${UPGRADER_PK}, 1000000000000000000000000\" --account=\"${REWARDER_PK}, 1000000000000000000000000\"",
"ganache:heco": "ganache-cli --fork ${HECO_RPC} --account=\"${DEPLOYER_PK}, 1000000000000000000000000\" --account=\"${KEEPER_PK}, 1000000000000000000000000\" --account=\"${UPGRADER_PK}, 1000000000000000000000000\" --account=\"${REWARDER_PK}, 1000000000000000000000000\"",
"ganache:avax": "ganache-cli --fork ${AVAX_RPC} --account=\"${DEPLOYER_PK}, 1000000000000000000000000\" --account=\"${KEEPER_PK}, 1000000000000000000000000\" --account=\"${UPGRADER_PK}, 1000000000000000000000000\" --account=\"${REWARDER_PK}, 1000000000000000000000000\"",
"ganache:polygon": "ganache-cli --fork ${POLYGON_RPC} --account=\"${DEPLOYER_PK}, 1000000000000000000000000\" --account=\"${KEEPER_PK}, 1000000000000000000000000\" --account=\"${UPGRADER_PK}, 1000000000000000000000000\" --account=\"${REWARDER_PK}, 1000000000000000000000000\"",
"ganache:fantom": "ganache-cli --fork ${FANTOM_RPC} --account=\"${DEPLOYER_PK}, 1000000000000000000000000\" --account=\"${KEEPER_PK}, 1000000000000000000000000\" --account=\"${UPGRADER_PK}, 1000000000000000000000000\" --account=\"${REWARDER_PK}, 1000000000000000000000000\"",
"all": "yarn clean && yarn compile && yarn net",
"test": "hardhat test --network localhost",
"test:vault": "hardhat test --network localhost test/prod/VaultLifecycle.test.js",
"test:upgrade": "hardhat test --network localhost test/prod/StratTimelockUpgrade.test.js",
"test:registry": "hardhat test --network localhost test/infra/BeefyVaultRegistry.test.ts",
"test:harvester": "hardhat test --network localhost test/infra/BeefyAutoHarvester.test.ts",
"deploy:chef": "hardhat run scripts/vault/deploy-generic-chef-strat.ts --network",
"deploy:rewardPool": "hardhat run scripts/vault/deploy-generic-rewardPool-strat.ts --network",
"deploy:lend": "hardhat run scripts/vault/deploy-strat-lend.ts --network",
"deploy:timelock": "hardhat run scripts/infra/deployTimelockController.js --network",
"deploy:chain": "hardhat run scripts/infra/deployChain.js --network",
"deploy:registry": "hardhat run scripts/infra/deployRegistry.ts --network",
"deploy:autoHarvester": "hardhat run scripts/infra/deployAutoHarvester.ts --network",
"flat-hardhat": "hardhat flatten contracts/BIFI/infra/BeefyFeeBatchV2.sol > tmp/flattened.sol",
"flat": "bin/flatten.sh",
"flat:chain": "bin/flattenChainContracts.sh",
"abi-to-sol": "abi-to-sol"
},
"devDependencies": {
"@chainlink/contracts": "^0.2.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin-2/contracts": "npm:@openzeppelin/[email protected]",
"@openzeppelin-4/contracts": "npm:@openzeppelin/contracts",
"@openzeppelin/contracts": "^3.4.2",
"@openzeppelin/contracts-upgradeable": "^4.4.1",
"@openzeppelin/hardhat-upgrades": "^1.14.0",
"@openzeppelin/upgrades-core": "^1.9.2",
"@typechain/ethers-v5": "^8.0.5",
"@typechain/hardhat": "^3.0.0",
"@types/chai": "^4.3.0",
"@types/keccak": "^3.0.1",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.12",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"@uniswap/v2-core": "^1.0.1",
"abi-to-sol": "^0.5.2",
"axios": "^0.21.2",
"chai": "^4.2.0",
"dotenv": "^10.0.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.2.0",
"eth-multicall": "^1.4.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.2",
"hardhat": "^2.7.1",
"hardhat-gas-reporter": "^1.0.6",
"mocha": "^9.1.1",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.17",
"truffle-flattener": "^1.5.0",
"typechain": "^6.0.5",
"web3": "^1.6.0"
}
}