BSC Station (BSCS) aims to build a Full-Stack DEFI with NFT Auction on the Binance Smart Chain. It will become economy infrastructure for DeFi and NFT powered by Binance Smart Chain.
BSC Station provides a ultimate platform to solve the above problems. The architecture of BSC Station includes the below major twocomponents:
- BSC DeFi: Swap, Startpools and Starter
- BSC NFT: Auction, BSC Smart Security (BSCSS), Encryption algorithm, Treasury.
The BSCS token economics model introduces a membership system and a fee sharing mechanism. In addition to its governance functions, BSCS gives holders trading fee, IDO participation allocations, NFT auction, Startpool,.etc. The system’s entitle holders to trading fee dividends and membership rewards, as well as the BSCS holder benefits.
LGEWhitelisted._applyLGEWhitelist(address,address,uint256) (#674-705) uses a dangerous strict equality:
- _lgeTimestamp == 0 && sender != _lgePairAddress && recipient == _lgePairAddress && amount > 0 (#679)
BSCSToken._writeCheckpoint(address,uint32,uint256,uint256) (#1256-1274) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1266)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Redundant expression "this (#23)" inContext (#13-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
BSCSToken.burn(uint256) (#1287-1290) should emit an event for:
- _cap = _cap.sub(amount) (#1288)
Emit an event for critical parameter changes.
Additional information: link
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#813-816)
symbol() should be declared external:
- BEP20.symbol() (#787-789)
cap() should be declared external:
- BSCSToken.cap() (#1031-1033)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#77-80)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#832-835)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#849-861)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#86-88)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#911-914)
mint(address,uint256) should be declared external:
- BSCSToken.mint(address,uint256) (#1052-1055)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#821-823)
decimals() should be declared external:
- BEP20.decimals() (#780-782)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#875-878)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#894-901)
Use the external attribute for functions never called from the contract.
Additional information: link
BEP20.allowance(address,address).owner (#821) shadows:
- Ownable.owner() (#58-60) (function)
BEP20.constructor(string,string).symbol (#757) shadows:
- BEP20.symbol() (#787-789) (function)
- IBEP20.symbol() (#115) (function)
BEP20._approve(address,address,uint256).owner (#999) shadows:
- Ownable.owner() (#58-60) (function)
BEP20.constructor(string,string).name (#757) shadows:
- BEP20.name() (#773-775) (function)
- IBEP20.name() (#120) (function)
Rename the local variables that shadow another component.
Additional information: link
LGEWhitelisted.createLGEWhitelist(address,uint256[],uint256[]).pairAddress (#595) lacks a zero-check on :
- _lgePairAddress = pairAddress (#598)
Check that the address is not zero.
Additional information: link
LGEWhitelisted._applyLGEWhitelist(address,address,uint256) (#674-705) uses timestamp for comparisons
Dangerous comparisons:
- _lgeTimestamp == 0 && sender != _lgePairAddress && recipient == _lgePairAddress && amount > 0 (#679)
- wlRoundNumber > 0 (#687)
BSCSToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1122-1163) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,BSCS::delegateBySig: signature expired) (#1161)
LGEWhitelisted.getLGEWhitelistRound() (#649-667) uses timestamp for comparisons
Dangerous comparisons:
- _lgeTimestamp > 0 (#651)
- now <= wlCloseTimestampLast (#660)
Avoid relying on block.timestamp.
Additional information: link
BSCSToken.getChainId() (#1281-1285) uses assembly
- INLINE ASM (#1283)
Address.isContract(address) (#405-416) uses assembly
- INLINE ASM (#412-414)
Address._functionCallWithValue(address,bytes,uint256,string) (#513-539) uses assembly
- INLINE ASM (#531-534)
Do not use evm assembly.
Additional information: link
SafeMath.mul(uint256,uint256) (#273-285) is never used and should be removed
Address.sendValue(address,uint256) (#434-440) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#489-495) is never used and should be removed
SafeMath.sqrt(uint256) (#369-380) is never used and should be removed
BEP20._burnFrom(address,uint256) (#1016-1023) is never used and should be removed
SafeMath.min(uint256,uint256) (#364-366) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#355-362) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#503-511) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#315-325) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
SafeMath.mod(uint256,uint256) (#339-341) is never used and should be removed
SafeMath.div(uint256,uint256) (#299-301) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#513-539) is never used and should be removed
Address.isContract(address) (#405-416) is never used and should be removed
Address.functionCall(address,bytes,string) (#470-476) is never used and should be removed
Address.functionCall(address,bytes) (#460-462) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#434-440):
- (success) = recipient.call{value: amount}() (#438)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#513-539):
- (success,returndata) = target.call{value: weiValue}(data) (#522)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BSCSToken._delegates (#1064) is not in mixedCase
Variable LGEWhitelisted._lgeWhitelistRounds (#553) is not in mixedCase
Variable LGEWhitelisted._lgeTimestamp (#555) is not in mixedCase
Parameter BSCSToken.mint(address,uint256)._amount (#1052) is not in mixedCase
Variable LGEWhitelisted._lgePairAddress (#556) is not in mixedCase
Parameter BSCSToken.mint(address,uint256)._to (#1052) is not in mixedCase
Variable LGEWhitelisted._whitelister (#558) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
BSCSToken.slitherConstructorVariables() (#1028-1292) uses literals with too many digits:
- _cap = 500000000e18 (#1029)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Token has no active CoinGecko listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Discord account