Offerings
Last updated
Was this helpful?
Last updated
Was this helpful?
Namespace that handles all Offering related functionality
↳ Offerings
Create a new SubModule instance
Parameters:
Name
Type
securityToken
context
Protected
contextProtected
securityTokenRetrieve 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›
Retrieve all STOs attached to a security token
Parameters:
▪Default value
opts: object= { stoTypes: [StoType.Simple, StoType.Tiered], }
Name
Type
stoTypes
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
Launch a Tiered STO
Parameters:
Name
Type
args
Returns: Promise‹any›
+ new Offerings(securityToken
: , context
: ):
Inherited from .
Defined in
Returns:
• context:
Inherited from .
Defined in
• securityToken:
Inherited from .
Defined in
▸ getSto(args
: | string): Promise‹any›
Defined in
| string
▸ getStos(opts
: object): Promise‹ | []›
Defined in
[]
Returns: Promise‹ | []›
▸ launchSimpleSto(args
: object): Promise‹‹, ››
Defined in
Returns: Promise‹‹, ››
▸ launchTieredSto(args
: ): Promise‹any›
Defined in