@pooltogether/governor-contracts

v0.1.1
The [PoolTogether](https://www.pooltogether.com/) Prize Savings Protocol Ethereum governor smart contracts.

test

buidler test

compile

buidler compile

start

buidler node --port $LOCAL_BUIDLEREVM_PORT

coverage

rm -rf build cache && buidler compile && buidler coverage --network coverage --temp build

gas

REPORT_GAS=true buidler test --network local

migrate

./scripts/cli.js

migrate-local

./scripts/cli.js migrate -n local -a $LOCAL_ADMIN_ADDRESS

migrate-kovan

./scripts/cli.js migrate -n kovan

console-kovan

oz-console -n kovan

session-kovan

oz session --network kovan --from $ADMIN_ADDRESS --expires 3600 --timeout 600 --blockTimeout 50

session-local

oz session --network local --from $LOCAL_ADMIN_ADDRESS --expires 3600 --timeout 600 --blockTimeout 50

console-local

oz-console -n local -a $LOCAL_ADMIN_ADDRESS_2

clean

rm -rf build cache abis

verify-kovan

oz verify -n kovan --remote etherscan --api-key $ETHERSCAN_API_KEY

clean-local

rm -f .oz-migrate/dev-31337; rm -f .openzeppelin/dev-31337.json

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
npm i @pooltogether/governor-contracts

Metadata

  • GPL-3.0
  • Whatever
  • Unknown
  • released 5/25/2020

Downloads