Swan Finance Community Token Token Logo

Swan [Swan Finance Community] Token

ALERT: potential scam

About Swan

Listings

Not Found
Token 21 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 31 May 2022

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


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


Contract ownership is not renounced (belongs to a wallet)

SwanToken._takeInviterFee(address,address,uint256) (#243-264) performs a multiplication on the result of a division:
-curTAmount = tAmount.mul(rate).div(_totalFeeRatio) (#259)
-curRAmount = curTAmount.mul(currentRate) (#260)
Consider ordering multiplication before division.

Additional information: link

SwanToken.allowance(address,address).owner (#195) shadows:
- Ownable.owner() (#87-89) (function)
SwanToken._approve(address,address,uint256).owner (#456) shadows:
- Ownable.owner() (#87-89) (function)
Rename the local variables that shadow another component.

Additional information: link

SwanToken.setTaxFee(uint256) (#339-341) should emit an event for:
- taxFee = _taxFee (#340)
SwanToken.setElseFee(uint256,uint256,uint256,uint256,uint256) (#343-352) should emit an event for:
- marketFee = _marketFee (#346)
- boardFee = _boardFee (#347)
- fundFee = _fundFee (#348)
- liquidFee = _liquidFee (#349)
- returnBackFee = _returnBackFee (#350)
- elseFee = elseTotal (#351)
SwanToken.setLimitAmount(uint256) (#358-360) should emit an event for:
- limitAmount = _limitAmount (#359)
Emit an event for critical parameter changes.

Additional information: link

SwanToken.setMainAddr(address).addr (#374) lacks a zero-check on :
- mainAddr = addr (#375)
SwanToken.setFeeAddr(address,address,address,address)._boardAddr (#378) lacks a zero-check on :
- boardAddr = _boardAddr (#379)
SwanToken.setFeeAddr(address,address,address,address)._liquidAddr (#378) lacks a zero-check on :
- liquidAddr = _liquidAddr (#380)
SwanToken.setFeeAddr(address,address,address,address)._fundAddr (#378) lacks a zero-check on :
- fundAddr = _fundAddr (#381)
SwanToken.setFeeAddr(address,address,address,address)._returnBackAddr (#378) lacks a zero-check on :
- returnBackAddr = _returnBackAddr (#382)
Check that the address is not zero.

Additional information: link

SwanToken.mappingInviter(address[]) (#506-512) has external calls inside a loop: account = ISwan(oldSwan).inviter(_sender[i]) (#509)
Favor pull over push strategy for external calls.

Additional information: link

SwanToken.isContract(address) (#199-205) uses assembly
- INLINE ASM (#201-203)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256) (#46-48) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#50-53) is never used and should be removed
Remove unused functions.

Additional information: link

SwanToken._rTotal (#127) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
SwanToken._previousTaxFee (#135) is set pre-construction with a non-constant function or state variable:
- taxFee
SwanToken.elseFee (#144) is set pre-construction with a non-constant function or state variable:
- marketFee + boardFee + fundFee + liquidFee + returnBackFee
SwanToken._previousElseFee (#145) is set pre-construction with a non-constant function or state variable:
- elseFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Parameter SwanToken.setFeeSwitch(bool,bool,bool,bool)._buySwitch (#332) is not in mixedCase
Parameter SwanToken.setFeeSwitch(bool,bool,bool,bool)._sellSwith (#332) is not in mixedCase
Parameter SwanToken.setFeeSwitch(bool,bool,bool,bool)._contractSwitch (#332) is not in mixedCase
Parameter SwanToken.setFeeSwitch(bool,bool,bool,bool)._transLimitSwitch (#332) is not in mixedCase
Parameter SwanToken.setTaxFee(uint256)._taxFee (#339) is not in mixedCase
Parameter SwanToken.setElseFee(uint256,uint256,uint256,uint256,uint256)._marketFee (#343) is not in mixedCase
Parameter SwanToken.setElseFee(uint256,uint256,uint256,uint256,uint256)._boardFee (#343) is not in mixedCase
Parameter SwanToken.setElseFee(uint256,uint256,uint256,uint256,uint256)._fundFee (#343) is not in mixedCase
Parameter SwanToken.setElseFee(uint256,uint256,uint256,uint256,uint256)._liquidFee (#343) is not in mixedCase
Parameter SwanToken.setElseFee(uint256,uint256,uint256,uint256,uint256)._returnBackFee (#343) is not in mixedCase
Parameter SwanToken.setLimitAmount(uint256)._limitAmount (#358) is not in mixedCase
Parameter SwanToken.setFeeAddr(address,address,address,address)._boardAddr (#378) is not in mixedCase
Parameter SwanToken.setFeeAddr(address,address,address,address)._liquidAddr (#378) is not in mixedCase
Parameter SwanToken.setFeeAddr(address,address,address,address)._fundAddr (#378) is not in mixedCase
Parameter SwanToken.setFeeAddr(address,address,address,address)._returnBackAddr (#378) is not in mixedCase
Parameter SwanToken.calculateTaxFee(uint256)._amount (#428) is not in mixedCase
Parameter SwanToken.calculateElseFee(uint256)._amount (#432) is not in mixedCase
Parameter SwanToken.mappingInviter(address[])._sender (#506) is not in mixedCase
Variable SwanToken._tTaxFeeTotal (#128) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable SwanToken._transferStandard(address,address,uint256,bool).rTransferAmount (#219) is too similar to SwanToken._transferStandard(address,address,uint256,bool).tTransferAmount (#219)
Variable SwanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#412) is too similar to SwanToken._getTValues(uint256).tTransferAmount (#402)
Variable SwanToken._getValues(uint256).rTransferAmount (#393) is too similar to SwanToken._getValues(uint256).tTransferAmount (#392)
Variable SwanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#412) is too similar to SwanToken._transferStandard(address,address,uint256,bool).tTransferAmount (#219)
Variable SwanToken._transferStandard(address,address,uint256,bool).rTransferAmount (#219) is too similar to SwanToken._getTValues(uint256).tTransferAmount (#402)
Variable SwanToken._getValues(uint256).rTransferAmount (#393) is too similar to SwanToken._getTValues(uint256).tTransferAmount (#402)
Variable SwanToken._getValues(uint256).rTransferAmount (#393) is too similar to SwanToken._transferStandard(address,address,uint256,bool).tTransferAmount (#219)
Variable SwanToken._takeReturnBack(address,uint256).rReturnBack (#327) is too similar to SwanToken._takeReturnBack(address,uint256).tReturnBack (#325)
Variable SwanToken.reflectionFromToken(uint256,bool).rTransferAmount (#293) is too similar to SwanToken._getTValues(uint256).tTransferAmount (#402)
Variable SwanToken.reflectionFromToken(uint256,bool).rTransferAmount (#293) is too similar to SwanToken._getValues(uint256).tTransferAmount (#392)
Variable SwanToken.reflectionFromToken(uint256,bool).rTransferAmount (#293) is too similar to SwanToken._transferStandard(address,address,uint256,bool).tTransferAmount (#219)
Variable SwanToken._transferStandard(address,address,uint256,bool).rTransferAmount (#219) is too similar to SwanToken._getValues(uint256).tTransferAmount (#392)
Variable SwanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#412) is too similar to SwanToken._getValues(uint256).tTransferAmount (#392)
Prevent variables from having similar names.

Additional information: link

SwanToken._tOwned (#116) is never used in SwanToken (#112-515)
SwanToken._decimals (#132) is never used in SwanToken (#112-515)
Remove unused state variables.

Additional information: link

SwanToken._decimals (#132) should be constant
SwanToken._name (#130) should be constant
SwanToken._symbol (#131) should be constant
SwanToken._tTotal (#126) should be constant
SwanToken._totalFeeRatio (#137) should be constant
SwanToken.oldSwan (#147) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#96-98)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#100-103)
name() should be declared external:
- SwanToken.name() (#170-172)
symbol() should be declared external:
- SwanToken.symbol() (#174-176)
decimals() should be declared external:
- SwanToken.decimals() (#178-180)
totalSupply() should be declared external:
- SwanToken.totalSupply() (#182-184)
transfer(address,uint256) should be declared external:
- SwanToken.transfer(address,uint256) (#190-193)
allowance(address,address) should be declared external:
- SwanToken.allowance(address,address) (#195-197)
approve(address,uint256) should be declared external:
- SwanToken.approve(address,uint256) (#266-269)
transferFrom(address,address,uint256) should be declared external:
- SwanToken.transferFrom(address,address,uint256) (#271-275)
increaseAllowance(address,uint256) should be declared external:
- SwanToken.increaseAllowance(address,uint256) (#277-280)
decreaseAllowance(address,uint256) should be declared external:
- SwanToken.decreaseAllowance(address,uint256) (#282-285)
reflectionFromToken(uint256,bool) should be declared external:
- SwanToken.reflectionFromToken(uint256,bool) (#287-296)
setFeeSwitch(bool,bool,bool,bool) should be declared external:
- SwanToken.setFeeSwitch(bool,bool,bool,bool) (#332-337)
setTaxFee(uint256) should be declared external:
- SwanToken.setTaxFee(uint256) (#339-341)
setMappingOpt(address,bool) should be declared external:
- SwanToken.setMappingOpt(address,bool) (#354-356)
setLimitAmount(uint256) should be declared external:
- SwanToken.setLimitAmount(uint256) (#358-360)
setExcludedFee(address,bool) should be declared external:
- SwanToken.setExcludedFee(address,bool) (#362-364)
setExcludedInviter(address,bool) should be declared external:
- SwanToken.setExcludedInviter(address,bool) (#366-368)
setBlackList(address,bool) should be declared external:
- SwanToken.setBlackList(address,bool) (#370-372)
setMainAddr(address) should be declared external:
- SwanToken.setMainAddr(address) (#374-376)
setFeeAddr(address,address,address,address) should be declared external:
- SwanToken.setFeeAddr(address,address,address,address) (#378-383)
setInviter(address,address) should be declared external:
- SwanToken.setInviter(address,address) (#436-439)
mappingInviter(address[]) should be declared external:
- SwanToken.mappingInviter(address[]) (#506-512)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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

Contract has 3% buy tax and 0% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


Average 30d PancakeSwap volume is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


Token is deployed only at one blockchain


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 Swan