Repository navigation
Enforce - #2120
Merged
Merged
Enforce#2120
Conversation
- Add require_admin helper to centralize admin checks - Fix set_grace_period to use stored admin and bound grace period - Fix deposit_yield_pool to use stored admin instead of caller-supplied - Replace all admin auth patterns with require_admin helper - Add InvalidGracePeriod error for values exceeding MAX_DURATION_DAYS - Add comprehensive admin authorization test suite - Update README with signature changes and new error code
- Add propose_admin/accept_admin/cancel_admin_proposal for admin handover - set_admin now alias for propose_admin (breaking behavior change) - Add get_admin and get_pending_admin view functions - Update transfer_ownership to create expiring pending offers (7 days) - Add accept_ownership and cancel_ownership_transfer functions - Add get_pending_owner view function - Automatically clear pending ownership on state transitions - Reject transfers to contract address and self-transfers - Add NoPendingAdmin, NoPendingTransfer, TransferExpired errors - Add comprehensive two-step transfer test suite - Update README with flow documentation and behavior changes
|
@Windowlight is attempting to deploy a commit to the 1nonly's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Diamond437rough Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
Author
|
@1nonlypiece please merge |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bindings will be regenerated on master once all contract ABI changes land. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Close #2064
Close #2095