Polymesh SDK API Reference
v8.0.0
v8.0.0
  • Introduction
  • Globals
  • Classes
    • Account
    • Agent
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • Context
    • CorporateAction
    • CorporateActions
    • Count
    • CurrentAccount
    • CurrentIdentity
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Middleware
    • NumberedPortfolio
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • 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
    • PermissionGroupType
    • PermissionType
    • ProposalStage
    • RoleType
    • ScopeType
    • SignerType
    • StoBalanceStatus
    • StoSaleStatus
    • StoTimingStatus
    • TargetTreatment
    • TickerReservationStatus
    • TokenIdentifierType
    • TransactionArgumentType
    • TransactionQueueStatus
    • TransactionStatus
    • TransferError
    • TransferRestrictionType
    • TransferStatus
    • TxGroup
    • VenueType
  • Interfaces
    • ActiveTransferRestrictions
    • AddBatchTransactionOpts
    • AddClaimsParams
    • AddInstructionParams
    • AddInstructionsParams
    • AddInvestorUniquenessClaimParams
    • AddPairBaseParams
    • AddTransactionOpts
    • AddTransactionOptsBase
    • AgentWithGroup
    • ArrayTransactionArgument
    • Balance
    • CalendarPeriod
    • CddProviderRole
    • CheckpointWithData
    • ClaimClassicTickerParams
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateGroupParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionPayment
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • GroupedInstructions
    • HistoricSettlement
    • HumanReadable
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • InviteExternalAgentParams
    • IssueTokensParams
    • KeyringPair
    • LeaveIdentityParams
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProcedureMethod
    • ProcedureOpts
    • ProposalDetails
    • ProposalTimeFrames
    • ProposalVote
    • RedeemTokenParams
    • RegisterIdentityParams
    • RemoveCheckpointScheduleParams
    • RemoveCorporateActionParams
    • RemoveExternalAgentParams
    • RemoveSecondaryKeysParams
    • RenamePortfolioParams
    • Requirement
    • RequirementCompliance
    • ReserveTickerParams
    • ResultSet
    • RevokeClaimsParams
    • ScheduleDetails
    • ScheduleWithDetails
    • Scope
    • SecondaryKey
    • SectionPermissions
    • SecurityTokenDetails
    • SetAssetRequirementsParams
    • SetCountTransferRestrictionsParams
    • SetCustodianParams
    • SetPercentageTransferRestrictionsParams
    • SetTokenDocumentsParams
    • SettlementLeg
    • SignerValue
    • SimpleEnumTransactionArgument
    • SimplePermissions
    • StoDetails
    • StoStatus
    • StoTier
    • StoWithDetails
    • TaxWithholding
    • TickerOwnerRole
    • TickerReservationDetails
    • Tier
    • ToggleFreezeSecondaryKeysParams
    • ToggleFreezeStoParams
    • ToggleFreezeTransfersParams
    • TogglePauseRequirementsParams
    • TokenDocument
    • TokenIdentifier
    • TransactionPermissions
    • 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
  • distributions
  • Protected parent
  • Methods
  • getAgents
  • getDefaults
  • remove
  • removeAgent
  • setAgent
  • setDefaults

Was this helpful?

  1. Classes

CorporateActions

PreviousCorporateActionNextCount

Last updated 3 years ago

Was this helpful?

Handles all Security Token Corporate Actions related functionality

Hierarchy

  • Namespace‹›

    ↳ CorporateActions

Index

Properties

Methods

Properties

Protected context

Inherited from void

distributions

Protected parent

Inherited from void

Methods

getAgents

Retrieve a list of agent identities

getDefaults

Retrieve default values for targets, global tax withholding percentage and per-identity tax withholding perecentages.

note These 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 defaults

remove

Remove a Corporate Action

Parameters:

Name

Type

args

opts?

removeAgent

Remove the Corporate Actions Agent of the Security Token

note this action will leave the Security Token owner as the Corporate Actions Agent

deprecated

Parameters:

Name

Type

args

void

opts?

setAgent

Assign a new Corporate Actions Agent for the Security Token

note this may create AuthorizationRequests which have to be accepted by the corresponding Account. An Account or Identity can fetch its pending Authorization Requests by calling authorizations.getReceived

deprecated in favor of inviteAgent

Parameters:

Name

Type

args

opts?

setDefaults

Assign default values for targets, global tax withholding percentage and per-identity tax withholding perecentages.

note These 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 defaults

Parameters:

Name

Type

args

opts?

• context:

Defined in

• distributions:

Defined in

• parent:

Defined in

▸ getAgents(): Promise‹[]›

Defined in

Returns: Promise‹[]›

▸ getDefaults(): Promise‹›

Defined in

Returns: Promise‹›

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

Defined in

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

Returns: Promise‹‹void››

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

Defined in

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

Returns: Promise‹‹void››

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

Defined in

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

Returns: Promise‹‹void››

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

Defined in

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

Returns: Promise‹‹void››

Context
src/api/entities/Namespace.ts:11
Distributions
src/api/entities/SecurityToken/CorporateActions/index.ts:37
SecurityToken
src/api/entities/Namespace.ts:9
Identity
src/api/entities/SecurityToken/CorporateActions/index.ts:127
Identity
CorporateActionDefaults
src/api/entities/SecurityToken/CorporateActions/index.ts:162
CorporateActionDefaults
RemoveCorporateActionParams
ProcedureOpts
TransactionQueue
src/api/entities/SecurityToken/CorporateActions/index.ts:120
ProcedureMethod
TransactionQueue
ProcedureOpts
TransactionQueue
src/api/entities/SecurityToken/CorporateActions/index.ts:110
ProcedureMethod
TransactionQueue
ModifyCorporateActionsAgentParams
ProcedureOpts
TransactionQueue
src/api/entities/SecurityToken/CorporateActions/index.ts:96
ProcedureMethod
TransactionQueue
src/api/entities/SecurityToken/CorporateActions/index.ts:80
ProcedureMethod
TransactionQueue
SecurityToken
context
distributions
parent
getAgents
getDefaults
remove
removeAgent
setAgent
setDefaults
RemoveCorporateActionParams
ProcedureOpts
ProcedureOpts
ModifyCorporateActionsAgentParams
ProcedureOpts
ProcedureOpts
ProcedureOpts
TransactionQueue
ModifyCaDefaultsParams
ModifyCaDefaultsParams