65 Commits

Author SHA1 Message Date
vicnaum
a0adc1fa19 deploy: v2.0.4 mainnet - lensVersion updated 2024-02-13 17:44:54 +01:00
vicnaum
f8e5c8dc12 misc: LensVersion updated with latest commit and v2.0.4 2024-02-06 13:14:32 +01:00
donosonaumczuk
bf00097261 fix: Remove wrong override keyword 2024-02-02 19:09:31 -03:00
donosonaumczuk
d49d5e893e feat: transferFromKeepingDelegates implemented at LensProfiles file 2024-02-02 17:50:02 -03:00
vicnaum
c6a4ec5d6a misc: refactor - WIP
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2024-02-01 18:52:20 +01:00
vicnaum
eff426620b misc: formatting reverted 2024-02-01 15:03:31 +01:00
vicnaum
a3c349435f misc: formatting reverted 2024-02-01 14:59:02 +01:00
Josh Stevens
e7276ddde0 feat: allow profile to be transferred keeping delegates 2024-02-01 10:29:38 +00:00
Josh Stevens
4bd169271b feat: extend erc721 to allow passing in extra data 2024-02-01 10:29:17 +00:00
donosonaumczuk
3134480f02 misc: Lens version raised to 2.0.3 and git commit set 2023-11-28 14:01:05 -03:00
donosonaumczuk
caea690fc5 feat: BatchMetadataUpdate added to trigger collection token URI refresh 2023-11-24 14:44:02 -03:00
donosonaumczuk
5c06611785 fix: Follower-only legacy collect - backward compatibility added through hack 2023-11-17 17:00:39 -03:00
donosonaumczuk
8743679fa3 misc: Lens version raised to 2.0.1 and git commit updated 2023-11-14 16:55:34 -03:00
vicnaum
2521ef4a29 misc: TokenURI contracts separated 2023-11-14 13:05:48 -03:00
donosonaumczuk
a1a1a45fe7 misc: LensVersion deployment git commit hash set to cec4cfd
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-11-01 15:50:25 -03:00
vicnaum
8a1fdcad05 misc: Remove redundant exists() check from _isApprovedOrOwner() in LensBaseERC721 T-16805 2023-10-13 17:58:02 +02:00
vicnaum
301918b397 misc: LensVersion - remove unnecessary params from event, fix version at 2.0.0 2023-10-11 15:00:07 +02:00
donosonaumczuk
c8ccf1b3b0 misc: Some constants made public 2023-10-10 13:31:16 -03:00
Victor Naumik
cb89b2d444 Merge pull request #136 from lens-protocol/fix/c4-fixes
Fix: c4 fixes
2023-10-05 16:51:23 +02:00
vicnaum
a03770a6e7 fix: console import removed, constants made internal 2023-10-04 18:06:46 +02:00
vicnaum
77c4b2b75a feat: LensVersion added with tests 2023-09-29 19:26:32 +02:00
vicnaum
2c1ff6e547 misc: minor syntax change 2023-09-27 21:09:02 +02:00
donosonaumczuk
958d07fa5c feat: ModuleGlobals removed - treasury fees now in the Hub
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-11 17:39:36 +01:00
donosonaumczuk
03e5d9c31a feat: Permissionless modules - Impl in progress
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-08 18:59:00 +01:00
donosonaumczuk
605ea54dd0 misc: Conflicts solved - but not compiling yet 2023-09-08 15:59:31 +01:00
donosonaumczuk
f5dc0cda07 misc: Lens V1 collect operation renamed to Legacy Collect everywhere
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-07 19:20:22 +01:00
donosonaumczuk
c5eeac8fdb feat: ModuleRegistry initial draft
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-05 16:04:34 +01:00
vicnaum
9451c8ca2e Fix: [C4-90] TokenGuardian - msg.sender should be ownerOf(tokenId) in approve() 2023-09-04 15:09:15 +01:00
donosonaumczuk
393f78fe9d misc: Transaction executor added as event param 2023-08-22 18:17:12 +01:00
donosonaumczuk
525dcb4c11 fix: Follows can only be migrated by profile owner or whitelisted admin [C4-112]
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-08-15 20:59:20 +01:00
donosonaumczuk
68809f077a misc: Remove unused imports and some formating
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-07-13 21:33:58 +01:00
donosonaumczuk
05a19c19e4 misc: Inheritance of interface fixed 2023-07-13 13:09:20 +01:00
vicnaum
1c2ea835a4 misc: Rename ProfileGuardian to TokenGuardian, add TokenGuardian to Handles, fix tests 2023-07-11 19:26:48 +02:00
vicnaum
1c300c05a7 feat: Initial implementation of ProfileGuardian in V2 and tests fix 2023-07-06 12:48:42 +02:00
vicnaum
f28a15afca misc: Added a revert for getting tokenURI of nonexistent profile 2023-06-15 22:42:24 +02:00
donosonaumczuk
b7965b8383 misc: MockNFT uses LensBaseERC721 - testCannot_MintToZero added 2023-06-14 19:29:19 +01:00
vicnaum
18958dc824 misc: remove tokenURI and baseURI from LensBaseERC721
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2023-06-13 22:46:15 +02:00
vicnaum
1961a5a063 fix: ERC2981 supportsInterface
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2023-06-13 22:45:31 +02:00
donosonaumczuk
2aced27be5 misc: Transparent proxy file removed and OZ is now imported
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-09 20:25:13 +02:00
vicnaum
d9b3b3b771 misc: bring back emitCollectNFTTransferEvent 2023-06-08 17:45:08 +02:00
vicnaum
d55b802fb5 misc: rename COLLECT_NFT_IMPL to __LEGACY__COLLECT_NFT_IMPL 2023-06-08 15:26:46 +02:00
vicnaum
0fd9e8844a misc: refactoring 2023-04-21 19:57:03 +02:00
donosonaumczuk
590def7e66 misc: Imports udpated to use new Profile tokenURI lib 2023-04-09 17:52:10 +01:00
donosonaumczuk
6cd47eaa06 misc: Comments added and profile tokenURI call simplified as it will be changed soon
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-07 16:04:44 +01:00
donosonaumczuk
e5dc73734b misc: LensProfiles overrides supportsInterface to only care about ERC-2981, to reduce bytecode size 2023-04-06 23:37:05 +01:00
donosonaumczuk
23da6853f2 misc: Errors clean-up trying to lower LensHubInitializable bytecode size 2023-04-06 23:29:08 +01:00
donosonaumczuk
c61ab627d5 fix: LensProfile's _beforeRoyaltiesSet asks for governance as caller 2023-04-06 22:43:51 +01:00
donosonaumczuk
7d8f38a29a misc: LensGovernable internal validation replaced by ValidationLib call 2023-04-06 22:42:16 +01:00
donosonaumczuk
93a8ea67a5 feat: ERC-2981 Lens impl's _beforeRoyaltiesSet forces overriding for security reasons 2023-04-06 22:37:35 +01:00
donosonaumczuk
9918365f4e feat: LensHub inheritance reworked
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-05 19:33:48 +01:00