AsgardV2Token Token Logo

ASGARDV2 Token

About ASGARDV2

Listings

Token 3 months
CoinMarketCap 2 months
[CoinGecko] alert: Asgard DAO is migrating from V1 to V2. Find out more here.
white paper

Asgard Dao is a new, category-defining asset class allowing smart investors to build their wealth by hedging. It is a decentralized treasury-backed currency on BSC that maintains a value of at least 1$ USD. However, Asgard is not pegged to anything and therefore can have a value worth more than 1$ USD providing its holders with a potential for great upside.

Social

Laser Scorebeta Last Audit: 21 February 2022

report
Code:


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

Reentrancy in AsgardV2Token._transfer(address,address,uint256) (#1045-1084):
External calls:
- swapTokensAndSend() (#1059)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(contractTokenBalance,0,path,feeWallet,block.timestamp + 400) (#1094-1100)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1062)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#866)
- _balances[recipient] = _balances[recipient].add(amount) (#867)
- super._transfer(sender,address(this),feeAmount) (#1080)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#866)
- _balances[recipient] = _balances[recipient].add(amount) (#867)
- super._transfer(sender,recipient,sendAmount) (#1082)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#866)
- _balances[recipient] = _balances[recipient].add(amount) (#867)
Apply the check-effects-interactions pattern.

Additional information: link

AsgardV2Token._transfer(address,address,uint256).feeAmount (#1068) 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

BEP20.constructor(string,string).name (#696) shadows:
- BEP20.name() (#712-714) (function)
BEP20.constructor(string,string).symbol (#696) shadows:
- BEP20.symbol() (#720-722) (function)
BEP20.allowance(address,address).owner (#761) shadows:
- Ownable.owner() (#343-345) (function)
BEP20._approve(address,address,uint256).owner (#920) shadows:
- Ownable.owner() (#343-345) (function)
Rename the local variables that shadow another component.

Additional information: link

AsgardV2Token.updateMinSwapAmount(uint256) (#1151-1153) should emit an event for:
- minSwapAmount = _minSwapAmount (#1152)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in AsgardV2Token.constructor(address) (#1002-1018):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1008)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#1010)
- automatedMarketMakerPairs[pair] = value (#1121)
- feeWallet = _feeWallet (#1013)
- setExcludeFromFee(msg.sender,true) (#1015)
- isExcludedFromFee[_account] = _bool (#1126)
- setExcludeFromFee(address(this),true) (#1016)
- isExcludedFromFee[_account] = _bool (#1126)
- setExcludeFromFee(address(BURN_ADDRESS),true) (#1017)
- isExcludedFromFee[_account] = _bool (#1126)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in AsgardV2Token._transfer(address,address,uint256) (#1045-1084):
External calls:
- swapTokensAndSend() (#1059)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(contractTokenBalance,0,path,feeWallet,block.timestamp + 400) (#1094-1100)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#868)
- super._transfer(sender,address(this),feeAmount) (#1080)
- Transfer(sender,recipient,amount) (#868)
- super._transfer(sender,recipient,sendAmount) (#1082)
- Transfer(sender,recipient,amount) (#868)
- super._transfer(sender,recipient,amount) (#1062)
Reentrancy in AsgardV2Token.constructor(address) (#1002-1018):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1008)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1123)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#1010)
Apply the check-effects-interactions pattern.

Additional information: link

AsgardV2Token._transfer(address,address,uint256) (#1045-1084) compares to a boolean constant:
-require(bool,string)(tradingOpen == true,Trading is not yet open.) (#1064)
AsgardV2Token._transfer(address,address,uint256) (#1045-1084) compares to a boolean constant:
-require(bool,string)(isBlocked[sender] == false,The sender address is blocked) (#1065)
AsgardV2Token._transfer(address,address,uint256) (#1045-1084) compares to a boolean constant:
-tradingOpen == true && swapForBUSdEnabled == true && _inSwapForBUSD == false && canSwap && ! automatedMarketMakerPairs[sender] && sender != owner() (#1052-1057)
Remove the equality to the boolean constant.

Additional information: link

Context._msgData() (#308-311) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#563-566) is never used and should be removed
SafeMath.mod(uint256,uint256) (#525-528) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#583-586) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#397-401) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#433-436) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#443-446) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#418-426) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#408-411) is never used and should be removed
Remove unused functions.

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#45) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#46) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#63) is not in mixedCase
Function IUniswapV2Router01.WETH() (#99) is not in mixedCase
Parameter AsgardV2Token.mint(address,uint256)._to (#1021) is not in mixedCase
Parameter AsgardV2Token.mint(address,uint256)._amount (#1021) is not in mixedCase
Function AsgardV2Token._burnFrom(address,uint256) (#1033-1042) is not in mixedCase
Parameter AsgardV2Token.setExcludeFromFee(address,bool)._account (#1125) is not in mixedCase
Parameter AsgardV2Token.setExcludeFromFee(address,bool)._bool (#1125) is not in mixedCase
Parameter AsgardV2Token.updateFeeWallet(address)._feeWallet (#1133) is not in mixedCase
Parameter AsgardV2Token.updateBuyFee(uint16)._buyFee (#1139) is not in mixedCase
Parameter AsgardV2Token.updateSellFee(uint16)._sellFee (#1145) is not in mixedCase
Parameter AsgardV2Token.updateMinSwapAmount(uint256)._minSwapAmount (#1151) is not in mixedCase
Parameter AsgardV2Token.enableSwapTokenForBusd(bool)._enabled (#1155) is not in mixedCase
Parameter AsgardV2Token.approveToRouter(uint256)._amount (#1159) is not in mixedCase
Parameter AsgardV2Token.setBlockList(address,bool)._account (#1163) is not in mixedCase
Parameter AsgardV2Token.setBlockList(address,bool)._blocked (#1163) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#309)" inContext (#303-312)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#104) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#105)
Prevent variables from having similar names.

Additional information: link

AsgardV2Token.slitherConstructorVariables() (#940-1167) uses literals with too many digits:
- minSwapAmount = 100000000000 (#960)
AsgardV2Token.slitherConstructorConstantVariables() (#940-1167) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#971)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BEP20._setupDecimals (#685) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#362-365)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#371-375)
addMinter(address) should be declared external:
- MinterRole.addMinter(address) (#649-651)
removeMinter(address) should be declared external:
- MinterRole.removeMinter(address) (#653-655)
renounceMinter() should be declared external:
- MinterRole.renounceMinter() (#657-659)
name() should be declared external:
- BEP20.name() (#712-714)
symbol() should be declared external:
- BEP20.symbol() (#720-722)
decimals() should be declared external:
- BEP20.decimals() (#727-729)
totalSupply() should be declared external:
- BEP20.totalSupply() (#734-736)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#753-756)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#772-775)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#789-797)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#811-814)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#830-833)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#843-846)
mint(address,uint256) should be declared external:
- AsgardV2Token.mint(address,uint256) (#1021-1023)
burn(uint256) should be declared external:
- AsgardV2Token.burn(uint256) (#1025-1027)
burnFrom(address,uint256) should be declared external:
- AsgardV2Token.burnFrom(address,uint256) (#1029-1031)
transferOperator(address) should be declared external:
- AsgardV2Token.transferOperator(address) (#1103-1107)
openTrading(bool) should be declared external:
- AsgardV2Token.openTrading(bool) (#1109-1112)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- AsgardV2Token.setAutomatedMarketMakerPair(address,bool) (#1114-1118)
updateFeeWallet(address) should be declared external:
- AsgardV2Token.updateFeeWallet(address) (#1133-1137)
updateBuyFee(uint16) should be declared external:
- AsgardV2Token.updateBuyFee(uint16) (#1139-1143)
updateSellFee(uint16) should be declared external:
- AsgardV2Token.updateSellFee(uint16) (#1145-1149)
updateMinSwapAmount(uint256) should be declared external:
- AsgardV2Token.updateMinSwapAmount(uint256) (#1151-1153)
enableSwapTokenForBusd(bool) should be declared external:
- AsgardV2Token.enableSwapTokenForBusd(bool) (#1155-1157)
approveToRouter(uint256) should be declared external:
- AsgardV2Token.approveToRouter(uint256) (#1159-1161)
setBlockList(address,bool) should be declared external:
- AsgardV2Token.setBlockList(address,bool) (#1163-1165)
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 number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain

Contract has 2% buy tax and 0% sell tax.
Taxes are low and contract ownership is renounced.


Unable to find Youtube account

Search:


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

Additional information: link


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


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


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


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


Token has no active CoinGecko listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinMarketCap rank

Anti-Scam Checks

Price for ASGARDV2

News for ASGARDV2