A digital, decentralized Delivery platform aiming to connect restaurants, consumers and delivery riders using a simple online interface ran for the first time ever on the Binance Smart Chain.
https://t.me/RideFinance
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in RideFi._transfer(address,address,uint256) (#772-861):
External calls:
- swapAndLiquify(contractTokenBalance) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#838)
- wallet.transfer(amount) (#877)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#981)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#982)
- _tOwned[address(this)] = _tOwned[address(this)].add(tDev) (#983)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- txCount ++ (#970)
Apply the check-effects-interactions pattern.
Additional information: link
RideFi.Wallet_Update_Dev(address).wallet (#603) lacks a zero-check on :
- Wallet_Dev = wallet (#604)
RideFi.set_New_Pair_Address(address).newPair (#953) lacks a zero-check on :
- uniswapV2Pair = newPair (#954)
Check that the address is not zero.
Additional information: link
RideFi.blacklist_Remove_Wallets(address[]).gasUsed (#665) is a local variable never initialized
RideFi.blacklist_Remove_Wallets(address[]).i (#667) is a local variable never initialized
RideFi.blacklist_Add_Wallets(address[]).i (#649) is a local variable never initialized
RideFi.blacklist_Add_Wallets(address[]).gasUsed (#647) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
RideFi.allowance(address,address).owner (#530) shadows:
- Ownable.owner() (#158-160) (function)
RideFi._approve(address,address,uint256).owner (#764) shadows:
- Ownable.owner() (#158-160) (function)
Rename the local variables that shadow another component.
Additional information: link
RideFi._set_Fees(uint256,uint256) (#592-598) should emit an event for:
- _sellFee = Sell_Fee (#595)
- _buyFee = Buy_Fee (#596)
RideFi.set_Number_Of_Transactions_Before_Liquify_Trigger(uint8) (#622-624) should emit an event for:
- swapTrigger = number_of_transactions (#623)
RideFi.set_Max_Transaction_Percent(uint256) (#728-730) should emit an event for:
- _maxTxAmount = _tTotal * maxTxPercent_x100 / 10000 (#729)
RideFi.set_Max_Wallet_Percent(uint256) (#733-735) should emit an event for:
- _maxWalletToken = _tTotal * maxWallPercent_x100 / 10000 (#734)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in RideFi._transfer(address,address,uint256) (#772-861):
External calls:
- swapAndLiquify(contractTokenBalance) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#838)
- wallet.transfer(amount) (#877)
State variables written after the call(s):
- _TotalFee = _buyFee (#858)
- _TotalFee = _sellFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _TotalFee = _previousTotalFee (#756)
- _TotalFee = 0 (#749)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _buyFee = _previousBuyFee (#757)
- _buyFee = 0 (#747)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _previousBuyFee = _buyFee (#744)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _previousSellFee = _sellFee (#745)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _previousTotalFee = _TotalFee (#746)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _sellFee = _previousSellFee (#758)
- _sellFee = 0 (#748)
Reentrancy in RideFi.constructor() (#481-496):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#488-489)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#491)
- _isExcludedFromFee[address(this)] = true (#492)
- _isExcludedFromFee[Wallet_Dev] = true (#493)
- uniswapV2Router = _uniswapV2Router (#490)
Reentrancy in RideFi.set_New_Router_and_Make_Pair(address) (#940-944):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newPCSRouter.factory()).createPair(address(this),_newPCSRouter.WETH()) (#942)
State variables written after the call(s):
- uniswapV2Router = _newPCSRouter (#943)
Reentrancy in RideFi.transferFrom(address,address,uint256) (#539-543):
External calls:
- _transfer(sender,recipient,amount) (#540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- _transfer(sender,recipient,amount) (#540)
- wallet.transfer(amount) (#877)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#541)
- _allowances[owner][spender] = amount (#767)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RideFi._transfer(address,address,uint256) (#772-861):
External calls:
- swapAndLiquify(contractTokenBalance) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#838)
- wallet.transfer(amount) (#877)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#984)
- _tokenTransfer(from,to,amount,takeFee) (#860)
Reentrancy in RideFi.constructor() (#481-496):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#488-489)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#495)
Reentrancy in RideFi.transferFrom(address,address,uint256) (#539-543):
External calls:
- _transfer(sender,recipient,amount) (#540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#908-914)
External calls sending eth:
- _transfer(sender,recipient,amount) (#540)
- wallet.transfer(amount) (#877)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#768)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#541)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#78-82) uses assembly
- INLINE ASM (#80)
Address._verifyCallResult(bool,bytes,string) (#130-143) uses assembly
- INLINE ASM (#135-138)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#130-143) is never used and should be removed
Address.functionCall(address,bytes) (#90-92) is never used and should be removed
Address.functionCall(address,bytes,string) (#94-96) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#98-100) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#102-107) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#120-122) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#124-128) is never used and should be removed
Address.functionStaticCall(address,bytes) (#109-111) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#113-117) is never used and should be removed
Address.isContract(address) (#78-82) is never used and should be removed
Address.sendValue(address,uint256) (#84-88) is never used and should be removed
Context._msgData() (#69-72) is never used and should be removed
SafeMath.div(uint256,uint256) (#42-44) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#53-58) is never used and should be removed
SafeMath.mul(uint256,uint256) (#38-40) is never used and should be removed
Remove unused functions.
Additional information: link
RideFi._previousTotalFee (#427) is set pre-construction with a non-constant function or state variable:
- _TotalFee
RideFi._previousBuyFee (#428) is set pre-construction with a non-constant function or state variable:
- _buyFee
RideFi._previousSellFee (#429) is set pre-construction with a non-constant function or state variable:
- _sellFee
RideFi._maxWalletToken (#438) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(4).div(100)
RideFi._previousMaxWalletToken (#439) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
RideFi._maxTxAmount (#443) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(4).div(100)
RideFi._previousMaxTxAmount (#444) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
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) (#84-88):
- (success) = recipient.call{value: amount}() (#86)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#102-107):
- (success,returndata) = target.call{value: value}(data) (#105)
Low level call in Address.functionStaticCall(address,bytes,string) (#113-117):
- (success,returndata) = target.staticcall(data) (#115)
Low level call in Address.functionDelegateCall(address,bytes,string) (#124-128):
- (success,returndata) = target.delegatecall(data) (#126)
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() (#206) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#207) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#220) is not in mixedCase
Function IUniswapV2Router01.WETH() (#237) is not in mixedCase
Function RideFi._set_Fees(uint256,uint256) (#592-598) is not in mixedCase
Parameter RideFi._set_Fees(uint256,uint256).Buy_Fee (#592) is not in mixedCase
Parameter RideFi._set_Fees(uint256,uint256).Sell_Fee (#592) is not in mixedCase
Function RideFi.Wallet_Update_Dev(address) (#603-606) is not in mixedCase
Function RideFi.set_Swap_And_Liquify_Enabled(bool) (#616-619) is not in mixedCase
Parameter RideFi.set_Swap_And_Liquify_Enabled(bool).true_or_false (#616) is not in mixedCase
Function RideFi.set_Number_Of_Transactions_Before_Liquify_Trigger(uint8) (#622-624) is not in mixedCase
Parameter RideFi.set_Number_Of_Transactions_Before_Liquify_Trigger(uint8).number_of_transactions (#622) is not in mixedCase
Function RideFi.blacklist_Add_Wallets(address[]) (#644-657) is not in mixedCase
Function RideFi.blacklist_Remove_Wallets(address[]) (#662-675) is not in mixedCase
Function RideFi.blacklist_Switch(bool) (#689-691) is not in mixedCase
Parameter RideFi.blacklist_Switch(bool).true_or_false (#689) is not in mixedCase
Function RideFi.set_Transfers_Without_Fees(bool) (#706-708) is not in mixedCase
Parameter RideFi.set_Transfers_Without_Fees(bool).true_or_false (#706) is not in mixedCase
Function RideFi.set_Max_Transaction_Percent(uint256) (#728-730) is not in mixedCase
Parameter RideFi.set_Max_Transaction_Percent(uint256).maxTxPercent_x100 (#728) is not in mixedCase
Function RideFi.set_Max_Wallet_Percent(uint256) (#733-735) is not in mixedCase
Parameter RideFi.set_Max_Wallet_Percent(uint256).maxWallPercent_x100 (#733) is not in mixedCase
Function RideFi.process_Tokens_Now(uint256) (#891-898) is not in mixedCase
Parameter RideFi.process_Tokens_Now(uint256).percent_Of_Tokens_To_Process (#891) is not in mixedCase
Function RideFi.remove_Random_Tokens(address,address,uint256) (#924-929) is not in mixedCase
Parameter RideFi.remove_Random_Tokens(address,address,uint256).random_Token_Address (#924) is not in mixedCase
Parameter RideFi.remove_Random_Tokens(address,address,uint256).send_to_wallet (#924) is not in mixedCase
Parameter RideFi.remove_Random_Tokens(address,address,uint256).number_of_tokens (#924) is not in mixedCase
Function RideFi.set_New_Router_and_Make_Pair(address) (#940-944) is not in mixedCase
Function RideFi.set_New_Router_Address(address) (#947-950) is not in mixedCase
Function RideFi.set_New_Pair_Address(address) (#953-955) is not in mixedCase
Variable RideFi._isExcludedFromFee (#378) is not in mixedCase
Variable RideFi._isBlacklisted (#381) is not in mixedCase
Variable RideFi.Wallet_Dev (#393) is not in mixedCase
Variable RideFi.Wallet_Burn (#394) is not in mixedCase
Variable RideFi.Wallet_zero (#395) is not in mixedCase
Variable RideFi._TotalFee (#421) is not in mixedCase
Variable RideFi._buyFee (#422) is not in mixedCase
Variable RideFi._sellFee (#423) is not in mixedCase
Variable RideFi._maxWalletToken (#438) is not in mixedCase
Variable RideFi._maxTxAmount (#443) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#70)" inContext (#64-73)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in RideFi._transfer(address,address,uint256) (#772-861):
External calls:
- swapAndLiquify(contractTokenBalance) (#838)
- wallet.transfer(amount) (#877)
State variables written after the call(s):
- _TotalFee = _buyFee (#858)
- _TotalFee = _sellFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _TotalFee = _previousTotalFee (#756)
- _TotalFee = 0 (#749)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _buyFee = _previousBuyFee (#757)
- _buyFee = 0 (#747)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _previousBuyFee = _buyFee (#744)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _previousSellFee = _sellFee (#745)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _previousTotalFee = _TotalFee (#746)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _sellFee = _previousSellFee (#758)
- _sellFee = 0 (#748)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#981)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#982)
- _tOwned[address(this)] = _tOwned[address(this)].add(tDev) (#983)
- _tokenTransfer(from,to,amount,takeFee) (#860)
- txCount ++ (#970)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#984)
- _tokenTransfer(from,to,amount,takeFee) (#860)
Reentrancy in RideFi.transferFrom(address,address,uint256) (#539-543):
External calls:
- _transfer(sender,recipient,amount) (#540)
- wallet.transfer(amount) (#877)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#541)
- _allowances[owner][spender] = amount (#767)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#768)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#541)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#241) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#242)
Prevent variables from having similar names.
Additional information: link
RideFi.slitherConstructorVariables() (#370-1001) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#394)
RideFi.slitherConstructorVariables() (#370-1001) uses literals with too many digits:
- Wallet_zero = address(0x0000000000000000000000000000000000000000) (#395)
RideFi.slitherConstructorVariables() (#370-1001) uses literals with too many digits:
- _tTotal = 50000000 * 10 ** 18 (#408)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RideFi.Wallet_zero (#395) is never used in RideFi (#370-1001)
RideFi._tFeeTotal (#409) is never used in RideFi (#370-1001)
RideFi._previousMaxWalletToken (#439) is never used in RideFi (#370-1001)
RideFi._previousMaxTxAmount (#444) is never used in RideFi (#370-1001)
Remove unused state variables.
Additional information: link
RideFi.Wallet_Burn (#394) should be constant
RideFi.Wallet_zero (#395) should be constant
RideFi._decimals (#407) should be constant
RideFi._name (#405) should be constant
RideFi._symbol (#406) should be constant
RideFi._tFeeTotal (#409) should be constant
RideFi._tTotal (#408) should be constant
RideFi.maxPossibleFee (#417) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#169-172)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#175-179)
name() should be declared external:
- RideFi.name() (#505-507)
symbol() should be declared external:
- RideFi.symbol() (#509-511)
decimals() should be declared external:
- RideFi.decimals() (#513-515)
totalSupply() should be declared external:
- RideFi.totalSupply() (#517-519)
transfer(address,uint256) should be declared external:
- RideFi.transfer(address,uint256) (#525-528)
allowance(address,address) should be declared external:
- RideFi.allowance(address,address) (#530-532)
approve(address,uint256) should be declared external:
- RideFi.approve(address,uint256) (#534-537)
transferFrom(address,address,uint256) should be declared external:
- RideFi.transferFrom(address,address,uint256) (#539-543)
increaseAllowance(address,uint256) should be declared external:
- RideFi.increaseAllowance(address,uint256) (#545-548)
decreaseAllowance(address,uint256) should be declared external:
- RideFi.decreaseAllowance(address,uint256) (#550-553)
excludeFromFee(address) should be declared external:
- RideFi.excludeFromFee(address) (#572-574)
includeInFee(address) should be declared external:
- RideFi.includeInFee(address) (#577-579)
Wallet_Update_Dev(address) should be declared external:
- RideFi.Wallet_Update_Dev(address) (#603-606)
set_Swap_And_Liquify_Enabled(bool) should be declared external:
- RideFi.set_Swap_And_Liquify_Enabled(bool) (#616-619)
set_Number_Of_Transactions_Before_Liquify_Trigger(uint8) should be declared external:
- RideFi.set_Number_Of_Transactions_Before_Liquify_Trigger(uint8) (#622-624)
blacklist_Switch(bool) should be declared external:
- RideFi.blacklist_Switch(bool) (#689-691)
process_Tokens_Now(uint256) should be declared external:
- RideFi.process_Tokens_Now(uint256) (#891-898)
set_New_Router_and_Make_Pair(address) should be declared external:
- RideFi.set_New_Router_and_Make_Pair(address) (#940-944)
set_New_Router_Address(address) should be declared external:
- RideFi.set_New_Router_Address(address) (#947-950)
set_New_Pair_Address(address) should be declared external:
- RideFi.set_New_Pair_Address(address) (#953-955)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has less than 100 subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account