Vulnerability Category | Notes | Result |
---|---|---|
Arbitrary Storage Write | N/A | PASS |
Arbitrary Jump | N/A | PASS |
Delegate Call to Untrusted Contract | N/A | PASS |
Dependence on Predictable Variables | N/A | PASS |
Deprecated Opcodes | N/A | PASS |
Ether Thief | N/A | PASS |
Exceptions | N/A | PASS |
External Calls | N/A | PASS |
Flash Loans | N/A | PASS |
Integer Over/Underflow | N/A | PASS |
Multiple Sends | N/A | PASS |
Oracles | N/A | PASS |
Suicide | N/A | PASS |
State Change External Calls | N/A | PASS |
Unchecked Retval | N/A | PASS |
User Supplied Assertion | N/A | PASS |
Critical Solidity Compiler | N/A | PASS |
Overall Contract Safety | PASS |
21 Equity - Smart Contract Audit Report
Summary
21 Equity ($XXI) is a new token with liquidity adds and a buyback system for burning supply that pays users dividends in BUSD.
Overview of the Contract:Audit Findings Summary
- The total supply of the token is set to 2.917 trillion; the total supply is initially minted to the presaler address which is controlled by the owner.
- No mint or burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address or the 0x..0000 address, if desired.
- There is a maximum transaction amount of 291.7 billion tokens during sell transactions to PancakeSwap; this does not apply to addresses exempt from the maximum transaction amount.
- Trading is initially disabled for every address and will be enabled the first time anyone performs a sell transaction to PancakeSwap.
- There is a tax fee up to 25% charged on each transaction that is stored in the contract balance; fees can be increased up to 99% during the first 2 blocks since launch, and fees can be increased during a sell to PancakeSwap up to a value proportional to the time left in the buyback multiplier period if any.
- Once a threshold value of tokens in the contract balance is met, a portion of the contract balance is swapped for BNB and distributed as dividends, and another portion is sent to the marketing wallet which is controlled by the project team.
- Another portion is allocated to funding PancakeSwap liquidity, unless the liquidity cap set by the team has already been met.
- Liquidity-adds are funded by selling half of the tokens allocated to funding liquidity, pairing the received BNB with the token, and adding it as liquidity to the BNB pair.
- The newly created LP tokens are sent to an address controlled by the team. We recommend liquidity is locked at the time of acquisition.
- Any remaining BNB in the contract may be swapped for XXI tokens and sent to the burn address, if the auto buyback functionality is enabled.
- A user must hold an amount of XXI tokens determined by the team to be eligible for dividends.
- Once dividends are distributed, they will need to be claimed; claiming happens automatically on each transfer.
- Dividend rewards can also be claimed manually by kicking off the claim cycle, which will process all eligible token holders.
- Alternatively, a user can manually claim dividends as an individual.
- There is a wait-time between claiming dividend rewards.
- Claimed dividends are sent to the user's wallet address.
- The owner is able to set the total fees charged on transactions to any value up to 25% at any time.
- The owner is able to set the percentage of the fees allocated to any fund (liquidity, marketing, buyback, dividends) at any time.
- The owner is able to automatically trigger a buyback at any time.
- The owner is able to set or disable the buyback fee multiplier at any time.
- The owner is able to disable the autobuyback system and set any threshold value related to it.
- The owner is able to disable the automatic liquidity adds at any time and set any threshold value related to it.
- The owner is able to exclude any address from dividends at any time.
- The owner is able to update the Dividend Distributor and PancakeSwap Router contract addresses at any time.
- The owner is able to update the maximum amount of gas used for processing to a value up to 750,000 at any time.
- The owner is able to update the amount of time a user must wait between claiming dividends to any value at any time.
- The owner is able to toggle the swap and liquify functionality at any time.
- The contract utilizes the SafeMath library to prevent overflows along with following the BEP20 standard.
- Buyback functionality may be suseptible to front-running; The team must monitor and if suspicious activity is detected, the team must disable the buyback system.
- Ensure trust in the team as they have substantial control in the ecosystem.
- Date: August 21st, 2021
($) = payable function
# = non-constant function
+ [Lib] SafeMath
- [Int] add
- [Int] sub
- [Int] sub
- [Int] mul
- [Int] div
- [Int] div
+ [Int] IBEP20
- [Ext] totalSupply
- [Ext] decimals
- [Ext] symbol
- [Ext] name
- [Ext] getOwner
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ Auth
- [Pub] #
- [Pub] authorize #
- modifiers: onlyOwner
- [Pub] unauthorize #
- modifiers: onlyOwner
- [Pub] isOwner
- [Pub] isAuthorized
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ [Int] IDEXFactory
- [Ext] createPair #
+ [Int] IDEXRouter
- [Ext] factory
- [Ext] WETH
- [Ext] addLiquidity #
- [Ext] addLiquidityETH ($)
- [Ext] swapExactTokensForTokensSupportingFeeOnTransferTokens #
- [Ext] swapExactETHForTokensSupportingFeeOnTransferTokens ($)
- [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #
+ [Int] IDividendDistributor
- [Ext] setDistributionCriteria #
- [Ext] setShare #
- [Ext] deposit ($)
- [Ext] process #
+ DividendDistributor (IDividendDistributor)
- [Pub] #
- [Ext] setDistributionCriteria #
- modifiers: onlyToken
- [Ext] setShare #
- modifiers: onlyToken
- [Ext] deposit ($)
- modifiers: onlyToken
- [Ext] process #
- modifiers: onlyToken
- [Int] shouldDistribute
- [Int] distributeDividend #
- [Ext] claimDividend #
- [Pub] getUnpaidEarnings
- [Int] getCumulativeDividends
- [Int] addShareholder #
- [Int] removeShareholder #
+ XXIEQUITY (IBEP20, Auth)
- [Pub] #
- modifiers: Auth
- [Ext] ($)
- [Ext] totalSupply
- [Ext] decimals
- [Ext] symbol
- [Ext] name
- [Ext] getOwner
- [Pub] balanceOf
- [Ext] allowance
- [Pub] approve #
- [Ext] approveMax #
- [Ext] transfer #
- [Ext] transferFrom #
- [Int] _transferFrom #
- [Int] _basicTransfer #
- [Int] checkTxLimit
- [Int] shouldTakeFee
- [Pub] getTotalFee
- [Pub] getMultipliedFee
- [Int] takeFee #
- [Int] shouldSwapBack
- [Int] swapBack #
- modifiers: swapping
- [Int] shouldAutoBuyback
- [Ext] triggerBuyback #
- modifiers: authorized
- [Ext] clearBuybackMultiplier #
- modifiers: authorized
- [Int] triggerAutoBuyback #
- [Int] buyTokens #
- modifiers: swapping
- [Ext] setAutoBuybackSettings #
- modifiers: authorized
- [Ext] setBuybackMultiplierSettings #
- modifiers: authorized
- [Int] launched
- [Int] launch #
- [Ext] setTxLimit #
- modifiers: authorized
- [Ext] setIsDividendExempt #
- modifiers: authorized
- [Ext] setIsFeeExempt #
- modifiers: authorized
- [Ext] setIsTxLimitExempt #
- modifiers: authorized
- [Ext] setFees #
- modifiers: authorized
- [Ext] setFeeReceivers #
- modifiers: authorized
- [Ext] setSwapBackSettings #
- modifiers: authorized
- [Ext] setTargetLiquidity #
- modifiers: authorized
- [Ext] setDistributionCriteria #
- modifiers: authorized
- [Ext] setDistributorSettings #
- modifiers: authorized
- [Pub] getCirculatingSupply
- [Pub] getLiquidityBacking
- [Pub] isOverLiquified