Offering
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents an Asset Offering in the Polymesh blockchain
‹UniqueIdentifiers, ›
↳ Offering
Asset being offered
Protected
context• context: Context
• id: BigNumber
identifier number of the Offering
• uuid: string
Close the Offering
Parameters:
opts?
Retrieve the Offering's details
note
can be subscribed to
Parameters:
callback
▸ exists(): Promise‹boolean›
Determine whether this Offering exists on chain
Returns: Promise‹boolean›
Freeze the Offering
Parameters:
opts?
Retrieve all investments made on this Offering
note
supports pagination
note
uses the middleware
Parameters:
â–ªDefault value
opts: object= {}
size?
BigNumber
page size
start?
BigNumber
page offset
Retrieve all investments made on this Offering
note
supports pagination
note
uses the middleware V2
Parameters:
â–ªDefault value
opts: object= {}
size?
BigNumber
page size
start?
BigNumber
page offset
Invest in the Offering
note
required roles:
Purchase Portfolio Custodian
Funding Portfolio Custodian
Parameters:
args
opts?
Determine whether this Entity is the same as another one
Parameters:
entity
Returns: boolean
Modify the start/end time of the Offering
throws
if:
Trying to modify the start time on an Offering that already started
Trying to modify anything on an Offering that already ended
Trying to change start or end time to a past date
Parameters:
args
ModifyStoTimesParams
opts?
Return the Offering's ID and Asset ticker
Unfreeze the Offering
Parameters:
opts?
Static
generateUuid▸ generateUuid‹Identifiers›(identifiers
: Identifiers): string
Generate the Entity's UUID from its identifying properties
Type parameters:
â–ª Identifiers
Parameters:
identifiers
Identifiers
Returns: string
Static
unserialize▸ unserialize‹Identifiers›(serialized
: string): Identifiers
Unserialize a UUID into its Unique Identifiers
Type parameters:
â–ª Identifiers
Parameters:
serialized
string
UUID to unserialize
Returns: Identifiers
• asset:
Defined in
Inherited from .
Defined in
Defined in
Inherited from .
Defined in
â–¸ close(opts?
: ): Promise‹‹void››
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Returns: Promise‹‹void››
▸ details(): Promise‹›
Defined in
Returns: Promise‹›
â–¸ details(callback
: ‹›): Promise‹›
Defined in
‹›
Returns: Promise‹›
Overrides .
Defined in
â–¸ freeze(opts?
: ): Promise‹‹››
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Returns: Promise‹‹››
â–¸ getInvestments(opts
: object): Promise‹‹››
Defined in
Returns: Promise‹‹››
â–¸ getInvestmentsV2(opts
: object): Promise‹‹››
Defined in
Returns: Promise‹‹››
â–¸ invest(args
: , opts?
: ): Promise‹‹void››
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Returns: Promise‹‹void››
â–¸ isEqual(entity
: ‹unknown, unknown›): boolean
Inherited from .
Defined in
‹unknown, unknown›
â–¸ modifyTimes(args
: ModifyStoTimesParams, opts?
: ): Promise‹‹void››
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Returns: Promise‹‹void››
â–¸ toHuman():
Overrides .
Defined in
Returns:
â–¸ unfreeze(opts?
: ): Promise‹‹››
Defined in
note
this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it
Returns: Promise‹‹››
Inherited from .
Defined in
Inherited from .
Defined in