diff --git a/docs/fees.md b/docs/fees.md new file mode 100644 index 00000000..84a03512 --- /dev/null +++ b/docs/fees.md @@ -0,0 +1,66 @@ +--- +id: fees +title: Fees +--- + +import useBaseUrl from '@docusaurus/useBaseUrl'; + +The HydraDX Protocol charges users fees for its products. Some of these fees go to the HydraDX Treasury, while others are distributed as rewards to Liquidity Providers (LPs), stakers, referrers or trades. In some cases, fees in HDX may be even burned. + +Here is an overview of all fees: + +| Product | Type fee | Amount | Details | Recipient | +| ------------- | ------------------------------------ | -------------- | ------------------------------------------------------ | ---------------------- | +| Protocol | [Transaction fee](#transaction-fee) | ~1.60 HDX+ | Fee paid per transaction for any action on the network | Treasury | +| Omnipool | [Asset fee](#asset-fee) | 0.25% to 5.00% | Dynamic fee on every Omnipool trade | LPs, referrers, traders & staking | +| Omnipool | [Protocol fee](#protocol-fee) | 0.05% to 0.10% | Dynamic fee on every Omnipool trade | Burned or HDX subpool | +| Omnipool | [Withdrawal fee](#withdrawal-fee-omnipool)| 0.01% to 1.00% | Dynamic fee on Omnipool LP liquidity withdrawals | Liquidity providers | +| Isolated Pool | [Trade fee](#trade-fee-isolated-pool)| 0.3% | Fee on every Isolated Pool trade | Liquidity providers | +| Stablepool | [Trade fee](#trade-fee-stablepool) | 0.04% | Fee on every Stablepool trade | Liquidity providers | +| Stablepool | [Withdrawal fee](#withdrawal-fee-stablepool)| 0.04% | Fee on Stablepool LP liquidity withdrawals | Liquidity providers | +| LBP | [Repayment fee](#repayment-fee-lbp) | variable | Fee on all LBP trades until repay target is hit | Pool owner | +| LBP | [Trade fee](#trade-fee-lbp) | variable | Fee on all LBP trades after repay target has been hit | Liquidity providers | +| OTC | Trade fee | 0% | Currently there are no fees on OTC trades | | + +## Transaction fee +To submit any transaction on the HydraDX network (e.g. trade an asset, transfer tokens, submit a governance vote), users must pay a **transaction fee.** In Ethereum, this is commonly referred to as **gas**. + +On HydraDX, users are able to pay these transaction fees in **any Omnipool asset**. In order to reduce user friction, the Protocol will automatically set the first asset sent to HydraDX as the fee payment asset. This can be changed at any time on the wallet page of the app. + +Note: If you are using **a 0x address with MetaMask**, it is currently only possible to pay for transaction fees in **WETH (MRL)**. + +## Asset fee +Asset fees are are paid by users whenever they make a trade in the Omnipool. These fees are charged in the asset that is “bought” from the Omnipool. Asset fees are dynamic, meaning that they can increase or decrease based on the current volatility of the traded assets. + +With the introduction of **Referrals** to HydraDX, asset fees are distributed in the following way: + +- 50% remains in the Omnipool as a reward for LPs +- 50% is distributed for referrals to 3 distinctive groups: Referrers, traders & HDX stakers. The proportions vary based on the tier of referral code linked to the trader account (learn more in [Referrals](/referrals)) +- HDX asset fees are currently excluded from Referrals, they are distributed in their fullest to the HDX Staking pot (learn more in [Staking](/staking)) + +
+ metadata +
+ +## Protocol fee +Protocol fees are paid by users whenever they make a trade in the Omnipool. These fees - paid in LRNA - are burned after the trades to mitigate any negative imbalance between the ratio of LRNA and the other assets in the Omnipool. + +When there is no negative imbalance, the protocol fee will be redirected to the HDX pool within the Omnipool. This will result in the value of HDX increasing relative to all other assets in the Omnipool. An arbitrageur will observe this and swap HDX with other assets, setting a new (likely higher) price for HDX. + +## Withdrawal fee (Omnipool) +The withdrawal fee is a dynamic fee paid whenever users withdraws liquidity from the Omnipool. It is designed to ensure that LPs do not lose money when liquidity is withdrawn immediately after a price change. The fee is calculated as the percentage difference between the spot price and the oracle price. This is also designed to ensure that any potential manipulation of the spot price will not be profitable. + +## Trade fee (Isolated Pool) +Trade fees are are paid by users whenever they make a trade in an Isolated pool. These fees are paid in the asset that is “bought” from the pool. Trade fees are fixed at 0.3% and remain in the pool as rewards for LPs. + +## Trade fee (Stablepool) +Trade fees are are paid by users whenever they make a trade in a Stablepool. These fees are paid in the asset that is “bought” from the pool. Trade fees are set for each Stablepool upon its creation by the Protocol and the proceeds remain in the pool as rewards for LPs. + +## Withdrawal fee (Stablepool) +Withdrawal fees are paid by users whenever they withdraw an asset from a Stablepool. These fees are paid in the asset that is withdrawn from the pool. Withdrawal fees are equal to the trade fee for a given Stablepool and remain in the pool as rewards for LPs. + +## Repayment fee (LBP) +Repayment fees are paid by users whenever they sell back a distributed asset during a Liquidity Bootstrapping Pool (LBP) event. These fees are payable until the **Repayment target** is met. If no repayment target is set, users will instead pay a **Swap fee.** Repayment fees are set in advance by the pool creator. The proceeds are distributed to an address of their choice. + +## Trade fee (LBP) +Swap fees are paid by users whenever they sell back a distributed asset during a Liquidity Bootstrapping Pool (LBP) event. These fees are payable once the repayment target is met, or if no repayment target has been set. Swap fees are set in advance by the pool creator. The proceeds remain in the pool. \ No newline at end of file diff --git a/docs/great-unlock.md b/docs/great-unlock.md deleted file mode 100644 index d15098b7..00000000 --- a/docs/great-unlock.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -id: great-unlock -title: The Great Unlock ---- - -import useBaseUrl from '@docusaurus/useBaseUrl'; - -On October 24th, **~113M DOT** which was locked in the first batch of Polkadot crowdloans will be returned to its owners. Amounting to a whopping **~10% of the circulating supply**, this event has not been spared of FUD. With some expecting a dump, while others not ruling out a pump - in reality, we will have to wait and see what the invisible hand of the markets is cooking. - -Regardless of how the DOT price develops on Tuesday and the weeks that follow, **the HydraDX Protocol retains a strong conviction in the Polkadot ecosystem**. This is our home, we are here to stay, and we are more bullish than ever on Polkadot. - -To celebrate the Great Unlock, the HydraDX Protocol is preparing to **accumulate more DOT** into its Protocol-owned liquidity (POL), **on top of the 400k+ (v)DOT** it already hodls. For this purpose, the Protocol is considering a **Bonds campaign** (subject to a [governance vote](https://hydradx.subsquare.io/democracy/referenda/84)) conducted via an **LBP event**. Besides accumulating more DOT, the Great Unlock will allow us to test two new features that recently hit mainnet. - -
- lbp -
- - -If approved, the HydraDX Protocol will issue **50,000,000 HDX bonds (HDXb)** with a **1-year maturity**. Once the maturity date has been reached, these bonds are **1:1 redeemable against HDX**. Also before the bonds have matured, **HDXb remain transferable and tradeable on the secondary market** (e.g. OTC). You can [learn more about bonds in our docs](https://docs.hydradx.io/bonds/). - -The method of distribution for this first Bonds campaign will be a **24-hour DOT/HDXb LBP event** - a real throwback for the OG Hydrators out there. The LBP will **kick off on 24.10.2023** - follow our socials for the exact start time. At the start, the HDXb price will be set **22% higher** than the HDX spot price. Over time, the **shifting weights mechanism** of the LBP will **exert downward pressure on the price**. The falling price will be **counteracted by any buy orders** obtaining HDXb from the pool. For the precise configuration of the LBP event please check the [democracy vote](https://hydradx.subsquare.io/democracy/referenda/84). - -Before participating, we encourage everyone to [get familiar with the mechanics of an LBP in our docs](https://docs.hydradx.io/lbp/). - - -Stay hydrated. diff --git a/docs/referrals.md b/docs/referrals.md new file mode 100644 index 00000000..91c29d0f --- /dev/null +++ b/docs/referrals.md @@ -0,0 +1,25 @@ +--- +id: referrals +title: Referrals +--- + +import useBaseUrl from '@docusaurus/useBaseUrl'; + +HydraDX is running a Referrals Program which aims to create **sustainable long-term incentives** to help onboard users to HydraDX. Anyone can participate and **start earning referral rewards** by registering their unique referral code: + +[https://app.hydradx.io/referrals/](https://app.hydradx.io/referrals/) + +## How do referrals work? +Users that are onboarded with a referral code are linked to the account of their referrer. From this point on, the referrer accumulates rewards from the fees generated by all Omnipool trades of these users. + +Referred traders are also put in the advantage - they receive cashback from their Omnipool trades in the form of fee rewards. In other words, it makes sense also for existing accounts to attach themselves to someone’s referral code. + +Referral rewards are accumulated in HDX and can be claimed at any time. The rewards are sustainable as they are financed from the Omnipool asset fees that incur upon every trade. Depending on the current volatility, asset fees can be anywhere in the range of 0.25% to 5.00% of the order size (learn more in our [fees docs](/fees#asset-fee)). + +50% of the asset fees are channeled towards LPs. If the trade in question does not fall under a referral, the remaining 50% of the asset fee is redistributed to the HDX Stakers. In cases of referred trades, this amount will be split between Staking and Referrals. An exception to this are HDX asset fees, which are channeled in their entirety to the Staking pot (learn more in our [staking docs](/staking)). + +Besides the current rate of asset fees, there is one more factor which determines the exact amount of rewards received: the Referrer Tier. There are 5 tiers, everyone starts at Tier 0. Referrers level up as they hit certain absolute thresholds in terms of total volume of referral rewards. Here’s an overview: + +
+ metadata +
diff --git a/sidebars.js b/sidebars.js index ceea3b33..3789fbb5 100644 --- a/sidebars.js +++ b/sidebars.js @@ -1,18 +1,19 @@ module.exports = { sidebar: { HydraDX: [ - "great-unlock", "intro", "omnipool_trading", "omnipool_dca", "omnipool_lp", "staking", + "referrals", "omnipool_treasuries", "omnipool_security", "omnipool_impermanent_loss", "omnipool_hydrated_farms", "bonds", "lbp", + "fees", "tokenomics", "spending_fw", ], diff --git a/static/great_unlock.jpg b/static/great_unlock.jpg deleted file mode 100644 index 1b85f3da..00000000 Binary files a/static/great_unlock.jpg and /dev/null differ diff --git a/static/referrals/rewards.jpg b/static/referrals/rewards.jpg new file mode 100644 index 00000000..cc9c9649 Binary files /dev/null and b/static/referrals/rewards.jpg differ