Commit Graph

  • c1befa2fe4 IFollowModule validateFollow replaced with isFollowing that returns boolean instead of reverting donosonaumczuk 2022-03-31 13:03:38 +01:00
  • db603bccfe misc: Commented out approval follow module deployment from tasks. Peter Michael 2022-03-30 17:38:07 -04:00
  • 98464b568d misc: Renamed EmptyCollectModule to more accurate FollowerOnlyCollectModule. Peter Michael 2022-03-30 17:14:41 -04:00
  • 835e26a253 misc: Capitalized comments. Peter Michael 2022-03-30 17:05:40 -04:00
  • dbe0a8540e Merge pull request #84 from aave/refactor/83-redundant-snapshot-logic Zer0dot 2022-03-30 16:51:19 -04:00
  • 1e9901de23 misc: Renamed LensPeripheryDataProvider to more accurate shortened LensPeriphery, including the name used in the domain separator. Peter Michael 2022-03-30 16:49:47 -04:00
  • dd82346393 misc: Added return types and cleaned up comments. Peter Michael 2022-03-30 14:15:10 -04:00
  • 268055df77 Tests updated to compare SVGs loading expected ones donosonaumczuk 2022-03-30 17:54:13 +01:00
  • efc5a811fe Test helpers functions added: load test resources & decode SVG form metadata donosonaumczuk 2022-03-30 17:53:37 +01:00
  • 86aaa4e53f Test resources added for expected profile tokenURI SVGs donosonaumczuk 2022-03-30 17:51:28 +01:00
  • 2c30269f1a misc: Clarified comments for boolean return values. Peter Michael 2022-03-30 10:47:47 -04:00
  • ecd851baf5 misc: Removed redundant bracket scopes from single-line "if" statements. Peter Michael 2022-03-30 10:42:10 -04:00
  • 6a95e0ec1f fix: Remove unneeded unchecked blocks miguelmtzinf 2022-03-30 13:40:03 +02:00
  • 59e28d5f8b Tests added donosonaumczuk 2022-03-29 17:27:59 +01:00
  • 008e682a99 FollowValidationModuleBase's _checkFollowValidity now bypasses publication owner donosonaumczuk 2022-03-29 17:27:42 +01:00
  • 4a7c66a113 refactor: Add _getSnapshotValueByBlockNumber helper Lasse Herskind 2022-03-29 13:35:36 +01:00
  • b9a5f42942 Small re-arrange to save more gas donosonaumczuk 2022-03-28 19:17:04 +01:00
  • 96bca886ab Expected tokenURI hash updated at tests donosonaumczuk 2022-03-28 11:29:39 +01:00
  • 5416f98267 Profile NFT tokenURI custom font now support hyphens and underscores donosonaumczuk 2022-03-28 11:28:58 +01:00
  • 7d8878dc71 refactor: Added unchecked blocks in module initializations with impossible overflow cases. Peter Michael 2022-03-25 15:37:48 -04:00
  • 2dee8e4cb1 misc: Removed unused constant typehash. Peter Michael 2022-03-24 16:55:36 -04:00
  • 96493ee950 Merge branch 'main' into refactor/general-optimizations Peter Michael 2022-03-24 15:35:15 -04:00
  • 04a506dc5d misc: Added missing comments. Peter Michael 2022-03-24 15:28:00 -04:00
  • 4a734da09b misc: Corrected incorrect comment. Peter Michael 2022-03-24 15:18:25 -04:00
  • 10f90f5755 test: Added tests for zero address construction reverts. Peter Michael 2022-03-24 15:18:19 -04:00
  • eee3a71eb4 misc: Added zero address construction check. Peter Michael 2022-03-24 15:18:03 -04:00
  • d5042ddb92 misc: Added zero address check on follow & collect NFT construction. Peter Michael 2022-03-24 14:37:24 -04:00
  • bc4288db81 refactor: Cached multiple-use boolean value. Peter Michael 2022-03-24 11:19:54 -04:00
  • a698476590 refactor: Where possible, cached array length in for loops. Peter Michael 2022-03-24 11:04:19 -04:00
  • 589155643c refactor: Wrapped increments in unchecked blocks. Peter Michael 2022-03-24 10:22:37 -04:00
  • 37ab8cea46 refactor: Wrapped for loop iterators in unchecked blocks, also formatted with prettier. Peter Michael 2022-03-24 10:07:52 -04:00
  • 56d6b2830f refactor: Optimized post-increments to use pre-increments where possible. Peter Michael 2022-03-23 18:46:13 -04:00
  • 42dd95f3eb refactor: Changed parameter data location to calldata in _validateRecoveredAddress(). Peter Michael 2022-03-23 18:43:14 -04:00
  • 7ae0396b76 refactor: Changed data locations of URI parameters in follow NFT and profile image URI setters to calldata. Peter Michael 2022-03-23 18:39:50 -04:00
  • f49d63dc76 Merge branch 'refactor/general-optimizations' of github.com:aave/lens-protocol into refactor/general-optimizations Peter Michael 2022-03-23 17:30:57 -04:00
  • 1768a5465b refactor: Short-circuited setState caller check. Peter Michael 2022-03-23 17:30:45 -04:00
  • 2f4bd779a4 refactor: Inlined single-use modifier. Peter Michael 2022-03-23 17:29:54 -04:00
  • 9428fe98f4 fix: Inlined single-use modifier. Peter Michael 2022-03-23 17:28:29 -04:00
  • 119e4e8eaa test: Reverted default handle change and added test for new handle characters. Peter Michael 2022-03-23 16:47:12 -04:00
  • de1a366dee feat: (WIP) Added hyphens and underscores as valid handle characters. Peter Michael 2022-03-23 16:27:37 -04:00
  • 0c44b58e6b feat: Implemented profile-specific metadata in the periphery data provider. Peter Michael 2022-03-23 14:40:12 -04:00
  • b3c026a2e3 Merge pull request #77 from aave/fix/zero-treasury-transfers Zer0dot 2022-03-23 14:17:22 -04:00
  • c12ef6a0b5 Merge branch 'main' into fix/zero-treasury-transfers donosonaumczuk 2022-03-23 14:50:27 -03:00
  • 54fd98e2e0 refactor: Governance power and delegated supply checks are now unchecked. Peter Michael 2022-03-23 13:26:05 -04:00
  • e2daef1250 test: Added tests for zero treasury fee on referral. Peter Michael 2022-03-23 12:33:45 -04:00
  • 55cbb4f666 Merge pull request #76 from aave/fix/follow-collect-initializable Zer0dot 2022-03-22 16:45:53 -04:00
  • 3d97e00ed7 Merge pull request #74 from aave/fix/minimum-amounts-allowed Zer0dot 2022-03-22 16:22:50 -04:00
  • f3a56a73af test: Added tests for zero treasury fee. Peter Michael 2022-03-22 15:20:35 -04:00
  • 25f83751ff fix: Prevent treasury transfers if the treasury amount is zero. Peter Michael 2022-03-22 13:43:04 -04:00
  • f7e98ca241 Merge pull request #75 from aave/fix/paused-transfers Zer0dot 2022-03-22 11:45:25 -04:00
  • ea054fa174 fix: Prevent follow & collect NFT implementation initialization. Peter Michael 2022-03-22 11:32:45 -04:00
  • 89c8131022 fix: Prevent profile transfers when the hub is paused. Peter Michael 2022-03-22 11:22:34 -04:00
  • a17ae78cd9 fix: Allow non-zero amounts in fee modules instead of BPS_MAX minimum. Peter Michael 2022-03-21 18:58:25 -04:00
  • 694b576288 Merge pull request #69 from aave/fix/follow-deleted-profiles Zer0dot 2022-03-21 14:39:25 -04:00
  • b73989f128 Merge pull request #70 from aave/misc/update-expected-revert-reasons Zer0dot 2022-03-21 14:08:34 -04:00
  • 07d4740b08 Merge pull request #72 from aave/fix/perms Lumi 2022-03-20 00:26:07 +03:00
  • bff80fef06 Fix permissions Wolphin 2022-03-19 23:19:16 +03:00
  • fabb1e5130 misc: Update expected revert reasons. Peter Michael 2022-03-18 17:00:56 -04:00
  • e87ae33dc7 Merge pull request #68 from aave/refactor/optimize-state-check Zer0dot 2022-03-18 16:41:18 -04:00
  • 602ae72ac1 Merge pull request #67 from aave/refactor/follow-nft-cleaner Zer0dot 2022-03-18 16:40:57 -04:00
  • 1d0322a4a8 feat: Updated TimedFeeCollectModule to allow follower only toggle. Peter Michael 2022-03-18 16:36:57 -04:00
  • 73669d3da9 misc: Added missing comment line. Peter Michael 2022-03-18 16:33:12 -04:00
  • dd6267bfbc feat: Updated LimitedTimedFeeCollectModule to allow follower only toggle. Peter Michael 2022-03-18 16:33:06 -04:00
  • dffe72d4f6 feat: Updated LimitedFeeCollectModule to allow follower only toggle. Peter Michael 2022-03-18 16:27:20 -04:00
  • b908a1af7e feat: Updated FeeCollectModule to allow follower only toggle. Peter Michael 2022-03-18 16:22:56 -04:00
  • 997dd56556 fix: Fixed deleted profiles potentially being able to get followed. Peter Michael 2022-03-18 15:40:09 -04:00
  • 7f0e2123e5 Merge pull request #65 from aave/fix/readme Zer0dot 2022-03-18 14:05:53 -04:00
  • 38945af602 refactor: Changed publishing enabled check to only validate against unpaused state. Peter Michael 2022-03-18 14:00:37 -04:00
  • 92185951aa misc: Removed unused import. Peter Michael 2022-03-18 13:31:47 -04:00
  • 0eb754454a Wording Wolphin 2022-03-18 18:46:42 +03:00
  • 29ad21d8da Better formating Wolphin 2022-03-18 18:44:55 +03:00
  • c03c476535 Windows statement Wolphin 2022-03-18 18:43:41 +03:00
  • f1cc2acd5e Merge pull request #63 from aave/fix/add-missing-nonce-increment Alan 2022-03-18 12:01:27 -03:00
  • 862ad0d443 misc: Added missing nonce increment. Peter Michael 2022-03-18 10:09:44 -04:00
  • 52ae92c92a Merge pull request #61 from aave/fix/misc Lumi 2022-03-18 01:36:06 +03:00
  • b7f5a0fce0 Remove dollar from snippets Wolphin 2022-03-18 01:21:21 +03:00
  • 2676ba75fc Small compose fixes Wolphin 2022-03-18 01:13:17 +03:00
  • 01b6e56944 Merge pull request #60 from aave/feat/readme-fixes Lumi 2022-03-18 00:54:43 +03:00
  • df3ca2fa42 Better README on docker-compose Wolphin 2022-03-18 00:28:46 +03:00
  • a1a856c2d8 misc: Updated verification script. Peter Michael 2022-03-17 16:51:51 -04:00
  • 76f5cf5c8c Support different UIDs Wolphin 2022-03-17 23:38:43 +03:00
  • 268102e6f3 Merge pull request #18 from aave/feature/proposal-to-allow-follow-after-transfer Zer0dot 2022-03-17 12:59:16 -04:00
  • 84795e7c8b misc: Removed unused comments. Peter Michael 2022-03-17 10:01:03 -04:00
  • 04d75fa6d2 Merge pull request #57 from aave/feat/ci-coverage-output Zer0dot 2022-03-16 19:28:10 -04:00
  • f1de0cf88a misc: Added periphery data provider to deploy scripts. Peter Michael 2022-03-16 19:26:50 -04:00
  • e880a4ec4e misc: Added NatSpec. Peter Michael 2022-03-16 19:22:07 -04:00
  • 2c37c84c68 misc: Added return type to natspec. Peter Michael 2022-03-16 19:15:52 -04:00
  • 4f0206d6a7 refactor: Refactored follow toggles to external LensPeripheryDataProvider contract. Peter Michael 2022-03-16 19:14:25 -04:00
  • 77eb715358 misc: Removed constant typehashes in favor of calculated keccaks. Peter Michael 2022-03-16 18:55:31 -04:00
  • 875c2236dc refactor: Removed the need to pass follow NFT Ids to toggleFollow() calls, tests adapted. Peter Michael 2022-03-16 18:33:35 -04:00
  • 9aa90e3eed misc: Removed precomputed hashes (handled by optimizer now). Peter Michael 2022-03-16 18:32:49 -04:00
  • 24b801bbc0 Returning tests to its previous state donosonaumczuk 2022-03-16 19:16:00 -03:00
  • e9e6db9902 Breaking tests intentionally to test workflow donosonaumczuk 2022-03-16 19:02:08 -03:00
  • 7b624c87fd refactor: Refactored to match new signature computation method. Peter Michael 2022-03-16 17:54:27 -04:00
  • 53f94e084d Merge branch 'main' into feature/proposal-to-allow-follow-after-transfer Peter Michael 2022-03-16 17:45:42 -04:00
  • 39e43c1a3b Updating CI workflow to get coverage output after running tests donosonaumczuk 2022-03-16 18:44:57 -03:00
  • 2d4051828e Merge pull request #24 from aave/feat/profile-token-uri Zer0dot 2022-03-16 17:40:18 -04:00
  • 1466a4633d refactor: Refactored to emit a single event instead of one event per follow toggled. Peter Michael 2022-03-16 17:09:06 -04:00
  • 043f62193b Tests updated donosonaumczuk 2022-03-16 18:00:24 -03:00
  • dbf8e41c81 Profile NFT tokenURI restrictions over domain removed donosonaumczuk 2022-03-16 18:00:16 -03:00