Beta Finance is the permissionless money market for borrowing, lending, and shorting crypto assets. This means that anyone at anytime is able to create a money market for any crypto asset.
Lenders are able to now earn risk-free yield (as high as 1000+%) on not only popular assets, but also the long tail of crypto assets, including yield farmed tokens, that exist today! Easily deposit your tokens on Beta into the token's money market, or create it yourself if it's not there yet.
Borrowers are able to borrow crypto assets by supplying ETH and/or Stablecoin as collateral. This gives users flexibility when interacting with other protocols that requires using assets they currently do not have without losing their current positions.
Traders are able to short sell any crypto asset by using their ETH and/or Stablecoin as collateral. Beta provides an integrated "1-Click" Short that makes initiating and managing short positions simple.
Liquidators are able to earn a premium bounty reward for monitoring and liquidating under-collateralized positions.
Pragma version^0.8.0 (#4) allows old versions
Pragma version^0.8.0 (#28) allows old versions
Pragma version^0.8.0 (#71) allows old versions
Pragma version^0.8.0 (#215) allows old versions
Pragma version^0.8.0 (#315) allows old versions
Pragma version^0.8.0 (#375) allows old versions
Pragma version^0.8.0 (#670) allows old versions
Pragma version^0.8.0 (#695) allows old versions
Pragma version^0.8.0 (#722) allows old versions
Pragma version^0.8.0 (#790) allows old versions
Pragma version^0.8.0 (#872) allows old versions
Pragma version^0.8.0 (#899) allows old versions
Pragma version^0.8.0 (#1251) allows old versions
Pragma version^0.8.0 (#1512) allows old versions
Pragma version^0.8.0 (#1597) allows old versions
Pragma version^0.8.0 (#1686) allows old versions
Pragma version^0.8.0 (#1716) allows old versions
Pragma version^0.8.0 (#1757) allows old versions
Pragma version^0.8.0 (#1838) 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
Variable EIP712._CACHED_DOMAIN_SEPARATOR (#240) is not in mixedCase
Variable EIP712._CACHED_CHAIN_ID (#241) is not in mixedCase
Variable EIP712._HASHED_NAME (#243) is not in mixedCase
Variable EIP712._HASHED_VERSION (#244) is not in mixedCase
Variable EIP712._TYPE_HASH (#245) is not in mixedCase
Function IERC20Permit.DOMAIN_SEPARATOR() (#370) is not in mixedCase
Function ERC20Permit.DOMAIN_SEPARATOR() (#1820-1822) is not in mixedCase
Variable ERC20Permit._PERMIT_TYPEHASH (#1775-1776) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
AccessControlEnumerable.grantRole(bytes32,address) (#1565-1568) ignores return value by _roleMembers[role].add(account) (#1567)
AccessControlEnumerable.revokeRole(bytes32,address) (#1573-1576) ignores return value by _roleMembers[role].remove(account) (#1575)
AccessControlEnumerable.renounceRole(bytes32,address) (#1581-1584) ignores return value by _roleMembers[role].remove(account) (#1583)
AccessControlEnumerable._setupRole(bytes32,address) (#1589-1592) ignores return value by _roleMembers[role].add(account) (#1591)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20Permit.constructor(string).name (#1783) shadows:
- ERC20.name() (#952-954) (function)
- IERC20Metadata.name() (#883) (function)
ERC20PresetMinterPauser.constructor(string,string).name (#1864) shadows:
- ERC20.name() (#952-954) (function)
- IERC20Metadata.name() (#883) (function)
ERC20PresetMinterPauser.constructor(string,string).symbol (#1864) shadows:
- ERC20.symbol() (#960-962) (function)
- IERC20Metadata.symbol() (#888) (function)
Rename the local variables that shadow another component.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#1490-1493) is never used and should be removed
AccessControl._setupRole(bytes32,address) (#1481-1483) is never used and should be removed
AccessControlEnumerable._setupRole(bytes32,address) (#1589-1592) is never used and should be removed
Context._msgData() (#21-23) is never used and should be removed
Counters.decrement(Counters.Counter) (#56-62) is never used and should be removed
Counters.reset(Counters.Counter) (#64-66) is never used and should be removed
ECDSA.recover(bytes32,bytes) (#98-127) is never used and should be removed
ECDSA.recover(bytes32,bytes32,bytes32) (#136-148) is never used and should be removed
ECDSA.toEthSignedMessageHash(bytes32) (#189-193) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#517-519) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#625-627) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#555-557) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#663-665) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#588-590) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#534-536) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#642-644) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#541-543) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#649-651) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#527-529) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#635-637) is never used and should be removed
Strings.toHexString(uint256) (#758-769) is never used and should be removed
Strings.toString(uint256) (#733-753) is never used and should be removed
Remove unused functions.
Additional information: link
Variable 'ECDSA.recover(bytes32,bytes).r (#103)' in ECDSA.recover(bytes32,bytes) (#98-127) potentially used before declaration: r = mload(uint256)(signature + 0x20) (#120)
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
ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1788-1807) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,ERC20Permit: expired deadline) (#1797)
Avoid relying on block.timestamp.
Additional information: link
ECDSA.recover(bytes32,bytes) (#98-127) uses assembly
- INLINE ASM (#108-112)
- INLINE ASM (#119-122)
ECDSA.recover(bytes32,bytes32,bytes32) (#136-148) uses assembly
- INLINE ASM (#143-146)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.8.6', '^0.8.0']
- ^0.8.0 (#4)
- ^0.8.0 (#28)
- ^0.8.0 (#71)
- ^0.8.0 (#215)
- ^0.8.0 (#315)
- ^0.8.0 (#375)
- ^0.8.0 (#670)
- ^0.8.0 (#695)
- ^0.8.0 (#722)
- ^0.8.0 (#790)
- ^0.8.0 (#872)
- ^0.8.0 (#899)
- ^0.8.0 (#1251)
- ^0.8.0 (#1512)
- ^0.8.0 (#1597)
- ^0.8.0 (#1686)
- ^0.8.0 (#1716)
- ^0.8.0 (#1757)
- ^0.8.0 (#1838)
- 0.8.6 (#1924)
Use one Solidity version.
Additional information: link
name() should be declared external:
- ERC20.name() (#952-954)
symbol() should be declared external:
- ERC20.symbol() (#960-962)
decimals() should be declared external:
- ERC20.decimals() (#977-979)
totalSupply() should be declared external:
- ERC20.totalSupply() (#984-986)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#991-993)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#1003-1006)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#1022-1025)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#1040-1054)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#1068-1071)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#1087-1095)
getRoleMember(bytes32,uint256) should be declared external:
- AccessControlEnumerable.getRoleMember(bytes32,uint256) (#1550-1552)
getRoleMemberCount(bytes32) should be declared external:
- AccessControlEnumerable.getRoleMemberCount(bytes32) (#1558-1560)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#1729-1731)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#1744-1751)
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) should be declared external:
- ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1788-1807)
nonces(address) should be declared external:
- ERC20Permit.nonces(address) (#1812-1814)
mint(address,uint256) should be declared external:
- ERC20PresetMinterPauser.mint(address,uint256) (#1880-1883)
pause() should be declared external:
- ERC20PresetMinterPauser.pause() (#1894-1897)
unpause() should be declared external:
- ERC20PresetMinterPauser.unpause() (#1908-1911)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Last post in Twitter was more than 30 days ago
Unable to find Youtube account