EV-Based Gas Scaling
Gimme Fuel Gimme Fire
At the end of the previous lesson I shared a code snippet of how you could easily implement a gas scaling function using several inputs:
base_fee: the fixed portion of the gas feeswap_ev: the expected value (EV) of the swap opportunity, denominated in some currency shared by the swap token and the gas tokengas_limit: the estimated units of gas that the s…
Keep reading with a 7-day free trial
Subscribe to Degen Code to keep reading this post and get 7 days of free access to the full post archives.
