CorporateActions

Handles all Asset Corporate Actions related functionality

Hierarchy

  • Namespace‹Asset›

    ↳ CorporateActions

Index

Properties

Methods

Properties

Protected context

• context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11arrow-up-right


distributions

• distributions: Distributions

Defined in src/api/entities/Asset/CorporateActions/index.ts:35arrow-up-right


Protected parent

• parent: Asset

Inherited from void

Defined in src/api/entities/Namespace.ts:9arrow-up-right

Methods

getAgents

▸ getAgents(): Promise‹Identity[]›

Defined in src/api/entities/Asset/CorporateActions/index.ts:125arrow-up-right

Retrieve a list of agent Identities

Returns: Promise‹Identity[]›


getDefaultConfig

▸ getDefaultConfig(): Promise‹CorporateActionDefaultConfigarrow-up-right›

Defined in src/api/entities/Asset/CorporateActions/index.ts:160arrow-up-right

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

Returns: Promise‹CorporateActionDefaultConfigarrow-up-right›


remove

▸ remove(args: RemoveCorporateActionParamsarrow-up-right, opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueue‹void››

Defined in src/api/entities/Asset/CorporateActions/index.ts:118arrow-up-right

Remove a Corporate Action

note this method is of type ProcedureMethodarrow-up-right, which means you can call remove.checkAuthorizationarrow-up-right on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››


removeAgent

▸ removeAgent(opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueue‹void››

Defined in src/api/entities/Asset/CorporateActions/index.ts:108arrow-up-right

Remove the Corporate Actions Agent of the Asset

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

deprecated

note this method is of type NoArgsProcedureMethodarrow-up-right, which means you can call removeAgent.checkAuthorizationarrow-up-right on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››


setAgent

▸ setAgent(args: ModifyCorporateActionsAgentParamsarrow-up-right, opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueue‹void››

Defined in src/api/entities/Asset/CorporateActions/index.ts:94arrow-up-right

Assign a new Corporate Actions Agent for the Asset

note this may create Authorization Requests which have to be accepted by the target Identity. An Accountarrow-up-right or Identityarrow-up-right can fetch its pending Authorization Requests by calling authorizations.getReceived. Also, an Account or Identity can directly fetch the details of an Authorization Request by calling authorizations.getOne

deprecated in favor of inviteAgent

note this method is of type ProcedureMethodarrow-up-right, which means you can call setAgent.checkAuthorizationarrow-up-right on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››


setDefaultConfig

▸ setDefaultConfig(args: ModifyCaDefaultConfigParams, opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueue‹void››

Defined in src/api/entities/Asset/CorporateActions/index.ts:78arrow-up-right

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

note this method is of type ProcedureMethodarrow-up-right, which means you can call setDefaultConfig.checkAuthorizationarrow-up-right on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueue‹void››

Last updated

Was this helpful?