diff --git a/pkg/types/flashbot_mevshare.go b/pkg/types/flashbot_mevshare.go index 7623810..c46e671 100644 --- a/pkg/types/flashbot_mevshare.go +++ b/pkg/types/flashbot_mevshare.go @@ -3,6 +3,7 @@ package types import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" + gethtypes "github.com/ethereum/go-ethereum/core/types" ) type SimulatedPrivateMempoolLog struct { @@ -15,10 +16,19 @@ type SimulatedPrivateMempoolLog struct { } type FlashbotMevShareTxHint struct { - Hash *common.Hash `json:"hash,omitempty"` - To *common.Address `json:"to,omitempty"` - FunctionSelector *hexutil.Bytes `json:"functionSelector,omitempty"` - CallData *hexutil.Bytes `json:"callData,omitempty"` + Hash *common.Hash `json:"hash,omitempty"` + To *common.Address `json:"to,omitempty"` + FunctionSelector *hexutil.Bytes `json:"functionSelector,omitempty"` + CallData *hexutil.Bytes `json:"callData,omitempty"` + From *common.Address `json:"from,omitempty"` + Value *hexutil.Big `json:"value,omitempty"` + MaxFeePerGas *hexutil.Big `json:"maxFeePerGas,omitempty"` + MaxPriorityFeePerGas *hexutil.Big `json:"maxPriorityFeePerGas,omitempty"` + Nonce *hexutil.Uint64 `json:"nonce,omitempty"` + ChainID *hexutil.Big `json:"chainId,omitempty"` + AccessList *gethtypes.AccessList `json:"accessList,omitempty"` + Gas *hexutil.Uint64 `json:"gas,omitempty"` + Type *hexutil.Uint64 `json:"type,omitempty"` } type FlashbotMevshareEvent struct {