Interface to be implemented by all STO modules (ISTO.sol)

View Source: contracts/interfaces/ISTO.solโ€‹

โ†˜ Derived Contracts: STOโ€‹

ISTO

Enums

FundRaiseType

enum FundRaiseType {
ETH,
POLY,
SC
}

Events

event SetFundRaiseTypes(enum ISTO.FundRaiseType[] _fundRaiseTypes);

Functions

getTokensSold

โคฟ Overridden Implementation(s): CappedSTO.getTokensSold,DummySTO.getTokensSold,PreSaleSTO.getTokensSold,STO.getTokensSold,USDTieredSTO.getTokensSoldโ€‹

Returns the total no. of tokens sold

function getTokensSold() external view
returns(soldTokens uint256)

Arguments

Name

Type

Description

getRaised

โคฟ Overridden Implementation(s): STO.getRaisedโ€‹

Returns funds raised by the STO

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

Arguments

Name

Type

Description

_fundRaiseType

enum ISTO.FundRaiseType

โ€‹

pause

โคฟ Overridden Implementation(s): Module.pause,STO.pauseโ€‹

Pause (overridden function)

function pause() external nonpayable

Arguments

Name

Type

Description