OpenOcean is the world's first DeFi & CeFi full aggregator. OpenOcean's intelligent routing algorithm finds the best price and lowest slippage for traders across centralized and decentralized exchanges with no additional fees. As one-stop entrance, we aggregate major exchanges DEXes across 5 public chains, Ethereum, Ethereum Layer 2 (Loopring), Binance Smart Chain, Solana, Polygon, Ontology, TRON, and CEX on Binance. OpenOcean will continue to support cross-chain swaps via bridges and cross-chain protocols, and more cross-chain protocols and aggregate more DeFi & CeFi products such as derivative, lending & Insurance products.
The vision of OpenOcean is to build a full aggregator for crypto trading that serves as a bridge connecting the isolated islands in the current fragmented DeFi and CeFi markets. Regardless of being a small individual investor or large institution, everyone should have the opportunity to trade at the best prices and apply their own investment strategies on various crypto asset classes.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
name() should be declared external:
- ERC20.name() (#187-189)
symbol() should be declared external:
- ERC20.symbol() (#195-197)
totalSupply() should be declared external:
- ERC20.totalSupply() (#219-221)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#226-228)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#238-241)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#246-248)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#257-260)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#275-283)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#297-300)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#316-322)
Use the external attribute for functions never called from the contract.
Additional information: link
Redundant expression "this (#126)" inContext (#120-129)
Remove redundant statements if they congest code but offer no value.
Additional information: link
OpenOcean.constructor().totalSupply (#438) shadows:
- ERC20.totalSupply() (#219-221) (function)
- IERC20.totalSupply() (#16) (function)
Rename the local variables that shadow another component.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.8.1', '^0.8.0']
- ^0.8.0 (#7)
- ^0.8.0 (#83)
- ^0.8.0 (#108)
- ^0.8.0 (#131)
- 0.8.1 (#433)
Use one Solidity version.
Additional information: link
Context._msgData() (#125-128) is never used and should be removed
ERC20._burn(address,uint256) (#382-393) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#7) allows old versions
Pragma version^0.8.0 (#83) allows old versions
Pragma version^0.8.0 (#108) allows old versions
Pragma version^0.8.0 (#131) allows old versions
Pragma version0.8.1 (#433) allows old versions
solc-0.8.1 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