Sto
Represents a Security Token Offering in the Polymesh blockchain
Hierarchy
Entity‹UniqueIdentifiers›
↳ Sto
Index
Properties
Methods
Properties
close
• close: ProcedureMethod‹void, void›
Defined in src/api/entities/Sto/index.ts:128
Close the STO
Protected
context
Protected
context• context: Context
Defined in src/api/entities/Entity.ts:48
freeze
• freeze: ProcedureMethod‹void, Sto›
Defined in src/api/entities/Sto/index.ts:136
Freeze the STO
note
required role:
Security Token Primary Issuance Agent
id
• id: BigNumber
Defined in src/api/entities/Sto/index.ts:46
identifier number of the Offering
modifyTimes
• modifyTimes: ProcedureMethod‹ModifyStoTimesParams, void›
Defined in src/api/entities/Sto/index.ts:160
Modify the start/end time of the STO
param
new start time (optional, will be left the same if not passed)
param
new end time (optional, will be left th same if not passed). A null value means the STO doesn't end
throws
if:
Trying to modify the start time on an STO that already started
Trying to modify anything on an STO that already ended
Trying to change start or end time to a past date
note
required role:
Security Token Primary Issuance Agent
ticker
• ticker: string
Defined in src/api/entities/Sto/index.ts:51
ticker of the Security Token being offered
unfreeze
• unfreeze: ProcedureMethod‹void, Sto›
Defined in src/api/entities/Sto/index.ts:144
Unfreeze the STO
note
required role:
Security Token Primary Issuance Agent
uuid
• uuid: string
Defined in src/api/entities/Entity.ts:46
Methods
details
▸ details(): Promise‹StoDetails›
Defined in src/api/entities/Sto/index.ts:84
Retrieve the STO's details
note
can be subscribed to
Returns: Promise‹StoDetails›
▸ details(callback
: SubCallback‹StoDetails›): Promise‹UnsubCallback›
Defined in src/api/entities/Sto/index.ts:85
Parameters:
Name | Type |
|
Returns: Promise‹UnsubCallback›
getInvestments
▸ getInvestments(opts
: object): Promise‹ResultSet‹Investment››
Defined in src/api/entities/Sto/index.ts:171
Retrieve all investments made on this STO
note
supports pagination
note
uses the middleware
Parameters:
▪Default value
opts: object= {}
Name | Type | Description |
| undefined | number | page size |
| undefined | number | page offset |
Returns: Promise‹ResultSet‹Investment››
Static
generateUuid
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Inherited from Entity.generateUuid
Defined in src/api/entities/Entity.ts:14
Generate the Entity's UUID from its identifying properties
Type parameters:
▪ Identifiers: object
Parameters:
Name | Type | Description |
| Identifiers |
Returns: string
Static
unserialize
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Inherited from Entity.unserialize
Defined in src/api/entities/Entity.ts:23
Unserialize a UUID into its Unique Identifiers
Type parameters:
▪ Identifiers: object
Parameters:
Name | Type | Description |
| string | UUID to unserialize |
Returns: Identifiers
Last updated