-
Notifications
You must be signed in to change notification settings - Fork 391
feat(aggregation-mode): add subscription limit and arbitrary expiration lists #2201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
JuArce
merged 34 commits into
staging
from
feataggmode/add-subscription-limit-and-arbitrary-expiracy-lists
Dec 18, 2025
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
b3079f4
Add attribute, setter and event for payment expiration time
maximopalopoli 42a7330
Add attribute, setter and event for the amount to pay in wei
maximopalopoli 05dd72b
Add a withdrawal method to send the funds to a recipient
maximopalopoli 28e8610
Update the ABI used to fetch the payment events
maximopalopoli 89e9e30
Add a TODO for extra check on withdrawal method
maximopalopoli f75cd1d
Update the deployed anvil state
maximopalopoli 820ab24
Move the amount of eth to pay to the config files
maximopalopoli c046dac
Move the payment expiration time to the config files
maximopalopoli b185ee3
Remove unnecessary TODO
maximopalopoli ca81965
Add subscription limit to the Aggregation Mode Payment Service contract
maximopalopoli 454f144
Add a onlyOwner method to add a list of addresses with a custom expiracy
maximopalopoli e600923
fix: replace expiracy mentions in addArbitraryExpirationSubscriptions…
maximopalopoli b6931c9
fix: increase the monthly subscriptions counter on each receive
maximopalopoli 3a56b3e
fix: use the iterated address instead of the sender when adding arbit…
maximopalopoli 3481449
Remove TODO after thinking on possible issue
maximopalopoli 23a863f
Merge branch 'staging' into feataggmode/add-setters-and-subscriptions
maximopalopoli 84d07af
Merge branch 'feataggmode/add-setters-and-subscriptions' into featagg…
maximopalopoli 3ac2414
increase the monthly subscription counter on the addSubscriptions method
maximopalopoli 17c66a5
Convert the resetSubscriptions method in a setter for monthlySubscrip…
maximopalopoli d73600f
Rework the subscription logic to avoid subscribing for more than N mo…
maximopalopoli 21d2878
Create a separate admin role only for adding subscriptions
maximopalopoli f6d4155
Merge branch 'staging' into feataggmode/add-subscription-limit-and-ar…
maximopalopoli 59f8ab2
Use upgradeable version of access control on the agg mode payment ser…
maximopalopoli 06410ba
Update contracts/src/core/AggregationModePaymentService.sol
maximopalopoli ede8fa8
Rename the subscription limit var to remark the month period
maximopalopoli a90de4b
Add note about adding subscriptions on only admin method and surpassi…
maximopalopoli 445bc04
Apply suggestions from code review
maximopalopoli c0f9aff
Update the newtork params and deployed state
maximopalopoli 8004004
Fix the expiration date extension logic
maximopalopoli c18a988
Rename the monthly subscriptions limit var to remove the monthly part
maximopalopoli 13fd25e
Rename the monthly subscriptions amount to rename the monthly part
maximopalopoli e5dee48
update the contracts deployed state
maximopalopoli 9595158
Improve the subscriptions amount name to active ones
maximopalopoli fc620c4
Improve the if branches comments on receive method
maximopalopoli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.