Offerings

Handles all Asset Offering related functionality

Hierarchy

  • Namespace‹Asset

    Offerings

Index

Properties

Methods

Properties

Protected context

context: Context

Inherited from void

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


Protected parent

parent: Asset

Inherited from void

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

Methods

get

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

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

Retrieve all of the Asset'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 Offerings that have all passed statuses will be returned

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


getOne

getOne(args: object): Promise‹Offering

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

Retrieve a single Offering associated to this Asset by its ID

throws if there is no Offering with the passed ID

Parameters:

args: object

Name
Type

id

BigNumber

Returns: Promise‹Offering


launch

launch(args: LaunchOfferingParams, opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueueOffering››

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

Launch an Asset 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.checkAuthorizationarrow-up-right on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Name
Type

args

LaunchOfferingParams

Returns: Promise‹TransactionQueueOffering››

Last updated

Was this helpful?