STO module for standard capped crowdsale (USDTieredSTO.sol)
Contract Members
string internal constant POLY_ORACLE;
string internal constant ETH_ORACLE;event SetAllowBeneficialInvestments(bool _allowed);
event SetNonAccreditedLimit(address _investor, uint256 _limit);
event TokenPurchase(address indexed _purchaser, address indexed _beneficiary, uint256 _tokens, uint256 _usdAmount, uint256 _tierPrice, uint256 _tier);
event FundsReceived(address indexed _purchaser, address indexed _beneficiary, uint256 _usdAmount, enum ISTO.FundRaiseType _fundRaiseType, uint256 _receivedValue, uint256 _spentValue, uint256 _rate);
event ReserveTokenMint(address indexed _owner, address indexed _wallet, uint256 _tokens, uint256 _latestTier);
event SetAddresses(address indexed _wallet, IERC20[] _usdTokens);
event SetLimits(uint256 _nonAccreditedLimitUSD, uint256 _minimumInvestmentUSD);
event SetTimes(uint256 _startTime, uint256 _endTime);
event SetTiers(uint256[] _ratePerTier, uint256[] _ratePerTierDiscountPoly, uint256[] _tokensPerTierTotal, uint256[] _tokensPerTierDiscountPoly);
event SetTreasuryWallet(address _oldWallet, address _newWallet);Modifiers
validETH
validPOLY
validSC
Functions
configure
modifyFunding
modifyLimits
modifyTiers
modifyTimes
_isSTOStarted
modifyAddresses
modifyOracle
_modifyLimits
_modifyTiers
_modifyTimes
_modifyAddresses
_modifyUSDTokens
finalize
changeNonAccreditedLimit
getAccreditedData
changeAllowBeneficialInvestments
buyWithETH
buyWithPOLY
buyWithUSD
buyWithETHRateLimited
buyWithPOLYRateLimited
buyWithUSDRateLimited
_buyWithTokens
_getSpentvalues
_buyTokens
_buyTokensChecks
_calculateTier
_purchaseTier
_isAccredited
_getIsAccredited
isOpen
capReached
getRate
convertToUSD
convertFromUSD
getTokensSold
getTokensMinted
getTokensSoldFor
getTokensMintedByTier
getTokensSoldByTier
getNumberOfTiers
getUsdTokens
getPermissions
getSTODetails
getInitFunction
_getOracle
Last updated
Was this helpful?