generated from AngleProtocol/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
55 lines (55 loc) · 4.42 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
{
"name": "angle-governance",
"version": "1.0.0",
"description": "",
"scripts": {
"ci:coverage": "forge coverage --report lcov --no-match-path \"test/scripts/**/*.sol\" && yarn lcov:clean",
"coverage": "FOUNDRY_PROFILE=dev forge coverage --report lcov && yarn lcov:clean && yarn lcov:generate-html",
"compile": "forge build",
"compile:dev": "FOUNDRY_PROFILE=dev forge build",
"create:proposal": "bash helpers/createProposal.sh",
"deploy": "forge script --skip test --broadcast --verify --slow -vvvv --rpc-url polygon scripts/interaction/TimelockExecute.s.sol",
"deploy:test": "FOUNDRY_PROFILE=dev forge script --skip test --broadcast --verify --slow -vvvv --rpc-url gnosis scripts/DeployOnChainGovernance.s.sol",
"deploy:fork": "FOUNDRY_PROFILE=dev forge script --skip test --slow --fork-url fork --broadcast scripts/interaction/TimelockExecute.s.sol -vvvv",
"gas": "yarn test --gas-report",
"fork": "bash helpers/fork.sh",
"run": "docker run -it --rm -v $(pwd):/app -w /app ghcr.io/foundry-rs/foundry sh",
"script:fork": "FOUNDRY_PROFILE=dev forge script --skip test --fork-url fork --broadcast -vvvv",
"test:unit": "forge test -vvv --gas-report --match-path \"test/unit/**/*.sol\"",
"test:invariant": "forge test -vvv --gas-report --match-path \"test/invariant/**/*.sol\"",
"test:fuzz": "forge test -vvv --gas-report --match-path \"test/fuzz/**/*.sol\"",
"test": "FOUNDRY_PROFILE=dev forge test -vvvv",
"slither": "slither .",
"lcov:clean": "lcov --remove lcov.info -o lcov.info 'test/**' 'scripts/**' 'contracts/transmuter/configs/**' 'contracts/utils/**'",
"lcov:generate-html": "genhtml lcov.info --output=coverage",
"run:script": "bash helpers/runScript.sh",
"size": "forge build --skip test --sizes",
"size:dev": "FOUNDRY_PROFILE=dev forge build --skip test --sizes",
"prettier": "prettier --write '**/*.sol'",
"lint": "yarn lint:check --fix",
"lint:check": "solhint --max-warnings 20 \"**/*.sol\"",
"check-roles": "node utils/checkRoles.js",
"verify": "forge verify-contract --chain-id 100 --watch --constructor-args $(cast abi-encode 'constructor(address,address,uint48,uint32,uint256,uint48,uint256,uint256,uint256)' '0xD622c71aba9060F393FEC67D3e2B9335292bf23B' '0x769A713bF0589d495008e5a7c78fABafb9C35F39' 300 3600 100000000000000000000000 60 20 75 60) 0x882dD02d7F2F06B7e968ECb97B1B62Bf51B3af4a AngleGovernor",
"verify:governor": "forge verify-contract --chain-id 1 --watch --show-standard-json-input > etherscan.json --solc-input --optimizer-runs=1000 --constructor-args 0x0000000000000000000000000c462dbb9ec8cd1630f1728b2cfd2769d09f0dd500000000000000000000000027000546a968aac25e9a709c098f1254e333b1930000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000000005460000000000000000000000000000000000000000000000152d02c7e14af68000000000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000001c20 0xcaAa0114CB9Fe229643B8193375b21f695e6593C AngleGovernor",
"verify:sender": "forge verify-contract --chain-id 1 --watch --constructor-args $(cast abi-encode 'constructor(address)' '0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675') 0x71D670A690eF3E0dbD819F63168ce58EE5587f49 ProposalSender",
"verify:timelock": "forge verify-contract --chain-id 59144 --watch --constructor-args $(cast abi-encode 'constructor(uint256,address[],address[],address)' 86400 [] ['0x007475b60d88b02663d6f975927b70bb4335e4b3'] '0xfdA462548Ce04282f4B6D6619823a7C64Fdc0185') 0xd23B51d6F2cB3eC7ca9599D4332a2F10C3CFDF85 TimelockControllerWithCounter",
"verify:receiver": "forge verify-contract --chain-id 59144 --watch --constructor-args $(cast abi-encode 'constructor(address)' '0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7') 0x4A44f77978Daa3E92Eb3D97210bd11645cF935Ab ProposalReceiver"
},
"keywords": [],
"author": "Angle Core Team",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/AngleProtocol/boilerplate/issues"
},
"devDependencies": {
"@angleprotocol/sdk": "^v2.28.7",
"@layerzerolabs/lz-sdk": "^0.0.80",
"discord.js": "^14.14.1",
"prettier": "^2.0.0",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.5.1",
"solhint-plugin-prettier": "^0.0.5",
"viem": "^2.16.3"
},
"dependencies": {}
}