Polymesh SDK API Reference
v14.1.0
v14.1.0
  • Globals
  • Classes
    • Account
    • AccountManagement
    • Asset
    • AssetHolders
    • AssetPermissions
    • Assets
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • CorporateAction
    • CorporateActionBase
    • CorporateActions
    • Count
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identities
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Network
    • NumberedPortfolio
    • Offering
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • Settlements
    • Subsidy
    • TickerReservation
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
  • Interfaces
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • Protected parent
  • Methods
  • get
  • getOne
  • launch

Was this helpful?

  1. Classes

Offerings

PreviousOfferingNextPercentage

Last updated 2 years ago

Was this helpful?

Handles all Asset Offering related functionality

Hierarchy

  • Namespace‹›

    ↳ Offerings

Index

Properties

Methods

Properties

Protected context

• context: Context

Inherited from void


Protected parent

Inherited from void

Methods

get

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


getOne

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


launch

Launch an Asset Offering

note required roles:

  • Offering Portfolio Custodian

  • Raising Portfolio Custodian

Parameters:

Name
Type

args

LaunchOfferingParams

opts?

Defined in

• parent:

Defined in

▸ get(opts: object): Promise‹[]›

Defined in

Partial‹›

Returns: Promise‹[]›

▸ getOne(args: object): Promise‹›

Defined in

Returns: Promise‹›

▸ launch(args: LaunchOfferingParams, 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‹‹››

src/api/entities/Namespace.ts:11
Asset
src/api/entities/Namespace.ts:9
OfferingWithDetails
src/api/entities/Asset/Offerings.ts:81
OfferingWithDetails
Offering
src/api/entities/Asset/Offerings.ts:56
Offering
ProcedureOpts
TransactionQueue
Offering
src/api/entities/Asset/Offerings.ts:47
ProcedureMethod
launch.checkAuthorization
TransactionQueue
Offering
Asset
context
parent
get
getOne
launch
OfferingStatus
ProcedureOpts