-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Checkpoints.Schedules.Schedules
api/entities/Asset/Checkpoints/Schedules.Schedules
Handles all Asset Checkpoint Schedules related functionality
-
Namespace
<Asset
>↳
Schedules
▸ create(args
, opts?
): Promise
<GenericPolymeshTransaction
<CheckpointSchedule
, CheckpointSchedule
>>
Create a schedule for Checkpoint creation (e.g. "Create a checkpoint every week for 5 weeks, starting next tuesday")
Note
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
Note
this method is of type ProcedureMethod, which means you can call create.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Name | Type |
---|---|
args |
CreateCheckpointScheduleParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<CheckpointSchedule
, CheckpointSchedule
>>
▸ get(): Promise
<ScheduleWithDetails
[]>
Retrieve all active Checkpoint Schedules
Promise
<ScheduleWithDetails
[]>
▸ getOne(__namedParameters
): Promise
<ScheduleWithDetails
>
Retrieve a single Checkpoint Schedule associated to this Asset by its ID
Throws
if there is no Schedule with the passed ID
Name | Type |
---|---|
__namedParameters |
Object |
__namedParameters.id |
BigNumber |
Promise
<ScheduleWithDetails
>
▸ maxComplexity(): Promise
<BigNumber
>
Retrieve the maximum allowed Schedule complexity for this Asset
Promise
<BigNumber
>
▸ remove(args
, opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Remove the supplied Checkpoint Schedule for a given Asset
Note
this method is of type ProcedureMethod, which means you can call remove.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Name | Type |
---|---|
args |
RemoveCheckpointScheduleParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types