@pooltogether/pooltogether-contracts

v3.2.0-beta.1
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

OPTIMIZER_DISABLED=true buidler test

compile

buidler --show-stack-traces --max-memory 8192 compile

start

echo 'Starting node for local testing.... '; rm -rf deployments/localhost_31337; DISABLE_HARNESS=true USE_BUIDLER_EVM_ACCOUNTS=$BUIDLER_EVM_ACCOUNTS buidler node

start-gas

echo 'Starting node for gas testing.... '; rm -rf deployments/localhost_31337; DISABLE_HARNESS=true buidler node

start-fork

./scripts/startFork.sh

fork-whale

buidler --network fork run ./scripts/fork-whale.js

fork-run

buidler --network fork run

console

buidler console --network

coverage

yarn clean && USE_LITERAL_CONTENT=false node --max-old-space-size=4096 ./node_modules/.bin/buidler coverage --network coverage --temp build

gas

REPORT_GAS=true buidler test --network localhost

deploy

buidler deploy --write true --network

deploy-drips

buidler run ./js/deployDripTokens.js --network

testnet-txs

buidler run ./js/runTestnetTransactions.js --network

etherscan-verify

buidler 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

prepack

rm -rf build cache && buidler compile && truffle-extract -b build -o abis

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

USE_BUIDLER_EVM_ACCOUNTS=$BUIDLER_EVM_ACCOUNTS buidler run --network localhost scripts/mint.js
npm i @pooltogether/[email protected]

Metadata

  • GPL-3.0
  • Whatever
  • Unknown
  • released 1/13/2021

Downloads