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

Full Erc20 compatibility #5

Closed
wants to merge 5 commits into from
Closed

Full Erc20 compatibility #5

wants to merge 5 commits into from

Conversation

nitika-goel
Copy link
Owner

In order to maintain 100% compatibility with ERC-20, the following changes have been made:

  1. Removal of locked tokens from balances
  2. Methods to get unlockable token balance
  3. Methods to unlock tokens once the lock period has expired

@@ -12,6 +13,35 @@ contract('LockableToken', ([owner, receiver, spender]) => {
const lockTimestamp = Number(new Date()) / 1000
const approveAmount = 10
const nullAddress = 0x0000000000000000000000000000000000000000
const increaseTime = function(duration) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

do you need both this and the timeTravel function?

Copy link
Owner Author

Choose a reason for hiding this comment

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

THanks @dave. Haven't used timeTravel. Will remove the include.

@maxsam4
Copy link
Contributor

maxsam4 commented Aug 17, 2018

This can be closed in favor of PR #6

@nitika-goel
Copy link
Owner Author

Thanks @maxsam4 . Closing this PR.

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