CUSD is a fully-backed stablecoin that aims to become a cross-chain unit of account that fulfills the demand for cross-chain liquidity in DeFi.
In order to mint 1 CUSD, a total of $1 worth of the collateralized assets must be deposited into the CUSD Reserve smart contract. Specifically, in the initial phase, the collateral ratio to mint 1 CUSD will be $1 worth of fiat-backed stablecoins - BUSD (on BNB Chain) and USDC (on Solana and Ethereum).
IERC721 (#317-338) has incorrect ERC20 function interface:IERC721.transferFrom(address,address,uint256) (#333-337)
Set the appropriate return values and types for the defined ERC20 functions.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
CUSD.setMinter(address).newMinter (#1138) lacks a zero-check on :
- _minter = newMinter (#1140)
Check that the address is not zero.
Additional information: link
Withdrawable.withdraw(address,address,uint256) (#830-849) ignores return value by destination_.call{value: amount_}() (#843)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
CUSD.allowance(address,address).owner (#1002) shadows:
- Ownable.owner() (#646-648) (function)
CUSD._approve(address,address,uint256).owner (#1222) shadows:
- Ownable.owner() (#646-648) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in Withdrawable.withdraw(address,address,uint256) (#830-849):
External calls:
- destination_.call{value: amount_}() (#843)
- IERC20(token_).safeTransfer(destination_,amount_) (#845)
External calls sending eth:
- destination_.call{value: amount_}() (#843)
Event emitted after the call(s):
- Withdrawn(_msgSender(),destination_,token_,amount_) (#848)
Reentrancy in Withdrawable.withdrawNft(address,address,uint256) (#855-861):
External calls:
- IERC721(token_).transferFrom(address(this),destination_,tokenId_) (#858)
Event emitted after the call(s):
- Withdrawn(_msgSender(),destination_,token_,1) (#860)
Apply the check-effects-interactions pattern.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#535-555) uses assembly
- INLINE ASM (#547-550)
Do not use evm assembly.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#394-399):
- (success) = recipient.call{value: amount}() (#397)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#462-473):
- (success,returndata) = target.call{value: value}(data) (#471)
Low level call in Address.functionStaticCall(address,bytes,string) (#491-500):
- (success,returndata) = target.staticcall(data) (#498)
Low level call in Address.functionDelegateCall(address,bytes,string) (#518-527):
- (success,returndata) = target.delegatecall(data) (#525)
Low level call in Withdrawable.withdraw(address,address,uint256) (#830-849):
- destination_.call{value: amount_}() (#843)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Blacklistable._blacklisted (#775) is not in mixedCase
Constant CUSD._name (#893) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CUSD._symbol (#894) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CUSD._decimals (#895) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#611)" inContext (#605-614)
Remove redundant statements if they congest code but offer no value.
Additional information: link
acceptOwnership() should be declared external:
- Ownable.acceptOwnership() (#664-670)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#677-680)
name() should be declared external:
- CUSD.name() (#924-926)
symbol() should be declared external:
- CUSD.symbol() (#932-934)
decimals() should be declared external:
- CUSD.decimals() (#949-951)
totalSupply() should be declared external:
- CUSD.totalSupply() (#956-958)
balanceOf(address) should be declared external:
- CUSD.balanceOf(address) (#963-965)
minter() should be declared external:
- CUSD.minter() (#970-972)
transfer(address,uint256) should be declared external:
- CUSD.transfer(address,uint256) (#990-997)
allowance(address,address) should be declared external:
- CUSD.allowance(address,address) (#1002-1004)
approve(address,uint256) should be declared external:
- CUSD.approve(address,uint256) (#1013-1020)
transferFrom(address,address,uint256) should be declared external:
- CUSD.transferFrom(address,address,uint256) (#1035-1044)
increaseAllowance(address,uint256) should be declared external:
- CUSD.increaseAllowance(address,uint256) (#1058-1065)
decreaseAllowance(address,uint256) should be declared external:
- CUSD.decreaseAllowance(address,uint256) (#1081-1088)
mint(address,uint256) should be declared external:
- CUSD.mint(address,uint256) (#1096-1102)
burn(uint256) should be declared external:
- CUSD.burn(uint256) (#1109-1113)
freeze() should be declared external:
- CUSD.freeze() (#1121-1123)
unfreeze() should be declared external:
- CUSD.unfreeze() (#1131-1133)
setMinter(address) should be declared external:
- CUSD.setMinter(address) (#1138-1142)
Use the external attribute for functions never called from the contract.
Additional information: link
Address.functionCall(address,bytes) (#419-421) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#448-454) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#508-510) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#518-527) is never used and should be removed
Address.functionStaticCall(address,bytes) (#481-483) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#491-500) is never used and should be removed
Address.sendValue(address,uint256) (#394-399) is never used and should be removed
CUSD._afterTokenTransfer(address,address,uint256) (#1248-1252) is never used and should be removed
Context._msgData() (#610-613) is never used and should be removed
SafeMath.div(uint256,uint256) (#146-148) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#202-211) is never used and should be removed
SafeMath.mod(uint256,uint256) (#162-164) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#228-237) is never used and should be removed
SafeMath.mul(uint256,uint256) (#132-134) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#33-39) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#75-80) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#87-92) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#58-68) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#46-51) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#2) allows old versions
solc-0.8.13 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
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Young tokens have high risks of 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 CoinMarketCap listing / rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account