-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I was wondering where WantRefund comes from. I did a search for the entire flashbots organization and I only found matches in mev-share-node.
First I thought WantRefund is just an old unused property, but it must be used since users somehow must be able to specify a custom refund percentage.
- I'm assuming this property is set in the new version of the relay, which isn't open source. Is that correct? Is there a chance this repo becomes public?
- Why don't just use
refundConfig? Therpc-endpointuses it too
Specific code snippet I'm taking about at mevshare/api.go L133:
// send 90 % of the refund to the unmatched bundle or the suggested refund if set
refundPercent := RefundPercent
if unmatchedBundle.Privacy != nil && unmatchedBundle.Privacy.WantRefund != nil {
refundPercent = *unmatchedBundle.Privacy.WantRefund
}Thanks in advance for your reply.
Metadata
Metadata
Assignees
Labels
No labels