At Winner Block, we want to develop and create a worldwide lottery with players using Blockchain Protocols and operating on the Binance Smart Chain.
Lottery should not be bound geographically or tied to local financial systems. Our focus is to develop further transparency and fairness in gaming, creating a lottery where every player has better win odds while providing a profitable investment strategy for WBlock holders and contributing to the community.
Contract ownership is not renounced (belongs to a wallet)
WinnerBlock.setMaxTxAmount(uint256) (#912-914) should emit an event for:
- maxTxAmount = _maxAmountTx (#913)
WinnerBlock.setBurnFee(uint256) (#883-885) should emit an event for:
- burnFee = fee (#884)
Emit an event for critical parameter changes.
Additional information: link
WinnerBlock.setAdmin(address) (#916-918) should emit an event for:
- admin = account (#917)
Emit an event for critical parameter changes.
Additional information: link
Pragma version^0.8.0 (#13) 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
Address.verifyCallResult(bool,bytes,string) (#616-636) uses assembly
- INLINE ASM (#628-631)
Do not use evm assembly.
Additional information: link
WinnerBlock.slitherConstructorVariables() (#654-942) uses literals with too many digits:
- maxTxAmount = 100000000 * 10 ** 9 (#690)
WinnerBlock.slitherConstructorVariables() (#654-942) uses literals with too many digits:
- sellCooldownAmount = 10000000 * 10 ** 9 (#698)
WinnerBlock.slitherConstructorVariables() (#654-942) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#682)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
WinnerBlock._approve(address,address,uint256).owner (#793) shadows:
- Ownable.owner() (#156-158) (function)
WinnerBlock.allowance(address,address).owner (#762) shadows:
- Ownable.owner() (#156-158) (function)
WinnerBlock.constructor()._owner (#714) shadows:
- Ownable._owner (#142) (state variable)
Rename the local variables that shadow another component.
Additional information: link
WinnerBlock.setAdmin(address).account (#916) lacks a zero-check on :
- admin = account (#917)
WinnerBlock.setPancakeSwapV2Pair(address).pair (#892) lacks a zero-check on :
- pancakeSwapV2Pair = pair (#893)
WinnerBlock.setPrimoWallet(address).wallet (#908) lacks a zero-check on :
- primoWallet = wallet (#909)
WinnerBlock.setPreSaleWallet(address).wallet (#904) lacks a zero-check on :
- presaleWallet = wallet (#905)
WinnerBlock.claim(address).destination (#937) lacks a zero-check on :
- destination.transfer(address(this).balance) (#938)
WinnerBlock.setTeamWallet(address).wallet (#896) lacks a zero-check on :
- teamWallet = wallet (#897)
WinnerBlock.setMarketingWallet(address).wallet (#900) lacks a zero-check on :
- marketingWallet = wallet (#901)
Check that the address is not zero.
Additional information: link
WinnerBlock._transfer(address,address,uint256) (#804-852) uses timestamp for comparisons
Dangerous comparisons:
- listedAt + 300 >= block.timestamp (#822)
- require(bool,string)(sellCooldown[sender] < block.timestamp,Error: Your last transaction triggered the sell cooldown) (#830)
- require(bool,string)(listedAt != 0,WBlock is not launched yet !) (#839)
WinnerBlock.launch() (#929-932) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(listedAt == 0,WBlock already launched!) (#930)
Avoid relying on block.timestamp.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#616-636) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#258-263) is never used and should be removed
Address.sendValue(address,uint256) (#475-480) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#529-535) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#270-275) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#599-608) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#589-591) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#216-222) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#411-420) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#543-554) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#385-394) is never used and should be removed
Context._msgData() (#123-125) is never used and should be removed
Address.functionStaticCall(address,bytes) (#562-564) is never used and should be removed
SafeMath.mod(uint256,uint256) (#345-347) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#241-251) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#229-234) is never used and should be removed
Address.isContract(address) (#451-457) is never used and should be removed
Address.functionCall(address,bytes,string) (#510-516) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#572-581) is never used and should be removed
Address.functionCall(address,bytes) (#500-502) is never used and should be removed
Remove unused functions.
Additional information: link
WinnerBlock._tokenTotal (#666) is set pre-construction with a non-constant function or state variable:
- _tokenTeam + _tokenMarketing + _tokenPreSale + _tokenPrimo
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address.functionDelegateCall(address,bytes,string) (#599-608):
- (success,returndata) = target.delegatecall(data) (#606)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#543-554):
- (success,returndata) = target.call{value: value}(data) (#552)
Low level call in Address.sendValue(address,uint256) (#475-480):
- (success) = recipient.call{value: amount}() (#478)
Low level call in Address.functionStaticCall(address,bytes,string) (#572-581):
- (success,returndata) = target.staticcall(data) (#579)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable WinnerBlock._tokenTeam (#662) is not in mixedCase
Function IPancakeswapV2Router.WETH() (#651) is not in mixedCase
Parameter WinnerBlock.setMaxTxAmount(uint256)._maxAmountTx (#912) is not in mixedCase
Variable WinnerBlock._tokenBalance (#668) is not in mixedCase
Variable WinnerBlock._tokenPrimo (#665) is not in mixedCase
Variable WinnerBlock._tokenPreSale (#664) is not in mixedCase
Variable WinnerBlock._allowances (#669) is not in mixedCase
Variable WinnerBlock._tokenMarketing (#663) is not in mixedCase
Variable WinnerBlock._tokenTotal (#666) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
WinnerBlock._tokenTeam (#662) should be constant
WinnerBlock._symbol (#659) should be constant
WinnerBlock.deadWallet (#682) should be constant
WinnerBlock._tokenPrimo (#665) should be constant
WinnerBlock._tokenMarketing (#663) should be constant
WinnerBlock.burnDecimal (#673) should be constant
WinnerBlock._tokenPreSale (#664) should be constant
WinnerBlock._decimals (#660) should be constant
WinnerBlock._name (#658) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
totalSupply() should be declared external:
- WinnerBlock.totalSupply() (#748-750)
balanceOf(address) should be declared external:
- WinnerBlock.balanceOf(address) (#752-754)
decimals() should be declared external:
- WinnerBlock.decimals() (#744-746)
decreaseAllowance(address,uint256) should be declared external:
- WinnerBlock.decreaseAllowance(address,uint256) (#787-790)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#175-177)
name() should be declared external:
- WinnerBlock.name() (#736-738)
transfer(address,uint256) should be declared external:
- WinnerBlock.transfer(address,uint256) (#756-760)
isBlacklist(address) should be declared external:
- WinnerBlock.isBlacklist(address) (#875-877)
increaseAllowance(address,uint256) should be declared external:
- WinnerBlock.increaseAllowance(address,uint256) (#782-785)
symbol() should be declared external:
- WinnerBlock.symbol() (#740-742)
allowance(address,address) should be declared external:
- WinnerBlock.allowance(address,address) (#762-769)
claim(address) should be declared external:
- WinnerBlock.claim(address) (#937-939)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Twitter account has less than 100 followers
Telegram account has relatively few subscribers
Unable to find Youtube account