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

Track non-zero account holders #95

Merged
merged 10 commits into from
May 10, 2018
Merged

Track non-zero account holders #95

merged 10 commits into from
May 10, 2018

Conversation

adamdossa
Copy link
Contributor

WIP - needs test cases

# Conflicts:
#	contracts/modules/TransferManager/ExchangeTransferManager.sol
#	contracts/modules/TransferManager/GeneralTransferManager.sol
#	contracts/modules/TransferManager/ITransferManager.sol
#	contracts/tokens/SecurityToken.sol

contract CountTransferManager is ITransferManager {

uint256 public holderCount;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we rename this to maxHolderCount or holderCountLimit? readability purposes only.

contract PercentageTransferManager is ITransferManager {
using SafeMath for uint256;

uint256 public holderPercentage; // percentage multiplied by 10**16 - e.g. 20% is 20 * 10**16
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we rename this to maxHolderPercentage or holderPercentageLimit?

@adamdossa adamdossa merged commit 9e11eeb into master May 10, 2018
@adamdossa adamdossa deleted the add_holder_count branch May 10, 2018 12:59
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

2 participants