The BUX Token (BUX) is a Binance Smart Chain powered BEP20 utility token that can be used on the BUX Crypto platform to trade with 0% commission and access premium features. In the near future, BUX aims to enrich a range of community features so that the token offers tangible advantages on the BUX Crypto platform. The goal is to create a strong use case for BUX and power a micro-economy within the platform.
MintableToken.mint(address,uint256) (erc20.sol#289-301) has costly operations inside a loop:
- totalSupply = totalSupply.add(_amount) (erc20.sol#295)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.div(uint256,uint256) (erc20.sol#61-66) is never used and should be removed
SafeMath.mul(uint256,uint256) (erc20.sol#52-59) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.4.13 (bux.sol#1) allows old versions
Pragma version^0.4.13 (erc20.sol#1) allows old versions
solc-0.4.19 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 BuxToken.mintBatch(address[],uint256[])._to (bux.sol#22) is not in mixedCase
Parameter BuxToken.mintBatch(address[],uint256[])._amount (bux.sol#22) is not in mixedCase
Parameter BasicToken.transfer(address,uint256)._to (erc20.sol#113) is not in mixedCase
Parameter BasicToken.transfer(address,uint256)._value (erc20.sol#113) is not in mixedCase
Parameter BasicToken.balanceOf(address)._owner (erc20.sol#129) is not in mixedCase
Parameter StandardToken.transfer(address,uint256)._to (erc20.sol#175) is not in mixedCase
Parameter StandardToken.transfer(address,uint256)._value (erc20.sol#175) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._from (erc20.sol#186) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._to (erc20.sol#187) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._value (erc20.sol#188) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._spender (erc20.sol#211) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._value (erc20.sol#211) is not in mixedCase
Parameter StandardToken.allowance(address,address)._owner (erc20.sol#223) is not in mixedCase
Parameter StandardToken.allowance(address,address)._spender (erc20.sol#223) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._spender (erc20.sol#236) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._addedValue (erc20.sol#236) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._spender (erc20.sol#247) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._subtractedValue (erc20.sol#247) is not in mixedCase
Parameter MintableToken.mint(address,uint256)._to (erc20.sol#289) is not in mixedCase
Parameter MintableToken.mint(address,uint256)._amount (erc20.sol#289) is not in mixedCase
Parameter CappedToken.mint(address,uint256)._to (erc20.sol#335) is not in mixedCase
Parameter CappedToken.mint(address,uint256)._amount (erc20.sol#335) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._to (erc20.sol#401) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._value (erc20.sol#401) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._from (erc20.sol#410) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._to (erc20.sol#411) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._value (erc20.sol#412) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._spender (erc20.sol#417) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._value (erc20.sol#417) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._spender (erc20.sol#425) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._addedValue (erc20.sol#425) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._spender (erc20.sol#433) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._subtractedValue (erc20.sol#433) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
BuxToken.BuxToken() (bux.sol#15-17) uses literals with too many digits:
- CappedToken(76384000000000000000000000) (bux.sol#15)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
mintBatch(address[],uint256[]) should be declared external:
- BuxToken.mintBatch(address[],uint256[]) (bux.sol#22-31)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (erc20.sol#38-42)
balanceOf(address) should be declared external:
- BasicToken.balanceOf(address) (erc20.sol#129-131)
- ERC20Basic.balanceOf(address) (erc20.sol#90)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (erc20.sol#141)
- StandardToken.allowance(address,address) (erc20.sol#223-228)
finishMinting() should be declared external:
- MintableToken.finishMinting() (erc20.sol#307-311)
pause() should be declared external:
- Pausable.pause() (erc20.sol#378-381)
unpause() should be declared external:
- Pausable.unpause() (erc20.sol#386-389)
Use the external attribute for functions never called from the contract.
Additional information: link
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 Youtube account
Unable to find Discord account