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]: support governance #49

Merged
merged 50 commits into from
Apr 29, 2022
Merged

[feat]: support governance #49

merged 50 commits into from
Apr 29, 2022

Conversation

eigmax
Copy link
Member

@eigmax eigmax commented Apr 21, 2022

No description provided.

@@ -0,0 +1,206 @@
pragma solidity ^0.8.0;
Copy link
Member Author

Choose a reason for hiding this comment

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

import this lib from openzepplin.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK. Already done.

emit CancelTransaction(txHash, target, value, signature, data, eta);
}

function executeTransaction(
Copy link
Member Author

Choose a reason for hiding this comment

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

reuse those functions from transactionModule

@eigmax eigmax changed the title Gover [feat]: support governance Apr 24, 2022

const provider = waffle.provider

function expandTo18Decimals(n: number): BigNumber {
Copy link
Member Author

Choose a reason for hiding this comment

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

use ethers.utils.parseEther

Copy link
Contributor

Choose a reason for hiding this comment

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

OK. Already done.

let other0
let other1
before(async () => {
;[wallet, other0, other1] = await hre.ethers.getSigners()
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove the leading semicolon

Copy link
Contributor

Choose a reason for hiding this comment

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

OK. Already done.

@eigmax eigmax merged commit 8c95c40 into master Apr 29, 2022
@eigmax eigmax deleted the gover branch April 29, 2022 15:35
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.

None yet

3 participants