CornDeFi Token Logo

CORN [CornDeFi] Token

About CORN

Listings

Not Found
Token 18 months

CornDeFi Finance is latest Generation Yield Farm and AMM decentralized exchange running on Binance Smart Chain with lots of unique and creative features

Features

Vault Farms

CornDeFi will use all LPs to generate revenue. These proceeds will be used to stabilize currency prices and liquidity pools.

Automated Burning Mechanism

40% of each proceeds will be used to buy back and burn CORN.

Automatic Liquidity

60% of the income obtained each time will be automatically added to the liquidity pool through the contract, and the lower price limit will be continuously increased. And the liquidity will be locked and inaccessible.

Anti Whale

Transactions more than 1% of total supply will be rejected. As the total supply grows, this ratio will be reduced.

Harvest Lockup

We use harvest lockup based on time. Harvest lockup is a unique rewards lockup mechanism used to limit the frequency of harvest. It is designed to prevent farming arbitrage bots from constantly harvesting and dumping.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

CornToken.addLiquidity(uint256,uint256) (#1346-1359) sends eth to arbitrary user
Dangerous calls:
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CornToken._transfer(address,address,uint256) (#1260-1291):
External calls:
- swapAndLiquify() (#1270)
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
- cornRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1336-1342)
External calls sending eth:
- swapAndLiquify() (#1270)
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1274)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1081)
- _balances[recipient] = _balances[recipient].add(amount) (#1082)
- super._transfer(sender,BURN_ADDRESS,burnAmount) (#1286)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1081)
- _balances[recipient] = _balances[recipient].add(amount) (#1082)
- super._transfer(sender,address(this),liquidityAmount) (#1287)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1081)
- _balances[recipient] = _balances[recipient].add(amount) (#1082)
- super._transfer(sender,recipient,sendAmount) (#1288)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#1081)
- _balances[recipient] = _balances[recipient].add(amount) (#1082)
Apply the check-effects-interactions pattern.

Additional information: link

CornToken._writeCheckpoint(address,uint32,uint256,uint256) (#1669-1687) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1679)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

CornToken._transfer(address,address,uint256) (#1260-1291) performs a multiplication on the result of a division:
-taxAmount = amount.mul(transferTaxRate).div(10000) (#1277)
-burnAmount = taxAmount.mul(burnRate).div(100) (#1278)
Consider ordering multiplication before division.

Additional information: link

CornToken.addLiquidity(uint256,uint256) (#1346-1359) ignores return value by cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
Ensure that all the return values of the function calls are used.

Additional information: link

CornToken.swapAndLiquify().maxTransferAmount (#1296) shadows:
- CornToken.maxTransferAmount() (#1364-1366) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in CornToken.swapAndLiquify() (#1294-1324):
External calls:
- swapTokensForEth(half) (#1314)
- cornRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1336-1342)
- addLiquidity(otherHalf,newBalance) (#1320)
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1320)
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1320)
- _allowances[owner][spender] = amount (#1143)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CornToken.swapAndLiquify() (#1294-1324):
External calls:
- swapTokensForEth(half) (#1314)
- cornRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1336-1342)
- addLiquidity(otherHalf,newBalance) (#1320)
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1320)
- cornRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,operator(),block.timestamp) (#1351-1358)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1144)
- addLiquidity(otherHalf,newBalance) (#1320)
- SwapAndLiquify(half,newBalance,otherHalf) (#1322)
Apply the check-effects-interactions pattern.

Additional information: link

CornToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1535-1576) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,CORN::delegateBySig: signature expired) (#1574)
Avoid relying on block.timestamp.

Additional information: link

CornToken.getChainId() (#1694-1698) uses assembly
- INLINE ASM (#1696)
Do not use evm assembly.

Additional information: link

CornToken.antiWhale(address,address,uint256) (#1214-1225) compares to a boolean constant:
-require(bool,string)(swapEnabled == true,CORN::swap: Cannot transfer at the moment) (#1221)
Remove the equality to the boolean constant.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#594-601) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.functionDelegateCall(address,bytes,string) (#816-826):
- (success,returndata) = target.delegatecall(data) (#824)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable CornToken._delegates (#1477) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#288)" inContext (#282-291)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#80) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#81)
Prevent variables from having similar names.

Additional information: link

CornToken.slitherConstructorConstantVariables() (#1168-1700) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1176)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

transferOperator(address) should be declared external:
- CornToken.transferOperator(address) (#1464-1468)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Telegram account link seems to be invalid


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


Unable to find website, listings and other project-related information


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for CORN