This post is a continuation of my previous exploration into blobspace derivatives. The primary focus of this blog post is on the sell side: managing the risk that sellers undertake, identifying conditions under which manipulation may be profitable, and determining the appropriate risk premium that sellers should charge.
This approach is inspired by Julian Ma's post for next-block base fee options. Next-block options are less applicable for rollups hedging blobspace, since rollups can often roughly model their anticipated demand farther in advance than a single block. Similar to Julian's post on blockspace, this piece will articulate risk management strategies for sellers of 4844 blobspace derivatives.
Blob data gas fees are modified based on the total gas used relative to a "target." The target is kept track of via a parameter , which tracks the total excess gas consumed to date:
where is the blob gas demanded for block and is the target gas per block = 393216. The data gas price for a given slot , denoted as , is defined as follows:
where the minimum base fee per blob gas () = 1.
Note that for increasing , = = =
s is the data gas price update function, which is the value for s that corresponds to a maximum update of 12.5% up or down in consecutive blocks, assuming the max blob gas per block = 786432.
Understanding the fee mechanism allows us to create effective financial instruments, such as options and forward contracts.
The profit for a call option is given by the formula:
Here, represents the base fee at maturity of the option, is the strike price, and is the price paid for the option. The profit is effectively the difference between the base fee at maturity and the strike price, adjusted by the price paid to purchase the option.
The profit for a forward contract is quite similar:
Where β again represents the base fee at the contract's maturity, and is the price paid upfront for the forward contract. The only difference here is that there is no optionality and no strike price.
Since the instruments are quite similar, we'll use the forward contract structure for the purpose of this blog post. I also suspect the structure of a forward contract is more suitable to rollups than a basket of call options. The specific forward contract that we will explore is the sum of the base fees over a predefined time interval (e.g. the average 4844 base fee for each block over 1 month):
Where represents the sum of the base fees for 4844 blobs for each block from the start of the forward strip (block ) to the end of the forward strip (block ). is the price of the forward contract. The correct length of the forward strip is up for discussion, but something ~1 month feels appropriate, for the simple reason that it is short enough for a rollup to meaningfully hedge, while being long enough to consolidate liquidity across speculators and sellers/purchasers.
To calculate the maximum possible payoff, we assume the base fee changes by its maximum rate of change (12.5%) for each block:
Where is the number of forward contracts issued. I've rewritten the payoff in terms of the base fee for the block immediately before the forward strip.
The blob gas base fee is prone to manipulation by anyone originating large volumes of blob-carrying transactions. Builders also have the potential to manipulate the blob base fee by selectively censoring or including blobs in specific blocks. In this post, we only analyze the cost of manipulating the price upwards (i.e. including blobs, not censoring).
The cost to manipulate the blob gas data fee for block is calculated as follows:
Where is the base fee for block , βis the maximum gas limit for a block, andβ is the actual gas used in block .
In "Next-Block Base Fee Options: Towards a Practical Implementation", Julian identifies that while the cost of manipulation is constant regardless of how many option contracts the manipulator holds, the payoff from such manipulation is not. Thus, if the supply of contracts is appropriately limited, manipulation is not incentivized.
The potential profit (Ο) from manipulation is represented by:
Where is the benefit derived from the manipulation, and is the cost at which the contracts are sold. For manipulation to be unprofitable, must be set so that Οβ€0, ensuring that the costs of manipulation outweigh any potential gains.
To calculate the profit for a manipulator of the base fee, we start by defining the maximum profit from manipulation minus the cost of manipulation:
Conversely, for sellers of forward contracts, the profit is exactly the additive inverse of the for a buyer, since forward contracts are zero sum:
The buy side for blobspace derivatives includes rollups, L2s, applications, users, and speculators. On the other hand, the sell side is restricted to speculators who are comfortable with asymmetric risk. Clearly, the sell side must be incentivized and/or protected against adverse price movements to make participation attractive. Judging by the equation above, we can:
Decrease the number of contracts : This approach limits leverage, thereby reducing how much an individual can make off $1 of price manipulation. The premium to purchase a forward contract will increase as we approach this constraint.
Increase the cost per contract : Increasing the price per contract decreases the maximum potential profit that a manipulator can make by simply charging them more upfront.
The reason why this line of exploration is interesting to me is because it is possible that the best counterparty/seller for blobspace derivatives is an insurance fund. Such an insurance fund would need to have insight into its expected rate of return and bound its risk. The insurance fund might source its initial capital via a token sale.
If you are also interested in blobspace derivatives, don't hesitate to reach out on Twitter (@tamarajtran) or via email at tamarajtran [at] outlook.com.