Skip to content

Optimistic Minter#259

Merged
xklob merged 7 commits intodevelopfrom
feat/FIP-35-optimistic-minter
Oct 21, 2021
Merged

Optimistic Minter#259
xklob merged 7 commits intodevelopfrom
feat/FIP-35-optimistic-minter

Conversation

@Joeysantoro
Copy link
Contributor

@Joeysantoro Joeysantoro commented Oct 20, 2021

chai.use(CBN(ethers.BigNumber));

// Constants
const TIMED_MINTER_FREQUENCY = '604800'; // weekly
Copy link
Contributor

Choose a reason for hiding this comment

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

Period, but w/e

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Its frequency just do one round of mental gymnastics

xklob
xklob previously approved these changes Oct 20, 2021
}

/// @notice triggers a minting of FEI by owner
function mint() public override onlyOwner {
Copy link
Contributor

Choose a reason for hiding this comment

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

Who will the owner of this contract be? I would assume it's either the guardian or the OA multisig?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OA timelock


/// @title OwnedTimedMinter
/// @notice A FeiTimedMinter that mints only when called by an owner
contract OwnedTimedMinter is FeiTimedMinter, Ownable {
Copy link
Contributor

Choose a reason for hiding this comment

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

The e2e tests are trying to pull in artifact OwnableTimedMinter, but the contract is named OwnedTimeMinter so the names need to be reconciled for e2e to pass.

@xklob xklob merged commit 969d7e8 into develop Oct 21, 2021
@xklob xklob deleted the feat/FIP-35-optimistic-minter branch October 21, 2021 23:53
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

Comments