@pooltogether/pooltogether-contracts
v3.3.1reinstall
rm -rf node_modules/ && rm -f yarn.lock && yarn
verify
yarn hint && yarn test
hint
solhint "contracts/**/*.sol"
test
HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true hardhat test
compile
hardhat --show-stack-traces --max-memory 8192 compile
start
echo 'Starting node for local testing....
'; rm -rf deployments/localhost_31337; DISABLE_HARNESS=true hardhat node
start-gas
echo 'Starting node for gas testing....
'; rm -rf deployments/localhost_31337; DISABLE_HARNESS=true hardhat node
start-fork
rm -rf deployments/localhost; cp -r deployments/mainnet deployments/localhost && FORK_ENABLED=true hardhat node --no-reset --no-deploy
impersonate-accounts
hardhat run ./scripts/fork/impersonateAccounts.js --network localhost
stop-impersonate
hardhat run ./scripts/fork/stopImpersonation.js --network localhost
fork-whale
hardhat --network fork run ./scripts/fork-whale.js
fork-run
hardhat run --network localhost
console
hardhat console --network
coverage
yarn clean && HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true node --max-old-space-size=4096 ./node_modules/.bin/hardhat coverage --network coverage --temp build
gas
REPORT_GAS=true hardhat test --network localhost
deploy
hardhat deploy --write true --network
deploy-drips
hardhat run ./js/deployDripTokens.js --network
testnet-txs
hardhat run ./js/runTestnetTransactions.js --network
etherscan-verify
hardhat run ./scripts/verify.js --network
deploy-ctoken-local
./scripts/deployCTokenMock.js -n localhost -a $LOCAL_ADMIN_ADDRESS
clean
rm -rf artifacts build .build-openzeppelin cache coverage coverage.json test-results.xml .cache-openzeppelin abis deployments/localhost deployments/localhost_*
prepack
rm -rf build cache && hardhat compile
postpublish
PACKAGE_VERSION=$(./scripts/package-version.sh) && git tag -ae v$PACKAGE_VERSION && git push --tags
update-gitbook-networks
./scripts/update-gitbook-networks.sh
mint
hardhat run --network localhost scripts/mint.js
echidna:build
docker build -t pool-contracts/echidna . -f Dockerfile.echidna
echidna
yarn echidna:build && docker run -v "$PWD":/src pool-contracts/echidna
npm i @pooltogether/[email protected]
Metadata
- GPL-3.0
- Whatever
- Unknown
- released 3/4/2021