From c87e77bbec4e7a404b1ff2bf8d15868f888da592 Mon Sep 17 00:00:00 2001 From: OlehSyzonov <137310889+OlehSyzonov@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:10:24 +0200 Subject: [PATCH 1/5] Update _price_formula.mdx Remove PRX_GAS_PRICE_SLIPPAGE from the formula --- docs/single-source-snippets/_price_formula.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/single-source-snippets/_price_formula.mdx b/docs/single-source-snippets/_price_formula.mdx index eed65e58..c4814c20 100644 --- a/docs/single-source-snippets/_price_formula.mdx +++ b/docs/single-source-snippets/_price_formula.mdx @@ -1,8 +1,8 @@ -> Gas price = $SOL / $NEON(* 10-9 NEON) * (1 + `PRX_OPERATOR_FEE` + `PRX_GAS_PRICE_SLIPPAGE`) +> Gas price = $SOL / $NEON(* 10-9 NEON) * (1 + `PRX_OPERATOR_FEE`) which can also be represented as: -> Gas price = SOL-to-NEON-rate in Galan * (1 + `PRX_OPERATOR_FEE` + `PRX_GAS_PRICE_SLIPPAGE`) +> Gas price = SOL-to-NEON-rate in Galan * (1 + `PRX_OPERATOR_FEE`) From 993b9cff6b793e70bc7e8d27c0a579923fa53d53 Mon Sep 17 00:00:00 2001 From: OlehSyzonov <137310889+OlehSyzonov@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:19:55 +0200 Subject: [PATCH 2/5] Update _gas_price_calc.mdx Remove PRX_GAS_PRICE_SLIPPAGE from the table --- docs/single-source-snippets/_gas_price_calc.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/single-source-snippets/_gas_price_calc.mdx b/docs/single-source-snippets/_gas_price_calc.mdx index e70f7c94..a4e3d34d 100644 --- a/docs/single-source-snippets/_gas_price_calc.mdx +++ b/docs/single-source-snippets/_gas_price_calc.mdx @@ -5,7 +5,7 @@ | Ratio | | SOL:NEON | 83.3333 | | Galan ratio | | Ratio \*10-9 | 0.0000000833333 | | Operator fee ratio | 2.5 | | | -| Proxy Gas Price Slippage | 0.25 | | | -| Adjustor | | 1+fee+slippage | 3.75 | + +| Adjustor | | 1+fee | 3.5 | | **Gas price** | **0.0000003125** | NEON | Gas price formula | -| | **312.5** | Galan | +| |**312.25**| Galan | | From e2b16a602316af7cb32590c65a78ea0fb13d664e Mon Sep 17 00:00:00 2001 From: OlehSyzonov <137310889+OlehSyzonov@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:20:50 +0200 Subject: [PATCH 3/5] Update transaction-gas.mdx Remove PRX_GAS_PRICE_SLIPPAGE from the description --- docs/operating/transaction-gas.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/operating/transaction-gas.mdx b/docs/operating/transaction-gas.mdx index 96d3881b..edfc9add 100644 --- a/docs/operating/transaction-gas.mdx +++ b/docs/operating/transaction-gas.mdx @@ -44,7 +44,7 @@ The Neon Proxy obtains the current prices of SOL and NEON tokens from the [pyth. The Neon Operator configures the value of `PRX_OPERATOR_FEE`, where 1.0 represents 100% of the potential fee extraction. The value of this parameter is currently set to **2.5**. -Parameter `PRX_GAS_PRICE_SLIPPAGE` provides a buffer against transactions getting stuck in the mempool if there is volatility in prices of $SOL and $NEON. The value of this parameter is currently set to **0.25**. + For example: From 95fead182a6b9fee408803811931f2b68be84965 Mon Sep 17 00:00:00 2001 From: OlehSyzonov <137310889+OlehSyzonov@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:24:12 +0200 Subject: [PATCH 4/5] Update transaction-gas.mdx PRX_OPERATOR_FEE==1 --- docs/operating/transaction-gas.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/operating/transaction-gas.mdx b/docs/operating/transaction-gas.mdx index edfc9add..676a61b7 100644 --- a/docs/operating/transaction-gas.mdx +++ b/docs/operating/transaction-gas.mdx @@ -42,7 +42,7 @@ The Neon Proxy obtains the current prices of SOL and NEON tokens from the [pyth. > This ensures that the Neon Operator receives enough NEON to cover the transaction cost in SOL. -The Neon Operator configures the value of `PRX_OPERATOR_FEE`, where 1.0 represents 100% of the potential fee extraction. The value of this parameter is currently set to **2.5**. +The Neon Operator configures the value of `PRX_OPERATOR_FEE`, where 1.0 represents 100% of the potential fee extraction. The value of this parameter is currently set to **1**. From ebf11f9af1e13572e7fcc7f3c4adb9e44d229dc9 Mon Sep 17 00:00:00 2001 From: OlehSyzonov <137310889+OlehSyzonov@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:16:30 +0200 Subject: [PATCH 5/5] Update _gas_price_calc.mdx PRX_OPERATOR_FEE==1 --- docs/single-source-snippets/_gas_price_calc.mdx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/single-source-snippets/_gas_price_calc.mdx b/docs/single-source-snippets/_gas_price_calc.mdx index a4e3d34d..b4f80409 100644 --- a/docs/single-source-snippets/_gas_price_calc.mdx +++ b/docs/single-source-snippets/_gas_price_calc.mdx @@ -4,8 +4,7 @@ | Neon | 1.5 | $ | | | Ratio | | SOL:NEON | 83.3333 | | Galan ratio | | Ratio \*10-9 | 0.0000000833333 | -| Operator fee ratio | 2.5 | | | - -| Adjustor | | 1+fee | 3.5 | -| **Gas price** | **0.0000003125** | NEON | Gas price formula | -| |**312.25**| Galan | | +| Operator fee ratio | 1 | | | +| Adjustor | | 1+fee | 2 | +| **Gas price** | **0.0000001666666** | NEON | Gas price formula | +| |**166.6** | Galan | |