In order to provide user security and confidence for anyone to use Haven we have implemented a fee structure. This ensures that any attempts at large scale manipulation of the price will come at a cost both in terms of actual fees as well as time to unlock the money.
The current fee structure is laid out below:
The chart below shows all the different types of transactions available to a user within the network. There are different fees and fee currencies depending on the transaction made.
Transaction type fee chart
|Transaction type||Fee type||Fee payable in:|
|XHV transfer||std tx fee||XHV|
|xUSD transfer||std tx fee||xUSD|
|XHV -> xUSD conversion||conversion fee + std tx fee||XHV|
|xUSD -> XHV conversion||conversion fee + std tx fee||xUSD|
|xUSD <-> xAsset conversion||Fixed conversion fee of 0.3% + std tx fee||-xUSD (xUSD to xAsset)|
-xAsset ( xAsset to xUSD)
Note: The same fees apply to onshore and offshore transactions.
To allow for a simpler transfer and conversion method the fees are payable in the sending currency. For example, a user does not have to have an XHV balance in their vault in order to send xUSD and vice versa.
This eliminates one of the issues commonly associated with DeFi products whereby you have to have a balance of one token in order to send another.
Standard network fees– These are the standard transaction fees that are paid to the miners on the Haven network. These are based on the same scale as standard Monero transaction fees. 5% of this currently goes to the governance wallet for paying the developers as well as listings, infrastructure and marketing costs. These are the only fees payable on transfers.
XHV/xUSD Conversion fees– These fees are paid to the Haven governance wallet whenever a user makes a conversion between XHV and xUSD. The fee paid can vary considerably and depends on the unlock time chosen for the transaction.
xAsset Conversion fees– There are fees payable on conversions for xUSD <-> xAssets. This is a flat fee of 0.3% of the amount converted plus the std transaction fee. The fees for these are payable in the sending currency so that users do not require additional currencies in their balance. So for converting from xBTC -> xUSD you would pay the fees in xBTC. The xAsset conversions do not require the additional timelock function so for all transactions between xUSD and xAssets there is just the standard 10 block (~20 mins) unlock time. xAsset conversion fees go to the governance wallet for project costs.
So, what does that mean?
The fees are expressed as a % of the amount being converted.
Slower transaction = lower fee <—> Faster transaction = higher fee
|Unlock time (Hours)||Priority||Unlock time (blocks)||Fee as % of currency converted|
A conversion of 1000 xUSD to XHV using a priority 2 unlock (approx 48 hrs) would cost: 1000 x 0.05 = 50 xUSD exchange fee (+ std tx fee)
Why the big difference in fees?
An important part of maintaining network security and pricing integrity is by using a moving average in conjunction with a fee proportional to the size of the transaction.
If you want a faster transaction then you have to pay a higher % of the amount converted.
As the table above shows it can range from 20% right down to 0.2% for the slowest transaction time.
This has been implemented to reduce incentives for bad actors to attempt market price manipulation in order to gain financially as the cost of doing so makes it unviable.
NOTE: The conversion rate and therefore the fees are locked in at the time of the transaction confirmation not when the block is mined. This eliminates any potential slippage and ensures the user knows exactly what they will receive and the fees to be paid.
The fee structure above is used for the conversion process of minting/burning between XHV and xAssets.
For regular transfers of XHV or xAssets only the standard transaction fees apply. These can vary but are usually fractions of a cent or XHV and are based on the Monero fee structure.
Details of this can be found here: https://www.monero.how/monero-transaction-fees