-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from neonlabsorg/update/fees-and-gas-page
add PRX_GAS_PRICE_SLIPPAGE parameter to gas price formula
- Loading branch information
Showing
5 changed files
with
112 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
| Component | Value | Units/Definition | Calculation | | ||
| ------------------------ | ------------ | ---------------- | ----------- | | ||
| Sol | 50 | $ | | | ||
| Neon | 0.5 | $ | | | ||
| Ratio | | SOL:NEON | 120 | | ||
| Galan ratio | | Ratio \*10<sup>-9</sup> | 0.00000012 | | ||
| Operator fee ratio | 1 | | | | ||
| Proxy Gas Price Slippage | 0.25 | | | | ||
| Adjustor | | 1+fee+slippage | 2.09 | | ||
| **Gas price** | **0.0000002475** | NEON | [Gas price formula](#gas-price) | | ||
| | **247.5** | Galan | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
> Gas price = $SOL / $NEON(* 10<sup>-9</sup> NEON) * (1 + `PRX_OPERATOR_FEE` + `PRX_GAS_PRICE_SLIPPAGE`) | ||
which can also be represented as: | ||
Check warning on line 3 in docs/single-source-snippets/_price_formula.mdx GitHub Actions / runner / vale
|
||
|
||
> Gas price = SOL-to-NEON-rate in Galan * (1 + `PRX_OPERATOR_FEE` + `PRX_GAS_PRICE_SLIPPAGE`) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters