Elk Finance is a decentralized network for cross-chain liquidity. The Elk ecosystem makes it seamless for anyone to move value and exchange cryptocurrencies across blockchains more quickly and securely, all at a low cost.
Elk’s robust and intuitive architecture also allows developers to build and integrate smart contracts and DeFi applications on top of the Elk platform in order to leverage its cross-chain functionality. Our mission is to enable cheap, fast, safe cross-chain value exchange across all blockchains. We hope to see a future where the crypto community becomes even more inclusive and where walls between chains are a thing of the past.
Elk Finance has already launched on the Avalanche, Polygon, Fantom Opera and Huobi Eco networks. The ElkNet bridge that allows cross-chain transfers is live & provides the functionality to move $ELK between all chains in about 7 seconds with no fee.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Constant Strings.alphabet (#589) is not in UPPER_CASE_WITH_UNDERSCORES
Variable EIP712._CACHED_DOMAIN_SEPARATOR (#1154) is not in mixedCase
Variable EIP712._CACHED_CHAIN_ID (#1155) is not in mixedCase
Variable EIP712._HASHED_NAME (#1157) is not in mixedCase
Variable EIP712._HASHED_VERSION (#1158) is not in mixedCase
Variable EIP712._TYPE_HASH (#1159) is not in mixedCase
Function IERC20Permit.DOMAIN_SEPARATOR() (#1732) is not in mixedCase
Function ERC20Permit.DOMAIN_SEPARATOR() (#1809-1811) is not in mixedCase
Variable ERC20Permit._PERMIT_TYPEHASH (#1762) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#671)" inContext (#665-674)
Remove redundant statements if they congest code but offer no value.
Additional information: link
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.
AccessControlEnumerable.grantRole(bytes32,address) (#980-983) ignores return value by _roleMembers[role].add(account) (#982)
AccessControlEnumerable.revokeRole(bytes32,address) (#988-991) ignores return value by _roleMembers[role].remove(account) (#990)
AccessControlEnumerable.renounceRole(bytes32,address) (#996-999) ignores return value by _roleMembers[role].remove(account) (#998)
AccessControlEnumerable._setupRole(bytes32,address) (#1004-1007) ignores return value by _roleMembers[role].add(account) (#1006)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20Permit.constructor(string).name (#1769) shadows:
- ERC20.name() (#1397-1399) (function)
- IERC20Metadata.name() (#1324) (function)
Elk.constructor(string,string,uint256).name (#2335) shadows:
- ERC20.name() (#1397-1399) (function)
- IERC20Metadata.name() (#1324) (function)
Elk.constructor(string,string,uint256).symbol (#2335) shadows:
- ERC20.symbol() (#1405-1407) (function)
- IERC20Metadata.symbol() (#1329) (function)
Elk.constructor(string,string,uint256).cap (#2335) shadows:
- ERC20Capped.cap() (#1668-1670) (function)
Rename the local variables that shadow another component.
Additional information: link
ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1775-1796) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,ERC20Permit: expired deadline) (#1777)
Avoid relying on block.timestamp.
Additional information: link
ECDSA.recover(bytes32,bytes) (#1037-1070) uses assembly
- INLINE ASM (#1050-1054)
- INLINE ASM (#1059-1064)
Do not use evm assembly.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#901-904) is never used and should be removed
Context._msgData() (#670-673) is never used and should be removed
Counters.decrement(Counters.Counter) (#1857-1863) is never used and should be removed
ECDSA.recover(bytes32,bytes) (#1037-1070) is never used and should be removed
ECDSA.toEthSignedMessageHash(bytes32) (#1104-1108) is never used and should be removed
ERC20Snapshot._snapshot() (#2028-2034) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#370-372) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#479-481) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#408-410) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#517-519) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#441-443) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#387-389) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#496-498) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#394-396) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#503-505) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#380-382) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#489-491) is never used and should be removed
Math.max(uint256,uint256) (#1879-1881) is never used and should be removed
Math.min(uint256,uint256) (#1886-1888) is never used and should be removed
SafeMath.add(uint256,uint256) (#94-96) is never used and should be removed
SafeMath.div(uint256,uint256) (#136-138) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#192-197) is never used and should be removed
SafeMath.mod(uint256,uint256) (#152-154) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#214-219) is never used and should be removed
SafeMath.mul(uint256,uint256) (#122-124) is never used and should be removed
SafeMath.sub(uint256,uint256) (#108-110) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#169-174) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#23-29) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#65-70) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#77-82) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#48-58) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#36-41) is never used and should be removed
Strings.toHexString(uint256) (#619-630) is never used and should be removed
Strings.toString(uint256) (#594-614) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#5) allows old versions
Pragma version^0.8.0 (#226) allows old versions
Pragma version^0.8.0 (#526) allows old versions
Pragma version^0.8.0 (#553) allows old versions
Pragma version^0.8.0 (#583) allows old versions
Pragma version^0.8.0 (#653) allows old versions
Pragma version^0.8.0 (#680) allows old versions
Pragma version^0.8.0 (#925) allows old versions
Pragma version^0.8.0 (#1014) allows old versions
Pragma version^0.8.0 (#1128) allows old versions
Pragma version^0.8.0 (#1232) allows old versions
Pragma version^0.8.0 (#1312) allows old versions
Pragma version^0.8.0 (#1341) allows old versions
Pragma version^0.8.0 (#1647) allows old versions
Pragma version^0.8.0 (#1685) allows old versions
Pragma version^0.8.0 (#1739) allows old versions
Pragma version^0.8.0 (#1829) allows old versions
Pragma version^0.8.0 (#1870) allows old versions
Pragma version^0.8.0 (#1904) allows old versions
Pragma version^0.8.0 (#1953) allows old versions
Pragma version^0.8.0 (#2134) allows old versions
Pragma version^0.8.0 (#2226) allows old versions
Pragma version^0.8.0 (#2256) allows old versions
Pragma version^0.8.0 (#2298) 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
getRoleMember(bytes32,uint256) should be declared external:
- AccessControlEnumerable.getRoleMember(bytes32,uint256) (#965-967)
getRoleMemberCount(bytes32) should be declared external:
- AccessControlEnumerable.getRoleMemberCount(bytes32) (#973-975)
name() should be declared external:
- ERC20.name() (#1397-1399)
symbol() should be declared external:
- ERC20.symbol() (#1405-1407)
decimals() should be declared external:
- ERC20.decimals() (#1422-1424)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#1448-1451)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#1467-1470)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#1485-1493)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#1507-1510)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#1526-1532)
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) should be declared external:
- ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1775-1796)
nonces(address) should be declared external:
- ERC20Permit.nonces(address) (#1801-1803)
balanceOfAt(address,uint256) should be declared external:
- ERC20Snapshot.balanceOfAt(address,uint256) (#2039-2043)
totalSupplyAt(uint256) should be declared external:
- ERC20Snapshot.totalSupplyAt(uint256) (#2048-2052)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#2271-2273)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#2286-2291)
mint(address,uint256) should be declared external:
- Elk.mint(address,uint256) (#2351-2354)
pause() should be declared external:
- Elk.pause() (#2365-2368)
unpause() should be declared external:
- Elk.unpause() (#2379-2382)
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
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to verify token contract address on the website
Unable to find audit link on the website