Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(contracts): add TokenFaucet contract #283

Merged
merged 5 commits into from
Jun 8, 2022

Conversation

PierrickGT
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Jun 7, 2022

POOL-2318 Add Fauceteer contract

Add a Faucet contract that will hold tokens to deposit into the various pools.

This contract will be based on the following one: https://github.com/compound-finance/compound-protocol/blob/master/tests/Contracts/Fauceteer.sol

MockYieldSource contract will need to be the only one able to call the mint function from the ERC20Mintable contract.

The yield function from the MockYieldSource contract will only be callable by the deployer to mint the initial total supply of tokens to the faucet.

@PierrickGT PierrickGT merged commit 1c1278e into staging Jun 8, 2022
@PierrickGT PierrickGT deleted the pool-2318-add-fauceteer-contract branch June 8, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant