From aa3b99005f12dab8654ab77cbf8f00d80733c0a5 Mon Sep 17 00:00:00 2001 From: taureau75 Date: Thu, 15 Jun 2023 16:04:18 -0400 Subject: [PATCH] change eth-sol fees to 0.1% --- frontend/components/bridge/Bridge.tsx | 2 +- frontend/components/bridge/tokenSelector/TokenSelector.tsx | 2 +- scripts/eth_sol/eth_pay.js | 2 +- scripts/eth_sol/sol_pay.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/components/bridge/Bridge.tsx b/frontend/components/bridge/Bridge.tsx index 70ed03c..70e654b 100644 --- a/frontend/components/bridge/Bridge.tsx +++ b/frontend/components/bridge/Bridge.tsx @@ -897,7 +897,7 @@ function Bridge() {

Trading Fee

- 0.2% + 0.1%
diff --git a/frontend/components/bridge/tokenSelector/TokenSelector.tsx b/frontend/components/bridge/tokenSelector/TokenSelector.tsx index 8f03baa..5f97fb5 100644 --- a/frontend/components/bridge/tokenSelector/TokenSelector.tsx +++ b/frontend/components/bridge/tokenSelector/TokenSelector.tsx @@ -23,7 +23,7 @@ export const evmTokenItems = [ priceKey: "eth_usd", maxSize: 1, minSize: 0.004, - networkFee: 0.002 + networkFee: 0.0015 }, //{ // name: "USDC", diff --git a/scripts/eth_sol/eth_pay.js b/scripts/eth_sol/eth_pay.js index 35c8e95..f5d15ac 100644 --- a/scripts/eth_sol/eth_pay.js +++ b/scripts/eth_sol/eth_pay.js @@ -18,7 +18,7 @@ const ethersProvider = new ethers.providers.InfuraProvider( ); const ethWallet = new ethers.Wallet(process.env.ETH_PRIVKEY, ethersProvider); -const FEE_MULTIPLIER = 0.998 +const FEE_MULTIPLIER = 0.999 makePayments() diff --git a/scripts/eth_sol/sol_pay.js b/scripts/eth_sol/sol_pay.js index 04d496c..c010270 100644 --- a/scripts/eth_sol/sol_pay.js +++ b/scripts/eth_sol/sol_pay.js @@ -21,7 +21,7 @@ const connection = new Connection( makePayments() -const FEE_MULTIPLIER = 0.998 +const FEE_MULTIPLIER = 0.999 async function makePayments () { const result = await db.query("SELECT * FROM bridges WHERE paid=false AND outgoing_currency = 'SOL' AND outgoing_address IS NOT NULL AND deposit_currency='ETH'");