Rangers Protocol is a virtual world's blockchain infrastructure. It is fully compatible with Ethereum, professionally supports NFT and complex applications, and integrates and expands cross-chain, NFT, EVM, and distributed network protocols.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808) ignores return value by _token.transfer(address(_investors),_investors.total()) (#802)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808) ignores return value by _token.transfer(address(_incubator_adviser),_incubator_adviser.total()) (#803)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808) ignores return value by _token.transfer(address(_development),_development.total()) (#804)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808) ignores return value by _token.transfer(address(_community),_community.total()) (#805)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808) ignores return value by _token.transfer(address(_fund),_fund.total()) (#806)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808) uses a dangerous strict equality:
- require(bool)(_token.balanceOf(address(this)) == INITIAL_SUPPLY) (#785)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
UsingLiquidityProtectionService.revokeBlocked(address[],address) (#1980-1992) has external calls inside a loop: lps().isBlocked(pool,holder) (#1987)
UsingLiquidityProtectionService.LiquidityProtection_beforeTokenTransfer(address,address,uint256) (#1971-1978) has external calls inside a loop: lps().LiquidityProtection_beforeTokenTransfer(getLiquidityPool(),_from,_to,_amount) (#1976)
Favor pull over push strategy for external calls.
Additional information: link
RPGVestingA.calcvesting(address) (#1021-1036) performs a multiplication on the result of a division:
-daynum = block.timestamp.sub(_start).div(_duration) (#1026)
-_beneficiary_total[user].mul(daynum).div(_releasealldays) (#1030)
RPGVestingB.calcvesting(address) (#1202-1220) performs a multiplication on the result of a division:
-thistotal = _beneficiary_total[user].mul(8).div(100) (#1212)
-amount180.add(thistotal.mul(dayleft).div(_releaseperiod)) (#1219)
RPGVestingB.calcvesting(address) (#1202-1220) performs a multiplication on the result of a division:
-thistotal = _beneficiary_total[user].mul(8).div(100) (#1212)
-thistotal = thistotal.mul(92).div(100) (#1216)
RPGVestingC.calcvesting() (#1367-1384) performs a multiplication on the result of a division:
-thistotal = _total.mul(8).div(100) (#1376)
-amount180.add(thistotal.mul(dayleft).div(_releaseperiod)) (#1383)
RPGVestingC.calcvesting() (#1367-1384) performs a multiplication on the result of a division:
-thistotal = _total.mul(8).div(100) (#1376)
-thistotal = thistotal.mul(92).div(100) (#1380)
RPGVestingD.calcvesting() (#1488-1505) performs a multiplication on the result of a division:
-thistotal = _total.mul(8).div(100) (#1497)
-amount180.add(thistotal.mul(dayleft).div(_releaseperiod)) (#1504)
RPGVestingD.calcvesting() (#1488-1505) performs a multiplication on the result of a division:
-thistotal = _total.mul(8).div(100) (#1497)
-thistotal = thistotal.mul(92).div(100) (#1501)
RPGVestingF.calcvesting(address) (#1742-1757) performs a multiplication on the result of a division:
-daynum = block.timestamp.sub(_start).div(_duration) (#1747)
-_beneficiary_total[user].mul(daynum).div(_releasealldays) (#1751)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in RPGVestingD.changeaddress(address) (#1533-1539):
External calls:
- _token.safeTransferFrom(_beneficiary,newaddr,_token.balanceOf(_beneficiary)) (#1537)
State variables written after the call(s):
- _beneficiary = newaddr (#1538)
Apply the check-effects-interactions pattern.
Additional information: link
RPGBurn.burn(uint256) (#663-665) ignores return value by _token.burn(value) (#664)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20Capped.constructor(uint256).cap (#414) shadows:
- ERC20Capped.cap() (#422-424) (function)
ERC20Detailed.constructor(string,string,uint8).name (#444) shadows:
- ERC20Detailed.name() (#453-455) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (#444) shadows:
- ERC20Detailed.symbol() (#460-462) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (#444) shadows:
- ERC20Detailed.decimals() (#467-469) (function)
RPG.constructor(string,string).name (#681) shadows:
- ERC20Detailed.name() (#453-455) (function)
RPG.constructor(string,string).symbol (#681) shadows:
- ERC20Detailed.symbol() (#460-462) (function)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).investors (#752) shadows:
- RPGVesting.investors() (#832-834) (function)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).community (#757) shadows:
- RPGVesting.community() (#844-846) (function)
RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).fund (#758) shadows:
- RPGVesting.fund() (#848-850) (function)
RPGVestingA.init(IERC20,uint256,address[],uint256[]).total (#939) shadows:
- RPGVestingA.total() (#998-1000) (function)
RPGVestingB.init(IERC20,uint256,address[],uint256[]).total (#1136) shadows:
- RPGVestingB.total() (#1181-1183) (function)
RPGVestingC.init(IERC20,address,uint256).beneficiary (#1322) shadows:
- RPGVestingC.beneficiary() (#1339-1341) (function)
RPGVestingC.init(IERC20,address,uint256).total (#1322) shadows:
- RPGVestingC.total() (#1353-1355) (function)
RPGVestingD.init(IERC20,address,uint256).beneficiary (#1443) shadows:
- RPGVestingD.beneficiary() (#1460-1462) (function)
RPGVestingD.init(IERC20,address,uint256).total (#1443) shadows:
- RPGVestingD.total() (#1474-1476) (function)
RPGVestingE.init(IERC20,address[3],uint256).total (#1575) shadows:
- RPGVestingE.total() (#1608-1610) (function)
RPGVestingF.init(IERC20,uint256,address[],uint256[]).total (#1676) shadows:
- RPGVestingF.total() (#1735-1737) (function)
RPGTokenWithProtection.constructor(string,string)._name (#2054) shadows:
- ERC20Detailed._name (#440) (state variable)
RPGTokenWithProtection.constructor(string,string)._symbol (#2054) shadows:
- ERC20Detailed._symbol (#441) (state variable)
Rename the local variables that shadow another component.
Additional information: link
RPGVestingA.init(IERC20,uint256,address[],uint256[]) (#939-964) should emit an event for:
- _total = total (#948)
RPGVestingA.setStart(uint256) (#966-971) should emit an event for:
- _start = newStart (#970)
RPGVestingB.init(IERC20,uint256,address[],uint256[]) (#1136-1161) should emit an event for:
- _total = total (#1145)
RPGVestingB.setStart(uint256) (#1192-1197) should emit an event for:
- _start = newStart (#1196)
RPGVestingC.init(IERC20,address,uint256) (#1322-1334) should emit an event for:
- _total = total (#1332)
RPGVestingC.setStart(uint256) (#1357-1362) should emit an event for:
- _start = newStart (#1361)
RPGVestingD.init(IERC20,address,uint256) (#1443-1455) should emit an event for:
- _total = total (#1453)
RPGVestingD.setStart(uint256) (#1478-1483) should emit an event for:
- _start = newStart (#1482)
RPGVestingE.init(IERC20,address[3],uint256) (#1575-1589) should emit an event for:
- _total = total (#1587)
RPGVestingE.setStart(uint256) (#1612-1617) should emit an event for:
- _start = newStart (#1616)
RPGVestingF.init(IERC20,uint256,address[],uint256[]) (#1676-1701) should emit an event for:
- _total = total (#1685)
RPGVestingF.setStart(uint256) (#1703-1708) should emit an event for:
- _start = newStart (#1707)
Emit an event for critical parameter changes.
Additional information: link
RPGVestingD.changeaddress(address).newaddr (#1533) lacks a zero-check on :
- _beneficiary = newaddr (#1538)
Check that the address is not zero.
Additional information: link
Reentrancy in RPGTokenWithProtection._transfer(address,address,uint256) (#2073-2076):
External calls:
- LiquidityProtection_beforeTokenTransfer(_from,_to,_amount) (#2074)
- lps().LiquidityProtection_beforeTokenTransfer(getLiquidityPool(),_from,_to,_amount) (#1976)
State variables written after the call(s):
- super._transfer(_from,_to,_amount) (#2075)
- _balances[from] = _balances[from].sub(value) (#281)
- _balances[to] = _balances[to].add(value) (#282)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RPGTokenWithProtection._transfer(address,address,uint256) (#2073-2076):
External calls:
- LiquidityProtection_beforeTokenTransfer(_from,_to,_amount) (#2074)
- lps().LiquidityProtection_beforeTokenTransfer(getLiquidityPool(),_from,_to,_amount) (#1976)
Event emitted after the call(s):
- Transfer(from,to,value) (#283)
- super._transfer(_from,_to,_amount) (#2075)
Reentrancy in RPGVestingA.claim() (#1042-1055):
External calls:
- _token.safeTransfer(msg.sender,amount) (#1051)
Event emitted after the call(s):
- event_claimed(msg.sender,amount) (#1052)
Reentrancy in RPGVestingB.claim() (#1226-1238):
External calls:
- _token.safeTransfer(msg.sender,amount) (#1234)
Event emitted after the call(s):
- event_claimed(msg.sender,amount) (#1235)
Reentrancy in RPGVestingC.claim() (#1389-1400):
External calls:
- _token.safeTransfer(_beneficiary,amount) (#1396)
Event emitted after the call(s):
- event_claimed(msg.sender,amount) (#1397)
Reentrancy in RPGVestingD.claim() (#1510-1521):
External calls:
- _token.safeTransfer(_beneficiary,amount) (#1517)
Event emitted after the call(s):
- event_claimed(_beneficiary,amount) (#1518)
Reentrancy in RPGVestingE.claim() (#1622-1634):
External calls:
- _token.safeTransfer(_beneficiarys[0],_total.mul(8).div(20)) (#1625)
Event emitted after the call(s):
- event_claimed(_beneficiarys[0],_total.mul(8).div(20)) (#1626)
Reentrancy in RPGVestingE.claim() (#1622-1634):
External calls:
- _token.safeTransfer(_beneficiarys[0],_total.mul(8).div(20)) (#1625)
- _token.safeTransfer(_beneficiarys[1],_total.mul(7).div(20)) (#1628)
Event emitted after the call(s):
- event_claimed(_beneficiarys[1],_total.mul(7).div(20)) (#1629)
Reentrancy in RPGVestingE.claim() (#1622-1634):
External calls:
- _token.safeTransfer(_beneficiarys[0],_total.mul(8).div(20)) (#1625)
- _token.safeTransfer(_beneficiarys[1],_total.mul(7).div(20)) (#1628)
- _token.safeTransfer(_beneficiarys[2],_total.mul(5).div(20)) (#1631)
Event emitted after the call(s):
- event_claimed(_beneficiarys[2],_total.mul(5).div(20)) (#1632)
Reentrancy in RPGVestingF.claim() (#1763-1775):
External calls:
- _token.safeTransfer(msg.sender,amount) (#1771)
Event emitted after the call(s):
- event_claimed(msg.sender,amount) (#1772)
Apply the check-effects-interactions pattern.
Additional information: link
RPGVesting.StartIDO(uint256) (#810-815) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(start >= block.timestamp) (#811)
RPGVesting.StartMainnet(uint256) (#817-824) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(start >= block.timestamp) (#818)
RPGVesting.StartInvestorsClaim() (#826-830) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(_investors.start() > 0 && _investors.start() < block.timestamp) (#827)
RPGVestingA.calcvesting(address) (#1021-1036) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= _start) (#1023)
- daynum <= _releasealldays (#1028)
RPGVestingA.claim() (#1042-1055) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#1048)
RPGVestingB.calcvesting(address) (#1202-1220) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= _start) (#1204)
- i < counts180 (#1213)
RPGVestingB.claim() (#1226-1238) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#1231)
RPGVestingC.calcvesting() (#1367-1384) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= _start) (#1369)
- i < counts180 (#1377)
RPGVestingC.claim() (#1389-1400) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#1393)
RPGVestingD.calcvesting() (#1488-1505) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= _start) (#1490)
- i < counts180 (#1498)
RPGVestingD.claim() (#1510-1521) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#1514)
RPGVestingF.setStart(uint256) (#1703-1708) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(newStart > block.timestamp && _start == 0) (#1705)
RPGVestingF.calcvesting(address) (#1742-1757) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp >= _start) (#1744)
- daynum <= _releasealldays (#1749)
RPGVestingF.claim() (#1763-1775) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#1768)
UsingLiquidityProtectionService.passed(uint256) (#2024-2026) uses timestamp for comparisons
Dangerous comparisons:
- _timestamp < block.timestamp (#2025)
Avoid relying on block.timestamp.
Additional information: link
Void constructor called in RPG.constructor(string,string) (#681-695):
- ERC20() (#687)
Remove the constructor call.
Additional information: link
Address.isContract(address) (#14-25) uses assembly
- INLINE ASM (#23)
Do not use evm assembly.
Additional information: link
SafeERC20.safeApprove(IERC20,address,uint256) (#608-614) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (#621-624) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (#616-619) is never used and should be removed
UsingLiquidityProtectionService.ProtectionSwitch_block(uint256) (#2016-2018) is never used and should be removed
UsingLiquidityProtectionService.ProtectionSwitch_manual() (#2008-2010) is never used and should be removed
UsingLiquidityProtectionService.blockPassed(uint256) (#2020-2022) is never used and should be removed
UsingLiquidityProtectionService.counterToken() (#1957-1959) is never used and should be removed
UsingLiquidityProtectionService.protectionAdminCheck() (#1953) is never used and should be removed
UsingLiquidityProtectionService.protectionChecker() (#1963-1965) is never used and should be removed
UsingLiquidityProtectionService.token_balanceOf(address) (#1952) is never used and should be removed
UsingLiquidityProtectionService.token_transfer(address,address,uint256) (#1951) is never used and should be removed
UsingLiquidityProtectionService.uniswapFactory() (#1956) is never used and should be removed
UsingLiquidityProtectionService.uniswapVariety() (#1954) is never used and should be removed
UsingLiquidityProtectionService.uniswapVersion() (#1955) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in SafeERC20.callOptionalReturn(IERC20,bytes) (#632-650):
- (success,returndata) = address(token).call(data) (#644)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Event RPGVestingevent_debug(uint256) (#744) is not in CapWords
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).investors_addr (#751) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).incubator_adviser_addr (#751) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).development_addr (#751) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).community_addr (#751) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).fund_addr (#751) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).investors_number (#753) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).incubator_advisers (#754) is not in mixedCase
Parameter RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).incubator_advisers_number (#755) is not in mixedCase
Function RPGVesting.StartIDO(uint256) (#810-815) is not in mixedCase
Function RPGVesting.StartMainnet(uint256) (#817-824) is not in mixedCase
Function RPGVesting.StartInvestorsClaim() (#826-830) is not in mixedCase
Function RPGVesting.incubator_adviser() (#836-838) is not in mixedCase
Function RPGVesting.unlocked_investors_vesting(address) (#853-855) is not in mixedCase
Function RPGVesting.unlocked_incubator_adviser_vesting(address) (#857-859) is not in mixedCase
Function RPGVesting.unlocked_development_vesting() (#861-863) is not in mixedCase
Function RPGVesting.unlocked_community_vesting() (#865-867) is not in mixedCase
Function RPGVesting.claimed_investors(address) (#874-876) is not in mixedCase
Function RPGVesting.claimed_incubator_adviser(address) (#878-880) is not in mixedCase
Function RPGVesting.claimed_development() (#882-884) is not in mixedCase
Function RPGVesting.claimed_community() (#886-888) is not in mixedCase
Function RPGVesting.investors_changeaddress(address,address) (#891-895) is not in mixedCase
Function RPGVesting.incubator_adviser_changeaddress(address,address) (#897-901) is not in mixedCase
Function RPGVesting.community_changeaddress(address) (#903-907) is not in mixedCase
Variable RPGVesting._incubator_adviser (#737) is not in mixedCase
Variable RPGVesting.INITIAL_SUPPLY (#742) is not in mixedCase
Event RPGVestingAevent_set_can_claim() (#929) is not in CapWords
Event RPGVestingAevent_claimed(address,uint256) (#930) is not in CapWords
Event RPGVestingAevent_change_address(address,address) (#931) is not in CapWords
Variable RPGVestingA._vestingaddr (#917) is not in mixedCase
Constant RPGVestingA._duration (#923) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RPGVestingA._releasealldays (#924) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RPGVestingA._beneficiary_total (#925) is not in mixedCase
Event RPGVestingBevent_claimed(address,uint256) (#1127) is not in CapWords
Event RPGVestingBevent_change_address(address,address) (#1128) is not in CapWords
Variable RPGVestingB._vestingaddr (#1116) is not in mixedCase
Constant RPGVestingB._duration (#1121) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RPGVestingB._releaseperiod (#1122) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RPGVestingB._beneficiary_total (#1123) is not in mixedCase
Event RPGVestingCevent_claimed(address,uint256) (#1304) is not in CapWords
Variable RPGVestingC._vestingaddr (#1302) is not in mixedCase
Constant RPGVestingC._duration (#1308) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RPGVestingC._releaseperiod (#1309) is not in UPPER_CASE_WITH_UNDERSCORES
Event RPGVestingDevent_claimed(address,uint256) (#1424) is not in CapWords
Variable RPGVestingD._vestingaddr (#1422) is not in mixedCase
Constant RPGVestingD._duration (#1428) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RPGVestingD._releaseperiod (#1429) is not in UPPER_CASE_WITH_UNDERSCORES
Event RPGVestingEevent_claimed(address,uint256) (#1554) is not in CapWords
Variable RPGVestingE._vestingaddr (#1552) is not in mixedCase
Event RPGVestingFevent_set_can_claim() (#1667) is not in CapWords
Event RPGVestingFevent_claimed(address,uint256) (#1668) is not in CapWords
Event RPGVestingFevent_change_address(address,address) (#1669) is not in CapWords
Constant RPGVestingF._duration (#1661) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RPGVestingF._releasealldays (#1662) is not in mixedCase
Variable RPGVestingF._beneficiary_total (#1663) is not in mixedCase
Function IPLPS.LiquidityProtection_beforeTokenTransfer(address,address,address,uint256) (#1834-1835) is not in mixedCase
Function UsingLiquidityProtectionService.LiquidityProtection_setLiquidityProtectionService(IPLPS) (#1947-1949) is not in mixedCase
Parameter UsingLiquidityProtectionService.LiquidityProtection_setLiquidityProtectionService(IPLPS)._plps (#1947) is not in mixedCase
Function UsingLiquidityProtectionService.token_transfer(address,address,uint256) (#1951) is not in mixedCase
Function UsingLiquidityProtectionService.token_balanceOf(address) (#1952) is not in mixedCase
Function UsingLiquidityProtectionService.LiquidityProtection_beforeTokenTransfer(address,address,uint256) (#1971-1978) is not in mixedCase
Parameter UsingLiquidityProtectionService.LiquidityProtection_beforeTokenTransfer(address,address,uint256)._from (#1971) is not in mixedCase
Parameter UsingLiquidityProtectionService.LiquidityProtection_beforeTokenTransfer(address,address,uint256)._to (#1971) is not in mixedCase
Parameter UsingLiquidityProtectionService.LiquidityProtection_beforeTokenTransfer(address,address,uint256)._amount (#1971) is not in mixedCase
Parameter UsingLiquidityProtectionService.revokeBlocked(address[],address)._holders (#1980) is not in mixedCase
Parameter UsingLiquidityProtectionService.revokeBlocked(address[],address)._revokeTo (#1980) is not in mixedCase
Function UsingLiquidityProtectionService.LiquidityProtection_unblock(address[]) (#1994-1998) is not in mixedCase
Parameter UsingLiquidityProtectionService.LiquidityProtection_unblock(address[])._holders (#1994) is not in mixedCase
Function UsingLiquidityProtectionService.ProtectionSwitch_manual() (#2008-2010) is not in mixedCase
Function UsingLiquidityProtectionService.ProtectionSwitch_timestamp(uint256) (#2012-2014) is not in mixedCase
Parameter UsingLiquidityProtectionService.ProtectionSwitch_timestamp(uint256)._timestamp (#2012) is not in mixedCase
Function UsingLiquidityProtectionService.ProtectionSwitch_block(uint256) (#2016-2018) is not in mixedCase
Parameter UsingLiquidityProtectionService.ProtectionSwitch_block(uint256)._block (#2016) is not in mixedCase
Parameter UsingLiquidityProtectionService.blockPassed(uint256)._block (#2020) is not in mixedCase
Parameter UsingLiquidityProtectionService.passed(uint256)._timestamp (#2024) is not in mixedCase
Parameter UsingLiquidityProtectionService.not(bool)._condition (#2028) is not in mixedCase
Parameter UsingLiquidityProtectionService.feeToUint24(UsingLiquidityProtectionService.UniswapV3Fees)._fee (#2032) is not in mixedCase
Function RPGTokenWithProtection.token_transfer(address,address,uint256) (#2057-2059) is not in mixedCase
Parameter RPGTokenWithProtection.token_transfer(address,address,uint256)._from (#2057) is not in mixedCase
Parameter RPGTokenWithProtection.token_transfer(address,address,uint256)._to (#2057) is not in mixedCase
Parameter RPGTokenWithProtection.token_transfer(address,address,uint256)._amount (#2057) is not in mixedCase
Function RPGTokenWithProtection.token_balanceOf(address) (#2060-2062) is not in mixedCase
Parameter RPGTokenWithProtection.token_balanceOf(address)._holder (#2060) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable RPGVesting._development (#738) is too similar to RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).developments (#756)
Variable RPGVesting._incubator_adviser (#737) is too similar to RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]).incubator_advisers (#754)
Prevent variables from having similar names.
Additional information: link
RPGTokenWithProtection.slitherConstructorConstantVariables() (#2050-2091) uses literals with too many digits:
- INITIAL_SUPPLY = 21000000 * (10 ** 18) (#677)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
UsingLiquidityProtectionService.HUNDRED_PERCENT (#1922) is never used in RPGTokenWithProtection (#2050-2091)
UsingLiquidityProtectionService.QUICKSWAP (#1925) is never used in RPGTokenWithProtection (#2050-2091)
Remove unused state variables.
Additional information: link
renounceBurner() should be declared external:
- BurnRole.renounceBurner() (#53-55)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#200-202)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#209-212)
- RPG.transfer(address,uint256) (#717-724)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#223-226)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#236-240)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#252-255)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#267-270)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#340-343)
renounceMinter() should be declared external:
- MinterRole.renounceMinter() (#372-374)
cap() should be declared external:
- ERC20Capped.cap() (#422-424)
name() should be declared external:
- ERC20Detailed.name() (#453-455)
symbol() should be declared external:
- ERC20Detailed.symbol() (#460-462)
decimals() should be declared external:
- ERC20Detailed.decimals() (#467-469)
owner() should be declared external:
- Ownable.owner() (#496-498)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#522-525)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#531-533)
burn(uint256) should be declared external:
- RPGBurn.burn(uint256) (#663-665)
setTransferLimit(address,uint8) should be declared external:
- RPG.setTransferLimit(address,uint8) (#702-710)
burnFromContract(uint256) should be declared external:
- RPG.burnFromContract(uint256) (#726-728)
init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) should be declared external:
- RPGVesting.init(RPG,RPGVestingA,RPGVestingB,RPGVestingC,RPGVestingD,RPGVestingE,address[],uint256[],address[],uint256[],address,address,address[3]) (#750-808)
StartIDO(uint256) should be declared external:
- RPGVesting.StartIDO(uint256) (#810-815)
StartMainnet(uint256) should be declared external:
- RPGVesting.StartMainnet(uint256) (#817-824)
StartInvestorsClaim() should be declared external:
- RPGVesting.StartInvestorsClaim() (#826-830)
investors() should be declared external:
- RPGVesting.investors() (#832-834)
incubator_adviser() should be declared external:
- RPGVesting.incubator_adviser() (#836-838)
development() should be declared external:
- RPGVesting.development() (#840-842)
community() should be declared external:
- RPGVesting.community() (#844-846)
fund() should be declared external:
- RPGVesting.fund() (#848-850)
unlocked_investors_vesting(address) should be declared external:
- RPGVesting.unlocked_investors_vesting(address) (#853-855)
unlocked_incubator_adviser_vesting(address) should be declared external:
- RPGVesting.unlocked_incubator_adviser_vesting(address) (#857-859)
unlocked_development_vesting() should be declared external:
- RPGVesting.unlocked_development_vesting() (#861-863)
unlocked_community_vesting() should be declared external:
- RPGVesting.unlocked_community_vesting() (#865-867)
claimed_investors(address) should be declared external:
- RPGVesting.claimed_investors(address) (#874-876)
claimed_incubator_adviser(address) should be declared external:
- RPGVesting.claimed_incubator_adviser(address) (#878-880)
claimed_development() should be declared external:
- RPGVesting.claimed_development() (#882-884)
claimed_community() should be declared external:
- RPGVesting.claimed_community() (#886-888)
investors_changeaddress(address,address) should be declared external:
- RPGVesting.investors_changeaddress(address,address) (#891-895)
incubator_adviser_changeaddress(address,address) should be declared external:
- RPGVesting.incubator_adviser_changeaddress(address,address) (#897-901)
community_changeaddress(address) should be declared external:
- RPGVesting.community_changeaddress(address) (#903-907)
init(IERC20,uint256,address[],uint256[]) should be declared external:
- RPGVestingA.init(IERC20,uint256,address[],uint256[]) (#939-964)
setStart(uint256) should be declared external:
- RPGVestingA.setStart(uint256) (#966-971)
start() should be declared external:
- RPGVestingA.start() (#976-978)
beneficiary() should be declared external:
- RPGVestingA.beneficiary() (#983-985)
beneficiarytotal(address) should be declared external:
- RPGVestingA.beneficiarytotal(address) (#990-993)
total() should be declared external:
- RPGVestingA.total() (#998-1000)
canclaim() should be declared external:
- RPGVestingA.canclaim() (#1005-1007)
setcanclaim() should be declared external:
- RPGVestingA.setcanclaim() (#1009-1016)
claim() should be declared external:
- RPGVestingA.claim() (#1042-1055)
claimed(address) should be declared external:
- RPGVestingA.claimed(address) (#1060-1064)
changeaddress(address,address) should be declared external:
- RPGVestingA.changeaddress(address,address) (#1066-1106)
init(IERC20,uint256,address[],uint256[]) should be declared external:
- RPGVestingB.init(IERC20,uint256,address[],uint256[]) (#1136-1161)
beneficiary() should be declared external:
- RPGVestingB.beneficiary() (#1166-1168)
beneficiarytotal(address) should be declared external:
- RPGVestingB.beneficiarytotal(address) (#1173-1176)
total() should be declared external:
- RPGVestingB.total() (#1181-1183)
start() should be declared external:
- RPGVestingB.start() (#1188-1190)
setStart(uint256) should be declared external:
- RPGVestingB.setStart(uint256) (#1192-1197)
claim() should be declared external:
- RPGVestingB.claim() (#1226-1238)
claimed(address) should be declared external:
- RPGVestingB.claimed(address) (#1243-1247)
changeaddress(address,address) should be declared external:
- RPGVestingB.changeaddress(address,address) (#1249-1289)
init(IERC20,address,uint256) should be declared external:
- RPGVestingC.init(IERC20,address,uint256) (#1322-1334)
beneficiary() should be declared external:
- RPGVestingC.beneficiary() (#1339-1341)
start() should be declared external:
- RPGVestingC.start() (#1346-1348)
total() should be declared external:
- RPGVestingC.total() (#1353-1355)
setStart(uint256) should be declared external:
- RPGVestingC.setStart(uint256) (#1357-1362)
claim() should be declared external:
- RPGVestingC.claim() (#1389-1400)
claimed() should be declared external:
- RPGVestingC.claimed() (#1405-1409)
init(IERC20,address,uint256) should be declared external:
- RPGVestingD.init(IERC20,address,uint256) (#1443-1455)
beneficiary() should be declared external:
- RPGVestingD.beneficiary() (#1460-1462)
start() should be declared external:
- RPGVestingD.start() (#1467-1469)
total() should be declared external:
- RPGVestingD.total() (#1474-1476)
setStart(uint256) should be declared external:
- RPGVestingD.setStart(uint256) (#1478-1483)
claim() should be declared external:
- RPGVestingD.claim() (#1510-1521)
claimed() should be declared external:
- RPGVestingD.claimed() (#1526-1530)
changeaddress(address) should be declared external:
- RPGVestingD.changeaddress(address) (#1533-1539)
init(IERC20,address[3],uint256) should be declared external:
- RPGVestingE.init(IERC20,address[3],uint256) (#1575-1589)
beneficiary() should be declared external:
- RPGVestingE.beneficiary() (#1594-1596)
start() should be declared external:
- RPGVestingE.start() (#1601-1603)
total() should be declared external:
- RPGVestingE.total() (#1608-1610)
setStart(uint256) should be declared external:
- RPGVestingE.setStart(uint256) (#1612-1617)
claim() should be declared external:
- RPGVestingE.claim() (#1622-1634)
claimed() should be declared external:
- RPGVestingE.claimed() (#1639-1646)
start() should be declared external:
- RPGVestingF.start() (#1713-1715)
beneficiary() should be declared external:
- RPGVestingF.beneficiary() (#1720-1722)
beneficiarytotal(address) should be declared external:
- RPGVestingF.beneficiarytotal(address) (#1727-1730)
total() should be declared external:
- RPGVestingF.total() (#1735-1737)
claimed(address) should be declared external:
- RPGVestingF.claimed(address) (#1780-1784)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Unable to find Youtube account