Yearn Classic Token Logo

EARN [Yearn Classic] Token

About EARN

Listings

Token 3 years
CoinMarketCap 3 years
[CoinGecko] alert: Yearn Classic has migrated from Ethereum to Binance Smart Chain

Yearn Classic (EARN) is the utility token for the Yearn Classic platform. It forms part of the DeFi and NFT ecosystem. A major advantage of EARN is that it allows users to stake their cryptocurrency assets in various different pools and in return users will be rewarded with EARN tokens.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

EARN._writeCheckpoint(address,uint32,uint256,uint256) (#975-985) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#978)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

BSC20._approve(address,address,uint256).owner (#724) shadows:
- Ownable.owner() (#247-249) (function)
Rename the local variables that shadow another component.

Additional information: link

EARN.setGovernance(address)._governance (#786) lacks a zero-check on :
- governance = _governance (#788)
Check that the address is not zero.

Additional information: link

EARN.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#883-894) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,EARN::delegateBySig: signature expired) (#892)
Avoid relying on block.timestamp.

Additional information: link

EARN.getChainId() (#992-996) uses assembly
- INLINE ASM (#994)
Do not use evm assembly.

Additional information: link

SafeMath.sqrt(uint256) (#176-187) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>=0.6.6 (#14) 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 SafeBSC20.callOptionalReturn(IBSC20,bytes) (#460-471):
- (success,returndata) = address(token).call(data) (#464)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable EARN._delegates (#825) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#211)" inContext (#201-215)
Remove redundant statements if they congest code but offer no value.

Additional information: link

burnFrom(address,uint256) should be declared external:
- EARN.burnFrom(address,uint256) (#820-822)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


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 Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has a considerable age, but social accounts / website are missing or have few users


Token has relatively low CoinGecko rank

Price for EARN