# What is SparkDEX?

Building an AI-driven DeFi Ecosystem on Flare.

## **SparkDEX** is building the first AI-powered Super dApp on Flare Network.

At the heart of SparkDEX's DeFi Hub are a symbiosis of the most sought-after derivatives combined with a next-level user experience, that with the power of AI, will become the primary access point for users who want to trade on Flare.

## Fostering exponential DeFi growth on Flare

The concept of SparkDEX is pushing the boundaries of DeFi innovation by combining the apex of available DeFi products, the latest blockchain technologies, next-generation perpetuals, and the exciting world of emerging AI tech.&#x20;

SparkDEX delivers a unique experience that promises to reshape the way users think of DeFi on Flare Network.&#x20;


# DeFi Revolution with SparkDEX

## Context&#x20;

DeFi summer birthed many of the premier platforms operating at the forefront of the Web3 space today. By enabling active market participants to use their otherwise dormant liquidity, DeFi platforms catalyzed the web3 industry and reshaped the way the world viewed digital assets.   

From store of value or digital cash to fully fledged yield-bearing productive assets. This transition was historic.  In 2021 and 2022, Layer 2s took center stage, relieving pressure from the overburdened Ethereum ecosystem struggling to support rising demand for DeFi. Particularly the new gas-intensive DeFi applications, such as Web3’s native perpetual contracts, that arrived in DeFi's second wave.  

## The Current DeFi situation

In 2024, AI-integrated DeFi is just emerging as DeFi’s third and most promising generation of groundbreaking protocols. As Large Language Models (LLMs) such as OpenAI ChatGPT advance further into the mainstream, DeFi has its best chance yet to capture the mass market and produce simple, user-friendly tooling designed for both Web3 natives and mass market newcomers that builds upon the high-performance foundation of second-generation scalability.

## The third wave of DeFi: Unlocked

As firm believers in the Flare tech stack & community, SparkDEX is committed to ensuring that this new third wave of DeFi innovation starts its journey on Flare as a project dedicated to open networks, systemic synergies, and symbiotic relationships.

SparkDEX fully backs Flare's vision to unify Web3 ecosystems and decentralized applications with infrastructure that prioritizes interoperability without sacrificing customization or versatility.


# The super-dApp

Core Products of the Spark DeFi Hub

## 1. A High-Performance V3 DEX

An efficient, liquid, and reliable market for on-chain swaps, staking, and farming is the foremost foundation of any thriving DeFi ecosystem. SparkDEX’s first core product is a feature-complete V3 DEX that supports all of the latest, cutting-edge tools available to Web3 traders, liquidity providers (LPs), and farmers.

**Concentrated Liquidity:** SparkDEX’s V3 DEX enables LPs to concentrate their liquidity in designated price ranges in order to drastically reduce the risk of Impermanent Loss (IL) and maximize yields sourced from trading fees. By incentivizing LPs to provide capital within concentrated price ranges closer to spot, SparkDEX’s V3 model also increases liquidity for traders by an order of magnitude, ensuring more precise price points and reducing slippage.

**Automated Liquidity Management (ALM):** SparkDEX has landed a number of powerful partnerships with DeFi protocols that specialize in automating otherwise-complex active liquidity management functions. By integrating with projects such as Steer Protocol, and other leaders in the space, SparkDEX allows users to employ set-and-forget LP strategies that adapt automatically to shifting prices so that LPs can mitigate risk and get the most out of their capital while optimizing market liquidity for traders.

**Limit Orders & Dollar-Cost Averaging (DCA):** One-sided LP features enable users to manually set advanced order types normally restricted to centralised platforms, including limit orders and DCA strategies.

***

## 2. An Algebra V4 DEX&#x20;

SparkDEX’s modular V4 DEX enables unprecedented programmability, enhanced capital efficiency, more advanced and dynamic liquidity strategies, and deeper composability with Flare’s growing DeFi stack.

SparkDEX’s V4 AMM is powered by four core features that elevate Flare DeFi for all:

* Hooks
* Dynamic Fee Markets
* Flash Accounting
* Strategic Liquidity Configurations

For more about V4, read [here.](/sparkdex-defi-ecosystem/v4-dex)

## 3. Next-Generation Perpetual Exchange

As crypto-native derivative instruments, perpetual contracts are both some of DeFi’s most demanded investment vehicles and most impressive in-house developments. SparkDEX’s next-generation Perpetual Exchange brings together the most prolific assets from across sectors and industries, a host of highly competitive features, and a slick UI to provide the best user experience on tap in Web3 ecosystems.

**Blue-Chip Crypto Assets & High Leverage:** On SparkDEXs’ Perpetual Exchange, users can take on up to 100x leverage on leading crypto-assets from a single, intuitive display.

**Advanced Trading Features:** SparkDEX supports an array of advanced trading features including trailing stops, stop-losses, and take profits, so users can ensure that their open positions are managed precisely around the clock.

**Robust LP Incentives:** In addition to its V3 DEX, SparkDEX’s Perpetual Exchange offers competitive incentives to LPs. For both LPs and margin traders, SparkDEX also supports a number of different assets that may be deposited for collateral.

*This is just the beginning. Follow us on our social channels and check out our website to be the first to know about our newest developments and additions to the DeFi Hub.*


# Accelerating DeFi on Flare

## Why Flare?

As a high-performance DeFi ecosystem employing the latest, cutting-edge technology, the SparkDEX team strategically selected to deploy on Flare’s Layer 1 EVM chain to leverage Flare’s state-of-the-art tooling for data management and aggregation.&#x20;

## Innovating DeFi on top of the Flare tech stack

Flare's innovative data aggregation model is underpinned by the Flare Time Series Oracle (FTSO) and Data Connector, which work in tandem to deliver high-integrity data from both on-chain and off-chain sources to decentralized applications operating in the Flare ecosystem.&#x20;

Flare’s comprehensive approach to data management sets its ecosystem apart as the go-to blockchain for data, which will support further innovation and data-driven decision making on SparkDEX.

SparkDEX will leverage **3 key components** of the Flare tech stack to ensure operational security and maintain its position as a pioneering force at the frontier of DeFi innovation.

* **FlareMetrics.io:** Flare’s transparency and accountability tool that presents real-time performance statistics for data providers, enabling ecosystem applications to monitor the reliability and consistency of data feeds and make informed decisions.
* **Flare Time Series Oracle (FTSO):** Flare’s decentralized protocol that employs cogent incentives to deliver accurate and tamper-resistant time-series data feeds to decentralized applications. The FTSO taps into an extensive network of independent data providers to retrieve precise information at frequent, predetermined intervals.
* **Data Connector:** Flare’s data aggregation protocol that enables the seamless integration of off-chain event data into the Flare ecosystem. Data Connector allows ecosystem applications to safely and trustlessly reach consensus on events that have occurred outside the Flare network, such as transactions on other blockchains and data from web-based APIs.


# Revenue Model

## The SparkDEX Revenue Model

SparkDEX generates revenue from three primary streams:

* **V4 DEX**
* **V3 DEX**
* **SparkDEX Eternal: Perpetual Exchange**

### Revenue Distribution

#### 75% goes to the SparkDEX DAO Treasury

* **75% of the V3, V4 and Perps generated fees go to the SparkDEX DAO Treasury.**
* **100% of the DAO Treasury allocation is used to buy back and burn $SPRK from the open market.**

This mechanism directly connects SparkDEX protocol activity with $SPRK supply reduction. As the protocol generates more fees through increased trading activity, a larger amount of revenue becomes available for $SPRK buybacks and subsequent burns.

#### 25% goes to the SparkDEX Foundation

* **25% of V4 DEX generated fees go to the SparkDEX Foundation.**

The Foundation allocation supports the continued development and operation of the SparkDEX ecosystem and is allocated across key areas including:

* **Development**
* **Operations**
* **Audits**
* **Integrations**
* **Ecosystem growth**

This allocation provides the Foundation with the resources required to maintain, improve, and expand the SparkDEX ecosystem over time.

***

### SPRK Emissions

* $SPRK holders who stake their tokens receive **xSPRK**, representing their staked position within the SparkDEX ecosystem.

**$SPRK stakers (xSPRK) receive 120,000 SPRK in weekly emissions.**

These weekly emissions provide an ongoing incentive for $SPRK holders to participate in the staking mechanism and support long-term engagement with the SparkDEX ecosystem.

***

### Buyback and Burn of $SPRK

