Skip to content

Commit

Permalink
Shiden fee alignment update (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard authored Nov 1, 2023
1 parent 56704d9 commit e44de76
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
Binary file modified docs/learn/tokenomics2/img/Astar-Block-Consumption.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 16 additions & 15 deletions docs/learn/tokenomics2/tokenomics2-network-fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ rent\_fee &= storage\_items*price\_per\_item + storage\_bytes*price\_per\_byte
\end{align}
$$

- $base\_weight$ - fixed base weight of each transaction included in the block.
- $base\_fee$ - a fixed fee that needs to be paid for every transaction included in the block.
- $weight\_fee$ - is the fee related to the weight of the transaction.
- $c$ - fee multiplier; if network utilization is above ideal, `c` factor will increase, forcing users to pay more. And vice-versa, when network congestion is low, fee multiplier will decrease.
Expand Down Expand Up @@ -115,21 +116,21 @@ Values of all the Fee Model parameters are listed in the table below.

| Parameter name | Value on Shibuya | Value on Shiden | Value on Astar |
| --------------------------------------------------------- |------------------ |---|- -|
| $base\_fee$ | 0.00000000098974 SBY | | |
| $weight_{factor}$ (per byte) | 0.030855 SBY | | |
| $length_{factor}$ (per byte) | 0.0000235 SBY | | |
| $max\_block\_normal\_dispatch\_weight$ | 375,000,000,000 | | |
| $s*$ | 0.25 | | |
| $v$ | 0.000015 | | |
| $c_{min}$ | 0.1 | | |
| $c_{max}$ | 10 | | |
| $price\_per\_item$ | 0.00004 SBY | | |
| $price\_per\_byte$ | 0.000001 SBY | | |
| $base\_fee\_per\_gas_{min}$ | 0.0000008 SBY | | |
| $base\_fee\_per\_gas_{max}$ | 0.00008 SBY | | |


The values for the parameters above are set so that EVM fee and the Native fee are equal and equal to 0.5 ASTR for an average weight and length transaction with no rent fee.
| $base\_weight$ | 98974 | 98974 | |
| $weight_{factor}$ (per byte) | 0.030855 SBY | 0.00030855 SDN | |
| $length_{factor}$ (per byte) | 0.0000235 SBY | 0.000000235 SDN | |
| $max\_block\_normal\_dispatch\_weight$ | 375,000,000,000 | 375,000,000,000 | |
| $s*$ | 0.25 | 0.25 | |
| $v$ | 0.000015 | 0.000015 | |
| $c_{min}$ | 0.1 | 0.1 | |
| $c_{max}$ | 10 | 10 | |
| $price\_per\_item$ | 0.00004 SBY | 0.0000004 SDN | |
| $price\_per\_byte$ | 0.000001 SBY | 0.00000001 SDN | |
| $base\_fee\_per\_gas_{min}$ | 0.0000008 SBY | 0.000000008 SDN | |
| $base\_fee\_per\_gas_{max}$ | 0.00008 SBY | 0.0000008 SDN | |


The values for the parameters above are set so that EVM fee and the Native fee are equal and equal to 0.5 ASTR or 0.005 SDN for an average weight and length transaction with no rent fee.

## Fee Alignment Transition Period

Expand Down

0 comments on commit e44de76

Please sign in to comment.