@uniswap/client-data-api 0.0.2 → 0.0.5
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-DataApiService_connectquery.d.ts +14 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v1/api_connect.d.ts +10 -1
- package/dist/data/v1/api_connect.js +10 -1
- package/dist/data/v1/api_pb.d.ts +55 -1
- package/dist/data/v1/api_pb.js +78 -1
- package/dist/data/v1/types_pb.d.ts +14 -6
- package/dist/data/v1/types_pb.js +20 -10
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
2
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
5
5
|
*/
|
|
@@ -39,6 +39,19 @@ export declare const getPortfolio: {
|
|
|
39
39
|
readonly typeName: "data.v1.DataApiService";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
44
|
+
*/
|
|
45
|
+
export declare const listPortfolios: {
|
|
46
|
+
readonly localName: "listPortfolios";
|
|
47
|
+
readonly name: "ListPortfolios";
|
|
48
|
+
readonly kind: MethodKind.Unary;
|
|
49
|
+
readonly I: typeof ListPortfoliosRequest;
|
|
50
|
+
readonly O: typeof ListPortfoliosResponse;
|
|
51
|
+
readonly service: {
|
|
52
|
+
readonly typeName: "data.v1.DataApiService";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
42
55
|
/**
|
|
43
56
|
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
44
57
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
6
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
9
9
|
*/
|
|
@@ -43,6 +43,19 @@ export const getPortfolio = {
|
|
|
43
43
|
typeName: "data.v1.DataApiService"
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
48
|
+
*/
|
|
49
|
+
export const listPortfolios = {
|
|
50
|
+
localName: "listPortfolios",
|
|
51
|
+
name: "ListPortfolios",
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
I: ListPortfoliosRequest,
|
|
54
|
+
O: ListPortfoliosResponse,
|
|
55
|
+
service: {
|
|
56
|
+
typeName: "data.v1.DataApiService"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
46
59
|
/**
|
|
47
60
|
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
48
61
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
1
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -33,6 +33,15 @@ export declare const DataApiService: {
|
|
|
33
33
|
readonly O: typeof GetPortfolioResponse;
|
|
34
34
|
readonly kind: MethodKind.Unary;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
38
|
+
*/
|
|
39
|
+
readonly listPortfolios: {
|
|
40
|
+
readonly name: "ListPortfolios";
|
|
41
|
+
readonly I: typeof ListPortfoliosRequest;
|
|
42
|
+
readonly O: typeof ListPortfoliosResponse;
|
|
43
|
+
readonly kind: MethodKind.Unary;
|
|
44
|
+
};
|
|
36
45
|
/**
|
|
37
46
|
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
38
47
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
5
|
+
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -37,6 +37,15 @@ export const DataApiService = {
|
|
|
37
37
|
O: GetPortfolioResponse,
|
|
38
38
|
kind: MethodKind.Unary,
|
|
39
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* @generated from rpc data.v1.DataApiService.ListPortfolios
|
|
42
|
+
*/
|
|
43
|
+
listPortfolios: {
|
|
44
|
+
name: "ListPortfolios",
|
|
45
|
+
I: ListPortfoliosRequest,
|
|
46
|
+
O: ListPortfoliosResponse,
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
},
|
|
40
49
|
/**
|
|
41
50
|
* @generated from rpc data.v1.DataApiService.ListTransactions
|
|
42
51
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -81,6 +81,48 @@ export declare class GetPortfolioResponse extends Message<GetPortfolioResponse>
|
|
|
81
81
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortfolioResponse;
|
|
82
82
|
static equals(a: GetPortfolioResponse | PlainMessage<GetPortfolioResponse> | undefined, b: GetPortfolioResponse | PlainMessage<GetPortfolioResponse> | undefined): boolean;
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message data.v1.ListPortfoliosRequest
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListPortfoliosRequest extends Message<ListPortfoliosRequest> {
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: repeated string addresses = 1;
|
|
90
|
+
*/
|
|
91
|
+
addresses: string[];
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
94
|
+
*/
|
|
95
|
+
chainIds: number[];
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
98
|
+
*/
|
|
99
|
+
modifiers: PortfolioValueModifier[];
|
|
100
|
+
constructor(data?: PartialMessage<ListPortfoliosRequest>);
|
|
101
|
+
static readonly runtime: typeof proto3;
|
|
102
|
+
static readonly typeName = "data.v1.ListPortfoliosRequest";
|
|
103
|
+
static readonly fields: FieldList;
|
|
104
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPortfoliosRequest;
|
|
105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPortfoliosRequest;
|
|
106
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPortfoliosRequest;
|
|
107
|
+
static equals(a: ListPortfoliosRequest | PlainMessage<ListPortfoliosRequest> | undefined, b: ListPortfoliosRequest | PlainMessage<ListPortfoliosRequest> | undefined): boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message data.v1.ListPortfoliosResponse
|
|
111
|
+
*/
|
|
112
|
+
export declare class ListPortfoliosResponse extends Message<ListPortfoliosResponse> {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: repeated data.v1.Portfolio portfolios = 1;
|
|
115
|
+
*/
|
|
116
|
+
portfolios: Portfolio[];
|
|
117
|
+
constructor(data?: PartialMessage<ListPortfoliosResponse>);
|
|
118
|
+
static readonly runtime: typeof proto3;
|
|
119
|
+
static readonly typeName = "data.v1.ListPortfoliosResponse";
|
|
120
|
+
static readonly fields: FieldList;
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPortfoliosResponse;
|
|
122
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPortfoliosResponse;
|
|
123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPortfoliosResponse;
|
|
124
|
+
static equals(a: ListPortfoliosResponse | PlainMessage<ListPortfoliosResponse> | undefined, b: ListPortfoliosResponse | PlainMessage<ListPortfoliosResponse> | undefined): boolean;
|
|
125
|
+
}
|
|
84
126
|
/**
|
|
85
127
|
* @generated from message data.v1.SubmitReportRequest
|
|
86
128
|
*/
|
|
@@ -140,9 +182,17 @@ export declare class ListTransactionsRequest extends Message<ListTransactionsReq
|
|
|
140
182
|
*/
|
|
141
183
|
address: string;
|
|
142
184
|
/**
|
|
143
|
-
* @generated from field: data.v1.FiatOnRampParams fiat_on_ramp_params = 3;
|
|
185
|
+
* @generated from field: optional data.v1.FiatOnRampParams fiat_on_ramp_params = 3;
|
|
144
186
|
*/
|
|
145
187
|
fiatOnRampParams?: FiatOnRampParams;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: optional string page_token = 4;
|
|
190
|
+
*/
|
|
191
|
+
pageToken?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: optional uint32 page_limit = 5;
|
|
194
|
+
*/
|
|
195
|
+
pageLimit?: number;
|
|
146
196
|
constructor(data?: PartialMessage<ListTransactionsRequest>);
|
|
147
197
|
static readonly runtime: typeof proto3;
|
|
148
198
|
static readonly typeName = "data.v1.ListTransactionsRequest";
|
|
@@ -230,6 +280,10 @@ export declare class ListTransactionsResponse extends Message<ListTransactionsRe
|
|
|
230
280
|
* @generated from field: repeated data.v1.Transaction transactions = 1;
|
|
231
281
|
*/
|
|
232
282
|
transactions: Transaction[];
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: string next_page_token = 2;
|
|
285
|
+
*/
|
|
286
|
+
nextPageToken: string;
|
|
233
287
|
constructor(data?: PartialMessage<ListTransactionsResponse>);
|
|
234
288
|
static readonly runtime: typeof proto3;
|
|
235
289
|
static readonly typeName = "data.v1.ListTransactionsResponse";
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -127,6 +127,76 @@ GetPortfolioResponse.typeName = "data.v1.GetPortfolioResponse";
|
|
|
127
127
|
GetPortfolioResponse.fields = proto3.util.newFieldList(() => [
|
|
128
128
|
{ no: 1, name: "portfolio", kind: "message", T: Portfolio },
|
|
129
129
|
]);
|
|
130
|
+
/**
|
|
131
|
+
* @generated from message data.v1.ListPortfoliosRequest
|
|
132
|
+
*/
|
|
133
|
+
export class ListPortfoliosRequest extends Message {
|
|
134
|
+
constructor(data) {
|
|
135
|
+
super();
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: repeated string addresses = 1;
|
|
138
|
+
*/
|
|
139
|
+
this.addresses = [];
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: repeated uint32 chain_ids = 2;
|
|
142
|
+
*/
|
|
143
|
+
this.chainIds = [];
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
|
|
146
|
+
*/
|
|
147
|
+
this.modifiers = [];
|
|
148
|
+
proto3.util.initPartial(data, this);
|
|
149
|
+
}
|
|
150
|
+
static fromBinary(bytes, options) {
|
|
151
|
+
return new ListPortfoliosRequest().fromBinary(bytes, options);
|
|
152
|
+
}
|
|
153
|
+
static fromJson(jsonValue, options) {
|
|
154
|
+
return new ListPortfoliosRequest().fromJson(jsonValue, options);
|
|
155
|
+
}
|
|
156
|
+
static fromJsonString(jsonString, options) {
|
|
157
|
+
return new ListPortfoliosRequest().fromJsonString(jsonString, options);
|
|
158
|
+
}
|
|
159
|
+
static equals(a, b) {
|
|
160
|
+
return proto3.util.equals(ListPortfoliosRequest, a, b);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
ListPortfoliosRequest.runtime = proto3;
|
|
164
|
+
ListPortfoliosRequest.typeName = "data.v1.ListPortfoliosRequest";
|
|
165
|
+
ListPortfoliosRequest.fields = proto3.util.newFieldList(() => [
|
|
166
|
+
{ no: 1, name: "addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
167
|
+
{ no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
168
|
+
{ no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
|
|
169
|
+
]);
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message data.v1.ListPortfoliosResponse
|
|
172
|
+
*/
|
|
173
|
+
export class ListPortfoliosResponse extends Message {
|
|
174
|
+
constructor(data) {
|
|
175
|
+
super();
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: repeated data.v1.Portfolio portfolios = 1;
|
|
178
|
+
*/
|
|
179
|
+
this.portfolios = [];
|
|
180
|
+
proto3.util.initPartial(data, this);
|
|
181
|
+
}
|
|
182
|
+
static fromBinary(bytes, options) {
|
|
183
|
+
return new ListPortfoliosResponse().fromBinary(bytes, options);
|
|
184
|
+
}
|
|
185
|
+
static fromJson(jsonValue, options) {
|
|
186
|
+
return new ListPortfoliosResponse().fromJson(jsonValue, options);
|
|
187
|
+
}
|
|
188
|
+
static fromJsonString(jsonString, options) {
|
|
189
|
+
return new ListPortfoliosResponse().fromJsonString(jsonString, options);
|
|
190
|
+
}
|
|
191
|
+
static equals(a, b) {
|
|
192
|
+
return proto3.util.equals(ListPortfoliosResponse, a, b);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
ListPortfoliosResponse.runtime = proto3;
|
|
196
|
+
ListPortfoliosResponse.typeName = "data.v1.ListPortfoliosResponse";
|
|
197
|
+
ListPortfoliosResponse.fields = proto3.util.newFieldList(() => [
|
|
198
|
+
{ no: 1, name: "portfolios", kind: "message", T: Portfolio, repeated: true },
|
|
199
|
+
]);
|
|
130
200
|
/**
|
|
131
201
|
* @generated from message data.v1.SubmitReportRequest
|
|
132
202
|
*/
|
|
@@ -236,7 +306,9 @@ ListTransactionsRequest.typeName = "data.v1.ListTransactionsRequest";
|
|
|
236
306
|
ListTransactionsRequest.fields = proto3.util.newFieldList(() => [
|
|
237
307
|
{ no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
238
308
|
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
239
|
-
{ no: 3, name: "fiat_on_ramp_params", kind: "message", T: FiatOnRampParams },
|
|
309
|
+
{ no: 3, name: "fiat_on_ramp_params", kind: "message", T: FiatOnRampParams, opt: true },
|
|
310
|
+
{ no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
311
|
+
{ no: 5, name: "page_limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
240
312
|
]);
|
|
241
313
|
/**
|
|
242
314
|
* @generated from message data.v1.FiatOnRampParams
|
|
@@ -344,6 +416,10 @@ export class ListTransactionsResponse extends Message {
|
|
|
344
416
|
* @generated from field: repeated data.v1.Transaction transactions = 1;
|
|
345
417
|
*/
|
|
346
418
|
this.transactions = [];
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: string next_page_token = 2;
|
|
421
|
+
*/
|
|
422
|
+
this.nextPageToken = "";
|
|
347
423
|
proto3.util.initPartial(data, this);
|
|
348
424
|
}
|
|
349
425
|
static fromBinary(bytes, options) {
|
|
@@ -363,4 +439,5 @@ ListTransactionsResponse.runtime = proto3;
|
|
|
363
439
|
ListTransactionsResponse.typeName = "data.v1.ListTransactionsResponse";
|
|
364
440
|
ListTransactionsResponse.fields = proto3.util.newFieldList(() => [
|
|
365
441
|
{ no: 1, name: "transactions", kind: "message", T: Transaction, repeated: true },
|
|
442
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
366
443
|
]);
|
|
@@ -546,6 +546,10 @@ export declare class Balance extends Message<Balance> {
|
|
|
546
546
|
* @generated from field: double value_usd = 5;
|
|
547
547
|
*/
|
|
548
548
|
valueUsd: number;
|
|
549
|
+
/**
|
|
550
|
+
* @generated from field: bool is_hidden = 6;
|
|
551
|
+
*/
|
|
552
|
+
isHidden: boolean;
|
|
549
553
|
constructor(data?: PartialMessage<Balance>);
|
|
550
554
|
static readonly runtime: typeof proto3;
|
|
551
555
|
static readonly typeName = "data.v1.Balance";
|
|
@@ -629,6 +633,10 @@ export declare class Nft extends Message<Nft> {
|
|
|
629
633
|
* @generated from field: string image_url = 7;
|
|
630
634
|
*/
|
|
631
635
|
imageUrl: string;
|
|
636
|
+
/**
|
|
637
|
+
* @generated from field: bool is_spam = 8;
|
|
638
|
+
*/
|
|
639
|
+
isSpam: boolean;
|
|
632
640
|
constructor(data?: PartialMessage<Nft>);
|
|
633
641
|
static readonly runtime: typeof proto3;
|
|
634
642
|
static readonly typeName = "data.v1.Nft";
|
|
@@ -689,9 +697,9 @@ export declare class OnChainTransaction extends Message<OnChainTransaction> {
|
|
|
689
697
|
*/
|
|
690
698
|
blockNumber: number;
|
|
691
699
|
/**
|
|
692
|
-
* @generated from field:
|
|
700
|
+
* @generated from field: uint64 timestamp_millis = 3;
|
|
693
701
|
*/
|
|
694
|
-
timestampMillis:
|
|
702
|
+
timestampMillis: bigint;
|
|
695
703
|
/**
|
|
696
704
|
* @generated from field: string transaction_hash = 4;
|
|
697
705
|
*/
|
|
@@ -855,9 +863,9 @@ export declare class UniswapXTransaction extends Message<UniswapXTransaction> {
|
|
|
855
863
|
*/
|
|
856
864
|
chainId: number;
|
|
857
865
|
/**
|
|
858
|
-
* @generated from field:
|
|
866
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
859
867
|
*/
|
|
860
|
-
timestampMillis:
|
|
868
|
+
timestampMillis: bigint;
|
|
861
869
|
/**
|
|
862
870
|
* @generated from field: string offerer = 3;
|
|
863
871
|
*/
|
|
@@ -916,9 +924,9 @@ export declare class FiatOnRampTransaction extends Message<FiatOnRampTransaction
|
|
|
916
924
|
*/
|
|
917
925
|
chainId: number;
|
|
918
926
|
/**
|
|
919
|
-
* @generated from field:
|
|
927
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
920
928
|
*/
|
|
921
|
-
timestampMillis:
|
|
929
|
+
timestampMillis: bigint;
|
|
922
930
|
/**
|
|
923
931
|
* @generated from field: string wallet_address = 3;
|
|
924
932
|
*/
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/types.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
7
7
|
* @generated from enum data.v1.TokenType
|
|
8
8
|
*/
|
|
@@ -750,6 +750,10 @@ export class Balance extends Message {
|
|
|
750
750
|
* @generated from field: double value_usd = 5;
|
|
751
751
|
*/
|
|
752
752
|
this.valueUsd = 0;
|
|
753
|
+
/**
|
|
754
|
+
* @generated from field: bool is_hidden = 6;
|
|
755
|
+
*/
|
|
756
|
+
this.isHidden = false;
|
|
753
757
|
proto3.util.initPartial(data, this);
|
|
754
758
|
}
|
|
755
759
|
static fromBinary(bytes, options) {
|
|
@@ -773,6 +777,7 @@ Balance.fields = proto3.util.newFieldList(() => [
|
|
|
773
777
|
{ no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
774
778
|
{ no: 4, name: "price_percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
775
779
|
{ no: 5, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
780
|
+
{ no: 6, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
776
781
|
]);
|
|
777
782
|
/**
|
|
778
783
|
* @generated from message data.v1.Amount
|
|
@@ -878,6 +883,10 @@ export class Nft extends Message {
|
|
|
878
883
|
* @generated from field: string image_url = 7;
|
|
879
884
|
*/
|
|
880
885
|
this.imageUrl = "";
|
|
886
|
+
/**
|
|
887
|
+
* @generated from field: bool is_spam = 8;
|
|
888
|
+
*/
|
|
889
|
+
this.isSpam = false;
|
|
881
890
|
proto3.util.initPartial(data, this);
|
|
882
891
|
}
|
|
883
892
|
static fromBinary(bytes, options) {
|
|
@@ -903,6 +912,7 @@ Nft.fields = proto3.util.newFieldList(() => [
|
|
|
903
912
|
{ no: 5, name: "collection_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
904
913
|
{ no: 6, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
|
|
905
914
|
{ no: 7, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
915
|
+
{ no: 8, name: "is_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
906
916
|
]);
|
|
907
917
|
/**
|
|
908
918
|
* @generated from message data.v1.Transaction
|
|
@@ -951,9 +961,9 @@ export class OnChainTransaction extends Message {
|
|
|
951
961
|
*/
|
|
952
962
|
this.blockNumber = 0;
|
|
953
963
|
/**
|
|
954
|
-
* @generated from field:
|
|
964
|
+
* @generated from field: uint64 timestamp_millis = 3;
|
|
955
965
|
*/
|
|
956
|
-
this.timestampMillis =
|
|
966
|
+
this.timestampMillis = protoInt64.zero;
|
|
957
967
|
/**
|
|
958
968
|
* @generated from field: string transaction_hash = 4;
|
|
959
969
|
*/
|
|
@@ -1002,7 +1012,7 @@ OnChainTransaction.typeName = "data.v1.OnChainTransaction";
|
|
|
1002
1012
|
OnChainTransaction.fields = proto3.util.newFieldList(() => [
|
|
1003
1013
|
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1004
1014
|
{ no: 2, name: "block_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1005
|
-
{ no: 3, name: "timestamp_millis", kind: "scalar", T:
|
|
1015
|
+
{ no: 3, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1006
1016
|
{ no: 4, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1007
1017
|
{ no: 5, name: "from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1008
1018
|
{ no: 6, name: "to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1143,9 +1153,9 @@ export class UniswapXTransaction extends Message {
|
|
|
1143
1153
|
*/
|
|
1144
1154
|
this.chainId = 0;
|
|
1145
1155
|
/**
|
|
1146
|
-
* @generated from field:
|
|
1156
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
1147
1157
|
*/
|
|
1148
|
-
this.timestampMillis =
|
|
1158
|
+
this.timestampMillis = protoInt64.zero;
|
|
1149
1159
|
/**
|
|
1150
1160
|
* @generated from field: string offerer = 3;
|
|
1151
1161
|
*/
|
|
@@ -1189,7 +1199,7 @@ UniswapXTransaction.runtime = proto3;
|
|
|
1189
1199
|
UniswapXTransaction.typeName = "data.v1.UniswapXTransaction";
|
|
1190
1200
|
UniswapXTransaction.fields = proto3.util.newFieldList(() => [
|
|
1191
1201
|
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1192
|
-
{ no: 2, name: "timestamp_millis", kind: "scalar", T:
|
|
1202
|
+
{ no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1193
1203
|
{ no: 3, name: "offerer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1194
1204
|
{ no: 4, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1195
1205
|
{ no: 5, name: "input_token", kind: "message", T: Token },
|
|
@@ -1212,9 +1222,9 @@ export class FiatOnRampTransaction extends Message {
|
|
|
1212
1222
|
*/
|
|
1213
1223
|
this.chainId = 0;
|
|
1214
1224
|
/**
|
|
1215
|
-
* @generated from field:
|
|
1225
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
1216
1226
|
*/
|
|
1217
|
-
this.timestampMillis =
|
|
1227
|
+
this.timestampMillis = protoInt64.zero;
|
|
1218
1228
|
/**
|
|
1219
1229
|
* @generated from field: string wallet_address = 3;
|
|
1220
1230
|
*/
|
|
@@ -1270,7 +1280,7 @@ FiatOnRampTransaction.runtime = proto3;
|
|
|
1270
1280
|
FiatOnRampTransaction.typeName = "data.v1.FiatOnRampTransaction";
|
|
1271
1281
|
FiatOnRampTransaction.fields = proto3.util.newFieldList(() => [
|
|
1272
1282
|
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1273
|
-
{ no: 2, name: "timestamp_millis", kind: "scalar", T:
|
|
1283
|
+
{ no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1274
1284
|
{ no: 3, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1275
1285
|
{ no: 4, name: "token", kind: "message", T: Token },
|
|
1276
1286
|
{ no: 5, name: "token_amount", kind: "message", T: Amount },
|