2023-05-16 22:04:13 +00:00
|
|
|
{
|
2023-09-12 16:37:30 +00:00
|
|
|
"name": "@logos-co/staking",
|
|
|
|
"description": "SNT staking contracts",
|
2023-05-16 22:04:13 +00:00
|
|
|
"version": "1.0.0",
|
2023-09-12 16:37:30 +00:00
|
|
|
"author": {},
|
|
|
|
"devDependencies": {
|
|
|
|
"prettier": "^3.0.0",
|
|
|
|
"solhint-community": "^3.6.0"
|
2023-05-16 22:04:13 +00:00
|
|
|
},
|
2023-09-12 16:37:30 +00:00
|
|
|
"keywords": [
|
|
|
|
"blockchain",
|
|
|
|
"ethereum",
|
|
|
|
"forge",
|
|
|
|
"foundry",
|
|
|
|
"smart-contracts",
|
|
|
|
"solidity",
|
|
|
|
"template"
|
|
|
|
],
|
|
|
|
"private": true,
|
2023-05-16 22:04:13 +00:00
|
|
|
"scripts": {
|
2023-09-12 16:37:30 +00:00
|
|
|
"clean": "rm -rf cache out",
|
|
|
|
"lint": "pnpm lint:sol && pnpm prettier:check",
|
2024-01-24 15:07:23 +00:00
|
|
|
"verify": "pnpm verify:stake_vault && pnpm verify:stake_manager && pnpm verify:stake_manager_start_migration",
|
2023-12-11 14:10:41 +00:00
|
|
|
"lint:sol": "forge fmt --check && pnpm solhint {script,src,test,certora}/**/*.sol",
|
2023-09-12 16:37:30 +00:00
|
|
|
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
|
2024-01-24 08:39:04 +00:00
|
|
|
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore",
|
2024-02-24 19:32:58 +00:00
|
|
|
"gas-report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)",
|
2024-01-24 08:39:04 +00:00
|
|
|
"verify:stake_vault": "certoraRun certora/confs/StakeVault.conf",
|
2024-01-24 15:07:23 +00:00
|
|
|
"verify:stake_manager": "certoraRun certora/confs/StakeManager.conf",
|
|
|
|
"verify:stake_manager_start_migration": "certoraRun certora/confs/StakeManagerStartMigration.conf"
|
2023-06-26 20:27:19 +00:00
|
|
|
}
|
2023-05-16 22:04:13 +00:00
|
|
|
}
|