Skip to content

Commit e07a18b

Browse files
committed
v2026.2.2
1 parent 0fd97f0 commit e07a18b

File tree

6 files changed

+37
-54
lines changed

6 files changed

+37
-54
lines changed

client/src/generated/immutable.activity.v1.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,8 @@ pub struct UpsertGasUsageConfigIntent {
15751575
pub sub_org_window_limit_usd: ::prost::alloc::string::String,
15761576
/// @inject_tag: validate:"required,numeric"
15771577
pub window_duration_minutes: ::prost::alloc::string::String,
1578+
#[serde(default)]
1579+
pub enabled: ::core::option::Option<bool>,
15781580
}
15791581
#[derive(Debug)]
15801582
#[derive(::serde::Serialize, ::serde::Deserialize)]

client/src/generated/immutable.common.v1.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,9 @@ pub enum TransactionType {
11031103
/// Unsigned Bitcoin transaction, hex encoded
11041104
#[serde(rename = "TRANSACTION_TYPE_BITCOIN")]
11051105
Bitcoin = 4,
1106+
/// Unsigned Tempo transaction. Similar to EVM transactions but includes extra fields for Tempo
1107+
#[serde(rename = "TRANSACTION_TYPE_TEMPO")]
1108+
Tempo = 5,
11061109
}
11071110
impl TransactionType {
11081111
/// String value of the enum field names used in the ProtoBuf definition.
@@ -1116,6 +1119,7 @@ impl TransactionType {
11161119
Self::Solana => "TRANSACTION_TYPE_SOLANA",
11171120
Self::Tron => "TRANSACTION_TYPE_TRON",
11181121
Self::Bitcoin => "TRANSACTION_TYPE_BITCOIN",
1122+
Self::Tempo => "TRANSACTION_TYPE_TEMPO",
11191123
}
11201124
}
11211125
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1126,6 +1130,7 @@ impl TransactionType {
11261130
"TRANSACTION_TYPE_SOLANA" => Some(Self::Solana),
11271131
"TRANSACTION_TYPE_TRON" => Some(Self::Tron),
11281132
"TRANSACTION_TYPE_BITCOIN" => Some(Self::Bitcoin),
1133+
"TRANSACTION_TYPE_TEMPO" => Some(Self::Tempo),
11291134
_ => None,
11301135
}
11311136
}

