Gas Efficiency
In this analysis, You will read about Gas efficiency on Sushiswap. Do you think Which one of the sushi services consumes the most gas per transaction? The services to include in your comparison are: - Adding liquidity - Removing liquidity - Adding an asset for lending - Borrowing -Removing an asset from lending -Repaying a loan -Swapping.
All data is from January 1st until the current date on Ethereum Network.
Gas refers to the fee, or pricing value, required to successfully conduct a transaction or execute a contract on the Ethereum blockchain platform.
The main goal of this analysis is to compare the Gas on Sushiswap Services. So I found each parameter in the below way:
- Repay: Found LogRepay in flipside_prod_db.ethereum_core.fact_event_logs.
- borrow: Found LogBorrow, in fact event table.
- Lend: Found LogAddAsset in fact event table.
- Remove Lend: Found LogRemoveAsset in fact event table.
- Add collateral: Found LogAddCollateral in Fact event table.
- Remove Collateral: Found LogRemoveCollateral in Fact event table.
- Add liquidity: Found to_address = lower('0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f' ) and function_name = 'addLiquidity' in transaction table.
- Remove Liquidity: Foud to_address = lower('0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f') and function_name = 'removeLiquidity' in transaction table.
- Swaps: Found swaps in ethereum.sushi.ez_swaps.
The above and below charts show Daily Fees on Sushiswap Services. Let's start with the above chart. As you can see, more than 95% of Fees were generated from Swaps. The other changed during the time. Some days Repay generated more Fees in comparison to others. Some days Borrowing generated more Fees.
According to the below chart, Swaps Generated more Fees in comparison to others. The highest amount of Fees happened on May 12th with 1.5K ETH.
You can see the amount of the total fees in USD in the below chart. Nearly 5M dollars Fees were paid on May 11th and 12th. The trends were like the previous charts. It seems Repay Fees were in the second place.
The donut chart shows about 96% of fees generated from Swaps.
The above chart shows the share of each service from generated Fees.
Also, In the below chart you can see the average daily Gas in ETH.
Based on the Average fees, Remove Collateral needed 0.03 ETH for Gas. The second-highest amount of fee paid by Repay users.
The below chart shows the fee amount per transaction.
I can conclude that Swaps transactions made the highest amount of Fees. On the other hand Repay, and Collateral generated the highest amount of Fees.
Written by Hess
where
discord_id: hess#0890
and
twitter_id: @hessaminanloo