Swapr combines token swaps with liquidity pools and fee governance
Swapr is a multi-chain automated market maker (AMM) combining token swaps, liquidity pools, and governance-adjustable swap fees. Its pools let traders exchange tokens and let liquidity providers supply the assets behind those trades. The broader application also includes routing across supported trading platforms, while DIY farming adds token rewards to selected liquidity pools. These functions connect through liquidity, although each has a different purpose and its own conditions.
Updated:
Providing liquidity creates a claim on a pool's changing balances, while a farming campaign adds a separate reward arrangement.
Swaps, Pool Liquidity, and Rewards
Trading and providing liquidity use the same pools in different ways. A swap exchanges an input token for an output token. A liquidity position supplies the assets supporting those exchanges. Traders seek an output amount for a particular exchange; providers hold an ongoing position in a pool.
Farming adds campaign rewards around a liquidity pair. The reward token has a separate role from the assets inside the pool.
LP Tokens and Pool Balances
An LP token represents a liquidity provider's share in an original pair pool. Adding liquidity mints pool shares, and removing liquidity burns them against the pool's balances. Withdrawal amounts follow the redeemed share of the balances available at withdrawal.
Trades can change the mix of assets backing those shares. A liquidity position therefore carries exposure to both assets and their changing proportions. Earning trading fees doesn't establish a fixed withdrawal value or a fixed return.
How Does Eco-Routing Relate to the AMM?
Eco-routing compares supported trading routes, while the AMM supplies liquidity through its own pools. The application can consider external liquidity alongside native pools. A routed swap therefore needn't execute against a pool belonging to the interface's own protocol.
The routing SDK supports different integrations on different networks, with candidate trading sources configured for each network.
Swapr's governance-adjustable fees apply to its native pools. A route using another protocol follows the execution rules applicable to that protocol.
Eco-routing doesn't merge the participating venues into one pool or governance system.
Governance-Adjustable Swap Fees
Swapr supports governance-adjustable swap fees. In the original pair contract, the factory controls fee updates. The applicable charge belongs to the selected pool and its configuration. This mechanism doesn't establish a permanent rate for every pair, network, or route. Adjusting a trading fee is also separate from allocating farming rewards or deciding how the protocol uses revenue.
DIY Farming and Campaign Rewards
DIY farming lets anyone create liquidity incentives through a no-code interface. Campaign creators choose the rewarded pair and supply a reward budget.
Reward Campaign Setup in Swapr Beta
Swapr Beta campaign settings specify the rewarded pair, funding, timing, and participation conditions.
| Campaign Stage | Applicable Pair or Reward Conditions |
|---|---|
| Establish pair | Reuse an existing pair, or create one with liquidity. |
| Choose rewards | Select the liquidity pair and reward token. |
| Set funding | Choose the reward amount and optional pool-size cap. |
| Set duration | Set start and end times. Timelock requires full-period participation; disabling it permits unstaking anytime. |
| Preview | Review the campaign configuration. |
| Approve | Confirm permission for the reward token. |
| Deposit & Create | Confirm the funding and campaign-creation transaction. |
SWPR and Protocol Governance
Swapr developed within the DXdao community, and SWPR is its ERC-20 governance token. LP tokens identify shares in particular pools, so the governance token and a pool share represent different relationships. The original governance design specified an ERC20 Guild, with voting weight proportional to tokens locked in the governance contract.
That design covered protocol fees, treasury decisions, liquidity incentives, additional network deployments, and changes to routing base pairs. Its original fee-sharing proposal concerned protocol revenue, with allocations for a treasury and SWPR holders staking in the governance contract.
Does Swapr Offer the Same Features on Every Network?
Feature support varies by network and version, with original pool integrations including Ethereum, Arbitrum One, and Gnosis Chain. The routing layer has broader network-specific coverage. A routing integration supplies a candidate trading source on that network; a native pool deployment has its own balances and liquidity positions.
On February 15, 2024, Swapr's team described its V3 launch on Gnosis Chain as underway, with concentrated liquidity and dynamic fees through Algebra Finance. The announcement also reported active SWPR farming campaigns. It described a Gamma Strategy integration for managing liquidity ranges and compounding fees.
Concentrated liquidity introduces price ranges into a provider's position. The original pair pools represent proportional shares of pooled balances. The older Beta campaign settings apply to its reward pools, and don't establish the terms of a V3 campaign.
Open-Source Interface and IPFS Releases
The browser application is open source, and its release process publishes builds to IPFS. The build procedure expects matching content hashes across machines before publication. A release hash identifies the interface files. Pool balances and campaign settings belong to contracts on the selected network.
Interface distribution and protocol activity have different dependencies. A copy of the application doesn't create liquidity or move a position between networks. The interface version and network need to match the pool or campaign a user intends to use.
Swapr questions, answered
-
Why Does the Swapr App Show a JavaScript Message?
- The browser application requires JavaScript to run. With JavaScript disabled, its initial page displays an instruction to enable it. That message concerns the interface's loading requirement; it doesn't describe whether a particular pool has liquidity or a trading route is available.
-
Are Multiple Reward Tokens Available in Swapr Beta?
- Swapr Beta's documented setup enables only the Single Reward Pool option, although the broader campaign design mentions multiple rewards.
-
Is the Original SWPR Community Airdrop Still Open?
- The original SWPR community airdrop's claim window ended on December 31, 2021. That deadline belongs to the original distribution. A farming campaign has its own reward terms and doesn't reopen that airdrop.
-
Does Approving the Reward Token Create a Farming Campaign?
- Token approval grants permission in the Beta setup flow. The separate Deposit & Create action funds and creates the campaign.
-
Can I Run Swapr's Interface on My Own Computer?
- The open-source app includes a local development mode started with yarn start after dependency installation. This runs the browser interface; the relevant chain and deployed contracts still determine pool balances and transactions.