Count

Handles all Count Transfer Restriction related functionality

Hierarchy

  • TransferRestrictionBase‹Count›

    ↳ Count

Index

Properties

Properties

addRestriction

• addRestriction: ProcedureMethod‹Omit‹AddCountTransferRestrictionParams, "type"›, number›

Overrides TransferRestrictionBase.addRestriction

Defined in src/api/entities/SecurityToken/TransferRestrictions/Count.ts:24

Add a Count Transfer Restriction to this Security Token

param limit on the amount of different (unique) investors that can hold this Security Token at once

param array of Scope IDs that are exempted from the Restriction

param array of Identities (or DIDs) that are exempted from the Restriction

note the result is the total amount of restrictions after the procedure has run

note required role:

  • Security Token Owner

Protected context

• context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11

get

• get: function

Overrides TransferRestrictionBase.get

Defined in src/api/entities/SecurityToken/TransferRestrictions/Count.ts:55

Retrieve all active Count Transfer Restrictions

note there is a maximum number of restrictions allowed accross all types. The availableSlots property of the result represents how many more restrictions can be added before reaching that limit

Type declaration:

▸ (): Promise‹ActiveTransferRestrictions‹CountTransferRestriction››

Protected parent

• parent: SecurityToken

Inherited from void

Defined in src/api/entities/Namespace.ts:9

removeRestrictions

• removeRestrictions: ProcedureMethod‹void, number›

Overrides TransferRestrictionBase.removeRestrictions

Defined in src/api/entities/SecurityToken/TransferRestrictions/Count.ts:46

Removes all Count Transfer Restrictions from this Security Token

note the result is the total amount of restrictions after the procedure has run

setRestrictions

• setRestrictions: ProcedureMethod‹Omit‹SetCountTransferRestrictionsParams, "type"›, number›

Overrides TransferRestrictionBase.setRestrictions

Defined in src/api/entities/SecurityToken/TransferRestrictions/Count.ts:36

Sets all Count Transfer Restrictions on this Security Token

param array of Count Transfer Restrictions with their corresponding exemptions (if applicable)

note the result is the total amount of restrictions after the procedure has run

note required role:

  • Security Token Owner

Protected type

• type: Count = TransferRestrictionType.Count as const

Overrides TransferRestrictionBase.type

Defined in src/api/entities/SecurityToken/TransferRestrictions/Count.ts:10

Last updated

Was this helpful?