Class: Venue
api/entities/Venue.Venue
Represents a Venue through which settlements are handled
Hierarchy
-
Entity
<UniqueIdentifiers
,string
>↳
Venue
Properties
id
• id: BigNumber
identifier number of the Venue
Defined in
api/entities/Venue/index.ts:77
uuid
• uuid: string
Inherited from
Defined in
Methods
addInstruction
▸ addInstruction(args
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
>>
Creates a settlement Instruction in this Venue
Parameters
Name | Type |
---|---|
args | AddInstructionParams |
opts? | ProcedureOpts |
Returns
Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
>>
Note
required role:
- Venue Owner
Note
this method is of type ProcedureMethod, which means you can call addInstruction.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Defined in
api/entities/Venue/index.ts:314
addInstructions
▸ addInstructions(args
, opts?
): Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
[]>>
Creates a batch of settlement Instructions in this Venue
Parameters
Name | Type |
---|---|
args | AddInstructionsParams |
opts? | ProcedureOpts |
Returns
Promise
<GenericPolymeshTransaction
<Instruction
[], Instruction
[]>>
Note
required role:
- Venue Owner
Note
this method is of type ProcedureMethod, which means you can call addInstructions.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Defined in
api/entities/Venue/index.ts:327
addSigners
▸ addSigners(args
, opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Adds a list of signers allowed to sign receipts for this Venue
Parameters
Name | Type |
---|---|
args | UpdateVenueSignersParams |
opts? | ProcedureOpts |
Returns
Promise
<GenericPolymeshTransaction
<void
, void
>>
Note
required role:
- Venue Owner
Throws
if one or more specified signers are already added to the Venue
Note
this method is of type ProcedureMethod, which means you can call addSigners.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
Defined in
api/entities/Venue/index.ts:355
details
▸ details(): Promise
<VenueDetails
>
Retrieve information specific to this Venue
Returns
Promise
<VenueDetails
>
Defined in
api/entities/Venue/index.ts:150
exists
▸ exists(): Promise
<boolean
>
Determine whether this Venue exists on chain
Returns
Promise
<boolean
>
Overrides
Defined in
api/entities/Venue/index.ts:131
getAllowedSigners
▸ getAllowedSigners(): Promise
<Account
[]>
Get all signers allowed by this Venue. Only these signers are allowed to affirm off-chain instructions
Returns
Promise
<Account
[]>
Defined in
api/entities/Venue/index.ts:283