Piratera is an adventure game with attractive gameplay, fascinating storyline and unique game art; in which players are able to earn tokens by joining in-game battles or contributing to the ecosystem.
Getting in Piratera world, players will assume Pirate Captain roles of exploring the sea, broadening new horizons and conquering massive treasures. Players are also able to communicate, engage in combats, carry on trades and be shoulder-to-shoulder together on every quest.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BEP20.allowance(address,address).owner (BEP20.sol#105) shadows:
- Ownable.owner() (Ownable.sol#34-36) (function)
BEP20._approve(address,address,uint256).owner (BEP20.sol#260) shadows:
- Ownable.owner() (Ownable.sol#34-36) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in PIRAToken._transfer(address,address,uint256) (PIRAToken.sol#52-62):
External calls:
- BP.protect(sender,recipient,amount) (PIRAToken.sol#58)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (PIRAToken.sol#61)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (BEP20.sol#206)
- _balances[recipient] = _balances[recipient].add(amount) (BEP20.sol#207)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PIRAToken._transfer(address,address,uint256) (PIRAToken.sol#52-62):
External calls:
- BP.protect(sender,recipient,amount) (PIRAToken.sol#58)
Event emitted after the call(s):
- BPTransfer(sender,recipient,amount) (PIRAToken.sol#59)
- Transfer(sender,recipient,amount) (BEP20.sol#208)
- super._transfer(sender,recipient,amount) (PIRAToken.sol#61)
Apply the check-effects-interactions pattern.
Additional information: link
BEP20._burnFrom(address,uint256) (BEP20.sol#274-277) is never used and should be removed
Context._msgData() (Context.sol#20-22) is never used and should be removed
SafeMath.div(uint256,uint256) (SafeMath.sol#134-136) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#190-199) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#150-152) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#216-225) is never used and should be removed
SafeMath.mul(uint256,uint256) (SafeMath.sol#120-122) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (SafeMath.sol#21-27) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (SafeMath.sol#63-68) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (SafeMath.sol#75-80) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (SafeMath.sol#46-56) is never used and should be removed
SafeMath.trySub(uint256,uint256) (SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (BEP20.sol#2) allows old versions
Pragma version^0.8.0 (BotPrevent.sol#2) allows old versions
Pragma version^0.8.0 (Context.sol#3) allows old versions
Pragma version^0.8.0 (IBEP20.sol#2) allows old versions
Pragma version^0.8.0 (Ownable.sol#3) allows old versions
Pragma version^0.8.0 (PIRAToken.sol#2) allows old versions
Pragma version^0.8.0 (Pausable.sol#3) allows old versions
Pragma version^0.8.0 (SafeMath.sol#3) allows old versions
solc-0.8.0 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
Parameter PIRAToken.setBpAddress(address)._bp (PIRAToken.sol#21) is not in mixedCase
Parameter PIRAToken.setBpEnabled(bool)._enabled (PIRAToken.sol#28) is not in mixedCase
Variable PIRAToken.BP (PIRAToken.sol#9) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
PIRAToken.constructor() (PIRAToken.sol#16-19) uses literals with too many digits:
- totalTokens = 1000000000 * 10 ** uint256(decimals()) (PIRAToken.sol#17)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
name() should be declared external:
- BEP20.name() (BEP20.sol#40-42)
symbol() should be declared external:
- BEP20.symbol() (BEP20.sol#48-50)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (BEP20.sol#151-154)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (BEP20.sol#170-173)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (BEP20.sol#183-186)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#61-64)
pause() should be declared external:
- PIRAToken.pause() (PIRAToken.sol#37-39)
unpause() should be declared external:
- PIRAToken.unpause() (PIRAToken.sol#44-46)
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 code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account has relatively few followers
Unable to find Youtube account