v3-periphery
v3-periphery copied to clipboard
PeripheryPayments contract allows any intermediately called contract to reenter and unwrap WETH/sweep tokens
The PeripheryPayments contract allows any intermediately called untrusted contract (e.g. an ERC777 token gets transferred) to call back into the SwapRouter or NFT contract, taking up to the difference between the current balance of WETH9/WETH10 token and the minimum amount expected by the multicall user