Loading video player...
في هذه المحاضره هنتعرف على العقود الذكية الأساسية في Uniswap V2، وهنفهم ازاي البروتوكول بيشتغل من جوه على البلوكتشين. هنتكلم عن كل عقد رئيسي ودوره: UniswapV2Factory العقد ده مسؤول عن إنشاء الأزواج وتسجيل كل Pair موجود في البروتوكول. أي Swap أو إضافة سيولة لازم يكون للزوج اللي Factory عمله. UniswapV2Pair ده قلب البروتوكول، اللي بيحتوي على السيولة ويقوم بـ عمليات السواب. كمان بيتعامل مع الرسوم، mint و burn للـ LP tokens، ويدعم الفلاش سوابس. UniswapV2ERC20 العقد ده مسؤول عن توكنات LP، اللي بتمثل ملكية كل مزود سيولة في الـ Pair. بيطبق معايير ERC20 عشان تقدر تنقل، تحرق، أو تستلم توكنات السيولة. UniswapV2Router العقد ده هو واجهة المستخدم للتعامل مع Uniswap. من غيره هتضطر تتعامل مباشرة مع الـ Pair، Router بيخلي إضافة السيولة، إزالة السيولة، والسوابات عملية سهلة وآمنة. 🧠 اللي هتتعلمه في الفيديو: فهم هيكل Uniswap V2 من الداخل معرفة كل عقد مسؤول عن إيه ازاي Factory و Pair و Router و ERC20 بيتواصلوا مع بعض فهم طريقة إدارة السيولة والسواب على البلوكتشين In this lesson, we dive deep into the core Smart Contracts of Uniswap V2 and explain how the protocol is built internally. You will clearly understand the role of each major contract: UniswapV2Factory – How trading pairs are created and registered UniswapV2Pair – The heart of the protocol where liquidity, swaps, fees and flash swaps happen UniswapV2ERC20 – How LP tokens work and represent liquidity ownership UniswapV2Router – How users interact with Uniswap and perform swaps and liquidity operations By the end of this video, you will have a solid mental model of how Uniswap V2 operates on-chain and how all its contracts interact together. This video is part of the full Uniswap V2 Course on the Web3EG channel. 🧠 What you will learn: ✔ Uniswap architecture explained ✔ AMM design and contract responsibilities ✔ How Factory, Pair, Router and ERC20 connect ✔ How liquidity and swaps work internally #UniswapV2 #UniswapSmartContracts #DeFi #Blockchain #Ethereum #AMM #LiquidityPool #FactoryContract #PairContract #RouterContract #ERC20 #Web3EG #Crypto #SmartContracts #Web3 #DecentralizedFinance