Skip to content

Clarify requestRedeem docs#831

Merged
zerosnacks merged 1 commit intofoundry-rs:masterfrom
tn0vak:redeemdocs
Mar 13, 2026
Merged

Clarify requestRedeem docs#831
zerosnacks merged 1 commit intofoundry-rs:masterfrom
tn0vak:redeemdocs

Conversation

@tn0vak
Copy link
Copy Markdown
Contributor

@tn0vak tn0vak commented Mar 11, 2026

This updates the IERC7540.requestRedeem comments to match the actual owner-based flow.

The current wording says control is taken from sender, but the function signature and parameter docs are centered on owner, and the approval model also allows either ERC-20 approval over the owner's shares or operator approval. That mismatch can mislead integrators reading the interface.

This is a comment-only change with no ABI, logic, or behavior changes. It simply makes the redeem-side docs consistent with the API semantics and with the already-clarified deposit-side wording.

Copy link
Copy Markdown
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zerosnacks zerosnacks enabled auto-merge (squash) March 13, 2026 10:42
@zerosnacks zerosnacks merged commit 3e6d5cd into foundry-rs:master Mar 13, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants