Join The Native MetaFi REVOLUTION !!!
NativeFinance app is A complete Multi-Chain MetaFi Financial hub!
No websites, No servers, No middlemen. Just you and your favorite blockchain - The Native Way!
Web DApp + Android Native DApp + iOS Native DApp!
NativeFinance helps you make the most of your crypto in various ways:
Trade with Super-Swap best price, Auto limits, Earn with Native Farms and Power Pool, Play and more!
Join the revolution now!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
NativeFinanceToken._writeCheckpoint(address,uint32,uint256,uint256) (#1353-1371) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1363)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Redundant expression "this (#26)" inContext (#16-29)
Remove redundant statements if they congest code but offer no value.
Additional information: link
BEP20.constructor(string,string).name (#613) shadows:
- BEP20.name() (#629-631) (function)
- IBEP20.name() (#142) (function)
BEP20.constructor(string,string).symbol (#613) shadows:
- BEP20.symbol() (#643-645) (function)
- IBEP20.symbol() (#137) (function)
BEP20.allowance(address,address).owner (#677) shadows:
- Ownable.owner() (#65-67) (function)
BEP20._approve(address,address,uint256).owner (#882) shadows:
- Ownable.owner() (#65-67) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in NativeFinanceToken.constructor() (#1114-1131):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1121-1122)
State variables written after the call(s):
- mint(excluderWallet,500000000000000000000000000) (#1129)
- _balances[account] = _balances[account].add(amount) (#841)
- excludeFromFees(excluderWallet,true) (#1127)
- _isExcludedFromFees[account] = excluded (#1173)
- mint(excluderWallet,500000000000000000000000000) (#1129)
- _totalSupply = _totalSupply.add(amount) (#840)
- mint(excluderWallet,500000000000000000000000000) (#1129)
- checkpoints[delegatee][nCheckpoints - 1].votes = newVotes (#1364)
- checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber,newVotes) (#1366)
- mint(excluderWallet,500000000000000000000000000) (#1129)
- numCheckpoints[delegatee] = nCheckpoints + 1 (#1367)
- uniswapV2Pair = _uniswapV2Pair (#1125)
- uniswapV2Router = _uniswapV2Router (#1124)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in NativeFinanceToken.constructor() (#1114-1131):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1121-1122)
Event emitted after the call(s):
- DelegateVotesChanged(delegatee,oldVotes,newVotes) (#1370)
- mint(excluderWallet,500000000000000000000000000) (#1129)
- ExcludeFromFees(account,excluded) (#1174)
- excludeFromFees(excluderWallet,true) (#1127)
- Transfer(address(0),account,amount) (#842)
- mint(excluderWallet,500000000000000000000000000) (#1129)
Apply the check-effects-interactions pattern.
Additional information: link
NativeFinanceToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1219-1260) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,NTF::delegateBySig: signature expired) (#1258)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#427-438) uses assembly
- INLINE ASM (#434-436)
Address._functionCallWithValue(address,bytes,uint256,string) (#535-561) uses assembly
- INLINE ASM (#553-556)
NativeFinanceToken.getChainId() (#1378-1382) uses assembly
- INLINE ASM (#1380)
Do not use evm assembly.
Additional information: link
Ownable.onlyOwners() (#80-83) compares to a boolean constant:
-require(bool,string)(_isOwner[_msgSender()] == true,Ownable: caller is not one of the owners) (#81)
Remove the equality to the boolean constant.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#535-561) is never used and should be removed
Address.functionCall(address,bytes) (#482-484) is never used and should be removed
Address.functionCall(address,bytes,string) (#492-498) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#511-517) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#525-533) is never used and should be removed
Address.isContract(address) (#427-438) is never used and should be removed
Address.sendValue(address,uint256) (#456-462) is never used and should be removed
BEP20._burnFrom(address,uint256) (#899-906) is never used and should be removed
Context._msgData() (#25-28) is never used and should be removed
SafeMath.min(uint256,uint256) (#386-388) is never used and should be removed
SafeMath.mod(uint256,uint256) (#361-363) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#377-384) is never used and should be removed
SafeMath.sqrt(uint256) (#391-402) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#456-462):
- (success) = recipient.call{value: amount}() (#460)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#535-561):
- (success,returndata) = target.call{value: weiValue}(data) (#544)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#913) is not in mixedCase
Parameter NativeFinanceToken.mint(address,uint256)._to (#1135) is not in mixedCase
Parameter NativeFinanceToken.mint(address,uint256)._amount (#1135) is not in mixedCase
Variable NativeFinanceToken._delegates (#1085) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#918) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#919)
Prevent variables from having similar names.
Additional information: link
NativeFinanceToken.constructor() (#1114-1131) uses literals with too many digits:
- mint(excluderWallet,500000000000000000000000000) (#1129)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
NativeFinanceToken.burnFee (#1077) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#92-95)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#101-103)
setOwner(address,bool) should be declared external:
- Ownable.setOwner(address,bool) (#105-110)
decimals() should be declared external:
- BEP20.decimals() (#636-638)
symbol() should be declared external:
- BEP20.symbol() (#643-645)
totalSupply() should be declared external:
- BEP20.totalSupply() (#650-652)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#669-672)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#677-679)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#688-691)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#705-717)
transferFromNoBurn(address,address,uint256) should be declared external:
- BEP20.transferFromNoBurn(address,address,uint256) (#733-745)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#759-762)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#778-785)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#795-798)
burn(address,uint256) should be declared external:
- BEP20.burn(address,uint256) (#864-866)
toggleShouldBurn() should be declared external:
- NativeFinanceToken.toggleShouldBurn() (#1161-1168)
isExcludedFromFees(address) should be declared external:
- NativeFinanceToken.isExcludedFromFees(address) (#1177-1179)
updateExcluder(address) should be declared external:
- NativeFinanceToken.updateExcluder(address) (#1181-1188)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to find KYC or doxxing proof
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link 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
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
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
Twitter account has less than 100 followers
Unable to find Discord account