@uniswap/client-data-api 0.0.224 → 0.0.226

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.
@@ -0,0 +1,319 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
+ // @generated from file launches/v1/token_factory.proto (package launches.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3 } from "@bufbuild/protobuf";
6
+ /**
7
+ * @generated from message launches.v1.CreatePendingTokenFactoryTokenRequest
8
+ */
9
+ export class CreatePendingTokenFactoryTokenRequest extends Message {
10
+ constructor(data) {
11
+ super();
12
+ /**
13
+ * @generated from field: string request_id = 1;
14
+ */
15
+ this.requestId = "";
16
+ /**
17
+ * @generated from field: string token_address = 2;
18
+ */
19
+ this.tokenAddress = "";
20
+ /**
21
+ * @generated from field: uint32 chain_id = 3;
22
+ */
23
+ this.chainId = 0;
24
+ /**
25
+ * @generated from field: string token_name = 4;
26
+ */
27
+ this.tokenName = "";
28
+ /**
29
+ * @generated from field: string token_symbol = 5;
30
+ */
31
+ this.tokenSymbol = "";
32
+ /**
33
+ * @generated from field: string image_url = 6;
34
+ */
35
+ this.imageUrl = "";
36
+ /**
37
+ * @generated from field: uint32 decimals = 7;
38
+ */
39
+ this.decimals = 0;
40
+ proto3.util.initPartial(data, this);
41
+ }
42
+ static fromBinary(bytes, options) {
43
+ return new CreatePendingTokenFactoryTokenRequest().fromBinary(bytes, options);
44
+ }
45
+ static fromJson(jsonValue, options) {
46
+ return new CreatePendingTokenFactoryTokenRequest().fromJson(jsonValue, options);
47
+ }
48
+ static fromJsonString(jsonString, options) {
49
+ return new CreatePendingTokenFactoryTokenRequest().fromJsonString(jsonString, options);
50
+ }
51
+ static equals(a, b) {
52
+ return proto3.util.equals(CreatePendingTokenFactoryTokenRequest, a, b);
53
+ }
54
+ }
55
+ CreatePendingTokenFactoryTokenRequest.runtime = proto3;
56
+ CreatePendingTokenFactoryTokenRequest.typeName = "launches.v1.CreatePendingTokenFactoryTokenRequest";
57
+ CreatePendingTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
58
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
59
+ { no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
60
+ { no: 3, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
61
+ { no: 4, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
62
+ { no: 5, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
63
+ { no: 6, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
+ { no: 7, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
65
+ { no: 8, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
66
+ { no: 9, name: "website_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
67
+ { no: 10, name: "x_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
68
+ ]);
69
+ /**
70
+ * @generated from message launches.v1.CreatePendingTokenFactoryTokenResponse
71
+ */
72
+ export class CreatePendingTokenFactoryTokenResponse extends Message {
73
+ constructor(data) {
74
+ super();
75
+ /**
76
+ * @generated from field: uint32 chain_id = 1;
77
+ */
78
+ this.chainId = 0;
79
+ /**
80
+ * @generated from field: string address = 2;
81
+ */
82
+ this.address = "";
83
+ proto3.util.initPartial(data, this);
84
+ }
85
+ static fromBinary(bytes, options) {
86
+ return new CreatePendingTokenFactoryTokenResponse().fromBinary(bytes, options);
87
+ }
88
+ static fromJson(jsonValue, options) {
89
+ return new CreatePendingTokenFactoryTokenResponse().fromJson(jsonValue, options);
90
+ }
91
+ static fromJsonString(jsonString, options) {
92
+ return new CreatePendingTokenFactoryTokenResponse().fromJsonString(jsonString, options);
93
+ }
94
+ static equals(a, b) {
95
+ return proto3.util.equals(CreatePendingTokenFactoryTokenResponse, a, b);
96
+ }
97
+ }
98
+ CreatePendingTokenFactoryTokenResponse.runtime = proto3;
99
+ CreatePendingTokenFactoryTokenResponse.typeName = "launches.v1.CreatePendingTokenFactoryTokenResponse";
100
+ CreatePendingTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
101
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
102
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
+ ]);
104
+ /**
105
+ * @generated from message launches.v1.SubmitTokenFactoryTokenRequest
106
+ */
107
+ export class SubmitTokenFactoryTokenRequest extends Message {
108
+ constructor(data) {
109
+ super();
110
+ /**
111
+ * @generated from field: string request_id = 1;
112
+ */
113
+ this.requestId = "";
114
+ proto3.util.initPartial(data, this);
115
+ }
116
+ static fromBinary(bytes, options) {
117
+ return new SubmitTokenFactoryTokenRequest().fromBinary(bytes, options);
118
+ }
119
+ static fromJson(jsonValue, options) {
120
+ return new SubmitTokenFactoryTokenRequest().fromJson(jsonValue, options);
121
+ }
122
+ static fromJsonString(jsonString, options) {
123
+ return new SubmitTokenFactoryTokenRequest().fromJsonString(jsonString, options);
124
+ }
125
+ static equals(a, b) {
126
+ return proto3.util.equals(SubmitTokenFactoryTokenRequest, a, b);
127
+ }
128
+ }
129
+ SubmitTokenFactoryTokenRequest.runtime = proto3;
130
+ SubmitTokenFactoryTokenRequest.typeName = "launches.v1.SubmitTokenFactoryTokenRequest";
131
+ SubmitTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
132
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
133
+ ]);
134
+ /**
135
+ * @generated from message launches.v1.SubmitTokenFactoryTokenResponse
136
+ */
137
+ export class SubmitTokenFactoryTokenResponse extends Message {
138
+ constructor(data) {
139
+ super();
140
+ /**
141
+ * @generated from field: uint32 chain_id = 1;
142
+ */
143
+ this.chainId = 0;
144
+ /**
145
+ * @generated from field: string address = 2;
146
+ */
147
+ this.address = "";
148
+ proto3.util.initPartial(data, this);
149
+ }
150
+ static fromBinary(bytes, options) {
151
+ return new SubmitTokenFactoryTokenResponse().fromBinary(bytes, options);
152
+ }
153
+ static fromJson(jsonValue, options) {
154
+ return new SubmitTokenFactoryTokenResponse().fromJson(jsonValue, options);
155
+ }
156
+ static fromJsonString(jsonString, options) {
157
+ return new SubmitTokenFactoryTokenResponse().fromJsonString(jsonString, options);
158
+ }
159
+ static equals(a, b) {
160
+ return proto3.util.equals(SubmitTokenFactoryTokenResponse, a, b);
161
+ }
162
+ }
163
+ SubmitTokenFactoryTokenResponse.runtime = proto3;
164
+ SubmitTokenFactoryTokenResponse.typeName = "launches.v1.SubmitTokenFactoryTokenResponse";
165
+ SubmitTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
166
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
167
+ { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
168
+ ]);
169
+ /**
170
+ * @generated from message launches.v1.CreateTokenFactoryPresignedUrlRequest
171
+ */
172
+ export class CreateTokenFactoryPresignedUrlRequest extends Message {
173
+ constructor(data) {
174
+ super();
175
+ /**
176
+ * @generated from field: string file_name = 1;
177
+ */
178
+ this.fileName = "";
179
+ proto3.util.initPartial(data, this);
180
+ }
181
+ static fromBinary(bytes, options) {
182
+ return new CreateTokenFactoryPresignedUrlRequest().fromBinary(bytes, options);
183
+ }
184
+ static fromJson(jsonValue, options) {
185
+ return new CreateTokenFactoryPresignedUrlRequest().fromJson(jsonValue, options);
186
+ }
187
+ static fromJsonString(jsonString, options) {
188
+ return new CreateTokenFactoryPresignedUrlRequest().fromJsonString(jsonString, options);
189
+ }
190
+ static equals(a, b) {
191
+ return proto3.util.equals(CreateTokenFactoryPresignedUrlRequest, a, b);
192
+ }
193
+ }
194
+ CreateTokenFactoryPresignedUrlRequest.runtime = proto3;
195
+ CreateTokenFactoryPresignedUrlRequest.typeName = "launches.v1.CreateTokenFactoryPresignedUrlRequest";
196
+ CreateTokenFactoryPresignedUrlRequest.fields = proto3.util.newFieldList(() => [
197
+ { no: 1, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
+ ]);
199
+ /**
200
+ * @generated from message launches.v1.CreateTokenFactoryPresignedUrlResponse
201
+ */
202
+ export class CreateTokenFactoryPresignedUrlResponse extends Message {
203
+ constructor(data) {
204
+ super();
205
+ /**
206
+ * @generated from field: string url = 1;
207
+ */
208
+ this.url = "";
209
+ proto3.util.initPartial(data, this);
210
+ }
211
+ static fromBinary(bytes, options) {
212
+ return new CreateTokenFactoryPresignedUrlResponse().fromBinary(bytes, options);
213
+ }
214
+ static fromJson(jsonValue, options) {
215
+ return new CreateTokenFactoryPresignedUrlResponse().fromJson(jsonValue, options);
216
+ }
217
+ static fromJsonString(jsonString, options) {
218
+ return new CreateTokenFactoryPresignedUrlResponse().fromJsonString(jsonString, options);
219
+ }
220
+ static equals(a, b) {
221
+ return proto3.util.equals(CreateTokenFactoryPresignedUrlResponse, a, b);
222
+ }
223
+ }
224
+ CreateTokenFactoryPresignedUrlResponse.runtime = proto3;
225
+ CreateTokenFactoryPresignedUrlResponse.typeName = "launches.v1.CreateTokenFactoryPresignedUrlResponse";
226
+ CreateTokenFactoryPresignedUrlResponse.fields = proto3.util.newFieldList(() => [
227
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
228
+ ]);
229
+ /**
230
+ * @generated from message launches.v1.VerifyTokenFactoryImageRequest
231
+ */
232
+ export class VerifyTokenFactoryImageRequest extends Message {
233
+ constructor(data) {
234
+ super();
235
+ /**
236
+ * @generated from field: string cid = 1;
237
+ */
238
+ this.cid = "";
239
+ proto3.util.initPartial(data, this);
240
+ }
241
+ static fromBinary(bytes, options) {
242
+ return new VerifyTokenFactoryImageRequest().fromBinary(bytes, options);
243
+ }
244
+ static fromJson(jsonValue, options) {
245
+ return new VerifyTokenFactoryImageRequest().fromJson(jsonValue, options);
246
+ }
247
+ static fromJsonString(jsonString, options) {
248
+ return new VerifyTokenFactoryImageRequest().fromJsonString(jsonString, options);
249
+ }
250
+ static equals(a, b) {
251
+ return proto3.util.equals(VerifyTokenFactoryImageRequest, a, b);
252
+ }
253
+ }
254
+ VerifyTokenFactoryImageRequest.runtime = proto3;
255
+ VerifyTokenFactoryImageRequest.typeName = "launches.v1.VerifyTokenFactoryImageRequest";
256
+ VerifyTokenFactoryImageRequest.fields = proto3.util.newFieldList(() => [
257
+ { no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
+ ]);
259
+ /**
260
+ * @generated from message launches.v1.VerifyTokenFactoryImageResponse
261
+ */
262
+ export class VerifyTokenFactoryImageResponse extends Message {
263
+ constructor(data) {
264
+ super();
265
+ /**
266
+ * @generated from field: launches.v1.VerifyTokenFactoryImageResponse.Status status = 1;
267
+ */
268
+ this.status = VerifyTokenFactoryImageResponse_Status.UNSPECIFIED;
269
+ /**
270
+ * empty when APPROVED; enum-style slug otherwise
271
+ *
272
+ * @generated from field: string blocked_reason = 2;
273
+ */
274
+ this.blockedReason = "";
275
+ proto3.util.initPartial(data, this);
276
+ }
277
+ static fromBinary(bytes, options) {
278
+ return new VerifyTokenFactoryImageResponse().fromBinary(bytes, options);
279
+ }
280
+ static fromJson(jsonValue, options) {
281
+ return new VerifyTokenFactoryImageResponse().fromJson(jsonValue, options);
282
+ }
283
+ static fromJsonString(jsonString, options) {
284
+ return new VerifyTokenFactoryImageResponse().fromJsonString(jsonString, options);
285
+ }
286
+ static equals(a, b) {
287
+ return proto3.util.equals(VerifyTokenFactoryImageResponse, a, b);
288
+ }
289
+ }
290
+ VerifyTokenFactoryImageResponse.runtime = proto3;
291
+ VerifyTokenFactoryImageResponse.typeName = "launches.v1.VerifyTokenFactoryImageResponse";
292
+ VerifyTokenFactoryImageResponse.fields = proto3.util.newFieldList(() => [
293
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(VerifyTokenFactoryImageResponse_Status) },
294
+ { no: 2, name: "blocked_reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
295
+ ]);
296
+ /**
297
+ * @generated from enum launches.v1.VerifyTokenFactoryImageResponse.Status
298
+ */
299
+ export var VerifyTokenFactoryImageResponse_Status;
300
+ (function (VerifyTokenFactoryImageResponse_Status) {
301
+ /**
302
+ * @generated from enum value: STATUS_UNSPECIFIED = 0;
303
+ */
304
+ VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
305
+ /**
306
+ * @generated from enum value: STATUS_APPROVED = 1;
307
+ */
308
+ VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["APPROVED"] = 1] = "APPROVED";
309
+ /**
310
+ * @generated from enum value: STATUS_BLOCKED = 2;
311
+ */
312
+ VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["BLOCKED"] = 2] = "BLOCKED";
313
+ })(VerifyTokenFactoryImageResponse_Status || (VerifyTokenFactoryImageResponse_Status = {}));
314
+ // Retrieve enum metadata with: proto3.getEnumType(VerifyTokenFactoryImageResponse_Status)
315
+ proto3.util.setEnumType(VerifyTokenFactoryImageResponse_Status, "launches.v1.VerifyTokenFactoryImageResponse.Status", [
316
+ { no: 0, name: "STATUS_UNSPECIFIED" },
317
+ { no: 1, name: "STATUS_APPROVED" },
318
+ { no: 2, name: "STATUS_BLOCKED" },
319
+ ]);