function getLiquidityValue(
address _tokenA,
address _tokenB,
uint256 _liquidityAmount
) external view returns (
uint256 tokenAAmount,
uint256 tokenBAmount
)
// ์ ๋์ฑํ์ ํตํ ํ ํฐ ๊ฐ์ ์ป๊ธฐ
await ComputeContract.connect(accounts[0]).getLiquidityValue(
mockToken0Contract.address,
mockToken1Contract.address,
1000000
)
// ๊ฒฐ๊ณผ (ํ ํฐA, ํ ํฐB ๊ฐ์)
[ BigNumber { value: "1414213" }, BigNumber { value: "707106" } ]