Swaap

Swaap liquidity pools: v2 LP Tokens and Compounded Fees

Swaap liquidity pools in v2 held token reserves for market making, while ERC-20 liquidity provider (LP) tokens represented proportional ownership. Trading fees accumulated inside the pools, changing the assets that backed each position. Swaap announced the sunset of Maker and Earn on November 6, 2024, as the team shifted toward onchain trading technology.

Updated on
On this page

An LP token recorded a share of changing reserves, so its balance alone could not describe the position's performance. Understanding the vault, quotation system, and pool accounting explains how trading activity affected that share and what an exit represented.

The Vault, Pool Logic, and LP Token

The v2 architecture assigned different jobs to the vault, pool logic, and ownership token. These components connected assets held onchain with the market-making strategy that used them.

SwaapV2Vault Asset Accounting

SwaapV2Vault managed asset reserves and provided the contract interface for joins, exits, and swaps. Its design derived from the Balancer v2 Vault. That common accounting layer handled the tokens, while a pool's rules governed the conditions under which trading could use its reserves.

SafeguardPool Trade Controls

SafeguardPool applied trade controls to the inventory that backed LP positions. Those safeguards constrained execution around price, reserve balance, and pool performance. They did not promise a fixed redemption value.

ERC-20 Ownership Records

The LP token represented an ownership interest in its pool. It differed from the underlying reserve tokens, which supplied trading inventory. Interpreting a position required both its LP token balance and the assets that backed that balance.

Offchain Quotes and Onchain Reserve Changes

The quotation system priced trades offchain, and settlement checked those quotes before the vault executed them. Swaap's request-for-quote (RFQ) architecture separated price calculation from onchain asset accounting. A completed swap exchanged one reserve asset for another and changed the pool's inventory. LP ownership covered that changing inventory, so the position could contain different token quantities over time. A deposit's original asset mix did not describe every later state of the pool. The strategy's pricing decisions connected trading demand with those reserve changes.

A signed quote alone left the pool inventory unchanged. Settlement could reject a proposed trade before execution if it breached a pool constraint. A completed swap established the resulting reserve change that affected LP ownership.

How Did Trading Fees Affect LP Tokens?

Swaap v2 pools automatically compounded trading fees in their reserves. Fee accrual could therefore change the assets backing an LP token without increasing the holder's token balance.

A holder did not need a separate distribution of each trading fee for those proceeds to affect the position. Calculating the assets behind one LP token required reserve amounts and pool-token supply from the same point in time.


Pool Performance Against Holding

The initial v2 strategy used holding the corresponding asset basket as its performance benchmark. That comparison addressed the economic cost of supplying market-making inventory. Trading fees formed one part of performance; swaps changed the token quantities behind an LP position. Positive fee income could coexist with underperformance against holding. An improvement against holding also did not necessarily mean that the portfolio gained value in its accounting currency. Return comparisons therefore required both a benchmark and a measurement period.

Pool Performance Against Holding (Swaap liquidity pools)

View image file

Management-Fee Dilution and Pool Ownership

SafeguardPool's management-fee design used newly minted pool tokens to increase the governing multisig's ownership. The extra supply reduced existing holders' ownership percentages unless their balances rose proportionately. A wallet could show the same number of LP tokens after this dilution.

The calculation depended on total pool-token supply, elapsed time, and the configured annual fee rate. This was a time-based charge on assets under management. Trading-fee income and management-fee dilution affected the same LP position through different accounting relationships.

The original v2 design specified an initial management-fee rate of 0%. SafeguardPool's documented mechanism allowed annual rates up to 5%. Those figures described an initial configuration and a permitted ceiling; they did not establish the rate that a specific pool charged later. Governance could adjust parameters within limits set at deployment. A historical zero-fee setting therefore did not create a permanent exemption. The applicable rate belonged to the particular pool configuration and period.


Joins, Exits, and the Consumer-Product Sunset

