# DAFI Protocol

Reinventing network rewards

## What is the DAFI protocol

DAFI is building an entirely new incentive model for every protocol & application. Today, everything decentralized relies on inflation, an example is miners earning Bitcoin in return for maintaining the Blockchain.

{% hint style="info" %}
Incentives are the core DNA of everything decentralized - without it nothing can truly scale.
{% endhint %}

DAFI creates limitless applications with reduced inflation, by replacing simple token rewards with dTokens. As a network grows in demand, dTokens distributed to users can increase in quantity. Essentially, DAFI converts demand volatility into user rewards.

This enables you to truly become a part of the economies you love.

{% tabs %}
{% tab title="Applications" %}

```
Staking rewards
Social & community incentives
Gaming
Next-gen Liquidity programs
Prediction-markets
```

{% endtab %}
{% endtabs %}


# Let's get started

It's time to become a Dafinaut

## Super Staking

You can Super Stake your DAFI tokens [here](https://stake.dafiprotocol.io).

The DAFI token becomes the first to be staked for dToken rewards, where inflation is now directly linked to market demand.&#x20;

{% hint style="info" %}
Protocol’s can soon adopt Super Staking to replace the current model — and start incentivizing users & communities from their own network’s adoption.
{% endhint %}

To read the full documentation, carry on.


# Features

Introducing evolved reward-models

## Become part of the networks you love

Rewarding users with more quantity as an economy increases in growth, utility and adoption. This makes communities properly incentivized without large inflation rates, and also enables actual social rewards. DAFI is introducing game-theory to all token economies.

## Robust decentralization

As dTokens modify their quantity depending on the stress of the network, it becomes harder for single-users to damage the economy, especially when the market is fragile. This enhances decentralization & growth.

## The DAFI token

For other protocols to join DeFi 2.0, and to bootstrap TVL & Liquidity without large token emission, DAFI tokens are required. Initially the DAFI token will be used on an integration-based (whitelabels) model but eventually towards Dec/Jan we will begin to support volume-based utility, where each tx in a dToken pool collects DAFI in fees. This can sustain the dDAFI reward pool whilst  the token becomes deflationary in the long-term. This promotes scarcity in the supply, whilst growing the economy.

## Limitless Applications

While Super Staking is the first use case of dTokens, it is only the start. The next use cases include new dToken reward flavors, multi-staking, synthetic airdrops, prediction-markets, social dTokens and more.<br>


# FAQs

You have questions, we have answers!

## What is the story of DAFI?

DAFI was inspired after a winter of research into the science behind [Bitcoin](https://blog.dafiprotocol.io/creator-of-blockchain-discusses-dafi-459021cf8213). This was put into a thesis, and then execution. The next stage is adoption & building out new [products](/and-more/limitless-applications) on the base-technology. Really, the potential is limitless, and eventually every/most protocol can adopt this.

## What is a dToken?

A dToken can be visualised as a fragment of a network. It is created from the actual token, and then distributed as a reward.&#x20;

The cool thing is that they can split & multiply if they sense demand in the network has risen. Similarly, they can reduce & make themselves scarce, if the network falls in value. Simply, you can put your dTokens to work!

## What can a dToken be used for?

In short, pretty much anything.&#x20;

They enable every community, blockchain and application to adopt game-theory mechanics.&#x20;

Maybe you're an NFT project that wants to reward your collectors, cool! Let's create a dToken which will reward the supporters more if the community grows, or the NFT's minted/transacted rises.

Perhaps you're a gaming application that wants to support rewards without an inflationary design, smart! You can launch a dToken for Bitcoin or Ethereum and reward gamers only as their rank/reputation rises.

It's most likely that you're a protocol that needs to acquire liquidity, and reward stakers, without burning your finite treasury. It's hard to compete with unsustainable reward rates. The weapon to this, is that you can simply lock some of your tokens to back a dToken, distribute it via a Staking pool, and see your user-retention & acquisition grow without devaluing your economy. In fact, the long term users get the maximum rewards.

## What is Super Staking?

Staking for a dToken as a reward, if the demand in the network increases, so do the rewards for all users. This became the first time that an intelligent Staking model was deployed. Initially, dDAFI went onto v1 mainnet in June 2021. This saw a peak TVL of the DAFI token at $7.5m USD locked by the community. Compared to normal staking programs, token emission was reduced by approximately 80%. In November, other projects can adopt Super Staking as a service, by using DAFI tokens as a fee.

## How can I get involved?

Join thousands of other Dafinauts in the reinvention of every network. The [Telegram](https://t.me/dafiprotocol) is a cool place, and [Twitter](https://twitter.com/dafiprotocol) & [Discord](https://discord.gg/bwpCueVD8t) are okay too.


# Overview

What's so 'Super' about it?

## Introduction

Super Staking can be thought of as Staking 2.0, where you get more than simple token rewards. Instead, you receive dTokens which grow alongside the network. As a network becomes more adopted your dTokens multiply in reward quantity.

{% hint style="info" %}
Until now, every inflation model including PoS, Liquidity Mining, Farming and Staking was inherently flawed. Users take on high-risk which can only be matched with protocol’s emitting huge token quantities.
{% endhint %}

Super Staking instead, converts volatility in the market demand into reward quantity. No longer will users have to be diluted through large inflation rates which devalue the protocol. Say goodbye to being forced to exit the network you love to cope with a fluctuating market. Your long-term commitment to the success of a protocol can properly be rewarded, you finally become an actual part of the network.

This is the core-layer which we can use to soon build multi-staking & social staking. Over the coming months, DAFI will be able to be staked for other flavors of crypto-assets. In Dec/Jan we are launching a platform which will become the accelerator for onchain adoption, enabling any token to create it's own dToken form, in just a few steps.

### A quick take on dDAFI

The first of many synthetic rewards, which are tied to network demand factors.

As Super Staking is designed to be highly customizable, the demand metrics which dTokens are pegged to, can change.&#x20;

Examples include – Number of wallet holders, number of NFT transactions for liquidity, number of nodes in a protocol, even the amount of social followers for creators & communities.&#x20;

These demand metrics can be mixed as a cocktail to create a more complex dToken. Alternatively, they can be more simple, with only one metric, which offers a more prediction-like market, depending on the desired use-case.&#x20;

Protocols can even create several dTokens, each with their own demandFactors, used within their desired utility. The applications are vast, and DAFI is able to support many in the next product launches.<br>


# Super Staking V1

Super Staking V1 leverages distribution on demand and reward multiplication to greatly reward early adopters.

This document is divided into 2 sections:&#x20;

* The [first section](/super-staking/super-staking-v1/super-staking-v1-high-level) is a high-level description with all the definitions, keywords... for anyone interested in understanding how Super Staking works.&#x20;
* The [other one](/super-staking/super-staking-v1/super-staking-v1-technical) is a technical version containing actual formulas and contract architecture for developer or analyst dafinauts.


# High-level Document

All (most of) Dafinauts need to know

## Staking

### Total DAFI Staked

This is the total DAFI staked across the entire network by the community.

### Your DAFI Staked

How much DAFI you have locked in a Super Pool for staking. The minimum stake amount is 2500 DAFI, with an initial lock-period of 30 days.

## Reward

### Demand Factor

Super Staking uses a set of on-chain and off-chain metrics to determine a variable called `demandFactor` on which is based most of the calculations.

### Reward Distribution

#### Max Distribution

The maximum of reward distributed in a certain period if `demandFactor` remains at the maximum value the whole time (`1.0` for V1).

#### Actual Distribution

The actual amount of reward adjusted to `demandFactor`.

### Reward Multiplication

For normal staking programs, early stakers are rewarded by an excessive token amount at the beginning; sometimes the APY can go up to a few thousands percent in the initial short period. Super Staking, conversely, reward increases as network demand increases. A problem derived from that implementation is that the reward can be very low at the beginning which discourages early adopters. We aim to tackle that with reward multiplication.

The idea is fairly simple, final reward of the user is multiplied by the latest `demandFactor` and divided by the `demandFactor` at staking time (the earlier/lower the better).

#### Demand Factor at Staking

The demand factor when users stake are recorded to later used at unstaking/claiming time.

#### Demand Factor at Unstaking/Claiming

The latest `demandFactor` at the unstaking time.

### Potential

The quantity which your current-rewards would change to at peak demand, i.e. Potential Rewards. Similarly, Potential APY indicates the dDAFI reward rate if demand reached it’s peak and multiplied rewards.

## Fees

As of now, users might have noticed that we love our early adopters. But we also love our loyal stakers. To encourage users to remain staked as long as possible, we charge a 25% fees on every unstaking/claiming action and distribute on a pro-rata basis to current stakers. This is a game-theory mechanism that simply means other users have to pay you some of their rewards, in order to exit.


# Technical Document

For geeks that care.

## Demand Factor

In V1, we have chosen Price and TVL as the demand metrics. The chosen target levels are $0.18, and soon 500M, for Price and TVL respectively. The TVL metric will only be added in Q4 after launching, due to oracle-feed requirements.

$$
DF = 0.75\ \cdot\ \frac{P}{P\_{baseline}} + 0.25\ \cdot\ \frac{TVL}{TVL\_{baseline}}
$$

And to make sure demand factor does not go out of control, we have introduced some limitations for demand factor.

$$
DF \geq 0.10,\ and\ DF \leq 1.00
$$

## Distribution

### Max Distribution

During the staking program duration $$P$$ we can distribute total $$A\_{max}$$ amount of DAFI. This means each second, the maximum amount of DAFI we can distribute is:&#x20;

$$
\frac{A\_{max}}{P}
$$

However, we need to convert users' reward at the end using reward multiplication. This means at the most extreme case, reward will be multiplied by $$DF\_{max}$$ and divided by$$DF\_{min}$$.  We call this action `Conversion Multiplier` -  $$CM$$, and it has some characteristics:

* $$DF \in R,\ and\ 0.1 \leq DF \leq 1$$&#x20;
* $$\Rightarrow CM\in R, and\ 0.01 \leq CM \leq10 \ \Rightarrow\ CM\_{max} = 10$$&#x20;

To make sure the total distributed DAFI will never become greater than Max DAFI, the maximum distribution per second needs to acknowledge the multiplier.

$$
D\_{max} = \frac{DF\_{min}}{DF\_{max}}\cdot\frac{A
\_{max}}{P}
$$

### Actual Distribution

Actual distribution is the maximum distribution multiplied by demand factor.

$$
D = D\_{max} \cdot DF
$$

## Fees

### Fee Deposited

Every time users claim their rewards, 25% of their rewards will be deducted and distributed to other stakers.

$$
F\_u = 25% \* R
$$

### Fee Distribution

$$
F = \sum\limits\_{i=0}^t F\_i
$$

## Reward

Users' rewards are the accumulated amounts of reward every time demand factor changes. The actual implementation is similar to other staking programs like Sushi's `MasterChef`.

$$
R = \sum\limits\_{i=0}^t R\_i
$$

### Final Reward

$$
R\_{final} = R\ \cdot\ \frac{DF\_{latest}}{DF\_{staking}} + F
$$


# Super Staking V2

V2 was born to adapt Super Staking to a new development stage of DAFI.

{% hint style="info" %}
Most of the ideas in V2 is inherited from [V1](/super-staking/super-staking-v1/super-staking-v1-high-level). Only some calculations are fine tuned to achieve a different and improved result. The V2 mainnet will be launched on Ethereum in October, and also on Polygon shortly after.
{% endhint %}


# Changes and Improvements

New and intelligent architecture

## Distribution

### Max Distribution

In V2, we aim to provide a more stable APY across program duration. Early adopters still get better reward but later adopters now get a better reward right at the beginning. We achieve that by abandoning reward multiplication, so now users have a better base reward.

$$
D\_{max} = \frac{A
\_{max}}{P}
$$

## Reward

The rewards of users are the sum of all rewards in the past adjusted to the latest demand factor.

$$
R = DF\cdot \sum\limits\_{i=0}^t {D\_{max}\cdot\frac{S\_{i\_u}}{S\_i}}
$$

## Security Improvement

The Super Staking model heavily depends on token price which is provided by an oracle feed. In extreme cases when the oracle's price feed is hacked or manipulated, the staking program will also be affected. Even though we already limit the range of demand factor to 0.1 → 1, having the sudden surge in demand factor shows some weakness on security frontier. In V2, we will include 2 measues to tackle this problem.

### Variance Tolerance

In the current implementation, demand factor will be calculated using the latest price. To prevent a sudden change in price, we can introduce a delay and a variance tolerance for price change.

### Time-Weighted Average Price (TWAP)

Variance Tolerance is a simple but effective way to prevent a sudden surge in price, but the price change curve is still steep. And in extreme cases where hackers have control over the oracle feed, they can still bypass that mechanism. Fortunately, these 2 problems can be resolved by TWAP calculation.

* The curve will be averaged out and become less steep.
* Even when hackers can control the oracle feed, they will have a tougher time if they want to exploit SS. The price will need some time for the price to increase, and during that time, the team will have enough time to implement a prevention measure (such as changing the oracle).


# Staking DAFI

Using the token

You can participate in the next-generation of network incentives, by staking DAFI for dDAFI rewards [here](https://stake.dafiprotocol.io).

You can connect your wallet to the highly-intuitive design & features.

## Dashboard

| Feature           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Total DAFI Staked | This is the total DAFI staked across the entire network by the community.                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Fees Collected    | <p>Total fees collected and redistributed to active users. Users staying in the system receive 25% of the rewards from users exiting. Each time someone decides to exit, a withdrawal fee is applied to convert dDAFI rewards into DAFI. </p><p></p><p>This is currently set at 25%, the dDAFI fees are sent back to the rewards pool and later redistributed to active-users in the system. Over time, you will accumulate a portion of other users fees. This rate will be decreased over time after it has served it's purpose.</p> |
| Your DAFI Staked  | How much DAFI you have locked in a Super Pool for staking. The minimum stake amount is 2500 DAFI, with an initial lock-period of 30 days.                                                                                                                                                                                                                                                                                                                                                                                              |
| Rewards           | Your accumulated, unclaimed dDAFI rewards. These will change depending on the distribution rates, as well as the demand of the network multiplying your quantity.                                                                                                                                                                                                                                                                                                                                                                      |
| Potential         | The quantity which your current-rewards would change to at peak demand, i.e. Potential Rewards. Similarly, Potential APY indicates the dDAFI reward rate if demand reached it’s peak and multiplied rewards.                                                                                                                                                                                                                                                                                                                           |

{% hint style="info" %}
Super Staking is designed to be a highly-customisable, novel reward model which incentivizes users without simple-token inflation.
{% endhint %}


# Functionality

The functions you need to understand

## Staking

You will be able to stake DAFI on Binance Smart Chain, Ethereum and Polygon. Each pool will have the same Super Staking mechanics, however they can vary in reward rates, depending on their activity.

To create a lightweight, plug-and-play design, users staking will receive virtual dDAFI rewards. This reduces gas-fees and still enables the network-adaptive nature of dTokens.

## Unstaking

There is an initial lock-period of 30 days, after which users can partially, or entirely, unstake their initial DAFI tokens. It’s important to note that during unstaking, your entire dDAFI balance is immediately converted to the final DAFI quantity. This is because you have essentially ‘exited’ the system.

## Claiming

You can partially or entirely withdraw your rewards at anytime, during which the contracts will provide a final real-time calculation of your reward balance in the form of DAFI. The nature of dTokens incentivize users through a multiplication effect, if network-demand rises, every user’s reward balance will increase.

$$
1: dDAFI = 1:DAFI
$$

When converting/exiting (not including fees).

## Potential APY

Super Staking is a unique inflation model, that rewards users through protocol adoption. For this reason, standard APY can be misleading, as rewards are distributed in the form of dTokens – not simple token rewards. Potential APY displays the distribution rate of dTokens that would be self-multiplied to their maximum amount.

$$
Potential APY = APY / demandFactor \* 1.00
$$

$$
Where:1.00 = maximumDemand
$$


# Demand Factors

The mathematical adoption of a network

## dDAFI

The first of many synthetic rewards, which are tied to network demand factors.

$$
dDAFI = DAFI \* demandFactor
$$

As Super Staking is designed to be highly customizable, the demand metrics which dTokens are pegged to, can change.&#x20;

Examples include – Number of wallet holders, number of NFT transactions for liquidity, number of nodes in a protocol, even the amount of social followers for creators & communities.&#x20;

These demand metrics can be mixed as a cocktail to create a more complex dToken. Alternatively, they can be more simple, with only one metric, which offers a more prediction-like market, depending on the desired use-case.&#x20;

Protocols can even create several dTokens, each with their own demandFactors, used within their desired utility. The applications are vast, and DAFI is able to support many in the next product launches.

However, in this first v1 dDAFI launch, we have chosen Price and TVL as the demand metrics. The chosen target levels are $0.18 and 500M, for Price and TVL respectively. The TVL metric will only be added in Q4 after launching.

It’s important to note that these levels can be extended and modified periodically, as a network becomes more adopted.

$$
demandFactor = ((currentPrice / baselinePrice) \* 0.75) + ((currentTVL / baselineTVL) \*0.25)
$$

$$
demandFactor => 0.10,  or =< 1.00
$$

$$
quantityChange = dDAFI \* (newDemandFactor / oldDemandFactor)
$$

Onchain and Market data is provided through oracle feeds, sourced from Chainlink, DIA and Band as close partners.

Each time a user initiates an action within the Staking Network (e.g. Stakes, Unstakes, Claims) it acts as a trigger, which calculates the latest demandFactor, and updates the demandFactor across the whole network automatically.

Also, the demandFactor cannot decline below 0.10 or rise above 1.00. The former condition is to ensure sharp declines in any market do not lead to zero rewards. The latter is to ensure that the maxTokens allocated are never exceeded.<br>


# Reward Distributions

Pools, not the kind for swimming.

## Pool Balances

The poolBalance is distributed to users staking. It is initially supplied as native-tokens (DAFI) which is locked in the distributionContract, this is defined as maxTokens.

$$
Pool Balance = (maxTokens – totalDistributed + withdrawalFees) \* demandFactor
$$

This is later used, to understand how much dDAFI will be distributed per second, to the entire network.

$$
distributePerSecond = poolBalance / programDuration
$$


# Pool Weights

Lightweight weights

## Super Staking Weights

Like most Staking models, the program can indeed run for certain time-periods. For v1 dDAFI we will likely run the program for 1 month, before extending it further.

To create a lightweight architecture, we’re able to track users rewards through weights.

$$
currentPoolWeight = (distributePerSecond \* currentTime – lastCalculatedTime) / totalStaked
$$

It calculates how much dDAFI is being distributed within the elapsed time per staked DAFI across the entire pool. It is then added to an ongoing pool weight.

$$
accumulatedPoolWeight = lastAccumulatedWeight + newWeight
$$

Each time any user behaves within the protocol, by staking, unstaking or claiming, the weight is recalculated for the whole network. One user simply acts, and everyone is synchronised.&#x20;


# dDAFI Claiming

Get your hands on some.

## Fragmented timeframes

As the weight accumulates, when a user decides to claim their rewards, we can extract it from the weight.

Where DPS = Distribute per second, US = User Stake, TS = Total Network Stake, UR = User Reward, and n = Time in seconds

$$
UR1 = (DPS1 \* US1 / TS1) + (DPS2 \* US1 / TS2) + (DPSn \* US1 / TSn)
$$

We can calculate the user reward within a timeframe, as a to b where b > a

Where n = 1 to a,&#x20;

$$
UR1 = US \* ∑DPSn / TSn
$$

$$
UR = US1 \* (DPS1 / TS1 + DPS2 / TS2 + DPSx / TSx)
$$

Where n = 1 to b,&#x20;

$$
UR2 = US \* ∑DPSn / TSn
$$

When a user initiates an action in the network, where a = n > 1, we calculate n from 1 to a. When the same user initiates an action again, we calculate from 1 to b, and subtract the previous 1 to a. This can be represented as :

$$
UR = US \* ∑ DPSn / TSn, (n = 1 : ∞)
$$

A user's reward between timeframe a and b can be calculated accurately as:

$$
URab = UR2 - UR1 = (US \* ∑DPSn / TSn)
$$

where n = 1 to b, and

$$

* (US \* ∑DPSn / TSn)
  $$

where n = 1 to a

$$
\= US \* ((∑DPSn / TSn, (n=1:b)) - (∑DPSn / TSn,  (n = 1:a)))
$$


# Smart Contracts

The architecture of the contracts & functions

![](/files/-MdIvBkRREh-hKQvd61Q)

## StakingManagerV1.sol

This is the contract with which the user can stake, unstake, claim rewards, see their reward balance and their staked amount. The Staking Manager is initialized by providing the values of a minimum staking period, minimum staking amount, max token allotment for rewards, reward fee percentage and the duration of the staking program, along with the addresses from the RebaseEngine, Staking Database, Network Demand and Distribution Pool.&#x20;

A Staking Pool is created by the Staking Manager contract and nothing can access the Staking Pool assets other than Staking Manager itself. Before each stake, unstake and claim requests, the rebase method of the RebaseEngine is called, to update the pool variables including accumulatedPoolWeight and the user's reward based on currentAccumulatedPoolWeight and the user stake amount. The Rebase Engine and Network Demand are upgradable and can be replaced by future versions.&#x20;

## PriceFeeds.sol

Integrated with DIA oracle price feeds to get the real time price of DAFI.

## TVLFeeds.sol

It will be integrated with Band Protocol's aggregator for the TVL feeds when they have completed the aggregator deployment. This will aggregate the entire amount of DAFI Super Staked across Binance Smart Chain, Ethereum and Polygon. Right now TVL is nullified, with Price left as the sole factor.

## NetworkDemand.sol

It uses TVLFeeds and PriceFeeds to calculate the network demand factor based on current price/baseline price and current TVL/baseline TVL. Only whitelisted accounts can update the variables. Both the TVL and Price feeds are upgradable.

## TokenPool.sol

This is a simple token pool to hold different pools of same token, we are using two pools i.e Staking Pool and the Reward Distribution Pool. Whenever a user stakes, the staked amount goes to Staking Pool and when user unstakes they get the staked amount back from the Staking Pool and the rewards from the Distribution Pool.

## StakingDatabase.sol

This is the database of the staking program. It holds the data variables of the staking program and the functions to view and update these data variables. Only whitelisted accounts can update the variables.

## RebaseEngine.sol

This contract rebases the pool variables as well as user stakes variables, based on formulae, before stake, unstake, and claimRewards functionalities of the StakingManager.


# Audit v1

Two successful contract audit reports by Omniscia and Block Apex.

![](/files/-Mgf-OpHGUX51Uqjaz8v)

## Omniscia Audit

Super Staking passed an audit report by Omniscia, a leader in security audits. Most of the suggested modifications were to keep the system lightweight with low-gas consumption. All suggestions to the codebase were acted upon.

The remaining comments mentioned in regards to the duration of the Staking Program, and mentions to a manual-supply configuration & functionality changes once the program ends. It was later made clear to Omniscia that Super Staking is designed to be customisable, to support dToken creation in a plug-and-play manner. For this reason, program duration can be manually extendible, which is key to the design, rather than a flaw.

You can read the full report, [here](https://omniscia.io/dafi-super-staking-implementation/).

{% hint style="info" %}
We will gradually add more features to Super Staking, including new Super Pools, new demand-metrics and more.
{% endhint %}

## Block Apex Audit

Super Staking passed a second audit report in August by an independent security firm. They performed a filtered audit, which returned no major issues. The Super Staking architecture was found to be robust & secure. The main feedback was in supporting some mathematical changes to the dToken reward distribution, which was already being worked on & implemented.

You can read the full report [here](https://github.com/BlockApex/Audit-Reports/blob/master/Final%20Audit_Dafi%20Staking%20Contract.pdf).


# Audit v2

Security is a priority, always

The Super Staking v2 contracts have passed an audit from Hacken. There were zero medium (and above) issues found in both the preliminary & final audit. The only findings were low-level, and mostly the names of contracts, which is not significant. It's a confidence-boost, but also it's expected to have a high quality of code even prior to the audit.

You can read the full audit report [here](https://hacken.io/audits/#dafi_protocol).


# dBridge Audit

Two security audit for DAFI's cross-chain bridge (Binance Smart Chain)

## Omniscia Security Audit

Omniscia has performed a security audit on the cross-chain dBridge, including a manual code-review. The findings were primarily gas-optimization, while passing relatively good security tests. The main finding about the dBridge not being compatible for tokens such as Tether were not relevant, as the dBridge has been built primarily for DAFI tokens.\
\
You can read the full security report [here](https://omniscia.io/dafi-protocol-crosschain-bridge/).<br>

![](/files/zJSJZvLsa1uCgdGz2pPO)

## Block Apex Security Audit

DAFI recently passed a smart contract audit by BlockApex, where the entire architecture and code-base was tested for security, performance, and gas-optimisation. There were no high-risk issues found in the audit, and it functions as expected.\
\
Some key changes added include optimisation for newer chains, you can read the full audit [here](https://blockapex.io/dafi-bsc-eth-bridge-final-audit/).


# Limitless Applications

Maximised incentives for users

## What's coming next?

Super Staking will already be made compatible across multiple chains, supporting all tokens on Ethereum, Binance Smart Chain and Polygon to create their own dToken. It is designed to be plug-and-play, supporting limitless applications with reduced inflation.

## Multiple Flavors

Built on top of Super Staking, we can soon enable partner protocols to launch their own Super Pool. The entry to the pool would involve staking their native-token, in return for their dToken flavor as a reward. Each action in the pool will collect DAFI as a fee, which reduces circulating supply, this is deposited to support the dDAFI v1 and v2 pools, boosting rewards.

{% hint style="info" %}
This is the long-term direction of utility for the DAFI token, to bring multi-token staking through network demand alive. Making staking, liquidity and user acquisition possible without uncontrollable token emission.
{% endhint %}

![](/files/-MdJDpQwXKSl7zDxyMw4)

## Social Staking

Staking in return for dTokens tied to events, bringing incentives to the growing world of all social communities & gaming.

{% hint style="info" %}
Communities are everywhere. Influencers, sports, and artists will eventually be able to create dTokens to reward users by making them a part of a shared mission
{% endhint %}

![](/files/-MdJE3eEu00XuBZ8eBuP)

## Prediction Markets

Combining predictions with staking to offer a new-realm of experiences. Enabling users to speculate & predict on different markets & tokens by simply staking in a Prediction Super Pool.&#x20;

This can later be used to create dToken Liquidity programs (Super Liquidity) which can also be used for protocol-owned liquidity, but in a far more efficient manner. It simply allows protocols to purchase/acquire TVL and Liquidity, without a high token-expense, like the pre-existing farming models that we aim to obliterate.

![](/files/-MdNCoyDLaK1fgdwpAxj)

{% hint style="info" %}
By creating Super Pools tied to different predictions, users could stake their tokens and receive maximum incentives if their prediction is correct - fun, right?
{% endhint %}


