Polymesh SDK API Reference
v6.0.0
v6.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • 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
    • 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
    • KnownTokenType
    • ProposalStage
    • RoleType
    • ScopeType
    • StoBalanceStatus
    • StoSaleStatus
    • StoTimingStatus
    • TargetTreatment
    • TickerReservationStatus
    • TokenIdentifierType
    • TransactionArgumentType
    • TransactionQueueStatus
    • TransactionStatus
    • TransferError
    • TransferRestrictionType
    • TransferStatus
    • TxGroup
    • VenueType
  • Interfaces
    • AccountData
    • ActiveTransferRestrictions
    • AddBatchTransactionOpts
    • AddClaimsParams
    • AddInstructionParams
    • AddInstructionsParams
    • AddInvestorUniquenessClaimParams
    • 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
    • HistoricSettlement
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • IssueTokensParams
    • KeyringPair
    • LeaveIdentityParams
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • Permissions
    • PermissionsLike
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProcedureMethod
    • ProposalDetails
    • ProposalTimeFrames
    • ProposalVote
    • RedeemTokenParams
    • RegisterIdentityParams
    • RemoveCheckpointScheduleParams
    • RemoveCorporateActionParams
    • RemoveSecondaryKeysParams
    • RenamePortfolioParams
    • Requirement
    • RequirementCompliance
    • ReserveTickerParams
    • ResultSet
    • RevokeClaimsParams
    • ScheduleDetails
    • ScheduleWithDetails
    • Scope
    • SecondaryKey
    • SecurityTokenDetails
    • SetAssetRequirementsParams
    • SetCountTransferRestrictionsParams
    • SetCustodianParams
    • SetPercentageTransferRestrictionsParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SimpleEnumTransactionArgument
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • TaxWithholding
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenCaaRole
    • TokenDocument
    • TokenIdentifier
    • TokenOwnerRole
    • TokenPiaRole
    • 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
  • currency
  • declarationDate
  • defaultTaxWithholding
  • description
  • expiryDate
  • id
  • Protected kind
  • maxAmount
  • origin
  • paymentDate
  • perShare
  • targets
  • taxWithholdings
  • ticker
  • uuid
  • Methods
  • checkpoint
  • claim
  • details
  • exists
  • getParticipant
  • getParticipants
  • getPaymentHistory
  • getWithheldTax
  • isEqual
  • linkDocuments
  • modifyCheckpoint
  • pay
  • reclaimFunds
  • Static generateUuid
  • Static unserialize

Was this helpful?

  1. Classes

DividendDistribution

Represents a Corporate Action via which a Security Token issuer wishes to distribute dividends between a subset of the Tokenholders (targets)

Hierarchy

↳ CorporateAction

↳ DividendDistribution

Index

Properties

  • context

  • currency

  • declarationDate

  • defaultTaxWithholding

  • description

  • expiryDate

  • id

  • kind

  • maxAmount

  • origin

  • paymentDate

  • perShare

  • targets

  • taxWithholdings

  • ticker

  • uuid

Methods

  • checkpoint

  • claim

  • details

  • exists

  • getParticipant

  • getParticipants

  • getPaymentHistory

  • getWithheldTax

  • isEqual

  • linkDocuments

  • modifyCheckpoint

  • pay

  • reclaimFunds

  • generateUuid

  • unserialize

Properties

Protected context

• context: Context

Inherited from CheckpointSchedule.context

Defined in src/api/entities/Entity.ts:48

currency

• currency: string

Defined in src/api/entities/DividendDistribution/index.ts:74

ticker of the currency in which dividends are being distibuted

declarationDate

• declarationDate: Date

Inherited from CorporateAction.declarationDate

Defined in src/api/entities/CorporateAction/index.ts:70

date at which the Corporate Action was created

defaultTaxWithholding

• defaultTaxWithholding: BigNumber

Inherited from CorporateAction.defaultTaxWithholding

Defined in src/api/entities/CorporateAction/index.ts:86

default percentage of tax withholding for this Corporate Action

description

• description: string

Inherited from CorporateAction.description

