longdrink.finance creates index tokens on Binance Smart Chain. Hereby, investors are granted easy access to a suite of Binance Smart Chain tokens.
LONG is the protocol's governance token enabling holders to decide on the composition of future indices and their weightings, as well as fee capturing within the protocol.
The first index is called BEV - Binance Ecosystem Value consisting of the eight Binance Smart Chain blue chips.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
UpgradeableProxy.constructor(address,bytes) (contracts/UpgradeableProxy.sol#24-30) ignores return value by Address.functionDelegateCall(_logic,_data) (contracts/UpgradeableProxy.sol#28)
Ensure that all the return values of the function calls are used.
Additional information: link
Root.constructor(address,address,bytes)._owner (contracts/Root.sol#10) shadows:
- Ownable._owner (contracts/Ownable.sol#19) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in Root.constructor(address,address,bytes) (contracts/Root.sol#9-15):
External calls:
- UpgradeableProxy(_logic,_data) (contracts/Root.sol#13)
- (success,returndata) = target.delegatecall(data) (contracts/Address.sol#167)
- Address.functionDelegateCall(_logic,_data) (contracts/UpgradeableProxy.sol#28)
State variables written after the call(s):
- transferOwnership(_owner) (contracts/Root.sol#14)
- _owner = newOwner (contracts/Ownable.sol#66)
- Ownable() (contracts/Root.sol#13)
- _owner = msgSender (contracts/Ownable.sol#28)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Root.constructor(address,address,bytes) (contracts/Root.sol#9-15):
External calls:
- UpgradeableProxy(_logic,_data) (contracts/Root.sol#13)
- (success,returndata) = target.delegatecall(data) (contracts/Address.sol#167)
- Address.functionDelegateCall(_logic,_data) (contracts/UpgradeableProxy.sol#28)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (contracts/Ownable.sol#65)
- transferOwnership(_owner) (contracts/Root.sol#14)
- OwnershipTransferred(address(0),msgSender) (contracts/Ownable.sol#29)
- Ownable() (contracts/Root.sol#13)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (contracts/Address.sol#26-35) uses assembly
- INLINE ASM (contracts/Address.sol#33)
Address._verifyCallResult(bool,bytes,string) (contracts/Address.sol#171-188) uses assembly
- INLINE ASM (contracts/Address.sol#180-183)
Proxy._delegate(address) (contracts/Proxy.sol#21-41) uses assembly
- INLINE ASM (contracts/Proxy.sol#23-40)
UpgradeableProxy._implementation() (contracts/UpgradeableProxy.sol#47-53) uses assembly
- INLINE ASM (contracts/UpgradeableProxy.sol#50-52)
UpgradeableProxy._setImplementation(address) (contracts/UpgradeableProxy.sol#68-77) uses assembly
- INLINE ASM (contracts/UpgradeableProxy.sol#74-76)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.8.0', '>=0.6.2<0.8.0', '^0.7.3']
- >=0.6.2<0.8.0 (contracts/Address.sol#3)
- >=0.6.0<0.8.0 (contracts/Context.sol#3)
- >=0.6.0<0.8.0 (contracts/Ownable.sol#3)
- >=0.6.0<0.8.0 (contracts/Proxy.sol#3)
- ^0.7.3 (contracts/Root.sol#3)
- >=0.6.0<0.8.0 (contracts/UpgradeableProxy.sol#3)
Use one Solidity version.
Additional information: link
Address.functionCall(address,bytes) (contracts/Address.sol#79-81) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/Address.sol#89-91) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/Address.sol#104-106) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/Address.sol#114-121) is never used and should be removed
Address.functionStaticCall(address,bytes) (contracts/Address.sol#129-131) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (contracts/Address.sol#139-145) is never used and should be removed
Address.sendValue(address,uint256) (contracts/Address.sol#53-59) is never used and should be removed
Context._msgData() (contracts/Context.sol#20-23) is never used and should be removed
Proxy._implementation() (contracts/Proxy.sol#47) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.2<0.8.0 (contracts/Address.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (contracts/Context.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (contracts/Ownable.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (contracts/Proxy.sol#3) is too complex
Pragma version^0.7.3 (contracts/Root.sol#3) allows old versions
Pragma version>=0.6.0<0.8.0 (contracts/UpgradeableProxy.sol#3) is too complex
solc-0.7.3 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
Low level call in Address.sendValue(address,uint256) (contracts/Address.sol#53-59):
- (success) = recipient.call{value: amount}() (contracts/Address.sol#57)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (contracts/Address.sol#114-121):
- (success,returndata) = target.call{value: value}(data) (contracts/Address.sol#119)
Low level call in Address.functionStaticCall(address,bytes,string) (contracts/Address.sol#139-145):
- (success,returndata) = target.staticcall(data) (contracts/Address.sol#143)
Low level call in Address.functionDelegateCall(address,bytes,string) (contracts/Address.sol#163-169):
- (success,returndata) = target.delegatecall(data) (contracts/Address.sol#167)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter Root.upgradeTo(address)._new (contracts/Root.sol#17) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/Context.sol#21)" inContext (contracts/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/Ownable.sol#54-57)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account