xUSD Token Logo

XUSD Token

About XUSD

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years

Website

[CoinGecko] alert: xUSD Token (XUSD) has migrated from their old contract to a new one. For more information, please view this announcement on Twitter.
white paper

xUSD is an appreciating stable coin that is liquidity backed over 100 percent by BUSD. It's internal market maker ensures that every transaction (buys, sells & transfers) raise the value of xUSD relative to BUSD. The pricing algorithm shifts the supply ratio between the underlying asset and the total supply of xUSD, thereby allowing for every transaction to raise the value of the token. Price is calculated as a ratio between Total Supply and underlying asset quantity in Contract. By design, xUSD's total supply is a variable that can never be less than 1 and is determined by buy versus sell pressure. There is no maximum total supply.

xUSD provides utility as an intermediary asset to hedge against risk and trade in preference between assets in the XSurge Ecosystem. As a standalone asset, it works the same way as other variants of this ecosystem with substantially low fees for trading.
0.75% buy fee
0.25% sell fee
0.25% transfer fee
In addition, the Token incorporates a Staking contract for yield farming. Staking liquidity yields xUSD rewards for stakers from allocated tax through transaction volume. Due to its function as a arbitrage trader token, staking is highly incentivized to gain Passive xUSD Dividends as you hold for long term profit. The more xUSD staked in different trading pools, the more Arbitrage (TX Volume) it will gain.

xUSD is available for trading on PancakeSwap as an xUSD/BNB Pairing or by buying through the SwapPair liquidity contract on which it resides as an xUSD/BUSD pairing. More information on SwapPair liquidity contracts can be found on the XSurge Webpage.

Social

