mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
misc: rename COLLECT_NFT_IMPL to __LEGACY__COLLECT_NFT_IMPL
This commit is contained in:
@@ -6,11 +6,11 @@ import {ILensImplGetters} from 'contracts/interfaces/ILensImplGetters.sol';
|
||||
|
||||
contract LensImplGetters is ILensImplGetters {
|
||||
address internal immutable FOLLOW_NFT_IMPL;
|
||||
address internal immutable COLLECT_NFT_IMPL;
|
||||
address internal immutable __LEGACY__COLLECT_NFT_IMPL;
|
||||
|
||||
constructor(address followNFTImpl, address collectNFTImpl) {
|
||||
FOLLOW_NFT_IMPL = followNFTImpl;
|
||||
COLLECT_NFT_IMPL = collectNFTImpl;
|
||||
__LEGACY__COLLECT_NFT_IMPL = collectNFTImpl;
|
||||
}
|
||||
|
||||
/// @inheritdoc ILensImplGetters
|
||||
@@ -20,6 +20,6 @@ contract LensImplGetters is ILensImplGetters {
|
||||
|
||||
/// @inheritdoc ILensImplGetters
|
||||
function getCollectNFTImpl() external view override returns (address) {
|
||||
return COLLECT_NFT_IMPL;
|
||||
return __LEGACY__COLLECT_NFT_IMPL; // LEGACY support: Used only for compatibility with V1 collectible posts.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user