-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
34 lines (34 loc) · 2.02 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
{
"name": "cdp_bot",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prettier": "prettier --write **.sol && prettier --write ./scripts/*.ts",
"prettier:check-solidity": "prettier --check **.sol",
"prettier:check-scripts": "prettier --check ./scripts/*.ts",
"test": "forge test -vv --fork-url $(grep POLYGON_RPC .env | cut -d '=' -f2) --fork-block-number 37062347 --match-contract BotPolygonTest",
"test:better": "forge test -vvvv --fork-url $(grep POLYGON_RPC .env | cut -d '=' -f2) --fork-block-number 37062347 --etherscan-api-key $(grep ETHERSCAN_API_KEY .env | cut -d '=' -f2) --match-contract BotPolygonTest",
"size": "forge build --sizes --force --via-ir",
"compile": "forge build",
"deploy:goerli": "forge script contracts/src/script/Deployment.s.sol:Deployment --rpc-url $(grep GOERLI_RPC .env | cut -d '=' -f2) --private-key $(grep PRIVATE_KEY .env | cut -d '=' -f2) -vvv",
"deploy:polygon": "forge script contracts/src/script/Deployment.s.sol:Deployment --rpc-url $(grep POLYGON_RPC .env | cut -d '=' -f2) --private-key $(grep PRIVATE_KEY .env | cut -d '=' -f2) -vvv",
"build-graph": "graphclient build",
"run-bot": "node --loader ts-node/esm scripts/index.ts",
"test-deploy": "forge script contracts/src/test-deployment/EnvSetup.s.sol:EnvSetup --rpc-url http://localhost:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 -vv",
"gas-prices": "forge test --gas-report -vvv --fork-url $(grep POLYGON_RPC .env | cut -d '=' -f2) --etherscan-api-key $(grep ETHERSCAN_API_KEY .env | cut -d '=' -f2) --match-contract GasEstimationTest --fork-block-number 40359450"
},
"dependencies": {
"@ethersproject/experimental": "^5.7.0",
"@graphprotocol/client-cli": "^2.2.16",
"@uniswap/v3-periphery": "^1.4.3",
"@uniswap/v3-sdk": "^3.9.0",
"axios": "^1.2.2",
"dotenv": "^16.0.3",
"ethers": "^5.7.2",
"graphql": "^16.6.0",
"pino": "^8.11.0",
"prettier": "^2.8.1",
"prettier-plugin-solidity": "^1.1.0",
"ts-node": "^10.9.1"
}
}