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

Feat/percentage transfer manager #131

Merged
merged 5 commits into from Nov 26, 2019

Conversation

monitz87
Copy link
Contributor

No description provided.

Copy link
Collaborator

@VictorVicente VictorVicente left a comment

Choose a reason for hiding this comment

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

Great job! Just a few naming changes requested.

@@ -186,6 +201,13 @@ export class Features extends SubModule {
);
break;
}
case Feature.ShareholderCountRestrictions: {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess this should be Percentage feature

import { SubModule } from './SubModule';
import { PolymathError } from '../../PolymathError';
import { TransactionQueue } from '../TransactionQueue';

interface WhitelistParams {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be renamed to something referring to PercentageTM. There are many modules with whitelists.

* Retrieve whether primary issuance is allowed. If true, minting tokens can bypass percentage ownership restrictions.
* Can be modified with `modifyPercentageExemptions`
*/
public isPrimaryIssuanceAllowed = async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here. We need some reference to percentage TM in the name.

Merged the percentage exemption getters into a single function.Also fixed a redundant switch case.
@VictorVicente VictorVicente merged commit 7ba71b8 into beta Nov 26, 2019
@VictorVicente VictorVicente deleted the feat/percentage-transfer-manager branch November 26, 2019 20:15
@polymath-devops
Copy link

🎉 This PR is included in version 2.0.1-beta.65 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants