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.
"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
Congratulations @theguruasia! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
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:
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?
View more
How long after Delegating, does it take to get an up-vote for @hiveupme...???