-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 3.2 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 3.2 KB
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
{
"name": "valantis-HOT",
"version": "1.0.0",
"main": "index.js",
"author": "Valantis Labs",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npx pretty-quick --staged && yarn format && yarn lint && forge build"
}
},
"scripts": {
"coverage:lcov": "forge coverage --report lcov && lcov --remove ./lcov.info -o ./lcov.info.pruned 'test' && genhtml lcov.info.pruned -o coverage/html && open coverage/html/index.html",
"lint": "solhint 'src/**/*.sol'",
"format": "npx prettier --write .",
"format:contracts": "npx prettier --write src/**/*.sol",
"test-foundry": "forge test -vvv",
"test-hardhat": "npx hardhat test --parallel",
"postinstall": "husky install",
"compile": "forge-deploy gen-deployer && forge build",
"deploy:ProtocolFactory": "eval $(grep '^RPC_URL' .env) && forge script scripts/deploy/00_ProtocolFactoryDeploy.s.sol:ProtocolFactoryDeployScript --rpc-url $RPC_URL",
"deploy:SovereignPoolFactory": "eval $(grep '^RPC_URL' .env) && forge script scripts/deploy/01_SovereignPoolFactoryDeploy.s.sol:SovereignPoolFactoryDeployScript --rpc-url $RPC_URL",
"deploy:SovereignPool": "eval $(grep '^RPC_URL' .env) && forge script scripts/deploy/02_SovereignPoolDeploy.s.sol:SovereignPoolDeployScript --rpc-url $RPC_URL",
"deploy:HOT": "eval $(grep '^RPC_URL' .env) && forge script scripts/deploy/03_HOTDeploy.s.sol:HOTDeployScript --rpc-url $RPC_URL",
"arb:HOT": "eval $(grep '^RPC_URL' .env) && forge script scripts/swap/HOTArb.s.sol:HOTArbScript --rpc-url $RPC_URL",
"query:HOT": "eval $(grep '^RPC_URL' .env) && forge script scripts/utils/HOTQuery.s.sol:HOTQueryScript --rpc-url $RPC_URL",
"deposit:HOT": "eval $(grep '^RPC_URL' .env) && forge script scripts/deposit/HOTDeposit.s.sol:HOTDepositScript --rpc-url $RPC_URL",
"demo-viem:HOT": "npx ts-node scripts/hot-example/demo-viem.ts",
"demo-viem:HOT-partial-fill": "npx ts-node scripts/hot-example/demo-viem-partial-fill.ts",
"demo-amm-viem": "npx ts-node scripts/hot-example/demo-amm-viem.ts",
"demo-ethers:HOT": "npx ts-node scripts/hot-example/demo-ethers.ts",
"demo-ethers:HOT-partial-fill": "npx ts-node scripts/hot-example/demo-ethers-partial-fill.ts"
},
"dependencies": {
"@nomicfoundation/hardhat-foundry": "^1.1.1",
"dotenv": "^16.3.1",
"viem": "^2.10.5"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.0",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.0.0",
"@types/chai": "^4.2.0",
"@types/chai-as-promised": "^7.1.6",
"@types/mocha": ">=9.1.0",
"@types/node": ">=16.0.0",
"chai": "^4.2.0",
"ethers": "^6.12.1",
"hardhat": "^2.19.5",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-preprocessor": "^0.1.5",
"husky": "^8.0.1",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
"pretty-quick": "^3.1.3",
"solhint": "^3.4.1",
"solidity-coverage": "^0.8.0",
"ts-node": ">=8.0.0",
"typechain": "^8.3.0",
"typescript": ">=4.5.0"
}
}