Blasterswap

Blasterswap liquidity pools used V2 shares and V3 range positions with different deposit requirements

Blasterswap liquidity pools accepted deposits through V2 pool shares and V3 price-range positions on Blast. V2 share minting depended on contributions of both pool tokens; V3 token requirements followed the chosen range and pool price. Blast is winding down and asks users to withdraw assets to Ethereum. Any present deposit requires usable network access and a matching contract interface before committing tokens.

Last updated ·

Depositing created pool exposure, with different records and funding requirements in each version. A first deposit therefore required matching the contract, token balances and recipient to the intended position, while preserving enough ETH for transaction gas.

V3 deposits could create positions outside the active price range, so a position NFT alone did not establish swap-fee participation.

Pair contracts, routers and position managers

The V2 pair held token0 and token1, while the V3 position manager represented price-range liquidity positions with NFTs. Each pool recorded a factory address that distinguished its deployment context. V2's router was an integration component around the pair. The pair recorded reserves, meaning the token amounts used for its pool calculations. Newly minted liquidity-provider (LP) shares represented a proportional claim on changing pair balances. This differed from a swap, which exchanged assets without creating a continuing pool share.

V3's NonfungiblePositionManager tracked each position's pool key, tick bounds and liquidity. A non-fungible token (NFT) under ERC-721 identified that position. The position manager and SwapRouter had separate responsibilities: adding liquidity created position exposure, while swap routing moved trading inputs and outputs. Identifying the contract family was part of deposit readiness, even when both versions displayed the same token tickers.

Which balances and permissions does a first deposit require?

A deposit attempt requires the token balances dictated by its V2 ratio or V3 range, plus ETH for Blast gas. Token tickers alone cannot identify compatible balances; compare the actual token contracts with token0 and token1. A wallet's displayed balance on another network cannot fund this pool directly. Tokens already held by a liquidity position also differ from the spendable balances available to fund another deposit.

Blasterswap liquidity pools: Which balances and permissions does a first deposit require?

View full-size image

A token spending approval authorizes a specified spender to move a token balance. It does not establish a liquidity position. The funding method determines whether existing permissions suffice or another approval is necessary. Before authorizing anything, review the permitted spender and amount, the selected pool and the intended position recipient. Stopping before signing a funding transaction leaves pool exposure unchanged.

V2 reserve ratios determined newly minted shares

For an existing V2 pair, matching its reserve ratio made both token contributions support the same share entitlement. Denote the contributions as a0 and a1, reserves as R0 and R1 and effective LP supply as S. The V2 calculation minted L = min(a0 × S / R0, a1 × S / R1), using integer division. Here S included any protocol shares minted earlier in that operation.

Pairs containing USDB or WETH invoked the yield-claim routine before calculating a mint. That routine added claimed yield to the relevant reserves. The pair then measured incoming contributions against those updated reserves, keeping accrued pool yield separate from the new deposit. Native yield handling could therefore affect the reserve values used in the share calculation. It did not establish a fixed yield rate or an extra token amount that the depositor had to supply.

A pair's initial mint used the geometric mean of supplied raw token amounts, less permanently locked minimum liquidity.

Unbalanced contributions limited the share output to the smaller proportional contribution, even when both wallet balances were ample. The low-level pair's mint routine did not automatically refund surplus contributions. Its surrounding integration needed to handle deposit sizing and relevant safety checks. Raw token units also mattered: reserves and contributions had to use each token's matching units, without treating different token balances as directly comparable monetary values.

V3 deposit parameters bound tokens to a price range

V3 mint requests combined a pool key, selected tick boundaries and token amount parameters within the position manager. The pool key identified token0, token1 and the pool's fee. A tick was a price index used to describe range boundaries. The lower boundary had to precede the upper boundary, and both had to lie within permitted tick limits. These parameters fixed which pool and range the position represented, without establishing a universal deposit amount. Increasing an existing position reused its stored pool key and range.

The current price determined the assets needed for positive liquidity within a chosen range. Below its lower price boundary, the calculation required token0; strictly between the boundaries, it required both tokens. At a price boundary, one calculated contribution could be zero. Above the upper boundary, only token1 was required. Available balances therefore needed to match the selected range at execution. Tick spacing and the maximum liquidity per tick also described constraints of that pool.

The mint request also carried desired amounts, minimum amounts and a deadline.

Recorded liquidity and the active trading range

