ArenaSwap is a decentralized exchange platform built on BSC (Binance Smart Chain) that focuses on gamification of yield farming and gambling.
Our vision is to make DeFi and yield farming mainstream through gamification and storytelling, creating an ecosystem that supports the value of our token and NFTs.
We implement powerful deflationary mechanisms to safeguard the token value. Gamified gambling and an NFT collectible game are developed as part of the ecosystem to achieve this.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ArenaToken._writeCheckpoint(address,uint32,uint256,uint256) (contracts/ArenaToken.sol#212-230) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (contracts/ArenaToken.sol#222)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
BEP20._approve(address,address,uint256).owner (contracts/libs/BEP20.sol#280) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
Rename the local variables that shadow another component.
Additional information: link
ArenaToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (contracts/ArenaToken.sol#78-119) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,ARENA::delegateBySig: signature expired) (contracts/ArenaToken.sol#117)
Avoid relying on block.timestamp.
Additional information: link
ArenaToken.getChainId() (contracts/ArenaToken.sol#237-241) uses assembly
- INLINE ASM (contracts/ArenaToken.sol#239)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.6.0<0.8.0', '>=0.6.4']
- >=0.6.0<0.8.0 (@openzeppelin/contracts/GSN/Context.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- 0.6.12 (contracts/ArenaToken.sol#1)
- >=0.4.0 (contracts/libs/BEP20.sol#3)
- >=0.6.4 (contracts/libs/IBEP20.sol#1)
Use one Solidity version.
Additional information: link
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#35-38) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.4 (contracts/libs/IBEP20.sol#1) allows old versions
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
Variable ArenaToken._delegates (contracts/ArenaToken.sol#20) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (@openzeppelin/contracts/utils/Context.sol#21)" inContext (@openzeppelin/contracts/utils/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
mint(uint256) should be declared external:
- BEP20.mint(uint256) (contracts/libs/BEP20.sol#203-206)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
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
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
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account