GYEDOM is an NFT-based art and culture sharing platform that records and trades culture, works of art, and moments as a platform that connects humans and anyone can work together. It is also a protocol that operates DeFi(deposit, investment, insurance), community participation and transactions in a blockchain.
GYEDOM (#157-306) contract sets array length with a user-controlled value:
- lockInfo[_to].push(LockInfo(_releaseTime,_value)) (#296-298)
GYEDOM (#157-306) contract sets array length with a user-controlled value:
- lockInfo[_holder].push(LockInfo(_releaseTime,_amount)) (#271-273)
Do not allow array lengths to be set directly set; instead, opt to add values as needed. Otherwise, thoroughly review the contract to ensure a user-controlled variable cannot reach an array length assignment.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
BEP20._burnFrom(address,uint256) (#151-154) is never used and should be removed
SafeMath.div(uint256,uint256) (#58-63) is never used and should be removed
SafeMath.mod(uint256,uint256) (#65-68) is never used and should be removed
SafeMath.mul(uint256,uint256) (#46-56) is never used and should be removed
Remove unused functions.
Additional information: link
Variable BEP20._balances (#74) is not in mixedCase
Parameter GYEDOM.transferOwnership(address)._newOwner (#181) is not in mixedCase
Parameter GYEDOM.transfer(address,uint256)._to (#192) is not in mixedCase
Parameter GYEDOM.transfer(address,uint256)._value (#193) is not in mixedCase
Parameter GYEDOM.transferFrom(address,address,uint256)._from (#204) is not in mixedCase
Parameter GYEDOM.transferFrom(address,address,uint256)._to (#205) is not in mixedCase
Parameter GYEDOM.transferFrom(address,address,uint256)._value (#206) is not in mixedCase
Parameter GYEDOM.burn(uint256)._value (#218) is not in mixedCase
Parameter GYEDOM.balanceOf(address)._holder (#234) is not in mixedCase
Parameter GYEDOM.releaseLock(address)._holder (#242) is not in mixedCase
Parameter GYEDOM.lockCount(address)._holder (#259) is not in mixedCase
Parameter GYEDOM.lockState(address,uint256)._holder (#262) is not in mixedCase
Parameter GYEDOM.lockState(address,uint256)._idx (#262) is not in mixedCase
Parameter GYEDOM.lock(address,uint256,uint256)._holder (#266) is not in mixedCase
Parameter GYEDOM.lock(address,uint256,uint256)._amount (#266) is not in mixedCase
Parameter GYEDOM.lock(address,uint256,uint256)._releaseTime (#266) is not in mixedCase
Parameter GYEDOM.unlock(address,uint256)._holder (#277) is not in mixedCase
Parameter GYEDOM.transferWithLock(address,uint256,uint256)._to (#290) is not in mixedCase
Parameter GYEDOM.transferWithLock(address,uint256,uint256)._value (#290) is not in mixedCase
Parameter GYEDOM.transferWithLock(address,uint256,uint256)._releaseTime (#290) is not in mixedCase
Constant GYEDOM.initialSupply (#161) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
GYEDOM.slitherConstructorConstantVariables() (#157-306) uses literals with too many digits:
- initialSupply = 3000000000 * (10 ** uint256(decimals)) (#161)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
totalSupply() should be declared external:
- BEP20.totalSupply() (#80-82)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#93-95)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#97-100)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#108-111)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#113-116)
transferOwnership(address) should be declared external:
- GYEDOM.transferOwnership(address) (#181-183)
burn(uint256) should be declared external:
- GYEDOM.burn(uint256) (#218-223)
lockCount(address) should be declared external:
- GYEDOM.lockCount(address) (#259-261)
lockState(address,uint256) should be declared external:
- GYEDOM.lockState(address,uint256) (#262-264)
lock(address,uint256,uint256) should be declared external:
- GYEDOM.lock(address,uint256,uint256) (#266-275)
unlock(address,uint256) should be declared external:
- GYEDOM.unlock(address,uint256) (#277-288)
transferWithLock(address,uint256,uint256) should be declared external:
- GYEDOM.transferWithLock(address,uint256,uint256) (#290-303)
Use the external attribute for functions never called from the contract.
Additional information: link
Pragma version0.5.8 (#9) allows old versions
solc-0.5.8 is not recommended for deployment
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
GYEDOM.releaseLock(address) (#242-258) uses timestamp for comparisons
Dangerous comparisons:
- lockInfo[_holder][i].releaseTime <= now (#245)
GYEDOM.lock(address,uint256,uint256) (#266-275) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= _releaseTime,TokenTimelock: release time is before current time) (#268)
GYEDOM.transferWithLock(address,uint256,uint256) (#290-303) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= _releaseTime,TokenTimelock: release time is before current time) (#293)
Avoid relying on block.timestamp.
Additional information: link
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 find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find Twitter link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account