V3 position liquidity and the pool's active liquidity described different states, even when a deposit had completed successfully. The V3 pool increased active liquidity on mint only when the current tick was at least tickLower and below tickUpper. Liquidity outside those boundaries did not participate in current swap-fee growth. Crossing a boundary could change that participation.

Consider a hypothetical first V3 deposit into an initialized pool, with its current tick below the chosen lower boundary. The question is whether a position funded with token0 could already earn swap fees. In that configuration, the mint calculation needed token0 and calculated no token1 payment. A successful manager mint could still create an NFT with positive recorded liquidity. That NFT would describe a valid position outside the active range, with no addition to active liquidity.

If the pool price moved strictly between the chosen boundaries before execution, positive liquidity would require both tokens. A token0-only funding plan would then be insufficient for the same positive liquidity amount. The deposit terms would need reassessment against the price at execution. The calculated contributions and recorded range would distinguish these cases; the NFT's existence alone would not establish fee participation.

Range selection also changed subsequent token exposure as trading moved the price. A successful mint did not establish a fixed future token mix.

Deposit records and the choice to commit assets

Completed V2 deposits left LP shares, while completed V3 manager mints left NFTs that identified positions with recorded liquidity. An approval, a submitted transaction or a quoted amount represented an earlier stage. The share transfer or NFT mint tied to successful execution identified the new position. The V3 mint returned amount0 and amount1 for contributed tokens. These amounts described capital supplied to the pool.

V2 recovery burned LP shares for pool tokens. V3 liquidity reduction credited tokens owed; collection transferred them to its chosen recipient, up to the requested limits. Network withdrawal was a separate operation. For regular-wallet withdrawals, recovered WETH required unwrapping to ETH, while USDB was withdrawn as DAI on Ethereum. Retaining tokens in a wallet before funding a deposit avoided creating pool exposure. The next decision is whether the selected position's funding and removal requirements fit the tokens that remain accessible during Blast's wind-down.

Blasterswap liquidity pools: the short answers

Can a V3 deposit mint the position NFT to a different recipient?

The V3 manager minted the position NFT to the recipient specified in the mint request. This address could differ from the transaction sender. The underlying pool position belonged to the position manager, which associated its liquidity with the recipient's NFT. The intended NFT holder therefore needed to match the recipient field in the deposit request.

Why can a very small deposit into an existing V2 pool mint no shares?

In an existing V2 pool, integer division could round the calculated LP-share output to zero. The pair then rejected the zero share output with the BlasterswapV2: INSUFFICIENT_LIQUIDITY_MINTED error. Both token contributions mattered because the calculation selected the smaller proportional share amount. Having a positive token balance alone therefore did not establish that a proposed deposit would produce positive LP shares.

Does the V2 Mint event identify the wallet that received the LP tokens?

The V2 Mint event recorded the caller and contributed token amounts, while the mint function issued LP tokens to its separate recipient argument. A routing contract could therefore appear as the event's sender. The recipient's LP-token balance or the corresponding LP-token transfer provided evidence of who actually received the shares.

How did the V3 pool confirm that a deposit supplied its required tokens?

The V3 pool confirmed payment by checking token balance increases after its mint callback. It calculated the owed amounts, called the funding contract and required its balances to increase by at least those amounts. These checks applied before pool minting completed, so a callback response alone did not establish that the pool had received the required payment.

Is an uninitialized V3 pool ready to accept a liquidity deposit?

The V3 pool required initialization before it could accept minted liquidity. Initialization set the starting square-root price and current tick, and enabled the unlocked state that the mint function required. A deployed pool contract therefore needed more than an address to become ready for a deposit: its initialized price state governed the liquidity calculation.

Why does a newly minted V3 NFT initially show zero tokens owed?

A new V3 position started with zero tokensOwed0 and tokensOwed1, because minting established liquidity and initial fee-growth snapshots. Those fields represented uncollected entitlements at the last calculation. They did not measure deposited principal, and they could omit accrual since that calculation. Positive recorded liquidity was therefore compatible with initially zero tokens owed.

Which permissions allow someone else to reduce a V3 NFT position's liquidity?

The V3 manager allowed the NFT owner or an approved address to call decreaseLiquidity. This authorization concerned the existing position, separately from any token spending permission used to fund a deposit. Granting approval for a position NFT could therefore give another address control over liquidity reduction even when the approval itself transferred no underlying assets.