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

View Source: contracts/modules/STO/STO.solarrow-up-right

↗ Extends: ISTOarrow-up-right, STOStoragearrow-up-right, Modulearrow-up-right ↘ Derived Contracts: CappedSTOarrow-up-right, DummySTOarrow-up-right, PreSaleSTOarrow-up-right, USDTieredSTOarrow-up-right

STO

Functions

getRaised

⤾ overrides ISTO.getRaisedarrow-up-right

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.getTokensSoldarrow-up-right

⤿ Overridden Implementation(s): CappedSTO.getTokensSoldarrow-up-right,DummySTO.getTokensSoldarrow-up-right,PreSaleSTO.getTokensSoldarrow-up-right,USDTieredSTO.getTokensSoldarrow-up-right

Returns the total no. of tokens sold

Arguments

Name

Type

Description

pause

⤾ overrides Module.pausearrow-up-right

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?