Instant HBD Swaps with Low Fees - HBD.USWAP.APP

@theguruasia · 2024-12-03 11:10 · hive
Hi All,
We’re excited to announce the launch of a new discounted bridge for HBD <=> SWAP.HBD swaps: USWAP.APP

Check it out and enjoy seamless swapping with discounted rates. --- ---

Why HBD <=> SWAP.HBD Swap Bridge?

If you’re into arbitrage trading, this is fantastic news! The existing swap process for investing HBD or withdrawing SWAP.HBD from Hive-Engine can be costly and time-consuming, often taking around 15 minutes.

In arbitrage trading, time = money. That’s why we’re introducing a near-instant swap service, designed to bridge this gap with:

  • Attractive rewards
  • Lower fees compared to Hive-Engine
---

HBD.USWAP.APP Fees & Rewards?

  • Max Reward: 0.4%
  • Max Fee: 0.6%
  • Average Fee: 0.3%

Enjoy competitive rates for near-instant HBD <=> SWAP.HBD swaps. 🚀

Check it out here: HBD.USWAP.APP ---

How To Calculate Fees & Rewards?

If you’re using a script for arbitrage trading, here’s how you can adjust it to calculate the Fee and Reward based on your swap amount:


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


let inputVal = 0.0 //enter the value (HBD or SHBD)
let expResult = 0.0 //the receive swap amount
let HBDPOOL = 0.0 //HBD amount in the pool
let SHBDPOOL = 0.0 //SHBD amount in the pool
let DECIMAL = 1000;

if(insymbol == "HBD") { 
    let diff = ((inputVal * 0.5 + HBDPOOL) / (SHBDPOOL + HBDPOOL)) - 0.5;
    let adjusted_base_fee = Math.max( BASE_FEE * (1 - 2 * Math.abs(diff)), MIN_BASE_FEE );
    let price = BASE_PRICE_HBD_TO_SHBD - (2 * diff * DIFF_COEFFICIENT);
    expResult = (inputVal * price) * (1 - adjusted_base_fee);
    expResult = Math.floor(expResult * DECIMAL) / DECIMAL;                
}
if(insymbol == "SWAP.HBD") {
    let diff = ((inputVal * 0.5 + SHBDPOOL) / (SHBDPOOL + HBDPOOL)) - 0.5;
    let adjusted_base_fee = Math.max( BASE_FEE * (1 - 2 * Math.abs(diff)), MIN_BASE_FEE );
    let price = 1 / BASE_PRICE_HBD_TO_SHBD - (2 * diff * DIFF_COEFFICIENT);
    expResult = (inputVal * price) * (1 - adjusted_base_fee);
    expResult = Math.floor(expResult * DECIMAL) / DECIMAL;
}

--- 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](https://discord.gg/XYMrvyr) Discounted Bridge : [The Lowest Fee (0.09%) Hive | Swap.Hive Bridge](https://www.swaphive.ga/) Burn-To-Vote : [Burn Your UPME / WINEX To Receive Upvotes](https://burn2vote.ga/)
#hive #hive-engine #leofinance #pob #neoxian #swap #uswap #hbd #arbitrage #dapp
Payout: 0.000 HBD
Votes: 112
More interactions (upvote, reblog, reply) coming soon.