Difference between revisions of "Uniswap"

No change in size ,  08:08, 20 June 2022
m
(image)
 
Line 16: Line 16:
When transactions are submitted to Ethereum, their order of execution is established by the gas price offered as a fee for executing each transaction. The higher the gas price, the faster the transaction is included in a new block. The transactions with an insufficient gas price will remain pending for an indeterminate amount of time. During this time, the price environment in which the transaction will eventually be executed will change, as other swaps will be taking place. <ref>https://docs.uniswap.org/protocol/concepts/V3-overview/swaps#slippage</ref>
When transactions are submitted to Ethereum, their order of execution is established by the gas price offered as a fee for executing each transaction. The higher the gas price, the faster the transaction is included in a new block. The transactions with an insufficient gas price will remain pending for an indeterminate amount of time. During this time, the price environment in which the transaction will eventually be executed will change, as other swaps will be taking place. <ref>https://docs.uniswap.org/protocol/concepts/V3-overview/swaps#slippage</ref>


== Uniswap v3 ==
== Uniswap V3 ==
Uniswap v3 introduced the concept of '''concentrated liquidity''' provision. This allows users to provide liquidity for a certain pool, only in a predetermined price range.
Uniswap V3 introduced the concept of '''concentrated liquidity''' provision. This allows users to provide liquidity for a certain pool, only in a predetermined price range.
Concentrated liquidity reduces slippage since, provided most liquidity will be found at prices close to the actual price at which the tokens are currently trading, traders will tap into a deeper pool while LPs will earn more fees as long as the price stays within the range of their LP position.
Concentrated liquidity reduces slippage since, provided most liquidity will be found at prices close to the actual price at which the tokens are currently trading, traders will tap into a deeper pool while LPs will earn more fees as long as the price stays within the range of their LP position.
With concentrated liquidity LP tokens are no longer fungible, they are NFTs (ERC-721) which represent both the amount of tokens supplied and the price range. Concentrated liquidity also worsens [[impermanent loss]]: the narrower the price range, the more a price movement affects the token balances on the LP position.
With concentrated liquidity LP tokens are no longer fungible, they are NFTs (ERC-721) which represent both the amount of tokens supplied and the price range. Concentrated liquidity also worsens [[impermanent loss]]: the narrower the price range, the more a price movement affects the token balances on the LP position.
3

edits