function swapTokensForExactETH(
uint _amountOut,
uint _amountInMax,
address[] calldata _path,
address _to,
uint _deadline
) external virtual ensure(_deadline) returns (uint[] memory amounts)
// ํ ํฐ ๊ฑฐ๋์ ๋ํ ํ์ฉ
await mockToken0Contract.approve(routerContract.address, MaxUint256)
// swap
await swapRouterContract.swapTokensForExactETH(
5000,
MaxUint256,
[mockToken0Contract.address, WMATICContract.address],
accounts[0].address,
MaxUint256,
overrides
)