Offerings

Handles all Security Token Offering related functionality

Hierarchy

Index

Properties

Methods

Properties

Protected context

context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11arrow-up-right


Protected parent

parent: SecurityToken

Inherited from void

Defined in src/api/entities/Namespace.ts:9arrow-up-right

Methods

get

get(opts: object): Promise‹StoWithDetailsarrow-up-right[]›

Defined in src/api/entities/SecurityToken/Offerings.ts:81arrow-up-right

Retrieve all of the Token's Offerings and their details. Can be filtered using parameters

Parameters:

Default value opts: object= {}

Name
Type
Description

status?

status of the offerings to fetch. If defined, only STOs that have all passed statuses will be returned

Returns: Promise‹StoWithDetailsarrow-up-right[]›


getOne

getOne(args: object): Promise‹Sto

Defined in src/api/entities/SecurityToken/Offerings.ts:56arrow-up-right

Retrieve a single Offering associated to this Security Token by its ID

throws if there is no Offering with the passed ID

Parameters:

args: object

Name
Type

id

BigNumber

Returns: Promise‹Sto


launch

launch(args: LaunchStoParams, opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueueSto››

Defined in src/api/entities/SecurityToken/Offerings.ts:47arrow-up-right

Launch a Security Token Offering

note required roles:

  • Offering Portfolio Custodian

  • Raising Portfolio Custodian

note this method is of type ProcedureMethodarrow-up-right, which means you can call launch.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Parameters:

Name
Type

args

LaunchStoParams

Returns: Promise‹TransactionQueueSto››

Last updated

Was this helpful?