Commit Graph

94 Commits

Author SHA1 Message Date
Peter Michael
56d6b2830f refactor: Optimized post-increments to use pre-increments where possible. 2022-03-23 18:46:13 -04:00
Peter Michael
42dd95f3eb refactor: Changed parameter data location to calldata in _validateRecoveredAddress(). 2022-03-23 18:43:14 -04:00
Peter Michael
7ae0396b76 refactor: Changed data locations of URI parameters in follow NFT and profile image URI setters to calldata. 2022-03-23 18:39:50 -04:00
Peter Michael
1768a5465b refactor: Short-circuited setState caller check. 2022-03-23 17:30:45 -04:00
Peter Michael
2f4bd779a4 refactor: Inlined single-use modifier. 2022-03-23 17:29:54 -04:00
Peter Michael
54fd98e2e0 refactor: Governance power and delegated supply checks are now unchecked. 2022-03-23 13:26:05 -04:00
Zer0dot
55cbb4f666 Merge pull request #76 from aave/fix/follow-collect-initializable 2022-03-22 16:45:53 -04:00
Zer0dot
3d97e00ed7 Merge pull request #74 from aave/fix/minimum-amounts-allowed 2022-03-22 16:22:50 -04:00
Peter Michael
ea054fa174 fix: Prevent follow & collect NFT implementation initialization. 2022-03-22 11:32:45 -04:00
Peter Michael
89c8131022 fix: Prevent profile transfers when the hub is paused. 2022-03-22 11:22:34 -04:00
Peter Michael
a17ae78cd9 fix: Allow non-zero amounts in fee modules instead of BPS_MAX minimum. 2022-03-21 18:58:25 -04:00
Zer0dot
694b576288 Merge pull request #69 from aave/fix/follow-deleted-profiles 2022-03-21 14:39:25 -04:00
Zer0dot
e87ae33dc7 Merge pull request #68 from aave/refactor/optimize-state-check 2022-03-18 16:41:18 -04:00
Peter Michael
997dd56556 fix: Fixed deleted profiles potentially being able to get followed. 2022-03-18 15:40:09 -04:00
Peter Michael
38945af602 refactor: Changed publishing enabled check to only validate against unpaused state. 2022-03-18 14:00:37 -04:00
Peter Michael
92185951aa misc: Removed unused import. 2022-03-18 13:31:47 -04:00
Peter Michael
84795e7c8b misc: Removed unused comments. 2022-03-17 10:01:03 -04:00
Peter Michael
e880a4ec4e misc: Added NatSpec. 2022-03-16 19:22:07 -04:00
Peter Michael
2c37c84c68 misc: Added return type to natspec. 2022-03-16 19:15:52 -04:00
Peter Michael
4f0206d6a7 refactor: Refactored follow toggles to external LensPeripheryDataProvider contract. 2022-03-16 19:14:25 -04:00
Peter Michael
77eb715358 misc: Removed constant typehashes in favor of calculated keccaks. 2022-03-16 18:55:31 -04:00
Peter Michael
875c2236dc refactor: Removed the need to pass follow NFT Ids to toggleFollow() calls, tests adapted. 2022-03-16 18:33:35 -04:00
Peter Michael
9aa90e3eed misc: Removed precomputed hashes (handled by optimizer now). 2022-03-16 18:32:49 -04:00
Peter Michael
7b624c87fd refactor: Refactored to match new signature computation method. 2022-03-16 17:54:27 -04:00
Peter Michael
53f94e084d Merge branch 'main' into feature/proposal-to-allow-follow-after-transfer 2022-03-16 17:45:42 -04:00
Peter Michael
1466a4633d refactor: Refactored to emit a single event instead of one event per follow toggled. 2022-03-16 17:09:06 -04:00
donosonaumczuk
dbf8e41c81 Profile NFT tokenURI restrictions over domain removed 2022-03-16 18:00:16 -03:00
donosonaumczuk
9fca476659 Max length validation added at setProfileImageURI 2022-03-16 17:58:37 -03:00
donosonaumczuk
92611a725e Digest calculation now takes bytes32 instead of bytes 2022-03-15 17:52:21 -03:00
donosonaumczuk
f588070570 Solving conflicts with main branch 2022-03-15 17:32:53 -03:00
Peter Michael
d454dcc492 feat: Updated to only allow setting the default profile for the sender. 2022-03-15 15:54:58 -04:00
Peter Michael
a17322183b misc: Removed unused comment. 2022-03-15 14:31:25 -04:00
Peter Michael
cfa08e1986 refactor: Refactored setting default profile to reduce complexity and code size. 2022-03-15 12:43:25 -04:00
damarnez
01c560022c use same error 2022-03-15 17:24:57 +01:00
donosonaumczuk
2816ddbda2 Followers property added to profile tokenURI 2022-03-08 16:26:17 -03:00
donosonaumczuk
f97313a4bb Typo fixed 2022-03-07 21:08:28 -03:00
donosonaumczuk
bd654c9631 Natspec improved 2022-03-07 20:55:43 -03:00
donosonaumczuk
4031789c0c ProfileTokenURILogic now only embbeds ipfs.io URIs 2022-03-07 20:36:11 -03:00
donosonaumczuk
f91f9252bd Using abstracted digest calculation at FollowNFT too 2022-03-07 20:35:18 -03:00
donosonaumczuk
46eba358f7 LensHub size reduced by abstracting EIP-712 digest calculation 2022-03-07 16:15:12 -03:00
donosonaumczuk
4cde7e930f Up to date with main branch 2022-03-07 15:35:29 -03:00
damarnez
2379d252b6 add test and fixes 2022-03-05 12:43:55 +01:00
damarnez
b35b87e64d fix comments 2022-03-03 18:18:52 +01:00
damarnez
1e5993f42e fix issues with docker 2022-03-03 09:27:24 +01:00
damarnez
4a00be8b2c Merge branch 'main' of https://github.com/aave/lens-protocol into feature/proposal-to-allow-follow-after-transfer 2022-03-02 21:44:20 +01:00
damarnez
3583dbf225 fixes 2022-03-02 21:44:12 +01:00
damarnez
6876c2b0b8 Merge branch 'main' of https://github.com/aave/lens-protocol into feature/proposal-to-allow-follow-after-transfer 2022-03-02 17:00:02 +01:00
Josh Stevens
ce392f53df _validateCallerIsProfileOwner > _validateWalletIsProfileOwner 2022-03-02 13:07:08 +00:00
Josh Stevens
7b0966b242 fix storage naming 2022-03-02 13:00:47 +00:00
Josh Stevens
87f9fe38a3 remove UnsetDefaultProfileWithSigData 2022-03-02 10:50:17 +00:00