@pooltogether/pooltogether-contracts

v3.0.0
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

ganache-cli -f $ALCHEMY_URL -m "$HDWALLET_MNEMONIC" --chainId 1 -u "0x0000000000000000000000000000000000000000" -u "0x564286362092D8e7936f0549571a803B203aAceD"

fork-whale

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

console

buidler console --network

coverage

rm -rf build cache test-results.xml && USE_LITERAL_CONTENT=false 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 build .build-openzeppelin cache .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 10/22/2020

Downloads