GOLDEN PIG Token Logo

GOLPIG [GOLDEN PIG] Token

ALERT: phishing / airdrop scam

About GOLPIG

Listings

Not Found
Token 2 years
white paper

GOLDEN PIG - Push blockchain to mainstream with layer-2 scaling technology.

Social

Laser Scorebeta Last Audit: 13 April 2022

report
Token seems to be a scam (type: phishing / airdrop scam).

Anti-Scam

Links


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

GOLDENPIG.airdrop(address) (#1046-1059) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1055)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in GOLDENPIG._transfer(address,address,uint256) (#608-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#974)
State variables written after the call(s):
- removeAllFee() (#638)
- _liquidityFee = 0 (#862)
- _liquidityFee = _buyLiquidityFee (#640)
- removeAllFee() (#645)
- _liquidityFee = 0 (#862)
- _liquidityFee = _sellLiquidityFee (#647)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _liquidityFee = _previousLiquidityFee (#868)
- _liquidityFee = 0 (#862)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#838)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#763)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#784)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#752)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#753)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#754)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rTotal = _rTotal.sub(rFee) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#840)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#773)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#783)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#764)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#785)
Apply the check-effects-interactions pattern.

Additional information: link

GOLDENPIG.swapTokenForTokens(address,address,uint256) (#707-710) ignores return value by tokenC.transfer(account,amount) (#709)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Contract ownership is not renounced (belongs to a wallet)

Low level call in Address.sendValue(address,uint256) (#105-111):
- (success) = recipient.call{value: amount}() (#109)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#131-148):
- (success,returndata) = target.call{value: weiValue}(data) (#134)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

GOLDENPIG.allowance(address,address).owner (#512) shadows:
- Ownable.owner() (#165-167) (function)
GOLDENPIG._approve(address,address,uint256).owner (#600) shadows:
- Ownable.owner() (#165-167) (function)
Rename the local variables that shadow another component.

Additional information: link

GOLDENPIG._rTotal (#428) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
GOLDENPIG._previousTaxFee (#437) is set pre-construction with a non-constant function or state variable:
- _taxFee
GOLDENPIG._previousLiquidityFee (#440) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GOLDENPIG._buyTaxFee (#442) is set pre-construction with a non-constant function or state variable:
- _taxFee
GOLDENPIG._buyLiquidityFee (#443) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GOLDENPIG._sellTaxFee (#445) is set pre-construction with a non-constant function or state variable:
- _taxFee
GOLDENPIG._sellLiquidityFee (#446) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
GOLDENPIG._previousBurnFee (#449) is set pre-construction with a non-constant function or state variable:
- _burnFee
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

GOLDENPIG.swapTokens(uint256) (#658-667) performs a multiplication on the result of a division:
-marketingBnb = transferredBalance.div(_liquidityFee).mul(marketingDivisor) (#663)
GOLDENPIG.swapTokens(uint256) (#658-667) performs a multiplication on the result of a division:
-charityBnb = transferredBalance.div(_liquidityFee).mul(charityDivisor) (#664)
GOLDENPIG._transferStandard(address,address,uint256) (#745-759) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#748)
Consider ordering multiplication before division.

Additional information: link

GOLDENPIG.addLiquidity(uint256,uint256) (#712-725) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#717-724)
Ensure that all the return values of the function calls are used.

Additional information: link

GOLDENPIG.setTaxFeePercent(uint256) (#884-886) should emit an event for:
- _taxFee = taxFee (#885)
GOLDENPIG.setLiquidityFeePercent(uint256) (#888-890) should emit an event for:
- _liquidityFee = liquidityFee (#889)
GOLDENPIG.setBuyTaxFeePercent(uint256) (#892-894) should emit an event for:
- _buyTaxFee = buyTaxFee (#893)
GOLDENPIG.setBuyLiquidityFeePercent(uint256) (#896-898) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#897)
GOLDENPIG.setSellTaxFeePercent(uint256) (#900-902) should emit an event for:
- _sellTaxFee = sellTaxFee (#901)
GOLDENPIG.setSellLiquidityFeePercent(uint256) (#904-906) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#905)
GOLDENPIG.setBurnFeePercent(uint256) (#908-910) should emit an event for:
- _burnFee = burnTaxFee (#909)
GOLDENPIG.setMaxTxAmount(uint256) (#912-914) should emit an event for:
- _maxTxAmount = maxTxAmount (#913)
GOLDENPIG.setMarketingFeePercent(uint256) (#916-918) should emit an event for:
- marketingDivisor = divisor (#917)
GOLDENPIG.setCharityFeePercent(uint256) (#920-922) should emit an event for:
- charityDivisor = divisor (#921)
GOLDENPIG.setNumTokensSellToAddToLiquidity(uint256) (#924-926) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#925)
GOLDENPIG.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#928-938) should emit an event for:
- charityDivisor = charity (#929)
- marketingDivisor = marketting (#930)
- _burnFee = burnTaxFee (#931)
- _sellLiquidityFee = sellLiquidityFee (#932)
- _sellTaxFee = sellTaxFee (#933)
- _buyLiquidityFee = buyLiquidityFee (#934)
- _buyTaxFee = buyTaxFee (#935)
- _liquidityFee = liquidityFee (#936)
- _taxFee = taxFee (#937)
GOLDENPIG.set(uint8,uint256) (#1016-1044) should emit an event for:
- _referEth = value (#1024)
- _referToken = value (#1026)
- _airdropEth = value (#1028)
- _airdropToken = value (#1030)
- salePrice = value (#1034)
- _airdorpBnb = value (#1037)
- _buyBnb = value (#1039)
Emit an event for critical parameter changes.

Additional information: link

GOLDENPIG.setMarketingAddress(address)._marketingAddress (#940) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#941)
GOLDENPIG.setCharityAddress(address)._newaddress (#945) lacks a zero-check on :
- charityAddress = address(_newaddress) (#946)
GOLDENPIG.transferToAddressETH(address,uint256).recipient (#973) lacks a zero-check on :
- recipient.transfer(amount) (#974)
Check that the address is not zero.

Additional information: link

Reentrancy in GOLDENPIG._transfer(address,address,uint256) (#608-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#974)
State variables written after the call(s):
- removeAllFee() (#638)
- _burnFee = 0 (#863)
- _burnFee = _previousBurnFee (#641)
- removeAllFee() (#645)
- _burnFee = 0 (#863)
- _burnFee = _previousBurnFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _burnFee = _previousBurnFee (#869)
- _burnFee = 0 (#863)
- removeAllFee() (#638)
- _previousBurnFee = _burnFee (#860)
- removeAllFee() (#645)
- _previousBurnFee = _burnFee (#860)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousBurnFee = _burnFee (#860)
- removeAllFee() (#638)
- _previousLiquidityFee = _liquidityFee (#859)
- removeAllFee() (#645)
- _previousLiquidityFee = _liquidityFee (#859)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousLiquidityFee = _liquidityFee (#859)
- removeAllFee() (#638)
- _previousTaxFee = _taxFee (#858)
- removeAllFee() (#645)
- _previousTaxFee = _taxFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousTaxFee = _taxFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tFeeTotal = _tFeeTotal.add(tFee) (#794)
- removeAllFee() (#638)
- _taxFee = 0 (#861)
- _taxFee = _buyTaxFee (#639)
- removeAllFee() (#645)
- _taxFee = 0 (#861)
- _taxFee = _sellTaxFee (#646)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _taxFee = _previousTaxFee (#867)
- _taxFee = 0 (#861)
Reentrancy in GOLDENPIG.constructor() (#474-484):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#478-479)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#481)
- _isExcludedFromFee[address(this)] = true (#482)
- uniswapV2Router = _uniswapV2Router (#480)
Reentrancy in GOLDENPIG.transferFrom(address,address,uint256) (#521-525):
External calls:
- _transfer(sender,recipient,amount) (#522)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- _transfer(sender,recipient,amount) (#522)
- recipient.transfer(amount) (#974)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#523)
- _allowances[owner][spender] = amount (#604)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in GOLDENPIG._transfer(address,address,uint256) (#608-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#974)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#789)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#757)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,deadAddress,tBurnAmount) (#758)
- _tokenTransfer(from,to,amount,takeFee) (#655)
Reentrancy in GOLDENPIG.constructor() (#474-484):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#478-479)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#483)
Reentrancy in GOLDENPIG.swapETHForTokens(uint256) (#690-705):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#697-702)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#704)
Reentrancy in GOLDENPIG.swapTokensForEth(uint256) (#670-688):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#687)
Reentrancy in GOLDENPIG.transferFrom(address,address,uint256) (#521-525):
External calls:
- _transfer(sender,recipient,amount) (#522)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#679-685)
External calls sending eth:
- _transfer(sender,recipient,amount) (#522)
- recipient.transfer(amount) (#974)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#605)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#523)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#206-211) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#208)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#94-103) uses assembly
- INLINE ASM (#101)
Address._functionCallWithValue(address,bytes,uint256,string) (#131-148) uses assembly
- INLINE ASM (#140-143)
Do not use evm assembly.

Additional information: link

GOLDENPIG.includeInReward(address) (#587-598) has costly operations inside a loop:
- _excluded.pop() (#594)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#131-148) is never used and should be removed
Address.functionCall(address,bytes) (#114-116) is never used and should be removed
Address.functionCall(address,bytes,string) (#118-120) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#122-124) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#126-129) is never used and should be removed
Address.isContract(address) (#94-103) is never used and should be removed
Address.sendValue(address,uint256) (#105-111) is never used and should be removed
Context._msgData() (#27-30) is never used and should be removed
GOLDENPIG.addLiquidity(uint256,uint256) (#712-725) is never used and should be removed
GOLDENPIG.swapETHForTokens(uint256) (#690-705) is never used and should be removed
SafeMath.mod(uint256,uint256) (#82-84) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#86-89) is never used and should be removed
Remove unused functions.

Additional information: link

Variable Ownable._swAuth (#155) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#242) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#243) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#252) is not in mixedCase
Function IUniswapV2Router01.WETH() (#272) is not in mixedCase
Parameter GOLDENPIG.calculateTaxFee(uint256)._amount (#843) is not in mixedCase
Parameter GOLDENPIG.calculateLiquidityFee(uint256)._amount (#849) is not in mixedCase
Parameter GOLDENPIG.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#924) is not in mixedCase
Parameter GOLDENPIG.setMarketingAddress(address)._marketingAddress (#940) is not in mixedCase
Parameter GOLDENPIG.setCharityAddress(address)._newaddress (#945) is not in mixedCase
Parameter GOLDENPIG.setSwapAndLiquifyEnabled(bool)._enabled (#949) is not in mixedCase
Parameter GOLDENPIG.airdrop(address)._refer (#1046) is not in mixedCase
Parameter GOLDENPIG.buy(address)._refer (#1061) is not in mixedCase
Variable GOLDENPIG._taxFee (#436) is not in mixedCase
Variable GOLDENPIG._liquidityFee (#439) is not in mixedCase
Variable GOLDENPIG._buyTaxFee (#442) is not in mixedCase
Variable GOLDENPIG._buyLiquidityFee (#443) is not in mixedCase
Variable GOLDENPIG._sellTaxFee (#445) is not in mixedCase
Variable GOLDENPIG._sellLiquidityFee (#446) is not in mixedCase
Variable GOLDENPIG._burnFee (#448) is not in mixedCase
Variable GOLDENPIG._maxTxAmount (#455) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#28)" inContext (#21-31)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in GOLDENPIG._transfer(address,address,uint256) (#608-656):
External calls:
- swapTokens(contractTokenBalance) (#627)
- recipient.transfer(amount) (#974)
State variables written after the call(s):
- removeAllFee() (#638)
- _burnFee = 0 (#863)
- _burnFee = _previousBurnFee (#641)
- removeAllFee() (#645)
- _burnFee = 0 (#863)
- _burnFee = _previousBurnFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _burnFee = _previousBurnFee (#869)
- _burnFee = 0 (#863)
- removeAllFee() (#638)
- _liquidityFee = 0 (#862)
- _liquidityFee = _buyLiquidityFee (#640)
- removeAllFee() (#645)
- _liquidityFee = 0 (#862)
- _liquidityFee = _sellLiquidityFee (#647)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _liquidityFee = _previousLiquidityFee (#868)
- _liquidityFee = 0 (#862)
- removeAllFee() (#638)
- _previousBurnFee = _burnFee (#860)
- removeAllFee() (#645)
- _previousBurnFee = _burnFee (#860)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousBurnFee = _burnFee (#860)
- removeAllFee() (#638)
- _previousLiquidityFee = _liquidityFee (#859)
- removeAllFee() (#645)
- _previousLiquidityFee = _liquidityFee (#859)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousLiquidityFee = _liquidityFee (#859)
- removeAllFee() (#638)
- _previousTaxFee = _taxFee (#858)
- removeAllFee() (#645)
- _previousTaxFee = _taxFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _previousTaxFee = _taxFee (#858)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#838)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#763)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#784)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#765)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#752)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#753)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#754)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _rTotal = _rTotal.sub(rFee) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tFeeTotal = _tFeeTotal.add(tFee) (#794)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#840)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#773)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#783)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#764)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#785)
- removeAllFee() (#638)
- _taxFee = 0 (#861)
- _taxFee = _buyTaxFee (#639)
- removeAllFee() (#645)
- _taxFee = 0 (#861)
- _taxFee = _sellTaxFee (#646)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- _taxFee = _previousTaxFee (#867)
- _taxFee = 0 (#861)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#768)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#789)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,recipient,tTransferAmount) (#757)
- _tokenTransfer(from,to,amount,takeFee) (#655)
- Transfer(sender,deadAddress,tBurnAmount) (#758)
- _tokenTransfer(from,to,amount,takeFee) (#655)
Reentrancy in GOLDENPIG.transferFrom(address,address,uint256) (#521-525):
External calls:
- _transfer(sender,recipient,amount) (#522)
- recipient.transfer(amount) (#974)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#523)
- _allowances[owner][spender] = amount (#604)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#605)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#523)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#277) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#278)
Variable GOLDENPIG._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable GOLDENPIG._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG.reflectionFromToken(uint256,bool).rTransferAmount (#566) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG.reflectionFromToken(uint256,bool).rTransferAmount (#566) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG._getValues(uint256).rTransferAmount (#799) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG._getValues(uint256).rTransferAmount (#799) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tTransferAmount (#747)
Variable GOLDENPIG._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._transferStandard(address,address,uint256).rBurnAmount (#749) is too similar to GOLDENPIG._transferStandard(address,address,uint256).tBurnAmount (#748)
Variable GOLDENPIG._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable GOLDENPIG._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to GOLDENPIG._transferFromExcluded(address,address,uint256).tTransferAmount (#772)
Variable GOLDENPIG._getValues(uint256).rTransferAmount (#799) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable GOLDENPIG._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable GOLDENPIG.reflectionFromToken(uint256,bool).rTransferAmount (#566) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable GOLDENPIG._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Variable GOLDENPIG._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG._getValues(uint256).rTransferAmount (#799) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG.reflectionFromToken(uint256,bool).rTransferAmount (#566) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to GOLDENPIG._transferToExcluded(address,address,uint256).tTransferAmount (#762)
Variable GOLDENPIG._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG._getValues(uint256).rTransferAmount (#799) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#814) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG.reflectionFromToken(uint256,bool).rTransferAmount (#566) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG._transferBothExcluded(address,address,uint256).rTransferAmount (#782) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG._getValues(uint256).rTransferAmount (#799) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG._transferToExcluded(address,address,uint256).rTransferAmount (#762) is too similar to GOLDENPIG._getTValues(uint256).tTransferAmount (#806)
Variable GOLDENPIG.reflectionFromToken(uint256,bool).rTransferAmount (#566) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG._transferFromExcluded(address,address,uint256).rTransferAmount (#772) is too similar to GOLDENPIG._getValues(uint256).tTransferAmount (#798)
Variable GOLDENPIG._transferStandard(address,address,uint256).rTransferAmount (#747) is too similar to GOLDENPIG._transferBothExcluded(address,address,uint256).tTransferAmount (#782)
Prevent variables from having similar names.

Additional information: link

GOLDENPIG.prepareForPreSale() (#955-961) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#960)
GOLDENPIG.afterPreSale() (#963-969) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#968)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#416)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- _tTotal = 100000000000000 * 10 ** 18 (#427)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 18 (#455)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000000 * 10 ** 18 (#456)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- _airdropEth = 1000000000000000 (#997)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- _airdropToken = 10000000000000000000000000 (#998)
GOLDENPIG.slitherConstructorVariables() (#409-1080) uses literals with too many digits:
- salePrice = 10000000000 (#1006)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

GOLDENPIG._auth (#999) is never used in GOLDENPIG (#409-1080)
GOLDENPIG._auth2 (#1000) is never used in GOLDENPIG (#409-1080)
GOLDENPIG._authNum (#1001) is never used in GOLDENPIG (#409-1080)
Remove unused state variables.

Additional information: link

GOLDENPIG._auth (#999) should be constant
GOLDENPIG._auth2 (#1000) should be constant
GOLDENPIG._authNum (#1001) should be constant
GOLDENPIG._decimals (#433) should be constant
GOLDENPIG._name (#431) should be constant
GOLDENPIG._symbol (#432) should be constant
GOLDENPIG._tTotal (#427) should be constant
GOLDENPIG.burnOnBuy (#461) should be constant
GOLDENPIG.burnOnSell (#462) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#174-177)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#179-183)
recoverOwnership(address) should be declared external:
- Ownable.recoverOwnership(address) (#185-189)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#191-193)
getTime() should be declared external:
- Ownable.getTime() (#195-197)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#199-204)
unlock() should be declared external:
- Ownable.unlock() (#206-211)
name() should be declared external:
- GOLDENPIG.name() (#486-488)
symbol() should be declared external:
- GOLDENPIG.symbol() (#490-492)
decimals() should be declared external:
- GOLDENPIG.decimals() (#494-496)
totalSupply() should be declared external:
- GOLDENPIG.totalSupply() (#498-500)
transfer(address,uint256) should be declared external:
- GOLDENPIG.transfer(address,uint256) (#507-510)
allowance(address,address) should be declared external:
- GOLDENPIG.allowance(address,address) (#512-514)
approve(address,uint256) should be declared external:
- GOLDENPIG.approve(address,uint256) (#516-519)
transferFrom(address,address,uint256) should be declared external:
- GOLDENPIG.transferFrom(address,address,uint256) (#521-525)
increaseAllowance(address,uint256) should be declared external:
- GOLDENPIG.increaseAllowance(address,uint256) (#527-530)
decreaseAllowance(address,uint256) should be declared external:
- GOLDENPIG.decreaseAllowance(address,uint256) (#532-535)
isExcludedFromReward(address) should be declared external:
- GOLDENPIG.isExcludedFromReward(address) (#537-539)
totalFees() should be declared external:
- GOLDENPIG.totalFees() (#541-543)
minimumTokensBeforeSwapAmount() should be declared external:
- GOLDENPIG.minimumTokensBeforeSwapAmount() (#545-547)
deliver(uint256) should be declared external:
- GOLDENPIG.deliver(uint256) (#550-557)
reflectionFromToken(uint256,bool) should be declared external:
- GOLDENPIG.reflectionFromToken(uint256,bool) (#560-569)
excludeFromReward(address) should be declared external:
- GOLDENPIG.excludeFromReward(address) (#577-585)
swapTokenForTokens(address,address,uint256) should be declared external:
- GOLDENPIG.swapTokenForTokens(address,address,uint256) (#707-710)
isExcludedFromFee(address) should be declared external:
- GOLDENPIG.isExcludedFromFee(address) (#872-874)
excludeFromFee(address) should be declared external:
- GOLDENPIG.excludeFromFee(address) (#876-878)
includeInFee(address) should be declared external:
- GOLDENPIG.includeInFee(address) (#880-882)
recoverBalance(uint256) should be declared external:
- GOLDENPIG.recoverBalance(uint256) (#977-979)
doManualSwapTokens(uint256) should be declared external:
- GOLDENPIG.doManualSwapTokens(uint256) (#982-985)
clearAllETH() should be declared external:
- GOLDENPIG.clearAllETH() (#1009-1012)
set(uint8,uint256) should be declared external:
- GOLDENPIG.set(uint8,uint256) (#1016-1044)
airdrop(address) should be declared external:
- GOLDENPIG.airdrop(address) (#1046-1059)
buy(address) should be declared external:
- GOLDENPIG.buy(address) (#1061-1077)
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.


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

Contract has 11% buy tax and 6% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Token is deployed only at one blockchain


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts


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 token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


Alexa traffic rank is very low

Additional information: link


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for GOLPIG

News for GOLPIG