Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trad1049/removeuuid #183

Merged
merged 4 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,817 changes: 2,807 additions & 3,010 deletions api/api.pb.go

Large diffs are not rendered by default.

101 changes: 0 additions & 101 deletions api/api.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 0 additions & 36 deletions api/api_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 0 additions & 26 deletions proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,6 @@ service Api {
};
}



rpc GetOrderByID(GetOrderByIDRequest) returns (GetOrderByIDResponse) {
option (google.api.method_visibility).restriction = "INTERNAL";
option (google.api.http) = {
Expand All @@ -692,18 +690,6 @@ service Api {
};
}

rpc GetBundleResultV2(GetBundleResultRequest) returns (GetBundleResultResponse) {
option (google.api.http) = {
get: "/api/v2/bundle-result/{uuid}"
};

option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
description: "returns bundle result status based on uuid";
summary: "bundle status based on uuid";
tags: ["Trade"];
};
}

rpc GetUnsettled(GetUnsettledRequest) returns (GetUnsettledResponse) {
option (google.api.http) = {
get: "/api/v1/trade/unsettled/{market}"
Expand Down Expand Up @@ -1201,12 +1187,10 @@ message PostSubmitBatchResponseEntry {

message PostSubmitBatchResponse {
repeated PostSubmitBatchResponseEntry transactions = 1;
optional string uuid = 4;
}

message PostSubmitResponse {
string signature = 1;
optional string uuid = 2;
}


Expand Down Expand Up @@ -1814,16 +1798,6 @@ message GetSwapsStreamUpdate {
string signature = 13;
}

message GetBundleResultRequest {
string uuid = 1 [(google.api.field_behavior) = REQUIRED];
}

message GetBundleResultResponse {
string uuid = 1;
string bundleResult = 2[(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "bundleResult contains a string description of the status of a bundle after it has been submitted. Based on the result, (rejected, accepted, processed, dropped), there will be some different fields provided to give information about what happened in the bundle"}];
google.protobuf.Timestamp timestamp = 3;
}

message TokenPair {
string inToken = 1;
string outToken = 2;
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "bxsolana-trader-proto"
version = "0.0.70"
version = "0.0.71"
description = "proto-generated files for solana-trader-api"
dependencies = [
"betterproto==v2.0.0b6"
Expand Down
Loading