api_entities_Asset_Checkpoints_Schedules.Schedules
Last updated
Was this helpful?
Last updated
Was this helpful?
/ / / Schedules
.Schedules
Handles all Asset Checkpoint Schedules related functionality
Namespace
<>
↳ Schedules
▸ complexityOf(period
): BigNumber
Calculate an abstract measure of the complexity of a given Calendar Period
Parameters
period
Returns
BigNumber
Defined in
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
args
opts?
Returns
Defined in
▸ currentComplexity(): Promise
<BigNumber
>
Returns
Promise
<BigNumber
>
Defined in
Retrieve all active Checkpoint Schedules
Returns
Defined in
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
__namedParameters.id
BigNumber
Returns
Defined in
▸ maxComplexity(): Promise
<BigNumber
>
Retrieve the maximum allowed Schedule complexity for this Asset
Returns
Promise
<BigNumber
>
Defined in
▸ remove(args
, opts?
): Promise
<TransactionQueue
<void
, void
, unknown
[][]>>
Remove the supplied Checkpoint Schedule for a given Asset
Parameters
args
opts?
Returns
Promise
<TransactionQueue
<void
, void
, unknown
[][]>>
Defined in
▸ create(args
, opts?
): Promise
<TransactionQueue
<, , unknown
[][]>>
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
Promise
<TransactionQueue
<, , unknown
[][]>>
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
<[]>
Promise
<[]>
▸ getOne(__namedParameters
): Promise
<>
Promise
<>
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