SafeBank is the initial cryptocurrency banking feature that we’re implementing for investors who want powerful tools that give them more finite control over their investment. It’s a new Dapp from SafeBitcoin. Our long term goal is to bring greater fundamental value to the SafeBTC token and ultimately shift the global mindset of potential investors in a direction that is centered on expansive passive income potential while giving them more control over their investment.
While we continue to push for the goal of making SafeBitcoin one of the top cryptocurrencies in the world, we strive for introducing even more value through fundamentals. This is why the SafeBank branch of our ecosystem combines the immediate passive income of yield reflection from standard tokenomics with the long term high yield passive income of farming a new token with its own DeFi rewards.
SafeBank is just the beginning of a larger roadmap. Future development will include SafeBank Lending, a SafeBitcoin mobile wallet, a specialized SafeBitcoin exchange app, and a SafeBitcoin Visa Card. All of these pieces encapsulate the essence of our vision to build a powerful ecosystem where investors safely and productively control their own passive income.
We want SafeBank to be like a bank but with greater benefits that can only be possible with cryptocurrency for investors but more importantly, we want it to be a better “bank” than run-of-the-mill fiat banks. Fiat based banks around the world enforce long lock periods for money that is put into their savings accounts or CDs. While these do yield some interest, their annual percentage yield is often negligible.
Comparatively, SafeBank brings similar yielded interest in the form of “farming” by staking SafeBTC LP but with exponentially higher APY. When any amount of SafeBTC LP is staked for the farming of SafeBank tokens, a significantly higher and stable APY is applied but without enforcing unnecessarily long locked durations. This means that investors can choose their own staking period and ultimately keep full control of their passive income.
In addition to receiving SafeBank tokens as the SafeBTC LP farming rewards, each transaction of the SafeBank token on BEP-20 or ERC-20 will reward holders with a percentage of a stable USD coin as part of its own tokenomics model.
The passive income potential of the SafeBitcoin ecosystem comes from three main sources: SafeBTC tokenomics, SafeBTC LP (farming SafeBank tokens), and SafeBank tokenomics. We’re serious about building a powerful ecosystem where investors think “passive earning”, “cryptocurrency banking”, and “high yield farming” when they hear or see the SafeBTC, SafeBitcoin, or SafeBank brand names.
SafeBank.swapAndSendDividends(uint256) (#1981-2001) sends eth to arbitrary user
Dangerous calls:
- (sent,data) = diviTracker.call{value: newBalance}() (#1994)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1225-1249):
External calls:
- (sent,data) = user.call{value: _withdrawableDividend}() (#1232)
- success = IERC20(DividendToken).transfer(user,_withdrawableDividend) (#1236)
External calls sending eth:
- (sent,data) = user.call{value: _withdrawableDividend}() (#1232)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1241)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
SafeBank.swapAndLiquify(uint256) (#1821-1902) performs a multiplication on the result of a division:
-wallet3feePortion = otherHalf.div(totalFees).mul(wallet3Fee) (#1846)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in SafeBank.updateDividendTracker(address) (#1575-1589):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1582)
- newDividendTracker.excludeFromDividends(address(this)) (#1583)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1584)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1588)
Apply the check-effects-interactions pattern.
Additional information: link
SafeBank._transfer(address,address,uint256).lastProcessedIndex (#1811) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
SafeBank.addLiquidity(uint256,uint256) (#1963-1978) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#1969-1976)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#1168) shadows:
- ERC20._symbol (#637) (state variable)
Rename the local variables that shadow another component.
Additional information: link
SafeBank.updateFees(uint256,uint256,uint256,uint256,uint256) (#1555-1562) should emit an event for:
- liquidityFee = _liquidityFee (#1557)
- wallet1Fee = _wallet1Fee (#1558)
- wallet2Fee = _wallet2Fee (#1559)
- wallet3Fee = _wallet3Fee (#1560)
- totalFees = tokenRewardsFee.add(liquidityFee).add(wallet1Fee).add(wallet2Fee).add(wallet3Fee) (#1561)
Emit an event for critical parameter changes.
Additional information: link
SafeBankDividendTracker.updateTokenForDividend(address).newAddress (#2035) lacks a zero-check on :
- DividendToken = newAddress (#2036)
Check that the address is not zero.
Additional information: link
Variable 'SafeBank.swapAndLiquify(uint256).sent (#1859)' in SafeBank.swapAndLiquify(uint256) (#1821-1902) potentially used before declaration: (sent,data) = wallet2Address.call{value: wallet2feeBalance}() (#1874)
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
Reentrancy in SafeBank.whitelistDxSale(address,address) (#1564-1573):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1567)
- dividendTracker.excludeFromDividends(_routerAddress) (#1571)
State variables written after the call(s):
- excludeFromFees(_routerAddress,true) (#1572)
- _isExcludedFromFees[account] = excluded (#1599)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafeBank.whitelistDxSale(address,address) (#1564-1573):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1567)
- dividendTracker.excludeFromDividends(_routerAddress) (#1571)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1601)
- excludeFromFees(_routerAddress,true) (#1572)
Apply the check-effects-interactions pattern.
Additional information: link
SafeBankDividendTracker.canAutoClaim(uint256) (#2140-2146) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2141)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2145)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '^0.7.0', '^0.7.6']
- ^0.7.0 (#15)
- >=0.6.0<0.8.0 (#93)
- >=0.6.2 (#118)
- >=0.6.2 (#215)
- >=0.5.0 (#260)
- >=0.5.0 (#279)
- ^0.7.6 (#334)
- ^0.7.0 (#400)
- ^0.7.6 (#467)
- ^0.7.6 (#492)
- ^0.7.6 (#534)
- ^0.7.6 (#580)
- ^0.7.0 (#598)
- ^0.7.0 (#905)
- ^0.7.6 (#1122)
- ^0.7.6 (#1336)
Use one Solidity version.
Additional information: link
SafeMathInt.mul(int256,int256) (#543-551) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.7.0 (#905) 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
Low level call in SafeBank.swapAndSendDividends(uint256) (#1981-2001):
- (sent,data) = diviTracker.call{value: newBalance}() (#1994)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter SafeBankDividendTracker.getAccount(address)._account (#2064) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#111)" inContext (#105-114)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1226) is too similar to SafeBankDividendTracker.getAccount(address).withdrawableDividends (#2069)
Prevent variables from having similar names.
Additional information: link
SafeBankDividendTracker.getAccountAtIndex(uint256) (#2109-2127) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2120)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#1148) is never used in SafeBankDividendTracker (#2005-2225)
Remove unused state variables.
Additional information: link
SafeBank.maxSellTransactionAmount (#1361) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- SafeBankDividendTracker.process(uint256) (#2165-2210)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
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
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
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Discord account