Little Pony is a decentralized all-in-one ecosystem on the Binance blockchain which is one of the fastest-growing and safest Blockchain protocols. Our team developed the community-driven project. It’s our aim to take cryptocurrency to new heights. We aim to be a platform that will provide all facilities under a single platform. Little Pony will be a whole ecosystem that will provide features like Staking, NFT Marketplace, Swapping, and Metaverse in the future. Little Pony will develop its own unique NFT marketplace and will connect the decentralized community. Stake your NFT, earn tokens and use it on our own marketplace to buy different things.
Reentrancy in LittlePony._transfer(address,address,uint256) (#1036-1089):
External calls:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
State variables written after the call(s):
- setSellFee() (#1079)
- _liquidityFee = 6 (#1245)
- setTransferFee() (#1082)
- _liquidityFee = 1 (#1251)
- removeAllFee() (#1084)
- _liquidityFee = 0 (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _liquidityFee = _previousLiquidityFee (#1021)
- _liquidityFee = 0 (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _rOwned[recipient] = _rOwned[recipient].add(ramt) (#945)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#992)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1197)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#861)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1208)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1189)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1209)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#863)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _rTotal = _rTotal.sub(rFee) (#939)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _tOwned[recipient] = _tOwned[recipient].add(tamt) (#947)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#994)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1207)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#860)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1198)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#862)
Apply the check-effects-interactions pattern.
Additional information: link
LittlePony.swapAndLiquify(uint256) (#1091-1130) sends eth to arbitrary user
Dangerous calls:
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-ronePart = rFee.div(_taxFee) (#904)
-_rtotransferrteam_scope_0 = ronePart.mul(transferTeamfee) (#920)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-ronePart = rFee.div(_taxFee) (#904)
-_rtotransferrteam = ronePart.mul(teamDivisor) (#907)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-tonePart = tFee.div(_taxFee) (#905)
-_ttotransferrteam_scope_1 = tonePart.mul(transferTeamfee) (#921)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-tonePart = tFee.div(_taxFee) (#905)
-_ttotransferrteam = tonePart.mul(teamDivisor) (#908)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-ronePart = rFee.div(_taxFee) (#904)
-_rtotransferrburn_scope_2 = ronePart.mul(burnDivisor) (#925)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-ronePart = rFee.div(_taxFee) (#904)
-_rtotransferrburn = ronePart.mul(burnDivisor) (#912)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-tonePart = tFee.div(_taxFee) (#905)
-_ttotransferrburn_scope_3 = tonePart.mul(burnDivisor) (#926)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-tonePart = tFee.div(_taxFee) (#905)
-_ttotransferrburn = tonePart.mul(burnDivisor) (#913)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-ronePart = rFee.div(_taxFee) (#904)
-_rtotransferrcharity = ronePart.mul(charityDivisor) (#930)
LittlePony._reflectFee(uint256,uint256) (#901-942) performs a multiplication on the result of a division:
-tonePart = tFee.div(_taxFee) (#905)
-_ttotransferrcharity = tonePart.mul(charityDivisor) (#931)
LittlePony.swapAndLiquify(uint256) (#1091-1130) performs a multiplication on the result of a division:
-onepartliqudity = contractTokenBalance.div(_liquidityFee) (#1093)
-toliqudity = onepartliqudity.mul(sellliquiduty) (#1094)
LittlePony.swapAndLiquify(uint256) (#1091-1130) performs a multiplication on the result of a division:
-onepartliqudity = contractTokenBalance.div(_liquidityFee) (#1093)
-charitypart = onepartliqudity.mul(charityDivisor) (#1095)
LittlePony.swapAndLiquify(uint256) (#1091-1130) performs a multiplication on the result of a division:
-onepartliqudity = contractTokenBalance.div(_liquidityFee) (#1093)
-markettingpart = onepartliqudity.mul(marketingDivisor) (#1096)
LittlePony.swapAndLiquify(uint256) (#1091-1130) performs a multiplication on the result of a division:
-onepartliqudity = contractTokenBalance.div(_liquidityFee) (#1093)
-ecopart = onepartliqudity.mul(ecosystemDivisor) (#1097)
LittlePony.swapAndLiquify(uint256) (#1091-1130) performs a multiplication on the result of a division:
-onepartliqudity = contractTokenBalance.div(_liquidityFee) (#1093)
-farmspoolpart = onepartliqudity.mul(farmstakingDivisor) (#1098)
LittlePony.swapAndLiquify(uint256) (#1091-1130) performs a multiplication on the result of a division:
-convertbaltoone = newBalance.div(5) (#1112)
-newBalance = newBalance.sub(convertbaltoone.mul(4)) (#1118)
Consider ordering multiplication before division.
Additional information: link
LittlePony.addLiquidity(uint256,uint256) (#1150-1163) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
Ensure that all the return values of the function calls are used.
Additional information: link
LittlePony.allowance(address,address).owner (#776) shadows:
- Ownable.owner() (#410-412) (function)
LittlePony._approve(address,address,uint256).owner (#1028) shadows:
- Ownable.owner() (#410-412) (function)
Rename the local variables that shadow another component.
Additional information: link
LittlePony.setTaxFeePercent(uint256) (#877-880) should emit an event for:
- _taxFee = taxFee (#878)
LittlePony.setLiquidityFeePercent(uint256) (#882-885) should emit an event for:
- _liquidityFee = liquidityFee (#883)
LittlePony.setMaxTxPercent(uint256) (#887-891) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#888-890)
LittlePony.setNumTokensSellToAddToLiquidity(uint256) (#1235-1237) should emit an event for:
- numTokensSellToAddToLiquidity = _selltokenswap (#1236)
LittlePony.setMaxTxAmount(uint256) (#1238-1240) should emit an event for:
- _maxTxAmount = maxTxAmount (#1239)
Emit an event for critical parameter changes.
Additional information: link
LittlePony.setMarketingAddress(address)._marketingAddress (#1216) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1217)
LittlePony.setFoundationAddress(address)._foundation (#1220) lacks a zero-check on :
- foundationAddress = address(_foundation) (#1221)
LittlePony.setAirdropAddress(address)._airdropAddress (#1224) lacks a zero-check on :
- airdropAddress = address(_airdropAddress) (#1225)
LittlePony.setTeamAddress(address)._teamAddress (#1227) lacks a zero-check on :
- teamAddress = address(_teamAddress) (#1228)
LittlePony.setFarmsStakingAddress(address)._farmsstakingAddress (#1231) lacks a zero-check on :
- farmsstakingAddress = address(_farmsstakingAddress) (#1232)
Check that the address is not zero.
Additional information: link
Reentrancy in LittlePony._transfer(address,address,uint256) (#1036-1089):
External calls:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
State variables written after the call(s):
- removeAllFee() (#1084)
- _previousLiquidityFee = _liquidityFee (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _previousLiquidityFee = _liquidityFee (#1013)
- removeAllFee() (#1084)
- _previousTaxFee = _taxFee (#1012)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _previousTaxFee = _taxFee (#1012)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _tFeeTotal = _tFeeTotal.add(tFee) (#940)
- setSellFee() (#1079)
- _taxFee = 9 (#1244)
- setTransferFee() (#1082)
- _taxFee = 4 (#1250)
- removeAllFee() (#1084)
- _taxFee = 0 (#1015)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _taxFee = _previousTaxFee (#1020)
- _taxFee = 0 (#1015)
- setSellFee() (#1079)
- isSell = true (#1243)
- setTransferFee() (#1082)
- isSell = false (#1249)
Reentrancy in LittlePony.constructor() (#733-748):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#738-739)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#744)
- _isExcludedFromFee[address(this)] = true (#745)
- uniswapV2Router = _uniswapV2Router (#741)
Reentrancy in LittlePony.swapAndLiquify(uint256) (#1091-1130):
External calls:
- swapTokensForEth(totalTransBalance) (#1107)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
- addLiquidity(otherHalf,newBalance) (#1120)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
External calls sending eth:
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
- addLiquidity(otherHalf,newBalance) (#1120)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1120)
- _allowances[owner][spender] = amount (#1032)
Reentrancy in LittlePony.transferFrom(address,address,uint256) (#785-789):
External calls:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
External calls sending eth:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#787)
- _allowances[owner][spender] = amount (#1032)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LittlePony._transfer(address,address,uint256) (#1036-1089):
External calls:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
Event emitted after the call(s):
- Transfer(msg.sender,recipient,tamt) (#948)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#1192)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#1212)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#1202)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#866)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
Reentrancy in LittlePony.constructor() (#733-748):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#738-739)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#747)
Reentrancy in LittlePony.swapAndLiquify(uint256) (#1091-1130):
External calls:
- swapTokensForEth(totalTransBalance) (#1107)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
- addLiquidity(otherHalf,newBalance) (#1120)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
External calls sending eth:
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
- addLiquidity(otherHalf,newBalance) (#1120)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1033)
- addLiquidity(otherHalf,newBalance) (#1120)
- SwapAndLiquify(half,newBalance,otherHalf) (#1129)
Reentrancy in LittlePony.transferFrom(address,address,uint256) (#785-789):
External calls:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1141-1147)
External calls sending eth:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1033)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#787)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#264-273) uses assembly
- INLINE ASM (#271)
Address._functionCallWithValue(address,bytes,uint256,string) (#357-378) uses assembly
- INLINE ASM (#370-373)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#357-378) is never used and should be removed
Address.functionCall(address,bytes) (#317-319) is never used and should be removed
Address.functionCall(address,bytes,string) (#327-329) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#342-344) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#352-355) is never used and should be removed
Address.isContract(address) (#264-273) is never used and should be removed
Address.sendValue(address,uint256) (#291-297) is never used and should be removed
Context._msgData() (#236-239) is never used and should be removed
SafeMath.mod(uint256,uint256) (#209-211) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#225-228) is never used and should be removed
Remove unused functions.
Additional information: link
LittlePony._rTotal (#682) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
LittlePony._previousTaxFee (#693) is set pre-construction with a non-constant function or state variable:
- _taxFee
LittlePony._previousLiquidityFee (#696) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#291-297):
- (success) = recipient.call{value: amount}() (#295)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#357-378):
- (success,returndata) = target.call{value: weiValue}(data) (#361)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#482) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#483) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#500) is not in mixedCase
Function IUniswapV2Router01.WETH() (#522) is not in mixedCase
Parameter LittlePony.setSwapAndLiquifyEnabled(bool)._enabled (#893) is not in mixedCase
Parameter LittlePony.calculateTaxFee(uint256)._amount (#997) is not in mixedCase
Parameter LittlePony.calculateLiquidityFee(uint256)._amount (#1003) is not in mixedCase
Parameter LittlePony.setMarketingAddress(address)._marketingAddress (#1216) is not in mixedCase
Parameter LittlePony.setFoundationAddress(address)._foundation (#1220) is not in mixedCase
Parameter LittlePony.setAirdropAddress(address)._airdropAddress (#1224) is not in mixedCase
Parameter LittlePony.setTeamAddress(address)._teamAddress (#1227) is not in mixedCase
Parameter LittlePony.setFarmsStakingAddress(address)._farmsstakingAddress (#1231) is not in mixedCase
Parameter LittlePony.setNumTokensSellToAddToLiquidity(uint256)._selltokenswap (#1235) is not in mixedCase
Variable LittlePony._taxFee (#691) is not in mixedCase
Variable LittlePony._liquidityFee (#695) is not in mixedCase
Variable LittlePony._maxTxAmount (#716) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in LittlePony._transfer(address,address,uint256) (#1036-1089):
External calls:
- swapAndLiquify(contractTokenBalance) (#1067)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1067)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
State variables written after the call(s):
- setSellFee() (#1079)
- _liquidityFee = 6 (#1245)
- setTransferFee() (#1082)
- _liquidityFee = 1 (#1251)
- removeAllFee() (#1084)
- _liquidityFee = 0 (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _liquidityFee = _previousLiquidityFee (#1021)
- _liquidityFee = 0 (#1016)
- removeAllFee() (#1084)
- _previousLiquidityFee = _liquidityFee (#1013)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _previousLiquidityFee = _liquidityFee (#1013)
- removeAllFee() (#1084)
- _previousTaxFee = _taxFee (#1012)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _previousTaxFee = _taxFee (#1012)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _rOwned[recipient] = _rOwned[recipient].add(ramt) (#945)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#992)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1197)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1188)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#861)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1208)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1189)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1199)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1209)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#863)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _rTotal = _rTotal.sub(rFee) (#939)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _tFeeTotal = _tFeeTotal.add(tFee) (#940)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _tOwned[recipient] = _tOwned[recipient].add(tamt) (#947)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#994)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1207)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#860)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1198)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#862)
- setSellFee() (#1079)
- _taxFee = 9 (#1244)
- setTransferFee() (#1082)
- _taxFee = 4 (#1250)
- removeAllFee() (#1084)
- _taxFee = 0 (#1015)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- _taxFee = _previousTaxFee (#1020)
- _taxFee = 0 (#1015)
- setSellFee() (#1079)
- isSell = true (#1243)
- setTransferFee() (#1082)
- isSell = false (#1249)
Event emitted after the call(s):
- Transfer(msg.sender,recipient,tamt) (#948)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#1192)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#1212)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#1202)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
- Transfer(sender,recipient,tTransferAmount) (#866)
- _tokenTransfer(from,to,amount,takeFee) (#1088)
Reentrancy in LittlePony.swapAndLiquify(uint256) (#1091-1130):
External calls:
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
External calls sending eth:
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
- addLiquidity(otherHalf,newBalance) (#1120)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1120)
- _allowances[owner][spender] = amount (#1032)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1033)
- addLiquidity(otherHalf,newBalance) (#1120)
- SwapAndLiquify(half,newBalance,otherHalf) (#1129)
Reentrancy in LittlePony.transferFrom(address,address,uint256) (#785-789):
External calls:
- _transfer(sender,recipient,amount) (#786)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
External calls sending eth:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1155-1162)
- airdropAddress.transfer(convertbaltoone) (#1114)
- farmsstakingAddress.transfer(convertbaltoone) (#1115)
- marketingAddress.transfer(convertbaltoone) (#1116)
- foundationAddress.transfer(convertbaltoone) (#1117)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#787)
- _allowances[owner][spender] = amount (#1032)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1033)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#787)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#527) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#528)
Variable LittlePony._reflectFee(uint256,uint256)._rtotransferrburn (#912) is too similar to LittlePony._reflectFee(uint256,uint256)._ttotransferrburn (#913)
Variable LittlePony._reflectFee(uint256,uint256)._rtotransferrburn_scope_2 (#925) is too similar to LittlePony._reflectFee(uint256,uint256)._ttotransferrburn_scope_3 (#926)
Variable LittlePony._reflectFee(uint256,uint256)._rtotransferrcharity (#930) is too similar to LittlePony._reflectFee(uint256,uint256)._ttotransferrcharity (#931)
Variable LittlePony._reflectFee(uint256,uint256)._rtotransferrteam (#907) is too similar to LittlePony._reflectFee(uint256,uint256)._ttotransferrteam (#908)
Variable LittlePony._reflectFee(uint256,uint256)._rtotransferrteam_scope_0 (#920) is too similar to LittlePony._reflectFee(uint256,uint256)._ttotransferrteam_scope_1 (#921)
Variable LittlePony._getValues(uint256).rTransferAmount (#953) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony._transferBothExcluded(address,address,uint256).rTransferAmount (#859) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony._transferStandard(address,address,uint256).rTransferAmount (#1187) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Variable LittlePony._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#968) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#968) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._transferBothExcluded(address,address,uint256).rTransferAmount (#859) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._transferBothExcluded(address,address,uint256).rTransferAmount (#859) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony._transferStandard(address,address,uint256).rTransferAmount (#1187) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#968) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony._getValues(uint256).rTransferAmount (#953) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony._transferFromExcluded(address,address,uint256).rTransferAmount (#1206) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony._getValues(uint256).rTransferAmount (#953) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._getValues(uint256).rTransferAmount (#953) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony._transferFromExcluded(address,address,uint256).rTransferAmount (#1206) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._transferBothExcluded(address,address,uint256).rTransferAmount (#859) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Variable LittlePony._transferFromExcluded(address,address,uint256).rTransferAmount (#1206) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony._transferToExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#968) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Variable LittlePony._transferToExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony._transferToExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#968) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony._transferStandard(address,address,uint256).rTransferAmount (#1187) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony._getValues(uint256).rTransferAmount (#953) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Variable LittlePony._transferBothExcluded(address,address,uint256).rTransferAmount (#859) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony._transferFromExcluded(address,address,uint256).rTransferAmount (#1206) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Variable LittlePony._getValues(uint256).rTransferAmount (#953) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony._transferToExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Variable LittlePony._transferStandard(address,address,uint256).rTransferAmount (#1187) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony._transferStandard(address,address,uint256).rTransferAmount (#1187) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#968) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony._transferStandard(address,address,uint256).rTransferAmount (#1187) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony.reflectionFromToken(uint256,bool).rTransferAmount (#824) is too similar to LittlePony._transferToExcluded(address,address,uint256).tTransferAmount (#1196)
Variable LittlePony._transferToExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony.reflectionFromToken(uint256,bool).rTransferAmount (#824) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony._transferFromExcluded(address,address,uint256).rTransferAmount (#1206) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony.reflectionFromToken(uint256,bool).rTransferAmount (#824) is too similar to LittlePony._getValues(uint256).tTransferAmount (#952)
Variable LittlePony._transferBothExcluded(address,address,uint256).rTransferAmount (#859) is too similar to LittlePony._transferStandard(address,address,uint256).tTransferAmount (#1187)
Variable LittlePony._transferToExcluded(address,address,uint256).rTransferAmount (#1196) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony.reflectionFromToken(uint256,bool).rTransferAmount (#824) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony._transferFromExcluded(address,address,uint256).rTransferAmount (#1206) is too similar to LittlePony._transferBothExcluded(address,address,uint256).tTransferAmount (#859)
Variable LittlePony.reflectionFromToken(uint256,bool).rTransferAmount (#824) is too similar to LittlePony._getTValues(uint256).tTransferAmount (#960)
Variable LittlePony.reflectionFromToken(uint256,bool).rTransferAmount (#824) is too similar to LittlePony._transferFromExcluded(address,address,uint256).tTransferAmount (#1206)
Prevent variables from having similar names.
Additional information: link
LittlePony.slitherConstructorVariables() (#660-1255) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#673)
LittlePony.slitherConstructorVariables() (#660-1255) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 18 (#681)
LittlePony.slitherConstructorVariables() (#660-1255) uses literals with too many digits:
- _maxTxAmount = 5000000 * 10 ** 18 (#716)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LittlePony._decimals (#687) should be constant
LittlePony._name (#685) should be constant
LittlePony._symbol (#686) should be constant
LittlePony._tTotal (#681) should be constant
LittlePony.burnDivisor (#704) should be constant
LittlePony.charityDivisor (#702) should be constant
LittlePony.ecosystemDivisor (#701) should be constant
LittlePony.farmstakingDivisor (#700) should be constant
LittlePony.marketingDivisor (#703) should be constant
LittlePony.sellliquiduty (#699) should be constant
LittlePony.teamDivisor (#698) should be constant
LittlePony.transferTeamfee (#692) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#429-432)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#438-442)
name() should be declared external:
- LittlePony.name() (#750-752)
symbol() should be declared external:
- LittlePony.symbol() (#754-756)
decimals() should be declared external:
- LittlePony.decimals() (#758-760)
totalSupply() should be declared external:
- LittlePony.totalSupply() (#762-764)
transfer(address,uint256) should be declared external:
- LittlePony.transfer(address,uint256) (#771-774)
allowance(address,address) should be declared external:
- LittlePony.allowance(address,address) (#776-778)
approve(address,uint256) should be declared external:
- LittlePony.approve(address,uint256) (#780-783)
transferFrom(address,address,uint256) should be declared external:
- LittlePony.transferFrom(address,address,uint256) (#785-789)
increaseAllowance(address,uint256) should be declared external:
- LittlePony.increaseAllowance(address,uint256) (#791-794)
decreaseAllowance(address,uint256) should be declared external:
- LittlePony.decreaseAllowance(address,uint256) (#796-799)
isExcludedFromReward(address) should be declared external:
- LittlePony.isExcludedFromReward(address) (#801-803)
totalFees() should be declared external:
- LittlePony.totalFees() (#805-807)
deliver(uint256) should be declared external:
- LittlePony.deliver(uint256) (#809-816)
reflectionFromToken(uint256,bool) should be declared external:
- LittlePony.reflectionFromToken(uint256,bool) (#818-827)
excludeFromReward(address) should be declared external:
- LittlePony.excludeFromReward(address) (#835-844)
excludeFromFee(address) should be declared external:
- LittlePony.excludeFromFee(address) (#869-871)
includeInFee(address) should be declared external:
- LittlePony.includeInFee(address) (#873-875)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LittlePony.setSwapAndLiquifyEnabled(bool) (#893-896)
isExcludedFromFee(address) should be declared external:
- LittlePony.isExcludedFromFee(address) (#1024-1026)
Use the external attribute for functions never called from the contract.
Additional information: link
LittlePony.includeInReward(address) (#846-857) has costly operations inside a loop:
- _excluded.pop() (#853)
Use a local variable to hold the loop computation result.
Additional information: link
Redundant expression "this (#237)" inContext (#231-240)
Remove redundant statements if they congest code but offer no value.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Discord account