Polymesh SDK API Reference
v14.1.0
v14.1.0
  • Globals
  • Classes
    • Account
    • AccountManagement
    • Asset
    • AssetHolders
    • AssetPermissions
    • Assets
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • CorporateAction
    • CorporateActionBase
    • CorporateActions
    • Count
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identities
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Network
    • NumberedPortfolio
    • Offering
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • Settlements
    • Subsidy
    • TickerReservation
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
  • Interfaces
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • distributions
  • Protected parent
  • Methods
  • getAgents
  • getDefaultConfig
  • remove
  • removeAgent
  • setAgent
  • setDefaultConfig

Was this helpful?

  1. Classes

CorporateActions

PreviousCorporateActionBaseNextCount

Last updated 2 years ago

Was this helpful?

Handles all Asset Corporate Actions related functionality

Hierarchy

  • Namespace‹›

    ↳ CorporateActions

Index

Properties

Methods

Properties

Protected context

• context: Context

Inherited from void


distributions


Protected parent

Inherited from void

Methods

getAgents

Retrieve a list of agent Identities


getDefaultConfig

Retrieve default config comprising of targets, global tax withholding percentage and per-Identity tax withholding percentages.

note This config is applied to every Corporate Action that is created until they are modified. Modifying the default config does not impact existing Corporate Actions. When creating a Corporate Action, values passed explicitly will override this default config


remove

Remove a Corporate Action

Parameters:

Name
Type

args

opts?


removeAgent

Remove the Corporate Actions Agent of the Asset

note this action will leave the Asset owner as the Corporate Actions Agent

deprecated

Parameters:

Name
Type

opts?


setAgent

Assign a new Corporate Actions Agent for the Asset

deprecated in favor of inviteAgent

Parameters:

Name
Type

args

opts?


setDefaultConfig

Assign default config values(targets, global tax withholding percentage and per-Identity tax withholding percentages)

note These config values are applied to every Corporate Action that is created until they are modified. Modifying these values does not impact existing Corporate Actions. When creating a Corporate Action, values passed explicitly will override these default config values

Parameters:

Name
Type

args

opts?

Defined in

• distributions:

Defined in

• parent:

Defined in

▸ getAgents(): Promise‹[]›

Defined in

Returns: Promise‹[]›

▸ getDefaultConfig(): Promise‹›

Defined in

Returns: Promise‹›

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

Defined in

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

Returns: Promise‹‹void››

▸ removeAgent(opts?: ): Promise‹‹void››

Defined in

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

Returns: Promise‹‹void››

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

Defined in

note this may create which have to be accepted by the target Identity. An or can fetch its pending Authorization Requests by calling . Also, an Account or Identity can directly fetch the details of an Authorization Request by calling

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

Returns: Promise‹‹void››

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

Defined in

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

Returns: Promise‹‹void››

src/api/entities/Namespace.ts:11
Distributions
src/api/entities/Asset/CorporateActions/index.ts:35
Asset
src/api/entities/Namespace.ts:9
Identity
src/api/entities/Asset/CorporateActions/index.ts:125
Identity
CorporateActionDefaultConfig
src/api/entities/Asset/CorporateActions/index.ts:160
CorporateActionDefaultConfig
RemoveCorporateActionParams
ProcedureOpts
TransactionQueue
src/api/entities/Asset/CorporateActions/index.ts:118
ProcedureMethod
remove.checkAuthorization
TransactionQueue
ProcedureOpts
TransactionQueue
src/api/entities/Asset/CorporateActions/index.ts:108
NoArgsProcedureMethod
removeAgent.checkAuthorization
TransactionQueue
ModifyCorporateActionsAgentParams
ProcedureOpts
TransactionQueue
src/api/entities/Asset/CorporateActions/index.ts:94
ProcedureMethod
setAgent.checkAuthorization
TransactionQueue
src/api/entities/Asset/CorporateActions/index.ts:78
ProcedureMethod
setDefaultConfig.checkAuthorization
TransactionQueue
Asset
context
distributions
parent
getAgents
getDefaultConfig
remove
removeAgent
setAgent
setDefaultConfig
RemoveCorporateActionParams
ProcedureOpts
ProcedureOpts
ModifyCorporateActionsAgentParams
ProcedureOpts
ProcedureOpts
Authorization Requests
Account
Identity
ProcedureOpts
TransactionQueue
authorizations.getReceived
authorizations.getOne
ModifyCaDefaultConfigParams
ModifyCaDefaultConfigParams