API Reference
beta
beta
  • Introduction
  • Globals
  • External Modules
    • Context
    • Context
    • ConstructorParams
    • Factories
    • Polymath
    • Polymath
    • AddressParams
    • Connect
    • ConnectParams
    • GetSecurityToken
    • PolymathNetworkNodeParams
    • PolymathNetworkParams
    • SymbolParams
    • PolymathBase
    • PolymathBase
    • BaseCheckpoint
    • BaseDividend
    • GetAttachedModulesOpts
    • GetAttachedModulesParams
    • GetModuleAddressesByNameOpts
    • GetModuleAddressesByNameParams
    • GetModuleFactoryAddressArgs
    • PolymathError
    • PolymathError
    • PostTransactionResolver
    • Wallet
    • Args
    • browserUtils
    • BrowserSupport
    • Ethereum
    • ExtendedWindow
    • InjectedWeb3
    • Web3VersionAPI
    • WindowWithEthereum
    • WindowWithWeb3
    • entities/Checkpoint
    • Checkpoint
    • Params
    • UniqueIdentifiers
    • entities/DividendDistribution
    • DividendDistribution
    • Params
    • UniqueIdentifiers
    • entities/Entity
    • Entity
    • entities/Erc20TokenBalance
    • Erc20TokenBalance
    • Params
    • UniqueIdentifiers
    • entities/Investment
    • Investment
    • Params
    • UniqueIdentifiers
    • entities/PolyTransaction
    • Event
    • PolyTransaction
    • entities/SecurityToken/Controller
    • Controller
    • entities/SecurityToken/Dividends
    • Dividends
    • GetDistributionParams
    • entities/SecurityToken/Documents
    • Documents
    • Document
    • entities/SecurityToken/Features
    • Features
    • Enable
    • EnableErc20DividendsOpts
    • EnablePercentageOwnershipRestrictionsOpts
    • EnableTokenholderCountRestrictionsOpts
    • FeatureStatuses
    • entities/SecurityToken/Issuance/Issuance
    • Issuance
    • entities/SecurityToken/Issuance/Offerings
    • Offerings
    • GetStoMethod
    • GetStoParams
    • LaunchTieredStoCustomCurrencyBothNoStableCoinParams
    • LaunchTieredStoCustomCurrencyBothParams
    • LaunchTieredStoCustomCurrencyEthNoStableCoinParams
    • LaunchTieredStoCustomCurrencyEthParams
    • LaunchTieredStoCustomCurrencyPolyNoStableCoinParams
    • LaunchTieredStoCustomCurrencyPolyParams
    • LaunchTieredStoMethod
    • LaunchTieredStoNoCustomCurrencyNoStableCoinParams
    • LaunchTieredStoNoCustomCurrencyParams
    • LaunchTieredStoParams
    • entities/SecurityToken/Issuance/index
    • entities/SecurityToken/Permissions
    • Permissions
    • entities/SecurityToken/SecurityToken
    • SecurityToken
    • Params
    • UniqueIdentifiers
    • entities/SecurityToken/SubModule
    • SubModule
    • entities/SecurityToken/Tokenholders
    • Tokenholders
    • GetCheckpointParams
    • entities/SecurityToken/Transfers/Restrictions/CountRestrictions
    • CountRestrictions
    • entities/SecurityToken/Transfers/Restrictions/PercentageRestrictions
    • PercentageRestrictions
    • ModifyExemptionsMethod
    • PercentageIssuanceParams
    • PercentageWhitelistParams
    • entities/SecurityToken/Transfers/Restrictions/Restrictions
    • Restrictions
    • entities/SecurityToken/Transfers/Restrictions/index
    • entities/SecurityToken/Transfers/Transfers
    • Transfers
    • entities/SecurityToken/Transfers/index
    • entities/SecurityToken/index
    • entities/SecurityTokenReservation
    • SecurityTokenReservation
    • Params
    • UniqueIdentifiers
    • entities/SimpleSto
    • SimpleSto
    • Params
    • entities/Sto
    • Sto
    • Params
    • UniqueIdentifiers
    • entities/TaxWithholding
    • TaxWithholding
    • Params
    • UniqueIdentifiers
    • entities/TieredSto
    • TieredSto
    • Params
    • Tier
    • entities/Tokenholder
    • Tokenholder
    • Params
    • UniqueIdentifiers
    • entities/TransactionQueue
    • Events
    • TransactionQueue
    • entities/Wallet
    • Wallet
    • Params
    • UniqueIdentifiers
    • entities/factories/CheckpointFactory
    • entities/factories/DividendDistributionFactory
    • entities/factories/Erc20TokenBalanceFactory
    • Erc20TokenBalanceFactory
    • entities/factories/Factory
    • Factory
    • EntityClass
    • entities/factories/InvestmentFactory
    • InvestmentFactory
    • entities/factories/SecurityTokenFactory
    • entities/factories/SecurityTokenReservationFactory
    • entities/factories/SimpleStoFactory
    • SimpleStoFactory
    • entities/factories/TaxWithholdingFactory
    • TaxWithholdingFactory
    • entities/factories/TieredStoFactory
    • TieredStoFactory
    • entities/factories/TokenholderFactory
    • TokenholderFactory
    • entities/factories/WalletFactory
    • WalletFactory
    • entities/factories/index
    • entities/index
    • index
    • procedures/ApproveErc20
    • ApproveErc20
    • procedures/AssignSecurityTokenRole
    • AssignSecurityTokenRole
    • procedures/AssignStoRole
    • AssignStoRole
    • procedures/ControllerRedeem
    • ControllerRedeem
    • procedures/ControllerTransfer
    • ControllerTransfer
    • procedures/CreateCheckpoint
    • CreateCheckpoint
    • procedures/CreateDividendDistribution
    • CreateDividendDistribution
    • procedures/CreateSecurityToken
    • CreateSecurityToken
    • procedures/DisableController
    • DisableController
    • procedures/DisableFeature
    • DisableFeature
    • procedures/EnableCountTransferManager
    • EnableCountTransferManager
    • procedures/EnableDividendManager
    • EnableDividendManager
    • procedures/EnableGeneralPermissionManager
    • EnableGeneralPermissionManager
    • procedures/EnableGeneralTransferManager
    • EnableGeneralTransferManager
    • procedures/EnablePercentageTransferManager
    • EnablePercentageTransferManager
    • procedures/FinalizeSto
    • FinalizeSto
    • procedures/FreezeIssuance
    • FreezeIssuance
    • procedures/InvestInSimpleSto
    • InvestInSimpleSto
    • procedures/InvestInTieredSto
    • InvestInTieredSto
    • procedures/IssueTokens
    • IssueTokens
    • procedures/LaunchSimpleSto
    • LaunchSimpleSto
    • procedures/LaunchTieredSto
    • LaunchTieredSto
    • procedures/ModifyDividendsDefaultExclusionList
    • ModifyDividendsDefaultExclusionList
    • procedures/ModifyMaxHolderCount
    • ModifyMaxHolderCount
    • procedures/ModifyMaxHolderPercentage
    • ModifyMaxHolderPercentage
    • procedures/ModifyPercentageExemptions
    • ModifyPercentageExemptions
    • procedures/ModifyTieredStoData
    • ModifyTieredStoData
    • procedures/ModifyTokenholderData
    • ModifyTokenholderData
    • procedures/Procedure
    • ProcedureClass
    • procedures/PullDividendPayment
    • PullDividendPayment
    • procedures/PushDividendPayment
    • PushDividendPayment
    • procedures/ReclaimFunds
    • ReclaimFunds
    • procedures/RemoveDocument
    • RemoveDocument
    • procedures/ReserveSecurityToken
    • ReserveSecurityToken
    • procedures/RevokeKyc
    • RevokeKyc
    • procedures/SetController
    • SetController
    • procedures/SetDividendsWallet
    • SetDividendsWallet
    • procedures/SetDocument
    • SetDocument
    • procedures/SignDisableControllerAck
    • SignDisableControllerAck
    • procedures/SignFreezeIssuanceAck
    • SignFreezeIssuanceAck
    • procedures/SignTransferData
    • SignTransferData
    • procedures/ToggleAllowBeneficialInvestments
    • ToggleAllowBeneficialInvestments
    • procedures/ToggleAllowPreIssuing
    • ToggleAllowPreIssuing
    • procedures/ToggleFreezeTransfers
    • ToggleFreezeTransfers
    • procedures/TogglePauseSto
    • TogglePauseSto
    • procedures/TransferErc20
    • TransferErc20
    • procedures/TransferOwnership
    • TransferOwnership
    • procedures/TransferReservationOwnership
    • TransferReservationOwnership
    • procedures/TransferSecurityTokens
    • TransferSecurityTokens
    • procedures/UpdateDividendsTaxWithholdingList
    • UpdateDividendsTaxWithholdingList
    • procedures/WithdrawTaxes
    • WithdrawTaxes
    • procedures/index
    • types/index
    • ErrorCode
    • Feature
    • PolyTransactionTag
    • ProcedureType
    • SecurityTokenRole
    • StoRole
    • StoType
    • TransactionSpeed
    • TransactionStatus
    • TransferStatusCode
    • ApproveErc20ProcedureArgs
    • AssignSecurityTokenRoleProcedureArgs
    • AssignStoRoleProcedureArgs
    • ControllerRedeemProcedureArgs
    • ControllerTransferProcedureArgs
    • CreateCheckpointProcedureArgs
    • CreateDividendDistributionProcedureArgs
    • CreateSecurityTokenProcedureArgs
    • CustomCurrency
    • DisableControllerProcedureArgs
    • DisableFeatureProcedureArgs
    • DividendTokenholderStatus
    • EnableCountTransferManagerProcedureArgs
    • EnableDividendManagerProcedureArgs
    • EnableGeneralPermissionManagerProcedureArgs
    • EnableGeneralTransferManagerProcedureArgs
    • EnablePercentageTransferManagerProcedureArgs
    • Fees
    • FinalizeStoProcedureArgs
    • FreezeIssuanceProcedureArgs
    • FutureLowLevelMethod
    • InvestInSimpleStoProcedureArgs
    • InvestInTieredStoBaseProcedureArgs
    • InvestWithStableCoinArgs
    • IssuanceDataEntry
    • IssueTokensProcedureArgs
    • LaunchSimpleStoProcedureArgs
    • LaunchTieredStoProcedureArgs
    • ModifyDividendsDefaultExclusionListProcedureArgs
    • ModifyMaxHolderCountProcedureArgs
    • ModifyMaxHolderPercentageProcedureArgs
    • ModifyPercentageExemptionsProcedureArgs
    • ModifyTieredStoDataProcedureArgs
    • ModifyTokenholderDataProcedureArgs
    • PercentageWhitelistEntry
    • Pojo
    • PullDividendPaymentProcedureArgs
    • PushDividendPaymentProcedureArgs
    • ReclaimFundsProcedureArgs
    • RemoveDocumentProcedureArgs
    • ReserveSecurityTokenProcedureArgs
    • RevokeKycProcedureArgs
    • SetControllerProcedureArgs
    • SetDividendsWalletProcedureArgs
    • SetDocumentProcedureArgs
    • SignDisableControllerAckProcedureArgs
    • SignFreezeIssuanceAckProcedureArgs
    • SignTransferDataProcedureArgs
    • StoTier
    • TaxWithholdingEntry
    • ToggleAllowBeneficialInvestmentsProcedureArgs
    • ToggleAllowPreIssuingProcedureArgs
    • ToggleFreezeTransfersProcedureArgs
    • TogglePauseStoProcedureArgs
    • TokenholderBalance
    • TokenholderDataEntry
    • TransactionSpec
    • TransferErc20ProcedureArgs
    • TransferOwnershipProcedureArgs
    • TransferReservationOwnershipProcedureArgs
    • TransferSecurityTokensProcedureArgs
    • UpdateDividendsTaxWithholdingListProcedureArgs
    • WithdrawTaxesProcedureArgs
    • utils/constants
    • utils/index
    • FindCappedStoPauseParams
    • FindCappedStoPreMintAllowedParams
    • FindCheckpointCreatedParams
    • FindControllerTransferParams
    • FindErc20DividendClaimedParams
    • FindErc20DividendDepositedParams
    • FindErc20DividendReclaimedParams
    • FindErc20SetWalletParams
    • FindErc20SetWithholdingParams
    • FindEthDividendClaimedParams
    • FindEthDividendReclaimedParams
    • FindEthSetWalletParams
    • FindEthSetWithholdingParams
    • FindEtherDividendDepositedParams
    • FindEventParams
    • FindEvents
    • FindModifyInvestorFlagParams
    • FindModifyKycDataParams
    • FindModuleAddedParams
    • FindNewSecurityTokenParams
    • FindTickerRegisteredParams
    • FindTieredStoPauseParams
    • FindTieredStoPreMintAllowedParams
  • Classes
    • Context
    • Polymath
    • PolymathBase
    • PolymathError
    • Checkpoint
    • DividendDistribution
    • Entity
    • Erc20TokenBalance
    • Investment
    • PolyTransaction
    • Controller
    • Dividends
    • Documents
    • Features
    • Issuance
    • Offerings
    • Permissions
    • SecurityToken
    • SubModule
    • Tokenholders
    • CountRestrictions
    • PercentageRestrictions
    • Restrictions
    • Transfers
    • SecurityTokenReservation
    • SimpleSto
    • Sto
    • TaxWithholding
    • TieredSto
    • Tokenholder
    • TransactionQueue
    • Wallet
    • Erc20TokenBalanceFactory
    • Factory
    • InvestmentFactory
    • SimpleStoFactory
    • TaxWithholdingFactory
    • TieredStoFactory
    • TokenholderFactory
    • WalletFactory
    • ApproveErc20
    • AssignSecurityTokenRole
    • AssignStoRole
    • ControllerRedeem
    • ControllerTransfer
    • CreateCheckpoint
    • CreateDividendDistribution
    • CreateSecurityToken
    • DisableController
    • DisableFeature
    • EnableCountTransferManager
    • EnableDividendManager
    • EnableGeneralPermissionManager
    • EnableGeneralTransferManager
    • EnablePercentageTransferManager
    • FinalizeSto
    • FreezeIssuance
    • InvestInSimpleSto
    • InvestInTieredSto
    • IssueTokens
    • LaunchSimpleSto
    • LaunchTieredSto
    • ModifyDividendsDefaultExclusionList
    • ModifyMaxHolderCount
    • ModifyMaxHolderPercentage
    • ModifyPercentageExemptions
    • ModifyTieredStoData
    • ModifyTokenholderData
    • PullDividendPayment
    • PushDividendPayment
    • ReclaimFunds
    • RemoveDocument
    • ReserveSecurityToken
    • RevokeKyc
    • SetController
    • SetDividendsWallet
    • SetDocument
    • SignDisableControllerAck
    • SignFreezeIssuanceAck
    • SignTransferData
    • ToggleAllowBeneficialInvestments
    • ToggleAllowPreIssuing
    • ToggleFreezeTransfers
    • TogglePauseSto
    • TransferErc20
    • TransferOwnership
    • TransferReservationOwnership
    • TransferSecurityTokens
    • UpdateDividendsTaxWithholdingList
    • WithdrawTaxes
  • Enums
    • BrowserSupport
    • Event
    • Events
    • ErrorCode
    • Feature
    • PolyTransactionTag
    • ProcedureType
    • SecurityTokenRole
    • StoRole
    • StoType
    • TransactionSpeed
    • TransactionStatus
    • TransferStatusCode
  • Interfaces
    • ConstructorParams
    • Factories
    • AddressParams
    • Connect
    • ConnectParams
    • GetSecurityToken
    • PolymathNetworkNodeParams
    • PolymathNetworkParams
    • SymbolParams
    • BaseCheckpoint
    • BaseDividend
    • GetAttachedModulesOpts
    • GetAttachedModulesParams
    • GetModuleAddressesByNameOpts
    • GetModuleAddressesByNameParams
    • GetModuleFactoryAddressArgs
    • Args
    • Ethereum
    • ExtendedWindow
    • InjectedWeb3
    • Web3VersionAPI
    • WindowWithEthereum
    • WindowWithWeb3
    • Params
    • UniqueIdentifiers
    • Params
    • UniqueIdentifiers
    • Params
    • UniqueIdentifiers
    • Params
    • UniqueIdentifiers
    • GetDistributionParams
    • Document
    • Enable
    • EnableErc20DividendsOpts
    • EnablePercentageOwnershipRestrictionsOpts
    • EnableTokenholderCountRestrictionsOpts
    • FeatureStatuses
    • GetStoMethod
    • GetStoParams
    • LaunchTieredStoCustomCurrencyBothNoStableCoinParams
    • LaunchTieredStoCustomCurrencyBothParams
    • LaunchTieredStoCustomCurrencyEthNoStableCoinParams
    • LaunchTieredStoCustomCurrencyEthParams
    • LaunchTieredStoCustomCurrencyPolyNoStableCoinParams
    • LaunchTieredStoCustomCurrencyPolyParams
    • LaunchTieredStoMethod
    • LaunchTieredStoNoCustomCurrencyNoStableCoinParams
    • LaunchTieredStoNoCustomCurrencyParams
    • LaunchTieredStoParams
    • Params
    • UniqueIdentifiers
    • GetCheckpointParams
    • ModifyExemptionsMethod
    • PercentageIssuanceParams
    • PercentageWhitelistParams
    • Params
    • UniqueIdentifiers
    • Params
    • Params
    • UniqueIdentifiers
    • Params
    • UniqueIdentifiers
    • Params
    • Tier
    • Params
    • UniqueIdentifiers
    • Params
    • UniqueIdentifiers
    • EntityClass
    • ProcedureClass
    • ApproveErc20ProcedureArgs
    • AssignSecurityTokenRoleProcedureArgs
    • AssignStoRoleProcedureArgs
    • ControllerRedeemProcedureArgs
    • ControllerTransferProcedureArgs
    • CreateCheckpointProcedureArgs
    • CreateDividendDistributionProcedureArgs
    • CreateSecurityTokenProcedureArgs
    • CustomCurrency
    • DisableControllerProcedureArgs
    • DisableFeatureProcedureArgs
    • DividendTokenholderStatus
    • EnableCountTransferManagerProcedureArgs
    • EnableDividendManagerProcedureArgs
    • EnableGeneralPermissionManagerProcedureArgs
    • EnableGeneralTransferManagerProcedureArgs
    • EnablePercentageTransferManagerProcedureArgs
    • Fees
    • FinalizeStoProcedureArgs
    • FreezeIssuanceProcedureArgs
    • FutureLowLevelMethod
    • InvestInSimpleStoProcedureArgs
    • InvestInTieredStoBaseProcedureArgs
    • InvestWithStableCoinArgs
    • IssuanceDataEntry
    • IssueTokensProcedureArgs
    • LaunchSimpleStoProcedureArgs
    • LaunchTieredStoProcedureArgs
    • ModifyDividendsDefaultExclusionListProcedureArgs
    • ModifyMaxHolderCountProcedureArgs
    • ModifyMaxHolderPercentageProcedureArgs
    • ModifyPercentageExemptionsProcedureArgs
    • ModifyTieredStoDataProcedureArgs
    • ModifyTokenholderDataProcedureArgs
    • PercentageWhitelistEntry
    • Pojo
    • PullDividendPaymentProcedureArgs
    • PushDividendPaymentProcedureArgs
    • ReclaimFundsProcedureArgs
    • RemoveDocumentProcedureArgs
    • ReserveSecurityTokenProcedureArgs
    • RevokeKycProcedureArgs
    • SetControllerProcedureArgs
    • SetDividendsWalletProcedureArgs
    • SetDocumentProcedureArgs
    • SignDisableControllerAckProcedureArgs
    • SignFreezeIssuanceAckProcedureArgs
    • SignTransferDataProcedureArgs
    • StoTier
    • TaxWithholdingEntry
    • ToggleAllowBeneficialInvestmentsProcedureArgs
    • ToggleAllowPreIssuingProcedureArgs
    • ToggleFreezeTransfersProcedureArgs
    • TogglePauseStoProcedureArgs
    • TokenholderBalance
    • TokenholderDataEntry
    • TransactionSpec
    • TransferErc20ProcedureArgs
    • TransferOwnershipProcedureArgs
    • TransferReservationOwnershipProcedureArgs
    • TransferSecurityTokensProcedureArgs
    • UpdateDividendsTaxWithholdingListProcedureArgs
    • WithdrawTaxesProcedureArgs
    • FindCappedStoPauseParams
    • FindCappedStoPreMintAllowedParams
    • FindCheckpointCreatedParams
    • FindControllerTransferParams
    • FindErc20DividendClaimedParams
    • FindErc20DividendDepositedParams
    • FindErc20DividendReclaimedParams
    • FindErc20SetWalletParams
    • FindErc20SetWithholdingParams
    • FindEthDividendClaimedParams
    • FindEthDividendReclaimedParams
    • FindEthSetWalletParams
    • FindEthSetWithholdingParams
    • FindEtherDividendDepositedParams
    • FindEventParams
    • FindEvents
    • FindModifyInvestorFlagParams
    • FindModifyKycDataParams
    • FindModuleAddedParams
    • FindNewSecurityTokenParams
    • FindTickerRegisteredParams
    • FindTieredStoPauseParams
    • FindTieredStoPreMintAllowedParams
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Constructors
  • Properties
  • Methods
  • Constructors
  • constructor
  • Properties
  • address
  • beneficialInvestmentsAllowed
  • cap
  • capReached
  • Protected context
  • endDate
  • fundraiseCurrencies
  • investorCount
  • isFinalized
  • isPaused
  • preIssueAllowed
  • raisedAmount
  • raisedFundsWallet
  • rate
  • securityTokenId
  • securityTokenSymbol
  • soldTokensAmount
  • startDate
  • stoType
  • uid
  • unsoldTokensWallet
  • Methods
  • _refresh
  • allowBeneficialInvestments
  • allowPreIssuing
  • assignRole
  • disallowBeneficialInvestments
  • disallowPreIssuing
  • finalize
  • getInvestments
  • invest
  • pause
  • revokeRole
  • toPojo
  • unpause
  • Static generateId
  • Static unserialize

