WapSwap has potentially created entirely new Cross-Chain Swapping Protocol
An ecosystem of financial applications that is built on the top blockchain networks.
-DApp WapSwap run on a P2P network of computers rather than central computer.
-Smart Contracts Digital Agreements that intermediate the exchange of cryptocurrencies (or any other digital asset) between two parties.
-Safe & Secure Audited by respected industry professionals like CertiK whose job it is to understand security vulnerabilities of the platform.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
WAPSWAP._takeFee(uint256) (#835-840) ignores return value by _xcs.transferFrom(_msgSender(),FEE_ADDRESS,_fee) (#838)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#307-313):
- (success) = recipient.call{value: amount}() (#311)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#386-412):
- (success,returndata) = target.call{value: weiValue}(data) (#395)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Contract WAPSWAP_Interface (#559-709) is not in CapWords
Function WAPSWAP_Interface._burnFrom(address,uint256) (#694-697) is not in mixedCase
Variable WAPSWAP_Interface._allReferrals (#564) is not in mixedCase
Parameter WAPSWAP.setMinToSwap(uint256)._min (#785) is not in mixedCase
Parameter WAPSWAP.setEncoder(address)._encoder (#790) is not in mixedCase
Parameter WAPSWAP.setDecoder(address)._decoder (#796) is not in mixedCase
Parameter WAPSWAP.addSupportedChain(string)._chain (#802) is not in mixedCase
Parameter WAPSWAP.deleteChain(uint256)._idx (#806) is not in mixedCase
Parameter WAPSWAP.changeFeeAddress(address)._feeAddress (#810) is not in mixedCase
Parameter WAPSWAP.initReferral(address)._referrer (#816) is not in mixedCase
Parameter WAPSWAP.changeSwapFee(uint256)._fee (#820) is not in mixedCase
Parameter WAPSWAP.swapToChain(string,uint256,string)._amount (#842) is not in mixedCase
Parameter WAPSWAP.swapToChain(string,uint256,string)._anotherChainAddress (#842) is not in mixedCase
Parameter WAPSWAP.getAllSwaps(address)._swapper (#862) is not in mixedCase
Parameter WAPSWAP.getAllClaims(address)._claimer (#866) is not in mixedCase
Parameter WAPSWAP.validChain(string)._chain (#874) is not in mixedCase
Parameter WAPSWAP.parseAddr(string)._a (#884) is not in mixedCase
Parameter WAPSWAP.claimFromChainData(bytes)._data (#912) is not in mixedCase
Variable WAPSWAP._crossSwapFee (#747) is not in mixedCase
Variable WAPSWAP.MIN_AMOUNT_TO_SWAP (#748) is not in mixedCase
Variable WAPSWAP.SUPPORTED_CHAINS (#750) is not in mixedCase
Variable WAPSWAP.FEE_ADDRESS (#751) is not in mixedCase
Variable WAPSWAP.FEE_SETTER (#752) is not in mixedCase
Variable WAPSWAP._xcs (#754) is not in mixedCase
Variable WAPSWAP._crossSwapper (#755) is not in mixedCase
Variable WAPSWAP._crossSwaps (#756) is not in mixedCase
Variable WAPSWAP._crossClaimer (#757) is not in mixedCase
Variable WAPSWAP._crossClaims (#758) is not in mixedCase
Variable WAPSWAP._allCross (#759) is not in mixedCase
Variable WAPSWAP._allClaims (#760) is not in mixedCase
Variable WAPSWAP._distributed (#766) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#119)" inContext (#109-122)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable WAPSWAP.FEE_ADDRESS (#751) is too similar to WAPSWAP.changeFeeAddress(address)._feeAddress (#810)
Prevent variables from having similar names.
Additional information: link
WAPSWAP.validChain(string).i (#875) 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
WAPSWAP_Interface.allowance(address,address).owner (#612) shadows:
- Ownable.owner() (#432-434) (function)
WAPSWAP_Interface.referrer(address).owner (#616) shadows:
- Ownable.owner() (#432-434) (function)
WAPSWAP_Interface.getReferrals(address).owner (#620) shadows:
- Ownable.owner() (#432-434) (function)
WAPSWAP_Interface._setReferrer(address,address).owner (#624) shadows:
- Ownable.owner() (#432-434) (function)
WAPSWAP_Interface._approve(address,address,uint256).owner (#686) shadows:
- Ownable.owner() (#432-434) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in WAPSWAP.swapToChain(string,uint256,string) (#842-860):
External calls:
- getAmount = _takeFee(_amount) (#846)
- _xcs.transferFrom(_msgSender(),FEE_ADDRESS,_fee) (#838)
State variables written after the call(s):
- _allCross[msg.sender] = _allCross[msg.sender] + 1 (#858)
- taken = _takeAmount(getAmount) (#847)
- _balances[account] = _balances[account].sub(amount,BEP20: burn amount exceeds balance) (#681)
- _crossSwapper[msg.sender][block.number] = CrossChainSwap(msg.sender,chain,getAmount,IEncoder(encoder).encrypt(chain,getAmount,msg.sender,),block.timestamp,) (#849-856)
- _crossSwapper[msg.sender][block.number] = CrossChainSwap(msg.sender,chain,getAmount,IEncoder(encoder).encrypt(chain,getAmount,msg.sender,_anotherChainAddress),block.timestamp,) (#849-856)
- _crossSwapper[msg.sender][block.number] = CrossChainSwap(address(0),chain,getAmount,IEncoder(encoder).encrypt(chain,getAmount,msg.sender,),block.timestamp,_anotherChainAddress) (#849-856)
- _crossSwapper[msg.sender][block.number] = CrossChainSwap(address(0),chain,getAmount,IEncoder(encoder).encrypt(chain,getAmount,msg.sender,_anotherChainAddress),block.timestamp,_anotherChainAddress) (#849-856)
- _crossSwaps[msg.sender].push(block.number) (#857)
- taken = _takeAmount(getAmount) (#847)
- _totalSupply = _totalSupply.sub(amount) (#682)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in WAPSWAP.swapToChain(string,uint256,string) (#842-860):
External calls:
- getAmount = _takeFee(_amount) (#846)
- _xcs.transferFrom(_msgSender(),FEE_ADDRESS,_fee) (#838)
Event emitted after the call(s):
- Transfer(account,address(0),amount) (#683)
- taken = _takeAmount(getAmount) (#847)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#278-289) uses assembly
- INLINE ASM (#285-287)
Address._functionCallWithValue(address,bytes,uint256,string) (#386-412) uses assembly
- INLINE ASM (#404-407)
WAPSWAP_Interface._isContract(address) (#702-708) uses assembly
- INLINE ASM (#704-706)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#386-412) is never used and should be removed
Address.functionCall(address,bytes) (#333-335) is never used and should be removed
Address.functionCall(address,bytes,string) (#343-349) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#362-368) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#376-384) is never used and should be removed
Address.isContract(address) (#278-289) is never used and should be removed
Address.sendValue(address,uint256) (#307-313) is never used and should be removed
Context._msgData() (#118-121) is never used and should be removed
SafeBEP20._callOptionalReturn(IBEP20,bytes) (#545-556) is never used and should be removed
SafeBEP20.safeApprove(IBEP20,address,uint256) (#502-516) is never used and should be removed
SafeBEP20.safeDecreaseAllowance(IBEP20,address,uint256) (#527-537) is never used and should be removed
SafeBEP20.safeIncreaseAllowance(IBEP20,address,uint256) (#518-525) is never used and should be removed
SafeBEP20.safeTransfer(IBEP20,address,uint256) (#478-484) is never used and should be removed
SafeBEP20.safeTransferFrom(IBEP20,address,address,uint256) (#486-493) is never used and should be removed
SafeMath.mod(uint256,uint256) (#239-241) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#254-257) is never used and should be removed
Remove unused functions.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token has only one trading pair
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts