Venue
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a Venue through which settlements are handled
‹UniqueIdentifiers›
↳ Venue
Creates a settlement Instruction in this Venue
param
array of token movements (amount, from, to, token)
param
date at which the trade was agreed upon (optional, for offchain trades)
param
date at which the trade was executed (optional, for offchain trades)
param
block at which the Instruction will be executed automatically (optional, the Instruction will be executed when all participants have authorized it if not supplied)
note
required role:
Venue Owner
Creates a batch of settlement Instructions in this Venue
param
array of Instructions
param
array of token movements (amount, from, to, token)
param
date at which the trade was agreed upon (optional, for offchain trades)
param
date at which the trade was executed (optional, for offchain trades)
param
block at which the Instruction will be executed automatically (optional, the Instruction will be executed when all participants have authorized it if not supplied)
note
required role:
Venue Owner
Protected
context• id: BigNumber
Identifier number of the venue
Modify description and type
note
required role:
Venue Owner
• uuid: string
Retrieve information specific to this venue
▸ exists(): Promise‹boolean›
Retrieve whether the Venue exists
Returns: Promise‹boolean›
Retrieve all pending Instructions in this Venue
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
• addInstruction: ProcedureMethod‹, [], ›
Defined in
• addInstructions: ProcedureMethod‹, []›
Defined in
• context:
Inherited from .
Defined in
Defined in
• modify: ProcedureMethod‹, void›
Defined in
Inherited from .
Defined in
▸ details(): Promise‹›
Defined in
Returns: Promise‹›
Defined in
▸ getPendingInstructions(): Promise‹[]›
Defined in
Returns: Promise‹[]›
▸ isEqual(entity
: ‹object›): boolean
Inherited from .
Defined in
‹object›
Inherited from .
Defined in
Inherited from .
Defined in