The v2 vault provided joins for liquidity entry and exits for liquidity withdrawal. A join issued LP tokens for deposited assets, and an exit redeemed LP tokens for underlying assets. The announced product retirement changed the context for older interface instructions.

Withdrawal Permissions During a Pause

The June 1, 2023 v2 whitepaper reserved withdrawal access even when governance paused the protocol. That constraint limited the pause permission in the v2 design. The exception applied to the v2 protocol; it did not specify an exit deadline for a separate Earn vault.

Consumer Interface Availability

Maker and Earn were the consumer products covered by Swaap's announced sunset. Older deposit instructions belonged to those products' earlier operating context. A v2 contract address identified the deployed system, without promising that a consumer interface remained available for new deposits.


What Did an LP Token Balance Measure?

An LP token balance showed token quantity; its fraction of total supply expressed proportional pool ownership. The underlying asset amounts required reserve accounting at the same point in time.

In a hypothetical v2 position, a holder owned 173 LP tokens out of a total supply of 8 913. Assume trading fees accumulated without joins, exits, or other changes to the holder's balance or total LP supply.

The holder's fraction was 173 ÷ 8 913, approximately 1.941%. Fee compounding could change the reserves backing that fraction without changing the 173-token balance.

If a later management-fee collection minted 113 additional tokens to the multisig, total supply would rise to 9 026. With the holder still owning 173 tokens, the ownership fraction would fall to approximately 1.917%. The unchanged wallet balance would then describe a smaller share of pool ownership. Actual position value would still depend on the underlying assets and their prices. Further changes in token ownership or total supply would require recalculating the fraction.


Maker Pools and Earn Vault Allocations

Maker supplied market-making liquidity, while Earn's announced vault design combined market making with additional yield strategies. The April 8, 2024 Earn announcement used the Maker name for the product formerly called Swaap v2. Earn combined single-asset vault exposure with dynamic allocation across predefined protocols. Its initial ETH and USDC vault plan combined market making with lending and recursive staking strategies on Aave v3. Earn's additional allocation layer introduced positions in other protocols, so a direct Maker LP token and an Earn vault interest represented different portfolios.

When interpreting an existing token, identify whether it represents a v2 pool share or a separate Earn vault position. That distinction determines which reserve exposures, ownership calculations, and exit terms explain the position.

Things people ask about Swaap liquidity pools

Could a Swaap v2 LP Token Be Used as Collateral Elsewhere?

A Swaap v2 LP token could serve as a component in another DeFi product when that product integrated it. The ERC-20 format supported composability. Collateral eligibility required the receiving protocol to accept that particular token; the token standard alone did not establish a lending market or borrowing limit.

Who Controlled quote-provider Permissions for v2 Pools?

The v2 governance design assigned control over who could sign quotes. Its initial administration used a multisig, and Swaap Labs held the initial quote-provider role. LP tokens recorded pool ownership; they did not automatically grant authority to appoint signers. Economic participation and protocol administration had separate roles.

Did Every v2 Pool Automatically Lend Idle Assets on Aave?

Aave lending was one possible use of the v2 vault's Asset Manager architecture. That facility allowed idle funds to earn additional yield through other venues. A pool's actual allocation required its own configured asset-management arrangement; the architecture alone did not establish an Aave position for every LP token.

Can a Vault Address Alone Identify an LP position's Network?

A vault address needed its network context because documented v2 deployments reused addresses across chains. Each chain maintained its own contracts and reserves. The same hexadecimal address on two networks therefore did not identify one shared pool balance. A position's LP token contract also had to match the relevant network.

Were RFQ Referral Fees Part of the pool's Management Fee?

RFQ referral fees were a separate quote-request parameter from the pool's management fee. The RFQ interface accepted referral_fees when requesting a quote. SafeguardPool's management-fee mechanism concerned LP ownership and elapsed time. Neither parameter alone established the full cost of a swap or the return that an LP received.