-
Notifications
You must be signed in to change notification settings - Fork 375
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
Soloseng/update-celo-L2-distribution-logic #11045
Soloseng/update-celo-L2-distribution-logic #11045
Conversation
function setGoldTokenMintingScheduleAddress(address goldTokenMintingScheduleAddress) external; | ||
function setCeloTokenDistributionScheduleAddress( | ||
address celoTokenDistributionScheduleAddress | ||
) external; | ||
|
||
/** | ||
* @dev Mints a new token. | ||
* @param to The address that will own the minted token. | ||
* @param value The amount of token to be minted. | ||
*/ | ||
function mint(address to, uint256 value) external returns (bool); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait can we still mint too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
answer is not on l2. but there is a test to ensure that so keep the interface
* @notice Increases the variable for total amount of CELO in existence. | ||
* @param amount The amount to increase counter by. | ||
*/ | ||
function increaseSupply(uint256 amount) external; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function increaseSupply(uint256 amount) external; | |
- function increaseSupply(uint256 amount) external | |
+ function moneyPrinterGoBrbrbrbrbrbrrrrrrr(uint256 amount) external; |
Description
Changed the distribution logic, such that CELO in no longer minted on L2, but transferred from the stash address, to the CELO recepient.
Other changes
Updated names from
Gold
toCELO
Tested
Unit tested