Contrast itself, through its PvP architecture, does not participate in the pricing of digital options listed on the platform. The following sections will cover protocol equations and assumptions made.
Modeling Payoffs
First, we provide the expected profit (loss) a user would see on the front-end UI for a single-sided position, assuming that only one deposit was made:
r=returnlu=Liquidity a user has deposited in true proposition poolp1=Liquidity of all users in true proposition poolp2=Liquidity of all users in false proposition poolf=protocol fee on contract expirationa=protocol fee on withdrawal, if applicable
Probability Delta
Because single-sided deposits ultimately disrupt the ratio of liquidity at a given strike, thus effecting the expected payout for all other users in a pool, a user can deposit liquidity on both sides in a way that has no impact on the current implied market probability. First, we define the probability of outcome x in terms of y:
Market Implied Probability of Outcome=p1+p2p1
where,
p1=Liquidity of all users for x outcomep2=Liquidity of all users for y outcome
Thus, in order for the payoff at a given strike to be the same pre-deposit and post-deposit the following condition must be true when additional liquidity is added for outcome x (variable a) and outcome y (variable b):
p2p1=p2+bp1+a
Assuming a trader has capital, c, to deploy and wishes to benefit from outcome x (variable a), the optimal liquidity (deferring fees) to add to both outcome x and y is given: