Base abstract contract to be extended by all STO modules (STO.sol)

View Source: contracts/modules/STO/STO.sol

↗ Extends: ISTO, STOStorage, Module ↘ Derived Contracts: CappedSTO, DummySTO, PreSaleSTO, USDTieredSTO

STO

Functions

getRaised

⤾ overrides ISTO.getRaised

Returns funds raised by the STO

function getRaised(enum ISTO.FundRaiseType _fundRaiseType) public view
returns(uint256)

Arguments

Name

Type

Description

_fundRaiseType

enum ISTO.FundRaiseType

getTokensSold

⤾ overrides ISTO.getTokensSold

⤿ Overridden Implementation(s): CappedSTO.getTokensSold,DummySTO.getTokensSold,PreSaleSTO.getTokensSold,USDTieredSTO.getTokensSold

Returns the total no. of tokens sold

Arguments

Name

Type

Description

pause

⤾ overrides Module.pause

Pause (overridden function)

Arguments

Name

Type

Description

_setFundRaiseType

Arguments

Name

Type

Description

_fundRaiseTypes

enum ISTO.FundRaiseType[]

_canBuy

Arguments

Name

Type

Description

_investor

address

_getKey

Arguments

Name

Type

Description

_key1

bytes32

_key2

address

Last updated

Was this helpful?