Percentage

Handles all Percentage Transfer Restriction related functionality

Hierarchy

Index

Properties

Properties

addRestriction

addRestriction: ProcedureMethodarrow-up-right‹Omit‹AddPercentageTransferRestrictionParams, "type"›, BigNumber›

Overrides TransferRestrictionBase.addRestriction

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:27arrow-up-right

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:11arrow-up-right


get

get: function

Overrides TransferRestrictionBase.get

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:56arrow-up-right

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‹ActiveTransferRestrictionsarrow-up-rightPercentageTransferRestrictionarrow-up-right››


Protected parent

parent: Asset

Inherited from void

Defined in src/api/entities/Namespace.ts:9arrow-up-right


removeRestrictions

removeRestrictions: NoArgsProcedureMethodarrow-up-right‹BigNumber›

Overrides TransferRestrictionBase.removeRestrictions

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:47arrow-up-right

Removes all Percentage Transfer Restrictions from this Asset

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


setRestrictions

setRestrictions: ProcedureMethodarrow-up-right‹Omit‹SetPercentageTransferRestrictionsParamsarrow-up-right, "type"›, BigNumber›

Overrides TransferRestrictionBase.setRestrictions

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:37arrow-up-right

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: Percentagearrow-up-right = TransferRestrictionType.Percentage as const

Overrides TransferRestrictionBase.type

Defined in src/api/entities/Asset/TransferRestrictions/Percentage.ts:20arrow-up-right

Last updated

Was this helpful?