diff --git a/go.mod b/go.mod index d272967..bf6bd0c 100644 --- a/go.mod +++ b/go.mod @@ -17,6 +17,7 @@ require ( github.com/google/uuid v1.6.0 github.com/holiman/uint256 v1.3.1 github.com/jmoiron/sqlx v1.3.5 + github.com/lib/pq v1.10.9 github.com/shopspring/decimal v1.4.0 github.com/sourcegraph/conc v0.3.0 github.com/stretchr/testify v1.9.0 @@ -66,7 +67,6 @@ require ( github.com/holiman/bloomfilter/v2 v2.0.3 // indirect github.com/huin/goupnp v1.3.0 // indirect github.com/jackpal/go-nat-pmp v1.0.2 // indirect - github.com/lib/pq v1.10.9 // indirect github.com/machinebox/graphql v0.2.2 // indirect github.com/mattn/go-runewidth v0.0.13 // indirect github.com/metachris/flashbotsrpc v0.6.0 // indirect diff --git a/pkg/mev/bundlesendertype_enumer.go b/pkg/mev/bundlesendertype_enumer.go index d57db1b..f6e465a 100644 --- a/pkg/mev/bundlesendertype_enumer.go +++ b/pkg/mev/bundlesendertype_enumer.go @@ -7,11 +7,11 @@ import ( "strings" ) -const _BundleSenderTypeName = "BundleSenderTypeFlashbotBundleSenderTypeBeaverBundleSenderTypeRsyncBundleSenderTypeTitanBundleSenderTypeBloxrouteBundleSenderTypeAllBundleSenderTypeMevShareBundleSenderTypeBackrunPublicBundleSenderTypeMevBlockerBundleSenderTypeBlinkBundleSenderTypeMerkle" +const _BundleSenderTypeName = "BundleSenderTypeFlashbotBundleSenderTypeBeaverBundleSenderTypeRsyncBundleSenderTypeTitanBundleSenderTypeBloxrouteBundleSenderTypeAllBundleSenderTypeMevShareBundleSenderTypeBackrunPublicBundleSenderTypeMevBlockerBundleSenderTypeBlinkBundleSenderTypeMerkleBundleSenderTypeJetbldrBundleSenderTypePenguinBundleSenderTypeLoki" -var _BundleSenderTypeIndex = [...]uint8{0, 24, 46, 67, 88, 113, 132, 156, 185, 211, 232, 254} +var _BundleSenderTypeIndex = [...]uint16{0, 24, 46, 67, 88, 113, 132, 156, 185, 211, 232, 254, 277, 300, 320} -const _BundleSenderTypeLowerName = "bundlesendertypeflashbotbundlesendertypebeaverbundlesendertypersyncbundlesendertypetitanbundlesendertypebloxroutebundlesendertypeallbundlesendertypemevsharebundlesendertypebackrunpublicbundlesendertypemevblockerbundlesendertypeblinkbundlesendertypemerkle" +const _BundleSenderTypeLowerName = "bundlesendertypeflashbotbundlesendertypebeaverbundlesendertypersyncbundlesendertypetitanbundlesendertypebloxroutebundlesendertypeallbundlesendertypemevsharebundlesendertypebackrunpublicbundlesendertypemevblockerbundlesendertypeblinkbundlesendertypemerklebundlesendertypejetbldrbundlesendertypepenguinbundlesendertypeloki" func (i BundleSenderType) String() string { i -= 1 @@ -36,9 +36,12 @@ func _BundleSenderTypeNoOp() { _ = x[BundleSenderTypeMevBlocker-(9)] _ = x[BundleSenderTypeBlink-(10)] _ = x[BundleSenderTypeMerkle-(11)] + _ = x[BundleSenderTypeJetbldr-(12)] + _ = x[BundleSenderTypePenguin-(13)] + _ = x[BundleSenderTypeLoki-(14)] } -var _BundleSenderTypeValues = []BundleSenderType{BundleSenderTypeFlashbot, BundleSenderTypeBeaver, BundleSenderTypeRsync, BundleSenderTypeTitan, BundleSenderTypeBloxroute, BundleSenderTypeAll, BundleSenderTypeMevShare, BundleSenderTypeBackrunPublic, BundleSenderTypeMevBlocker, BundleSenderTypeBlink, BundleSenderTypeMerkle} +var _BundleSenderTypeValues = []BundleSenderType{BundleSenderTypeFlashbot, BundleSenderTypeBeaver, BundleSenderTypeRsync, BundleSenderTypeTitan, BundleSenderTypeBloxroute, BundleSenderTypeAll, BundleSenderTypeMevShare, BundleSenderTypeBackrunPublic, BundleSenderTypeMevBlocker, BundleSenderTypeBlink, BundleSenderTypeMerkle, BundleSenderTypeJetbldr, BundleSenderTypePenguin, BundleSenderTypeLoki} var _BundleSenderTypeNameToValueMap = map[string]BundleSenderType{ _BundleSenderTypeName[0:24]: BundleSenderTypeFlashbot, @@ -63,6 +66,12 @@ var _BundleSenderTypeNameToValueMap = map[string]BundleSenderType{ _BundleSenderTypeLowerName[211:232]: BundleSenderTypeBlink, _BundleSenderTypeName[232:254]: BundleSenderTypeMerkle, _BundleSenderTypeLowerName[232:254]: BundleSenderTypeMerkle, + _BundleSenderTypeName[254:277]: BundleSenderTypeJetbldr, + _BundleSenderTypeLowerName[254:277]: BundleSenderTypeJetbldr, + _BundleSenderTypeName[277:300]: BundleSenderTypePenguin, + _BundleSenderTypeLowerName[277:300]: BundleSenderTypePenguin, + _BundleSenderTypeName[300:320]: BundleSenderTypeLoki, + _BundleSenderTypeLowerName[300:320]: BundleSenderTypeLoki, } var _BundleSenderTypeNames = []string{ @@ -77,6 +86,9 @@ var _BundleSenderTypeNames = []string{ _BundleSenderTypeName[185:211], _BundleSenderTypeName[211:232], _BundleSenderTypeName[232:254], + _BundleSenderTypeName[254:277], + _BundleSenderTypeName[277:300], + _BundleSenderTypeName[300:320], } // BundleSenderTypeString retrieves an enum value from the enum constants string name. diff --git a/pkg/mev/pkg.go b/pkg/mev/pkg.go index 3938a45..1d80dc4 100644 --- a/pkg/mev/pkg.go +++ b/pkg/mev/pkg.go @@ -34,6 +34,9 @@ const ( BundleSenderTypeMevBlocker BundleSenderTypeBlink BundleSenderTypeMerkle + BundleSenderTypeJetbldr + BundleSenderTypePenguin + BundleSenderTypeLoki ) const (