Instruction
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a settlement Instruction to be executed on a certain Venue
‹UniqueIdentifiers›
↳ Instruction
Affirm this instruction (authorize)
Protected
context• id: BigNumber
Identifier number of the venue
Reject this instruction
note
reject on SettleOnAffirmation
will execute the settlement and it will fail immediately.
note
reject on SettleOnBlock
behaves just like unauthorize
• uuid: string
Withdraw affirmation from this instruction (unauthorize)
Retrieve information specific to this Instruction
▸ exists(): Promise‹boolean›
Retrieve whether the Instruction still exists on chain. Executed/rejected instructions are pruned from the storage
Returns: Promise‹boolean›
Retrieve every authorization generated by this Instruction (status and authorizing Identity)
note
supports pagination
Parameters:
Name
Type
paginationOpts?
Retrieve all legs of this Instruction
note
supports pagination
Parameters:
Name
Type
paginationOpts?
Whether this Entity is the same as another one
Parameters:
Name
Type
entity
Returns: boolean
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Generate the Entity's UUID from its identifying properties
Type parameters:
â–ª Identifiers: object
Parameters:
Name
Type
Description
identifiers
Identifiers
Returns: string
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters:
â–ª Identifiers: object
Parameters:
Name
Type
Description
serialized
string
UUID to unserialize
Returns: Identifiers
• affirm: ProcedureMethod‹void, ›
Defined in
• context:
Inherited from .
Defined in
Defined in
• reject: ProcedureMethod‹void, ›
Defined in
Inherited from .
Defined in
• withdraw: ProcedureMethod‹void, ›
Defined in
▸ details(): Promise‹›
Defined in
Returns: Promise‹›
Defined in
â–¸ getAffirmations(paginationOpts?
: ): Promise‹‹››
Defined in
Returns: Promise‹‹››
â–¸ getLegs(paginationOpts?
: ): Promise‹‹››
Defined in
Returns: Promise‹‹››
â–¸ isEqual(entity
: ‹object›): boolean
Inherited from .
Defined in
‹object›
Inherited from .
Defined in
Inherited from .
Defined in