client/src/generated/services.coordinator.public.v1.rs

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,6 @@ pub struct GetWhoamiResponse {
5454
#[derive(::serde::Serialize, ::serde::Deserialize)]
5555
#[serde(rename_all = "camelCase")]
5656
#[derive(Clone, PartialEq)]
57-
pub struct GetAttestationDocumentRequest {
58-
pub organization_id: ::prost::alloc::string::String,
59-
pub enclave_type: ::prost::alloc::string::String,
60-
}
61-
#[derive(Debug)]
62-
#[derive(::serde::Serialize, ::serde::Deserialize)]
63-
#[serde(rename_all = "camelCase")]
64-
#[derive(Clone, PartialEq)]
65-
pub struct GetAttestationDocumentResponse {
66-
#[serde(default)]
67-
pub attestation_document: ::prost::alloc::vec::Vec<u8>,
68-
}
69-
#[derive(Debug)]
70-
#[derive(::serde::Serialize, ::serde::Deserialize)]
71-
#[serde(rename_all = "camelCase")]
72-
#[derive(Clone, PartialEq)]
7357
pub struct GetSubOrgIdsRequest {
7458
pub organization_id: ::prost::alloc::string::String,
7559
pub filter_type: ::prost::alloc::string::String,
@@ -928,4 +912,14 @@ pub struct AssetBalance {
928912
pub balance: ::prost::alloc::string::String,
929913
#[serde(default)]
930914
pub decimals: i32,
915+
#[serde(default)]
916+
pub display: ::core::option::Option<AssetBalanceDisplay>,
917+
}
918+
#[derive(Debug)]
919+
#[derive(::serde::Serialize, ::serde::Deserialize)]
920+
#[serde(rename_all = "camelCase")]
921+
#[derive(Clone, PartialEq)]
922+
pub struct AssetBalanceDisplay {
923+
pub usd: ::prost::alloc::string::String,
924+
pub crypto: ::prost::alloc::string::String,
931925
}

proto/immutable/activity/v1/activity.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3044,6 +3044,11 @@ message UpsertGasUsageConfigIntent {
30443044
(google.api.field_behavior) = REQUIRED,
30453045
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Rolling sponsorship window duration, expressed in minutes."}
30463046
];
3047+
3048+
optional bool enabled = 4 [
3049+
(google.api.field_behavior) = OPTIONAL,
3050+
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Whether gas sponsorship is enabled for the organization."}
3051+
];
30473052
}
30483053

30493054
message VerifyOtpIntent {

proto/immutable/common/v1/common.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ enum TransactionType {
270270
TRANSACTION_TYPE_TRON = 3;
271271
// Unsigned Bitcoin transaction, hex encoded
272272
TRANSACTION_TYPE_BITCOIN = 4;
273+
// Unsigned Tempo transaction. Similar to EVM transactions but includes extra fields for Tempo
274+
TRANSACTION_TYPE_TEMPO = 5;
273275
}
274276

275277
enum SmartContractInterfaceType {

proto/services/coordinator/public/v1/public_api.proto

Lines changed: 13 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -295,19 +295,6 @@ service PublicApiService {
295295
};
296296
}
297297

298-
rpc GetAttestationDocument(GetAttestationDocumentRequest) returns (GetAttestationDocumentResponse) {
299-
option (google.api.method_visibility).restriction = "INTERNAL"; // TODO: remove once fully ready for primetime
300-
option (google.api.http) = {
301-
post: "/public/v1/query/get_attestation"
302-
body: "*"
303-
};
304-
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
305-
description: "Get the attestation document corresponding to an enclave."
306-
summary: "Attestation"
307-
tags: "Attestation"
308-
};
309-
}
310-
311298
rpc GetSubOrgIds(GetSubOrgIdsRequest) returns (GetSubOrgIdsResponse) {
312299
option (google.api.http) = {
313300
post: "/public/v1/query/list_suborgs"
@@ -1757,8 +1744,8 @@ service PublicApiService {
17571744
body: "*"
17581745
};
17591746
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
1760-
description: "Get balances for a single wallet account address on the specified network."
1761-
summary: "Get balances for wallet account address"
1747+
description: "Get non-zero balances of supported assets for a single wallet account address on the specified network."
1748+
summary: "Get balances of supported assets for wallet account address"
17621749
tags: "Wallets"
17631750
};
17641751
}
@@ -1823,24 +1810,6 @@ message GetWhoamiResponse {
18231810
];
18241811
}
18251812

1826-
message GetAttestationDocumentRequest {
1827-
string organization_id = 1 [
1828-
(google.api.field_behavior) = REQUIRED,
1829-
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Unique identifier for a given organization."}
1830-
];
1831-
string enclave_type = 2 [
1832-
(google.api.field_behavior) = REQUIRED,
1833-
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The enclave type, one of: ump, notarizer, signer, evm-parser."}
1834-
];
1835-
}
1836-
1837-
message GetAttestationDocumentResponse {
1838-
bytes attestation_document = 1 [
1839-
(google.api.field_behavior) = REQUIRED,
1840-
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Raw (CBOR-encoded) attestation document."}
1841-
];
1842-
}
1843-
18441813
message GetSubOrgIdsRequest {
18451814
string organization_id = 1 [
18461815
(google.api.field_behavior) = REQUIRED,
@@ -2610,12 +2579,18 @@ message GetWalletAddressBalancesRequest {
26102579
}
26112580

26122581
message GetWalletAddressBalancesResponse {
2613-
repeated AssetBalance balances = 1;
2582+
repeated AssetBalance balances = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "List of asset balances"}];
26142583
}
26152584

26162585
message AssetBalance {
2617-
string caip19 = 1;
2618-
string symbol = 2;
2619-
string balance = 3;
2620-
int32 decimals = 4;
2586+
string caip19 = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The caip-19 asset identifier"}];
2587+
string symbol = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The asset symbol"}];
2588+
string balance = 3 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The balance in atomic units"}];
2589+
int32 decimals = 4 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "The number of decimals this asset uses"}];
2590+
AssetBalanceDisplay display = 5 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Normalized balance values for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. Use the balance field instead."}];
2591+
}
2592+
2593+
message AssetBalanceDisplay {
2594+
string usd = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise."}];
2595+
string crypto = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise."}];
26212596
}

0 commit comments

Comments
 (0)