@uniswap/client-data-api 0.0.11 → 0.0.13

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.
@@ -1,5 +1,31 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
3
+ /**
4
+ * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
+ */
6
+ export declare const createPendingTokenFactoryToken: {
7
+ readonly localName: "createPendingTokenFactoryToken";
8
+ readonly name: "CreatePendingTokenFactoryToken";
9
+ readonly kind: MethodKind.Unary;
10
+ readonly I: typeof CreatePendingTokenFactoryTokenRequest;
11
+ readonly O: typeof CreatePendingTokenFactoryTokenResponse;
12
+ readonly service: {
13
+ readonly typeName: "data.v1.DataApiService";
14
+ };
15
+ };
16
+ /**
17
+ * @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
18
+ */
19
+ export declare const submitTokenFactoryToken: {
20
+ readonly localName: "submitTokenFactoryToken";
21
+ readonly name: "SubmitTokenFactoryToken";
22
+ readonly kind: MethodKind.Unary;
23
+ readonly I: typeof SubmitTokenFactoryTokenRequest;
24
+ readonly O: typeof SubmitTokenFactoryTokenResponse;
25
+ readonly service: {
26
+ readonly typeName: "data.v1.DataApiService";
27
+ };
28
+ };
3
29
  /**
4
30
  * @generated from rpc data.v1.DataApiService.GetToken
5
31
  */
@@ -3,7 +3,33 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
7
+ /**
8
+ * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
+ */
10
+ export const createPendingTokenFactoryToken = {
11
+ localName: "createPendingTokenFactoryToken",
12
+ name: "CreatePendingTokenFactoryToken",
13
+ kind: MethodKind.Unary,
14
+ I: CreatePendingTokenFactoryTokenRequest,
15
+ O: CreatePendingTokenFactoryTokenResponse,
16
+ service: {
17
+ typeName: "data.v1.DataApiService"
18
+ }
19
+ };
20
+ /**
21
+ * @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
22
+ */
23
+ export const submitTokenFactoryToken = {
24
+ localName: "submitTokenFactoryToken",
25
+ name: "SubmitTokenFactoryToken",
26
+ kind: MethodKind.Unary,
27
+ I: SubmitTokenFactoryTokenRequest,
28
+ O: SubmitTokenFactoryTokenResponse,
29
+ service: {
30
+ typeName: "data.v1.DataApiService"
31
+ }
32
+ };
7
33
  /**
8
34
  * @generated from rpc data.v1.DataApiService.GetToken
9
35
  */
