Skip to content

Commit

Permalink
rpctypes: mev share bundle cancellations
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Nov 4, 2024
1 parent 2666033 commit 533902e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rpctypes/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ type RefundConfig struct {
}

type MevBundleMetadata struct {
// should be set only if we are receiving from Flashbots or other builders
Signer *common.Address `json:"signer,omitempty"`
// Signer should be set by infra that verifies user signatures and not user
Signer *common.Address `json:"signer,omitempty"`
ReplacementNonce *int `json:"replacementNonce,omitempty"`
// Used for cancelling. When true the only thing we care about is signer,replacement_nonce and RawShareBundle::replacement_uuid
Cancelled *bool `json:"cancelled,omitempty"`
}

type MevSendBundleArgs struct {
Expand Down

0 comments on commit 533902e

Please sign in to comment.