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

Soloseng/update-celo-L2-distribution-logic #11045

Merged

Conversation

soloseng
Copy link
Contributor

@soloseng soloseng commented Jun 19, 2024

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 to CELO

Tested

Unit tested

@soloseng soloseng marked this pull request as ready for review June 21, 2024 08:39
@soloseng soloseng requested a review from a team as a code owner June 21, 2024 08:39
@soloseng soloseng merged commit 1d553de into release/core-contracts/12 Jun 21, 2024
24 checks passed
@soloseng soloseng deleted the soloseng/update-celo-L2-distribution-logic branch June 21, 2024 09:00
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);
Copy link
Member

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?

Copy link
Member

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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
function increaseSupply(uint256 amount) external;
- function increaseSupply(uint256 amount) external
+ function moneyPrinterGoBrbrbrbrbrbrrrrrrr(uint256 amount) external;

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.

3 participants