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
Conversation
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.
Great job! Just a few naming changes requested.
@@ -186,6 +201,13 @@ export class Features extends SubModule { | |||
); | |||
break; | |||
} | |||
case Feature.ShareholderCountRestrictions: { |
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.
I guess this should be Percentage feature
import { SubModule } from './SubModule'; | ||
import { PolymathError } from '../../PolymathError'; | ||
import { TransactionQueue } from '../TransactionQueue'; | ||
|
||
interface WhitelistParams { |
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.
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 () => { |
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.
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.
🎉 This PR is included in version 2.0.1-beta.65 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.