CountRestrictions
Namespace that handles all Count Restriction related functionality
Hierarchy
SubModule
↳ CountRestrictions
Index
Constructors
constructor
Properties
context
securityToken
Methods
getMaxHolderCount
modifyMaxHolderCount
Constructors
constructor
+ new CountRestrictions(securityToken
: SecurityToken, context
: Context): CountRestrictions
Inherited from SubModule.constructor
Create a new SubModule instance
Parameters:
Name
Type
securityToken
context
Returns: CountRestrictions
Properties
Protected
context
Protected
context• context: Context
Inherited from SubModule.context
Protected
securityToken
Protected
securityToken• securityToken: SecurityToken
Inherited from SubModule.securityToken
Methods
getMaxHolderCount
▸ getMaxHolderCount(): Promise‹number›
Retrieve the maximum amonut of tokenholders allowed to hold the token at once Can be modified with modifyMaxHolderCount
Returns: Promise‹number›
modifyMaxHolderCount
▸ modifyMaxHolderCount(args
: object): Promise‹TransactionQueue‹ModifyMaxHolderCountProcedureArgs, void››
Modify the maximum amount of tokenholders allowed to hold the token at once
Parameters:
▪ args: object
Name
Type
maxHolderCount
number
Returns: Promise‹TransactionQueue‹ModifyMaxHolderCountProcedureArgs, void››
Last updated
Was this helpful?