Polymesh SDK API Reference
v6.0.0
v6.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
    • ClaimClassicTickerParams
    • ClaimData
    • ClaimScope
    • ClaimTarget
    • ComplexTransactionArgument
    • ConditionCompliance
    • ConnectParamsBase
    • ConstructorParams
    • ConsumeParams
    • ControllerTransferParams
    • CorporateActionDefaults
    • CorporateActionTargets
    • CountTransferRestriction
    • CountTransferRestrictionInput
    • CreateCheckpointScheduleParams
    • CreateSecurityTokenParams
    • CreateVenueParams
    • DeletePortfolioParams
    • DistributionParticipant
    • DistributionPayment
    • DistributionWithDetails
    • DividendDistributionDetails
    • DividendDistributionParams
    • EditClaimsParams
    • EventIdentifier
    • ExtrinsicData
    • Fees
    • HistoricSettlement
    • IdentityBalance
    • IdentityWithClaims
    • InstructionAffirmation
    • InvestInStoParams
    • Investment
    • InviteAccountParams
    • IssueTokensParams
    • KeyringPair
    • LeaveIdentityParams
    • Leg
    • LinkCaDocsParams
    • MiddlewareConfig
    • ModifyCorporateActionsAgentParams
    • ModifyInstructionAffirmationParams
    • ModifyPrimaryIssuanceAgentParams
    • ModifySignerPermissionsParams
    • ModifyTokenTrustedClaimIssuersAddSetParams
    • ModifyTokenTrustedClaimIssuersRemoveParams
    • MoveFundsParams
    • NetworkProperties
    • PaginationOptions
    • PayDividendsParams
    • PercentageTransferRestriction
    • PercentageTransferRestrictionInput
    • Permissions
    • PermissionsLike
    • PlainTransactionArgument
    • PortfolioBalance
    • PortfolioCustodianRole
    • PortfolioMovement
    • ProcedureAuthorizationStatus
    • ProcedureMethod
    • 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
    • TransferTickerOwnershipParams
    • TransferTokenOwnershipParams
    • TrustedClaimIssuer
    • UiKeyring
    • UniqueIdentifiers
    • VenueDetails
    • VenueOwnerRole
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • distributions
  • Protected parent
  • Methods
  • getAgent
  • getDefaults
  • remove
  • removeAgent
  • setAgent
  • setDefaults

Was this helpful?

  1. Classes

CorporateActions

Handles all Security Token Corporate Actions related functionality

Hierarchy

  • Namespace‹SecurityToken›

    ↳ CorporateActions

Index

Properties

  • context

  • distributions

  • parent

Methods

  • getAgent

  • getDefaults

  • remove

  • removeAgent

  • setAgent

  • setDefaults

Properties

Protected context

• context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11

distributions

• distributions: Distributions

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:36

Protected parent

• parent: SecurityToken

Inherited from void

Defined in src/api/entities/Namespace.ts:9

Methods

getAgent

▸ getAgent(): Promise‹Identity›

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:131

Retrieve the Security Token's Corporate Actions agent

Returns: Promise‹Identity›

getDefaults

▸ getDefaults(): Promise‹CorporateActionDefaults›

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:163

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

Returns: Promise‹CorporateActionDefaults›

remove

▸ remove(args: RemoveCorporateActionParams): Promise‹TransactionQueue‹void››

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:124

Remove a Corporate Action

note required role:

  • Corporate Actions Agent

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

Parameters:

Name

Type

args

Returns: Promise‹TransactionQueue‹void››

removeAgent

▸ removeAgent(args: void): Promise‹TransactionQueue‹void››

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:111

Remove the Corporate Actions Agent of the Security Token

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

note required role:

  • Security Token Owner

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

Parameters:

Name

Type

args

void

Returns: Promise‹TransactionQueue‹void››

setAgent

▸ setAgent(args: ModifyCorporateActionsAgentParams): Promise‹TransactionQueue‹void››

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:96

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

note required role:

  • Security Token Owner

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

Parameters:

Name

Type

args

Returns: Promise‹TransactionQueue‹void››

setDefaults

▸ setDefaults(args: ModifyCaDefaultsParams): Promise‹TransactionQueue‹void››

Defined in src/api/entities/SecurityToken/CorporateActions/index.ts:79

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

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

Parameters:

Name

Type

args

Returns: Promise‹TransactionQueue‹void››

PreviousCorporateActionNextCount

Last updated 4 years ago

Was this helpful?

RemoveCorporateActionParams
ModifyCorporateActionsAgentParams
ModifyCaDefaultsParams