The FlapTaxTokenV3 contract implements an upgradeable ERC20 token with a dynamic tax mechanism and a multi-state machine. It utilizes OpenZeppelin's upgradeable contracts, which is a strong foundation. The audit identified a High-severity integer overflow risk in state transition logic, along with Medium-severity concerns regarding incomplete tax liquidation logic and reliance on specific transfer patterns. Centralization risks due to owner privileges are also noted. The upgradeability pattern is correctly implemented.

Early-stage security check — honeypot & rug-pull analysis
Is UPONLY a Scam?
Not verified
This record has not gone through deep verification and is not being monitored. The score is a dated snapshot — the token’s risk can change at any time.Own this token? Put it under verification →The FlapTaxTokenV3 contract implements an upgradeable ERC20 token with a dynamic tax mechanism and a multi-state machine.
Read the full analysis- Top-10 concentration > 30%
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- LP top1 unlocked holder = 100.0%
- LP top3 unlocked holders = 100.0%
- Token age < 7 days
Exact factors
- Top-10 concentration > 30% (43.0% total → 31.2% effective; 23.4% in EOAs, 19.5% in contracts — moderate)
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- LP top1 unlocked holder = 100.0% (independent LP — depth risk, pool = 92% of DEX liquidity)
- LP top3 unlocked holders = 100.0% (independent LP — depth risk, pool = 92% of DEX liquidity)
- Token age < 7 days (early, volatile)
Security Checklist
as of audit · Sep 13Holders
as of audit · Sep 13, 2026- Contractstreasury, vesting, bridge, staking19.5%
- Walletsanonymous holders, free to sell23.4%
- Everyone elsethe rest of the supply57.0%
How holder types affect the score
Share held by contracts — treasury, vesting, bridge or staking — is discounted against share held by wallets when the score is computed: a contract cannot decide to sell the way an anonymous holder can, though it can still be drained or voted to sell. Effective concentration is the figure the risk score is actually calculated from.
Holder balances as recorded by the audit of Sep 13, 2026
Liquidity
as of audit · Sep 13The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0x201a…5614No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumIncomplete _liquidateTax Logic and Unused notLiquidating Flag
Not confirmed by static analysis (the model's own reading of the source).M-01
_liquidateTax Logic and Unused notLiquidating FlagIssue
Not confirmed by static analysis (the model's own reading of the source). The _liquidateTax function is truncated in the provided source, preventing a full security analysis. However, the PackedPoolState.notLiquidating flag is initialized to true but is never set to false within the visible code. If this flag is intended as a reentrancy guard or to indicate an active liquidation process, its current implementation is incomplete. Without a full view of the function, there's a risk of reentrancy vulnerabilities if external calls are made (e.g., to taxProcessor or dividendContract) before state updates are finalized or if the flag is not properly managed.
Fix
Provide the complete _liquidateTax function for a thorough review. If notLiquidating is intended as a reentrancy guard, implement the Checks-Effects-Interactions pattern: set notLiquidating to false at the start of the liquidation, perform all state changes, make external calls, and then set notLiquidating back to true. Ensure all external calls are handled safely, preferably using SafeERC20 for token transfers and reentrancy guards for arbitrary calls.
Status
Unresolved
MediumReliance on mainPool Transfers for Tax Liquidation
Not confirmed by static analysis (the model's own reading of the source).M-02
mainPool Transfers for Tax LiquidationIssue
Not confirmed by static analysis (the model's own reading of the source). The _liquidateTax function, responsible for processing accumulated tax, is only triggered when a transfer is made *to* the mainPool (to == mainPool). If transfers to the mainPool become infrequent or cease entirely, the accumulated tax (balanceOf(address(this))) will not be processed or distributed. This could lead to a large amount of tokens accumulating in the contract, delaying distributions to taxProcessor or dividendContract, and potentially impacting the protocol's economic stability.
Fix
Implement a mechanism to allow for manual or scheduled tax liquidation by the owner or a trusted role, independent of transfers to the mainPool. Alternatively, consider a more generalized trigger for liquidation, such as a time-based check or a minimum accumulated tax threshold, to ensure timely processing of funds.
Status
Unresolved
MediumInteger Overflow/Truncation in finalizeMigration Timestamp Calculations
Not confirmed by static analysis (the model's own reading of the source).M-03
finalizeMigration Timestamp CalculationsIssue
Not confirmed by static analysis (the model's own reading of the source). In the finalizeMigration function, currentPoolState.taxExpirationTime (uint64) and currentPoolState.antiFarmerExpirationTime (uint48) are updated by adding block.timestamp (uint256) and antiFarmerDuration (uint256). If the sum of these values exceeds the maximum capacity of uint64 or uint48 respectively, the result will silently truncate, leading to incorrect expiration times. This could cause tax periods or anti-farmer durations to end prematurely or extend indefinitely, disrupting the contract's economic model.
Fix
Ensure that timestamp calculations are performed safely. Cast block.timestamp and antiFarmerDuration to the target uint size *before* addition, or use a larger uint type for intermediate calculations and then check for overflow before casting back. For example, uint64(uint256(currentPoolState.taxExpirationTime) + block.timestamp) with an explicit overflow check, or simply use uint256 for these variables if their maximum values can exceed uint64.
Status
Unresolved
LowCentralization Risk with Owner Privileges
Not confirmed by static analysis (the model's own reading of the source).L-01
Issue
Not confirmed by static analysis (the model's own reading of the source). The owner role holds significant control over critical contract parameters and state transitions. Functions like startMigration, finalizeMigration, and the ability to set taxProcessor and dividendContract addresses are restricted to the owner. While common in early-stage projects, this centralization introduces a single point of failure and relies heavily on the security of the owner's private key. A compromised owner key could lead to unauthorized state changes or redirection of funds.
Fix
Consider implementing a multi-signature wallet for the owner role to distribute control among multiple trusted parties. For highly sensitive operations, explore the use of time-locks to introduce a delay between a decision and its execution, allowing for community review or emergency intervention.
Status
Unresolved
InfoComplex Multi-State Machine
Not confirmed by static analysis (the model's own reading of the source).I-01
Issue
Not confirmed by static analysis (the model's own reading of the source). The contract implements a complex multi-state machine (BondingCurve, Migrating, TaxEnforcedAntiFarmer, TaxEnforced, TaxFree) with various conditions for transitions and tax application. This complexity, while potentially offering flexibility, increases the cognitive load for auditors and developers, making it more challenging to reason about all possible execution paths and potential edge cases. This can lead to subtle logic errors or unexpected behavior in specific state transitions or interactions.
Fix
Thoroughly document the state machine, including all possible states, transition conditions, and their implications for tax calculation and contract behavior. Consider using formal verification tools or extensive unit testing to ensure all state transitions and their effects are correctly implemented and behave as intended under various scenarios.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 13The contract leverages OpenZeppelin's upgradeable ERC20 and access control modules, providing a robust technical foundation (7.1 Architecture, 7.2 Code Security). The tax calculation logic is standard and uses safe arithmetic. However, a High-severity integer overflow/truncation risk exists in the finalizeMigration function when updating taxExpirationTime and antiFarmerExpirationTime (7.2 Code Security). Additionally, the _liquidateTax function's logic appears incomplete due to truncation, and the notLiquidating flag is unused, raising concerns about potential reentrancy or unhandled states (7.2 Code Security).
The contract implements a complex multi-state machine for tax enforcement and migration, which can be difficult to manage and audit (7.4 Economic). The owner has significant control over state transitions and external contract addresses (taxProcessor, dividendContract), introducing centralization risk (7.3 Access Control, 7.5 Governance). The tax liquidation mechanism relies on transfers to the mainPool, which could lead to accumulated tax not being processed if these transfers are infrequent (7.4 Economic, 7.8 Operations).
The contract is designed as an upgradeable proxy implementation using OpenZeppelin's Initializable pattern (7.7 Upgrades). The _disableInitializers() is correctly called in the constructor, and the initialize function uses the initializer modifier, ensuring proper setup for proxy deployments. This adherence to best practices for upgradeable contracts minimizes upgrade-related risks.
Address the identified integer overflow/truncation vulnerability by ensuring safe arithmetic for timestamp calculations.
Complete and thoroughly review the _liquidateTax function, explicitly defining the role of the notLiquidating flag and ensuring robust reentrancy protection if external calls are made. Consider implementing a fallback mechanism for tax liquidation that does not solely rely on transfers to the mainPool to prevent accumulation issues. Evaluate the extent of owner privileges and consider implementing multi-signature control or time-locks for critical functions to mitigate centralization risks.
Contract & Record
Free for any token on the record. It links to this page and always shows the current score and the date it was checked.
- Sep 13, 202621Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of UPONLY?
This token is brand new. Run a deeper AI-powered analysis of the contract code — free and instant.
Get Detailed Audit Is this your token? Add your links and get it Verified