Asymmetric Deposit
Deposit Liquidity even with one-sided token pooling.
Last updated
Deposit Liquidity even with one-sided token pooling.
Last updated
The Symmetric Deposit problem is that LPs must deposit the tokens in a pool with a predefined proportion. To remove extra actions, the algorithm in the AMM will automatically simulate the swap on the current pool to balance the amount for LPs. Then, the subsequent procedures like depositing and returning LP tokens are automated too. Because the process is just to simulate a single-sided deposit, we call it Simulated Single Exposure.
Proposition 2. Without loss of generality, giving a pool of , , and with the current state {}, an LP deposits to the pool and receives an amount of LP tokens ,
(16) ,
And:
To satisfy the symmetric deposit, we have a system of equations:
Or,
By transforming the system of equations, we know that:
where .
Proof. Let , where the left term is the set of amounts of token to swap for {} in the simulation. The simulation is depicted by the following table (we use blackboard characters for state owners):
Here we don’t need to swap SEN, thus . By the CPF (see Eq. (33)), we also know:
(17) ,
(18) ,
(19) ,
(20) .
(21) .
(22) .
(23) .
Therefore,