Ola City is a performance-based advertising platform where millions of people can earn money by accomplishing tasks or saving money on daily shopping.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
OlaCoin (#421-662) contract sets array length with a user-controlled value:
- lockList[_receiver].push(item) (#543)
Do not allow array lengths to be set directly set; instead, opt to add values as needed. Otherwise, thoroughly review the contract to ensure a user-controlled variable cannot reach an array length assignment.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Contract locking ether found:
Contract OlaCoin (#421-662) has payable functions:
- OlaCoin.fallback() (#582-584)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Variable ERC20._balances (#96) is not in mixedCase
Parameter OlaCoin.transfer(address,uint256)._receiver (#505) is not in mixedCase
Parameter OlaCoin.transfer(address,uint256)._amount (#505) is not in mixedCase
Parameter OlaCoin.transferFrom(address,address,uint256)._from (#519) is not in mixedCase
Parameter OlaCoin.transferFrom(address,address,uint256)._receiver (#519) is not in mixedCase
Parameter OlaCoin.transferFrom(address,address,uint256)._amount (#519) is not in mixedCase
Parameter OlaCoin.transferAndLock(address,uint256,uint256)._receiver (#536) is not in mixedCase
Parameter OlaCoin.transferAndLock(address,uint256,uint256)._amount (#536) is not in mixedCase
Parameter OlaCoin.transferAndLock(address,uint256,uint256)._releaseDate (#536) is not in mixedCase
Parameter OlaCoin.burn(uint256)._amount (#578) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- quarterMap[27] = 1814400000 (#468)
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- totalCoins = 100000000000 * 10 ** uint256(decimals()) (#482)
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- ERC20.transfer(teamWallet,9000000000 * 10 ** uint256(decimals())) (#485)
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- ERC20.transfer(partnerWallet,9000000000 * 10 ** uint256(decimals())) (#486)
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- ERC20.transfer(serviceWallet,2000000000 * 10 ** uint256(decimals())) (#487)
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- ERC20.transfer(bountyWallet,2000000000 * 10 ** uint256(decimals())) (#488)
OlaCoin.constructor() (#440-494) uses literals with too many digits:
- transferAndLock(serviceWallet,2000000000 * 10 ** uint256(decimals()),quarterMap[i]) (#491)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
OlaCoin.bountyWallet (#426) should be constant
OlaCoin.partnerWallet (#425) should be constant
OlaCoin.serviceWallet (#424) should be constant
OlaCoin.teamWallet (#423) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
ERC20Detailed.constructor(string,string,uint8).name (#391) shadows:
- ERC20Detailed.name() (#400-402) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (#391) shadows:
- ERC20Detailed.symbol() (#407-409) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (#391) shadows:
- ERC20Detailed.decimals() (#414-416) (function)
Rename the local variables that shadow another component.
Additional information: link
OlaCoin.getLockedAmount(address) (#553-562) uses timestamp for comparisons
Dangerous comparisons:
- now < lockList[lockedAddress][j].releaseDate (#556)
Avoid relying on block.timestamp.
Additional information: link
ERC20._burnFrom(address,uint256) (#263-266) is never used and should be removed
SafeMath.div(uint256,uint256) (#45-52) is never used and should be removed
SafeMath.mod(uint256,uint256) (#78-81) is never used and should be removed
SafeMath.mul(uint256,uint256) (#28-40) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.4.22<0.6.0 (#1) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
solc-0.5.2 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#150-153)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#178-181)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#192-195)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#318-321)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#327-329)
paused() should be declared external:
- Pausable.paused() (#355-357)
pause() should be declared external:
- Pausable.pause() (#369-372)
unpause() should be declared external:
- Pausable.unpause() (#374-377)
name() should be declared external:
- ERC20Detailed.name() (#400-402)
symbol() should be declared external:
- ERC20Detailed.symbol() (#407-409)
burn(uint256) should be declared external:
- OlaCoin.burn(uint256) (#578-580)
getLockedAddresses() should be declared external:
- OlaCoin.getLockedAddresses() (#592-594)
getNumberOfLockedAddresses() should be declared external:
- OlaCoin.getNumberOfLockedAddresses() (#599-601)
getLockedAddressesCurrently() should be declared external:
- OlaCoin.getLockedAddressesCurrently() (#618-629)
getCirculatingSupplyTotal() should be declared external:
- OlaCoin.getCirculatingSupplyTotal() (#649-651)
getBurnedAmountTotal() should be declared external:
- OlaCoin.getBurnedAmountTotal() (#657-659)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account