Get your free wallet for Lenda, Bitcoin and more than 10 other cryptocurrencies. Simply buy and sell crypto with your bank card, or instantly get your own free Visa card to withdraw worldwide. Earn interest, exchange on the best rates and stay safe with banking class security. All that and more with Lenda finance solutions.
Parameter StakingLenda.setAnnualMintTarget(uint256)._mintTarget (contracts/StakingLenda.sol#102) is not in mixedCase
Parameter StakingLenda.setCooldown(uint256)._cooldown (contracts/StakingLenda.sol#44) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Math.max(uint256,uint256) (@openzeppelin/contracts/math/Math.sol#10-12) is never used and should be removed
Math.average(uint256,uint256) (@openzeppelin/contracts/math/Math.sol#25-28) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#152-155) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/GSN/Context.sol#23-26) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#135-137) is never used and should be removed
Math.min(uint256,uint256) (@openzeppelin/contracts/math/Math.sol#17-19) is never used and should be removed
Remove unused functions.
Additional information: link
addStake(uint256) should be declared external:
- StakingLenda.addStake(uint256) (contracts/StakingLenda.sol#50-55)
decimals() should be declared external:
- ERC20Detailed.decimals() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#51-53)
symbol() should be declared external:
- ERC20Detailed.symbol() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#35-37)
cap() should be declared external:
- ERC20Capped.cap() (@openzeppelin/contracts/token/ERC20/ERC20Capped.sol#23-25)
setAnnualMintTarget(uint256) should be declared external:
- StakingLenda.setAnnualMintTarget(uint256) (contracts/StakingLenda.sol#102-104)
name() should be declared external:
- ERC20Detailed.name() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#27-29)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#98-102)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol#24-26)
setCooldown(uint256) should be declared external:
- StakingLenda.setCooldown(uint256) (contracts/StakingLenda.sol#44-46)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/ownership/Ownable.sol#56-59)
renounceMinter() should be declared external:
- MinterRole.renounceMinter() (@openzeppelin/contracts/access/roles/MinterRole.sol#31-33)
stakeReward() should be declared external:
- StakingLenda.stakeReward() (contracts/StakingLenda.sol#159-168)
releaseStake() should be declared external:
- StakingLenda.releaseStake() (contracts/StakingLenda.sol#86-98)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#135-138)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#50-52)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#62-65)
addMinter(address) should be declared external:
- MinterRole.addMinter(address) (@openzeppelin/contracts/access/roles/MinterRole.sol#27-29)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#116-119)
stakeOf(address) should be declared external:
- StakingLenda.stakeOf(address) (contracts/StakingLenda.sol#57-59)
mint(address,uint256) should be declared external:
- ERC20Mintable.mint(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20Mintable.sol#20-23)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/ownership/Ownable.sol#65-67)
rewardOf(address) should be declared external:
- StakingLenda.rewardOf(address) (contracts/StakingLenda.sol#140-149)
releaseTimestampOf(address) should be declared external:
- StakingLenda.releaseTimestampOf(address) (contracts/StakingLenda.sol#79-84)
withdrawReward() should be declared external:
- StakingLenda.withdrawReward() (contracts/StakingLenda.sol#151-157)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#81-84)
requestUnstake(uint256) should be declared external:
- StakingLenda.requestUnstake(uint256) (contracts/StakingLenda.sol#61-73)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol#17-19)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (@openzeppelin/contracts/token/ERC20/ERC20.sol#70-72)
Use the external attribute for functions never called from the contract.
Additional information: link
Lenda.constructor(uint256,uint256,uint8).decimals (contracts/Lenda.sol#9) shadows:
- ERC20Detailed.decimals() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#51-53) (function)
StakingLenda.constructor(uint256,uint256,uint8,uint256,uint256)._cap (contracts/StakingLenda.sol#31) shadows:
- ERC20Capped._cap (@openzeppelin/contracts/token/ERC20/ERC20Capped.sol#9) (state variable)
Lenda.constructor(uint256,uint256,uint8).cap (contracts/Lenda.sol#9) shadows:
- ERC20Capped.cap() (@openzeppelin/contracts/token/ERC20/ERC20Capped.sol#23-25) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#18) shadows:
- ERC20Detailed.symbol() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#35-37) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#18) shadows:
- ERC20Detailed.decimals() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#51-53) (function)
ERC20Capped.constructor(uint256).cap (@openzeppelin/contracts/token/ERC20/ERC20Capped.sol#15) shadows:
- ERC20Capped.cap() (@openzeppelin/contracts/token/ERC20/ERC20Capped.sol#23-25) (function)
ERC20Detailed.constructor(string,string,uint8).name (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#18) shadows:
- ERC20Detailed.name() (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#27-29) (function)
StakingLenda.constructor(uint256,uint256,uint8,uint256,uint256)._decimals (contracts/StakingLenda.sol#31) shadows:
- ERC20Detailed._decimals (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#11) (state variable)
Rename the local variables that shadow another component.
Additional information: link
StakingLenda.setAnnualMintTarget(uint256) (contracts/StakingLenda.sol#102-104) should emit an event for:
- annualMintTarget = _mintTarget (contracts/StakingLenda.sol#103)
StakingLenda.setCooldown(uint256) (contracts/StakingLenda.sol#44-46) should emit an event for:
- cooldown = _cooldown (contracts/StakingLenda.sol#45)
Emit an event for critical parameter changes.
Additional information: link
StakingLenda.releaseStake() (contracts/StakingLenda.sol#86-98) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(req.timestamp < block.timestamp,StakingLenda: Cooldown period is not over) (contracts/StakingLenda.sol#90)
StakingLenda.releaseTimestampOf(address) (contracts/StakingLenda.sol#79-84) uses timestamp for comparisons
Dangerous comparisons:
- unstakeOf(stakeholder) > 0 (contracts/StakingLenda.sol#80)
Avoid relying on block.timestamp.
Additional information: link
Pragma version^0.5.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#1) allows old versions
Pragma version^0.5.0 (contracts/StakingLenda.sol#2) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/math/SafeMath.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/token/ERC20/ERC20Capped.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/token/ERC20/ERC20Mintable.sol#1) allows old versions
Pragma version^0.5.0 (contracts/Lenda.sol#2) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/access/roles/MinterRole.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/access/Roles.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/GSN/Context.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/math/Math.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/ownership/Ownable.sol#1) allows old versions
Pragma version^0.5.0 (@openzeppelin/contracts/token/ERC20/ERC20.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
Redundant expression "this (@openzeppelin/contracts/GSN/Context.sol#24)" inContext (@openzeppelin/contracts/GSN/Context.sol#13-27)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Last post in Twitter was more than 180 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account