@uniswap/client-data-api 0.0.94 → 0.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/v1/api_pb.d.ts +29 -0
- package/dist/data/v1/api_pb.js +35 -0
- package/package.json +1 -1
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -131,6 +131,23 @@ export declare enum ChartPeriod {
|
|
|
131
131
|
*/
|
|
132
132
|
MAX = 6
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum data.v1.WalletBalanceCategory
|
|
136
|
+
*/
|
|
137
|
+
export declare enum WalletBalanceCategory {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: WALLET_BALANCE_CATEGORY_UNSPECIFIED = 0;
|
|
140
|
+
*/
|
|
141
|
+
UNSPECIFIED = 0,
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: WALLET_BALANCE_CATEGORY_POOLS = 1;
|
|
144
|
+
*/
|
|
145
|
+
POOLS = 1,
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum value: WALLET_BALANCE_CATEGORY_EARN_VAULTS = 2;
|
|
148
|
+
*/
|
|
149
|
+
EARN_VAULTS = 2
|
|
150
|
+
}
|
|
134
151
|
/**
|
|
135
152
|
* @generated from enum data.v1.RwaCategory
|
|
136
153
|
*/
|
|
@@ -1699,6 +1716,10 @@ export declare class GetWalletBalancesRequest extends Message<GetWalletBalancesR
|
|
|
1699
1716
|
* @generated from field: optional data.v1.PortfolioValueModifier modifier = 3;
|
|
1700
1717
|
*/
|
|
1701
1718
|
modifier?: PortfolioValueModifier;
|
|
1719
|
+
/**
|
|
1720
|
+
* @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
|
|
1721
|
+
*/
|
|
1722
|
+
includeCategories: WalletBalanceCategory[];
|
|
1702
1723
|
constructor(data?: PartialMessage<GetWalletBalancesRequest>);
|
|
1703
1724
|
static readonly runtime: typeof proto3;
|
|
1704
1725
|
static readonly typeName = "data.v1.GetWalletBalancesRequest";
|
|
@@ -1741,6 +1762,10 @@ export declare class GetWalletsBalancesRequest extends Message<GetWalletsBalance
|
|
|
1741
1762
|
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
1742
1763
|
*/
|
|
1743
1764
|
modifiers: PortfolioValueModifier[];
|
|
1765
|
+
/**
|
|
1766
|
+
* @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
|
|
1767
|
+
*/
|
|
1768
|
+
includeCategories: WalletBalanceCategory[];
|
|
1744
1769
|
constructor(data?: PartialMessage<GetWalletsBalancesRequest>);
|
|
1745
1770
|
static readonly runtime: typeof proto3;
|
|
1746
1771
|
static readonly typeName = "data.v1.GetWalletsBalancesRequest";
|
|
@@ -1787,6 +1812,10 @@ export declare class WalletBalance extends Message<WalletBalance> {
|
|
|
1787
1812
|
* @generated from field: data.v1.WalletAccount wallet_account = 4;
|
|
1788
1813
|
*/
|
|
1789
1814
|
walletAccount?: WalletAccount;
|
|
1815
|
+
/**
|
|
1816
|
+
* @generated from field: data.v1.BalanceComponent earn = 5;
|
|
1817
|
+
*/
|
|
1818
|
+
earn?: BalanceComponent;
|
|
1790
1819
|
constructor(data?: PartialMessage<WalletBalance>);
|
|
1791
1820
|
static readonly runtime: typeof proto3;
|
|
1792
1821
|
static readonly typeName = "data.v1.WalletBalance";
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -180,6 +180,30 @@ proto3.util.setEnumType(ChartPeriod, "data.v1.ChartPeriod", [
|
|
|
180
180
|
{ no: 5, name: "CHART_PERIOD_YEAR" },
|
|
181
181
|
{ no: 6, name: "CHART_PERIOD_MAX" },
|
|
182
182
|
]);
|
|
183
|
+
/**
|
|
184
|
+
* @generated from enum data.v1.WalletBalanceCategory
|
|
185
|
+
*/
|
|
186
|
+
export var WalletBalanceCategory;
|
|
187
|
+
(function (WalletBalanceCategory) {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from enum value: WALLET_BALANCE_CATEGORY_UNSPECIFIED = 0;
|
|
190
|
+
*/
|
|
191
|
+
WalletBalanceCategory[WalletBalanceCategory["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: WALLET_BALANCE_CATEGORY_POOLS = 1;
|
|
194
|
+
*/
|
|
195
|
+
WalletBalanceCategory[WalletBalanceCategory["POOLS"] = 1] = "POOLS";
|
|
196
|
+
/**
|
|
197
|
+
* @generated from enum value: WALLET_BALANCE_CATEGORY_EARN_VAULTS = 2;
|
|
198
|
+
*/
|
|
199
|
+
WalletBalanceCategory[WalletBalanceCategory["EARN_VAULTS"] = 2] = "EARN_VAULTS";
|
|
200
|
+
})(WalletBalanceCategory || (WalletBalanceCategory = {}));
|
|
201
|
+
// Retrieve enum metadata with: proto3.getEnumType(WalletBalanceCategory)
|
|
202
|
+
proto3.util.setEnumType(WalletBalanceCategory, "data.v1.WalletBalanceCategory", [
|
|
203
|
+
{ no: 0, name: "WALLET_BALANCE_CATEGORY_UNSPECIFIED" },
|
|
204
|
+
{ no: 1, name: "WALLET_BALANCE_CATEGORY_POOLS" },
|
|
205
|
+
{ no: 2, name: "WALLET_BALANCE_CATEGORY_EARN_VAULTS" },
|
|
206
|
+
]);
|
|
183
207
|
/**
|
|
184
208
|
* @generated from enum data.v1.RwaCategory
|
|
185
209
|
*/
|
|
@@ -2269,6 +2293,10 @@ export class GetWalletBalancesRequest extends Message {
|
|
|
2269
2293
|
* @generated from field: repeated uint32 chain_ids = 2;
|
|
2270
2294
|
*/
|
|
2271
2295
|
this.chainIds = [];
|
|
2296
|
+
/**
|
|
2297
|
+
* @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
|
|
2298
|
+
*/
|
|
2299
|
+
this.includeCategories = [];
|
|
2272
2300
|
proto3.util.initPartial(data, this);
|
|
2273
2301
|
}
|
|
2274
2302
|
static fromBinary(bytes, options) {
|
|
@@ -2290,6 +2318,7 @@ GetWalletBalancesRequest.fields = proto3.util.newFieldList(() => [
|
|
|
2290
2318
|
{ no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
|
|
2291
2319
|
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
2292
2320
|
{ no: 3, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
|
|
2321
|
+
{ no: 4, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
|
|
2293
2322
|
]);
|
|
2294
2323
|
/**
|
|
2295
2324
|
* @generated from message data.v1.GetWalletBalancesResponse
|
|
@@ -2335,6 +2364,10 @@ export class GetWalletsBalancesRequest extends Message {
|
|
|
2335
2364
|
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
2336
2365
|
*/
|
|
2337
2366
|
this.modifiers = [];
|
|
2367
|
+
/**
|
|
2368
|
+
* @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
|
|
2369
|
+
*/
|
|
2370
|
+
this.includeCategories = [];
|
|
2338
2371
|
proto3.util.initPartial(data, this);
|
|
2339
2372
|
}
|
|
2340
2373
|
static fromBinary(bytes, options) {
|
|
@@ -2356,6 +2389,7 @@ GetWalletsBalancesRequest.fields = proto3.util.newFieldList(() => [
|
|
|
2356
2389
|
{ no: 1, name: "wallet_accounts", kind: "message", T: WalletAccount, repeated: true },
|
|
2357
2390
|
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
2358
2391
|
{ no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
|
|
2392
|
+
{ no: 4, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
|
|
2359
2393
|
]);
|
|
2360
2394
|
/**
|
|
2361
2395
|
* @generated from message data.v1.GetWalletsBalancesResponse
|
|
@@ -2415,6 +2449,7 @@ WalletBalance.fields = proto3.util.newFieldList(() => [
|
|
|
2415
2449
|
{ no: 2, name: "tokens", kind: "message", T: BalanceComponent },
|
|
2416
2450
|
{ no: 3, name: "pools", kind: "message", T: BalanceComponent },
|
|
2417
2451
|
{ no: 4, name: "wallet_account", kind: "message", T: WalletAccount },
|
|
2452
|
+
{ no: 5, name: "earn", kind: "message", T: BalanceComponent },
|
|
2418
2453
|
]);
|
|
2419
2454
|
/**
|
|
2420
2455
|
* @generated from message data.v1.BalanceComponent
|