Defined in src/api/entities/CorporateAction/index.ts:75

brief text description of the Corporate Action

expiryDate

• expiryDate: null | Date

Defined in src/api/entities/DividendDistribution/index.ts:90

date after which dividends can no longer be paid/reclaimed. A null value means the distribution never expires

id

• id: BigNumber

Inherited from CorporateAction.id

Defined in src/api/entities/CorporateAction/index.ts:60

internal Corporate Action ID

Protected kind

• kind: UnpredictableBenefit

Overrides CorporateAction.kind

Defined in src/api/entities/DividendDistribution/index.ts:97

maxAmount

• maxAmount: BigNumber

Defined in src/api/entities/DividendDistribution/index.ts:85

maximum amount of currency to be distributed. Distributions are "first come, first served", so funds can be depleted before every Tokenholder receives their corresponding amount

origin

• origin: DefaultPortfolio | NumberedPortfolio

Defined in src/api/entities/DividendDistribution/index.ts:69

Portfolio from which the dividends will be distributed

paymentDate

• paymentDate: Date

Defined in src/api/entities/DividendDistribution/index.ts:95

date starting from which dividends can be paid/reclaimed

perShare

• perShare: BigNumber

Defined in src/api/entities/DividendDistribution/index.ts:79

amount of currency to pay for each share the Tokenholder holds

targets

• targets: CorporateActionTargets

Inherited from CorporateAction.targets

Defined in src/api/entities/CorporateAction/index.ts:81

tokenholder identities related to this Corporate action. If the treatment is Exclude, the identities are not targeted by the Action, and any identities left out of the array will be targeted, and vice versa

taxWithholdings

• taxWithholdings: TaxWithholding[]

Inherited from CorporateAction.taxWithholdings

Defined in src/api/entities/CorporateAction/index.ts:92

percentage of tax withholding per Identity. Any Identity not present in this array uses the default tax withholding percentage

ticker

• ticker: string

Inherited from CorporateAction.ticker

Defined in src/api/entities/CorporateAction/index.ts:65

ticker of the Security Token

uuid

• uuid: string

Inherited from CheckpointSchedule.uuid

Defined in src/api/entities/Entity.ts:46

Methods

checkpoint

▸ checkpoint(): Promise‹Checkpoint | CheckpointSchedule›

Overrides CorporateAction.checkpoint

Defined in src/api/entities/DividendDistribution/index.ts:206

Retrieve the Checkpoint associated with this Dividend Distribution. If the Checkpoint is scheduled and has not been created yet, the corresponding CheckpointSchedule is returned instead

Returns: Promise‹Checkpoint | CheckpointSchedule›

claim

▸ claim(args: void): Promise‹TransactionQueue‹void››

Defined in src/api/entities/DividendDistribution/index.ts:161

Claim the dividends corresponding to the current Identity

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

Parameters:

Name

Type

args

void

Returns: Promise‹TransactionQueue‹void››

details

▸ details(): Promise‹DividendDistributionDetails›

Defined in src/api/entities/DividendDistribution/index.ts:225

Retrieve details associated with this Dividend Distribution

Returns: Promise‹DividendDistributionDetails›

exists

▸ exists(): Promise‹boolean›

Overrides CorporateAction.exists

Defined in src/api/entities/DividendDistribution/index.ts:216

Retrieve whether the Distribution exists

Returns: Promise‹boolean›

getParticipant

▸ getParticipant(args?: undefined | object): Promise‹DistributionParticipant | null›

Defined in src/api/entities/DividendDistribution/index.ts:311

Retrieve an Identity that is entitled to dividends in this Distribution (participant), the amount it is entitled to and whether it has been paid or not

note if the Distribution Checkpoint hasn't been created yet, the result will be null. This is because the Distribution participant's corresponding payment cannot be determined without a Checkpoint

Parameters:

Name

Type

args?

undefined | object

Returns: Promise‹DistributionParticipant | null›

getParticipants

▸ getParticipants(): Promise‹DistributionParticipant[]›

Defined in src/api/entities/DividendDistribution/index.ts:251

