Skip to content

Add reputation token trade scheme #775

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

Merged
merged 5 commits into from
Jul 30, 2020
Merged

Add reputation token trade scheme #775

merged 5 commits into from
Jul 30, 2020

Conversation

ben-kaufman
Copy link
Contributor

No description provided.

proposal.sendTokenAmount,
proposal.reputationAmount
);
delete proposals[_proposalId];
Copy link
Contributor

Choose a reason for hiding this comment

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

can delete proposal be moved out of the if and make it one time

onlyVotingMachine(_proposalId)
override
returns(bool) {
Proposal memory proposal = proposals[_proposalId];
Copy link
Contributor

Choose a reason for hiding this comment

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

unused var ?

Copy link
Contributor

Choose a reason for hiding this comment

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



function execute(bytes32 _proposalId) public {
Proposal storage proposal = proposals[_proposalId];
Copy link
Contributor

Choose a reason for hiding this comment

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

why this is storage ?

Copy link
Contributor

@orenyodfat orenyodfat left a comment

Choose a reason for hiding this comment

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

@orenyodfat orenyodfat merged commit 5b7720f into master-2 Jul 30, 2020
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.

2 participants