49732 sc medium malicious token admin can permanently block setpurchasetoken
Vulnerability Details
function enableToken(
address _tokenContract,
uint256 _numberOfTokens,
uint256 _tokenPrice
) external onlyTokenAdmin(_tokenContract) {
...
ps.enabledTokens.add(_tokenContract);
emit TokenSaleEnabled(_tokenContract, _numberOfTokens, _tokenPrice);
}Impact Details
References
Previous51712 sc insight yield distribution will revert if global module doesn t implement iyieldrestrictionsNext51034 sc low sales information is lost when enabling token
Was this helpful?