@@ -1,4 +1,4 @@
1
- import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -6,6 +6,24 @@ import { MethodKind } from "@bufbuild/protobuf";
6
6
  export declare const DataApiService: {
7
7
  readonly typeName: "data.v1.DataApiService";
8
8
  readonly methods: {
9
+ /**
10
+ * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
11
+ */
12
+ readonly createPendingTokenFactoryToken: {
13
+ readonly name: "CreatePendingTokenFactoryToken";
14
+ readonly I: typeof CreatePendingTokenFactoryTokenRequest;
15
+ readonly O: typeof CreatePendingTokenFactoryTokenResponse;
16
+ readonly kind: MethodKind.Unary;
17
+ };
18
+ /**
19
+ * @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
20
+ */
21
+ readonly submitTokenFactoryToken: {
22
+ readonly name: "SubmitTokenFactoryToken";
23
+ readonly I: typeof SubmitTokenFactoryTokenRequest;
24
+ readonly O: typeof SubmitTokenFactoryTokenResponse;
25
+ readonly kind: MethodKind.Unary;
26
+ };
9
27
  /**
10
28
  * @generated from rpc data.v1.DataApiService.GetToken
11
29
  */
@@ -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, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -10,6 +10,24 @@ import { MethodKind } from "@bufbuild/protobuf";
10
10
  export const DataApiService = {
11
11
  typeName: "data.v1.DataApiService",
12
12
  methods: {
13
+ /**
14
+ * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
15
+ */
16
+ createPendingTokenFactoryToken: {
17
+ name: "CreatePendingTokenFactoryToken",
18
+ I: CreatePendingTokenFactoryTokenRequest,
19
+ O: CreatePendingTokenFactoryTokenResponse,
20
+ kind: MethodKind.Unary,
21
+ },
22
+ /**
23
+ * @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
24
+ */
25
+ submitTokenFactoryToken: {
26
+ name: "SubmitTokenFactoryToken",
27
+ I: SubmitTokenFactoryTokenRequest,
28
+ O: SubmitTokenFactoryTokenResponse,
29
+ kind: MethodKind.Unary,
30
+ },
13
31
  /**
14
32
  * @generated from rpc data.v1.DataApiService.GetToken
15
33
  */
@@ -1,6 +1,169 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
4
+ /**
5
+ * @generated from enum data.v1.Platform
6
+ */
7
+ export declare enum Platform {
8
+ /**
9
+ * @generated from enum value: EVM = 0;
10
+ */
11
+ EVM = 0,
12
+ /**
13
+ * @generated from enum value: SVM = 1;
14
+ */
15
+ SVM = 1
16
+ }
17
+ /**
18
+ * @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
19
+ */
20
+ export declare class CreatePendingTokenFactoryTokenRequest extends Message<CreatePendingTokenFactoryTokenRequest> {
21
+ /**
22
+ * @generated from field: string request_id = 1;
23
+ */
24
+ requestId: string;
25
+ /**
26
+ * @generated from field: string token_address = 2;
27
+ */
28
+ tokenAddress: string;
29
+ /**
30
+ * @generated from field: uint32 chain_id = 3;
31
+ */
32
+ chainId: number;
33
+ /**
34
+ * @generated from field: string token_name = 4;
35
+ */
36
+ tokenName: string;
37
+ /**
38
+ * @generated from field: string token_symbol = 5;
39
+ */
40
+ tokenSymbol: string;
41
+ /**
42
+ * @generated from field: string image_url = 6;
43
+ */
44
+ imageUrl: string;
45
+ /**
46
+ * @generated from field: uint32 decimals = 7;
47
+ */
48
+ decimals: number;
49
+ /**
50
+ * @generated from field: optional string description = 8;
51
+ */
52
+ description?: string;
53
+ /**
54
+ * @generated from field: optional string website_url = 9;
55
+ */
56
+ websiteUrl?: string;
57
+ /**
58
+ * @generated from field: optional string x_url = 10;
59
+ */
60
+ xUrl?: string;
61
+ constructor(data?: PartialMessage<CreatePendingTokenFactoryTokenRequest>);
62
+ static readonly runtime: typeof proto3;
63
+ static readonly typeName = "data.v1.CreatePendingTokenFactoryTokenRequest";
64
+ static readonly fields: FieldList;
65
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePendingTokenFactoryTokenRequest;
66
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenRequest;
67
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenRequest;
68
+ static equals(a: CreatePendingTokenFactoryTokenRequest | PlainMessage<CreatePendingTokenFactoryTokenRequest> | undefined, b: CreatePendingTokenFactoryTokenRequest | PlainMessage<CreatePendingTokenFactoryTokenRequest> | undefined): boolean;
69
+ }
70
+ /**
71
+ * @generated from message data.v1.CreatePendingTokenFactoryTokenResponse
72
+ */
73
+ export declare class CreatePendingTokenFactoryTokenResponse extends Message<CreatePendingTokenFactoryTokenResponse> {
74
+ /**
75
+ * @generated from field: uint32 chain_id = 1;
76
+ */
77
+ chainId: number;
78
+ /**
79
+ * @generated from field: string address = 2;
80
+ */
81
+ address: string;
82
+ constructor(data?: PartialMessage<CreatePendingTokenFactoryTokenResponse>);
83
+ static readonly runtime: typeof proto3;
84
+ static readonly typeName = "data.v1.CreatePendingTokenFactoryTokenResponse";
85
+ static readonly fields: FieldList;
86
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePendingTokenFactoryTokenResponse;
87
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenResponse;
88
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenResponse;
89
+ static equals(a: CreatePendingTokenFactoryTokenResponse | PlainMessage<CreatePendingTokenFactoryTokenResponse> | undefined, b: CreatePendingTokenFactoryTokenResponse | PlainMessage<CreatePendingTokenFactoryTokenResponse> | undefined): boolean;
90
+ }
91
+ /**
92
+ * @generated from message data.v1.SubmitTokenFactoryTokenRequest
93
+ */
94
+ export declare class SubmitTokenFactoryTokenRequest extends Message<SubmitTokenFactoryTokenRequest> {
95
+ /**
96
+ * @generated from field: string request_id = 1;
97
+ */
98
+ requestId: string;
99
+ constructor(data?: PartialMessage<SubmitTokenFactoryTokenRequest>);
100
+ static readonly runtime: typeof proto3;
101
+ static readonly typeName = "data.v1.SubmitTokenFactoryTokenRequest";
102
+ static readonly fields: FieldList;
103
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitTokenFactoryTokenRequest;
104
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenRequest;
105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenRequest;
106
+ static equals(a: SubmitTokenFactoryTokenRequest | PlainMessage<SubmitTokenFactoryTokenRequest> | undefined, b: SubmitTokenFactoryTokenRequest | PlainMessage<SubmitTokenFactoryTokenRequest> | undefined): boolean;
107
+ }
108
+ /**
109
+ * @generated from message data.v1.SubmitTokenFactoryTokenResponse
110
+ */
111
+ export declare class SubmitTokenFactoryTokenResponse extends Message<SubmitTokenFactoryTokenResponse> {
112
+ /**
113
+ * @generated from field: uint32 chain_id = 1;
114
+ */
115
+ chainId: number;
116
+ /**
117
+ * @generated from field: string address = 2;
118
+ */
119
+ address: string;
120
+ constructor(data?: PartialMessage<SubmitTokenFactoryTokenResponse>);
121
+ static readonly runtime: typeof proto3;
122
+ static readonly typeName = "data.v1.SubmitTokenFactoryTokenResponse";
123
+ static readonly fields: FieldList;
124
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitTokenFactoryTokenResponse;
125
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
126
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
127
+ static equals(a: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined, b: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined): boolean;
128
+ }
129
+ /**
130
+ * @generated from message data.v1.PlatformAddress
131
+ */
132
+ export declare class PlatformAddress extends Message<PlatformAddress> {
133
+ /**
134
+ * @generated from field: data.v1.Platform platform = 1;
135
+ */
136
+ platform: Platform;
137
+ /**
138
+ * @generated from field: string address = 2;
139
+ */
140
+ address: string;
141
+ constructor(data?: PartialMessage<PlatformAddress>);
142
+ static readonly runtime: typeof proto3;
143
+ static readonly typeName = "data.v1.PlatformAddress";
144
+ static readonly fields: FieldList;
145
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlatformAddress;
146
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlatformAddress;
147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlatformAddress;
148
+ static equals(a: PlatformAddress | PlainMessage<PlatformAddress> | undefined, b: PlatformAddress | PlainMessage<PlatformAddress> | undefined): boolean;
149
+ }
150
+ /**
151
+ * @generated from message data.v1.WalletAccount
152
+ */
153
+ export declare class WalletAccount extends Message<WalletAccount> {
154
+ /**
155
+ * @generated from field: repeated data.v1.PlatformAddress platform_addresses = 1;
156
+ */
157
+ platformAddresses: PlatformAddress[];
158
+ constructor(data?: PartialMessage<WalletAccount>);
159
+ static readonly runtime: typeof proto3;
160
+ static readonly typeName = "data.v1.WalletAccount";
161
+ static readonly fields: FieldList;
162
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletAccount;
163
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletAccount;
164
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletAccount;
165
+ static equals(a: WalletAccount | PlainMessage<WalletAccount> | undefined, b: WalletAccount | PlainMessage<WalletAccount> | undefined): boolean;
166
+ }
4
167
  /**
5
168
  * @generated from message data.v1.GetTokenRequest
6
169
  */
@@ -220,9 +383,9 @@ export declare class ListTransactionsRequest extends Message<ListTransactionsReq
220
383
  */
221
384
  chainIds: number[];
222
385
  /**
223
- * @generated from field: string address = 2;
386
+ * @generated from field: data.v1.WalletAccount wallet_account = 2;
224
387
  */
225
- address: string;
388
+ walletAccount?: WalletAccount;
226
389
  /**
227
390
  * @generated from field: optional data.v1.FiatOnRampParams fiat_on_ramp_params = 3;
228
391
  */
@@ -4,6 +4,253 @@
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
6
  import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
7
+ /**
8
+ * @generated from enum data.v1.Platform
9
+ */
10
+ export var Platform;
11
+ (function (Platform) {
12
+ /**
13
+ * @generated from enum value: EVM = 0;
14
+ */
15
+ Platform[Platform["EVM"] = 0] = "EVM";
16
+ /**
17
+ * @generated from enum value: SVM = 1;
18
+ */
19
+ Platform[Platform["SVM"] = 1] = "SVM";
20
+ })(Platform || (Platform = {}));
21
+ // Retrieve enum metadata with: proto3.getEnumType(Platform)
22
+ proto3.util.setEnumType(Platform, "data.v1.Platform", [
23
+ { no: 0, name: "EVM" },
24
+ { no: 1, name: "SVM" },
25
+ ]);
26
+ /**
27
+ * @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
28
+ */
29
+ export class CreatePendingTokenFactoryTokenRequest extends Message {
30
+ constructor(data) {
31
+ super();
32
+ /**
33
+ * @generated from field: string request_id = 1;
34
+ */
35
+ this.requestId = "";
36
+ /**
37
+ * @generated from field: string token_address = 2;
38
+ */
39
+ this.tokenAddress = "";
40
+ /**
41
+ * @generated from field: uint32 chain_id = 3;
42
+ */
43
+ this.chainId = 0;
44
+ /**
45
+ * @generated from field: string token_name = 4;
46
+ */
47
+ this.tokenName = "";
48
+ /**
49
+ * @generated from field: string token_symbol = 5;
50
+ */
51
+ this.tokenSymbol = "";
52
+ /**
53
+ * @generated from field: string image_url = 6;
54
+ */
55
+ this.imageUrl = "";
56
+ /**
57
+ * @generated from field: uint32 decimals = 7;
58
+ */
59
+ this.decimals = 0;
60
+ proto3.util.initPartial(data, this);
61
+ }
62
+ static fromBinary(bytes, options) {
63
+ return new CreatePendingTokenFactoryTokenRequest().fromBinary(bytes, options);
64
+ }
65
+ static fromJson(jsonValue, options) {
66
+ return new CreatePendingTokenFactoryTokenRequest().fromJson(jsonValue, options);
67
+ }
68
+ static fromJsonString(jsonString, options) {
69
+ return new CreatePendingTokenFactoryTokenRequest().fromJsonString(jsonString, options);
70
+ }
71
+ static equals(a, b) {
72
+ return proto3.util.equals(CreatePendingTokenFactoryTokenRequest, a, b);
73
+ }
74
+ }
75
+ CreatePendingTokenFactoryTokenRequest.runtime = proto3;
76
+ CreatePendingTokenFactoryTokenRequest.typeName = "data.v1.CreatePendingTokenFactoryTokenRequest";
77
+ CreatePendingTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
78
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
+ { no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
80
+ { no: 3, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
81
+ { no: 4, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
82
+ { no: 5, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
83
+ { no: 6, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
84
+ { no: 7, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
85
+ { no: 8, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
86
+ { no: 9, name: "website_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
87
+ { no: 10, name: "x_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
88
+ ]);
89
+ /**
90
+ * @generated from message data.v1.CreatePendingTokenFactoryTokenResponse
91
+ */
92
+ export class CreatePendingTokenFactoryTokenResponse extends Message {
93
+ constructor(data) {
94
+ super();
95
+ /**
96
+ * @generated from field: uint32 chain_id = 1;
97
+ */
98
+ this.chainId = 0;
99
+ /**
100
+ * @generated from field: string address = 2;
101
+ */
102
+ this.address = "";
103
+ proto3.util.initPartial(data, this);
104
+ }
105
+ static fromBinary(bytes, options) {
106
+ return new CreatePendingTokenFactoryTokenResponse().fromBinary(bytes, options);
107
+ }
108
+ static fromJson(jsonValue, options) {
109
+ return new CreatePendingTokenFactoryTokenResponse().fromJson(jsonValue, options);
110
+ }
111
+ static fromJsonString(jsonString, options) {
112
+ return new CreatePendingTokenFactoryTokenResponse().fromJsonString(jsonString, options);
113
+ }
114
+ static equals(a, b) {
115
+ return proto3.util.equals(CreatePendingTokenFactoryTokenResponse, a, b);
116
+ }
117
+ }
118
+ CreatePendingTokenFactoryTokenResponse.runtime = proto3;
119
+ CreatePendingTokenFactoryTokenResponse.typeName = "data.v1.CreatePendingTokenFactoryTokenResponse";
120
+ CreatePendingTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
121
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
122
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
123
+ ]);
124
+ /**
125
+ * @generated from message data.v1.SubmitTokenFactoryTokenRequest
126
+ */
127
+ export class SubmitTokenFactoryTokenRequest extends Message {
128
+ constructor(data) {
129
+ super();
130
+ /**
131
+ * @generated from field: string request_id = 1;
132
+ */
133
+ this.requestId = "";
134
+ proto3.util.initPartial(data, this);
135
+ }
136
+ static fromBinary(bytes, options) {
137
+ return new SubmitTokenFactoryTokenRequest().fromBinary(bytes, options);
138
+ }
139
+ static fromJson(jsonValue, options) {
140
+ return new SubmitTokenFactoryTokenRequest().fromJson(jsonValue, options);
141
+ }
142
+ static fromJsonString(jsonString, options) {
143
+ return new SubmitTokenFactoryTokenRequest().fromJsonString(jsonString, options);
144
+ }
145
+ static equals(a, b) {
146
+ return proto3.util.equals(SubmitTokenFactoryTokenRequest, a, b);
147
+ }
148
+ }
149
+ SubmitTokenFactoryTokenRequest.runtime = proto3;
150
+ SubmitTokenFactoryTokenRequest.typeName = "data.v1.SubmitTokenFactoryTokenRequest";
151
+ SubmitTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
152
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
+ ]);
154
+ /**
155
+ * @generated from message data.v1.SubmitTokenFactoryTokenResponse
156
+ */
157
+ export class SubmitTokenFactoryTokenResponse extends Message {
158
+ constructor(data) {
159
+ super();
160
+ /**
161
+ * @generated from field: uint32 chain_id = 1;
162
+ */
163
+ this.chainId = 0;
164
+ /**
165
+ * @generated from field: string address = 2;
166
+ */
167
+ this.address = "";
168
+ proto3.util.initPartial(data, this);
169
+ }
170
+ static fromBinary(bytes, options) {
171
+ return new SubmitTokenFactoryTokenResponse().fromBinary(bytes, options);
172
+ }
173
+ static fromJson(jsonValue, options) {
174
+ return new SubmitTokenFactoryTokenResponse().fromJson(jsonValue, options);
175
+ }
176
+ static fromJsonString(jsonString, options) {
177
+ return new SubmitTokenFactoryTokenResponse().fromJsonString(jsonString, options);
178
+ }
179
+ static equals(a, b) {
180
+ return proto3.util.equals(SubmitTokenFactoryTokenResponse, a, b);
181
+ }
182
+ }
183
+ SubmitTokenFactoryTokenResponse.runtime = proto3;
184
+ SubmitTokenFactoryTokenResponse.typeName = "data.v1.SubmitTokenFactoryTokenResponse";
185
+ SubmitTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
186
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
187
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
+ ]);
189
+ /**
190
+ * @generated from message data.v1.PlatformAddress
191
+ */
192
+ export class PlatformAddress extends Message {
193
+ constructor(data) {
194
+ super();
195
+ /**
196
+ * @generated from field: data.v1.Platform platform = 1;
197
+ */
198
+ this.platform = Platform.EVM;
199
+ /**
200
+ * @generated from field: string address = 2;
201
+ */
202
+ this.address = "";
203
+ proto3.util.initPartial(data, this);
204
+ }
205
+ static fromBinary(bytes, options) {
206
+ return new PlatformAddress().fromBinary(bytes, options);
207
+ }
208
+ static fromJson(jsonValue, options) {
209
+ return new PlatformAddress().fromJson(jsonValue, options);
210
+ }
211
+ static fromJsonString(jsonString, options) {
212
+ return new PlatformAddress().fromJsonString(jsonString, options);
213
+ }
214
+ static equals(a, b) {
215
+ return proto3.util.equals(PlatformAddress, a, b);
216
+ }
217
+ }
218
+ PlatformAddress.runtime = proto3;
219
+ PlatformAddress.typeName = "data.v1.PlatformAddress";
220
+ PlatformAddress.fields = proto3.util.newFieldList(() => [
221
+ { no: 1, name: "platform", kind: "enum", T: proto3.getEnumType(Platform) },
222
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
223
+ ]);
224
+ /**
225
+ * @generated from message data.v1.WalletAccount
226
+ */
227
+ export class WalletAccount extends Message {
228
+ constructor(data) {
229
+ super();
230
+ /**
231
+ * @generated from field: repeated data.v1.PlatformAddress platform_addresses = 1;
232
+ */
233
+ this.platformAddresses = [];
234
+ proto3.util.initPartial(data, this);
235
+ }
236
+ static fromBinary(bytes, options) {
237
+ return new WalletAccount().fromBinary(bytes, options);
238
+ }
239
+ static fromJson(jsonValue, options) {
240
+ return new WalletAccount().fromJson(jsonValue, options);
241
+ }
242
+ static fromJsonString(jsonString, options) {
243
+ return new WalletAccount().fromJsonString(jsonString, options);
244
+ }
245
+ static equals(a, b) {
246
+ return proto3.util.equals(WalletAccount, a, b);
247
+ }
248
+ }
249
+ WalletAccount.runtime = proto3;
250
+ WalletAccount.typeName = "data.v1.WalletAccount";
251
+ WalletAccount.fields = proto3.util.newFieldList(() => [
252
+ { no: 1, name: "platform_addresses", kind: "message", T: PlatformAddress, repeated: true },
253
+ ]);
7
254
  /**
8
255
  * @generated from message data.v1.GetTokenRequest
9
256
  */
@@ -344,10 +591,6 @@ export class ListTransactionsRequest extends Message {
344
591
  * @generated from field: repeated uint32 chain_ids = 1;
345
592
  */
346
593
  this.chainIds = [];
347
- /**
348
- * @generated from field: string address = 2;
349
- */
350
- this.address = "";
351
594
  proto3.util.initPartial(data, this);
352
595
  }
353
596
  static fromBinary(bytes, options) {
@@ -367,7 +610,7 @@ ListTransactionsRequest.runtime = proto3;
367
610
  ListTransactionsRequest.typeName = "data.v1.ListTransactionsRequest";
368
611
  ListTransactionsRequest.fields = proto3.util.newFieldList(() => [
369
612
  { no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
370
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
613
+ { no: 2, name: "wallet_account", kind: "message", T: WalletAccount },
371
614
  { no: 3, name: "fiat_on_ramp_params", kind: "message", T: FiatOnRampParams, opt: true },
372
615
  { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
373
616
  { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
@@ -23,7 +23,11 @@ export declare enum TokenType {
23
23
  /**
24
24
  * @generated from enum value: TOKEN_TYPE_ERC1155 = 4;
25
25
  */
26
- ERC1155 = 4
26
+ ERC1155 = 4,
27
+ /**
28
+ * @generated from enum value: TOKEN_TYPE_SPL = 5;
29
+ */
30
+ SPL = 5
27
31
  }
28
32
  /**
29
33
  * @generated from enum data.v1.SpamCode
@@ -28,6 +28,10 @@ export var TokenType;
28
28
  * @generated from enum value: TOKEN_TYPE_ERC1155 = 4;
29
29
  */
30
30
  TokenType[TokenType["ERC1155"] = 4] = "ERC1155";
31
+ /**
32
+ * @generated from enum value: TOKEN_TYPE_SPL = 5;
33
+ */
34
+ TokenType[TokenType["SPL"] = 5] = "SPL";
31
35
  })(TokenType || (TokenType = {}));
32
36
  // Retrieve enum metadata with: proto3.getEnumType(TokenType)
33
37
  proto3.util.setEnumType(TokenType, "data.v1.TokenType", [
@@ -36,6 +40,7 @@ proto3.util.setEnumType(TokenType, "data.v1.TokenType", [
36
40
  { no: 2, name: "TOKEN_TYPE_ERC20" },
37
41
  { no: 3, name: "TOKEN_TYPE_ERC721" },
38
42
  { no: 4, name: "TOKEN_TYPE_ERC1155" },
43
+ { no: 5, name: "TOKEN_TYPE_SPL" },
39
44
  ]);
40
45
  /**
41
46
  * @generated from enum data.v1.SpamCode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },