mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-10 14:48:15 -05:00
misc: formatting reverted
This commit is contained in:
@@ -155,6 +155,21 @@ abstract contract LensProfiles is LensBaseERC721, ERC2981CollectionRoyalties, IL
|
||||
ValidationLib.validateCallerIsGovernance();
|
||||
}
|
||||
|
||||
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override whenNotPaused {
|
||||
_beforeTokenTransferProfile(from, to, tokenId, false);
|
||||
}
|
||||
|
||||
function _beforeTokenTransferWithData(
|
||||
address from,
|
||||
address to,
|
||||
uint256 tokenId,
|
||||
bytes memory data
|
||||
) internal override whenNotPaused {
|
||||
bool keepProfileDelegates = abi.decode(data, (bool));
|
||||
|
||||
_beforeTokenTransferProfile(from, to, tokenId, keepProfileDelegates);
|
||||
}
|
||||
|
||||
function _beforeTokenTransferProfile(
|
||||
address from,
|
||||
address to,
|
||||
@@ -171,19 +186,4 @@ abstract contract LensProfiles is LensBaseERC721, ERC2981CollectionRoyalties, IL
|
||||
}
|
||||
super._beforeTokenTransfer(from, to, tokenId);
|
||||
}
|
||||
|
||||
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override whenNotPaused {
|
||||
_beforeTokenTransferProfile(from, to, tokenId, false);
|
||||
}
|
||||
|
||||
function _beforeTokenTransferWithData(
|
||||
address from,
|
||||
address to,
|
||||
uint256 tokenId,
|
||||
bytes memory data
|
||||
) internal override whenNotPaused {
|
||||
bool keepProfileDelegates = abi.decode(data, (bool));
|
||||
|
||||
_beforeTokenTransferProfile(from, to, tokenId, keepProfileDelegates);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user