Revolve Games is redefining blockchain gaming, with a robust gaming ecosystem that is plugged into the heart of DeFi. Actionable RPG stake tethered NFT assets earn rewards according to performance.
(1): Dynamic Staking Rewards:
Revolve Games envisions a product in which users are able to influence their staking rewards through increased participation and performance of play in the Revolve Metaverse. Eventually, the staking rewards of every user will be different based on the number of tokens staked and the performance of their stake-backed asset.
(2): Stake Tethered NFTs:
Any Actionable Assets (Characters, Spaceships, Game-Builder NFTs) on the Revolve Platform require an underlying stake of RPG (Revolve Games' Native Token). This means that should any user decide to unstake his tokens, the NFT tied to that token will be returned to the NFT pool. The same logic would apply to any transfers of NFTs: Any transfer of NFTs would result in the underlying staking contract to move to the new owner of the NFT.
Revolve Metaverse:
These two ideas will be delivered via the medium of the Revolve Metaverse - an inter-galactic world where users are able to own or rent land on planets, building games and monuments on top of users' land. Characters and spacecraft will generate additional reward multipliers through prolonged play and completion of different events that occur on the Revolve Metaverse, while the popularity of user-built games (via the game-builder packs) will also generate additional yield for landowners.
Revolve Games aims to be one of the leading platforms providing Play-to-Earn opportunities with ample content for any audience.
IERC20 is re-used:
- IERC20 (IERC20.sol#6-75)
- IERC20 (LERC20.sol#5-21)
Rename the contract.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract name (REVOLVE_GAMES) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
name() should be declared external:
- ERC20.name() (ERC20.sol#64-66)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#72-74)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#89-91)
totalSupply() should be declared external:
- ERC20.totalSupply() (ERC20.sol#96-98)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (ERC20.sol#103-105)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#115-118)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#123-125)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#134-137)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-155)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#169-172)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#188-191)
setLosslessAdmin(address) should be declared external:
- LERC20.setLosslessAdmin(address) (LERC20.sol#149-152)
transferRecoveryAdminOwnership(address,bytes32) should be declared external:
- LERC20.transferRecoveryAdminOwnership(address,bytes32) (LERC20.sol#154-158)
proposeLosslessTurnOff() should be declared external:
- LERC20.proposeLosslessTurnOff() (LERC20.sol#167-171)
executeLosslessTurnOff() should be declared external:
- LERC20.executeLosslessTurnOff() (LERC20.sol#173-179)
executeLosslessTurnOn() should be declared external:
- LERC20.executeLosslessTurnOn() (LERC20.sol#181-185)
name() should be declared external:
- LERC20.name() (LERC20.sol#189-191)
symbol() should be declared external:
- LERC20.symbol() (LERC20.sol#193-195)
decimals() should be declared external:
- LERC20.decimals() (LERC20.sol#197-199)
totalSupply() should be declared external:
- LERC20.totalSupply() (LERC20.sol#201-203)
allowance(address,address) should be declared external:
- LERC20.allowance(address,address) (LERC20.sol#214-216)
approve(address,uint256) should be declared external:
- LERC20.approve(address,uint256) (LERC20.sol#218-222)
increaseAllowance(address,uint256) should be declared external:
- LERC20.increaseAllowance(address,uint256) (LERC20.sol#234-237)
decreaseAllowance(address,uint256) should be declared external:
- LERC20.decreaseAllowance(address,uint256) (LERC20.sol#239-245)
transferValueToSend(address,uint256) should be declared external:
- RPG.transferValueToSend(address,uint256) (LercRPG.sol#90-92)
transferTrusted(address,uint256) should be declared external:
- RPG.transferTrusted(address,uint256) (LercRPG.sol#134-137)
transferFromTrusted(address,address,uint256) should be declared external:
- RPG.transferFromTrusted(address,address,uint256) (LercRPG.sol#139-142)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#52-54)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#60-63)
Use the external attribute for functions never called from the contract.
Additional information: link
Address.isContract(address) (Address.sol#24-34) uses assembly
- INLINE ASM (Address.sol#30-32)
Address.verifyCallResult(bool,bytes,string) (Address.sol#193-213) uses assembly
- INLINE ASM (Address.sol#205-208)
Do not use evm assembly.
Additional information: link
Address.functionCall(address,bytes) (Address.sol#77-79) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#87-93) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#106-112) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#120-131) is never used and should be removed
Address.functionDelegateCall(address,bytes) (Address.sol#166-168) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (Address.sol#176-185) is never used and should be removed
Address.functionStaticCall(address,bytes) (Address.sol#139-141) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (Address.sol#149-158) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#52-57) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (Address.sol#193-213) is never used and should be removed
Context._msgData() (Context.sol#18-20) is never used and should be removed
ERC20._burn(address,uint256) (ERC20.sol#248-256) is never used and should be removed
ERC20._mint(address,uint256) (ERC20.sol#227-235) is never used and should be removed
ERC20._setupDecimals(uint8) (ERC20.sol#286-288) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#137-139) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#153-156) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (Address.sol#1) allows old versions
Pragma version^0.8.0 (Context.sol#1) allows old versions
Pragma version^0.8.0 (ERC20.sol#1) allows old versions
Pragma version^0.8.0 (IERC20.sol#1) allows old versions
Pragma version^0.8.0 (LERC20.sol#1) allows old versions
Pragma version^0.8.0 (LercRPG.sol#1) allows old versions
Pragma version^0.8.0 (Ownable.sol#3) allows old versions
Pragma version^0.8.0 (SafeMath.sol#1) 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
Low level call in Address.sendValue(address,uint256) (Address.sol#52-57):
- (success) = recipient.call{value: amount}() (Address.sol#55)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#120-131):
- (success,returndata) = target.call{value: value}(data) (Address.sol#129)
Low level call in Address.functionStaticCall(address,bytes,string) (Address.sol#149-158):
- (success,returndata) = target.staticcall(data) (Address.sol#156)
Low level call in Address.functionDelegateCall(address,bytes,string) (Address.sol#176-185):
- (success,returndata) = target.delegatecall(data) (Address.sol#183)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Reentrancy in RPG.transfer(address,uint256) (LercRPG.sol#94-112):
External calls:
- require(bool)(super.transfer(_treasury,treasuryAmount)) (LercRPG.sol#106)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
- require(bool)(super.transfer(recipient,sendingAmount)) (LercRPG.sol#108)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
State variables written after the call(s):
- require(bool)(super.transfer(recipient,sendingAmount)) (LercRPG.sol#108)
- _balances[sender] = senderBalance - amount (LERC20.sol#253)
- _balances[recipient] += amount (LERC20.sol#254)
Reentrancy in RPG.transfer(address,uint256) (LercRPG.sol#94-112):
External calls:
- require(bool)(super.transfer(_treasury,treasuryAmount)) (LercRPG.sol#106)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
- require(bool)(super.transfer(recipient,sendingAmount)) (LercRPG.sol#108)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
- require(bool)(super.transfer(_pool,feeAmount)) (LercRPG.sol#109)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
State variables written after the call(s):
- require(bool)(super.transfer(_pool,feeAmount)) (LercRPG.sol#109)
- _balances[sender] = senderBalance - amount (LERC20.sol#253)
- _balances[recipient] += amount (LERC20.sol#254)
Reentrancy in RPG.transferFrom(address,address,uint256) (LercRPG.sol#114-132):
External calls:
- require(bool)(super.transferFrom(sender,_treasury,treasuryAmount)) (LercRPG.sol#126)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
State variables written after the call(s):
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- _allowances[owner][spender] = amount (LERC20.sol#271)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- _balances[sender] = senderBalance - amount (LERC20.sol#253)
- _balances[recipient] += amount (LERC20.sol#254)
Reentrancy in RPG.transferFrom(address,address,uint256) (LercRPG.sol#114-132):
External calls:
- require(bool)(super.transferFrom(sender,_treasury,treasuryAmount)) (LercRPG.sol#126)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
- require(bool)(super.transferFrom(sender,_pool,feeAmount)) (LercRPG.sol#129)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
State variables written after the call(s):
- require(bool)(super.transferFrom(sender,_pool,feeAmount)) (LercRPG.sol#129)
- _allowances[owner][spender] = amount (LERC20.sol#271)
- require(bool)(super.transferFrom(sender,_pool,feeAmount)) (LercRPG.sol#129)
- _balances[sender] = senderBalance - amount (LERC20.sol#253)
- _balances[recipient] += amount (LERC20.sol#254)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20.constructor(string,string).name (ERC20.sol#55) shadows:
- ERC20.name() (ERC20.sol#64-66) (function)
ERC20.constructor(string,string).symbol (ERC20.sol#55) shadows:
- ERC20.symbol() (ERC20.sol#72-74) (function)
LERC20.allowance(address,address).owner (LERC20.sol#214) shadows:
- Ownable.owner() (Ownable.sol#33-35) (function)
LERC20._approve(address,address,uint256).owner (LERC20.sol#267) shadows:
- Ownable.owner() (Ownable.sol#33-35) (function)
Rename the local variables that shadow another component.
Additional information: link
LERC20.constructor(uint256,string,string,address,address,uint256,address).admin_ (LERC20.sol#69) lacks a zero-check on :
- admin = admin_ (LERC20.sol#73)
LERC20.constructor(uint256,string,string,address,address,uint256,address).recoveryAdmin_ (LERC20.sol#69) lacks a zero-check on :
- recoveryAdmin = recoveryAdmin_ (LERC20.sol#74)
LERC20.setLosslessAdmin(address).newAdmin (LERC20.sol#149) lacks a zero-check on :
- admin = newAdmin (LERC20.sol#151)
LERC20.transferRecoveryAdminOwnership(address,bytes32).candidate (LERC20.sol#154) lacks a zero-check on :
- recoveryAdminCanditate = candidate (LERC20.sol#155)
Check that the address is not zero.
Additional information: link
Reentrancy in LERC20.approve(address,uint256) (LERC20.sol#218-222):
External calls:
- lssAprove(spender,amount) (LERC20.sol#218)
- lossless.beforeApprove(_msgSender(),spender,amount) (LERC20.sol#83)
- lossless.afterApprove(_msgSender(),spender,amount) (LERC20.sol#85)
State variables written after the call(s):
- _approve(_msgSender(),spender,amount) (LERC20.sol#220)
- _allowances[owner][spender] = amount (LERC20.sol#271)
Reentrancy in LERC20.decreaseAllowance(address,uint256) (LERC20.sol#239-245):
External calls:
- lssDecreaseAllowance(spender,subtractedValue) (LERC20.sol#239)
- lossless.beforeDecreaseAllowance(_msgSender(),spender,subtractedValue) (LERC20.sol#123)
- lossless.afterDecreaseAllowance(_msgSender(),spender,subtractedValue) (LERC20.sol#125)
State variables written after the call(s):
- _approve(_msgSender(),spender,currentAllowance - subtractedValue) (LERC20.sol#242)
- _allowances[owner][spender] = amount (LERC20.sol#271)
Reentrancy in LERC20.increaseAllowance(address,uint256) (LERC20.sol#234-237):
External calls:
- lssIncreaseAllowance(spender,addedValue) (LERC20.sol#234)
- lossless.beforeIncreaseAllowance(_msgSender(),spender,addedValue) (LERC20.sol#113)
- lossless.afterIncreaseAllowance(_msgSender(),spender,addedValue) (LERC20.sol#115)
State variables written after the call(s):
- _approve(_msgSender(),spender,_allowances[_msgSender()][spender] + addedValue) (LERC20.sol#235)
- _allowances[owner][spender] = amount (LERC20.sol#271)
Reentrancy in LERC20.transfer(address,uint256) (LERC20.sol#209-212):
External calls:
- lssTransfer(recipient,amount) (LERC20.sol#209)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
State variables written after the call(s):
- _transfer(_msgSender(),recipient,amount) (LERC20.sol#210)
- _balances[sender] = senderBalance - amount (LERC20.sol#253)
- _balances[recipient] += amount (LERC20.sol#254)
Reentrancy in LERC20.transferFrom(address,address,uint256) (LERC20.sol#224-232):
External calls:
- lssTransferFrom(sender,recipient,amount) (LERC20.sol#224)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (LERC20.sol#229)
- _allowances[owner][spender] = amount (LERC20.sol#271)
- _transfer(sender,recipient,amount) (LERC20.sol#225)
- _balances[sender] = senderBalance - amount (LERC20.sol#253)
- _balances[recipient] += amount (LERC20.sol#254)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LERC20.approve(address,uint256) (LERC20.sol#218-222):
External calls:
- lssAprove(spender,amount) (LERC20.sol#218)
- lossless.beforeApprove(_msgSender(),spender,amount) (LERC20.sol#83)
- lossless.afterApprove(_msgSender(),spender,amount) (LERC20.sol#85)
Event emitted after the call(s):
- Approval(owner,spender,amount) (LERC20.sol#272)
- _approve(_msgSender(),spender,amount) (LERC20.sol#220)
Reentrancy in LERC20.decreaseAllowance(address,uint256) (LERC20.sol#239-245):
External calls:
- lssDecreaseAllowance(spender,subtractedValue) (LERC20.sol#239)
- lossless.beforeDecreaseAllowance(_msgSender(),spender,subtractedValue) (LERC20.sol#123)
- lossless.afterDecreaseAllowance(_msgSender(),spender,subtractedValue) (LERC20.sol#125)
Event emitted after the call(s):
- Approval(owner,spender,amount) (LERC20.sol#272)
- _approve(_msgSender(),spender,currentAllowance - subtractedValue) (LERC20.sol#242)
Reentrancy in LERC20.increaseAllowance(address,uint256) (LERC20.sol#234-237):
External calls:
- lssIncreaseAllowance(spender,addedValue) (LERC20.sol#234)
- lossless.beforeIncreaseAllowance(_msgSender(),spender,addedValue) (LERC20.sol#113)
- lossless.afterIncreaseAllowance(_msgSender(),spender,addedValue) (LERC20.sol#115)
Event emitted after the call(s):
- Approval(owner,spender,amount) (LERC20.sol#272)
- _approve(_msgSender(),spender,_allowances[_msgSender()][spender] + addedValue) (LERC20.sol#235)
Reentrancy in LERC20.transfer(address,uint256) (LERC20.sol#209-212):
External calls:
- lssTransfer(recipient,amount) (LERC20.sol#209)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (LERC20.sol#256)
- _transfer(_msgSender(),recipient,amount) (LERC20.sol#210)
Reentrancy in RPG.transfer(address,uint256) (LercRPG.sol#94-112):
External calls:
- require(bool)(super.transfer(_treasury,treasuryAmount)) (LercRPG.sol#106)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
- require(bool)(super.transfer(recipient,sendingAmount)) (LercRPG.sol#108)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (LERC20.sol#256)
- require(bool)(super.transfer(recipient,sendingAmount)) (LercRPG.sol#108)
Reentrancy in RPG.transfer(address,uint256) (LercRPG.sol#94-112):
External calls:
- require(bool)(super.transfer(_treasury,treasuryAmount)) (LercRPG.sol#106)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
- require(bool)(super.transfer(recipient,sendingAmount)) (LercRPG.sol#108)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
- require(bool)(super.transfer(_pool,feeAmount)) (LercRPG.sol#109)
- lossless.beforeTransfer(_msgSender(),recipient,amount) (LERC20.sol#93)
- lossless.afterTransfer(_msgSender(),recipient,amount) (LERC20.sol#95)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (LERC20.sol#256)
- require(bool)(super.transfer(_pool,feeAmount)) (LercRPG.sol#109)
Reentrancy in LERC20.transferFrom(address,address,uint256) (LERC20.sol#224-232):
External calls:
- lssTransferFrom(sender,recipient,amount) (LERC20.sol#224)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
Event emitted after the call(s):
- Approval(owner,spender,amount) (LERC20.sol#272)
- _approve(sender,_msgSender(),currentAllowance - amount) (LERC20.sol#229)
- Transfer(sender,recipient,amount) (LERC20.sol#256)
- _transfer(sender,recipient,amount) (LERC20.sol#225)
Reentrancy in RPG.transferFrom(address,address,uint256) (LercRPG.sol#114-132):
External calls:
- require(bool)(super.transferFrom(sender,_treasury,treasuryAmount)) (LercRPG.sol#126)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
Event emitted after the call(s):
- Approval(owner,spender,amount) (LERC20.sol#272)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- Transfer(sender,recipient,amount) (LERC20.sol#256)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
Reentrancy in RPG.transferFrom(address,address,uint256) (LercRPG.sol#114-132):
External calls:
- require(bool)(super.transferFrom(sender,_treasury,treasuryAmount)) (LercRPG.sol#126)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
- require(bool)(super.transferFrom(sender,recipient,sendingAmount)) (LercRPG.sol#128)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
- require(bool)(super.transferFrom(sender,_pool,feeAmount)) (LercRPG.sol#129)
- lossless.beforeTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#103)
- lossless.afterTransferFrom(_msgSender(),sender,recipient,amount) (LERC20.sol#105)
Event emitted after the call(s):
- Approval(owner,spender,amount) (LERC20.sol#272)
- require(bool)(super.transferFrom(sender,_pool,feeAmount)) (LercRPG.sol#129)
- Transfer(sender,recipient,amount) (LERC20.sol#256)
- require(bool)(super.transferFrom(sender,_pool,feeAmount)) (LercRPG.sol#129)
Apply the check-effects-interactions pattern.
Additional information: link
LERC20.executeLosslessTurnOff() (LERC20.sol#173-179) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(losslessTurnOffTimestamp <= block.timestamp,LERC20: Time lock in progress) (LERC20.sol#175)
Avoid relying on block.timestamp.
Additional information: link
Parameter RPG.addFreeOfChargeAddress(address)._free (LercRPG.sol#54) is not in mixedCase
Parameter RPG.deleteFreeOfChargeAddress(address)._free (LercRPG.sol#58) is not in mixedCase
Parameter RPG.addTrustedAddress(address)._free (LercRPG.sol#62) is not in mixedCase
Parameter RPG.deleteTrustedAddress(address)._free (LercRPG.sol#66) is not in mixedCase
Parameter RPG.addAllowedContract(address)._contract (LercRPG.sol#78) is not in mixedCase
Parameter RPG.removeAllowedContract(address)._contract (LercRPG.sol#84) is not in mixedCase
Variable RPG._pool (LercRPG.sol#12) is not in mixedCase
Variable RPG._treasury (LercRPG.sol#13) is not in mixedCase
Variable RPG._stakingFee (LercRPG.sol#19) is not in mixedCase
Variable RPG._treasuryFee (LercRPG.sol#20) is not in mixedCase
Constant RPG.maxFee (LercRPG.sol#21) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RPG.percentageConst (LercRPG.sol#22) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable LERC20._totalSupply (LERC20.sol#48) is too similar to LERC20.constructor(uint256,string,string,address,address,uint256,address).totalSupply_ (LERC20.sol#69)
Variable LERC20._totalSupply (LERC20.sol#48) is too similar to RPG.constructor(uint256,string,string,address,address,uint256,address,address,address).totalSupply_ (LercRPG.sol#36)
Prevent variables from having similar names.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Unable to find audit link on the website
Unable to find whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
Young tokens have high risks of price dump / death