getLiquidityPair
ํ์ด ํ ํฐ์ ํตํด ๊ฐ ํ ํฐ์ ๋น์จ์ ์ป์ ๋ ์ฌ์ฉ(ํ์ด์คํ ์ดํน)
Parameters
Type
Value
Description
address
_tokenA
LP ํ ํฐA ์ฃผ์
address
_tokenB
LP ํ ํฐB ์ฃผ์
uint256
_amountIn
์ป์ผ๋ ค๋ ์๋
Return Values
Type
Value
Description
uint256
amountA
tokenA์ ๊ฐ์
uint256
amountB
tokenB์ ๊ฐ์
โปReserves๋ฅผ ํตํ ์ฐ์ฐ ๋ฐฉ๋ฒ
Example
2023.01.11
Last updated