CheckpointSchedule
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a Checkpoint Schedule for an Asset. Schedules can be set up to create Checkpoints at regular intervals
‹, ›
↳ CheckpointSchedule
Asset for which Checkpoints are scheduled
• complexity: BigNumber
abstract measure of the complexity of this Schedule. Shorter periods translate into more complexity
Protected
context• context: Context
• expiryDate: Date | null
date at which the last Checkpoint will be created with this Schedule. A null value means that this Schedule never expires
• id: BigNumber
schedule identifier number
how often this Schedule creates a Checkpoint. A null value means this Schedule creates a single Checkpoint and then expires
• start: Date
first Checkpoint creation date
• uuid: string
Retrieve information specific to this Schedule
▸ exists(): Promise‹boolean›
Determine whether this Checkpoint Schedule exists on chain
Returns: Promise‹boolean›
Retrieve all Checkpoints created by this Schedule
Determine whether this Entity is the same as another one
Parameters:
entity
Returns: boolean
Return the Schedule's static data
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Generate the Entity's UUID from its identifying properties
Type parameters:
▪ Identifiers
Parameters:
identifiers
Identifiers
Returns: string
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters:
▪ Identifiers
Parameters:
serialized
string
UUID to unserialize
Returns: Identifiers
• asset:
Defined in
Defined in
Inherited from .
Defined in
Defined in
Defined in
• period: | null
Defined in
Defined in
Inherited from .
Defined in
▸ details(): Promise‹›
Defined in
Returns: Promise‹›
Overrides .
Defined in
▸ getCheckpoints(): Promise‹[]›
Defined in
Returns: Promise‹[]›
▸ isEqual(entity
: ‹unknown, unknown›): boolean
Inherited from .
Defined in
‹unknown, unknown›
▸ toHuman():
Overrides .
Defined in
Returns:
Inherited from .
Defined in
Inherited from .
Defined in