Was this helpful?

  1. Classes

SimpleSto

PreviousSecurityTokenReservationNextSto

Last updated 4 years ago

Was this helpful?

Class used to manage a simple sto

Hierarchy

↳ ‹›

↳ SimpleSto

Index

Constructors

Properties

Methods

Constructors

constructor

Create a new simple sto instance

Parameters:

Name

Type

params

context

Properties

address

• address: string

ethereum address for the STO

beneficialInvestmentsAllowed

• beneficialInvestmentsAllowed: boolean

whether investments can be made on behalf of a beneficiary or not

cap

• cap: BigNumber

cap of total tokens that can be sold in sto

capReached

• capReached: boolean

whether the STO cap has been reached or not

Protected context

endDate

• endDate: Date

fundraiseCurrencies

• fundraiseCurrencies: Currency[]

types of currency in which funds can be raised

investorCount

• investorCount: number

number of investors that have purchased tokens in the STO

isFinalized

• isFinalized: boolean

whether the STO has been finalized or not

isPaused

• isPaused: boolean

whether the STO is currently paused or not

preIssueAllowed

• preIssueAllowed: boolean

whether all tokens due to be sold are issued when the STO starts. If false, the appropriate amount of tokens is issued to the buyer whenever a sale is made

raisedAmount

• raisedAmount: BigNumber

