Skip to content

Commit

Permalink
Update Multicall.sol
Browse files Browse the repository at this point in the history
security advisory on payable Uniswap/v3-periphery#52
  • Loading branch information
z0r0z committed Mar 21, 2022
1 parent c56b766 commit e084943
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/Multicall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pragma solidity >=0.8.4;
/// @author Modified from Uniswap (https://github.com/Uniswap/v3-periphery/blob/main/contracts/base/Multicall.sol)
/// License-Identifier: GPL-2.0-or-later
abstract contract Multicall {
// TODO(This should not be external wide open, but rather an access restricted function)
/// @dev Be aware of potential issues with payable multicall() (https://github.com/Uniswap/v3-periphery/issues/52)
/// - in Kali ClubSig, msg.value is not used for internal accounting, so we can avoid this risk to save gas
function multicall(bytes[] calldata data)
external
payable
Expand Down

0 comments on commit e084943

Please sign in to comment.