The Merger of USWAP.APP and KSWAP.APP: Swap Processes

in #hivelast year
Hi All,
We are planning to merge USWAP.APP & KSWAP.APP swap services under USWAP.APP on 04th of October (Next Wednesday), around 02:00 - 04:00 UTC time.

Why Merge?

With USWAP.APP, we initially followed the strategy of Static Fees & Rewards. However, this module became challenging when the market showed less fluctuation. As a result of that, we had to frequently adjust swap bridge Fees & Rewards.

This situation could potentially lead to complications, because our services are utilized by different scripts. As a solution, we have decided to implement Dynamic Fees & Rewards for the swap service.

KSWAP.APP has successfully implemented Dynamic Fees & Rewards for the swap bridge. Therefore, we have made the decision to merge both swap services under USWAP.APP & implement Dynamic Fees & Rewards across the board.

How To Calculate Fees & Rewards?

Here, we are showing you how to tune up your script to find the Fee & Reward details based on your swap amount.


// You can retrieve the below json data from :- https://fee.uswap.app/fee.json
{
  "BASE_FEE": 0.001,
  "MIN_BASE_FEE": 0.0005,
  "DIFF_COEFFICIENT": 0.005
}


let inputVal = 0.0 //enter the value (Hive or SHive)
let expResult = 0.0 //the receive swap amount
let HIVEPOOL = 0.0 //Hive amount in the pool
let SHIVEPOOL = 0.0 //SHive amount in the pool
if(selectedSymbol == "HIVE")
{
    var diff = ((inputVal * 0.5 + HIVEPOOL) / (SHIVEPOOL + HIVEPOOL)) - 0.5;
    var adjusted_base_fee = Math.max( BASE_FEE * (1 - 2 * Math.abs(diff)), MIN_BASE_FEE );
    var price = 1 - (2 * diff * DIFF_COEFFICIENT);
    expResult = (inputVal * price) * (1 - adjusted_base_fee);
    expResult = Math.floor(expResult * DECIMAL) / DECIMAL;
}
if(selectedSymbol == "SWAP.HIVE")
{
    var diff = ((inputVal * 0.5 + SHIVEPOOL) / (SHIVEPOOL + HIVEPOOL)) - 0.5;
    var adjusted_base_fee = Math.max( BASE_FEE * (1 - 2 * Math.abs(diff)), MIN_BASE_FEE );
    var price = 1 - (2 * diff * DIFF_COEFFICIENT);
    expResult = (inputVal * price) * (1 - adjusted_base_fee);
    expResult = Math.floor(expResult * DECIMAL) / DECIMAL; 
}


What Will Happen To KSWAP.APP?

We will process automated and manual refunds if someone accidentally sends swaps there.
If you experience any errors or issues while using the bridge, please don't hesitate to contact me at any time.

If you are using a script to swap between bridges, please make the necessary changes (define the amount you wish to receive from the swap) to avoid additional fees in case the bridge is unbalanced.
If any error, please contact us @CORE-VAULT Discord Channel or send a discord message to theguruasia#8947.
upme.link


"Delegate @hiveupme Curation Project To Earn 95% Delegation Rewards, 15% APR Worth UPME Tokens, Mentor Votes & WINEX Token Rewards"
Contact Us : CORE / VAULT Token Discord Channel
Discounted Bridge : The Lowest Fee (0.09%) Hive | Swap.Hive Bridge
Burn-To-Vote : Burn Your UPME / WINEX To Receive Upvotes

Sort:  

What's up? Haven't seen you around for a while. Still onboard?

Hi Jaro,
Yeah I am here as usual. We merged both bridges and now we are powering the uswap.app swap service with the dynamic fee module. I hope you & your family is doing well & you can find me anytime at discord server.
$WINE

Cheers~

Oh, good. I did notice that.

My family is doing well, but I was personally hit with heavy taxes last year, after losing most of my cryptos due some liquidations, and while I did manage to pay up some of them, I still have more due than I can manage (because I lost a lot of cash trying to earn some money with futures, stupid me), so I think I will eventually be hit with collections for over 170k€. Which truly sucks.

Well, I guess I'll manage, somehow. It's a good thing I've still got something in Hive though.

I also noticed Burn2Vote.ga can not be found anymore. Did you sunset the service?

I hope you will find a solution to pay these taxes. Yeah I stopped trying futures & what I am doing now is holding until the best time then sell.

All those services are still under the USWAP as follows:

https://uswap.app/ - swap bridge
https://burn.uswap.app/ - burn to vote
https://acc.uswap.app/ - account creation
https://info.uswap.app/ - swap bridges comparison

We are supporting helios services as well
https://helios.surf/ - burn to vote
(Other services of helios can be found at the web as well)

I wish you & your family a great year ahead!
$WINE

Cheers~

Oh, you put them all under the same address. That's smart. :)

Yes, I will eventually have to find a solution. It's not something one can live with for too long. I'm glad you're focusing on a more stable strategy with holding. Thanks for the advice.

Best wishes to you and your family as well! Here's to a great year ahead!

How long after Delegating, does it take to get an up-vote for @hiveupme...???

Congratulations @theguruasia! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You distributed more than 31000 upvotes.
Your next target is to reach 32000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

Our Hive Power Delegations to the October PUM Winners
Feedback from the November Hive Power Up Day
Hive Power Up Month Challenge - October 2023 Winners List