TickerReservation
Represents a reserved Asset symbol in the Polymesh blockchain. Ticker reservations expire after a set length of time, after which they can be reserved by another Identity. A Ticker must be previously reserved by an Identity for that Identity to be able create an Asset with it
- ↳ TickerReservation
• context: Context
• ticker: string
reserved ticker
• uuid: string
Create an Asset using the reserved ticker
note
required role:- Ticker Owner
note
this method is of type ProcedureMethod, which means you can call createAsset.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run itParameters:
Name | Type |
---|---|
args | |
opts? |
Retrieve the Reservation's owner, expiry date and status
note
can be subscribed toParameters:
Name | Type |
---|---|
callback |
▸ exists(): Promise‹boolean›
Determine whether this Ticker Reservation exists on chain
Returns: Promise‹boolean›
Extend the Reservation time period of the ticker for 60 days from now to later use it in the creation of an Asset.
note
required role:- Ticker Owner
note
this method is of type NoArgsProcedureMethod, which means you can call extend.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run itParameters:
Name | Type |
---|---|
opts? |
Determine whether this Entity is the same as another one
Parameters:
Name | Type |
---|---|
entity |
Returns: boolean
▸ toJson(): string
Return the Reservation's ticker
Returns: string
▸ transferOwnership(
args
: TransferTickerOwnershipParams, opts?
: ProcedureOpts): Promise‹TransactionQueue‹AuthorizationRequest››Transfer ownership of the Ticker Reservation to another Identity. This generates an authorization request that must be accepted by the target
note
this will create Authorization Request which has to be accepted by the target
Identity. An Account or Identity can fetch its pending Authorization Requests by calling authorizations.getReceived. Also, an Account or Identity can directly fetch the details of an Authorization Request by calling authorizations.getOnenote
required role:- Ticker Owner
note
this method is of type ProcedureMethod, which means you can call transferOwnership.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run itParameters:
Name | Type |
---|---|
args | |
opts? |
▸ generateUuid‹Identifiers›(
identifiers
: Identifiers): stringGenerate the Entity's UUID from its identifying properties
Type parameters:
▪ Identifiers
Parameters:
Name | Type | Description |
---|---|---|
identifiers | Identifiers | |
Returns: string
▸ unserialize‹Identifiers›(
serialized
: string): IdentifiersUnserialize a UUID into its Unique Identifiers
Type parameters:
▪ Identifiers
Parameters:
Name | Type | Description |
---|---|---|
serialized | string | UUID to unserialize |
Returns: Identifiers
Last modified 1yr ago