Retrieve a comprehensive list of all Identities that are entitled to dividends in this Distribution (participants), the amount they are entitled to and whether they have been paid or not

note this request can take a lot of time with large amounts of Tokenholders

note if the Distribution Checkpoint hasn't been created yet, the result will be an empty array. This is because the Distribution participants cannot be determined without a Checkpoint

Returns: Promise‹DistributionParticipant[]›

getPaymentHistory

▸ getPaymentHistory(opts: object): Promise‹ResultSet‹DistributionPayment››

Defined in src/api/entities/DividendDistribution/index.ts:406

Retrieve the payment history for this Distribution

note uses the middleware

note supports pagination

Parameters:

▪Default value opts: object= {}

Name

Type

size?

undefined | number

start?

undefined | number

Returns: Promise‹ResultSet‹DistributionPayment››

getWithheldTax

▸ getWithheldTax(): Promise‹BigNumber›

Defined in src/api/entities/DividendDistribution/index.ts:384

Retrieve the amount of taxes that have been withheld up to this point in this Distribution

note uses the middleware

Returns: Promise‹BigNumber›

isEqual

▸ isEqual(entity: Entity‹unknown›): boolean

Inherited from CheckpointSchedule.isEqual

Defined in src/api/entities/Entity.ts:61

Whether this Entity is the same as another one

Parameters:

Name

Type

entity

Returns: boolean

linkDocuments

▸ linkDocuments(args: LinkCaDocsParams): Promise‹TransactionQueue‹void››

Inherited from CorporateAction.linkDocuments

Defined in src/api/entities/CorporateAction/index.ts:149

Link a list of documents to this corporate action

note any previous links are removed in favor of the new list

note required role:

  • Corporate Actions Agent

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

Parameters:

Name

Type

args

Returns: Promise‹TransactionQueue‹void››

modifyCheckpoint

▸ modifyCheckpoint(args: ModifyDistributionCheckpointParams): Promise‹TransactionQueue‹void››

Overrides CorporateAction.modifyCheckpoint

Defined in src/api/entities/DividendDistribution/index.ts:171

Modify the Distribution's checkpoint

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

Parameters:

Name

Type

args

ModifyDistributionCheckpointParams

Returns: Promise‹TransactionQueue‹void››

pay

▸ pay(args: PayDividendsParams): Promise‹TransactionQueue‹void››

Defined in src/api/entities/DividendDistribution/index.ts:183

Transfer the corresponding share of the dividends to a list of Identities

note due to performance issues, we do not validate that the distribution has enough remaining funds to pay the corresponding amount to the supplied Identities

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

Parameters:

Name

Type

args

Returns: Promise‹TransactionQueue‹void››

reclaimFunds

▸ reclaimFunds(args: void): Promise‹TransactionQueue‹void››

Defined in src/api/entities/DividendDistribution/index.ts:198

Reclaim any remaining funds back to the origin Portfolio. This can only be done after the Distribution has expired

note withheld taxes are also reclaimed in the same transaction

note required roles:

  • Origin Portfolio Custodian

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

Parameters:

Name

Type

args

void

Returns: Promise‹TransactionQueue‹void››

Static generateUuid

▸ generateUuid‹Identifiers›(identifiers: Identifiers): string

Inherited from CheckpointSchedule.generateUuid

Defined in src/api/entities/Entity.ts:14

Generate the Entity's UUID from its identifying properties

Type parameters:

▪ Identifiers

Parameters:

Name

Type

Description

identifiers

Identifiers

Returns: string

Static unserialize

▸ unserialize‹Identifiers›(serialized: string): Identifiers

Inherited from CheckpointSchedule.unserialize

Defined in src/api/entities/Entity.ts:23

Unserialize a UUID into its Unique Identifiers

Type parameters:

▪ Identifiers

Parameters:

Name

Type

Description

serialized

string

UUID to unserialize

Returns: Identifiers

PreviousDistributionsNextDocuments

Last updated 4 years ago

Was this helpful?

‹unknown›

Entity
LinkCaDocsParams
PayDividendsParams