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

OIP-draft add exists to UtilityTokenInterface #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benjaminbollen
Copy link
Contributor

No description provided.

@benjaminbollen
Copy link
Contributor Author

TODO; write specification for cogateway

@benjaminbollen benjaminbollen changed the title draft: add exists to UtilityTokenInterface OIP-draft: add exists to UtilityTokenInterface Dec 5, 2018
@benjaminbollen benjaminbollen changed the title OIP-draft: add exists to UtilityTokenInterface OIP-draft add exists to UtilityTokenInterface Dec 5, 2018
@benjaminbollen
Copy link
Contributor Author

implemented in mosaic-contracts 0.10.0

Copy link
Contributor

@schemar schemar left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

We should prevent deadlocks as early as possible and this seems to be the place. It is the first time where the target chain knows about the mint intention and the intended recipient.

In my opinion the "Simple Summary" could be made even more "simple".
"Motivation" could be more verbose, maybe.

@@ -0,0 +1,64 @@
---
oip: <to be assigned>
title: <Staking Beneficiary Exists>
Copy link
Contributor

Choose a reason for hiding this comment

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

remove brackets when adding actual values that replace the placeholders.

Copy link
Contributor

@jasonklein jasonklein left a comment

Choose a reason for hiding this comment

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

It might be helpful to explicitly state that, in the base case, UT.exists returns true.

<!--A short (~200 word) description of the technical issue being addressed.-->
By default all addresses exist in the Ethereum specification. For internal
token economies addresses that are not internal should return `false`
for `UT.exists`. By including this check on `cogateway.confirmStakingIntent`,
Copy link
Contributor

Choose a reason for hiding this comment

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

confirmStakingIntent has been renamed to confirmStakeIntent

@schemar schemar modified the milestone: Sprint 0 May 2, 2019
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