@latticexyz/services 1.4.0 → 1.5.0
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/bin/ecs-relay +0 -0
- package/bin/ecs-snapshot +0 -0
- package/bin/ecs-stream +0 -0
- package/bin/faucet +0 -0
- package/package.json +4 -10
- package/protobuf/go/ecs-relay/ecs-relay.pb.go +33 -27
- package/protobuf/go/ecs-relay/ecs-relay_grpc.pb.go +71 -1
- package/protobuf/go/ecs-snapshot/ecs-snapshot.pb.go +1 -1
- package/protobuf/go/ecs-snapshot/ecs-snapshot_grpc.pb.go +1 -1
- package/protobuf/go/ecs-stream/ecs-stream.pb.go +1 -1
- package/protobuf/go/ecs-stream/ecs-stream_grpc.pb.go +1 -1
- package/protobuf/go/faucet/faucet.pb.go +292 -127
- package/protobuf/go/faucet/faucet_grpc.pb.go +73 -1
- package/protobuf/ts/ecs-relay/ecs-relay.ts +562 -535
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.ts +500 -545
- package/protobuf/ts/ecs-stream/ecs-stream.ts +215 -279
- package/protobuf/ts/faucet/faucet.ts +785 -701
- package/protobuf/ts/index.ts +4 -0
- package/protobuf/ts/ecs-relay/ecs-relay.client.ts +0 -191
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.client.ts +0 -134
- package/protobuf/ts/ecs-stream/ecs-stream.client.ts +0 -58
- package/protobuf/ts/faucet/faucet.client.ts +0 -136
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
3
|
// protoc-gen-go v1.28.1
|
|
4
|
-
// protoc v3.
|
|
4
|
+
// protoc v3.20.1
|
|
5
5
|
// source: proto/faucet.proto
|
|
6
6
|
|
|
7
7
|
package faucet
|
|
@@ -148,6 +148,63 @@ func (x *FaucetStore) GetTotalDripCount() uint64 {
|
|
|
148
148
|
return 0
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
+
// Request for drip after a successful DripVerifyTweet RPC.
|
|
152
|
+
type DripRequest struct {
|
|
153
|
+
state protoimpl.MessageState
|
|
154
|
+
sizeCache protoimpl.SizeCache
|
|
155
|
+
unknownFields protoimpl.UnknownFields
|
|
156
|
+
|
|
157
|
+
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
158
|
+
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
func (x *DripRequest) Reset() {
|
|
162
|
+
*x = DripRequest{}
|
|
163
|
+
if protoimpl.UnsafeEnabled {
|
|
164
|
+
mi := &file_proto_faucet_proto_msgTypes[2]
|
|
165
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
166
|
+
ms.StoreMessageInfo(mi)
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
func (x *DripRequest) String() string {
|
|
171
|
+
return protoimpl.X.MessageStringOf(x)
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
func (*DripRequest) ProtoMessage() {}
|
|
175
|
+
|
|
176
|
+
func (x *DripRequest) ProtoReflect() protoreflect.Message {
|
|
177
|
+
mi := &file_proto_faucet_proto_msgTypes[2]
|
|
178
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
179
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
180
|
+
if ms.LoadMessageInfo() == nil {
|
|
181
|
+
ms.StoreMessageInfo(mi)
|
|
182
|
+
}
|
|
183
|
+
return ms
|
|
184
|
+
}
|
|
185
|
+
return mi.MessageOf(x)
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Deprecated: Use DripRequest.ProtoReflect.Descriptor instead.
|
|
189
|
+
func (*DripRequest) Descriptor() ([]byte, []int) {
|
|
190
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{2}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
func (x *DripRequest) GetUsername() string {
|
|
194
|
+
if x != nil {
|
|
195
|
+
return x.Username
|
|
196
|
+
}
|
|
197
|
+
return ""
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
func (x *DripRequest) GetAddress() string {
|
|
201
|
+
if x != nil {
|
|
202
|
+
return x.Address
|
|
203
|
+
}
|
|
204
|
+
return ""
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// Request for initial drip via DripVerifyTweet RPC that requires verifying a tweet
|
|
151
208
|
type DripVerifyTweetRequest struct {
|
|
152
209
|
state protoimpl.MessageState
|
|
153
210
|
sizeCache protoimpl.SizeCache
|
|
@@ -160,7 +217,7 @@ type DripVerifyTweetRequest struct {
|
|
|
160
217
|
func (x *DripVerifyTweetRequest) Reset() {
|
|
161
218
|
*x = DripVerifyTweetRequest{}
|
|
162
219
|
if protoimpl.UnsafeEnabled {
|
|
163
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
220
|
+
mi := &file_proto_faucet_proto_msgTypes[3]
|
|
164
221
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
165
222
|
ms.StoreMessageInfo(mi)
|
|
166
223
|
}
|
|
@@ -173,7 +230,7 @@ func (x *DripVerifyTweetRequest) String() string {
|
|
|
173
230
|
func (*DripVerifyTweetRequest) ProtoMessage() {}
|
|
174
231
|
|
|
175
232
|
func (x *DripVerifyTweetRequest) ProtoReflect() protoreflect.Message {
|
|
176
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
233
|
+
mi := &file_proto_faucet_proto_msgTypes[3]
|
|
177
234
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
178
235
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
179
236
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -186,7 +243,7 @@ func (x *DripVerifyTweetRequest) ProtoReflect() protoreflect.Message {
|
|
|
186
243
|
|
|
187
244
|
// Deprecated: Use DripVerifyTweetRequest.ProtoReflect.Descriptor instead.
|
|
188
245
|
func (*DripVerifyTweetRequest) Descriptor() ([]byte, []int) {
|
|
189
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
246
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{3}
|
|
190
247
|
}
|
|
191
248
|
|
|
192
249
|
func (x *DripVerifyTweetRequest) GetUsername() string {
|
|
@@ -203,6 +260,7 @@ func (x *DripVerifyTweetRequest) GetAddress() string {
|
|
|
203
260
|
return ""
|
|
204
261
|
}
|
|
205
262
|
|
|
263
|
+
// Request for drip to any address when running in dev mode.
|
|
206
264
|
type DripDevRequest struct {
|
|
207
265
|
state protoimpl.MessageState
|
|
208
266
|
sizeCache protoimpl.SizeCache
|
|
@@ -214,7 +272,7 @@ type DripDevRequest struct {
|
|
|
214
272
|
func (x *DripDevRequest) Reset() {
|
|
215
273
|
*x = DripDevRequest{}
|
|
216
274
|
if protoimpl.UnsafeEnabled {
|
|
217
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
275
|
+
mi := &file_proto_faucet_proto_msgTypes[4]
|
|
218
276
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
219
277
|
ms.StoreMessageInfo(mi)
|
|
220
278
|
}
|
|
@@ -227,7 +285,7 @@ func (x *DripDevRequest) String() string {
|
|
|
227
285
|
func (*DripDevRequest) ProtoMessage() {}
|
|
228
286
|
|
|
229
287
|
func (x *DripDevRequest) ProtoReflect() protoreflect.Message {
|
|
230
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
288
|
+
mi := &file_proto_faucet_proto_msgTypes[4]
|
|
231
289
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
232
290
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
233
291
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -240,7 +298,7 @@ func (x *DripDevRequest) ProtoReflect() protoreflect.Message {
|
|
|
240
298
|
|
|
241
299
|
// Deprecated: Use DripDevRequest.ProtoReflect.Descriptor instead.
|
|
242
300
|
func (*DripDevRequest) Descriptor() ([]byte, []int) {
|
|
243
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
301
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{4}
|
|
244
302
|
}
|
|
245
303
|
|
|
246
304
|
func (x *DripDevRequest) GetAddress() string {
|
|
@@ -250,6 +308,7 @@ func (x *DripDevRequest) GetAddress() string {
|
|
|
250
308
|
return ""
|
|
251
309
|
}
|
|
252
310
|
|
|
311
|
+
// Response for drip request that contains the transaction hash of the drip tx.
|
|
253
312
|
type DripResponse struct {
|
|
254
313
|
state protoimpl.MessageState
|
|
255
314
|
sizeCache protoimpl.SizeCache
|
|
@@ -261,7 +320,7 @@ type DripResponse struct {
|
|
|
261
320
|
func (x *DripResponse) Reset() {
|
|
262
321
|
*x = DripResponse{}
|
|
263
322
|
if protoimpl.UnsafeEnabled {
|
|
264
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
323
|
+
mi := &file_proto_faucet_proto_msgTypes[5]
|
|
265
324
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
266
325
|
ms.StoreMessageInfo(mi)
|
|
267
326
|
}
|
|
@@ -274,7 +333,7 @@ func (x *DripResponse) String() string {
|
|
|
274
333
|
func (*DripResponse) ProtoMessage() {}
|
|
275
334
|
|
|
276
335
|
func (x *DripResponse) ProtoReflect() protoreflect.Message {
|
|
277
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
336
|
+
mi := &file_proto_faucet_proto_msgTypes[5]
|
|
278
337
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
279
338
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
280
339
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -287,7 +346,7 @@ func (x *DripResponse) ProtoReflect() protoreflect.Message {
|
|
|
287
346
|
|
|
288
347
|
// Deprecated: Use DripResponse.ProtoReflect.Descriptor instead.
|
|
289
348
|
func (*DripResponse) Descriptor() ([]byte, []int) {
|
|
290
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
349
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{5}
|
|
291
350
|
}
|
|
292
351
|
|
|
293
352
|
func (x *DripResponse) GetTxHash() string {
|
|
@@ -297,6 +356,62 @@ func (x *DripResponse) GetTxHash() string {
|
|
|
297
356
|
return ""
|
|
298
357
|
}
|
|
299
358
|
|
|
359
|
+
// Response for the time until next drip request.
|
|
360
|
+
type TimeUntilDripResponse struct {
|
|
361
|
+
state protoimpl.MessageState
|
|
362
|
+
sizeCache protoimpl.SizeCache
|
|
363
|
+
unknownFields protoimpl.UnknownFields
|
|
364
|
+
|
|
365
|
+
TimeUntilDripMinutes float64 `protobuf:"fixed64,1,opt,name=timeUntilDripMinutes,proto3" json:"timeUntilDripMinutes,omitempty"`
|
|
366
|
+
TimeUntilDripSeconds float64 `protobuf:"fixed64,2,opt,name=timeUntilDripSeconds,proto3" json:"timeUntilDripSeconds,omitempty"`
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
func (x *TimeUntilDripResponse) Reset() {
|
|
370
|
+
*x = TimeUntilDripResponse{}
|
|
371
|
+
if protoimpl.UnsafeEnabled {
|
|
372
|
+
mi := &file_proto_faucet_proto_msgTypes[6]
|
|
373
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
374
|
+
ms.StoreMessageInfo(mi)
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
func (x *TimeUntilDripResponse) String() string {
|
|
379
|
+
return protoimpl.X.MessageStringOf(x)
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
func (*TimeUntilDripResponse) ProtoMessage() {}
|
|
383
|
+
|
|
384
|
+
func (x *TimeUntilDripResponse) ProtoReflect() protoreflect.Message {
|
|
385
|
+
mi := &file_proto_faucet_proto_msgTypes[6]
|
|
386
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
387
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
388
|
+
if ms.LoadMessageInfo() == nil {
|
|
389
|
+
ms.StoreMessageInfo(mi)
|
|
390
|
+
}
|
|
391
|
+
return ms
|
|
392
|
+
}
|
|
393
|
+
return mi.MessageOf(x)
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
// Deprecated: Use TimeUntilDripResponse.ProtoReflect.Descriptor instead.
|
|
397
|
+
func (*TimeUntilDripResponse) Descriptor() ([]byte, []int) {
|
|
398
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{6}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
func (x *TimeUntilDripResponse) GetTimeUntilDripMinutes() float64 {
|
|
402
|
+
if x != nil {
|
|
403
|
+
return x.TimeUntilDripMinutes
|
|
404
|
+
}
|
|
405
|
+
return 0
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
func (x *TimeUntilDripResponse) GetTimeUntilDripSeconds() float64 {
|
|
409
|
+
if x != nil {
|
|
410
|
+
return x.TimeUntilDripSeconds
|
|
411
|
+
}
|
|
412
|
+
return 0
|
|
413
|
+
}
|
|
414
|
+
|
|
300
415
|
type GetLinkedTwittersRequest struct {
|
|
301
416
|
state protoimpl.MessageState
|
|
302
417
|
sizeCache protoimpl.SizeCache
|
|
@@ -306,7 +421,7 @@ type GetLinkedTwittersRequest struct {
|
|
|
306
421
|
func (x *GetLinkedTwittersRequest) Reset() {
|
|
307
422
|
*x = GetLinkedTwittersRequest{}
|
|
308
423
|
if protoimpl.UnsafeEnabled {
|
|
309
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
424
|
+
mi := &file_proto_faucet_proto_msgTypes[7]
|
|
310
425
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
311
426
|
ms.StoreMessageInfo(mi)
|
|
312
427
|
}
|
|
@@ -319,7 +434,7 @@ func (x *GetLinkedTwittersRequest) String() string {
|
|
|
319
434
|
func (*GetLinkedTwittersRequest) ProtoMessage() {}
|
|
320
435
|
|
|
321
436
|
func (x *GetLinkedTwittersRequest) ProtoReflect() protoreflect.Message {
|
|
322
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
437
|
+
mi := &file_proto_faucet_proto_msgTypes[7]
|
|
323
438
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
324
439
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
325
440
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -332,7 +447,7 @@ func (x *GetLinkedTwittersRequest) ProtoReflect() protoreflect.Message {
|
|
|
332
447
|
|
|
333
448
|
// Deprecated: Use GetLinkedTwittersRequest.ProtoReflect.Descriptor instead.
|
|
334
449
|
func (*GetLinkedTwittersRequest) Descriptor() ([]byte, []int) {
|
|
335
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
450
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{7}
|
|
336
451
|
}
|
|
337
452
|
|
|
338
453
|
type GetLinkedTwittersResponse struct {
|
|
@@ -346,7 +461,7 @@ type GetLinkedTwittersResponse struct {
|
|
|
346
461
|
func (x *GetLinkedTwittersResponse) Reset() {
|
|
347
462
|
*x = GetLinkedTwittersResponse{}
|
|
348
463
|
if protoimpl.UnsafeEnabled {
|
|
349
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
464
|
+
mi := &file_proto_faucet_proto_msgTypes[8]
|
|
350
465
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
351
466
|
ms.StoreMessageInfo(mi)
|
|
352
467
|
}
|
|
@@ -359,7 +474,7 @@ func (x *GetLinkedTwittersResponse) String() string {
|
|
|
359
474
|
func (*GetLinkedTwittersResponse) ProtoMessage() {}
|
|
360
475
|
|
|
361
476
|
func (x *GetLinkedTwittersResponse) ProtoReflect() protoreflect.Message {
|
|
362
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
477
|
+
mi := &file_proto_faucet_proto_msgTypes[8]
|
|
363
478
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
364
479
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
365
480
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -372,7 +487,7 @@ func (x *GetLinkedTwittersResponse) ProtoReflect() protoreflect.Message {
|
|
|
372
487
|
|
|
373
488
|
// Deprecated: Use GetLinkedTwittersResponse.ProtoReflect.Descriptor instead.
|
|
374
489
|
func (*GetLinkedTwittersResponse) Descriptor() ([]byte, []int) {
|
|
375
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
490
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{8}
|
|
376
491
|
}
|
|
377
492
|
|
|
378
493
|
func (x *GetLinkedTwittersResponse) GetLinkedTwitters() []*LinkedTwitterPair {
|
|
@@ -393,7 +508,7 @@ type LinkedTwitterForAddressRequest struct {
|
|
|
393
508
|
func (x *LinkedTwitterForAddressRequest) Reset() {
|
|
394
509
|
*x = LinkedTwitterForAddressRequest{}
|
|
395
510
|
if protoimpl.UnsafeEnabled {
|
|
396
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
511
|
+
mi := &file_proto_faucet_proto_msgTypes[9]
|
|
397
512
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
398
513
|
ms.StoreMessageInfo(mi)
|
|
399
514
|
}
|
|
@@ -406,7 +521,7 @@ func (x *LinkedTwitterForAddressRequest) String() string {
|
|
|
406
521
|
func (*LinkedTwitterForAddressRequest) ProtoMessage() {}
|
|
407
522
|
|
|
408
523
|
func (x *LinkedTwitterForAddressRequest) ProtoReflect() protoreflect.Message {
|
|
409
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
524
|
+
mi := &file_proto_faucet_proto_msgTypes[9]
|
|
410
525
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
411
526
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
412
527
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -419,7 +534,7 @@ func (x *LinkedTwitterForAddressRequest) ProtoReflect() protoreflect.Message {
|
|
|
419
534
|
|
|
420
535
|
// Deprecated: Use LinkedTwitterForAddressRequest.ProtoReflect.Descriptor instead.
|
|
421
536
|
func (*LinkedTwitterForAddressRequest) Descriptor() ([]byte, []int) {
|
|
422
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
537
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{9}
|
|
423
538
|
}
|
|
424
539
|
|
|
425
540
|
func (x *LinkedTwitterForAddressRequest) GetAddress() string {
|
|
@@ -440,7 +555,7 @@ type LinkedTwitterForAddressResponse struct {
|
|
|
440
555
|
func (x *LinkedTwitterForAddressResponse) Reset() {
|
|
441
556
|
*x = LinkedTwitterForAddressResponse{}
|
|
442
557
|
if protoimpl.UnsafeEnabled {
|
|
443
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
558
|
+
mi := &file_proto_faucet_proto_msgTypes[10]
|
|
444
559
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
445
560
|
ms.StoreMessageInfo(mi)
|
|
446
561
|
}
|
|
@@ -453,7 +568,7 @@ func (x *LinkedTwitterForAddressResponse) String() string {
|
|
|
453
568
|
func (*LinkedTwitterForAddressResponse) ProtoMessage() {}
|
|
454
569
|
|
|
455
570
|
func (x *LinkedTwitterForAddressResponse) ProtoReflect() protoreflect.Message {
|
|
456
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
571
|
+
mi := &file_proto_faucet_proto_msgTypes[10]
|
|
457
572
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
458
573
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
459
574
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -466,7 +581,7 @@ func (x *LinkedTwitterForAddressResponse) ProtoReflect() protoreflect.Message {
|
|
|
466
581
|
|
|
467
582
|
// Deprecated: Use LinkedTwitterForAddressResponse.ProtoReflect.Descriptor instead.
|
|
468
583
|
func (*LinkedTwitterForAddressResponse) Descriptor() ([]byte, []int) {
|
|
469
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
584
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{10}
|
|
470
585
|
}
|
|
471
586
|
|
|
472
587
|
func (x *LinkedTwitterForAddressResponse) GetUsername() string {
|
|
@@ -487,7 +602,7 @@ type LinkedAddressForTwitterRequest struct {
|
|
|
487
602
|
func (x *LinkedAddressForTwitterRequest) Reset() {
|
|
488
603
|
*x = LinkedAddressForTwitterRequest{}
|
|
489
604
|
if protoimpl.UnsafeEnabled {
|
|
490
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
605
|
+
mi := &file_proto_faucet_proto_msgTypes[11]
|
|
491
606
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
492
607
|
ms.StoreMessageInfo(mi)
|
|
493
608
|
}
|
|
@@ -500,7 +615,7 @@ func (x *LinkedAddressForTwitterRequest) String() string {
|
|
|
500
615
|
func (*LinkedAddressForTwitterRequest) ProtoMessage() {}
|
|
501
616
|
|
|
502
617
|
func (x *LinkedAddressForTwitterRequest) ProtoReflect() protoreflect.Message {
|
|
503
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
618
|
+
mi := &file_proto_faucet_proto_msgTypes[11]
|
|
504
619
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
505
620
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
506
621
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -513,7 +628,7 @@ func (x *LinkedAddressForTwitterRequest) ProtoReflect() protoreflect.Message {
|
|
|
513
628
|
|
|
514
629
|
// Deprecated: Use LinkedAddressForTwitterRequest.ProtoReflect.Descriptor instead.
|
|
515
630
|
func (*LinkedAddressForTwitterRequest) Descriptor() ([]byte, []int) {
|
|
516
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
631
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{11}
|
|
517
632
|
}
|
|
518
633
|
|
|
519
634
|
func (x *LinkedAddressForTwitterRequest) GetUsername() string {
|
|
@@ -534,7 +649,7 @@ type LinkedAddressForTwitterResponse struct {
|
|
|
534
649
|
func (x *LinkedAddressForTwitterResponse) Reset() {
|
|
535
650
|
*x = LinkedAddressForTwitterResponse{}
|
|
536
651
|
if protoimpl.UnsafeEnabled {
|
|
537
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
652
|
+
mi := &file_proto_faucet_proto_msgTypes[12]
|
|
538
653
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
539
654
|
ms.StoreMessageInfo(mi)
|
|
540
655
|
}
|
|
@@ -547,7 +662,7 @@ func (x *LinkedAddressForTwitterResponse) String() string {
|
|
|
547
662
|
func (*LinkedAddressForTwitterResponse) ProtoMessage() {}
|
|
548
663
|
|
|
549
664
|
func (x *LinkedAddressForTwitterResponse) ProtoReflect() protoreflect.Message {
|
|
550
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
665
|
+
mi := &file_proto_faucet_proto_msgTypes[12]
|
|
551
666
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
552
667
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
553
668
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -560,7 +675,7 @@ func (x *LinkedAddressForTwitterResponse) ProtoReflect() protoreflect.Message {
|
|
|
560
675
|
|
|
561
676
|
// Deprecated: Use LinkedAddressForTwitterResponse.ProtoReflect.Descriptor instead.
|
|
562
677
|
func (*LinkedAddressForTwitterResponse) Descriptor() ([]byte, []int) {
|
|
563
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
678
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{12}
|
|
564
679
|
}
|
|
565
680
|
|
|
566
681
|
func (x *LinkedAddressForTwitterResponse) GetAddress() string {
|
|
@@ -611,71 +726,91 @@ var file_proto_faucet_proto_rawDesc = []byte{
|
|
|
611
726
|
0x69, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
612
727
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
613
728
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
|
614
|
-
0x02, 0x38, 0x01, 0x22,
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
0x65, 0x73,
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
0x18,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72,
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
729
|
+
0x02, 0x38, 0x01, 0x22, 0x43, 0x0a, 0x0b, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
730
|
+
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
|
731
|
+
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
|
|
732
|
+
0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
733
|
+
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4e, 0x0a, 0x16, 0x44, 0x72, 0x69, 0x70,
|
|
734
|
+
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x77, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
735
|
+
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
|
736
|
+
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
|
|
737
|
+
0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
738
|
+
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x44, 0x72, 0x69, 0x70,
|
|
739
|
+
0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64,
|
|
740
|
+
0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64,
|
|
741
|
+
0x72, 0x65, 0x73, 0x73, 0x22, 0x26, 0x0a, 0x0c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
|
|
742
|
+
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01,
|
|
743
|
+
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x22, 0x7f, 0x0a, 0x15,
|
|
744
|
+
0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73,
|
|
745
|
+
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74,
|
|
746
|
+
0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20,
|
|
747
|
+
0x01, 0x28, 0x01, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72,
|
|
748
|
+
0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x69, 0x6d,
|
|
749
|
+
0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
|
750
|
+
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74,
|
|
751
|
+
0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x1a, 0x0a,
|
|
752
|
+
0x18, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65,
|
|
753
|
+
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5e, 0x0a, 0x19, 0x47, 0x65, 0x74,
|
|
754
|
+
0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
755
|
+
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
|
|
756
|
+
0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
|
|
757
|
+
0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77,
|
|
758
|
+
0x69, 0x74, 0x74, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
|
|
759
|
+
0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x22, 0x3a, 0x0a, 0x1e, 0x4c, 0x69, 0x6e,
|
|
760
|
+
0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64,
|
|
761
|
+
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61,
|
|
762
|
+
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64,
|
|
763
|
+
0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3d, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54,
|
|
764
|
+
0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
765
|
+
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
766
|
+
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
767
|
+
0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x1e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64,
|
|
768
|
+
0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52,
|
|
769
|
+
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
|
|
770
|
+
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
|
|
771
|
+
0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72,
|
|
772
|
+
0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
773
|
+
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
774
|
+
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32,
|
|
775
|
+
0xcf, 0x04, 0x0a, 0x0d, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
776
|
+
0x65, 0x12, 0x33, 0x0a, 0x04, 0x44, 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63,
|
|
777
|
+
0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
|
|
651
778
|
0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
|
|
652
|
-
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
|
653
|
-
|
|
654
|
-
0x65,
|
|
655
|
-
0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63,
|
|
779
|
+
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x07, 0x44, 0x72, 0x69, 0x70, 0x44, 0x65,
|
|
780
|
+
0x76, 0x12, 0x16, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x44,
|
|
781
|
+
0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63,
|
|
656
782
|
0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
657
|
-
0x00, 0x12,
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
783
|
+
0x00, 0x12, 0x49, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54,
|
|
784
|
+
0x77, 0x65, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72,
|
|
785
|
+
0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x77, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71,
|
|
786
|
+
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72,
|
|
787
|
+
0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0d,
|
|
788
|
+
0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e,
|
|
789
|
+
0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
790
|
+
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x54, 0x69, 0x6d, 0x65,
|
|
791
|
+
0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
792
|
+
0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
|
|
793
|
+
0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65,
|
|
661
794
|
0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74,
|
|
662
|
-
0x65, 0x72, 0x73, 0x52, 0x65,
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
795
|
+
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x61, 0x75,
|
|
796
|
+
0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69,
|
|
797
|
+
0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
|
798
|
+
0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74,
|
|
799
|
+
0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x2e,
|
|
800
|
+
0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69,
|
|
801
|
+
0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65,
|
|
802
|
+
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c,
|
|
803
|
+
0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41,
|
|
804
|
+
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
805
|
+
0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64,
|
|
806
|
+
0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x26,
|
|
807
|
+
0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64,
|
|
808
|
+
0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52,
|
|
809
|
+
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e,
|
|
810
|
+
0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72,
|
|
811
|
+
0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
812
|
+
0x00, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f,
|
|
813
|
+
0x2f, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
679
814
|
}
|
|
680
815
|
|
|
681
816
|
var (
|
|
@@ -690,40 +825,46 @@ func file_proto_faucet_proto_rawDescGZIP() []byte {
|
|
|
690
825
|
return file_proto_faucet_proto_rawDescData
|
|
691
826
|
}
|
|
692
827
|
|
|
693
|
-
var file_proto_faucet_proto_msgTypes = make([]protoimpl.MessageInfo,
|
|
828
|
+
var file_proto_faucet_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
694
829
|
var file_proto_faucet_proto_goTypes = []interface{}{
|
|
695
830
|
(*LinkedTwitterPair)(nil), // 0: faucet.LinkedTwitterPair
|
|
696
831
|
(*FaucetStore)(nil), // 1: faucet.FaucetStore
|
|
697
|
-
(*
|
|
698
|
-
(*
|
|
699
|
-
(*
|
|
700
|
-
(*
|
|
701
|
-
(*
|
|
702
|
-
(*
|
|
703
|
-
(*
|
|
704
|
-
(*
|
|
705
|
-
(*
|
|
706
|
-
nil,
|
|
707
|
-
nil,
|
|
708
|
-
nil, // 13: faucet.FaucetStore.
|
|
832
|
+
(*DripRequest)(nil), // 2: faucet.DripRequest
|
|
833
|
+
(*DripVerifyTweetRequest)(nil), // 3: faucet.DripVerifyTweetRequest
|
|
834
|
+
(*DripDevRequest)(nil), // 4: faucet.DripDevRequest
|
|
835
|
+
(*DripResponse)(nil), // 5: faucet.DripResponse
|
|
836
|
+
(*TimeUntilDripResponse)(nil), // 6: faucet.TimeUntilDripResponse
|
|
837
|
+
(*GetLinkedTwittersRequest)(nil), // 7: faucet.GetLinkedTwittersRequest
|
|
838
|
+
(*GetLinkedTwittersResponse)(nil), // 8: faucet.GetLinkedTwittersResponse
|
|
839
|
+
(*LinkedTwitterForAddressRequest)(nil), // 9: faucet.LinkedTwitterForAddressRequest
|
|
840
|
+
(*LinkedTwitterForAddressResponse)(nil), // 10: faucet.LinkedTwitterForAddressResponse
|
|
841
|
+
(*LinkedAddressForTwitterRequest)(nil), // 11: faucet.LinkedAddressForTwitterRequest
|
|
842
|
+
(*LinkedAddressForTwitterResponse)(nil), // 12: faucet.LinkedAddressForTwitterResponse
|
|
843
|
+
nil, // 13: faucet.FaucetStore.AddressToUsernameEntry
|
|
844
|
+
nil, // 14: faucet.FaucetStore.UsernameToAddressEntry
|
|
845
|
+
nil, // 15: faucet.FaucetStore.LatestDripEntry
|
|
709
846
|
}
|
|
710
847
|
var file_proto_faucet_proto_depIdxs = []int32{
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
848
|
+
13, // 0: faucet.FaucetStore.addressToUsername:type_name -> faucet.FaucetStore.AddressToUsernameEntry
|
|
849
|
+
14, // 1: faucet.FaucetStore.usernameToAddress:type_name -> faucet.FaucetStore.UsernameToAddressEntry
|
|
850
|
+
15, // 2: faucet.FaucetStore.latestDrip:type_name -> faucet.FaucetStore.LatestDripEntry
|
|
714
851
|
0, // 3: faucet.GetLinkedTwittersResponse.linkedTwitters:type_name -> faucet.LinkedTwitterPair
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
852
|
+
2, // 4: faucet.FaucetService.Drip:input_type -> faucet.DripRequest
|
|
853
|
+
4, // 5: faucet.FaucetService.DripDev:input_type -> faucet.DripDevRequest
|
|
854
|
+
3, // 6: faucet.FaucetService.DripVerifyTweet:input_type -> faucet.DripVerifyTweetRequest
|
|
855
|
+
2, // 7: faucet.FaucetService.TimeUntilDrip:input_type -> faucet.DripRequest
|
|
856
|
+
7, // 8: faucet.FaucetService.GetLinkedTwitters:input_type -> faucet.GetLinkedTwittersRequest
|
|
857
|
+
9, // 9: faucet.FaucetService.GetLinkedTwitterForAddress:input_type -> faucet.LinkedTwitterForAddressRequest
|
|
858
|
+
11, // 10: faucet.FaucetService.GetLinkedAddressForTwitter:input_type -> faucet.LinkedAddressForTwitterRequest
|
|
859
|
+
5, // 11: faucet.FaucetService.Drip:output_type -> faucet.DripResponse
|
|
860
|
+
5, // 12: faucet.FaucetService.DripDev:output_type -> faucet.DripResponse
|
|
861
|
+
5, // 13: faucet.FaucetService.DripVerifyTweet:output_type -> faucet.DripResponse
|
|
862
|
+
6, // 14: faucet.FaucetService.TimeUntilDrip:output_type -> faucet.TimeUntilDripResponse
|
|
863
|
+
8, // 15: faucet.FaucetService.GetLinkedTwitters:output_type -> faucet.GetLinkedTwittersResponse
|
|
864
|
+
10, // 16: faucet.FaucetService.GetLinkedTwitterForAddress:output_type -> faucet.LinkedTwitterForAddressResponse
|
|
865
|
+
12, // 17: faucet.FaucetService.GetLinkedAddressForTwitter:output_type -> faucet.LinkedAddressForTwitterResponse
|
|
866
|
+
11, // [11:18] is the sub-list for method output_type
|
|
867
|
+
4, // [4:11] is the sub-list for method input_type
|
|
727
868
|
4, // [4:4] is the sub-list for extension type_name
|
|
728
869
|
4, // [4:4] is the sub-list for extension extendee
|
|
729
870
|
0, // [0:4] is the sub-list for field type_name
|
|
@@ -760,7 +901,7 @@ func file_proto_faucet_proto_init() {
|
|
|
760
901
|
}
|
|
761
902
|
}
|
|
762
903
|
file_proto_faucet_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
763
|
-
switch v := v.(*
|
|
904
|
+
switch v := v.(*DripRequest); i {
|
|
764
905
|
case 0:
|
|
765
906
|
return &v.state
|
|
766
907
|
case 1:
|
|
@@ -772,7 +913,7 @@ func file_proto_faucet_proto_init() {
|
|
|
772
913
|
}
|
|
773
914
|
}
|
|
774
915
|
file_proto_faucet_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
775
|
-
switch v := v.(*
|
|
916
|
+
switch v := v.(*DripVerifyTweetRequest); i {
|
|
776
917
|
case 0:
|
|
777
918
|
return &v.state
|
|
778
919
|
case 1:
|
|
@@ -784,7 +925,7 @@ func file_proto_faucet_proto_init() {
|
|
|
784
925
|
}
|
|
785
926
|
}
|
|
786
927
|
file_proto_faucet_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
787
|
-
switch v := v.(*
|
|
928
|
+
switch v := v.(*DripDevRequest); i {
|
|
788
929
|
case 0:
|
|
789
930
|
return &v.state
|
|
790
931
|
case 1:
|
|
@@ -796,7 +937,7 @@ func file_proto_faucet_proto_init() {
|
|
|
796
937
|
}
|
|
797
938
|
}
|
|
798
939
|
file_proto_faucet_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
799
|
-
switch v := v.(*
|
|
940
|
+
switch v := v.(*DripResponse); i {
|
|
800
941
|
case 0:
|
|
801
942
|
return &v.state
|
|
802
943
|
case 1:
|
|
@@ -808,7 +949,7 @@ func file_proto_faucet_proto_init() {
|
|
|
808
949
|
}
|
|
809
950
|
}
|
|
810
951
|
file_proto_faucet_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
811
|
-
switch v := v.(*
|
|
952
|
+
switch v := v.(*TimeUntilDripResponse); i {
|
|
812
953
|
case 0:
|
|
813
954
|
return &v.state
|
|
814
955
|
case 1:
|
|
@@ -820,7 +961,7 @@ func file_proto_faucet_proto_init() {
|
|
|
820
961
|
}
|
|
821
962
|
}
|
|
822
963
|
file_proto_faucet_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
823
|
-
switch v := v.(*
|
|
964
|
+
switch v := v.(*GetLinkedTwittersRequest); i {
|
|
824
965
|
case 0:
|
|
825
966
|
return &v.state
|
|
826
967
|
case 1:
|
|
@@ -832,7 +973,7 @@ func file_proto_faucet_proto_init() {
|
|
|
832
973
|
}
|
|
833
974
|
}
|
|
834
975
|
file_proto_faucet_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
835
|
-
switch v := v.(*
|
|
976
|
+
switch v := v.(*GetLinkedTwittersResponse); i {
|
|
836
977
|
case 0:
|
|
837
978
|
return &v.state
|
|
838
979
|
case 1:
|
|
@@ -844,7 +985,7 @@ func file_proto_faucet_proto_init() {
|
|
|
844
985
|
}
|
|
845
986
|
}
|
|
846
987
|
file_proto_faucet_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
847
|
-
switch v := v.(*
|
|
988
|
+
switch v := v.(*LinkedTwitterForAddressRequest); i {
|
|
848
989
|
case 0:
|
|
849
990
|
return &v.state
|
|
850
991
|
case 1:
|
|
@@ -856,6 +997,30 @@ func file_proto_faucet_proto_init() {
|
|
|
856
997
|
}
|
|
857
998
|
}
|
|
858
999
|
file_proto_faucet_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
1000
|
+
switch v := v.(*LinkedTwitterForAddressResponse); i {
|
|
1001
|
+
case 0:
|
|
1002
|
+
return &v.state
|
|
1003
|
+
case 1:
|
|
1004
|
+
return &v.sizeCache
|
|
1005
|
+
case 2:
|
|
1006
|
+
return &v.unknownFields
|
|
1007
|
+
default:
|
|
1008
|
+
return nil
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
file_proto_faucet_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
1012
|
+
switch v := v.(*LinkedAddressForTwitterRequest); i {
|
|
1013
|
+
case 0:
|
|
1014
|
+
return &v.state
|
|
1015
|
+
case 1:
|
|
1016
|
+
return &v.sizeCache
|
|
1017
|
+
case 2:
|
|
1018
|
+
return &v.unknownFields
|
|
1019
|
+
default:
|
|
1020
|
+
return nil
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
file_proto_faucet_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
859
1024
|
switch v := v.(*LinkedAddressForTwitterResponse); i {
|
|
860
1025
|
case 0:
|
|
861
1026
|
return &v.state
|
|
@@ -874,7 +1039,7 @@ func file_proto_faucet_proto_init() {
|
|
|
874
1039
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
875
1040
|
RawDescriptor: file_proto_faucet_proto_rawDesc,
|
|
876
1041
|
NumEnums: 0,
|
|
877
|
-
NumMessages:
|
|
1042
|
+
NumMessages: 16,
|
|
878
1043
|
NumExtensions: 0,
|
|
879
1044
|
NumServices: 1,
|
|
880
1045
|
},
|