Ran x Crypto is a Play-to-Earn Private Server that integrates cryptocurrency in RAN on Binance Smart Chain. The cryptocurrency mechanics is heavily inspired by NFT games published as the moment.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RxcToken.inCaseTokensGetStuck(IBEP20,address) (#1059-1062) ignores return value by token.transfer(to,balance) (#1061)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
RxcToken.allowance(address,address).owner (#786) shadows:
- Ownable.owner() (#421-423) (function)
RxcToken._approve(address,address,uint256).owner (#1048) shadows:
- Ownable.owner() (#421-423) (function)
Rename the local variables that shadow another component.
Additional information: link
RxcToken.setTransactionFee(uint256) (#1067-1070) should emit an event for:
- _transactionFee = newTransactionFee (#1069)
Emit an event for critical parameter changes.
Additional information: link
RxcToken.constructor(uint256,uint256,address,address,address,address)._operationsAddress (#583) lacks a zero-check on :
- operationsAddress = _operationsAddress (#595)
RxcToken.constructor(uint256,uint256,address,address,address,address)._developersAddress (#584) lacks a zero-check on :
- developersAddress = _developersAddress (#596)
RxcToken.constructor(uint256,uint256,address,address,address,address)._marketingAddress (#585) lacks a zero-check on :
- marketingAddress = _marketingAddress (#597)
RxcToken.constructor(uint256,uint256,address,address,address,address)._treasuryAddress (#586) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (#598)
RxcToken.setOperationsAddress(address)._operationsAddress (#663) lacks a zero-check on :
- operationsAddress = _operationsAddress (#667)
RxcToken.setDevelopersAddress(address)._developersAddress (#670) lacks a zero-check on :
- developersAddress = _developersAddress (#674)
RxcToken.setMarketingAddress(address)._marketingAddress (#678) lacks a zero-check on :
- marketingAddress = _marketingAddress (#682)
RxcToken.setTreasuryAddress(address)._treasuryAddress (#685) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (#689)
Check that the address is not zero.
Additional information: link
Reentrancy in RxcToken._transfer(address,address,uint256) (#907-929):
External calls:
- BP.protect(sender,recipient,amount) (#913)
State variables written after the call(s):
- _transferRegular(sender,recipient,amount) (#921)
- _balances[operationsAddress] = _balances[operationsAddress].add(transactionFee.mul(_operationsFee).div(100)) (#1007)
- _balances[sender] = _balances[sender].sub(amount,insuff balance) (#970)
- _balances[developersAddress] = _balances[developersAddress].add(transactionFee.mul(_developerFee).div(100)) (#1008)
- _balances[marketingAddress] = _balances[marketingAddress].add(transactionFee.mul(_marketingFee).div(100)) (#1009)
- _balances[treasuryAddress] = _balances[treasuryAddress].add(transactionFee.mul(_treasuryFee).div(100)) (#1010)
- _balances[recipient] = _balances[recipient].add(toRecipient) (#972)
- _transferSpecialSender(sender,recipient,amount) (#923)
- _balances[sender] = _balances[sender].sub(amount,insuff balance) (#948)
- _balances[recipient] = _balances[recipient].add(amount) (#949)
- _transferRegular(sender,recipient,amount) (#925)
- _balances[operationsAddress] = _balances[operationsAddress].add(transactionFee.mul(_operationsFee).div(100)) (#1007)
- _balances[sender] = _balances[sender].sub(amount,insuff balance) (#970)
- _balances[developersAddress] = _balances[developersAddress].add(transactionFee.mul(_developerFee).div(100)) (#1008)
- _balances[marketingAddress] = _balances[marketingAddress].add(transactionFee.mul(_marketingFee).div(100)) (#1009)
- _balances[treasuryAddress] = _balances[treasuryAddress].add(transactionFee.mul(_treasuryFee).div(100)) (#1010)
- _balances[recipient] = _balances[recipient].add(toRecipient) (#972)
- _transferSpecialBoth(sender,recipient,amount) (#927)
- _balances[sender] = _balances[sender].sub(amount,insuff balance) (#937)
- _balances[recipient] = _balances[recipient].add(amount) (#938)
Reentrancy in RxcToken.constructor(uint256,uint256,address,address,address,address) (#580-620):
External calls:
- pancakeswapV2Pair = IPancakeFactory(0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73).createPair(address(this),address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c)) (#606-607)
State variables written after the call(s):
- _balances[msg.sender] = _totalSupply (#617)
- _developerFee = 25 (#610)
- _marketingFee = 25 (#613)
- _operationsFee = 25 (#612)
- _transactionFee = transactionFee (#609)
- _treasuryFee = 25 (#611)
- allowBlacklistingUntil = block.timestamp + 172800 (#615)
Reentrancy in RxcToken.transferFrom(address,address,uint256) (#823-838):
External calls:
- _transfer(sender,recipient,amount) (#828)
- BP.protect(sender,recipient,amount) (#913)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,insufficient allowance)) (#829-836)
- _allowances[owner][spender] = amount (#1055)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RxcToken._transfer(address,address,uint256) (#907-929):
External calls:
- BP.protect(sender,recipient,amount) (#913)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#939)
- _transferSpecialBoth(sender,recipient,amount) (#927)
- Transfer(sender,recipient,amount) (#950)
- _transferSpecialSender(sender,recipient,amount) (#923)
- Transfer(sender,operationsAddress,transactionFee.mul(_operationsFee).div(100)) (#1012-1016)
- _transferRegular(sender,recipient,amount) (#925)
- Transfer(sender,operationsAddress,transactionFee.mul(_operationsFee).div(100)) (#1012-1016)
- _transferRegular(sender,recipient,amount) (#921)
- Transfer(sender,developersAddress,transactionFee.mul(_developerFee).div(100)) (#1017-1021)
- _transferRegular(sender,recipient,amount) (#921)
- Transfer(sender,developersAddress,transactionFee.mul(_developerFee).div(100)) (#1017-1021)
- _transferRegular(sender,recipient,amount) (#925)
- Transfer(sender,marketingAddress,transactionFee.mul(_marketingFee).div(100)) (#1022-1026)
- _transferRegular(sender,recipient,amount) (#925)
- Transfer(sender,marketingAddress,transactionFee.mul(_marketingFee).div(100)) (#1022-1026)
- _transferRegular(sender,recipient,amount) (#921)
- Transfer(sender,recipient,toRecipient) (#974)
- _transferRegular(sender,recipient,amount) (#925)
- Transfer(sender,recipient,toRecipient) (#974)
- _transferRegular(sender,recipient,amount) (#921)
- Transfer(sender,treasuryAddress,transactionFee.mul(_treasuryFee).div(100)) (#1027-1031)
- _transferRegular(sender,recipient,amount) (#921)
- Transfer(sender,treasuryAddress,transactionFee.mul(_treasuryFee).div(100)) (#1027-1031)
- _transferRegular(sender,recipient,amount) (#925)
Reentrancy in RxcToken.constructor(uint256,uint256,address,address,address,address) (#580-620):
External calls:
- pancakeswapV2Pair = IPancakeFactory(0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73).createPair(address(this),address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c)) (#606-607)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#619)
Reentrancy in RxcToken.transferFrom(address,address,uint256) (#823-838):
External calls:
- _transfer(sender,recipient,amount) (#828)
- BP.protect(sender,recipient,amount) (#913)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1056)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,insufficient allowance)) (#829-836)
Apply the check-effects-interactions pattern.
Additional information: link
RxcToken.setBlacklistAddress(address,bool) (#697-709) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(allowBlacklistingUntil > block.timestamp,Blacklist usage expired) (#703)
RxcToken.getTokenLockAmount(address,uint256) (#1102-1115) uses timestamp for comparisons
Dangerous comparisons:
- currentTime > tokenLocks[account].endTime (#1107)
Avoid relying on block.timestamp.
Additional information: link
RxcToken.setBotProtectionDisableForever() (#631-634) compares to a boolean constant:
-require(bool)(BPDisabledForever == false) (#632)
RxcToken.setBlacklistAddress(address,bool) (#697-709) compares to a boolean constant:
-toggleBlacklistAddress == true (#701)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '^0.8.0', '^0.8.1', '^0.8.6']
- >=0.5.0 (#4)
- ^0.8.1 (#24)
- ^0.8.1 (#190)
- ^0.8.0 (#300)
- ^0.8.0 (#365)
- ^0.8.0 (#391)
- ^0.8.6 (#472)
Use one Solidity version.
Additional information: link
RxcToken._mint(address,uint256) (#1118-1122) has costly operations inside a loop:
- _totalSupply = _totalSupply.add(amount) (#1119)
RxcToken.addPrivateSaleVestedTokensBulk(RxcToken.PrivateSaleOrder[]) (#1153-1190) has costly operations inside a loop:
- privateSaleGeneratedAmount += privateSaleParticipants[i].amount (#1188)
RxcToken.addCoreVestedTokensBulk(RxcToken.CoreWalletOrder[]) (#1193-1226) has costly operations inside a loop:
- coreGeneratedAmount += coreWallets[i].amount (#1224)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#382-384) is never used and should be removed
RxcToken._transferSpecialReceiver(address,address,uint256) (#954-962) is never used and should be removed
SafeMath.mod(uint256,uint256) (#162-164) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#177-184) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.5.0 (#4) allows old versions
Pragma version^0.8.1 (#24) allows old versions
Pragma version^0.8.1 (#190) allows old versions
Pragma version^0.8.0 (#300) allows old versions
Pragma version^0.8.0 (#365) allows old versions
Pragma version^0.8.0 (#391) allows old versions
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
Parameter RxcToken.setBPAddrss(address)._bp (#622) is not in mixedCase
Parameter RxcToken.setBpEnabled(bool)._enabled (#627) is not in mixedCase
Parameter RxcToken.setPrivateSaleOperator(address)._privateSaleOperatorAddress (#645) is not in mixedCase
Parameter RxcToken.updateSpecialAddress(address,bool)._specialAddress (#658) is not in mixedCase
Parameter RxcToken.setOperationsAddress(address)._operationsAddress (#663) is not in mixedCase
Parameter RxcToken.setDevelopersAddress(address)._developersAddress (#670) is not in mixedCase
Parameter RxcToken.setMarketingAddress(address)._marketingAddress (#678) is not in mixedCase
Parameter RxcToken.setTreasuryAddress(address)._treasuryAddress (#685) is not in mixedCase
Parameter RxcToken.setMaintenanceMode(bool)._maintenanceMode (#692) is not in mixedCase
Parameter RxcToken.assignTokenLock(address,uint256,uint256,uint256,string,bool)._amount (#1127) is not in mixedCase
Parameter RxcToken.assignTokenLock(address,uint256,uint256,uint256,string,bool)._startTime (#1128) is not in mixedCase
Parameter RxcToken.assignTokenLock(address,uint256,uint256,uint256,string,bool)._endTIme (#1129) is not in mixedCase
Parameter RxcToken.assignTokenLock(address,uint256,uint256,uint256,string,bool)._type (#1130) is not in mixedCase
Parameter RxcToken.getTokenLockAddresses(string)._type (#1144) is not in mixedCase
Variable RxcToken._decimals (#505) is not in mixedCase
Variable RxcToken._symbol (#506) is not in mixedCase
Variable RxcToken._name (#507) is not in mixedCase
Variable RxcToken._transactionFee (#510) is not in mixedCase
Variable RxcToken._developerFee (#511) is not in mixedCase
Variable RxcToken._treasuryFee (#512) is not in mixedCase
Variable RxcToken._operationsFee (#513) is not in mixedCase
Variable RxcToken._marketingFee (#514) is not in mixedCase
Variable RxcToken.BP (#576) is not in mixedCase
Variable RxcToken.BPDisabledForever (#578) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
RxcToken.slitherConstructorVariables() (#497-1228) uses literals with too many digits:
- privateSaleMaxAmount = 26700000000000000 (#566)
RxcToken.slitherConstructorVariables() (#497-1228) uses literals with too many digits:
- coreMaxAmount = 34200000000000000 (#570)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RxcToken.coreMaxAmount (#570) should be constant
RxcToken.privateSaleMaxAmount (#566) should be constant
RxcToken.privateSaleVestingEndDate (#574) should be constant
RxcToken.privateSaleVestingStartDate (#573) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#440-442)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#448-451)
setOperationsAddress(address) should be declared external:
- RxcToken.setOperationsAddress(address) (#663-668)
setDevelopersAddress(address) should be declared external:
- RxcToken.setDevelopersAddress(address) (#670-676)
setMarketingAddress(address) should be declared external:
- RxcToken.setMarketingAddress(address) (#678-683)
setTreasuryAddress(address) should be declared external:
- RxcToken.setTreasuryAddress(address) (#685-690)
setMaintenanceMode(bool) should be declared external:
- RxcToken.setMaintenanceMode(bool) (#692-695)
setBlacklistAddress(address,bool) should be declared external:
- RxcToken.setBlacklistAddress(address,bool) (#697-709)
isBlacklistedAddress(address) should be declared external:
- RxcToken.isBlacklistedAddress(address) (#711-717)
increaseAllowance(address,uint256) should be declared external:
- RxcToken.increaseAllowance(address,uint256) (#852-862)
decreaseAllowance(address,uint256) should be declared external:
- RxcToken.decreaseAllowance(address,uint256) (#878-891)
inCaseTokensGetStuck(IBEP20,address) should be declared external:
- RxcToken.inCaseTokensGetStuck(IBEP20,address) (#1059-1062)
setTransactionFee(uint256) should be declared external:
- RxcToken.setTransactionFee(uint256) (#1067-1070)
getLockedWalletDetails(address) should be declared external:
- RxcToken.getLockedWalletDetails(address) (#1073-1099)
getTokenLockAddresses(string) should be declared external:
- RxcToken.getTokenLockAddresses(string) (#1144-1150)
addPrivateSaleVestedTokensBulk(RxcToken.PrivateSaleOrder[]) should be declared external:
- RxcToken.addPrivateSaleVestedTokensBulk(RxcToken.PrivateSaleOrder[]) (#1153-1190)
addCoreVestedTokensBulk(RxcToken.CoreWalletOrder[]) should be declared external:
- RxcToken.addCoreVestedTokensBulk(RxcToken.CoreWalletOrder[]) (#1193-1226)
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 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 CoinHunt
Additional information: link
Unable to find code repository for the project
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
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
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)