mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-04-27 19:26:15 -04:00
Update eip-1559.md
This commit is contained in:
parent
ebb6b0ecde
commit
558634b2f3
@ -1,18 +1,33 @@
|
||||
## 🍩 mev and eip-1559
|
||||
|
||||
<b>
|
||||
<br>
|
||||
|
||||
<img width="746" alt="Screen Shot 2022-12-21 at 8 53 03 PM" src="https://user-images.githubusercontent.com/1130416/209059634-7d8384b2-4198-4406-8880-3b35a4d54d4d.png">
|
||||
|
||||
<br>
|
||||
|
||||
##### dune query
|
||||
|
||||
```
|
||||
SELECT
|
||||
DATE_TRUNC('month',block_time) AS month,
|
||||
-- For every month, Compute Number of eip 1559 transactions / Total transactions
|
||||
COUNT(*) FILTER ( WHERE `type` = 'DynamicFee') / COUNT(*) AS eip1559_tx,
|
||||
COUNT(*) FILTER ( WHERE `type` = 'Legacy' ) / COUNT(*) AS legacy_tx,
|
||||
COUNT(*) FILTER ( WHERE `type` NOT IN ('DynamicFee', 'Legacy') ) / COUNT(*) AS other_tx
|
||||
FROM
|
||||
ethereum.transactions
|
||||
WHERE
|
||||
block_number >= 12965000 --London upgrade block number
|
||||
GROUP BY
|
||||
month
|
||||
```
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<img width="612" alt="Screen Shot 2022-11-17 at 1 18 14 PM" src="https://user-images.githubusercontent.com/1130416/202561827-69afafa9-7f44-438b-babf-f823b7ac7ee1.png">
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
- The incorporation of EIP-1559 in the London hardfork brought a major restructuring of the Ethereum fee mechanism, aiming to allow for easier
|
||||
fee estimation by users and consolidate ETH as the base currency of the network by burning part of the transaction fees.
|
||||
|
||||
@ -30,8 +45,16 @@ protection in some DEXes, where miner fees are taken directly from the transferr
|
||||
|
||||
<br>
|
||||
|
||||
<img width="612" alt="Screen Shot 2022-11-17 at 1 18 14 PM" src="https://user-images.githubusercontent.com/1130416/202561827-69afafa9-7f44-438b-babf-f823b7ac7ee1.png">
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
----
|
||||
|
||||
### resources
|
||||
|
||||
- [eip-1559 dune board](https://dune.com/barnabe/EIP1559)
|
||||
- [structuring blockspace derivatives by julian ma](https://mirror.xyz/0x03c29504CEcCa30B93FF5774183a1358D41fbeB1/WKa3GFC03uY34d2MufTyD0c595xVRUEZi9RNG-dHNKs)
|
||||
- [Agent-based simulation environment for EIP 1559.](https://github.com/ethereum/abm1559)
|
||||
- [agent-based simulation environment for EIP 1559.](https://github.com/ethereum/abm1559)
|
||||
|
Loading…
x
Reference in New Issue
Block a user