Percentage

Handles all Percentage Transfer Restriction related functionality

Hierarchy

  • TransferRestrictionBase‹Percentage

    Percentage

Index

Properties

Properties

addRestriction

addRestriction: ProcedureMethod‹Omit‹AddPercentageTransferRestrictionParams, "type"›, BigNumber›

Overrides TransferRestrictionBase.addRestriction

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:27

Add a Percentage Transfer Restriction to this Asset

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


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/Asset/TransferRestrictions/Percentage.ts:56

Retrieve all active Percentage Transfer Restrictions

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

Type declaration:

▸ (): Promise‹ActiveTransferRestrictionsPercentageTransferRestriction››


Protected parent

parent: Asset

Inherited from void

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


removeRestrictions

removeRestrictions: NoArgsProcedureMethod‹BigNumber›

Overrides TransferRestrictionBase.removeRestrictions

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:47

Removes all Percentage Transfer Restrictions from this Asset

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


setRestrictions

setRestrictions: ProcedureMethod‹Omit‹SetPercentageTransferRestrictionsParams, "type"›, BigNumber›

Overrides TransferRestrictionBase.setRestrictions

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:37

Sets all Percentage Transfer Restrictions on this Asset

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


Protected type

type: Percentage = TransferRestrictionType.Percentage as const

Overrides TransferRestrictionBase.type

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:20

Last updated