feat(recurring): add 0.2.0 admit and revoke cycle helpers - #1766
Merged
Conversation
Contributor
Author
This was referenced Aug 25, 2026
Contributor
Greptile SummaryThe PR adds calldata encoders and signer-based transaction helpers for admitting and revoking cycles through ERC20 Recurring Payment Proxy v0.2.0.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "test(recurring): use derived schedule ke..." | Re-trigger Greptile |
LeoSlrRf
marked this pull request as ready for review
August 25, 2026 13:18
LeoSlrRf
requested review from
a team,
MantisClone and
bassgeta
and removed request for
a team
August 25, 2026 13:18
rodrigopavezi
approved these changes
Aug 26, 2026
MantisClone
approved these changes
Aug 28, 2026
Contributor
There was a problem hiding this comment.
Approved.
These helpers correctly expose the new admission and revocation calls without adding client-side authority: the contract still enforces the relayer role, and callers supply the contract-derived schedule key rather than treating scheduleId as the key.
Contributor
Author
LeoSlrRf
changed the base branch from
feat/req-429-lib-cancel-hash-sign
to
graphite-base/1766
August 31, 2026 09:06
LeoSlrRf
force-pushed
the
feat/req-429-lib-admit-revoke
branch
from
August 31, 2026 09:22
127aba5 to
e2afaca
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Add
admitCyclesandrevokeCyclessupport for ERC20 Recurring Payment Proxy v0.2.0Exposes two new relayer-role functions from the
0.2.0recurring payment proxy contract:admitCycles/encodeAdmitCycles— allows a relayer to admit specific cycles (identified by a bitmask) so that a subscriber can self-trigger them.revokeCycles/encodeRevokeCycles— allows a relayer to revoke previously admitted cycles without affecting relayer-initiated triggers.Both functions accept a
scheduleKeyand amask(BigNumberish), and theencode*variants produce calldata without requiring a deployed proxy address. The async variants resolve the proxy address from the known deployment on the target network and throw if none is found.