amount of funds that have been raised so far

raisedFundsWallet

• raisedFundsWallet: string

wallet where raised funds will be forwarded to

rate

• rate: BigNumber

rate at which the tokens will be sold in sto

securityTokenId

• securityTokenId: string

securityTokenSymbol

• securityTokenSymbol: string

soldTokensAmount

• soldTokensAmount: BigNumber

total number of tokens that have been sold so far

startDate

• startDate: Date

stoType

type of STO setup

uid

• uid: string

unique generated Tiered STO id

unsoldTokensWallet

• unsoldTokensWallet: string

wallet where unsold tokens will be returned to

Methods

_refresh

Hydrate the entity

Parameters:

Name

Type

params

Returns: void

allowBeneficialInvestments

Enable a party to invest in the STO on behalf of another party

allowPreIssuing

Enable all offered tokens to be issued instantly at STO start (default behavior is to issue on purchase) Can be disabled BEFORE the STO starts by calling disallowPreIssuing

assignRole

Assign a role on the STO to a delegate

Parameters:

â–ª args: object

Name

Type

delegateAddress

string

description?

undefined | string

role

disallowBeneficialInvestments

Disable the possibility for a party to invest in the STO on behalf of another party

disallowPreIssuing

Disable pre-issuing of offered tokens at STO start (goes back to default behavior, which is to issue on purchase) Can be re-enabled BEFORE the STO starts by calling allowPreIssuing

