ShinFlokiV2 Token Logo

SFLOKIV2 [ShinFlokiV2] Token

ALERT: unclassified scam

About SFLOKIV2

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 15 April 2022

report
Token seems to be a scam (type: unclassified scam).


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

ShinFlokiV2.pendingRewards(address,uint256) (#1218-1231) uses a dangerous strict equality:
- info.lastHarvestBlock < contractCreationBlock || info.currentlyStaked == false (#1221)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

ShinFlokiV2.constructor(address,address)._collectionAddress (#1193) lacks a zero-check on :
- collectionAddress = _collectionAddress (#1199)
Check that the address is not zero.

Additional information: link

ShinFlokiV2.stake(uint256) (#1233-1255) has external calls inside a loop: IERC721(collectionAddress).safeTransferFrom(_msgSender(),address(this),tokenId) (#1234)
ShinFlokiV2.stake(uint256) (#1233-1255) has external calls inside a loop: require(bool,string)(IERC721(collectionAddress).ownerOf(tokenId) == address(this),ERC20: Error while transferring token) (#1235-1236)
ShinFlokiV2.unstake(uint256) (#1275-1291) has external calls inside a loop: IERC721(collectionAddress).safeTransferFrom(address(this),_msgSender(),tokenId) (#1281)
ShinFlokiV2.unstake(uint256) (#1275-1291) has external calls inside a loop: require(bool,string)(IERC721(collectionAddress).ownerOf(tokenId) == _msgSender(),ERC20: Error while transferring token) (#1282-1283)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in ShinFlokiV2.stake(uint256) (#1233-1255):
External calls:
- IERC721(collectionAddress).safeTransferFrom(_msgSender(),address(this),tokenId) (#1234)
State variables written after the call(s):
- _mint(_msgSender(),welcomeBonusAmount) (#1250)
- _balances[account] += amount (#1052)
- _mint(_msgSender(),welcomeBonusAmount) (#1250)
- _totalSupply += amount (#1051)
- amountOfStakers += 1 (#1242)
- indexOfTokenIdInStakePortfolio[tokenId] = indexOfNewElement (#1248)
- info.stakedAtBlock = block.number (#1238)
- info.lastHarvestBlock = block.number (#1239)
- info.currentlyStaked = true (#1240)
- stakePortfolioByUser[_msgSender()].push(tokenId) (#1246)
- tokensStaked += 1 (#1245)
- tokensStakedByUser[_msgSender()] += 1 (#1244)
- welcomeBonusCollected[tokenId] = true (#1251)
Reentrancy in ShinFlokiV2.unstake(uint256) (#1275-1291):
External calls:
- IERC721(collectionAddress).safeTransferFrom(address(this),_msgSender(),tokenId) (#1281)
State variables written after the call(s):
- amountOfStakers -= 1 (#1285)
- stakePortfolioByUser[_msgSender()][indexOfTokenIdInStakePortfolio[tokenId]] = 0 (#1289)
- tokensStaked -= 1 (#1288)
- tokensStakedByUser[_msgSender()] -= 1 (#1287)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ShinFlokiV2.stake(uint256) (#1233-1255):
External calls:
- IERC721(collectionAddress).safeTransferFrom(_msgSender(),address(this),tokenId) (#1234)
Event emitted after the call(s):
- NFTStaked(_msgSender(),tokenId) (#1254)
- Transfer(address(0),account,amount) (#1053)
- _mint(_msgSender(),welcomeBonusAmount) (#1250)
Reentrancy in ShinFlokiV2.unstake(uint256) (#1275-1291):
External calls:
- IERC721(collectionAddress).safeTransferFrom(address(this),_msgSender(),tokenId) (#1281)
Event emitted after the call(s):
- NFTUnstaked(_msgSender(),tokenId) (#1290)
Apply the check-effects-interactions pattern.

Additional information: link

Void constructor called in ShinFlokiV2.constructor(address,address) (#1193-1204):
- AccessControl() (#1193)
Remove the constructor call.

Additional information: link

ShinFlokiV2.pendingRewards(address,uint256) (#1218-1231) compares to a boolean constant:
-info.lastHarvestBlock < contractCreationBlock || info.currentlyStaked == false (#1221)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.2']
- ^0.8.0 (#7)
- ^0.8.0 (#37)
- ^0.8.0 (#67)
- ^0.8.0 (#95)
- ^0.8.0 (#240)
- ^0.8.0 (#271)
- ^0.8.0 (#341)
- ^0.8.0 (#432)
- ^0.8.0 (#459)
- ^0.8.0 (#684)
- ^0.8.0 (#769)
- ^0.8.0 (#799)
- ^0.8.2 (#1155)
Use one Solidity version.

Additional information: link

ShinFlokiV2.stake(uint256) (#1233-1255) has costly operations inside a loop:
- amountOfStakers += 1 (#1242)
ShinFlokiV2.stake(uint256) (#1233-1255) has costly operations inside a loop:
- tokensStaked += 1 (#1245)
ERC20._mint(address,uint256) (#1046-1056) has costly operations inside a loop:
- _totalSupply += amount (#1051)
ShinFlokiV2.unstake(uint256) (#1275-1291) has costly operations inside a loop:
- amountOfStakers -= 1 (#1285)
ShinFlokiV2.unstake(uint256) (#1275-1291) has costly operations inside a loop:
- tokensStaked -= 1 (#1288)
Use a local variable to hold the loop computation result.

Additional information: link

AccessControl._setRoleAdmin(bytes32,bytes32) (#648-652) is never used and should be removed
Context._msgData() (#449-451) is never used and should be removed
Strings.toHexString(uint256) (#307-318) is never used and should be removed
Strings.toString(uint256) (#282-302) 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 (#37) allows old versions
Pragma version^0.8.0 (#67) allows old versions
Pragma version^0.8.0 (#95) allows old versions
Pragma version^0.8.0 (#240) allows old versions
Pragma version^0.8.0 (#271) allows old versions
Pragma version^0.8.0 (#341) allows old versions
Pragma version^0.8.0 (#432) allows old versions
Pragma version^0.8.0 (#459) allows old versions
Pragma version^0.8.0 (#684) allows old versions
Pragma version^0.8.0 (#769) allows old versions
Pragma version^0.8.0 (#799) allows old versions
Pragma version^0.8.2 (#1155) 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

ShinFlokiV2.constructor(address,address) (#1193-1204) uses literals with too many digits:
- _mint(owner,1500000 * 10 ** 18) (#1194)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

onERC721Received(address,address,uint256,bytes) should be declared external:
- ERC721Holder.onERC721Received(address,address,uint256,bytes) (#52-59)
grantRole(bytes32,address) should be declared external:
- AccessControl.grantRole(bytes32,address) (#584-586)
revokeRole(bytes32,address) should be declared external:
- AccessControl.revokeRole(bytes32,address) (#597-599)
renounceRole(bytes32,address) should be declared external:
- AccessControl.renounceRole(bytes32,address) (#615-619)
name() should be declared external:
- ERC20.name() (#856-858)
symbol() should be declared external:
- ERC20.symbol() (#864-866)
decimals() should be declared external:
- ERC20.decimals() (#881-883)
totalSupply() should be declared external:
- ERC20.totalSupply() (#888-890)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#895-897)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#907-910)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#915-917)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#926-929)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#944-958)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#972-975)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#991-999)
mint(address,uint256) should be declared external:
- ShinFlokiV2.mint(address,uint256) (#1210-1212)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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 Telegram and Twitter accounts


Unable to find website, listings and other project-related information


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SFLOKIV2