Exchange Uniswap V2 Ethereum
Uniswap V2 — a fully decentralized protocol for automatically providing liquidity in Ethereum. A simple formalized equation provides non-stop liquidity for thousands of users and hundreds of applications.
About the Uniswap V2 project
Uniswap gives developers, liquidity providers and traders the opportunity to participate in a financial market that is open and accessible to everyone. Uniswap lowers barriers to financial participation and eliminates major points of failure.
Uniswap V2 - the second iteration of Uniswap and includes many new features and improvements, including:
- Pairs ERC20 / ERC20.
- Price oracles.
- Flash swaps.
- Technical improvements.
- The road to sustainability.
Prices are determined by the amount of each token in the pool. The smart contract uses the following function: x * y = k. In this case, x = token0, y = token1, k = constant. For each trade, a certain number of tokens are removed from the pool for the amount of another token. The k balances are updated, proceeding. Thus, each trade will adjust the smart contract balance to change the price.
How do I add a token to Uniswap?
Uniswap V2 is compatible with any ERC-20 token in the Ethereum ecosystem. If you want your project to be searchable in their interface, you should aim to be added to the authoritative list of tokens or share a link to your token, using query parameters. After downloading from the link, the token will be added to the interface. The uniswap command makes no guarantees or timelines. Also, the team will never charge or request funds.
Uniswap V2 flash swaps allow you to withdraw as many ERC20 tokens as you want from Uniswap without prepayment and do whatever you want with them (execute arbitrary code), provided that by the end of the transaction you:
|Firstly||Pay for all withdrawn ERC20 tokens.|
|Secondly||Pay a percentage of ERC20 tokens.|
|Thirdly||Return all withdrawn ERC20 tokens.|
Liquidity provider commission is provided by deducting 0.3% of all inputs, even if the ERC20 input tokens are returned as part of the flash swap. Flash swaps are incredibly useful because they eliminate capital prerequisites and unnecessary ordering restrictions for multi-stage transactions, using Uniswap.
The site has various documentation, including White Paper, instructions for work, a section, with answers to questions. Also, you can visit the blog, which publishes articles related to the development of the project. If you want to stay up to date with all the innovations, subscribe to the community on these social networks:
You can check the audit of the smart contract here.