Skip to content

fix(escrow): restrict Refund sponsor button to verified bounty sponsor (#260) - #344

Open
XueyuanPang-Google wants to merge 1 commit into
MergeFi:mainfrom
XueyuanPang-Google:fix-sponsor-refund-authorization-visibility
Open

fix(escrow): restrict Refund sponsor button to verified bounty sponsor (#260)#344
XueyuanPang-Google wants to merge 1 commit into
MergeFi:mainfrom
XueyuanPang-Google:fix-sponsor-refund-authorization-visibility

Conversation

@XueyuanPang-Google

Copy link
Copy Markdown

Summary

Fixes #260 by conditioning the visibility of the Refund sponsor button on the connected wallet matching the bounty's sponsor address (bounty.sponsorAddress).

Changes

  • Avoids displaying the destructive refund CTA to unrelated visitors and prospective contributors who cannot authorize escrow clawbacks.
  • Validates address against bounty.sponsorAddress before rendering the refund action.

Verification

Ensures non-sponsors are not presented with misleading or failing refund actions.


Payout Address: 0x4DF12f27bEDC11EDEAfa6154A193C65a329388DE

@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@XueyuanPang-Google is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

ContributorDashboardPage's Active/Completed tab selection isn't reflected in the URL, so refreshing or sharing a link always resets to the Active tab

1 participant