Kingdom game 4.0 is empowered NFT Streaming combines with NFT Market and Game blockchain service.
With a combination of blockchain-based and revolutionary technology, we are creating a new platform where there is an inseparable connection between game developers, gamers, and networks of distribution systems.
With the mission of bringing true value to players, preserving in-game assets for gamers, bringing practical benefits to agents and that is also the reason why Kingdom game 4.0 was born.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
BEP20.allowance(address,address).owner (#654) shadows:
- Ownable.owner() (#58-60) (function)
BEP20.constructor(string,string).symbol (#590) shadows:
- BEP20.symbol() (#620-622) (function)
- IBEP20.symbol() (#115) (function)
BEP20._approve(address,address,uint256).owner (#832) shadows:
- Ownable.owner() (#58-60) (function)
BEP20.constructor(string,string).name (#590) shadows:
- BEP20.name() (#606-608) (function)
- IBEP20.name() (#120) (function)
Rename the local variables that shadow another component.
Additional information: link
KDGToken.burn(uint256) (#884-887) should emit an event for:
- _cap = _cap.sub(amount) (#885)
Emit an event for critical parameter changes.
Additional information: link
KDGToken.getChainId() (#878-882) uses assembly
- INLINE ASM (#880)
Address._functionCallWithValue(address,bytes,uint256,string) (#513-539) uses assembly
- INLINE ASM (#531-534)
Address.isContract(address) (#405-416) uses assembly
- INLINE ASM (#412-414)
Do not use evm assembly.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#513-539):
- (success,returndata) = target.call{value: weiValue}(data) (#522)
Low level call in Address.sendValue(address,uint256) (#434-440):
- (success) = recipient.call{value: amount}() (#438)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter KDGToken.mint(address,uint256)._amount (#869) is not in mixedCase
Parameter KDGToken.mint(address,uint256)._to (#869) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#13-26)
Remove redundant statements if they congest code but offer no value.
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
KDGToken.getChainId() (#878-882) 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
KDGToken.safe32(uint256,string) (#873-876) 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
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#646-649)
symbol() should be declared external:
- BEP20.symbol() (#620-622)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#77-80)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#665-668)
mint(address,uint256) should be declared external:
- KDGToken.mint(address,uint256) (#869-871)
cap() should be declared external:
- KDGToken.cap() (#849-851)
name() should be declared external:
- BEP20.name() (#606-608)
balanceOf(address) should be declared external:
- BEP20.balanceOf(address) (#634-636)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#682-694)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#86-88)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#744-747)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#654-656)
decimals() should be declared external:
- BEP20.decimals() (#613-615)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#708-711)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#727-734)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find Discord account