finalize

Finalize the offering. The offering's treasury wallet (or the Security Token's treasury wallet if one was not specified for the offering) will receive the remaining unsold tokens. Throws an error if there are transfer restrictions which do not permit the wallet to receive that amount of tokens

getInvestments

Retrieve all investments that have been made on this STO

invest

Invest in the STO

Parameters:

â–ª args: object

Name

Type

Description

amount

BigNumber

amount to spend

beneficiary?

undefined | string

address that will receive the purchased tokens (defaults to current wallet, will fail if beneficial investments are not allowed for the STO, only applicable if the STO currency is ETH)

pause

Pause the offering

revokeRole

Remove a role from a delegate

Parameters:

â–ª args: object

Name

Type

delegateAddress

string

role

toPojo

â–¸ toPojo(): object

Convert entity to a POJO (Plain Old Javascript Object)

Returns: object

  • cap: BigNumber

  • rate: BigNumber

unpause

Unpause the offering

Static generateId

â–¸ generateId(__namedParameters: object): string

Generate the Simple STO's UUID from its identifying properties

Parameters:

â–ª __namedParameters: object

Name

Type

address

string

securityTokenId

string

stoType

Returns: string

Static unserialize

Unserialize string to a Security Token Offering object representation

Parameters:

Name

Type

