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
PreviousFactory for deploying CountTransferManager module (CountTransferManagerFactory.sol)NextData store contract that stores data for all the modules in a central contract. (DataStore.sol)
Last updated
Was this helpful?