Uniswap 2부

이정호·2023년 8월 31일
0

blockchain-class

목록 보기
32/35
post-thumbnail

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
profile
블록체인 프론트엔드 개발자 입니다.

0개의 댓글

관련 채용 정보