diff --git a/api/api.pb.go b/api/api.pb.go index 8145184a..60a2fdd2 100644 --- a/api/api.pb.go +++ b/api/api.pb.go @@ -3737,7 +3737,6 @@ type PostSubmitRequest struct { FrontRunningProtection *bool `protobuf:"varint,3,opt,name=frontRunningProtection,proto3,oneof" json:"frontRunningProtection,omitempty"` Tip *uint64 `protobuf:"varint,4,opt,name=tip,proto3,oneof" json:"tip,omitempty"` UseStakedRPCs *bool `protobuf:"varint,6,opt,name=useStakedRPCs,proto3,oneof" json:"useStakedRPCs,omitempty"` - FastBestEffort *bool `protobuf:"varint,7,opt,name=fastBestEffort,proto3,oneof" json:"fastBestEffort,omitempty"` } func (x *PostSubmitRequest) Reset() { @@ -3807,13 +3806,6 @@ func (x *PostSubmitRequest) GetUseStakedRPCs() bool { return false } -func (x *PostSubmitRequest) GetFastBestEffort() bool { - if x != nil && x.FastBestEffort != nil { - return *x.FastBestEffort - } - return false -} - type PostSubmitRequestEntry struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11404,7 +11396,7 @@ func (x *GetBundleTipResponse) GetEmaPercentile50() float64 { return 0 } -//Openbook V2 Messages +// Openbook V2 Messages type GetMarketsRequestV2 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13778,7 +13770,7 @@ var file_api_proto_rawDesc = []byte{ 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, - 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0xed, 0x02, 0x0a, 0x11, 0x50, 0x6f, 0x73, 0x74, 0x53, + 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0xad, 0x02, 0x0a, 0x11, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, @@ -13794,14 +13786,10 @@ var file_api_proto_rawDesc = []byte{ 0x74, 0x69, 0x70, 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x50, 0x43, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x50, 0x43, 0x73, 0x88, 0x01, - 0x01, 0x12, 0x2b, 0x0a, 0x0e, 0x66, 0x61, 0x73, 0x74, 0x42, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, - 0x6f, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x0e, 0x66, 0x61, 0x73, - 0x74, 0x42, 0x65, 0x73, 0x74, 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x88, 0x01, 0x01, 0x42, 0x19, - 0x0a, 0x17, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, - 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x74, 0x69, - 0x70, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x75, 0x73, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, - 0x50, 0x43, 0x73, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x42, 0x65, 0x73, 0x74, - 0x45, 0x66, 0x66, 0x6f, 0x72, 0x74, 0x22, 0x7e, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x75, + 0x01, 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, + 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, + 0x5f, 0x74, 0x69, 0x70, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x75, 0x73, 0x65, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x64, 0x52, 0x50, 0x43, 0x73, 0x22, 0x7e, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x3e, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x72, 0x61, 0x6e, diff --git a/proto/api.proto b/proto/api.proto index 020f8da3..f424a49c 100644 --- a/proto/api.proto +++ b/proto/api.proto @@ -1177,7 +1177,6 @@ message PostSubmitRequest { optional bool frontRunningProtection = 3; optional uint64 tip = 4; optional bool useStakedRPCs = 6; - optional bool fastBestEffort = 7; } message PostSubmitRequestEntry { diff --git a/python/pyproject.toml b/python/pyproject.toml index 40f2225e..144a1bc1 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "bxsolana-trader-proto" -version = "0.0.72" +version = "0.0.73" description = "proto-generated files for solana-trader-api" dependencies = [ "betterproto==v2.0.0b6" diff --git a/python/src/bxsolana_trader_proto/api/__init__.py b/python/src/bxsolana_trader_proto/api/__init__.py index 58728627..79ed96d1 100644 --- a/python/src/bxsolana_trader_proto/api/__init__.py +++ b/python/src/bxsolana_trader_proto/api/__init__.py @@ -466,9 +466,6 @@ class PostSubmitRequest(betterproto.Message): use_staked_rp_cs: Optional[bool] = betterproto.bool_field( 6, optional=True, group="_useStakedRPCs" ) - fast_best_effort: Optional[bool] = betterproto.bool_field( - 7, optional=True, group="_fastBestEffort" - ) @dataclass(eq=False, repr=False) @@ -1073,16 +1070,16 @@ class TransactionMeta(betterproto.Message): fee: int = betterproto.uint64_field(3) pre_balances: List[int] = betterproto.uint64_field(4) post_balances: List[int] = betterproto.uint64_field(5) - inner_instructions: List["TransactionMetaInnerInstruction"] = ( - betterproto.message_field(6) - ) + inner_instructions: List[ + "TransactionMetaInnerInstruction" + ] = betterproto.message_field(6) log_messages: List[str] = betterproto.string_field(7) pre_token_balances: List["TransactionMetaTokenBalance"] = betterproto.message_field( 8 ) - post_token_balances: List["TransactionMetaTokenBalance"] = ( - betterproto.message_field(9) - ) + post_token_balances: List[ + "TransactionMetaTokenBalance" + ] = betterproto.message_field(9) @dataclass(eq=False, repr=False) @@ -2793,7 +2790,6 @@ async def get_swaps_stream( class ApiBase(ServiceBase): - async def get_rate_limit( self, get_rate_limit_request: "GetRateLimitRequest" ) -> "GetRateLimitResponse": diff --git a/python/src/bxsolana_trader_proto/grpc/gateway/protoc_gen_openapiv2/options/__init__.py b/python/src/bxsolana_trader_proto/grpc/gateway/protoc_gen_openapiv2/options/__init__.py index bbe41f87..fb4985f2 100644 --- a/python/src/bxsolana_trader_proto/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +++ b/python/src/bxsolana_trader_proto/grpc/gateway/protoc_gen_openapiv2/options/__init__.py @@ -164,9 +164,9 @@ class Swagger(betterproto.Message): external_docs: "ExternalDocumentation" = betterproto.message_field(14) """Additional external documentation.""" - extensions: Dict[str, "betterproto_lib_google_protobuf.Value"] = ( - betterproto.map_field(15, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + extensions: Dict[ + str, "betterproto_lib_google_protobuf.Value" + ] = betterproto.map_field(15, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) @dataclass(eq=False, repr=False) @@ -256,9 +256,9 @@ class Operation(betterproto.Message): security declaration, an empty array can be used. """ - extensions: Dict[str, "betterproto_lib_google_protobuf.Value"] = ( - betterproto.map_field(13, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + extensions: Dict[ + str, "betterproto_lib_google_protobuf.Value" + ] = betterproto.map_field(13, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) @dataclass(eq=False, repr=False) @@ -334,9 +334,9 @@ class Response(betterproto.Message): Specification/blob/3.0.0/versions/2.0.md#example-object """ - extensions: Dict[str, "betterproto_lib_google_protobuf.Value"] = ( - betterproto.map_field(5, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + extensions: Dict[ + str, "betterproto_lib_google_protobuf.Value" + ] = betterproto.map_field(5, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) @dataclass(eq=False, repr=False) @@ -378,9 +378,9 @@ class Info(betterproto.Message): specification version). """ - extensions: Dict[str, "betterproto_lib_google_protobuf.Value"] = ( - betterproto.map_field(7, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + extensions: Dict[ + str, "betterproto_lib_google_protobuf.Value" + ] = betterproto.map_field(7, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) @dataclass(eq=False, repr=False) @@ -582,9 +582,9 @@ class JsonSchema(betterproto.Message): Additional field level properties used when generating the OpenAPI v2 file. """ - extensions: Dict[str, "betterproto_lib_google_protobuf.Value"] = ( - betterproto.map_field(48, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + extensions: Dict[ + str, "betterproto_lib_google_protobuf.Value" + ] = betterproto.map_field(48, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) @dataclass(eq=False, repr=False) @@ -699,9 +699,9 @@ class SecurityScheme(betterproto.Message): The available scopes for the OAuth2 security scheme. Valid for oauth2. """ - extensions: Dict[str, "betterproto_lib_google_protobuf.Value"] = ( - betterproto.map_field(9, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + extensions: Dict[ + str, "betterproto_lib_google_protobuf.Value" + ] = betterproto.map_field(9, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) @dataclass(eq=False, repr=False) @@ -717,9 +717,9 @@ class SecurityRequirement(betterproto.Message): Definitions. """ - security_requirement: Dict[str, "SecurityRequirementSecurityRequirementValue"] = ( - betterproto.map_field(1, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) - ) + security_requirement: Dict[ + str, "SecurityRequirementSecurityRequirementValue" + ] = betterproto.map_field(1, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE) """ Each name must correspond to a security scheme which is declared in the Security Definitions. If the security scheme is of type "oauth2", then the diff --git a/swagger-ui b/swagger-ui index cd7122cc..c4fc1273 100644 --- a/swagger-ui +++ b/swagger-ui @@ -4532,9 +4532,6 @@ }, "useStakedRPCs": { "type": "boolean" - }, - "fastBestEffort": { - "type": "boolean" } } },