@pooltogether/pooltogether-contracts

v3.4.5
PoolManager Prize Linked Savings Account Pool Smart Contracts

reinstall

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-deploy

redeploy-fork

rm -rf deployments/localhost; yarn deploy localhost

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

verify-contract-version-match

./scripts/matchVersions.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

etherscan-verify-bsc

hardhat --config hardhat.config.bsc.js run ./scripts/verify.js --network

etherscan-verify-polygon

hardhat --config hardhat.config.polygon.js run ./scripts/verify.js --network

deploy-ctoken-local

./scripts/deployCTokenMock.js -n localhost -a $LOCAL_ADMIN_ADDRESS

clean

rm -rf abis artifacts build .build-openzeppelin cache coverage coverage.json test-results.xml .cache-openzeppelin deployments/localhost deployments/localhost_*; mkdir abis

prepack

yarn clean && yarn 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

display-faucets

hardhat run --network mainnet scripts/displayFaucetInfo.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/pooltogether-contracts

Metadata

  • GPL-3.0
  • Whatever
  • Unknown
  • released 8/24/2021

Downloads