100 -> 100 - Fee(Uniswap v2 0.3%)
Uniswap V2 Fee : 3/1000(997/1000)
0.3%로 고정
FeeOn: 0.25% + 0.05%
Uniswap V3 Fee
Swap Fee : 0.1%, 0.5%, ... (4가지 Fee)
Fee * 1/4 ~ 1/10
DAPP
(1) Uniswap Protocol
매출 / 매출원가 / 매출총이익 / 판매관리비 / 영업이익
매출: 100(0.3% Fee = 0.25% LP * 0.05 Protocol)
매출원가: 100(Lp) -> 83.3%(LP)
매출총이익: 16.6%(Protocol Fee)
Uniswap $UNI : 40% Team + 60% Community
정리
AMM
DEX: AMM(LP, Swap), Orderbook(Taker/Maker)
addLiq,removeLiq,ethToToken, tokenToEther
Fee : Swap . Taker Fee <> Protocol Fee
V2(0.3% <> 0.25% + 0.05%) : Factory
V3(.... <> 1/x) : Exchange
https://gov.uniswap.org/t/making-protocol-fees-operational/21198
x * 997 / 1000; (3% Fee)
Input/Output
etherToToken -> etherToTokenInput/Output(*)
min, max -> 예상과 차이가 있는 Price Impact/Slipage 에 대해서 방지
tokenToEther -> tokenToEtherInput/Output
removeLiquidity : 3 Assets(Ether,token,lpToken)
tokenToEtherInput
tokenToEtherOutput