-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.85 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.85 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
{
"name": "truth_bounty_contracts",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "hardhat test",
"test:gas": "REPORT_GAS=true hardhat test",
"test:gas:snapshot": "REPORT_GAS=true hardhat test --snapshot",
"test:fuzz": "forge test --match-contract WeightedStakingFuzzTest -vv && forge test --match-contract StakingFuzzTest -vv && forge test --match-contract IntegrationFuzzTest -vv",
"test:fuzz:extended": "forge test --match-contract WeightedStakingFuzzTest --fuzz-runs 1000 -vv && forge test --match-contract StakingFuzzTest --fuzz-runs 1000 -vv",
"test:coverage": "forge coverage --report lcov",
"compile": "hardhat compile",
"compile:forge": "forge build",
"deploy": "hardhat run scripts/deploySlashing.ts",
"verify": "hardhat run scripts/verify.ts",
"stake": "hardhat run scripts/stake.ts",
"resolve-claim": "hardhat run scripts/resolveClaim.ts",
"claim-rewards": "hardhat run scripts/claimRewards.ts",
"fuzz:campaign": "./scripts/run-fuzz-tests.sh",
"deploy:local": "npx hardhat ignition deploy ignition/modules/FullDeploy.ts",
"deploy:testnet": "npx hardhat ignition deploy ignition/modules/FullDeploy.ts --network optimism_sepolia --parameters ignition/parameters/optimism_sepolia.json",
"deploy:mainnet": "npx hardhat ignition deploy ignition/modules/FullDeploy.ts --network optimism --parameters ignition/parameters/optimism_mainnet.json",
"deploy:token": "npx hardhat ignition deploy ignition/modules/TruthBounty.ts --network optimism_sepolia",
"deploy:staking": "npx hardhat ignition deploy ignition/modules/Staking.ts --network optimism_sepolia",
"deploy:rewards": "npx hardhat ignition deploy ignition/modules/Rewards.ts --network optimism_sepolia"
},
"keywords": [
"blockchain",
"ethereum",
"solidity",
"staking",
"fuzz-testing",
"foundry"
],
"author": "",
"license": "ISC",
"description": "TruthBounty smart contracts with comprehensive fuzz testing",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.1.2",
"@nomicfoundation/hardhat-ethers": "^3.1.3",
"@nomicfoundation/hardhat-ignition": "^3.0.7",
"@nomicfoundation/hardhat-ignition-ethers": "^3.0.7",
"@nomicfoundation/hardhat-network-helpers": "^1.1.2",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.1.3",
"@openzeppelin/hardhat-upgrades": "^3.9.1",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.20",
"@types/mocha": "^10.0.10",
"@types/node": "^20.0.0",
"chai": "^4.5.0",
"hardhat": "^2.22.17",
"hardhat-gas-reporter": "^2.3.0",
"solidity-coverage": "^0.8.17",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.3.0"
},
"dependencies": {
"@openzeppelin/contracts": "^5.4.0",
"dotenv": "^16.4.7"
}
}