Following the decision of SparkDEXs [Governance Proposal in May 2026](https://sparkdex.ai/governance/proposal/6a046cbecd38e8c7fea826ee), **100% of protocol fees are now allocated to the SparkDEX Buyback & Burn program**. Protocol revenue is used to purchase $SPRK from the open market, with the purchased tokens subsequently transferred to a designated burn address and permanently removed from circulation.

Under the updated model, **0% of protocol fees are allocated to staking rewards**. Instead, $SPRK stakers receive **120,000 $SPRK in weekly emissions**, providing a consistent staking incentive independent of the protocol’s fee distribution.

By directing all protocol fees toward Buyback & Burn, the model establishes a direct relationship between SparkDEX activity and $SPRK supply reduction: **as protocol activity and trading volume increase, more fees are generated and more $SPRK can be purchased and permanently burned**. This creates a long-term alignment between the growth of the SparkDEX ecosystem and the reduction of $SPRK circulating supply, while maintaining a predictable weekly emission for $SPRK stakers.

**Supply reduction scales directly with platform volume. More trading means more $SPRK burned.**

* As SparkDEX trading activity increases, the protocol generates more fees. Since 75% of V3, V4 and Perps generated fees are allocated to the DAO Treasury and 100% of that allocation is used for $SPRK buybacks and burns, higher platform volume can directly translate into increased $SPRK supply reduction.


# Revenue Model

Overview of the SparkDEX Revenue Distribution Model

SparkDEX’s revenue model generates and reinforces a self-sustaining value cycle between traders, liquidity providers, and $SPRK stakers. First, a fixed portion of all platform revenue is distributed directly to users in the form of liquidity and staking rewards, ensuring active participants are regularly rewarded for contributing to SparkDEX’s DeFi ecosystem.

### Buyback and Burn Program

\
To complement staking and liquidity rewards, a separate portion of platform revenue is allocated to SparkDEX’s buyback-and-burn program, whereby $SPRK is purchased off the open market and immediately transferred to a designated burn address. SparkDEX’s buyback-and-burn program systematically reduces the $SPRK circulating supply and provides consistent, robust market support for $SPRK, allowing $SPRK stakers to reap the benefits of staking without bearing undue volatility risk. This dual-channel approach — rewarding stakers while reinforcing and stabilizing token value — creates a flywheel of growth and alignment, where trading activity drives token demand, token demand fuels staking participation, and collective participation sustains the platform’s long-term vitality and growth potential.

#### Here is how it works:

**V3 DEX Trading Fees Distribution:**

* 87.5% goes to **Liquidity Providers.**
* 5% goes to **Staking Rewards** (shared among xSPRK holders).
* 5% goes to **Buyback & Burn of SPRK**(benefits all token holders).
* 2.5% goes to the **SparkDEX Foundation.**

**Perpetual Exchange Trading Fees Distribution:**

* 40% goes to **Liquidity Providers.**
* 20% goes to **Staking Rewards** (shared among xSPRK holders).
* 20% goes to **Buyback & Burn** (benefits all token holders).
* 20% goes to the **SparkDEX Foundation.**

### Summary: Why $SPRK?

The following pages explore the broad utility of $SPRK in greater detail — but here’s a quick overview to get you started.

| Utility Area              | Description                                      |
| ------------------------- | ------------------------------------------------ |
| **Revenue Sharing**       | Earn from trading fees across DEX + Perps        |
| **Deflationary Pressure** | Buyback & Burn = supply reduction = value growth |
| **Governance**            | Shape the future of SparkDEX                     |
| **Trading Discounts**     | Save on fees, especially with leverage           |
| **Future Growth**         | Expanding ecosystem = expanding utility          |

<br>


# xSPRK Staking

### What is xSPRK?

> xSPRK Contract Address: <https://flarescan.com/address/0x657097cC15fdEc9e383dB8628B57eA4a763F2ba0>

xSPRK is SparkDEX’s staking token: A wrapped version of $SPRK that represents a user’s staked position and provides access to staking-related benefits.

> **Important:** Holding $SPRK is not enough. You must **wrap into xSPRK** to participate in $SPRK Emissions

### xSPRK Staking

* **$SPRK stakers (xSPRK) receive 120,000 SPRK in weekly emissions.**

These weekly emissions provide an ongoing incentive for $SPRK holders to participate in the staking mechanism and support long-term engagement with the SparkDEX ecosystem.

### Unlock Options: Flexible & Fair

When unstaking xSPRK, you can choose how quickly you want access your original SPRK tokens:

| Unlock Type          | Recovery            | Burn Impact                  |
| -------------------- | ------------------- | ---------------------------- |
| **Instant (0 days)** | 50% SPRK back       | 50% is burned (deflationary) |
| **Full (15 days)**   | 100% SPRK back      | 0% burned                    |
| **Custom Unlock**    | Linear from 50–100% | Based on duration chosen     |

***

### Why stake xSPRK?

Staking $SPRK into xSPRK gives holders a direct way to participate in the SparkDEX ecosystem while benefiting from **120,000 $SPRK in weekly staking emissions** and exclusive staking utilities such as Perpetuals fee discounts.&#x20;

At the same time, **100% of SparkDEX platform fees are directed to the Buyback & Burn program**, creating a direct connection between platform activity and $SPRK supply reduction. As trading activity and protocol usage grows, more fees are generated for Buyback & Burn, increasing the amount of $SPRK purchased from the open market and permanently removed from circulation. \
\
By staking $SPRK, holders can therefore participate in the ecosystem’s ongoing emissions while remaining aligned with the long-term growth and activity of SparkDEX.

**Benefits in a Nutshell:**

* **120,000 $SPRK Weekly Emissions**
* **Perps Fee Discounts**
* **Staking Participation**
* **Buyback & Burn Alignment**


# Fee Discounts for $SPRK Stakers

With the relaunch of **SparkDEX Eternal Perps Exchange on Flare Network**, active traders can now save more simply by staking their $SPRK. When you stake your tokens, you receive **xSPRK**, which not only earns you staking emissions but also unlocks **exclusive perpetual trading fee discounts** - directly tied to how much xSPRK you hold.

#### How It Works

1. **Stake $SPRK to Get xSPRK**
   * Go to the [**SparkDEX Stake Page.**](https://sparkdex.ai/stake)
   * Deposit your $SPRK tokens to mint **xSPRK** at a 1:1 ratio.
   * Your xSPRK balance increases over time as staking emissions accrue.
2. **Hold xSPRK and Trade on SparkDEX Perps**
   * Your discount is applied **automatically** — there’s no need to claim or activate anything.
   * Discounts apply to all **position (trading) fees** when opening or closing positions.
3. **Move Up the Tiers**
   * The more xSPRK you hold, the higher your fee discount.
   * Your discount tier is determined dynamically, based on your xSPRK balance at the time of trade.

### **Example Scenario: Discount Rate is automatically applied**

<div align="left" data-full-width="true"><figure><img src="/files/vIautQq0YSgEcMWgmsSk" alt=""><figcaption></figcaption></figure></div>

#### Discount Tiers

| **Tier**  | **xSPRK Balance** | **Fee Discount** |
| --------- | ----------------- | ---------------- |
| 🟠 Tier 1 | 10,000 xSPRK      | 5%               |
| 🟠 Tier 2 | 100,000 xSPRK     | 10%              |
| 🟠 Tier 3 | 2,000,000 xSPRK   | 20%              |

> 💡 **Example:**\
> If you hold 100,000 xSPRK, you qualify for **Tier 2**, and your perpetual position fees will automatically be reduced by **10%** on every trade.

#### Why Stake?

* **Save While You Trade:**\
  Enjoy lower trading costs every time you open or close a perpetual position.
* **Earn Dual Benefits:**\
  Keep earning your regular SPRK staking emissions while benefiting from fee discounts, no trade-off required.
* **Support the SparkDEX Ecosystem:**\
  Staking $SPRK strengthens liquidity and aligns your incentives with the long-term growth of SparkDEX.

#### Important Details

* Discounts apply only to **position (open/close) fees**, not to funding or liquidation fees.
* Your discount is determined by your **current xSPRK balance** at the time of trade execution.
* Unstaking your $SPRK will reduce your xSPRK balance, which may affect your tier and discount.

#### Quick Start:

1. Go to the [**Staking Dashboard**](https://sparkdex.ai/stake)
2. Connect your wallet and stake your $SPRK to mint $xSPRK
3. Start trading on [SparkDEX Perps](https://sparkdex.ai/perps) — your fee discounts are applied automatically.

<br>


# Distribution Table

## $SPRK Tokenomics:

<figure><img src="/files/kWdshC37jgWnJueSwkz1" alt=""><figcaption></figcaption></figure>


# SparkPad

The Premier Launchpad on Flare Network in collaboration with TrustSwap.

## **Participate in Premium Launches through SparkPad**

SparkPad is SparkDEX’s exclusive launchpad platform, built in collaboration with **TrustSwap**, and designed to bring vetted, high-potential DeFi projects to the **Flare Network**.

### Why SparkPad?

Participating in new token launches early can deliver **10x+ returns** — but quality access is often gated. SparkPad solves this by making $SPRK the **key to participation**.

### How Access Works

SparkPad uses a **tiered staking model**, inspired by TrustSwap’s proven framework:

* **Stake $SPRK** to qualify for launch participation.
* **Staking Score** (amount + duration) determines your allocation.
* **Guaranteed Allocations** for qualifying participants.
* **Higher Stakes = Larger Allocations** in high-demand launches.

> **Example:** TrustSwap currently requires \~4,000 $SWAP for access. SparkPad will have similar tier structures, announced post-TGE.

### SparkPad Utility Value

* Early access to **curated, high-potential projects** before public launch.
* Better pricing and allocations than open market buyers.
* Active utility — turning $SPRK from passive asset into *alpha-generating tool*.


# Governance

Governance & Future Utilities — The Long-Term Vision

### Governance & Staking

To participate in governance, users must stake SPRK and receive **xSPRK**.

* You must hold **xSPRK** to be eligible to vote.
* This can be done either by:
  * Holding xSPRK directly, or
  * Allocating your xSPRK to earn emissions.

### SparkDEX DAO Governance

SparkDEX is building more than just a trading platform. It is creating a **community-owned financial network** with real decision-making power and continuously evolving benefits.

Through the **SparkDEX DAO**, SPRK holders gain governance rights, including:

* Fee structure adjustments
* Protocol upgrades
* Strategic partnerships
* New token listings and emissions

**Holding xSPRK means having a direct voice in the evolution of SparkDEX.**

#### Utilities for SPRK Token Holders

* **Perpetual Trading Discounts**\
  Earn fee rebates when trading perps as a SPRK holder.
* **Emissions Voting**\
  Influence which liquidity pools receive SPRK incentives.
* **Ecosystem Utility Expansion**\
  As SparkDEX integrates with other Flare-native protocols, SPRK will power new modules and DeFi primitives.


# V3 DEX

While Uni-V2 style Automated Market Makers (AMMs) are great for passive liquidity providers (LPs), they suffer from capital inefficiencies. These AMMs lack the ability for traders to fine-tune execution rates and don't allow LPs to deploy strategies aimed at minimizing impermanent loss.&#x20;

Uni-V3 style AMMs, though more complex and requiring active management, provide solutions to these challenges.

Key features of SparkDEX's V3 AMM include:

1. **Concentrated Liquidity**: Unlike the Uni V2 model where LPs must cover the entire price range from 0 to infinity, Uni V3 allows LPs to choose specific price ranges. This leads to higher fee accrual when the price remains within the selected range but increases risk if the price exits the range, converting LPs' holdings entirely into one of the assets.
2. **Integration of Limit Orders for LPs**: The boundaries set by LPs effectively function as limit orders. For example, an LP providing liquidity in the ETH/USDC pair between 1600-1800 USDC sees their liquidity convert fully to USDC below 1600 and to ETH above 1800. Should prices return to the designated range, the holdings revert to a 50/50 split, enabling LPs to resume earning transaction fees.
3. **Non-Fungible Tokens (NFTs)**: Each liquidity position is uniquely represented as an NFT, emphasizing the distinct characteristics of each pool participation.
4. **Multiple Fee Options for LPs**: SparkDEX allows LPs to select from various fee tiers, accommodating different risk and volatility profiles associated with each liquidity pool.

These enhancements in SparkDEX's adaptation of the UniV3-style AMM model optimize both the profitability and strategic flexibility for active liquidity providers within the ecosystem.


# Burn Empty NFT Positions

#### Overview

On **SparkDEX v3 DEX**, every liquidity provider (LP) position is represented as an **NFT** (non-fungible token). Each of these NFTs corresponds to a specific pool, price range, and fee tier.

We’ve added a new feature that lets you **burn empty NFT positions** — i.e., positions where all liquidity has been removed. This helps you keep your interface clean.

#### Where to See Your LP NFTs

1. **Connect your wallet** to SparkDEX.
2. Go to **Pools**.
   * Make sure the toggle is switched to **v3**.
3. Make sure you switched the toggle to '**Ended' Positions.**

<figure><img src="/files/UAzqIz8gf9AU8IzDNUAo" alt=""><figcaption></figcaption></figure>

4. In the position details, you’ll see:

```
NFT ID: ####
```

next to the **fee tier** and the **Add / Burn** buttons.\
That “NFT ID” is your LP-NFT — the token representing your position.

#### What the Burn Feature Does

When you remove all liquidity from a position, the NFT for that position remains in your wallet. Previously, these “empty” NFTs stayed visible but had no active use.

Now, you can **burn** them directly in the SparkDEX interface. Burning permanently removes the empty NFT from your wallet and clears it from your UI.

#### Why Burn Empty Positions?

* **Declutter your positions:** Remove inactive or empty LP-NFTs.
* **Simplify your interface:** Only see active liquidity positions.
* **No risk:** Burning only affects NFTs with **zero liquidity** — your funds remain safe.

#### How to Burn an Empty Position

1. Navigate to the **Pools** page and ensure you’re on **v3**.
2. Under **Ended Positions**, check for a position that shows **0 liquidity**.
3. **Burn** that position.
4. Confirm the burn transaction in your connected wallet.
5. Once confirmed, the NFT will be **permanently removed** from your wallet and no longer appear in SparkDEX.

#### Notes

* Only **empty** (zero-liquidity) NFTs can be burned.
* Burning is **permanent** — the NFT cannot be restored once burned.
* This action **does not affect your tokens, liquidity, or active positions**.


# V4 DEX

### The Journey to V4: The Next Frontier of Programmable Liquidity Management

Since Uniswap’s V1 launch in 2018, AMM DEXs have evolved a great deal — mostly in the name of reducing friction, driving down costs, and enhancing user experience. But it wasn’t until V3 that DEXs began to demonstrate just how flexible, customizable, and efficient DeFi ecosystems can become.

Taking the lead, SparkDEX launched its own V3 DEX in 2024, delivering a suite of powerful features, key integrations, and high-performance operations made possible by vastly improved capital efficiency. As a major innovation on the V2 model that came prior, V3 DEXs allow LPs to manually select concentrated price ranges within which to deploy their liquidity. Aptly termed “concentrated liquidity”, customizable LPing has dramatically improved capital efficiency in onchain markets, allowing DEXs to serve larger orders, greater volume, and a wider body of traders — all while optimizing rewards for LPs. To streamline the entire process for users, SparkDEX integrated Automated Liquidity Management (ALM) services from its partners ICHI and Steer Protocol, which allow users to get the most out of V3 LPing in a couple clicks.\
\
Nonetheless, the V3 model’s efficiency still operates within a single, fixed market framework — that is, within one pricing curve, one execution path, and one predefined model from which liquidity responds to evolving market conditions. V3 allows capital to be deployed more precisely and utilized more efficiently, but it still requires LPs, traders, and other market participants to remain beholden to the same underlying market design. On the development side, implementing new logic requires migrating liquidity and disrupting operations. How much better can it get, and what would that mean for DeFi?\
\
The short answer: **Far more than most users would imagine.**\
\
In simple terms, V4 represents a radical expansion of V3’s customization features. V3 DEXs enable LPs to determine where liquidity is active, whereas V4 DEXs program how liquidity behaves — that is, how trades are executed, how fees adapt to real-time market activity, how liquidity responds to volatility, and how external signals such as oracles and strategy logic influence market dynamics. In V4, modular plugins put custom execution logic, strategic liquidity deployment, and direct hooks into other DeFi primitives such as perpetuals, vaults, and structured products on the table. In effect, V4 dramatically expands upon V3’s original breakthroughs in customization, using concentrated liquidity as an early-stage primitive to create a highly programmable, dynamic, and modular AMM DEX protocol that enhances performance for traders, optimizes outcomes for LPs, and supports more resilient markets at large.

#### Four Core Features introduced by V4:

* **Hooks:** V4 introduces programmable hooks, which are externally deployed smart contracts that can be attached to SparkDEX liquidity pools. These contracts enable the customization of key parameters for individual pools, such as swap fees, limit order functions, and other elements of risk management and reward optimization. By allowing custom logic to be executed during pool creation, liquidity updates, and trade execution, V4 hooks allow for new market features, liquidity strategies, and protocol integrations to be introduced natively without requiring liquidity migrations. Translation: pools and farms are about to get a huge upgrade.
* **Dynamic Fee Markets:** Unlike static fee tiers, SparkDEX V4 supports dynamic fees that respond to real-time market conditions. Fees can adjust based on factors such as volatility, liquidity depth, and trade size, ensuring that LPs are compensated appropriately during periods of elevated risk while maintaining efficient pricing during comparatively stable periods. Dynamic fee models align incentives between traders and LPs, and make for more resilient markets.
* **Flash Accounting:** SparkDEX’s V4 leverages flash accounting to net multiple state changes within a single transaction before final settlement. By tracking balances and execution in memory and settling only the net result, V4 reduces redundant transfers and finalizes previously complex, multi-step interactions in a single transaction. In addition to improving execution efficiency and platform security, collapsed transaction counts drive down fees for end users, offering a streamlined trading experience.
* **Strategic Liquidity Configurations:** Building on V3’s concentrated liquidity model, SparkDEX V4 allows liquidity positions to be governed by strategy logic, as opposed to static parameters. With superior programmability online, V4 enables liquidity positions to be strategically configured to respond to market conditions and integrate with automated strategies. SparkDEX V4 supports manual strategy configurations as well as automated V4 configurations sourced from SparkDEX’s partners, so users may either customize their own liquidity positions or optimize in two clicks.


# SparkDEX Eternal Perps Exchange

## How does SparkDEX's Perpetual Aggregator work?

SparkDEX's perpetual aggregator operates using a **multi-level risk management system**, designed to be both **smart and self-regulating.**&#x20;

At its core, the system tries to resolve risks internally—maintaining a balance between long and short positions—until certain thresholds are reached, for instance, when 50% of the pool's balance is hit. Beyond this threshold, the system is designed to address excesses through cross-perpetual solutions on the Aggregator.&#x20;

### The Flow behind the Aggregator model

To go more into detail, the operation starts at layer 0 with an autonomous entry vault for each chain. Layer 1 then assesses the situation across other owned chains, and if necessary, Layer 2 involves the aggregator.&#x20;

During a transaction, if aggregation is required for the user, the system seamlessly performs this in the background, ensuring efficient and secure management of trading positions. This multilayered approach enables the aggregator to handle varying levels of risk effectively, thereby optimizing the trading experience and safeguarding the assets within the ecosystem.


# SPRK Staking

## $SPRK Staking

$SPRK staking is a core pillar of the SparkDEX DeFi ecosystem, designed to reward long-term participation and provide additional utility to $SPRK holders.

By staking $SPRK, holders receive **xSPRK**, SparkDEX’s staking representation, and become eligible for **120,000 $SPRK in weekly emissions**. Staking also unlocks additional benefits across the SparkDEX ecosystem, including [**Perpetuals trading fee discounts.**](#perpetuals-fee-discounts)

### Staking Rewards

SparkDEX distributes **120,000 $SPRK emissions every week** to stakers.

These emissions provide a consistent incentive for holders who choose to commit their $SPRK to the staking ecosystem. Staking rewards are independent of protocol fee revenue and are not affected by the amount of fees generated by SparkDEX.

### Aligned With SparkDEX Growth

While staking rewards are distributed through the weekly $SPRK emission program, SparkDEX’s protocol revenue follows a separate mechanism.

**100% of SparkDEX platform fees are allocated to Buyback & Burn.**

As SparkDEX grows and trading activity increases, more protocol fees are generated and used to purchase $SPRK from the open market and permanently remove it from circulation.

This creates a complementary relationship between staking and protocol growth:

**Stakers receive weekly $SPRK emissions, while increased ecosystem activity contributes to the ongoing reduction of $SPRK supply.**

### Staking Utility

Beyond weekly emissions, xSPRK provides access to staking-related utilities across SparkDEX.

#### Perpetuals Fee Discounts

Stakers can receive reduced Perpetuals trading fees based on their xSPRK staking tier.

Higher staking tiers provide greater discounts, allowing active $SPRK stakers to benefit directly when using SparkDEX Perpetuals.

[View Perpetuals Staking Tiers →](https://docs.sparkdex.ai/tokenomics/xsprk-staking/fee-discounts-for-usdsprk-stakers)

### Why Stake $SPRK?

Staking is designed for holders who want more than passive exposure to $SPRK.

It provides a combination of **weekly $SPRK emissions, access to ecosystem utilities, and alignment with the long-term growth of SparkDEX**.

As SparkDEX expands its products, liquidity, and trading activity, stakers remain positioned within the ecosystem while the Buyback & Burn mechanism links protocol growth to the permanent reduction of $SPRK supply.

> **Stake $SPRK. Earn weekly emissions. Unlock utility. Participate in the growth of SparkDEX.**

***

#### Staking at a Glance

| Benefit                  | Description                                                                              |
| ------------------------ | ---------------------------------------------------------------------------------------- |
| **Weekly Emissions**     | 120,000 $SPRK distributed to stakers every week                                          |
| **xSPRK**                | Representation of your staked $SPRK                                                      |
| **Perpetuals Discounts** | Reduced trading fees based on staking tier                                               |
| **Ecosystem Alignment**  | Participate in the SparkDEX ecosystem while 100% of platform fees support Buyback & Burn |
| **Governance**           | Participate in Governance Votes                                                          |

***

### Unlock System – Flexible & Deflationary

Unstaking xSPRK is built on a flexible unlock curve that balances immediate access and long-term commitment:

| Unlock Option        | % Returned | Impact                    |
| -------------------- | ---------- | ------------------------- |
| **Instant (0 days)** | 50% SPRK   | 50% burned (deflationary) |
| **15-Day Unlock**    | 100% SPRK  | No penalty                |
| **Custom Duration**  | 50–100%    | Linear scale              |


# stFLR Liquid Staking

## About SparkDEX's Liquid Staking Token (LST) Platform

<mark style="color:$info;">**stFLR**</mark> <mark style="color:$info;">**is SparkDEX’s liquid staking token for FLR.**</mark>

[<mark style="color:$primary;">**stFLR Token Contract Address:**</mark> ](https://flare-explorer.flare.network/address/0x0988C6ba244A90C07a917ebE609eB3264bE716fF)

It allows users to stake FLR while maintaining liquidity, enabling participation in staking rewards without locking funds for long periods.&#x20;

By issuing **stFLR** for staked FLR, SparkDEX enables users to maintain staking exposure and protocol rewards without sacrificing liquidity, maximizing the amount of staked capital that remains active across the broader Flare DeFi landscape.

### LST Fees

In order to limit onboarding friction and encourage participation, SparkDEX’s LST platform follows a minimalist fee structure, where no fees are charged to enter or mint stFLR.&#x20;

A 10% performance fee is applied to staking rewards generated by stFLR, and a small exit fee is applied upon redemption to cover operational costs and maintain system stability.

### Key Concepts

Before diving into the process, it’s helpful to understand a few core terms used throughout this documentation.

#### stFLR

stFLR is a liquid staking token that represents a user’s share of the total FLR staked through SparkDEX. As staking rewards are earned, the value of stFLR increases relative to FLR.

#### Buffer

The buffer is a portion of FLR/WFLR kept liquid inside the smart contract. Its purpose is to enable **instant withdrawals** without waiting for on-chain unstaking.

#### P-Chain

The **P-Chain (Platform Chain)** is Flare’s chain responsible for staking and validator coordination. Native FLR staking and delegation occur on the P-Chain and require a minimum staking duration.

#### Keepers

**Keeper** are automated services operated by SparkDEX. They perform routine protocol actions such as staking, unstaking, allocating rewards, and processing withdrawal requests according to predefined rules.

### 1. Staking (Deposit)

Users can deposit using **FLR or WFLR** into the stFLR contract.

* In return, the user receives **stFLR**, representing their proportional share of the total pooled FLR.
* The amount of stFLR minted depends on the current exchange rate between stFLR and the total pooled FLR.
* stFLR is transferable and can be used across DeFi while continuing to accrue staking rewards.

### 2. Buffering

A predefined **buffer ratio** of deposited funds is retained in the contract.

**Purpose of the buffer:**

* Enables **instant withdrawals** without waiting for P-Chain unstaking
* Reduces friction for users who need immediate liquidity

Only the required buffer amount is held liquid. Any excess funds are prepared for staking.

### 3. Deposit for P-Chain Staking

Once the buffer is filled, any remaining FLR/WFLR is marked as **pending for staking**.

* The Keeper periodically retrieves this pending amount.
* The funds are staked or delegated on the **most suitable P-Chain validator node**, based on protocol-defined criteria.

### 4. Instant Withdraw

If a user wishes to withdraw and the requested amount is **covered by the buffer**:

* The user can redeem stFLR immediately.
* An **instant withdrawal fee** is applied.
* Funds are received without interacting with P-Chain staking or waiting periods.

This option prioritizes speed and convenience.

### 5. Request Withdraw

If the buffer does not have sufficient funds:

* The user submits a **withdrawal request** for a specified amount.
* The request is added to a **withdrawal queue**.
* **Zero Fees** apply for normal withdrawal requests.

Requested withdrawals are processed in order of priority.

### 6. Finalization of Withdrawals

The Keeper continuously evaluates the withdrawal queue and available liquidity.

Finalization follows this order:

1. **Unstake from the P-Chain** if the buffer is insufficient
2. **Finalize requests** as soon as unstaked FLR becomes available
3. **Use the buffer** only if no P-Chain stake remains

### 7. Rewards Distribution

Staking and delegation rewards earned on the P-Chain are periodically handled by the Keeper.

* Rewards are uploaded to the stFLR contract on a **per-reward basis**.
* Rewards are processed the same way as deposits:
  1. First, they **fill the buffer**
  2. Any remaining portion is **set aside for P-Chain staking**

These rewards increase the total pooled FLR, which in turn increases the value of stFLR over time.


# Bridge Assets to Flare and Beyond

## Fswap Cross Chain Bridge:

{% embed url="<https://youtu.be/K-REExx7C3Y>" %}

## Bridging funds to Flare Network via Stargate Tutorial:&#x20;

{% embed url="<https://youtu.be/QPgoxtlbCrw?feature=shared>" %}


# Make a Swap

## Swap Tutorial:

{% embed url="<https://youtu.be/ohbMyX_ZXDE>" %}


# Single-Sided LPing

## Video Tutorial:&#x20;

{% embed url="<https://youtu.be/LgMzYbzUls8>" %}

## Step by Step: Single Sided Deposits

**1. Connect your wallet**

* Go to the pool page: [https://sparkdex.ai/pool](https://sparkdex.ai/pool?utm_source=chatgpt.com)
* Click “Connect Wallet” and select your wallet.

**2. Choose the deposit type: Single Deposit**

* On the pool page you’ll see options: *Dual Deposit* and *Single Deposit*.&#x20;
* Select **Single Deposit**.

<figure><img src="/files/CeYNZeX3fZYLpjLiVDN4" alt=""><figcaption></figcaption></figure>

**3. Select the token you will deposit**

* Pick the token you wish to deposit (for example USDT).

<div align="left"><figure><img src="/files/xLzIagmrS0ZGL9qKJuqU" alt="" width="375"><figcaption></figcaption></figure></div>

* The Strategy will be auto-selected as 'Automatic' as there is no manual strategy for single sided deposits.&#x20;
* Select the Vault you want to provide liquidity to - Keep in mind if there is only one vault available, it will auto-select that one for you, as there are no other vault options available.
* Enter the amount you want to deposit.&#x20;
* The interface will show the estimated APR% and rewards.
* The Vaults on SparkDEX are either managed by Steer Protocol or ICHI, both of the ALM (Automated Liquidity Management) Protocols SparkDEX has integrated with.

**4. Approve the token**

* If this is your first time transacting with a token on SparkDEX, you will need to hit “Approve” in your wallet to allow interaction with this token.
* Wait for the transaction to confirm on-chain.

<figure><img src="/files/phTpQStnmLcHedj1DZG3" alt=""><figcaption></figcaption></figure>

**5. Deposit the token**

* Once approved, click on “Confirm”.
* Confirm in your wallet.&#x20;
* Wait for the transaction to complete.

<figure><img src="/files/PMN9VD0zG6DjmhttDiIr" alt=""><figcaption></figcaption></figure>

**6. Receive LP representation / track your deposit**

* After the deposit, your position will be reflected under 'Your Pools' on the right side of the UI.&#x20;

<figure><img src="/files/9ZMWM98zwYQrGeZkWgxn" alt=""><figcaption></figcaption></figure>

**7. Monitor & manage your position**

* You can now monitor your position and view your pool share percentage.
* Note that you can always add or withdraw your liquidity easily by clicking on 'Manage' next to your position and by selecting 'Add' / 'Withdraw' to modify the liquidity added.

<figure><img src="/files/f5RhgDEXEmkXxsb42a3u" alt=""><figcaption></figcaption></figure>

#### Why deposit liquidity Single-Sided (Using a single Token)?

* You only need to deposit just one token.
* You receive a “Vault Token” representing your share of the liquidity pool.
* You avoid 'forced' swaps that might dilute your position in volatile markets.
* For more information regarding single-sided LPing visit <https://docs.ichi.org/home/yieldiq-strategy>

#### ALMs on SparkDEX:

* ***ICHI:** SparkDEX integrated ICHI’s cutting-edge liquidity management technology to offer ALM pools on its V3 DEX, streamlining reward distribution and making LP functions more efficient for SparkDEX users. ICHI’s automated liquidity strategies optimise yield earnings from DeFi farms while reducing risk.*
* ***Steer Protocol:** SparkDEX also integrated Steer’s technology to optimise composability for ALM pools on its V3 DEX.*&#x20;


# Double-Sided LPing

## Video Tutorial:&#x20;

{% embed url="<https://youtu.be/5W_2ILoqgLM>" %}

## Step by Step: Dual-Sided Deposits

**1. Connect your wallet**

* Visit the SparkDEX[ pool page](https://sparkdex.ai/pool) and connect your wallet.

**2. Choose the deposit mode:**&#x20;

* Select **Dual Deposit.**
* You’ll see fields for two tokens: Token A and Token B, in this case WFLR and USDT0.

<figure><img src="/files/Prp9aJWMTU4PYTVg9lmT" alt=""><figcaption></figcaption></figure>

**3. Select tokens & amounts**

* Choose Token A and Token B from the dropdowns (for example Token A = WFLR, Token B = USDT0).
* Enter the amount for one token (say Token A); the system should auto-calculate the corresponding amount for Token B based on the pool’s ratio.
* Verify both amounts look correct.

<figure><img src="/files/fPmU8uUyDQvEByN6D0J3" alt=""><figcaption></figcaption></figure>

**4. Select the Strategy and Fee Tier**

* Choose between an Automatic or a Manual Strategy to open a dual-sided LP
* If you're choosing 'Automatic' as your strategy, the fee tier and range will automatically be selected for you by one of the Automated Liquidity Managers (Steer or ICHI), this means you don't need to manage the liquidity yourself and it is optimized by an ALM.&#x20;

<figure><img src="/files/Z2EheTTG1zdd36TdvF60" alt=""><figcaption></figcaption></figure>

* However, if you choose the 'Manual' strategy, this requires your personal interactions depending on your level of risk and Impermanent Loss.

<figure><img src="/files/50ggqADHu0TMWPJA77hP" alt=""><figcaption></figcaption></figure>

#### **About IL (Impermanent Loss)**

As an Example, let's say you deposit:

* 1 FXRP that is currently at $1.00
* 1 USDT0 that is currently at $1.00\
  Total value = $2.

Now suppose FXRP’s price doubles to $2.00 while USDT0 stays $1.00.

The AMM rebalances your position, selling some FXRP to keep the 50/50 pool ratio.\
If you withdraw at that point, your total value might be worth less than if you had just held FXRP + USDT0 outside the pool — even though you earned trading fees.

That difference is **impermanent loss**.

* So, with a manual strategy you can **manually** choose a price range for your liquidity.
* You earn higher fees if trading happens inside that range.
* But you’re **more exposed to impermanent loss** if the price leaves your range.

**5. Approve tokens**

* If either token has not been approved yet, hit “Approve” for Token A and/or Token B.

**6. Deposit both tokens**

* Then, click 'Add Liquidity' to submit the transaction.
* Confirm in your wallet.

**7. Track your position**

* Once done, you’ll see your position reflected under “Your Pools.
* You now hold a dual-token liquidity position.

<figure><img src="/files/5LNf4cc3VIQHUlBE7nfH" alt=""><figcaption></figcaption></figure>

* Keep track of your earned fees.
* You can always add or withdraw your liquidity easily by clicking on 'Manage' next to your position and by selecting 'Add' / 'Withdraw' to modify the liquidity added.

**8. Manage your position**

* After clicking on the 'Manage' button next to your position you will see a UI allowing you to edit your position by adding or withdrawing liquidity and claiming any unclaimed fees. You will also have an overview of your pool share percentage.

<figure><img src="/files/JxhShheXdZ1rH6toUmtF" alt=""><figcaption></figcaption></figure>


# Perpetual DEX Comprehensive Tutorial

{% embed url="<https://youtu.be/57u9o6FLQwg>" %}

## SparkDEX Eternal: A Comprehensive Perpetuals Tutorial

In this comprehensive, step-by-step tutorial, you’ll get everything you need to start trading perps like pro, from learning about perpetuals contracts and risk management, to navigating the platform and using its trading tools effectively. For additional support, a 2-minute SparkDEX Eternal video tutorial is also available on SparkDEX’s YouTube channel \[[HERE](https://youtu.be/57u9o6FLQwg?si=1ZbHhD3xofF9orZO)].\
\
This tutorial is broken down into 4 sections. You can proceed through all 4 to get the full rundown, or skip ahead to sections that are most relevant to your trading needs.\
\
🔶 Section 1: Getting Set Up\
🔶 Section 2: Opening Your First Position\
🔶 Section 3: Pro Mode — Utilizing SparkDEX’s Advanced Features\
🔶 Section 4: Providing Liquidity (LPing) for Perps Traders\
\
Without further ado, it’s time to get set up on SparkDEX Eternal.

### Section 1: Getting Set Up

\
🔸(1) Open SparkDEX Eternal: If you’re on the SparkDEX landing page, click “Launch App”. Then, select “Perps” in the top menu bar.\
\
Alternatively, navigate to SparkDEX Eternal directly via URL: <https://sparkdex.ai/perps>.

🔸(2) Wallet Connect: Once you’re on SparkDEX Eternal, connect your Web3 wallet to the platform by clicking the “Connect Wallet” button in the upper righthand corner, and ensure your wallet is connected to Flare.

\
Once connected, the UI will display your wallet address and available balance.

<figure><img src="/files/dlBe1AFPlHh28U2yttnX" alt=""><figcaption></figcaption></figure>

<img src="/files/JA8vutNYk6peLjCTVih8" alt="" data-size="original">

### Section 2: Opening Your First Position

Congratulations — you are now ready to open your first perpetuals position.\
On SparkDEX Eternal, users can trade perpetual contracts — “perps”, for short. Perps allow traders to speculate on the future price of an asset without actually owning it. On SparkDEX, all prices are quoted in USD. For additional support, a video tutorial on opening positions is available on SparkDEX’s YouTube channel \[[HERE](https://www.youtube.com/watch?v=Dgrr0Ncj74c)].

<figure><img src="/files/qh6aOWcgmDhvJrgt7J4n" alt=""><figcaption></figcaption></figure>

\
🔸(1) Select Your Perpetuals Contract: To begin, open the dropdown menu on the left side of the screen and select the perpetuals contract you would like to open a position for. In the example above, the user selects the XRP-USD contract.

🔸(2) Dashboard: SparkDEX Eternal’s dashboard displays key metrics related to each contract. From left to right:<br>

* Current Order Book Prices: The top figure is a measure of the lowest ask (selling) price, and the bottom figure is a measure of the highest big (buying) price.<br>
* 24h Data: The highest and lowest prices in the last 24 hours, and the percentage change.<br>
* 1h Funding Fee: The left (red) figure measures the hourly rate at which long positions pay shorts. The right (green) figure measures the hourly rate at which shorts pay longs. For more information, hover your cursor over each rate. A complete breakdown of SparkDEX Eternal’s Funding Fee mechanism is available \[[HERE](https://docs.sparkdex.ai/sparkdex-defi-ecosystem/sparkdex-eternal-perps-exchange/funding-rates-on-sparkdex-eternal)].<br>
* Fee Discount: Users staking SparkDEX’s native token, $SPRK, receive fee discounts of up to 20% on all perpetuals trades. Full details on $SPRK staking benefits and fee discount tiers are available \[[HERE](https://docs.sparkdex.ai/sparkdex-defi-ecosystem/staking)].

🔸(3) Long or Short: Once you have chosen your contract, you can open a Long position, where you buy the XRP-USD contract and profit as XRP’s price rises. Alternatively, you can open a Short position, where you sell the contract and profit as XRP’s price falls.

🔸(4) Order Type: Now, determine what type of order you would like to use to open a position. A Market Order opens a position immediately at the best available price, buying or selling contracts into the existing orders that populate the order book. Conversely, a Limit Order places an entry in the order book at a designated price that may be filled by other traders. Market Orders provide instant market entry, but can result in worse entry prices, while Limit Orders offer better control over entry price, but risk never being executed if the market moves in the opposite direction.

🔸(5) Collateral: In order to trade perps, users must deposit assets to the platform as collateral. SparkDEX Eternal currently supports 4 different assets as collateral: USDT0, WFLR, sFLR, and FXRP. To proceed, select your collateral type and determine the amount you want to deposit. In the example above, the user deposits 10 USDT0 as collateral.

🔸(6) Leverage: Use the leverage slider to determine how much you would like to amplify your exposure. To mirror a normal spot position, move the leverage slider to 1x.\
\
🛑 **Risk Management** 🛑: Before proceeding any further, take a moment to understand the risk you are taking on by employing any amount of leverage.👇\
\
**Leverage** is a unique concept offered in perpetuals markets. A user leverages deposited collateral to borrow capital from liquidity providers (LPs) on the platform, effectively gaining access to a larger position size with greater return potential. For instance, utilizing 5x leverage from a $10 deposit, a user going Long on XRP-USD opens a $50 position. Subsequently, if the price of XRP-USD increases 10%, the user’s position increases by $5 rather than $1, increasing profit by a factor 5.\
\
However, it is a law of markets that risk and return are inherently correlated. As such, leverage also puts a trader at greater risk when the market moves against an open position. Because leverage involves borrowing, if total losses approach the value of a user’s collateral, it may be liquidated — that is, sold directly into the open market at the current price — in order to repay the user’s debt, thereby protecting the system from loss. In the example above, if the user with a 5x long position on XRP-USD sees the price fall 20%, the user’s losses will be $10 rather than $2, requiring the system to liquidate the user’s initial collateral of $10 to avoid incurring systemic losses.\
\
In order to assist users in evaluating risk, SparkDEX Eternal provides comprehensive metrics so that users can see their fees, position size, and potential liquidation price prior to opening a position. Users must also accept all terms and demonstrate an understanding of the risks involved with leverage prior to trading perpetuals contracts on the platform.

Once you understand leverage and the risks involved, you are ready to proceed. Use the green “Long” or red “Short” button to open your first position, as seen in the image below.

Congratulations, and welcome to SparkDEX Eternal’s perpetuals arena!

Here, you can choose your Leverage:

<div align="left"><figure><img src="/files/hvObN6FNUXXV5T29IjvX" alt="" width="375"><figcaption></figcaption></figure></div>

Next, accept the Terms and Conditions to verify you acknowledge them:\
![](/files/DUx6NKAJKdl5eeXl58g0)<br>

Use the green “Long” or red “Short” button to open your first position

<div align="left"><figure><img src="/files/rDwwKFXbcNLFiGlP2Fy4" alt="" width="375"><figcaption></figcaption></figure></div>

### Section 3: Pro Mode — Utilizing SparkDEX’s Advanced Features

You’re already making great progress, so don’t get intimidated — on SparkDEX Eternal, anyone can become a pro in no time.

Crypto markets are notoriously volatile and operate around the clock, which can make managing open positions a major undertaking. To ease the experience, SparkDEX Eternal equips users with a series of advanced risk management features that allow traders to set predetermined thresholds at which to exit trades. This way, if the market makes a big move — either in favor of or against your position — while you’re asleep or away from the platform, you make sure you lock in profits or minimize losses.

The best part: you can utilize SparkDEX’s advanced features even before opening a position. \
\
![](/files/8K9z6cgRPhOLODPEvfw6)<br>

🔸(1) Activating Pro Mode: Prior to opening a position, click on the gray “Pro Trading” button. It will slide to the right and turn green, as a dropdown menu appears with all of SparkDEX’s advanced trading features.

🔸(2) Advanced Trading Features: Each of SparkDEX Eternal’s 5 advanced trading features has simple function that vastly reduces risk or locks in profits, depending on your strategy.

* Stop Loss: Designate a price where your position will automatically close if the market moves against you, protecting your remaining collateral, and avoiding liquidation.
* Take Profit: Designate price where your position will automatically close once the market moves in your favor, locking in profits before the market can turn around.
* Trailing Stop: Designate a moving price buffer that follows the market in your favor and automatically closes your position only when the price reverses by your designated buffer value, locking in profits while allowing market momentum to drive further gains.
* Reduce Only: Ensure that any new order you place can only decrease or close your existing position, thereby limiting exposure.
* Protect Order: Ensure that SparkDEX Eternal automatically adds stop loss and take profit levels to your trades, maximally managing volatility upon opening a position.

Advanced trading features may also be accessed and utilized after creating open positions via SparkDEX Eternal’s positions dashboard, located below the price chart.

<figure><img src="/files/NOHe9wTRGY30jlbdbH4O" alt=""><figcaption></figcaption></figure>

To view your open positions, click on the “Your Positions” tab below the price chart.

🔸(1) Open Position Dashboard: View your entry price and market price, your total position size, total collateral deposited, the position’s total value and profit/loss metrics, and the price at which the position will be liquidated. This information is valuable for any perpetuals trader that may want to support, strengthen, or protect a position after it is opened.

To utilize advanced trading features for an open position, click on the 3-dot menu icon to the right of the Open Position Dashboard, and select from the dropdown menu.

\
🔸(2) Edit Collateral: If a position is nearing liquidation, adding collateral can help to protect it by moving the liquidation price further away from the market price. Alternatively, if a position is in profit, collateral can be withdrawn for other uses by increasing leverage.

🔸(3) Add Trailing Stop: Designate a moving price buffer that follows the market in your favor and automatically closes your position only when the price reverses by your designated buffer value, locking in profits while allowing market momentum to drive further gains.

🔸(4) Select Market & Share Position: Traders with open positions may examine positions across multiple contracts, or share their open positions with their communities on social media.

🔸(5) Close Position: To manually close a position, click on the X icon to the far right of the position metrics and input the amount of the position you would like to close. For additional support, a video tutorial on closing positions is also available on SparkDEX’s YouTube channel \[[HERE](https://www.youtube.com/watch?v=Dgrr0Ncj74c)]. \
\
***Note:** By clicking on the X icon on the right of your position, you can easily set Limit Orders and correspondingly set Take Profits and Stop Losses.*

🔸(6) Limit Orders: The same Take Profit and Stop Loss features that may be set prior to opening a position may also be set using Limit Orders. After clicking the X icon corresponding to a position, select the “Limit” button to select a price above or below the current market price.

🔸(7) Take Profits and Stop Losses: Here, you may input a price for your Limit Order where you would like the protocol to automatically close your position to prevent further losses — essentially a Stop Loss. Alternatively, you may input a price where you would like the protocol to automatically lock in profits — essentially a Take Profit.

🔸(8) Execution: Click the orange “Close” button to execute your Limit Order.

\
![](/files/tKpBdWzG9tKJLFIzpqaD)

<div align="left"><figure><img src="/files/U7en7S8nh9gBhNyPcI8N" alt="" width="375"><figcaption></figcaption></figure></div>

That’s it — now you’ve opened and closed your position, and you know how to trade perps on SparkDEX Eternal like a pro.

### &#x20;Section 4: Providing Liquidity (LPing) for Perps Traders

If you’re looking to grow your capital on SparkDEX Eternal, you don’t have to be a trader. There’s another way: you can provide liquidity (LP) to perpetuals traders who are looking to take on leverage. For additional support, a video tutorial is also available on SparkDEX’s YouTube channel \[[HERE\]](https://www.youtube.com/watch?v=VaDTht0Lcwo).\
\
First, navigate to the “Pool” page.\
\
🔸(1) SparkDEX Pool: If you’re on the SparkDEX landing page, click “Launch App”.\
\
Alternatively, navigate to SparkDEX Eternal directly via URL: <https://sparkdex.ai/pool>.

🔸(2) Perpetual Liquidity: Then, in the horizontal menu bar just below, select “Perps”.

🔸(3) Providing Liquidity: In order to LP, fill in the information according to your objectives.

* Asset & Amount: Liquidity must be provided in one of SparkDEX Eternal’s supported collateral assets: USDT0, WFLR, sFLR, and FXRP. Once you have selected your asset, determine the amount you would like to LP.
* Slippage Tolerance: How much price movement and corresponding loss of value you’re willing to accept between placing and executing your order.

Once you have filled in all fields, click “Deposit Order”.

<figure><img src="/files/OH1GLmzr75a1KIyvScUU" alt=""><figcaption></figcaption></figure>

If you want to withdraw liquidity from SparkDEX Eternal at any time, simply return to the Perpetual Liquidity page.

🔸(1) Withdraw: On the Perpetual Liquidity page, click on the “Withdraw” tab to the right of “Deposit”.

🔸(2) Withdraw Order: Determine your asset, amount, and Slippage Tolerance, and click on the “Withdraw Order” button.

<figure><img src="/files/ylc6PoqUxf6rGl9bAENs" alt=""><figcaption></figcaption></figure>

Congratulations! You are now a SparkDEX Pro trader, and a savvy LP.


# Advanced Position Controls

### SparkDEX Perps Advanced Position Controls

\
SparkDEX Eternal equips traders with precision tools to manage open positions safely and efficiently — without ever compromising decentralization or execution speed.

<figure><img src="/files/8abpBTyE5owADaQSPNTF" alt=""><figcaption></figcaption></figure>

#### Stop-Loss Orders

\
Stop-loss orders automatically close a position once the market price reaches a user-defined threshold. These orders help traders limit downside risk and protect capital during volatile market swings. Although automated, all orders are executed onchain, ensuring transparent and verifiable protection from excessive losses.

#### Take-Profit Orders

\
Take-profit orders allow traders to lock in gains automatically when the market price hits a user-defined target. These orders ensure that realized profits are captured even when traders are away from SparkDEX Eternal, preserving returns in the face of market volatility.

#### Trailing Stop Orders

\
Trailing stops dynamically adjust a position’s exit price as the market moves incrementally in a trader’s favor. These orders offer traders the ability to ride profitable trends while automatically tightening risk exposure in the event the market reverses. Such a trailing mechanism tracks price changes in real-time, updating a trigger price according to a user-defined trailing distance.

#### No Auto-Deleveraging (ADL)

\
Unlike many perpetual exchanges that rely on auto-deleveraging during periods of extreme or sudden volatility, SparkDEX Eternal never diminishes the returns of profitable traders to offset counterparty losses. Risk is fully managed through a dedicated insurance fund and onchain liquidation engine, ensuring that all traders operate in a fair, transparent, and non-disruptive environment — even under stress conditions.


# Perps Collateral

#### Perpetuals Collateral

SparkDEX Eternal gives traders flexible control over how collateral is added, adjusted, and managed across active perpetual positions. Proper collateralization is essential to maintaining healthy margin ratios and avoiding liquidation risk, and SparkDEX’s onchain design ensures that every adjustment remains transparent and verifiable.

#### Adding Collateral

\
Traders can add collateral to any open position at any time. Increasing collateral raises the margin ratio and reduces liquidation risk, providing a safety buffer during high-volatility periods. Newly added collateral is immediately reflected onchain as part of the open position, providing transparent, verifiable margin.

#### Partial Withdrawals

\
If a position maintains a margin ratio safely above the liquidation threshold, traders can withdraw part of their collateral without closing the position. This flexibility allows efficient capital reallocation between positions or across other DeFi strategies, while keeping trades open and stable.

#### Collateral Types

\
SparkDEX Eternal supports multi-asset collateral, including WFLR, sFLR, FXRP, and USDT0.

#### Automatic Margin Updates

\
Collateral balances update dynamically in response to market changes, funding payments, and realized PnL. These automatic adjustments ensure that margin ratios remain accurate on every block, minimizing errors and protecting traders from surprise liquidations.

#### Liquidations

Liquidations occur only when a position’s margin ratio falls below the required maintenance threshold — meaning the collateral is no longer sufficient to cover potential losses.

<br>


# Funding Rates on SparkDEX Eternal

### Overview

Funding rates on SparkDEX Eternal are designed to maintain market balance between long and short positions. These rates are calculated hourly for each market and collateral type, ensuring that market conditions are dynamically reflected in real-time. By adjusting funding rates based on the open interest imbalance between longs and shorts, the platform incentivizes equilibrium while preventing significant market distortions.

### How Funding Rates Work

The funding rate mechanism ensures that traders with positions on one side of the market (long or short) pay or receive funding based on the market’s long-to-short ratio:

* **Long-heavy Market:** When the total open interest of long positions exceeds that of short positions, traders holding long positions pay funding to those holding short positions.
* **Short-heavy Market:** Conversely, if the total open interest of short positions exceeds that of long positions, traders holding short positions pay funding to those holding long positions.

Funding rates are **asset-based** and calculated on an hourly basis to reflect real-time market conditions. The adjustments ensure that the market remains fair and balanced, providing incentives for traders to counteract large imbalances.

### Adaptive Funding Rates

SparkDEX Eternal uses an **adaptive funding rate model** that gradually adjusts over time based on the open interest ratio of longs to shorts. This model helps stabilize the market by encouraging traders to correct imbalances through their trading actions.

#### Mechanism of Adjustment

1. **Imbalance Scenario:**
   * If the open interest for longs significantly exceeds that of shorts, the funding rate paid by longs to shorts will increase incrementally. This continues until the open interest imbalance is reduced below a predetermined threshold or until an upper limit for the funding rate is reached.
   * Similarly, if shorts exceed longs, the funding rate paid by shorts to longs will increase incrementally.
2. **Correction Scenario:**
   * If traders close long positions or open more short positions, thereby reducing the imbalance, the funding rate adjusts downward gradually.
   * If the market flips and shorts now exceed longs, the funding rate shifts direction, and shorts will pay an incrementally increasing rate to longs.
3. **Steady State:**
   * Once the difference between long and short open interest falls below the threshold, the funding rate stabilizes. At this point, the funding rate reflects the near-equal balance between longs and shorts.

### Key Benefits

* **Real-time Adjustment:** The adaptive funding model ensures funding rates always reflect current market conditions.
* **Market Stability:** By incentivizing equilibrium, the model helps maintain a balanced market.
* **Fairness:** Traders are rewarded or penalized based on the position imbalances they contribute to, promoting responsible trading behavior


# Delegate to FTSO's on SparkDEX

SparkDEX has recently added an **'Ecosystem'** Page to its UI, enhancing the overall trading experience for users as well as adding a new feature: Users can now delegate to FTSO's seamlessly through SparkDEX.

### What does 'Delegation' to FTSO's mean?

**Delegation** is the process in which a user assigns their vote power (which equals their total holdings of WFLR) to an FTSO Data provider to increase the data provider’s voting influence. Delegating to data providers in this way allows you to earn a share of the network rewards they receive for providing accurate data.

While you can choose to not delegate and simply let your tokens sit on an exchange or in your wallet, you would be missing out on two opportunities:

* Earning additional rewards.
* Strengthening the ecosystem (and in-turn further increasing your rewards) by supporting the best data providers.

When you delegate your WFLR, you retain the ability to participate in [governance voting](https://docs.flare.network/user/governance/voting/) and to receive [FlareDrops](https://docs.flare.network/tech/the-flaredrop/).

### SparkDEX's own FTSO is [Live:](live:https://x.com/SparkDexAI/status/2000595127363121309)

In case you didn't know - SparkDEX is an infrastructure provider on Flare.\
This means, SparkDEX's own FTSO is now available, and you can delegate to it now via our [interface](https://sparkdex.ai/ecosystem/ftsodelegation) and (at the time of writing) earn an APR of 5.85% on your supplied WFLR.

<figure><img src="/files/fcTbX1sdOxGxmplOiRys" alt=""><figcaption></figcaption></figure>

#### In the following step by step tutorial we'll show you how it works.

For a quick video tutorial, click [here.](https://youtu.be/gjcKpAYp1s0)

First, make sure you are on <https://sparkdex.ai/ecosystem/ftsodelegation> and you've connected your wallet and are on the Flare Network.

(1) Go to 'Ecosystem'.

(2) Make sure you've selected 'FTSO Delegation' in the sub-header.

(3) To begin the delegation process, click 'Delegate'.

<figure><img src="/files/JgZzuqooUstqBy0G9hhr" alt=""><figcaption></figcaption></figure>

Note that once you proceed to delegating to any of the FTSO's in the provider list, all your WFLR will automatically be delegated to the provider(s) you choose.\
\
Important: Tokens you delegate are NOT locked, you have full ownership over your assets and can use them anytime.&#x20;

Imagine:

Your tokens = Your Vote.

<figure><img src="/files/bEmmyS6weDwKkVl80wW1" alt="" width="375"><figcaption></figcaption></figure>

You have the option in this process to add a second provider, but this is optional and entirely based on your decision.

(4) As a primary provider we select e.g Stakeway. If you are fine with selecting only one provider, then head to click Delegate. All your WFLR will then be delegated to only Stakeway.

(5) In case you would like to add a second provider, click on the plus.

<figure><img src="/files/eZWzCP9vxcvlCas8vWOS" alt="" width="375"><figcaption></figcaption></figure>

(6) Click on the arrow pointing downwards to open the Second Provider list

(7) Choose your second provider.

<figure><img src="/files/q5iBVAv6YleXgYdheOzL" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/yLhDv8LRBXNwieONo5MG" alt="" width="375"><figcaption></figcaption></figure>

In this example, the second provider 'FTSO Asia' was selected.

You can now see on the UI, that your WFLR are equally divided to two FTSO providers.

50% of your WFLR are delegated to Stakeway, and the other 50% are delegated to FTSO Asia.

(8) Click 'Delegate'.

(9) Confirm the transaction in your wallet.

Your FTSO Delegation should now be successfully set.

<figure><img src="/files/DWBJbfifeLhg8XVmius5" alt="" width="375"><figcaption></figcaption></figure>

You can now track your FTSO Delegations right inside SparkDEX and claim your FLR delegation rewards once they've started accumulating.

### Claiming FTSO Delegation Rewards:

Rewards are accumulated in reward epochs, which last 3.5 days, and can be claimed after the epoch finishes.

The amount of rewards that you receive when you delegate to a data provider depends on multiple factors:

* The percentage of vote power you delegated.
* The initial vote power of the data providers to which you delegated your vote power.
* The performance of those data providers.

### How to Re-delegate&#x20;

<figure><img src="/files/HSY4aPYfqQBBAVnHJG61" alt="" width="375"><figcaption></figcaption></figure>

* If you wish to Re-delegate your WFLR, which simply means changing your vote for FTSO providers, click on 'Re-delegate'.

<figure><img src="/files/dFhTWyRJuyVUc0CsLz6e" alt="" width="375"><figcaption></figcaption></figure>

* Select another provider(s), and click 'Delegate' to Re-Delegate.
* You have the option to remove your second provider in any case, by simply clicking the 'remove' button next to Second Provider.

All done. You have now re-delegated your WFLR.


# Liquid Staking with stFLR

How to perform liquid staking using stFLR on SparkDEX

### How to stake stFLR on SparkDEX: Video Tutorial

{% embed url="<https://youtu.be/dkJ2TYCgAGY?si=YkqiYlCZUQo6Az5q>" %}

### Comprehensive Tutorial on how to stake stFLR on SparkDEX

First, go to <https://sparkdex.ai/stflr/stake>

<figure><img src="/files/AgOKfjwWfU7f24D8h1mf" alt=""><figcaption></figcaption></figure>

Make sure your wallet is connected.

#### Stake stFLR

You can stake stFLR using the following assets in your wallet:

1. FLR
2. WFLR (Wrapped FLR)

At the time of the Tutorial, the APY of staking stFLR is at 13.39%.

While staking stFLR, users enjoy staking rewards at the set APY.

*Exchange Rate: 1 FLR = 0.9999 stFLR*

*Side Note:* stFLR is transferable and can be used across DeFi while continuing to accrue staking rewards.

<div align="left"><figure><img src="/files/SGkTSU46b1jnMlVYtnr6" alt="" width="375"><figcaption></figcaption></figure></div>

Now, enter the amount you choose to stake:

<div align="left"><figure><img src="/files/SxDoRfUVStklF6L3gut9" alt="" width="375"><figcaption></figcaption></figure></div>

To send the transaction, click 'Stake' and approve the transaction in your wallet.

<div align="left"><figure><img src="/files/6rYoD1m3XDSZWoApkG6Q" alt="" width="375"><figcaption></figcaption></figure></div>

Once approved, the 'stake' dashboard will now reflect your staked amount in stFLR.

### How to unstake stFLR

There are several unstaking methods when a user wants to unstake their stFLR.

1. Instant Withdrawal
2. Normal Withdrawal
3. Using Decentralized Exchange (Via Swap)

To read about the unstaking/withdrawal options, visit [here.](https://docs.sparkdex.ai/tutorials/pages/6vLxERtIQWXtZpBzHL4a#id-4.-instant-withdraw)

Users can redeem their stFLR immediately - without any waiting time.

For **Instant** unstaking however, an **instant withdrawal fee** is applied.

**Normal** unstaking doesn't come with a fee, however the waiting time can take **up to 5 days.**

<div align="left"><figure><img src="/files/HNpSTH6MnkCjfb7Um0CC" alt="" width="375"><figcaption></figcaption></figure></div>

#### Unstaking Requests: Placing a Normal Unstaking Request

If a user would like to unstake using the 'Normal' unstake method, his request will be viewable under the 'Requests' Tab:

<div align="left"><figure><img src="/files/hyMWl68dqaYYub6t7UM4" alt="" width="375"><figcaption></figcaption></figure></div>

The Dashboard above will reflect the current status of the unstaking process and will update the user with information on when his assets have been fully unstaked.

Once the Unstaking Period is over, the user can simply claim their initial asset.


# Claiming Rewards on SparkDEX


# Perpetual Referrals

Get Fee-cashback and Fee-commissions through the SparkDEX Referral program.

SparkDEX offers a **Perpetual Referral Program** for Affiliates and Traders. You can access [Referrals here.](https://sparkdex.ai/perps/referrals)

<figure><img src="/files/HAmCUVn9NnukAKs2FfaO" alt=""><figcaption></figcaption></figure>

### Here are 2 ways you can participate:

1. As an **Affiliate:**&#x20;

First, select the 'Affiliates tab' and generate your own unique code. Once generated, you receive your personal **referral link** and will be redirected to your **affiliate space**. You can then copy your code/link and view all the information related to your affiliates.

To receive fee-commissions, share your referral link on any social platform, for example, you can paste your referral link into your X (Twitter) Bio!

Traders who click on your referral link, are automatically connected with your referral code. When the trader executes a trade on SparkDEX Perps, a portion of the associated fees is split between the trader, who receives a cashback payment, and you, who receives a commission.

2. As a **Trader:**

If you are a trader and you want to execute a trade using a referral code that you have been given, you can access it through the 'Traders' tab.&#x20;

To start receiving your fee-cashback, simply enter the referral code into the field and start trading on SparkDEX Perps.!

### Tiers <a href="#tiers" id="tiers"></a>

The SparkDEX Perpetual Referral program operates on a tier system to prevent self-referrals and ensure that all referrals are genuine users brought to the platform.&#x20;

The tiers and benefits are as follows:

* **Tier 1:** 5% fee-cashback for traders / 5% fee-commission to referrer.

Video Tutorial is Coming soon.


# Migration from V3.1 DEX to V4

### Video Tutorial:

{% embed url="<https://youtu.be/t3j9Y_Xbd50?si=Mvt7tnJo4uL7_D1A>" %}


# Team

Below is a description of the Team Members at SparkDEX

## Business Development & Marketing

Anna0x: BD & Social Media Manager

## Product Development

* Steve0x - Senior Fullstack Software Engineer + Development Management (CTO)
* 0xMty - Senior Fullstack Software Engineer
* SdCrypt0 - Senior Fullstack Software Engineer
* 0xNx - Senior Fullstack Software Engineer


# Roadmap

## Q1 2024

* Project ideation & strategy
* Team building & planning
* Developing core product set.

## Q2 2024

* Website & socials established
* Battle test protocol & complete audits&#x20;
* V2 & V3 Dex deployed on Flare Network
* Deployment of the Perpetual Aggregator including commodities, forex, crypto & 100x leverage.

## Q3 2024

* Updates to the User Experience
* Large impactful Marketing Campaigns to raise awareness & bring users to Flare.
* SparkDEX Eternal Perpetual Exchange launched on Coston2 Testnet.

## Q4 2024

* UI/UX dApp Upgrade: Faster loading times, view-mode only disabled, better overall flow.
* Migration from DEX v3.0 to DEX v3.1
* WETH/flrETH pool launched on SparkDEX v3.1.
* SparkDEX Eternal Perpetual Exchange launched on Flare Mainnet.
* Depositing into Perpetual Liquidity Pool is Live.
* Launched Referral Program.

## Q3 2025

* $SPRK TGE
* AI companion integration.

## Q4 2025

* SparkDEX Eternal Trading Competition
* Introducing Perps Position Fee Discounts for SPRK Stakers
* Launch of FTSO Delegation on SparkDEX
* Seamless Flare Rewards claiming Upgrade on SparkDEX


# Flare Reward Structure


# SparkDEX Eternal Perps Trading Competition

## Overview

<figure><img src="/files/gJdLUdX4C3H2G5HFOwqX" alt=""><figcaption></figcaption></figure>

The **SparkDEX Eternal Perps Trading Competition** is a campaign designed to reward active perpetuals traders on the **Flare Network**.&#x20;

This initiative highlights SparkDEX Eternal’s high-performance perpetuals engine, offering real-time execution, deep liquidity, and transparent on-chain trading. Both new and experienced traders can participate by trading Flare-native perpetuals and climbing the leaderboard directly on [**SparkDEX**](https://sparkdex.ai/perps/leaderboard) or inside[ **Luminite Wallet**](https://www.luminite.app/perps/leaderboard).

Importantly, the competition is volume-based:\
**Winning and losing trades count equally toward earning rewards.**

## Competition Objectives

#### **Reward On-Chain Trading Activity**

Participants are incentivized to execute trades, increasing engagement with SparkDEX Eternal and the Flare DeFi ecosystem.

#### **Showcase SparkDEX Eternal’s Capabilities**

The event emphasizes SparkDEX Eternal’s strengths:

* High-performance perpetuals engine
* Transparent, on-chain order execution
* No auto-deleveraging (no ADL)
* Collateral flexibility (FXRP or WFLR)
* Fair, open participation for all users
* No Minimum holding time&#x20;

#### **Strengthen the Flare DeFi Ecosystem**

Increased perpetuals volume supports liquidity, broadens participation, and contributes to a more resilient decentralized financial layer on Flare.

## How the Competition Works

### Duration

**November 4th → Until Further Announcements (The Competition will be ongoing.)**

### Rewards&#x20;

For the Rewards allocated to the Campaign on a monthly basis, please check SparkDEX official documentation, or SparkDEX's Official announcement channels **as those may vary each month.**

### Reward Pool

A total of **1,000,000 rFLR** is allocated for the **March 2026** Trading Competition.&#x20;

* **125,000 rFLR weekly** for positions collateralized in **FXRP**
* **125,000 rFLR weekly** for positions collateralized in **WFLR**
* **In total: 250,000 rFLR allocated weekly.**

Rewards are calculated weekly but distributed **monthly**, at the end of the rFLR epoch.

Claimable via:

* <https://portal.flare.network>
* <https://sparkdex.ai/farm>
* <https://www.luminite.app/earn>

## Competition Mechanics

### Eligible Markets

All perpetuals markets available on **SparkDEX Eternal** qualify.

### Eligible Collateral

* **FXRP**
* **WFLR**

### Scoring

Every qualifying trade contributes to your points for that week.\
Your weekly score determines your share of that week’s rFLR rewards.

#### Factors that increase point share:

* Higher trading volume
* Consistent trading activity
* Frequent participation across the week

**Profit or loss does not impact point calculation.**

## Trade Requirements

To qualify, trades must meet the following minimum conditions:

#### **Minimum Position Size**

* **$100 USD-equivalent**

#### **Minimum Holding Period**

* **No Minimum Holding Time required**

#### **Eligible Actions**

* Opening and closing **long** positions
* Opening and closing **short** positions

## Impact on Flare DeFi

This trading competition plays a key role in expanding Flare’s decentralized financial ecosystem by:

* Increasing on-chain perpetuals volume
* Strengthening liquidity
* Encouraging active and repeat participation
* Boosting FXRP’s role as a core asset in Flare DeFi
* Demonstrating the potential of decentralized markets over centralized ones

Every trade contributes to a more robust, transparent, and community-driven trading environment.


# Smart Contract Overview

Perpetual Aggregator smart contracts:

{% content-ref url="/pages/abbIFLmy14KpR6pc1mw0" %}
[Perps Exchange](/additional-information/smart-contract-overview/perps-exchange)
{% endcontent-ref %}

V2/V3.1 DEX smart contracts:

{% content-ref url="/pages/I3J3b34mGzMHleNk43Hl" %}
[V2/V3.1 DEX](/additional-information/smart-contract-overview/v2-v3.1-dex)
{% endcontent-ref %}

SPRK Token Related Smart Contracts:

{% content-ref url="/pages/yAntEJSJVrapbjSl94dI" %}
[$SPRK](/additional-information/smart-contract-overview/usdsprk)
{% endcontent-ref %}

Algebra AMM Contracts

{% content-ref url="/pages/mFRZP4NdPvZm3okHte8F" %}
[V4 DEX](/additional-information/smart-contract-overview/v4-dex)
{% endcontent-ref %}


# $SPRK

### Official Smart Contract Addresses

<table><thead><tr><th>Contract</th><th>Address</th><th width="263.13671875">Description</th></tr></thead><tbody><tr><td><strong>$SPRK Token</strong></td><td><code>0x657097cC15fdEc9e383dB8628B57eA4a763F2ba0</code></td><td>The core utility and governance token of SparkDEX.</td></tr><tr><td><strong>xSPRK (Staking)</strong></td><td><code>0xB5Dc569d06be81Eb222a00cEe810c42976981986</code></td><td>Wrapped staking token required to earn revenue share.</td></tr><tr><td><strong>Dividends Distributor</strong></td><td><code>0x710a578356A3Dfa7C207B839D3E244807b2f5AFE</code></td><td>Contract responsible for distributing rewards to xSPRK holders.</td></tr></tbody></table>

> 📌 **Important:** Always double-check contract addresses before interacting with them. These are the **only verified** contracts for the SparkDEX protocol and $SPRK ecosystem.


# Perps Exchange

## SparkDEX Perpetuals Smart Contracts (Flare Mainnet)

***Important:** Following the deployment of the new Perpetuals infrastructure, the previous Perps contracts will soon be deprecated but will stay retained in this documentation as 'Legacy Perps Smart Contracts' below for historical reference and transparency.*

### New Perpetuals Smart Contracts

The following contracts power the current version of SparkDEX Perpetuals on Flare Mainnet.

<table data-search="false"><thead><tr><th>Contract</th><th>Address</th></tr></thead><tbody><tr><td>AddressStorage</td><td><code>0x81131006A128356c4359eBA06D65f46615684fbC</code></td></tr><tr><td>DiscountChecker</td><td><code>0x10E759F46C38BEeBF8e632889189EEc3aF6Fa663</code></td></tr><tr><td>Executor</td><td><code>0xB4B31694887EcA3C42e877D6a9B09F40b7082D94</code></td></tr><tr><td>FTSOv2Adapter</td><td><code>0x6074D41beD30f7873ef49054EBC851AD54BfC403</code></td></tr><tr><td>FundingTracker</td><td><code>0xB9C3DCE6a456C16Bc20Afe405f254fdeF5a93a0A</code></td></tr><tr><td>OrderBook</td><td><code>0x641CA9819F39e9c853EF846658DC92E72cE5DdA1</code></td></tr><tr><td>PositionManager</td><td><code>0xCfd351b9C57e4C14E7F41EfFc7FF000401ac5cD9</code></td></tr><tr><td>ReferralStorage</td><td><code>0x7228ed80f2D69A58231AAEACA9D460D1a280841c</code></td></tr><tr><td>Store</td><td><code>0x910B51EA34aa5126Bb49f37b41C7B0BFD11d7701</code></td></tr><tr><td>TradingValidator</td><td><code>0xdb854b5ff5Ab2c4255Dea7eF1A7C18A28c295f95</code></td></tr></tbody></table>

## Legacy Perpetuals Smart Contracts

The following contracts belonged to the original SparkDEX Perpetuals deployment and will soon be deprecated following the migration to the New Perps infrastructure.

<table data-search="false"><thead><tr><th>Contract</th><th>Address</th></tr></thead><tbody><tr><td>AddressStorage</td><td><code>0x6098bF06bB653626Fa25c44CB232eC4A2bDc659D</code></td></tr><tr><td>FTSOv2Adapter</td><td><code>0x586F35597D0F0f16c46EaDBffB08a3b439ff17ee</code></td></tr><tr><td>ReferralStorage</td><td><code>0x7c45e1b4CF81581927a854d7d47c79e3F7211309</code></td></tr><tr><td>TradingValidator</td><td><code>0x7c6F8Db7C4Cb32F9540478264b15637933E443A4</code></td></tr><tr><td>FundingTracker</td><td><code>0x96Adda2A49E910d8A1def86D45dAD59F80E7A9C6</code></td></tr><tr><td>OrderBook</td><td><code>0xf76DC0d42A40E53021162521E5ac916AAe2500B9</code></td></tr><tr><td>Store</td><td><code>0x74DA11B3Bb05277CF1cd3572a74d626949183e58</code></td></tr><tr><td>PositionManager</td><td><code>0x0d59962e4fC41a09B73283d1a0bf305dB1237c48</code></td></tr><tr><td>Executor</td><td><code>0x7c224027d3188a6d97186604234c6BFa5CE6CD8E</code></td></tr><tr><td>DiscountChecker</td><td><code>0xE33A95A41F726F0BC3Aa533086ad65C84Ec05524</code></td></tr></tbody></table>

> **Note:** The above contracts will soon be deprecated and are no longer used by SparkDEX's active Perpetuals protocol.

## Unchanged Supporting Contracts

The following contracts have remain unchanged and continue to be used by the current, new Perpetuals deployment.

| Contract       | Address                                      |
| -------------- | -------------------------------------------- |
| Timelock       | `0xB0739F8e71E20B384d29e4597602C89FB7E0A808` |
| BatchSender    | `0xD4Da357D85d50A353A1203FC39f286dfedff3f35` |
| ReferralReader | `0x5D99C306370477893b34848C39Db38E04C4cECB5` |

> These supporting contracts were not affected by SparkDEX's Perpetuals migration and remain fully compatible with the updated Perps infrastructure.


# V2/V3.1 DEX

## V2 and V3.1 DEX Smart Contracts

V2Factory: 0x16b619B04c961E8f4F06C10B42FDAbb328980A89

UniswapV2Router02: 0x4a1E5A90e9943467FAd1acea1E7F0e5e88472a1e

QuoterV2: 0x2DcABbB3a5Fe9DBb1F43edf48449aA7254Ef3a80

V3Factory: 0x8A2578d23d4C532cC9A98FaD91C0523f5efDE652&#x20;

V3Migrator: 0xf2f986C04387570A7C7819fac51bd553bb0814af&#x20;

UniversalRouter: 0x0f3D8a38D4c74afBebc2c42695642f0e3acb15D3

TokenDistributor: 0xc2DF11C68f86910B99EAf8acEd7F5189915Ba24F

Unsupported: 0x38D411c8bBA193C8C8393DAAcEa67F9d9105EFB7

QuoterV2: 0x5B5513c55fd06e2658010c121c37b07fC8e8B705&#x20;

Permit2: 0xB952578f3520EE8Ea45b7914994dcf4702cEe578

SwapRouter: 0x8a1E35F5c98C4E85B36B7B253222eE17773b2781&#x20;

NonfungiblePositionManager: 0xEE5FF5Bc5F852764b5584d92A4d592A53DC527da

NonfungibleTokenPositionDescriptor: 0x840777EF3ED0457729354754946D96c07116651e&#x20;

OldNftManager: 0x9BD490113a249c81D0beA52d677134f5e87C0d60&#x20;

NFTDescriptor: 0x98904715dDd961fb368eF7ea3A419ff1FB664c38

TickLens: 0xdB5F2Ca65aAeB277E36be69553E0e7aA3585204d

v2Pair\_InitCodeHash: 0x60cc0e9ad39c5fa4ee52571f511012ed76fbaa9bbaffd2f3fafffcb3c47cff6e

v3Pool\_InitCodeHash: 0x209015062f691a965df159762a8d966b688e328361c53ec32da2ad31287e3b72


# V4 DEX

Powered by Algebra Integral v1.2.2

### SparkDEX V4 DEX on Flare Mainnet

AlgebraFactory deployed to: 0x805488DaA81c1b9e7C5cE3f1DCeA28F21448EC6A

AlgebraPoolDeployer deployed to: 0x59a662Ed724F19AD019307126CbEBdcF4b57d6B1

AlgebraCommunityVault deployed to: 0x95E325A85B9E6cB4DeA2ccd96218e5F8365E0B0F

AlgebraVaultFactoryStub deployed to: 0x3B22094a64D3D6801a27Db4e58ac0B859A4C066d<br>

EntryPoint deployed to: 0x03f8B4b140249Dc7B2503C928E7258CCe1d91F1A

TickLens deployed to: 0x04ACde7811F23B69fB1759A3F2fc98bD18D60894

Quoter deployed to: 0xD637cbc214Bc3dD354aBb309f4fE717ffdD0B28C

QuoterV2 deployed to: 0x6AD6A4f233F1E33613e996CCc17409B93fF8bf5f

SwapRouter deployed to: 0x69D57B9D705eaD73a5d2f2476C30c55bD755cc2F

NonfungibleTokenPositionDescriptor deployed to: 0x50FCbF85d23aF7C91f94842FeCd83d16665d27bA

Proxy deployed to: 0x658E287E9C820484f5808f687dC4863B552de37D

NonfungiblePositionManager deployed to: 0x49BE8AA6c684b15e0C5450e8Fa0b16Bec1435596

AlgebraInterfaceMulticall deployed to: 0xAbAc6f23fdf1313FC2E9C9244f666157CcD32990

AlgebraEternalFarming deployed to: 0x28DeD2af752655Df5Ee92450DC259F92a5ABe449

FarmingCenter deployed to: 0x38A5C36FA8c8c9E4649b51FCD61810B14e7ce047

#### Plugin - branch:

AlgebraUpgradeablePluginFactory: 0x0f460A2b3E8ba1Cc4D33E47f207EA03B37A286a7

SecurityRegistry: 0x34D6F4f7D27B94C157aE3DB2D17C1beCB1bBF89C

FactoryImplementation: 0x503D191CaFaB1d097b5F798d850E5897195C1d74

AlmImpl: 0xE94de02e52Eaf9F0f6Bf7f16E4927FcBc2c09bC7

DynamicFeeImpl: 0x5AeFBA317BAba46EAF98Fd6f381d07673bcA6467

FarmingProxyImpl: 0xF2A0Bc44DEbD394076C67962BB4869Fd43c78018

SecurityImpl: 0x49a390a3dFd2d01389f799965F3af5961f87d228

VolatilityOracleImpl: 0x37A4950b4ea0C46596404895c5027B088B0e70e7

ProxyAdmin: 0x1B3B62B519a60E8927d4FfbB54681871e1Bb6F11

FactoryProxy: 0x0f460A2b3E8ba1Cc4D33E47f207EA03B37A286a7

PluginImplementation: 0x893388ba29248261a0F13371BD4AE3700Ce06EC9


# Audits & Security

## SparkDEX has performed multiple Audits

Browse all Audits below:

{% content-ref url="/pages/k7nWA5KAbQcus6ItS0pU" %}
[V3 Audit](/additional-information/audits-and-security/v3-audit)
{% endcontent-ref %}

{% content-ref url="/pages/0aIxikNFX2GyreIW4bIk" %}
[V3.1 Audit](/additional-information/audits-and-security/v3.1-audit)
{% endcontent-ref %}

{% content-ref url="/pages/qw6Bd4PeAuMRF85htQng" %}
[V3.1 (2) Audit](/additional-information/audits-and-security/v3.1-2-audit)
{% endcontent-ref %}

{% content-ref url="/pages/3Epf5mTh5ifT6PpBzV6P" %}
[V4 DEX Audit](/additional-information/audits-and-security/v4-dex-audit)
{% endcontent-ref %}

{% content-ref url="/pages/6cDEc0fXQVg4PYAI78vv" %}
[SPRK Token SC Audit](/additional-information/audits-and-security/sprk-token-sc-audit)
{% endcontent-ref %}

{% content-ref url="/pages/UoFHBlJOKipWPsdiseQX" %}
[Perps Audit 2024](/additional-information/audits-and-security/perps-audit-2024)
{% endcontent-ref %}

{% content-ref url="/pages/lT5cV7PkQz8KGfuZ6Bqr" %}
[Perps Audit 2025](/additional-information/audits-and-security/perps-audit-2025)
{% endcontent-ref %}

{% content-ref url="/pages/Ly1UbP8xuiQx2m95wTRy" %}
[SparkDEX Distributor Audit](/additional-information/audits-and-security/sparkdex-distributor-audit)
{% endcontent-ref %}

{% content-ref url="/pages/gUBWmJZMwbunniVIBUeS" %}
[stFLR Audit](/additional-information/audits-and-security/stflr-audit)
{% endcontent-ref %}


# V3 Audit

### SparkDEX V3.0 DEX has been audited by Protofire:

{% embed url="<https://drive.google.com/file/d/1RaN7hV1-gTHCs7DLkgZVP9Y4jTzJidBh/view>" %}


# V3.1 Audit

### SparkDEX V3.1 DEX Upgrade has been audited by Protofire:

{% embed url="<https://drive.google.com/file/d/1RaN7hV1-gTHCs7DLkgZVP9Y4jTzJidBh/view?usp=sharing>" %}


# V3.1 (2) Audit

## SparkDEX V3.1 (2) has been audited by Protofire:

{% embed url="<https://github.com/SparkDEX/v3-core/blob/main/PoolV3%20Audit%20Report%20v1.1_sep24.pdf>" %}


# V4 DEX Audit

## SparkDEX V4 (Algebra Integral) went through several Audits

{% embed url="<https://docs.algebra.finance/algebra-integral-documentation/algebra-integral-technical-reference/audits>" %}


# Perps Audit 2024

## SparkDEX Perpetuals smart contract Audit by Protofire:

{% embed url="<https://github.com/SparkDEX/perp-smart-contracts/blob/main/audit/SparkDex%20PerpV2%20Audit%20Report%20v0.1_o%D1%81t24%20remediation.pdf>" %}


# Perps Audit 2025

## SparkDEX Perpetuals smart contract Audit by Coinspect:

{% embed url="<https://drive.google.com/file/d/13jeV8NeRbR64i-9O8uZdor_8E1mteXjl/view>" %}


# SparkDEX Distributor Audit

## Audit Report of SparkDEX Distributor Smart Contracts:

{% embed url="<https://drive.google.com/file/d/1zY_XXxuNiyQeDyK6ni023sUXIqh50i8L/view?usp=sharing>" %}


# SPRK Token SC Audit

## Audit Report of the SPRK Tokenomics Smart Contracts:

{% embed url="<https://github.com/SparkDEX/sparkdex-contracts/blob/dc668f3f8646b5822a007a5d26c53d560449f703/audit/SparkDEX-Tokenomics-Audit.pdf>" %}


# stFLR Audit

## Audit Report of SparkDEX stFLR

{% embed url="<https://drive.google.com/file/d/1zmFPzxXrZV8hGw6A3-LMCUnT-6GKImUY/view>" %}


# FTSOv2 Integration

## **FTSOv2 (Flare Time Series Oracle)**

SparkDEX has integrated **Flare's FTSOv2 (Flare Time Series Oracle Version 2)** into its perpetual aggregator. This advanced, and completely decentralized oracle system, offers the precision, speed, and reliability essential for supporting traders and users alike on Flare.&#x20;

### **How FTSOv2 Is Used by SparkDEX:**

* **Anchored Price Feeds:** FTSOv2's anchor price feeds serve as the foundational reference for price determination in SparkDEX's perpetual markets, ensuring high levels of accuracy.
* **Fast Price Feeds:** The fast price feeds offered by FTSOv2 deliver rapid updates, enabling the perpetuals to react to market changes in near real-time.

By leveraging Flare's native cutting-edge oracle infrastructure, SparkDEX ensures secure, decentralized, and efficient pricing mechanisms, further enhancing the trading experience on the platform.


# Hypernative Integration

## About Hypernative

Security is at the core of SparkDEX’s operations. To strengthen the safety of the platform, a partnership has been established with **Hypernative**, a cutting-edge security monitoring and real-time threat prevention platform.

### **Key Highlights of the Integration:**

* **Smart Contract Monitoring:** Hypernative continuously monitors SparkDEX’s smart contracts for potential vulnerabilities, ensuring proactive detection of threats.
* **Enhanced Security Measures:** By utilizing Hypernative’s advanced tools and technology, SparkDEX safeguards user funds and platform stability.

This collaboration reflects SparkDEX’s commitment to providing a secure and robust trading ecosystem. With Hypernative's additional layer of security, users can trade with confidence on the platform.


# Brand Assets

## SparkDEX Media Kit

Below is a library of SparkDEX's brand assets:

{% embed url="<https://drive.google.com/drive/folders/1qais05Y_hDeRDSFvFeC_ZR-f8PTEI_Vj?usp=sharing>" %}


# Official Platform Links

Website: [https://sparkdex.ai](https://sparkdex.ai/)

Swap: <https://sparkdex.ai/swap>

Provide Liquidity: <https://sparkdex.ai/pool>

Stake: <https://sparkdex.ai/stake>

Farm: <https://sparkdex.ai/farm>

Perpetuals: <https://sparkdex.ai/perps> &#x20;

Delegate to FTSO: <https://sparkdex.ai/ecosystem>

Claim Flare Rewards: <https://sparkdex.ai/ecosystem/flarerewards>&#x20;

Aggregated Statistics: <https://sparkdex.ai/stats>

Litepaper: <https://drive.google.com/file/d/1T9qrpmqyWba0axM_fhXOXrk4ti-UR9NA/view>

Whitepaper: <https://drive.google.com/file/d/1034BDwvDd5Dl2eHL6HTbv4L0u7fn7ELK/view>


