Offerings
Namespace that handles all Offering related functionality
Hierarchy
SubModule
↳ Offerings
Index
Constructors
constructor
Properties
context
securityToken
Methods
getSto
getStos
launchSimpleSto
launchTieredSto
Constructors
constructor
+ new Offerings(securityToken
: SecurityToken, context
: Context): Offerings
Inherited from SubModule.constructor
Create a new SubModule instance
Parameters:
Name
Type
securityToken
context
Returns: Offerings
Properties
Protected
context
Protected
context• context: Context
Inherited from SubModule.context
Protected
securityToken
Protected
securityToken• securityToken: SecurityToken
Inherited from SubModule.securityToken
Methods
getSto
â–¸ getSto(args
: GetStoParams | string): Promise‹any›
Retrieve an STO by type and address or UUID
Parameters:
Name
Type
Description
args
STO uuid or object containing its type and address
Returns: Promise‹any›
getStos
â–¸ getStos(opts
: object): Promise‹SimpleSto | TieredSto[]›
Retrieve all STOs attached to a security token
Parameters:
â–ªDefault value
opts: object= { stoTypes: [StoType.Simple, StoType.Tiered], }
Name
Type
stoTypes
Returns: Promise‹SimpleSto | TieredSto[]›
launchSimpleSto
â–¸ launchSimpleSto(args
: object): Promise‹TransactionQueue‹LaunchSimpleStoProcedureArgs, SimpleSto››
Launch a Simple STO
Parameters:
â–ª args: object
Name
Type
allowPreIssuance?
undefined | false | true
currency
Currency.ETH | Currency.POLY
endDate
Date
raisedFundsWallet
string
rate
BigNumber
startDate
Date
tokensOnSale
BigNumber
unsoldTokensWallet
string
Returns: Promise‹TransactionQueue‹LaunchSimpleStoProcedureArgs, SimpleSto››
launchTieredSto
â–¸ launchTieredSto(args
: LaunchTieredStoParams): Promise‹any›
Launch a Tiered STO
Parameters:
Name
Type
args
Returns: Promise‹any›
Last updated
Was this helpful?