Yearnlab is a 2.0 Advance Yield Farming Protocol Based on Binance Smart Chain.
Contract ownership is not renounced (belongs to a wallet)
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Owned.transferOwnership(address) (#182-184) should emit an event for:
- owner = newOwner (#183)
Emit an event for critical parameter changes.
Additional information: link
Owned.transferOwnership(address).newOwner (#182) lacks a zero-check on :
- owner = newOwner (#183)
Check that the address is not zero.
Additional information: link
SafeMath.div(uint256,uint256) (#102-104) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#119-130) is never used and should be removed
SafeMath.mod(uint256,uint256) (#143-145) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#160-167) is never used and should be removed
SafeMath.mul(uint256,uint256) (#77-89) is never used and should be removed
Remove unused functions.
Additional information: link
Yearnlab.DEC (#245) is set pre-construction with a non-constant function or state variable:
- 10 ** uint256(decimals)
Yearnlab._totalSupply (#246) is set pre-construction with a non-constant function or state variable:
- 100000000 * DEC
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
Variable Yearnlab.DEC (#245) is not in mixedCase
Variable Yearnlab._totalSupply (#246) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Yearnlab.slitherConstructorVariables() (#239-344) uses literals with too many digits:
- _totalSupply = 100000000 * DEC (#246)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Yearnlab.decimals (#244) should be constant
Yearnlab.name (#243) should be constant
Yearnlab.symbol (#242) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Owned.transferOwnership(address) (#182-184)
totalSupply() should be declared external:
- Yearnlab.totalSupply() (#256-258)
balanceOf(address) should be declared external:
- Yearnlab.balanceOf(address) (#260-267)
transfer(address,uint256) should be declared external:
- Yearnlab.transfer(address,uint256) (#269-278)
increaseAllowance(address,uint256) should be declared external:
- Yearnlab.increaseAllowance(address,uint256) (#290-296)
decreaseAllowance(address,uint256) should be declared external:
- Yearnlab.decreaseAllowance(address,uint256) (#298-304)
transferFrom(address,address,uint256) should be declared external:
- Yearnlab.transferFrom(address,address,uint256) (#306-316)
allowance(address,address) should be declared external:
- Yearnlab.allowance(address,address) (#318-325)
approveAndCall(address,uint256,bytes) should be declared external:
- Yearnlab.approveAndCall(address,uint256,bytes) (#327-340)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract name (Yearnlab.com) 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.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 180 days ago
Unable to find Youtube account