SPINEL Token Logo

SPN [SPINEL] Token

About SPN

Listings

Token 14 months
white paper

$Spinel, a Decentralized Token, will direct the development of technology, hardware, and software.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links

SPN.addLiquidity(uint256,uint256) (SPN.sol#501-516) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SPN.sol#507-514)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#97)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)


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.

SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.6.2 (SafeMathUint.sol#3) 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

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Low level call in SPN.swapAndSendDividends(uint256) (SPN.sol#518-526):
- (success) = address(dividendTracker).call{value: dividends}() (SPN.sol#521)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter SPNDividendTracker.getAccount(address)._account (SPN.sol#589) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

SPN._transfer(address,address,uint256) (SPN.sol#343-455) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (SPN.sol#428)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (SPN.sol#432)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in SPN.updateDividendTracker(address) (SPN.sol#194-209):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (SPN.sol#201)
- newDividendTracker.excludeFromDividends(address(this)) (SPN.sol#202)
- newDividendTracker.excludeFromDividends(owner()) (SPN.sol#203)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (SPN.sol#204)
State variables written after the call(s):
- dividendTracker = newDividendTracker (SPN.sol#208)
Apply the check-effects-interactions pattern.

Additional information: link

SPN._transfer(address,address,uint256).lastProcessedIndex (SPN.sol#448) 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

SPN.addLiquidity(uint256,uint256) (SPN.sol#501-516) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SPN.sol#507-514)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#46) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.

Additional information: link

Variable 'SPN._transfer(address,address,uint256).lastProcessedIndex (SPN.sol#448)' in SPN._transfer(address,address,uint256) (SPN.sol#343-455) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SPN.sol#449)
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 SPN.swapAndLiquify(uint256) (SPN.sol#457-478):
External calls:
- swapTokensForEth(half) (SPN.sol#469)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SPN.sol#491-497)
- addLiquidity(otherHalf,newBalance) (SPN.sol#475)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SPN.sol#507-514)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (SPN.sol#475)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SPN.sol#507-514)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (SPN.sol#475)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SPN.updateDividendTracker(address) (SPN.sol#194-209):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (SPN.sol#201)
- newDividendTracker.excludeFromDividends(address(this)) (SPN.sol#202)
- newDividendTracker.excludeFromDividends(owner()) (SPN.sol#203)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (SPN.sol#204)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (SPN.sol#206)
Apply the check-effects-interactions pattern.

Additional information: link

SPNDividendTracker.canAutoClaim(uint256) (SPN.sol#653-659) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (SPN.sol#654)
- block.timestamp.sub(lastClaimTime) >= claimWait (SPN.sol#658)
Avoid relying on block.timestamp.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#90) is too similar to SPNDividendTracker.getAccount(address).withdrawableDividends (SPN.sol#594)
Prevent variables from having similar names.

Additional information: link

SPNDividendTracker.getAccountAtIndex(uint256) (SPN.sol#634-651) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (SPN.sol#645)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-93)
Remove unused state variables.

Additional information: link

SPN.tradingEnabledTimestamp (SPN.sol#90) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

process(uint256) should be declared external:
- SPNDividendTracker.process(uint256) (SPN.sol#678-723)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find code repository for the project


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


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

Price for SPN