CountRestrictions
Namespace that handles all Count Restriction related functionality
Hierarchy
↳ CountRestrictions
Index
Constructors
Properties
Methods
Constructors
constructor
+ new CountRestrictions(securityToken
: SecurityToken, context
: Context): CountRestrictions
Inherited from SubModule.constructor
Defined in src/entities/SecurityToken/SubModule.ts:10
Create a new SubModule instance
Parameters:
Returns: CountRestrictions
Properties
Protected
context
Protected
context• context: Context
Inherited from SubModule.context
Defined in src/entities/SecurityToken/SubModule.ts:10
Protected
securityToken
Protected
securityToken• securityToken: SecurityToken
Inherited from SubModule.securityToken
Defined in src/entities/SecurityToken/SubModule.ts:8
Methods
getMaxHolderCount
▸ getMaxHolderCount(): Promise‹number›
Defined in src/entities/SecurityToken/Transfers/Restrictions/CountRestrictions.ts:31
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››
Defined in src/entities/SecurityToken/Transfers/Restrictions/CountRestrictions.ts:16
Modify the maximum amount of tokenholders allowed to hold the token at once
Parameters:
▪ args: object
Returns: Promise‹TransactionQueue‹ModifyMaxHolderCountProcedureArgs, void››
Last updated