Laser Scorebeta Last Audit: 24 May 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Reentrancy in XUSD._purchase(address) (xUSD.sol#254-280):
External calls:
- _router.swapExactETHForTokens{value: msg.value}(minOut,path,address(this),block.timestamp.add(30)) (xUSD.sol#264-269)
State variables written after the call(s):
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#279)
- _totalSupply = _totalSupply.add(amount) (xUSD.sol#398)
Apply the check-effects-interactions pattern.

Additional information: link

XUSD._purchase(address) (xUSD.sol#254-280) uses a dangerous strict equality:
- prevTokenAmount == 0 (xUSD.sol#275)
XUSD._stakeUnderlyingAsset(uint256,address) (xUSD.sol#283-310) uses a dangerous strict equality:
- prevTokenAmount == 0 (xUSD.sol#305)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

XUSD._sell(uint256,address) (xUSD.sol#313-355) performs a multiplication on the result of a division:
-amountUnderlyingAsset = (tokensToSwap.mul(oldPrice)).div(precision) (xUSD.sol#324)
-tokensToSwap = tokenAmount.mul(sellFee).div(feeDenominator) (xUSD.sol#321)
XUSD._handleMinting(address,uint256,uint256,uint256) (xUSD.sol#358-393) performs a multiplication on the result of a division:
-tokensToMintNoTax = _totalSupply.mul(received).div(prevTokenAmount) (xUSD.sol#364)
-tokensToMint = tokensToMintNoTax.mul(mintFee).div(feeDenominator) (xUSD.sol#367)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in XUSD._stakeUnderlyingAsset(uint256,address) (xUSD.sol#283-310):
External calls:
- success = IERC20(_token).transferFrom(msg.sender,address(this),numTokens) (xUSD.sol#295)
State variables written after the call(s):
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#309)
- _totalSupply = _totalSupply.add(amount) (xUSD.sol#398)
Apply the check-effects-interactions pattern.

Additional information: link

XUSD._purchase(address) (xUSD.sol#254-280) ignores return value by _router.swapExactETHForTokens{value: msg.value}(minOut,path,address(this),block.timestamp.add(30)) (xUSD.sol#264-269)
Ensure that all the return values of the function calls are used.

Additional information: link

XUSD.updateFundAddress(address).newFund (xUSD.sol#490) lacks a zero-check on :
- _fund = newFund (xUSD.sol#491)
XUSD.transferOwnership(address).newOwner (xUSD.sol#510) lacks a zero-check on :
- _owner = newOwner (xUSD.sol#511)
Check that the address is not zero.

Additional information: link

Reentrancy in XUSD._purchase(address) (xUSD.sol#254-280):
External calls:
- _router.swapExactETHForTokens{value: msg.value}(minOut,path,address(this),block.timestamp.add(30)) (xUSD.sol#264-269)
State variables written after the call(s):
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#279)
- _balances[receiver] = _balances[receiver].add(amount) (xUSD.sol#397)
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#279)
- _volumeFor[receiver] += amount (xUSD.sol#399)
Reentrancy in XUSD._stakeUnderlyingAsset(uint256,address) (xUSD.sol#283-310):
External calls:
- success = IERC20(_token).transferFrom(msg.sender,address(this),numTokens) (xUSD.sol#295)
State variables written after the call(s):
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#309)
- _balances[receiver] = _balances[receiver].add(amount) (xUSD.sol#397)
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#309)
- _volumeFor[receiver] += amount (xUSD.sol#399)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in XUSD._purchase(address) (xUSD.sol#254-280):
External calls:
- _router.swapExactETHForTokens{value: msg.value}(minOut,path,address(this),block.timestamp.add(30)) (xUSD.sol#264-269)
Event emitted after the call(s):
- PriceChange(oldPrice,newPrice,_totalSupply) (xUSD.sol#391)
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#279)
- TokenPurchased(difference,recipient) (xUSD.sol#277)
- Transfer(address(0),receiver,amount) (xUSD.sol#400)
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#279)
Reentrancy in XUSD._sell(uint256,address) (xUSD.sol#313-355):
External calls:
- successful = IERC20(_token).transfer(recipient,amountUnderlyingAsset) (xUSD.sol#344)
Event emitted after the call(s):
- PriceChange(oldPrice,newPrice,_totalSupply) (xUSD.sol#354)
- TokenSold(tokenAmount,amountUnderlyingAsset,recipient) (xUSD.sol#352)
Reentrancy in XUSD._stakeUnderlyingAsset(uint256,address) (xUSD.sol#283-310):
External calls:
- success = IERC20(_token).transferFrom(msg.sender,address(this),numTokens) (xUSD.sol#295)
Event emitted after the call(s):
- PriceChange(oldPrice,newPrice,_totalSupply) (xUSD.sol#391)
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#309)
- TokenStaked(difference,recipient) (xUSD.sol#307)
- Transfer(address(0),receiver,amount) (xUSD.sol#400)
- _handleMinting(recipient,difference,prevTokenAmount,oldPrice) (xUSD.sol#309)
Apply the check-effects-interactions pattern.

Additional information: link

Function IUniswapV2Router01.WETH() (IUniswapV2Router02.sol#7) is not in mixedCase
Function XUSD.ActivateToken() (xUSD.sol#474-479) is not in mixedCase
Parameter XUSD.updateFundingValues(bool,uint256)._allowFunding (xUSD.sol#482) is not in mixedCase
Parameter XUSD.updateFundingValues(bool,uint256)._denominator (xUSD.sol#482) is not in mixedCase
Parameter XUSD.setFeeExemption(address,bool).Contract (xUSD.sol#496) is not in mixedCase
Constant XUSD._name (xUSD.sol#26) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD._symbol (xUSD.sol#27) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD._decimals (xUSD.sol#28) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD.precision (xUSD.sol#29) is not in UPPER_CASE_WITH_UNDERSCORES
Variable XUSD._totalSupply (xUSD.sol#32) is not in mixedCase
Variable XUSD._balances (xUSD.sol#35) is not in mixedCase
Variable XUSD._allowances (xUSD.sol#36) is not in mixedCase
Constant XUSD.mintFee (xUSD.sol#39) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD.sellFee (xUSD.sol#40) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD.transferFee (xUSD.sol#41) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD.feeDenominator (xUSD.sol#42) is not in UPPER_CASE_WITH_UNDERSCORES
Constant XUSD._token (xUSD.sol#45) is not in UPPER_CASE_WITH_UNDERSCORES
Variable XUSD._volumeFor (xUSD.sol#51) is not in mixedCase
Variable XUSD._router (xUSD.sol#54) is not in mixedCase
Variable XUSD._tokenSlippage (xUSD.sol#60) is not in mixedCase
Variable XUSD._owner (xUSD.sol#63) is not in mixedCase
Variable XUSD.Token_Activated (xUSD.sol#66) is not in mixedCase
Variable XUSD._fund (xUSD.sol#70) is not in mixedCase
Variable XUSD._fundingFeeDenominator (xUSD.sol#71) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router02.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router02.sol#13)
Prevent variables from having similar names.

Additional information: link

XUSD.constructor() (xUSD.sol#79-107) uses literals with too many digits:
- dead = 0x000000000000000000000000000000000000dEaD (xUSD.sol#97)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

balanceOf(address) should be declared external:
- XUSD.balanceOf(address) (xUSD.sol#110)
name() should be declared external:
- XUSD.name() (xUSD.sol#113-115)
symbol() should be declared external:
- XUSD.symbol() (xUSD.sol#117-119)
decimals() should be declared external:
- XUSD.decimals() (xUSD.sol#121-123)
approve(address,uint256) should be declared external:
- XUSD.approve(address,uint256) (xUSD.sol#125-129)
Use the external attribute for functions never called from the contract.

Additional information: link

Address.isContract(address) (Address.sol#24-33) uses assembly
- INLINE ASM (Address.sol#31)
Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#117-138) uses assembly
- INLINE ASM (Address.sol#130-133)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#117-138) is never used and should be removed
Address.functionCall(address,bytes) (Address.sol#77-79) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#87-89) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#102-104) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#112-115) is never used and should be removed
Address.isContract(address) (Address.sol#24-33) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#51-57) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#125-127) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#141-144) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.sendValue(address,uint256) (Address.sol#51-57):
- (success) = recipient.call{value: amount}() (Address.sol#55)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (Address.sol#117-138):
- (success,returndata) = target.call{value: weiValue}(data) (Address.sol#121)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Holders:


Token is deployed only at one blockchain


Average 30d PancakeSwap liquidity is low.


Average 30d number of PancakeSwap swaps is low.

No disclosed threats


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

Additional information: link


Unable to verify token contract address on the website


Unable to find token on CoinHunt

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for XUSD

News for XUSD