Polymesh SDK API Reference
v7.0.0
v7.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • Agent
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • Context
    • CorporateAction
    • CorporateActions
    • Count
    • CurrentAccount
    • CurrentIdentity
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • Middleware
    • NumberedPortfolio
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • SecurityToken
    • Settlements
    • Sto
    • TickerReservation
    • TokenHolders
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
    • AffirmationStatus
    • AuthorizationType
    • CalendarUnit
    • ClaimType
    • ConditionTarget
    • ConditionType
    • CorporateActionKind
    • CountryCode
    • ErrorCode
    • InstructionStatus
    • InstructionType
    • KnownPermissionGroup
    • KnownTokenType
    • PermissionType
    • ProposalStage
    • RoleType
    • ScopeType
    • SignerType
    • StoBalanceStatus
    • StoSaleStatus
    • StoTimingStatus
    • TargetTreatment
    • TickerReservationStatus
    • TokenIdentifierType
    • TransactionArgumentType
    • TransactionQueueStatus
    • TransactionStatus
    • TransferError
    • TransferRestrictionType
    • TransferStatus
    • TxGroup
    • VenueType
  • Interfaces
    • ActiveTransferRestrictions
    • AddBatchTransactionOpts
    • AddClaimsParams
    • AddInstructionParams
    • AddInstructionsParams
    • AddInvestorUniquenessClaimParams
    • AddPairBaseParams
    • AddTransactionOpts
    • AddTransactionOptsBase
    • ArrayTransactionArgument
    • Balance
    • CalendarPeriod
    • CddProviderRole
    • CheckpointWithData
    • ClaimClassicTickerParams
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionPayment
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • GroupedInstructions
    • HistoricSettlement
    • HumanReadable
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • IssueTokensParams
    • KeyringPair
    • LeaveIdentityParams
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProcedureMethod
    • ProcedureOpts
    • ProposalDetails
    • ProposalTimeFrames
    • ProposalVote
    • RedeemTokenParams
    • RegisterIdentityParams
    • RemoveCheckpointScheduleParams
    • RemoveCorporateActionParams
    • RemoveSecondaryKeysParams
    • RenamePortfolioParams
    • Requirement
    • RequirementCompliance
    • ReserveTickerParams
    • ResultSet
    • RevokeClaimsParams
    • ScheduleDetails
    • ScheduleWithDetails
    • Scope
    • SecondaryKey
    • SectionPermissions
    • SecurityTokenDetails
    • SetAssetRequirementsParams
    • SetCountTransferRestrictionsParams
    • SetCustodianParams
    • SetPercentageTransferRestrictionsParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SignerValue
    • SimpleEnumTransactionArgument
    • SimplePermissions
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • TaxWithholding
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenCaaRole
    • TokenDocument
    • TokenIdentifier
    • TokenPiaRole
    • TransactionPermissions
    • TransferBreakdown
    • TransferPolyxParams
    • TransferRestriction
    • TransferRestrictionInputBase
    • TransferRestrictionResult
    • TransferTickerOwnershipParams
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • get
  • Protected parent
  • Protected type
  • Methods
  • addRestriction
  • removeRestrictions
  • setRestrictions

Was this helpful?

  1. Classes

Percentage

PreviousOfferingsNextPermissionGroup

Last updated 3 years ago

Was this helpful?

Handles all Percentage Transfer Restriction related functionality

Hierarchy

↳ ‹›

↳ Percentage

Index

Properties

Methods

Properties

Protected context

Inherited from void

get

• get: function

Retrieve all active Percentage 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:

Protected parent

Inherited from void

Protected type

Methods

addRestriction

Add a Percentage Transfer Restriction to this Security Token

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

note required role:

  • Security Token Owner

Parameters:

Name

Type

args

opts?

removeRestrictions

Removes all Percentage Transfer Restrictions from this Security Token

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

Parameters:

Name

Type

args

void

opts?

setRestrictions

Sets all Percentage Transfer Restrictions on this Security Token

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

note required role:

  • Security Token Owner

Parameters:

Name

Type

args

opts?

• context:

Defined in

Overrides .

Defined in

▸ (): Promise‹‹››

• parent:

Defined in

• type: = TransferRestrictionType.Percentage as const

Overrides .

Defined in

▸ addRestriction(args: Omit‹, "type"›, opts?: ): Promise‹‹number››

Overrides .

Defined in

note this method is of type , which means you can call addRestriction.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Omit‹, "type"›

Returns: Promise‹‹number››

▸ removeRestrictions(args: void, opts?: ): Promise‹‹number››

Overrides .

Defined in

note this method is of type , which means you can call removeRestrictions.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Returns: Promise‹‹number››

▸ setRestrictions(args: Omit‹, "type"›, opts?: ): Promise‹‹number››

Overrides .

Defined in

note this method is of type , which means you can call setRestrictions.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Omit‹, "type"›

Returns: Promise‹‹number››

TransferRestrictionBase
Percentage
context
get
parent
type
addRestriction
removeRestrictions
setRestrictions
Context
src/api/entities/Namespace.ts:11
TransferRestrictionBase
get
src/api/entities/SecurityToken/TransferRestrictions/Percentage.ts:70
ActiveTransferRestrictions
PercentageTransferRestriction
SecurityToken
src/api/entities/Namespace.ts:9
Percentage
TransferRestrictionBase
type
src/api/entities/SecurityToken/TransferRestrictions/Percentage.ts:19
AddPercentageTransferRestrictionParams
ProcedureOpts
TransactionQueue
TransferRestrictionBase
addRestriction
src/api/entities/SecurityToken/TransferRestrictions/Percentage.ts:32
ProcedureMethod
TransactionQueue
ProcedureOpts
TransactionQueue
TransferRestrictionBase
removeRestrictions
src/api/entities/SecurityToken/TransferRestrictions/Percentage.ts:59
ProcedureMethod
TransactionQueue
SetPercentageTransferRestrictionsParams
ProcedureOpts
TransactionQueue
TransferRestrictionBase
setRestrictions
src/api/entities/SecurityToken/TransferRestrictions/Percentage.ts:47
ProcedureMethod
TransactionQueue
AddPercentageTransferRestrictionParams
ProcedureOpts
ProcedureOpts
SetPercentageTransferRestrictionsParams
ProcedureOpts