MaxUint128 is used for both amount0Max and amount1Max. I think this should use options.expectedCurrencyOwedX.quotient
With the current behavior, when the transaction involvesETH (or any Native Token), any excess native currency/token will not be respectively unwrapped or swept.
Inside
nonfungiblePositionManager.ts
, theencodeCollect
function includes the following:MaxUint128
is used for bothamount0Max
andamount1Max
. I think this should useoptions.expectedCurrencyOwedX.quotient
With the current behavior, when the transaction
involvesETH
(or any Native Token), any excess native currency/token will not be respectively unwrapped or swept.