Skip to content

Conversation

orenyodfat
Copy link
Contributor

@orenyodfat orenyodfat commented May 1, 2019

this scheme enable users to mint(redeem) reputation according to specific erc20 token holding.

@orenyodfat orenyodfat requested review from ben-kaufman and leviadam May 1, 2019 13:21
@dkent600
Copy link
Contributor

dkent600 commented May 1, 2019

Would be nice to describe in the PR description why this contract is needed, what is its value?

require(avatar != Avatar(0), "should initialize first");
require(redeems[msg.sender] == false, "redeeming twice from the same account is not allowed");
redeems[msg.sender] = true;
(bool result, bytes memory returnValue) =
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it better to use the ERC20 interface?

@orenyodfat orenyodfat merged commit b5fca6f into master May 1, 2019
@orenyodfat orenyodfat deleted the ReputationFromToken branch May 1, 2019 14:31
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