Rock Paper Scissors Token Logo

RPST [Rock Paper Scissors] Token

About RPST

Listings

Token 2 years
white paper

Rock Paper Scissors Token brings to BSC the first 1v1 Rock Paper Scissors game, where you can play real money games of rock paper scissors with verifiable outcomes on the blockchain.
Winners are paid 2x the amount they bet in RPS Token and most of the BNB used for betting is used for development and primarily to buyback the token pushing the price higher.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

RPSTOKEN.swapBack() (#607-632) sends eth to arbitrary user
Dangerous calls:
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#629)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#630)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in RPSTOKEN._transferFrom(address,address,uint256) (#508-540):
External calls:
- swapBack() (#513)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#616-622)
- distributor.deposit{value: amountBNBReflection}() (#628)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#629)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#630)
- triggerAutoBuyback() (#514)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#675-680)
- distributor.removeShare(sender) (#521)
External calls sending eth:
- swapBack() (#513)
- distributor.deposit{value: amountBNBReflection}() (#628)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#629)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#630)
- triggerAutoBuyback() (#514)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#675-680)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#528)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#531)
- amountReceived = takeFee(sender,recipient,amount) (#530)
- _balances[gameContract] = _balances[gameContract].add(gameTokens) (#593)
- _balances[address(this)] = _balances[address(this)].add(feeAmount).sub(gameTokens) (#594)
Apply the check-effects-interactions pattern.

Additional information: link

RPSTOKEN.rescueToken(address,address) (#784-786) ignores return value by IBEP20(token).transfer(to,IBEP20(token).balanceOf(address(this))) (#785)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

RPSTOKEN.takeFee(address,address,uint256) (#589-598) performs a multiplication on the result of a division:
-feeAmount = amount.mul(getTotalFee(receiver == pair)).div(feeDenominator) (#590)
-gameTokens = feeAmount.mul(gameFee).div(totalFee) (#591)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#262-276):
External calls:
- distributeDividend(shareholder) (#264)
- rewardsToken.transfer(shareholder,amount) (#335)
State variables written after the call(s):
- shares[shareholder].amount = amount (#274)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#275)
Apply the check-effects-interactions pattern.

Additional information: link

RPSTOKEN.setSwapBackSettings(bool,uint256) (#754-757) should emit an event for:
- swapThreshold = _amount (#756)
Emit an event for critical parameter changes.

Additional information: link

RPSTOKEN.setDevFeeReceiver(address)._devFeeReceiver (#750) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#751)
Check that the address is not zero.

Additional information: link

RPSTOKEN.multiTransfer(address,address[],uint256[]) (#788-812) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],balanceOf(addresses[i_scope_0])) (#804)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in RPSTOKEN.triggerManualBuyback(uint256,bool) (#642-648):
External calls:
- buyTokens(amount,DEAD) (#643)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#675-680)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#645)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RPSTOKEN.triggerManualBuyback(uint256,bool) (#642-648):
External calls:
- buyTokens(amount,DEAD) (#643)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#675-680)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#646)
Apply the check-effects-interactions pattern.

Additional information: link

RPSTOKEN.multiTransfer(address,address[],uint256[]) (#788-812) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(balanceOf(from) >= totalAirdropTokens,Not enough tokens in wallet) (#799)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#298-322) has costly operations inside a loop:
- currentIndex ++ (#319)
Use a local variable to hold the loop computation result.

Additional information: link

RPSTOKEN.swapThreshold (#445) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000
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

solc-0.8.6 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Low level call in RPSTOKEN.swapBack() (#607-632):
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#629)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#630)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable RPSTOKEN._allowances (#401) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#151) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#152)
Prevent variables from having similar names.

Additional information: link

RPSTOKEN.slitherConstructorVariables() (#385-829) uses literals with too many digits:
- maxGasPrice = 10000000000 (#449)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

RPSTOKEN.maxGasPrice (#449) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getCirculatingSupply() should be declared external:
- RPSTOKEN.getCirculatingSupply() (#823-825)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to find audit 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 scam / price dump / death


Token has no active CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for RPST