EarlyBirDao is an algorithmic stablecoin on Binance Smart Chain. EBD is pegged
to BTC at 10,000:1 ratio.
EBD.governanceRecoverUnsupported(IERC20,uint256,address) (#1283-1289) ignores return value by _token.transfer(_to,_amount) (#1288)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
EBD.setTaxTiersTwap(uint8,uint256) (#1108-1119) contains a tautology or contradiction:
- require(bool,string)(_index >= 0,Index has to be higher than 0) (#1109)
EBD.setTaxTiersRate(uint8,uint256) (#1121-1126) contains a tautology or contradiction:
- require(bool,string)(_index >= 0,Index has to be higher than 0) (#1122)
EBD._updateTaxRate(uint256) (#1140-1150) contains a tautology or contradiction:
- tierId >= 0 (#1142)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
EBD._getBombPrice()._price (#1133) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
EBD._getBombPrice() (#1132-1138) ignores return value by IOracle(bombOracle).consult(address(this),1e18) (#1133-1137)
Ensure that all the return values of the function calls are used.
Additional information: link
EBD.setBurnThreshold(uint256) (#1128-1130) should emit an event for:
- burnThreshold = _burnThreshold (#1129)
EBD.setTaxRate(uint256) (#1176-1180) should emit an event for:
- taxRate = _taxRate (#1179)
Emit an event for critical parameter changes.
Additional information: link
Variable 'EBD._getBombPrice()._price (#1133)' in EBD._getBombPrice() (#1132-1138) potentially used before declaration: uint256(_price) (#1134)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.6.0<0.8.0']
- >=0.6.0<0.8.0 (#11)
- >=0.6.0<0.8.0 (#39)
- >=0.6.0<0.8.0 (#120)
- >=0.6.0<0.8.0 (#338)
- >=0.6.0<0.8.0 (#646)
- >=0.6.0<0.8.0 (#690)
- 0.6.12 (#725)
- >=0.6.0<0.8.0 (#888)
- >=0.6.0<0.8.0 (#895)
- 0.6.12 (#966)
- 0.6.12 (#1008)
- 0.6.12 (#1023)
Use one Solidity version.
Additional information: link
Context._msgData() (#28-31) is never used and should be removed
ERC20._setupDecimals(uint8) (#620-622) is never used and should be removed
Math.average(uint256,uint256) (#714-717) is never used and should be removed
Math.max(uint256,uint256) (#699-701) is never used and should be removed
Math.min(uint256,uint256) (#706-708) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#307-310) is never used and should be removed
SafeMath.mod(uint256,uint256) (#269-272) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#327-330) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#141-145) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#177-180) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#187-190) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#162-170) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#152-155) is never used and should be removed
SafeMath8.add(uint8,uint8) (#751-756) is never used and should be removed
SafeMath8.div(uint8,uint8) (#825-827) is never used and should be removed
SafeMath8.div(uint8,uint8,string) (#841-847) is never used and should be removed
SafeMath8.mod(uint8,uint8) (#861-863) is never used and should be removed
SafeMath8.mod(uint8,uint8,string) (#877-880) is never used and should be removed
SafeMath8.mul(uint8,uint8) (#799-811) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#11) is too complex
Pragma version>=0.6.0<0.8.0 (#39) is too complex
Pragma version>=0.6.0<0.8.0 (#120) is too complex
Pragma version>=0.6.0<0.8.0 (#338) is too complex
Pragma version>=0.6.0<0.8.0 (#646) is too complex
Pragma version>=0.6.0<0.8.0 (#690) is too complex
Pragma version>=0.6.0<0.8.0 (#888) is too complex
Pragma version>=0.6.0<0.8.0 (#895) is too complex
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
Parameter EBD.isAddressExcluded(address)._address (#1104) is not in mixedCase
Parameter EBD.setTaxTiersTwap(uint8,uint256)._index (#1108) is not in mixedCase
Parameter EBD.setTaxTiersTwap(uint8,uint256)._value (#1108) is not in mixedCase
Parameter EBD.setTaxTiersRate(uint8,uint256)._index (#1121) is not in mixedCase
Parameter EBD.setTaxTiersRate(uint8,uint256)._value (#1121) is not in mixedCase
Parameter EBD.setBurnThreshold(uint256)._burnThreshold (#1128) is not in mixedCase
Parameter EBD.setBombOracle(address)._bombOracle (#1160) is not in mixedCase
Parameter EBD.setTaxOffice(address)._taxOffice (#1165) is not in mixedCase
Parameter EBD.setTaxCollectorAddress(address)._taxCollectorAddress (#1171) is not in mixedCase
Parameter EBD.setTaxRate(uint256)._taxRate (#1176) is not in mixedCase
Parameter EBD.excludeAddress(address)._address (#1182) is not in mixedCase
Parameter EBD.includeAddress(address)._address (#1188) is not in mixedCase
Parameter EBD.distributeReward(address,address,address)._genesisPool (#1269) is not in mixedCase
Parameter EBD.distributeReward(address,address,address)._bombPool (#1270) is not in mixedCase
Parameter EBD.distributeReward(address,address,address)._airdropWallet (#1271) is not in mixedCase
Parameter EBD.governanceRecoverUnsupported(IERC20,uint256,address)._token (#1284) is not in mixedCase
Parameter EBD.governanceRecoverUnsupported(IERC20,uint256,address)._amount (#1285) is not in mixedCase
Parameter EBD.governanceRecoverUnsupported(IERC20,uint256,address)._to (#1286) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#29)" inContext (#23-32)
Remove redundant statements if they congest code but offer no value.
Additional information: link
EBD.constructor(uint256,address) (#1081-1092) uses literals with too many digits:
- _mint(msg.sender,100000000000000000000000) (#1088)
EBD.slitherConstructorConstantVariables() (#1029-1291) uses literals with too many digits:
- INITIAL_GENESIS_POOL_DISTRIBUTION = 2400000000000000000000000 (#1034)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
name() should be declared external:
- ERC20.name() (#397-399)
symbol() should be declared external:
- ERC20.symbol() (#405-407)
decimals() should be declared external:
- ERC20.decimals() (#422-424)
totalSupply() should be declared external:
- ERC20.totalSupply() (#429-431)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#448-451)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#467-470)
transferFrom(address,address,uint256) should be declared external:
- EBD.transferFrom(address,address,uint256) (#1216-1240)
- ERC20.transferFrom(address,address,uint256) (#485-489)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#503-506)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#522-525)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#945-948)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#954-958)
operator() should be declared external:
- Operator.operator() (#979-981)
transferOperator(address) should be declared external:
- Operator.transferOperator(address) (#992-994)
isAddressExcluded(address) should be declared external:
- EBD.isAddressExcluded(address) (#1104-1106)
setTaxTiersTwap(uint8,uint256) should be declared external:
- EBD.setTaxTiersTwap(uint8,uint256) (#1108-1119)
setTaxTiersRate(uint8,uint256) should be declared external:
- EBD.setTaxTiersRate(uint8,uint256) (#1121-1126)
setBurnThreshold(uint256) should be declared external:
- EBD.setBurnThreshold(uint256) (#1128-1130)
enableAutoCalculateTax() should be declared external:
- EBD.enableAutoCalculateTax() (#1152-1154)
disableAutoCalculateTax() should be declared external:
- EBD.disableAutoCalculateTax() (#1156-1158)
setBombOracle(address) should be declared external:
- EBD.setBombOracle(address) (#1160-1163)
setTaxOffice(address) should be declared external:
- EBD.setTaxOffice(address) (#1165-1169)
setTaxCollectorAddress(address) should be declared external:
- EBD.setTaxCollectorAddress(address) (#1171-1174)
setTaxRate(uint256) should be declared external:
- EBD.setTaxRate(uint256) (#1176-1180)
includeAddress(address) should be declared external:
- EBD.includeAddress(address) (#1188-1192)
mint(address,uint256) should be declared external:
- EBD.mint(address,uint256) (#1200-1206)
Use the external attribute for functions never called from the contract.
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 find audit link on the website
Unable to find whitepaper 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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / 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
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account