Polymesh SDK API Reference
v5.0.0
v5.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
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • HistoricSettlement
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • IssueTokensParams
    • KeyringPair
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • Permissions
    • PermissionsLike
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • 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
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • claim
  • Protected context
  • currency
  • declarationDate
  • defaultTaxWithholding
  • description
  • expiryDate
  • id
  • Protected kind
  • linkDocuments
  • maxAmount
  • modifyCheckpoint
  • origin
  • pay
  • paymentDate
  • perShare
  • reclaimFunds
  • targets
  • taxWithholdings
  • ticker
  • uuid
  • Methods
  • checkpoint
  • details
  • exists
  • getParticipants
  • getWithheldTax
  • isEqual
  • Static generateUuid
  • Static unserialize

Was this helpful?

  1. Classes

DividendDistribution

PreviousDistributionsNextDocuments

Last updated 3 years ago

Was this helpful?

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

Hierarchy

↳

↳ DividendDistribution

Index

Properties

Methods

Properties

claim

• claim: ProcedureMethod‹void, void›

Claim the dividends corresponding to the current Identity

Protected context

currency

• currency: string

ticker of the currency in which dividends are being distibuted

declarationDate

• declarationDate: Date

date at which the Corporate Action was created

defaultTaxWithholding

• defaultTaxWithholding: BigNumber

default percentage of tax withholding for this Corporate Action

description

• description: string

brief text description of the Corporate Action

expiryDate

• expiryDate: null | Date

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

id

• id: BigNumber

internal Corporate Action ID

Protected kind

linkDocuments

Link a list of documents to this corporate action

param list of documents

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

note required role:

  • Corporate Actions Agent

maxAmount

• maxAmount: BigNumber

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

modifyCheckpoint

• modifyCheckpoint: ProcedureMethod‹ModifyDistributionCheckpointParams, void›

Modify the Distribution's checkpoint

origin

Portfolio from which the dividends will be distributed

pay

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

paymentDate

• paymentDate: Date

date starting from which dividends can be paid/reclaimed

perShare

• perShare: BigNumber

amount of currency to pay for each share the Tokenholder holds

reclaimFunds

• reclaimFunds: ProcedureMethod‹void, void›

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

targets

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

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

ticker

• ticker: string

ticker of the Security Token

uuid

• uuid: string

Methods

checkpoint

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

details

Retrieve details associated with this Dividend Distribution

exists

▸ exists(): Promise‹boolean›

Retrieve whether the Distribution exists

Returns: Promise‹boolean›

getParticipants

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

getWithheldTax

▸ getWithheldTax(): Promise‹BigNumber›

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

note uses the middleware

Returns: Promise‹BigNumber›

isEqual

Whether this Entity is the same as another one

Parameters:

Name

Type

entity

Returns: boolean

Static generateUuid

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

Generate the Entity's UUID from its identifying properties

Type parameters:

â–ª Identifiers: object

Parameters:

Name

Type

Description

identifiers

Identifiers

Returns: string

Static unserialize

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

Unserialize a UUID into its Unique Identifiers

Type parameters:

â–ª Identifiers: object

Parameters:

Name

Type

Description

serialized

string

UUID to unserialize

Returns: Identifiers

Defined in

• context:

Inherited from .

Defined in

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Defined in

Inherited from .

Defined in

• kind:

Overrides .

Defined in

• linkDocuments: ProcedureMethod‹, void›

Inherited from .

Defined in

Defined in

Overrides .

Defined in

• origin: |

Defined in

• pay: ProcedureMethod‹, void›

Defined in

Defined in

Defined in

Defined in

• targets:

Inherited from .

Defined in

• taxWithholdings: []

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

▸ checkpoint(): Promise‹ | ›

Overrides .

Defined in

Returns: Promise‹ | ›

▸ details(): Promise‹›

Defined in

Returns: Promise‹›

Overrides .

Defined in

▸ getParticipants(): Promise‹[]›

Defined in

Returns: Promise‹[]›

Defined in

▸ isEqual(entity: ‹object›): boolean

Inherited from .

Defined in

‹object›

Inherited from .

Defined in

Inherited from .

Defined in

src/api/entities/DividendDistribution/index.ts:154
Context
src/api/entities/Entity.ts:48
src/api/entities/DividendDistribution/index.ts:70
src/api/entities/CorporateAction/index.ts:70
src/api/entities/CorporateAction/index.ts:86
src/api/entities/CorporateAction/index.ts:75
src/api/entities/DividendDistribution/index.ts:86
src/api/entities/CorporateAction/index.ts:60
src/api/entities/DividendDistribution/index.ts:93
LinkCaDocsParams
src/api/entities/CorporateAction/index.ts:148
src/api/entities/DividendDistribution/index.ts:81
src/api/entities/DividendDistribution/index.ts:159
DefaultPortfolio
NumberedPortfolio
src/api/entities/DividendDistribution/index.ts:65
PayDividendsParams
src/api/entities/DividendDistribution/index.ts:164
src/api/entities/DividendDistribution/index.ts:91
src/api/entities/DividendDistribution/index.ts:75
src/api/entities/DividendDistribution/index.ts:174
CorporateActionTargets
src/api/entities/CorporateAction/index.ts:81
TaxWithholding
src/api/entities/CorporateAction/index.ts:92
src/api/entities/CorporateAction/index.ts:65
src/api/entities/Entity.ts:46
Checkpoint
CheckpointSchedule
src/api/entities/DividendDistribution/index.ts:180
Checkpoint
CheckpointSchedule
DividendDistributionDetails
src/api/entities/DividendDistribution/index.ts:199
DividendDistributionDetails
src/api/entities/DividendDistribution/index.ts:190
DistributionParticipant
src/api/entities/DividendDistribution/index.ts:225
DistributionParticipant
src/api/entities/DividendDistribution/index.ts:292
Entity
src/api/entities/Entity.ts:61
src/api/entities/Entity.ts:14
src/api/entities/Entity.ts:23
CorporateAction
claim
context
currency
declarationDate
defaultTaxWithholding
description
expiryDate
id
kind
linkDocuments
maxAmount
modifyCheckpoint
origin
pay
paymentDate
perShare
reclaimFunds
targets
taxWithholdings
ticker
uuid
checkpoint
details
exists
getParticipants
getWithheldTax
isEqual
generateUuid
unserialize
Entity
CheckpointSchedule
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CorporateAction
CheckpointSchedule
CorporateAction
CorporateAction
CheckpointSchedule
CheckpointSchedule
CheckpointSchedule
context
uuid
isEqual
generateUuid
unserialize
declarationDate
defaultTaxWithholding
description
id
kind
linkDocuments
modifyCheckpoint
targets
taxWithholdings
ticker
checkpoint
exists
UnpredictableBenefit