Skip to content

Commit

Permalink
fix: remove unused param names
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabellaSmallcombe committed Sep 29, 2023
1 parent 895b242 commit c900b5a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/nft/ZoraCreator1155.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ contract MockTransferHookReceiver is ITransferHookReceiver {
mapping(uint256 => bool) public hasTransfer;

function onTokenTransferBatch(
address target,
address operator,
address from,
address to,
address,
address,
address,
address,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
uint256[] memory,
bytes memory
) external {
for (uint256 i = 0; i < ids.length; i++) {
hasTransfer[ids[i]] = true;
}
}

function onTokenTransfer(address target, address operator, address from, address to, uint256 id, uint256 amount, bytes memory data) external {
function onTokenTransfer(address, address, address, address, uint256 id, uint256, bytes memory) external {
hasTransfer[id] = true;
}

function supportsInterface(bytes4 testInterface) external view override returns (bool) {
function supportsInterface(bytes4 testInterface) external pure override returns (bool) {
return testInterface == type(ITransferHookReceiver).interfaceId;
}
}
Expand Down

0 comments on commit c900b5a

Please sign in to comment.