Lasse Herskind
|
4a7c66a113
|
refactor: Add _getSnapshotValueByBlockNumber helper
|
2022-03-29 13:35:36 +01:00 |
|
donosonaumczuk
|
b9a5f42942
|
Small re-arrange to save more gas
|
2022-03-28 19:17:04 +01:00 |
|
Peter Michael
|
7d8878dc71
|
refactor: Added unchecked blocks in module initializations with impossible overflow cases.
|
2022-03-25 15:37:48 -04:00 |
|
Peter Michael
|
2dee8e4cb1
|
misc: Removed unused constant typehash.
|
2022-03-24 16:55:36 -04:00 |
|
Peter Michael
|
96493ee950
|
Merge branch 'main' into refactor/general-optimizations
|
2022-03-24 15:35:15 -04:00 |
|
Peter Michael
|
04a506dc5d
|
misc: Added missing comments.
|
2022-03-24 15:28:00 -04:00 |
|
Peter Michael
|
4a734da09b
|
misc: Corrected incorrect comment.
|
2022-03-24 15:18:25 -04:00 |
|
Peter Michael
|
10f90f5755
|
test: Added tests for zero address construction reverts.
|
2022-03-24 15:18:19 -04:00 |
|
Peter Michael
|
eee3a71eb4
|
misc: Added zero address construction check.
|
2022-03-24 15:18:03 -04:00 |
|
Peter Michael
|
d5042ddb92
|
misc: Added zero address check on follow & collect NFT construction.
|
2022-03-24 14:37:24 -04:00 |
|
Peter Michael
|
bc4288db81
|
refactor: Cached multiple-use boolean value.
|
2022-03-24 11:19:54 -04:00 |
|
Peter Michael
|
a698476590
|
refactor: Where possible, cached array length in for loops.
|
2022-03-24 11:04:19 -04:00 |
|
Peter Michael
|
589155643c
|
refactor: Wrapped increments in unchecked blocks.
|
2022-03-24 10:22:37 -04:00 |
|
Peter Michael
|
37ab8cea46
|
refactor: Wrapped for loop iterators in unchecked blocks, also formatted with prettier.
|
2022-03-24 10:07:52 -04:00 |
|
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
|
f49d63dc76
|
Merge branch 'refactor/general-optimizations' of github.com:aave/lens-protocol into refactor/general-optimizations
|
2022-03-23 17:30:57 -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
|
9428fe98f4
|
fix: Inlined single-use modifier.
|
2022-03-23 17:28:29 -04:00 |
|
Zer0dot
|
b3c026a2e3
|
Merge pull request #77 from aave/fix/zero-treasury-transfers
|
2022-03-23 14:17:22 -04:00 |
|
donosonaumczuk
|
c12ef6a0b5
|
Merge branch 'main' into fix/zero-treasury-transfers
|
2022-03-23 14:50:27 -03:00 |
|
Peter Michael
|
54fd98e2e0
|
refactor: Governance power and delegated supply checks are now unchecked.
|
2022-03-23 13:26:05 -04:00 |
|
Peter Michael
|
e2daef1250
|
test: Added tests for zero treasury fee on referral.
|
2022-03-23 12:33:45 -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
|
f3a56a73af
|
test: Added tests for zero treasury fee.
|
2022-03-22 15:20:35 -04:00 |
|
Peter Michael
|
25f83751ff
|
fix: Prevent treasury transfers if the treasury amount is zero.
|
2022-03-22 13:43:04 -04:00 |
|
Zer0dot
|
f7e98ca241
|
Merge pull request #75 from aave/fix/paused-transfers
|
2022-03-22 11:45:25 -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
|
b73989f128
|
Merge pull request #70 from aave/misc/update-expected-revert-reasons
|
2022-03-21 14:08:34 -04:00 |
|
Lumi
|
07d4740b08
|
Merge pull request #72 from aave/fix/perms
Remove security_opt
|
2022-03-20 00:26:07 +03:00 |
|
Wolphin
|
bff80fef06
|
Fix permissions
|
2022-03-19 23:19:16 +03:00 |
|
Peter Michael
|
fabb1e5130
|
misc: Update expected revert reasons.
|
2022-03-18 17:00:56 -04:00 |
|
Zer0dot
|
e87ae33dc7
|
Merge pull request #68 from aave/refactor/optimize-state-check
|
2022-03-18 16:41:18 -04:00 |
|
Zer0dot
|
602ae72ac1
|
Merge pull request #67 from aave/refactor/follow-nft-cleaner
|
2022-03-18 16:40:57 -04:00 |
|
Peter Michael
|
997dd56556
|
fix: Fixed deleted profiles potentially being able to get followed.
|
2022-03-18 15:40:09 -04:00 |
|
Zer0dot
|
7f0e2123e5
|
Merge pull request #65 from aave/fix/readme
|
2022-03-18 14:05:53 -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 |
|
Wolphin
|
0eb754454a
|
Wording
|
2022-03-18 18:46:42 +03:00 |
|
Wolphin
|
29ad21d8da
|
Better formating
|
2022-03-18 18:44:55 +03:00 |
|
Wolphin
|
c03c476535
|
Windows statement
|
2022-03-18 18:43:41 +03:00 |
|
Alan
|
f1cc2acd5e
|
Merge pull request #63 from aave/fix/add-missing-nonce-increment
misc: Added missing nonce increment.
|
2022-03-18 12:01:27 -03:00 |
|
Peter Michael
|
862ad0d443
|
misc: Added missing nonce increment.
|
2022-03-18 10:09:44 -04:00 |
|
Lumi
|
52ae92c92a
|
Merge pull request #61 from aave/fix/misc
Small compose fixes
|
2022-03-18 01:36:06 +03:00 |
|