Polymesh SDK API Reference
beta
beta
  • 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
  • Protected parent
  • Methods
  • complexityOf
  • create
  • currentComplexity
  • get
  • getOne
  • maxComplexity
  • remove

Was this helpful?

  1. Classes

Schedules

PreviousRequirementsNextSettlements

Last updated 2 years ago

Was this helpful?

Handles all Asset Checkpoint Schedules related functionality

Hierarchy

  • Namespace‹›

    ↳ Schedules

Index

Properties

Methods

Properties

Protected context

• context: Context

Inherited from void


Protected parent

Inherited from void

Methods

complexityOf

Calculate an abstract measure of the complexity of a given Calendar Period

Parameters:

Name
Type

period

Returns: BigNumber


create

Create a schedule for Checkpoint creation (i.e. "Create a checkpoint every week for 5 weeks, starting next tuesday")

note due to chain limitations, schedules are advanced and (if appropriate) executed whenever the Asset is redeemed, issued or transferred between portfolios. This means that on an Asset without much movement, there may be disparities between intended Checkpoint creation dates and the actual date when they are created. This, however, has no effect on the Checkpoint's accuracy regarding to balances

Parameters:

Name
Type

args

opts?


currentComplexity

▸ currentComplexity(): Promise‹BigNumber›

Returns: Promise‹BigNumber›


get

Retrieve all active Checkpoint Schedules


getOne

Retrieve a single Checkpoint Schedule associated to this Asset by its ID

throws if there is no Schedule with the passed ID

Parameters:

▪ __namedParameters: object

Name
Type

id

BigNumber‹›


maxComplexity

▸ maxComplexity(): Promise‹BigNumber›

Retrieve the maximum allowed Schedule complexity for this Asset

Returns: Promise‹BigNumber›


remove

Remove the supplied Checkpoint Schedule for a given Asset

Parameters:

Name
Type

args

opts?

Defined in

• parent:

Defined in

▸ complexityOf(period: ): BigNumber

Defined in

▸ create(args: , opts?: ): Promise‹‹››

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‹‹››

Defined in

Calculate the sum of the complexity of all current Checkpoint Schedules for this Asset. The number cannot exceed the Asset's maximum complexity (obtained via )

▸ get(): Promise‹[]›

Defined in

Returns: Promise‹[]›

▸ getOne(__namedParameters: object): Promise‹›

Defined in

Returns: Promise‹›

Defined in

▸ 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››

src/api/entities/Namespace.ts:11
Asset
src/api/entities/Namespace.ts:9
CalendarPeriod
src/api/entities/Asset/Checkpoints/Schedules.ts:127
CreateCheckpointScheduleParams
ProcedureOpts
TransactionQueue
CheckpointSchedule
src/api/entities/Asset/Checkpoints/Schedules.ts:57
ProcedureMethod
create.checkAuthorization
TransactionQueue
CheckpointSchedule
src/api/entities/Asset/Checkpoints/Schedules.ts:135
ScheduleWithDetails
src/api/entities/Asset/Checkpoints/Schedules.ts:94
ScheduleWithDetails
ScheduleWithDetails
src/api/entities/Asset/Checkpoints/Schedules.ts:76
ScheduleWithDetails
src/api/entities/Asset/Checkpoints/Schedules.ts:144
RemoveCheckpointScheduleParams
ProcedureOpts
TransactionQueue
src/api/entities/Asset/Checkpoints/Schedules.ts:67
ProcedureMethod
remove.checkAuthorization
TransactionQueue
Asset
context
parent
complexityOf
create
currentComplexity
get
getOne
maxComplexity
remove
maxComplexity
CalendarPeriod
CreateCheckpointScheduleParams
ProcedureOpts
RemoveCheckpointScheduleParams
ProcedureOpts