api_entities_CorporateAction.CorporateAction

@polymeshassociation/polymesh-sdk / Modules / api/entities/CorporateAction / CorporateAction

Class: CorporateAction

api/entities/CorporateAction.CorporateAction

Represents an action initiated by the issuer of an Asset which may affect the positions of the Asset Holders

Hierarchy

Table of contents

Properties

Methods

Properties

asset

asset: Asset

Asset affected by this Corporate Action

Inherited from

CorporateActionBase.asset

Defined in

api/entities/CorporateActionBase/index.ts:77


declarationDate

declarationDate: Date

date at which the Corporate Action was created

Inherited from

CorporateActionBase.declarationDate

Defined in

api/entities/CorporateActionBase/index.ts:82


defaultTaxWithholding

defaultTaxWithholding: BigNumber

default percentage (0-100) of tax withholding for this Corporate Action

Inherited from

CorporateActionBase.defaultTaxWithholding

Defined in

api/entities/CorporateActionBase/index.ts:98


description

description: string

brief text description of the Corporate Action

Inherited from

CorporateActionBase.description

Defined in

api/entities/CorporateActionBase/index.ts:87


id

id: BigNumber

internal Corporate Action ID

Inherited from

CorporateActionBase.id

Defined in

api/entities/CorporateActionBase/index.ts:72


targets

targets: CorporateActionTargets

Asset Holder Identities related to this Corporate action. If the treatment is Exclude, the Identities in the array will not be targeted by the Action, Identities not in the array will be targeted, and vice versa

Inherited from

CorporateActionBase.targets

Defined in

api/entities/CorporateActionBase/index.ts:93


taxWithholdings

taxWithholdings: TaxWithholding[]

percentage (0-100) of tax withholding per Identity. Any Identity not present in this array uses the default tax withholding percentage

Inherited from

CorporateActionBase.taxWithholdings

Defined in

api/entities/CorporateActionBase/index.ts:104


uuid

uuid: string

Inherited from

CorporateActionBase.uuid

Defined in

api/entities/Entity.ts:46

Methods

checkpoint

checkpoint(): Promise<null | CheckpointSchedule | Checkpoint>

Retrieve the Checkpoint associated with this Corporate Action. If the Checkpoint is scheduled and has not been created yet, the corresponding CheckpointSchedule is returned instead. A null value means the Corporate Action was created without an associated Checkpoint

Returns

Promise<null | CheckpointSchedule | Checkpoint>

Inherited from

CorporateActionBase.checkpoint

Defined in

api/entities/CorporateActionBase/index.ts:183


exists

exists(): Promise<boolean>

Determine whether this Corporate Action exists on chain

Returns

Promise<boolean>

Inherited from

CorporateActionBase.exists

Defined in

api/entities/CorporateActionBase/index.ts:172


isEqual

isEqual(entity): boolean

Determine whether this Entity is the same as another one

Parameters

Name
Type

entity

Entity<unknown, unknown>

Returns

boolean

Inherited from

CorporateActionBase.isEqual

Defined in

api/entities/Entity.ts:61


linkDocuments

linkDocuments(args, opts?): Promise<TransactionQueue<void, void, unknown[][]>>

Link a list of documents to this corporate action

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

note this method is of type ProcedureMethod, which means you can call linkDocuments.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters

Returns

Promise<TransactionQueue<void, void, unknown[][]>>

Inherited from

CorporateActionBase.linkDocuments

Defined in

api/entities/CorporateActionBase/index.ts:152


modifyCheckpoint

modifyCheckpoint(args, opts?): Promise<TransactionQueue<void, void, unknown[][]>>

Modify the Corporate Action's Checkpoint

note this method is of type ProcedureMethod, which means you can call modifyCheckpoint.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters

Name
Type

args

ModifyCaCheckpointParams

Returns

Promise<TransactionQueue<void, void, unknown[][]>>

Overrides

CorporateActionBase.modifyCheckpoint

Defined in

api/entities/CorporateAction.ts:72


toHuman

toHuman(): HumanReadable

Return the Corporate Action's static data

Returns

HumanReadable

Inherited from

CorporateActionBase.toHuman

Defined in

api/entities/CorporateActionBase/index.ts:262


generateUuid

Static generateUuid<Identifiers>(identifiers): string

Generate the Entity's UUID from its identifying properties

Type parameters

Name

Identifiers

Parameters

Name
Type

identifiers

Identifiers

Returns

string

Inherited from

CorporateActionBase.generateUuid

Defined in

api/entities/Entity.ts:14


unserialize

Static unserialize<Identifiers>(serialized): Identifiers

Unserialize a UUID into its Unique Identifiers

Type parameters

Name

Identifiers

Parameters

Name
Type
Description

serialized

string

UUID to unserialize

Returns

Identifiers

Inherited from

CorporateActionBase.unserialize

Defined in

api/entities/Entity.ts:23

Last updated