KingDeFi is a DeFi project combining two main areas: analytics and monitoring where we provide a market overview, liquidity pool search engine and portfolio tracking to users and farming as we are a yield optimizer project on BSC and Solana.
It offers its Knights (= users) an a) Earnings and b) Monitoring function.
With the Earnings function, Knights can earn KROWN tokens by providing liquidity and staking directly on the KingDeFi platform.
With the Monitoring function, Knights have an overview about all major yield platforms on BSC and Solana and receive automatic suggestions where to receive the best yields based on their token holdings in their wallet. With one click, Knights are easily directed to the best yielding platforms. Knights also have a dashboard showing all key statistics of all major platforms such as highest/lowest APYs, TVL and more.
In combination, KingDeFi is the only ""go to"" place you need in order to optimize your farming and staking yields for both, BSC and Solana
Ownable is re-used:
- Ownable (Ownable.sol#6-63)
- Ownable (ReentrancyGuard.sol#6-63)
Rename the contract.
Additional information: link
Address.isContract(address) (Address.sol#22-33) uses assembly
- INLINE ASM (Address.sol#29-31)
Address._verifyCallResult(bool,bytes,string) (Address.sol#226-247) uses assembly
- INLINE ASM (Address.sol#239-242)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (Address.sol#226-247) is never used and should be removed
Address.functionCall(address,bytes) (Address.sol#83-88) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#96-102) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#115-127) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#135-151) is never used and should be removed
Address.functionDelegateCall(address,bytes) (Address.sol#196-206) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (Address.sol#214-224) is never used and should be removed
Address.functionStaticCall(address,bytes) (Address.sol#159-170) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (Address.sol#178-188) is never used and should be removed
Address.isContract(address) (Address.sol#22-33) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#51-63) is never used and should be removed
Context._msgData() (Context.sol#24-27) is never used and should be removed
EnumerableSet._add(EnumerableSet.Set,bytes32) (SafeERC20.sol#150-160) is never used and should be removed
EnumerableSet._at(EnumerableSet.Set,uint256) (SafeERC20.sol#231-241) is never used and should be removed
EnumerableSet._contains(EnumerableSet.Set,bytes32) (SafeERC20.sol#206-212) is never used and should be removed
EnumerableSet._length(EnumerableSet.Set) (SafeERC20.sol#217-219) is never used and should be removed
EnumerableSet._remove(EnumerableSet.Set,bytes32) (SafeERC20.sol#168-201) is never used and should be removed
EnumerableSet.add(EnumerableSet.AddressSet,address) (SafeERC20.sol#323-328) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (SafeERC20.sol#255-260) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (SafeERC20.sol#391-393) is never used and should be removed
EnumerableSet.at(EnumerableSet.AddressSet,uint256) (SafeERC20.sol#371-377) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (SafeERC20.sol#303-309) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (SafeERC20.sol#436-442) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (SafeERC20.sol#346-352) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (SafeERC20.sol#278-284) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (SafeERC20.sol#411-417) is never used and should be removed
EnumerableSet.length(EnumerableSet.AddressSet) (SafeERC20.sol#357-359) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (SafeERC20.sol#289-291) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (SafeERC20.sol#422-424) is never used and should be removed
EnumerableSet.remove(EnumerableSet.AddressSet,address) (SafeERC20.sol#336-341) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (SafeERC20.sol#268-273) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (SafeERC20.sol#401-406) is never used and should be removed
SafeERC20._callOptionalReturn(IERC20,bytes) (SafeERC20.sol#104-122) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (SafeERC20.sol#42-59) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (SafeERC20.sol#78-96) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (SafeERC20.sol#61-76) is never used and should be removed
SafeERC20.safeTransfer(IERC20,address,uint256) (SafeERC20.sol#12-21) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (SafeERC20.sol#23-33) is never used and should be removed
SafeMath.div(uint256,uint256) (SafeMath.sol#97-99) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#112-119) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#132-134) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#147-150) is never used and should be removed
SafeMath.mul(uint256,uint256) (SafeMath.sol#72-84) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (Address.sol#51-63):
- (success) = recipient.call{value: amount}() (Address.sol#58)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#135-151):
- (success,returndata) = target.call{value: value}(data) (Address.sol#148-149)
Low level call in Address.functionStaticCall(address,bytes,string) (Address.sol#178-188):
- (success,returndata) = target.staticcall(data) (Address.sol#186)
Low level call in Address.functionDelegateCall(address,bytes,string) (Address.sol#214-224):
- (success,returndata) = target.delegatecall(data) (Address.sol#222)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
KROWN.setCap(uint256) (KrownToken.sol#51-55) should emit an event for:
- cap = _cap (KrownToken.sol#54)
Emit an event for critical parameter changes.
Additional information: link
KROWN.setGovernance(address)._governance (KrownToken.sol#31) lacks a zero-check on :
- governance = _governance (KrownToken.sol#33)
Check that the address is not zero.
Additional information: link
Parameter KROWN.setGovernance(address)._governance (KrownToken.sol#31) is not in mixedCase
Parameter KROWN.addMinter(address)._minter (KrownToken.sol#36) is not in mixedCase
Parameter KROWN.removeMinter(address)._minter (KrownToken.sol#41) is not in mixedCase
Parameter KROWN.setCap(uint256)._cap (KrownToken.sol#51) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#25)" inContext (Context.sol#14-29)
Remove redundant statements if they congest code but offer no value.
Additional information: link
KROWN.burnCapAddress() (KrownToken.sol#57-60) uses literals with too many digits:
- capAddress = address(0x0000000000000000000000000000000000000000) (KrownToken.sol#59)
KROWN.slitherConstructorVariables() (KrownToken.sol#8-62) uses literals with too many digits:
- cap = 10000000000000000000000000000 (KrownToken.sol#12)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
name() should be declared external:
- ERC20.name() (ERC20.sol#39-41)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#47-49)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#64-66)
totalSupply() should be declared external:
- ERC20.totalSupply() (ERC20.sol#71-73)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#90-98)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#103-111)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#120-128)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#143-158)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#172-183)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#199-213)
mint(address,uint256) should be declared external:
- KROWN.mint(address,uint256) (KrownToken.sol#25-29)
setGovernance(address) should be declared external:
- KROWN.setGovernance(address) (KrownToken.sol#31-34)
addMinter(address) should be declared external:
- KROWN.addMinter(address) (KrownToken.sol#36-39)
removeMinter(address) should be declared external:
- KROWN.removeMinter(address) (KrownToken.sol#41-44)
burn(uint256) should be declared external:
- KROWN.burn(uint256) (KrownToken.sol#46-49)
setCap(uint256) should be declared external:
- KROWN.setCap(uint256) (KrownToken.sol#51-55)
burnCapAddress() should be declared external:
- KROWN.burnCapAddress() (KrownToken.sol#57-60)
owner() should be declared external:
- Ownable.owner() (Ownable.sol#26-28)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#45-48)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#54-61)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Youtube account