Digg Pooltogether
Add Diggsett as a yield source on pooltogether.
Tested on a mainnet fork.
To deploy on mainnet, this contract will need to be approved by Badger Dev Multisig. That has been achieved in tests by impersonating Badger Dev Multisig and approving this contract to invest in sett.
Shamelessly copied from https://github.com/steffenix/sushi-pooltogether
Install project
yarn
Run tests
Setup
You will needs to enviroment variables to run the tests.
export WEB3_INFURA_PROJECT_ID=
export ETHERSCAN_TOKEN=
You will get the first one from https://infura.io/ You will get the second one from https://etherscan.io/
runs both test and hint.
Test
yarn test
Deployement
In order to deploy to mainnet:
export HDWALLET_MNEMONIC=
yarn hardhat --network mainnet deploy
yarn hardhat --network mainnet etherscan-verify --api-key $ETHERSCAN_TOKEN