-
Notifications
You must be signed in to change notification settings - Fork 160
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
Reinvent lockup #409
Reinvent lockup #409
Conversation
satyamakgec
commented
Nov 13, 2018
•
edited by VictorVicente
Loading
edited by VictorVicente
- Test suite
Please do check with the issue #389 As per the test it is not present in the current code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a view getLockedToken
function which will return sum of cirrently locked tokens of a user so that user can know how many tokens are still locked and how many can they transfer.
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
TIL that references to parameters of an external function are stored in the stack. |
@maxsam4 It is done with the review? If yes then @VictorVicente can use this same PR to create the CLI |
Yeah. The function modifier thing was the last issue. |
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
contracts/modules/Experimental/TransferManager/LockupVolumeRestrictionTM.sol
Outdated
Show resolved
Hide resolved
@maxsam4 @adamdossa could you please review it again because of the data structure changes |