serialized

string

+ new SimpleSto(params: & , context: ):

Overrides .

Defined in

&

Returns:

Inherited from .

Defined in

Inherited from .

Defined in

Defined in

Inherited from .

Defined in

• context:

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

Inherited from .

Defined in

• stoType:

Inherited from .

Defined in

Overrides .

Defined in

Inherited from .

Defined in

▸ _refresh(params: Partial‹›): void

Overrides .

Defined in

Partial‹›

▸ allowBeneficialInvestments(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ allowPreIssuing(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ assignRole(args: object): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ disallowBeneficialInvestments(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ disallowPreIssuing(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ finalize(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ getInvestments(): Promise‹[]›

Defined in

Returns: Promise‹[]›

▸ invest(args: object): Promise‹‹, void››

Defined in

Returns: Promise‹‹, void››

▸ pause(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

▸ revokeRole(args: object): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

Overrides .

Defined in

▸ unpause(): Promise‹‹, void››

Inherited from

Defined in

Returns: Promise‹‹, void››

Defined in

â–¸ unserialize(serialized: string):

Inherited from .

Defined in

Returns:

Params
UniqueIdentifiers
Context
SimpleSto
src/entities/SimpleSto.ts:61
SimpleSto
src/entities/Sto.ts:107
src/entities/Sto.ts:175
src/entities/SimpleSto.ts:56
src/entities/Sto.ts:160
Context
src/entities/Sto.ts:177
src/entities/Sto.ts:120
src/entities/Sto.ts:150
src/entities/Sto.ts:145
src/entities/Sto.ts:165
src/entities/Sto.ts:155
src/entities/Sto.ts:170
src/entities/Sto.ts:135
src/entities/Sto.ts:125
src/entities/SimpleSto.ts:61
src/entities/Sto.ts:111
src/entities/Sto.ts:109
src/entities/Sto.ts:140
src/entities/Sto.ts:118
StoType
src/entities/Sto.ts:116
src/entities/SimpleSto.ts:51
src/entities/Sto.ts:130
Params
src/entities/SimpleSto.ts:151
TransactionQueue
ToggleAllowBeneficialInvestmentsProcedureArgs
Sto
src/entities/Sto.ts:316
TransactionQueue
ToggleAllowBeneficialInvestmentsProcedureArgs
TransactionQueue
ToggleAllowPreIssuingProcedureArgs
Sto
src/entities/Sto.ts:287
TransactionQueue
ToggleAllowPreIssuingProcedureArgs
TransactionQueue
AssignStoRoleProcedureArgs
Sto
src/entities/Sto.ts:348
TransactionQueue
AssignStoRoleProcedureArgs
TransactionQueue
ToggleAllowBeneficialInvestmentsProcedureArgs
Sto
src/entities/Sto.ts:330
TransactionQueue
ToggleAllowBeneficialInvestmentsProcedureArgs
TransactionQueue
ToggleAllowPreIssuingProcedureArgs
Sto
src/entities/Sto.ts:302
TransactionQueue
ToggleAllowPreIssuingProcedureArgs
TransactionQueue
FinalizeStoProcedureArgs
Sto
src/entities/Sto.ts:275
TransactionQueue
FinalizeStoProcedureArgs
Investment
src/entities/SimpleSto.ts:81
Investment
TransactionQueue
InvestInSimpleStoProcedureArgs
src/entities/SimpleSto.ts:126
TransactionQueue
InvestInSimpleStoProcedureArgs
TransactionQueue
TogglePauseStoProcedureArgs
Sto
src/entities/Sto.ts:246
TransactionQueue
TogglePauseStoProcedureArgs
TransactionQueue
AssignStoRoleProcedureArgs
Sto
src/entities/Sto.ts:374
TransactionQueue
AssignStoRoleProcedureArgs
src/entities/SimpleSto.ts:137
TransactionQueue
TogglePauseStoProcedureArgs
Sto
src/entities/Sto.ts:260
TransactionQueue
TogglePauseStoProcedureArgs
src/entities/SimpleSto.ts:40
UniqueIdentifiers
src/entities/Sto.ts:184
UniqueIdentifiers
Sto
Params
constructor
address
beneficialInvestmentsAllowed
cap
capReached
context
endDate
fundraiseCurrencies
investorCount
isFinalized
isPaused
preIssueAllowed
raisedAmount
raisedFundsWallet
rate
securityTokenId
securityTokenSymbol
soldTokensAmount
startDate
stoType
uid
unsoldTokensWallet
_refresh
allowBeneficialInvestments
allowPreIssuing
assignRole
disallowBeneficialInvestments
disallowPreIssuing
finalize
getInvestments
invest
pause
revokeRole
toPojo
unpause
generateId
unserialize
Params
UniqueIdentifiers
Context
Params
StoRole
StoRole
StoType
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
Sto
constructor
address
beneficialInvestmentsAllowed
capReached
context
endDate
fundraiseCurrencies
investorCount
isFinalized
isPaused
preIssueAllowed
raisedAmount
raisedFundsWallet
securityTokenId
securityTokenSymbol
soldTokensAmount
startDate
stoType
uid
unsoldTokensWallet
_refresh
toPojo
unserialize