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? The rpc-endpoint uses 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.
I was wondering where
WantRefundcomes from. I did a search for the entire flashbots organization and I only found matches inmev-share-node.First I thought
WantRefundis just an old unused property, but it must be used since users somehow must be able to specify a custom refund percentage.refundConfig? Therpc-endpointuses it tooSpecific code snippet I'm taking about at mevshare/api.go L133:
Thanks in advance for your reply.