@miradorlabs/web-grpc 2.31.0 → 2.35.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/google/protobuf/timestamp.ts +32 -23
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +143 -107
- package/proto/gateway/common/v1/status.ts +32 -23
- package/proto/gateway/common/v1/types.ts +32 -23
- package/proto/gateway/web/v1/account_gateway.ts +2608 -1951
- package/proto/gateway/web/v1/attribute_value.ts +143 -107
- package/proto/gateway/web/v1/chain_gateway.ts +1362 -1164
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +933 -743
- package/proto/gateway/web/v1/integration_gateway.ts +1094 -873
- package/proto/gateway/web/v1/log_gateway.ts +593 -452
- package/proto/gateway/web/v1/market_gateway.ts +156 -111
- package/proto/gateway/web/v1/metric_gateway.ts +1842 -1453
- package/proto/gateway/web/v1/oauth_gateway.ts +648 -495
- package/proto/gateway/web/v1/plan_gateway.ts +488 -371
- package/proto/gateway/web/v1/rule_gateway.ts +1997 -1601
- package/proto/gateway/web/v1/rule_gateway_grpc_pb.js +1 -1
- package/proto/gateway/web/v1/slo_gateway.ts +2166 -1765
- package/proto/gateway/web/v1/trace_gateway.ts +3250 -15480
- package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +0 -34
- package/proto/gateway/web/v1/trace_gateway_pb.js +4560 -27549
- package/proto/gateway/web/v1/trace_measure_gateway.ts +278 -214
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.12.
|
|
3
|
+
// protoc-gen-ts_proto v2.12.1
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/chain_gateway.proto
|
|
6
6
|
|
|
@@ -416,34 +416,43 @@ export const StreamEvmBlockRequest: MessageFns<StreamEvmBlockRequest> = {
|
|
|
416
416
|
|
|
417
417
|
decode(input: BinaryReader | Uint8Array, length?: number): StreamEvmBlockRequest {
|
|
418
418
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
419
|
-
const
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
419
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
420
|
+
if (previousRecursionDepth >= 100) {
|
|
421
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
422
|
+
}
|
|
423
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
424
|
+
try {
|
|
425
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
426
|
+
const message = createBaseStreamEvmBlockRequest();
|
|
427
|
+
while (reader.pos < end) {
|
|
428
|
+
const tag = reader.uint32();
|
|
429
|
+
switch (tag >>> 3) {
|
|
430
|
+
case 1: {
|
|
431
|
+
if (tag !== 8) {
|
|
432
|
+
break;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
message.evmChainId = longToNumber(reader.uint64());
|
|
436
|
+
continue;
|
|
437
|
+
}
|
|
438
|
+
case 2: {
|
|
439
|
+
if (tag !== 18) {
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
message.txHash = reader.string();
|
|
444
|
+
continue;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
448
|
+
break;
|
|
449
|
+
}
|
|
450
|
+
reader.skip(tag & 7);
|
|
440
451
|
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
reader.skip(tag & 7);
|
|
452
|
+
return message;
|
|
453
|
+
} finally {
|
|
454
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
445
455
|
}
|
|
446
|
-
return message;
|
|
447
456
|
},
|
|
448
457
|
|
|
449
458
|
fromJSON(object: any): StreamEvmBlockRequest {
|
|
@@ -500,34 +509,43 @@ export const EvmBlockUpdate: MessageFns<EvmBlockUpdate> = {
|
|
|
500
509
|
|
|
501
510
|
decode(input: BinaryReader | Uint8Array, length?: number): EvmBlockUpdate {
|
|
502
511
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
503
|
-
const
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
512
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
513
|
+
if (previousRecursionDepth >= 100) {
|
|
514
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
515
|
+
}
|
|
516
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
517
|
+
try {
|
|
518
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
519
|
+
const message = createBaseEvmBlockUpdate();
|
|
520
|
+
while (reader.pos < end) {
|
|
521
|
+
const tag = reader.uint32();
|
|
522
|
+
switch (tag >>> 3) {
|
|
523
|
+
case 1: {
|
|
524
|
+
if (tag !== 8) {
|
|
525
|
+
break;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
message.blockNumber = longToNumber(reader.uint64());
|
|
529
|
+
continue;
|
|
530
|
+
}
|
|
531
|
+
case 2: {
|
|
532
|
+
if (tag !== 16) {
|
|
533
|
+
break;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
message.confirmedBlocks = longToNumber(reader.uint64());
|
|
537
|
+
continue;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
541
|
+
break;
|
|
542
|
+
}
|
|
543
|
+
reader.skip(tag & 7);
|
|
527
544
|
}
|
|
528
|
-
|
|
545
|
+
return message;
|
|
546
|
+
} finally {
|
|
547
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
529
548
|
}
|
|
530
|
-
return message;
|
|
531
549
|
},
|
|
532
550
|
|
|
533
551
|
fromJSON(object: any): EvmBlockUpdate {
|
|
@@ -587,42 +605,51 @@ export const GetEvmActivityRequest: MessageFns<GetEvmActivityRequest> = {
|
|
|
587
605
|
|
|
588
606
|
decode(input: BinaryReader | Uint8Array, length?: number): GetEvmActivityRequest {
|
|
589
607
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
608
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
609
|
+
if (previousRecursionDepth >= 100) {
|
|
610
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
611
|
+
}
|
|
612
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
613
|
+
try {
|
|
614
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
615
|
+
const message = createBaseGetEvmActivityRequest();
|
|
616
|
+
while (reader.pos < end) {
|
|
617
|
+
const tag = reader.uint32();
|
|
618
|
+
switch (tag >>> 3) {
|
|
619
|
+
case 1: {
|
|
620
|
+
if (tag !== 10) {
|
|
621
|
+
break;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
message.txHash = reader.string();
|
|
625
|
+
continue;
|
|
626
|
+
}
|
|
627
|
+
case 2: {
|
|
628
|
+
if (tag !== 16) {
|
|
629
|
+
break;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
message.chainId = longToNumber(reader.uint64());
|
|
633
|
+
continue;
|
|
634
|
+
}
|
|
635
|
+
case 3: {
|
|
636
|
+
if (tag !== 26) {
|
|
637
|
+
break;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
message.fiatCurrency = reader.string();
|
|
641
|
+
continue;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
645
|
+
break;
|
|
646
|
+
}
|
|
647
|
+
reader.skip(tag & 7);
|
|
619
648
|
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
reader.skip(tag & 7);
|
|
649
|
+
return message;
|
|
650
|
+
} finally {
|
|
651
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
624
652
|
}
|
|
625
|
-
return message;
|
|
626
653
|
},
|
|
627
654
|
|
|
628
655
|
fromJSON(object: any): GetEvmActivityRequest {
|
|
@@ -691,42 +718,51 @@ export const GetEvmActivityResponse: MessageFns<GetEvmActivityResponse> = {
|
|
|
691
718
|
|
|
692
719
|
decode(input: BinaryReader | Uint8Array, length?: number): GetEvmActivityResponse {
|
|
693
720
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
694
|
-
const
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
721
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
722
|
+
if (previousRecursionDepth >= 100) {
|
|
723
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
724
|
+
}
|
|
725
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
726
|
+
try {
|
|
727
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
728
|
+
const message = createBaseGetEvmActivityResponse();
|
|
729
|
+
while (reader.pos < end) {
|
|
730
|
+
const tag = reader.uint32();
|
|
731
|
+
switch (tag >>> 3) {
|
|
732
|
+
case 1: {
|
|
733
|
+
if (tag !== 10) {
|
|
734
|
+
break;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
message.status = ResponseStatus.decode(reader, reader.uint32());
|
|
738
|
+
continue;
|
|
739
|
+
}
|
|
740
|
+
case 2: {
|
|
741
|
+
if (tag !== 18) {
|
|
742
|
+
break;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
message.transactionIntent = reader.string();
|
|
746
|
+
continue;
|
|
747
|
+
}
|
|
748
|
+
case 3: {
|
|
749
|
+
if (tag !== 26) {
|
|
750
|
+
break;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
message.activities.push(TransactionActivity.decode(reader, reader.uint32()));
|
|
754
|
+
continue;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
758
|
+
break;
|
|
759
|
+
}
|
|
760
|
+
reader.skip(tag & 7);
|
|
726
761
|
}
|
|
727
|
-
|
|
762
|
+
return message;
|
|
763
|
+
} finally {
|
|
764
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
728
765
|
}
|
|
729
|
-
return message;
|
|
730
766
|
},
|
|
731
767
|
|
|
732
768
|
fromJSON(object: any): GetEvmActivityResponse {
|
|
@@ -819,90 +855,99 @@ export const TransactionActivity: MessageFns<TransactionActivity> = {
|
|
|
819
855
|
|
|
820
856
|
decode(input: BinaryReader | Uint8Array, length?: number): TransactionActivity {
|
|
821
857
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
822
|
-
const
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
858
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
859
|
+
if (previousRecursionDepth >= 100) {
|
|
860
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
861
|
+
}
|
|
862
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
863
|
+
try {
|
|
864
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
865
|
+
const message = createBaseTransactionActivity();
|
|
866
|
+
while (reader.pos < end) {
|
|
867
|
+
const tag = reader.uint32();
|
|
868
|
+
switch (tag >>> 3) {
|
|
869
|
+
case 2: {
|
|
870
|
+
if (tag !== 18) {
|
|
871
|
+
break;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
message.fromAddress = reader.string();
|
|
875
|
+
continue;
|
|
876
|
+
}
|
|
877
|
+
case 3: {
|
|
878
|
+
if (tag !== 26) {
|
|
879
|
+
break;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
message.toAddress = reader.string();
|
|
883
|
+
continue;
|
|
884
|
+
}
|
|
885
|
+
case 4: {
|
|
886
|
+
if (tag !== 34) {
|
|
887
|
+
break;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
message.nativeValueRaw = reader.string();
|
|
891
|
+
continue;
|
|
892
|
+
}
|
|
893
|
+
case 5: {
|
|
894
|
+
if (tag !== 42) {
|
|
895
|
+
break;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
message.nativeValueFormatted = reader.string();
|
|
899
|
+
continue;
|
|
900
|
+
}
|
|
901
|
+
case 6: {
|
|
902
|
+
if (tag !== 50) {
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
message.activities.push(Activity.decode(reader, reader.uint32()));
|
|
907
|
+
continue;
|
|
908
|
+
}
|
|
909
|
+
case 7: {
|
|
910
|
+
if (tag !== 58) {
|
|
911
|
+
break;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
message.tokens.push(TokenInfo.decode(reader, reader.uint32()));
|
|
915
|
+
continue;
|
|
916
|
+
}
|
|
917
|
+
case 8: {
|
|
918
|
+
if (tag !== 66) {
|
|
919
|
+
break;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
message.nativeValueFiat = FiatValue.decode(reader, reader.uint32());
|
|
923
|
+
continue;
|
|
924
|
+
}
|
|
925
|
+
case 9: {
|
|
926
|
+
if (tag !== 74) {
|
|
927
|
+
break;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
message.calldata = CalldataInfo.decode(reader, reader.uint32());
|
|
931
|
+
continue;
|
|
932
|
+
}
|
|
933
|
+
case 10: {
|
|
934
|
+
if (tag !== 82) {
|
|
935
|
+
break;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
message.eventLogs.push(EventLog.decode(reader, reader.uint32()));
|
|
939
|
+
continue;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
943
|
+
break;
|
|
944
|
+
}
|
|
945
|
+
reader.skip(tag & 7);
|
|
902
946
|
}
|
|
903
|
-
|
|
947
|
+
return message;
|
|
948
|
+
} finally {
|
|
949
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
904
950
|
}
|
|
905
|
-
return message;
|
|
906
951
|
},
|
|
907
952
|
|
|
908
953
|
fromJSON(object: any): TransactionActivity {
|
|
@@ -1055,106 +1100,115 @@ export const Activity: MessageFns<Activity> = {
|
|
|
1055
1100
|
|
|
1056
1101
|
decode(input: BinaryReader | Uint8Array, length?: number): Activity {
|
|
1057
1102
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1058
|
-
const
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1103
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1104
|
+
if (previousRecursionDepth >= 100) {
|
|
1105
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1106
|
+
}
|
|
1107
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1108
|
+
try {
|
|
1109
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1110
|
+
const message = createBaseActivity();
|
|
1111
|
+
while (reader.pos < end) {
|
|
1112
|
+
const tag = reader.uint32();
|
|
1113
|
+
switch (tag >>> 3) {
|
|
1114
|
+
case 1: {
|
|
1115
|
+
if (tag !== 8) {
|
|
1116
|
+
break;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
message.type = reader.int32() as any;
|
|
1120
|
+
continue;
|
|
1121
|
+
}
|
|
1122
|
+
case 2: {
|
|
1123
|
+
if (tag !== 16) {
|
|
1124
|
+
break;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
message.primaryLogIndex = reader.uint32();
|
|
1128
|
+
continue;
|
|
1129
|
+
}
|
|
1130
|
+
case 10: {
|
|
1131
|
+
if (tag !== 82) {
|
|
1132
|
+
break;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
message.summary = reader.string();
|
|
1136
|
+
continue;
|
|
1137
|
+
}
|
|
1138
|
+
case 3: {
|
|
1139
|
+
if (tag !== 26) {
|
|
1140
|
+
break;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
message.swap = SwapActivity.decode(reader, reader.uint32());
|
|
1144
|
+
continue;
|
|
1145
|
+
}
|
|
1146
|
+
case 4: {
|
|
1147
|
+
if (tag !== 34) {
|
|
1148
|
+
break;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
message.nftMint = NftMintActivity.decode(reader, reader.uint32());
|
|
1152
|
+
continue;
|
|
1153
|
+
}
|
|
1154
|
+
case 5: {
|
|
1155
|
+
if (tag !== 42) {
|
|
1156
|
+
break;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
message.nftTransfer = NftTransferActivity.decode(reader, reader.uint32());
|
|
1160
|
+
continue;
|
|
1161
|
+
}
|
|
1162
|
+
case 6: {
|
|
1163
|
+
if (tag !== 50) {
|
|
1164
|
+
break;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
message.tokenTransfer = TokenTransferActivity.decode(reader, reader.uint32());
|
|
1168
|
+
continue;
|
|
1169
|
+
}
|
|
1170
|
+
case 7: {
|
|
1171
|
+
if (tag !== 58) {
|
|
1172
|
+
break;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
message.approval = ApprovalActivity.decode(reader, reader.uint32());
|
|
1176
|
+
continue;
|
|
1177
|
+
}
|
|
1178
|
+
case 8: {
|
|
1179
|
+
if (tag !== 66) {
|
|
1180
|
+
break;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
message.bridge = BridgeActivity.decode(reader, reader.uint32());
|
|
1184
|
+
continue;
|
|
1185
|
+
}
|
|
1186
|
+
case 9: {
|
|
1187
|
+
if (tag !== 74) {
|
|
1188
|
+
break;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
message.contractInteraction = ContractInteractionActivity.decode(reader, reader.uint32());
|
|
1192
|
+
continue;
|
|
1193
|
+
}
|
|
1194
|
+
case 11: {
|
|
1195
|
+
if (tag !== 90) {
|
|
1196
|
+
break;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
message.children.push(Activity.decode(reader, reader.uint32()));
|
|
1200
|
+
continue;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1204
|
+
break;
|
|
1078
1205
|
}
|
|
1079
|
-
|
|
1080
|
-
if (tag !== 82) {
|
|
1081
|
-
break;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
message.summary = reader.string();
|
|
1085
|
-
continue;
|
|
1086
|
-
}
|
|
1087
|
-
case 3: {
|
|
1088
|
-
if (tag !== 26) {
|
|
1089
|
-
break;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
message.swap = SwapActivity.decode(reader, reader.uint32());
|
|
1093
|
-
continue;
|
|
1094
|
-
}
|
|
1095
|
-
case 4: {
|
|
1096
|
-
if (tag !== 34) {
|
|
1097
|
-
break;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
message.nftMint = NftMintActivity.decode(reader, reader.uint32());
|
|
1101
|
-
continue;
|
|
1102
|
-
}
|
|
1103
|
-
case 5: {
|
|
1104
|
-
if (tag !== 42) {
|
|
1105
|
-
break;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
message.nftTransfer = NftTransferActivity.decode(reader, reader.uint32());
|
|
1109
|
-
continue;
|
|
1110
|
-
}
|
|
1111
|
-
case 6: {
|
|
1112
|
-
if (tag !== 50) {
|
|
1113
|
-
break;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
message.tokenTransfer = TokenTransferActivity.decode(reader, reader.uint32());
|
|
1117
|
-
continue;
|
|
1118
|
-
}
|
|
1119
|
-
case 7: {
|
|
1120
|
-
if (tag !== 58) {
|
|
1121
|
-
break;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
message.approval = ApprovalActivity.decode(reader, reader.uint32());
|
|
1125
|
-
continue;
|
|
1126
|
-
}
|
|
1127
|
-
case 8: {
|
|
1128
|
-
if (tag !== 66) {
|
|
1129
|
-
break;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
message.bridge = BridgeActivity.decode(reader, reader.uint32());
|
|
1133
|
-
continue;
|
|
1134
|
-
}
|
|
1135
|
-
case 9: {
|
|
1136
|
-
if (tag !== 74) {
|
|
1137
|
-
break;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
message.contractInteraction = ContractInteractionActivity.decode(reader, reader.uint32());
|
|
1141
|
-
continue;
|
|
1142
|
-
}
|
|
1143
|
-
case 11: {
|
|
1144
|
-
if (tag !== 90) {
|
|
1145
|
-
break;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
message.children.push(Activity.decode(reader, reader.uint32()));
|
|
1149
|
-
continue;
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1153
|
-
break;
|
|
1206
|
+
reader.skip(tag & 7);
|
|
1154
1207
|
}
|
|
1155
|
-
|
|
1208
|
+
return message;
|
|
1209
|
+
} finally {
|
|
1210
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1156
1211
|
}
|
|
1157
|
-
return message;
|
|
1158
1212
|
},
|
|
1159
1213
|
|
|
1160
1214
|
fromJSON(object: any): Activity {
|
|
@@ -1323,106 +1377,115 @@ export const SwapActivity: MessageFns<SwapActivity> = {
|
|
|
1323
1377
|
|
|
1324
1378
|
decode(input: BinaryReader | Uint8Array, length?: number): SwapActivity {
|
|
1325
1379
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1326
|
-
const
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1380
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1381
|
+
if (previousRecursionDepth >= 100) {
|
|
1382
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1383
|
+
}
|
|
1384
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1385
|
+
try {
|
|
1386
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1387
|
+
const message = createBaseSwapActivity();
|
|
1388
|
+
while (reader.pos < end) {
|
|
1389
|
+
const tag = reader.uint32();
|
|
1390
|
+
switch (tag >>> 3) {
|
|
1391
|
+
case 1: {
|
|
1392
|
+
if (tag !== 10) {
|
|
1393
|
+
break;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
message.protocol = reader.string();
|
|
1397
|
+
continue;
|
|
1398
|
+
}
|
|
1399
|
+
case 2: {
|
|
1400
|
+
if (tag !== 18) {
|
|
1401
|
+
break;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
message.inputTokenAddress = reader.string();
|
|
1405
|
+
continue;
|
|
1406
|
+
}
|
|
1407
|
+
case 3: {
|
|
1408
|
+
if (tag !== 26) {
|
|
1409
|
+
break;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
message.inputAmountRaw = reader.string();
|
|
1413
|
+
continue;
|
|
1414
|
+
}
|
|
1415
|
+
case 4: {
|
|
1416
|
+
if (tag !== 34) {
|
|
1417
|
+
break;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
message.inputAmountFormatted = reader.string();
|
|
1421
|
+
continue;
|
|
1422
|
+
}
|
|
1423
|
+
case 5: {
|
|
1424
|
+
if (tag !== 42) {
|
|
1425
|
+
break;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
message.outputTokenAddress = reader.string();
|
|
1429
|
+
continue;
|
|
1430
|
+
}
|
|
1431
|
+
case 6: {
|
|
1432
|
+
if (tag !== 50) {
|
|
1433
|
+
break;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
message.outputAmountRaw = reader.string();
|
|
1437
|
+
continue;
|
|
1438
|
+
}
|
|
1439
|
+
case 7: {
|
|
1440
|
+
if (tag !== 58) {
|
|
1441
|
+
break;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
message.outputAmountFormatted = reader.string();
|
|
1445
|
+
continue;
|
|
1446
|
+
}
|
|
1447
|
+
case 8: {
|
|
1448
|
+
if (tag !== 66) {
|
|
1449
|
+
break;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
message.sender = reader.string();
|
|
1453
|
+
continue;
|
|
1454
|
+
}
|
|
1455
|
+
case 9: {
|
|
1456
|
+
if (tag !== 74) {
|
|
1457
|
+
break;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
message.recipient = reader.string();
|
|
1461
|
+
continue;
|
|
1462
|
+
}
|
|
1463
|
+
case 10: {
|
|
1464
|
+
if (tag !== 82) {
|
|
1465
|
+
break;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
message.inputFiatValue = FiatValue.decode(reader, reader.uint32());
|
|
1469
|
+
continue;
|
|
1470
|
+
}
|
|
1471
|
+
case 11: {
|
|
1472
|
+
if (tag !== 90) {
|
|
1473
|
+
break;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
message.outputFiatValue = FiatValue.decode(reader, reader.uint32());
|
|
1477
|
+
continue;
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1481
|
+
break;
|
|
1418
1482
|
}
|
|
1483
|
+
reader.skip(tag & 7);
|
|
1419
1484
|
}
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
reader.skip(tag & 7);
|
|
1485
|
+
return message;
|
|
1486
|
+
} finally {
|
|
1487
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1424
1488
|
}
|
|
1425
|
-
return message;
|
|
1426
1489
|
},
|
|
1427
1490
|
|
|
1428
1491
|
fromJSON(object: any): SwapActivity {
|
|
@@ -1564,66 +1627,75 @@ export const NftMintActivity: MessageFns<NftMintActivity> = {
|
|
|
1564
1627
|
|
|
1565
1628
|
decode(input: BinaryReader | Uint8Array, length?: number): NftMintActivity {
|
|
1566
1629
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1567
|
-
const
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1630
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1631
|
+
if (previousRecursionDepth >= 100) {
|
|
1632
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1633
|
+
}
|
|
1634
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1635
|
+
try {
|
|
1636
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1637
|
+
const message = createBaseNftMintActivity();
|
|
1638
|
+
while (reader.pos < end) {
|
|
1639
|
+
const tag = reader.uint32();
|
|
1640
|
+
switch (tag >>> 3) {
|
|
1641
|
+
case 1: {
|
|
1642
|
+
if (tag !== 10) {
|
|
1643
|
+
break;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
message.collectionAddress = reader.string();
|
|
1647
|
+
continue;
|
|
1648
|
+
}
|
|
1649
|
+
case 2: {
|
|
1650
|
+
if (tag !== 18) {
|
|
1651
|
+
break;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
message.collectionName = reader.string();
|
|
1655
|
+
continue;
|
|
1656
|
+
}
|
|
1657
|
+
case 3: {
|
|
1658
|
+
if (tag !== 26) {
|
|
1659
|
+
break;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
message.tokenIds.push(reader.string());
|
|
1663
|
+
continue;
|
|
1664
|
+
}
|
|
1665
|
+
case 4: {
|
|
1666
|
+
if (tag !== 32) {
|
|
1667
|
+
break;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
message.quantity = reader.uint32();
|
|
1671
|
+
continue;
|
|
1672
|
+
}
|
|
1673
|
+
case 5: {
|
|
1674
|
+
if (tag !== 42) {
|
|
1675
|
+
break;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
message.recipient = reader.string();
|
|
1679
|
+
continue;
|
|
1680
|
+
}
|
|
1681
|
+
case 6: {
|
|
1682
|
+
if (tag !== 48) {
|
|
1683
|
+
break;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
message.standard = reader.int32() as any;
|
|
1687
|
+
continue;
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1691
|
+
break;
|
|
1692
|
+
}
|
|
1693
|
+
reader.skip(tag & 7);
|
|
1623
1694
|
}
|
|
1624
|
-
|
|
1695
|
+
return message;
|
|
1696
|
+
} finally {
|
|
1697
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1625
1698
|
}
|
|
1626
|
-
return message;
|
|
1627
1699
|
},
|
|
1628
1700
|
|
|
1629
1701
|
fromJSON(object: any): NftMintActivity {
|
|
@@ -1727,74 +1799,83 @@ export const NftTransferActivity: MessageFns<NftTransferActivity> = {
|
|
|
1727
1799
|
|
|
1728
1800
|
decode(input: BinaryReader | Uint8Array, length?: number): NftTransferActivity {
|
|
1729
1801
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1730
|
-
const
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1802
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1803
|
+
if (previousRecursionDepth >= 100) {
|
|
1804
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1805
|
+
}
|
|
1806
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1807
|
+
try {
|
|
1808
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1809
|
+
const message = createBaseNftTransferActivity();
|
|
1810
|
+
while (reader.pos < end) {
|
|
1811
|
+
const tag = reader.uint32();
|
|
1812
|
+
switch (tag >>> 3) {
|
|
1813
|
+
case 1: {
|
|
1814
|
+
if (tag !== 10) {
|
|
1815
|
+
break;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
message.collectionAddress = reader.string();
|
|
1819
|
+
continue;
|
|
1820
|
+
}
|
|
1821
|
+
case 2: {
|
|
1822
|
+
if (tag !== 18) {
|
|
1823
|
+
break;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
message.collectionName = reader.string();
|
|
1827
|
+
continue;
|
|
1828
|
+
}
|
|
1829
|
+
case 3: {
|
|
1830
|
+
if (tag !== 26) {
|
|
1831
|
+
break;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
message.tokenIds.push(reader.string());
|
|
1835
|
+
continue;
|
|
1836
|
+
}
|
|
1837
|
+
case 4: {
|
|
1838
|
+
if (tag !== 32) {
|
|
1839
|
+
break;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
message.quantity = reader.uint32();
|
|
1843
|
+
continue;
|
|
1844
|
+
}
|
|
1845
|
+
case 5: {
|
|
1846
|
+
if (tag !== 42) {
|
|
1847
|
+
break;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
message.fromAddress = reader.string();
|
|
1851
|
+
continue;
|
|
1852
|
+
}
|
|
1853
|
+
case 6: {
|
|
1854
|
+
if (tag !== 50) {
|
|
1855
|
+
break;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
message.toAddress = reader.string();
|
|
1859
|
+
continue;
|
|
1860
|
+
}
|
|
1861
|
+
case 7: {
|
|
1862
|
+
if (tag !== 56) {
|
|
1863
|
+
break;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
message.standard = reader.int32() as any;
|
|
1867
|
+
continue;
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1871
|
+
break;
|
|
1872
|
+
}
|
|
1873
|
+
reader.skip(tag & 7);
|
|
1794
1874
|
}
|
|
1795
|
-
|
|
1875
|
+
return message;
|
|
1876
|
+
} finally {
|
|
1877
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1796
1878
|
}
|
|
1797
|
-
return message;
|
|
1798
1879
|
},
|
|
1799
1880
|
|
|
1800
1881
|
fromJSON(object: any): NftTransferActivity {
|
|
@@ -1900,66 +1981,75 @@ export const TokenTransferActivity: MessageFns<TokenTransferActivity> = {
|
|
|
1900
1981
|
|
|
1901
1982
|
decode(input: BinaryReader | Uint8Array, length?: number): TokenTransferActivity {
|
|
1902
1983
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1903
|
-
const
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1984
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1985
|
+
if (previousRecursionDepth >= 100) {
|
|
1986
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1987
|
+
}
|
|
1988
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1989
|
+
try {
|
|
1990
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1991
|
+
const message = createBaseTokenTransferActivity();
|
|
1992
|
+
while (reader.pos < end) {
|
|
1993
|
+
const tag = reader.uint32();
|
|
1994
|
+
switch (tag >>> 3) {
|
|
1995
|
+
case 1: {
|
|
1996
|
+
if (tag !== 10) {
|
|
1997
|
+
break;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
message.tokenAddress = reader.string();
|
|
2001
|
+
continue;
|
|
2002
|
+
}
|
|
2003
|
+
case 2: {
|
|
2004
|
+
if (tag !== 18) {
|
|
2005
|
+
break;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
message.amountRaw = reader.string();
|
|
2009
|
+
continue;
|
|
2010
|
+
}
|
|
2011
|
+
case 3: {
|
|
2012
|
+
if (tag !== 26) {
|
|
2013
|
+
break;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
message.amountFormatted = reader.string();
|
|
2017
|
+
continue;
|
|
2018
|
+
}
|
|
2019
|
+
case 4: {
|
|
2020
|
+
if (tag !== 34) {
|
|
2021
|
+
break;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
message.fromAddress = reader.string();
|
|
2025
|
+
continue;
|
|
2026
|
+
}
|
|
2027
|
+
case 5: {
|
|
2028
|
+
if (tag !== 42) {
|
|
2029
|
+
break;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
message.toAddress = reader.string();
|
|
2033
|
+
continue;
|
|
2034
|
+
}
|
|
2035
|
+
case 6: {
|
|
2036
|
+
if (tag !== 50) {
|
|
2037
|
+
break;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
message.fiatValue = FiatValue.decode(reader, reader.uint32());
|
|
2041
|
+
continue;
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2045
|
+
break;
|
|
2046
|
+
}
|
|
2047
|
+
reader.skip(tag & 7);
|
|
1959
2048
|
}
|
|
1960
|
-
|
|
2049
|
+
return message;
|
|
2050
|
+
} finally {
|
|
2051
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1961
2052
|
}
|
|
1962
|
-
return message;
|
|
1963
2053
|
},
|
|
1964
2054
|
|
|
1965
2055
|
fromJSON(object: any): TokenTransferActivity {
|
|
@@ -2066,66 +2156,75 @@ export const ApprovalActivity: MessageFns<ApprovalActivity> = {
|
|
|
2066
2156
|
|
|
2067
2157
|
decode(input: BinaryReader | Uint8Array, length?: number): ApprovalActivity {
|
|
2068
2158
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2069
|
-
const
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2159
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2160
|
+
if (previousRecursionDepth >= 100) {
|
|
2161
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2162
|
+
}
|
|
2163
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2164
|
+
try {
|
|
2165
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2166
|
+
const message = createBaseApprovalActivity();
|
|
2167
|
+
while (reader.pos < end) {
|
|
2168
|
+
const tag = reader.uint32();
|
|
2169
|
+
switch (tag >>> 3) {
|
|
2170
|
+
case 1: {
|
|
2171
|
+
if (tag !== 10) {
|
|
2172
|
+
break;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
message.tokenAddress = reader.string();
|
|
2176
|
+
continue;
|
|
2177
|
+
}
|
|
2178
|
+
case 2: {
|
|
2179
|
+
if (tag !== 18) {
|
|
2180
|
+
break;
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
message.spenderAddress = reader.string();
|
|
2184
|
+
continue;
|
|
2185
|
+
}
|
|
2186
|
+
case 3: {
|
|
2187
|
+
if (tag !== 26) {
|
|
2188
|
+
break;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
message.amountRaw = reader.string();
|
|
2192
|
+
continue;
|
|
2193
|
+
}
|
|
2194
|
+
case 4: {
|
|
2195
|
+
if (tag !== 34) {
|
|
2196
|
+
break;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
message.amountFormatted = reader.string();
|
|
2200
|
+
continue;
|
|
2201
|
+
}
|
|
2202
|
+
case 5: {
|
|
2203
|
+
if (tag !== 42) {
|
|
2204
|
+
break;
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
message.owner = reader.string();
|
|
2208
|
+
continue;
|
|
2209
|
+
}
|
|
2210
|
+
case 6: {
|
|
2211
|
+
if (tag !== 48) {
|
|
2212
|
+
break;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
message.standard = reader.int32() as any;
|
|
2216
|
+
continue;
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2220
|
+
break;
|
|
2221
|
+
}
|
|
2222
|
+
reader.skip(tag & 7);
|
|
2122
2223
|
}
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
reader.skip(tag & 7);
|
|
2224
|
+
return message;
|
|
2225
|
+
} finally {
|
|
2226
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2127
2227
|
}
|
|
2128
|
-
return message;
|
|
2129
2228
|
},
|
|
2130
2229
|
|
|
2131
2230
|
fromJSON(object: any): ApprovalActivity {
|
|
@@ -2222,66 +2321,75 @@ export const BridgeActivity: MessageFns<BridgeActivity> = {
|
|
|
2222
2321
|
|
|
2223
2322
|
decode(input: BinaryReader | Uint8Array, length?: number): BridgeActivity {
|
|
2224
2323
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2225
|
-
const
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2324
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2325
|
+
if (previousRecursionDepth >= 100) {
|
|
2326
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2327
|
+
}
|
|
2328
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2329
|
+
try {
|
|
2330
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2331
|
+
const message = createBaseBridgeActivity();
|
|
2332
|
+
while (reader.pos < end) {
|
|
2333
|
+
const tag = reader.uint32();
|
|
2334
|
+
switch (tag >>> 3) {
|
|
2335
|
+
case 1: {
|
|
2336
|
+
if (tag !== 10) {
|
|
2337
|
+
break;
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
message.bridgeName = reader.string();
|
|
2341
|
+
continue;
|
|
2342
|
+
}
|
|
2343
|
+
case 2: {
|
|
2344
|
+
if (tag !== 16) {
|
|
2345
|
+
break;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
message.legType = reader.int32() as any;
|
|
2349
|
+
continue;
|
|
2350
|
+
}
|
|
2351
|
+
case 3: {
|
|
2352
|
+
if (tag !== 26) {
|
|
2353
|
+
break;
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
message.tokenAddress = reader.string();
|
|
2357
|
+
continue;
|
|
2358
|
+
}
|
|
2359
|
+
case 4: {
|
|
2360
|
+
if (tag !== 34) {
|
|
2361
|
+
break;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
message.amountRaw = reader.string();
|
|
2365
|
+
continue;
|
|
2366
|
+
}
|
|
2367
|
+
case 5: {
|
|
2368
|
+
if (tag !== 42) {
|
|
2369
|
+
break;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
message.amountFormatted = reader.string();
|
|
2373
|
+
continue;
|
|
2374
|
+
}
|
|
2375
|
+
case 6: {
|
|
2376
|
+
if (tag !== 50) {
|
|
2377
|
+
break;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
message.fiatValue = FiatValue.decode(reader, reader.uint32());
|
|
2381
|
+
continue;
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2385
|
+
break;
|
|
2386
|
+
}
|
|
2387
|
+
reader.skip(tag & 7);
|
|
2278
2388
|
}
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
reader.skip(tag & 7);
|
|
2389
|
+
return message;
|
|
2390
|
+
} finally {
|
|
2391
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2283
2392
|
}
|
|
2284
|
-
return message;
|
|
2285
2393
|
},
|
|
2286
2394
|
|
|
2287
2395
|
fromJSON(object: any): BridgeActivity {
|
|
@@ -2379,42 +2487,51 @@ export const ContractInteractionActivity: MessageFns<ContractInteractionActivity
|
|
|
2379
2487
|
|
|
2380
2488
|
decode(input: BinaryReader | Uint8Array, length?: number): ContractInteractionActivity {
|
|
2381
2489
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2382
|
-
const
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2490
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2491
|
+
if (previousRecursionDepth >= 100) {
|
|
2492
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2493
|
+
}
|
|
2494
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2495
|
+
try {
|
|
2496
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2497
|
+
const message = createBaseContractInteractionActivity();
|
|
2498
|
+
while (reader.pos < end) {
|
|
2499
|
+
const tag = reader.uint32();
|
|
2500
|
+
switch (tag >>> 3) {
|
|
2501
|
+
case 1: {
|
|
2502
|
+
if (tag !== 10) {
|
|
2503
|
+
break;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
message.contractAddress = reader.string();
|
|
2507
|
+
continue;
|
|
2508
|
+
}
|
|
2509
|
+
case 2: {
|
|
2510
|
+
if (tag !== 18) {
|
|
2511
|
+
break;
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
message.methodName = reader.string();
|
|
2515
|
+
continue;
|
|
2516
|
+
}
|
|
2517
|
+
case 3: {
|
|
2518
|
+
if (tag !== 26) {
|
|
2519
|
+
break;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
message.decodedFields.push(DecodedParam.decode(reader, reader.uint32()));
|
|
2523
|
+
continue;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2527
|
+
break;
|
|
2528
|
+
}
|
|
2529
|
+
reader.skip(tag & 7);
|
|
2414
2530
|
}
|
|
2415
|
-
|
|
2531
|
+
return message;
|
|
2532
|
+
} finally {
|
|
2533
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2416
2534
|
}
|
|
2417
|
-
return message;
|
|
2418
2535
|
},
|
|
2419
2536
|
|
|
2420
2537
|
fromJSON(object: any): ContractInteractionActivity {
|
|
@@ -2480,34 +2597,43 @@ export const GetContractInfoRequest: MessageFns<GetContractInfoRequest> = {
|
|
|
2480
2597
|
|
|
2481
2598
|
decode(input: BinaryReader | Uint8Array, length?: number): GetContractInfoRequest {
|
|
2482
2599
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2483
|
-
const
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2600
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2601
|
+
if (previousRecursionDepth >= 100) {
|
|
2602
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2603
|
+
}
|
|
2604
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2605
|
+
try {
|
|
2606
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2607
|
+
const message = createBaseGetContractInfoRequest();
|
|
2608
|
+
while (reader.pos < end) {
|
|
2609
|
+
const tag = reader.uint32();
|
|
2610
|
+
switch (tag >>> 3) {
|
|
2611
|
+
case 1: {
|
|
2612
|
+
if (tag !== 10) {
|
|
2613
|
+
break;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
message.contractAddress = reader.string();
|
|
2617
|
+
continue;
|
|
2618
|
+
}
|
|
2619
|
+
case 2: {
|
|
2620
|
+
if (tag !== 16) {
|
|
2621
|
+
break;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
message.chainId = longToNumber(reader.uint64());
|
|
2625
|
+
continue;
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2629
|
+
break;
|
|
2630
|
+
}
|
|
2631
|
+
reader.skip(tag & 7);
|
|
2504
2632
|
}
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
reader.skip(tag & 7);
|
|
2633
|
+
return message;
|
|
2634
|
+
} finally {
|
|
2635
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2509
2636
|
}
|
|
2510
|
-
return message;
|
|
2511
2637
|
},
|
|
2512
2638
|
|
|
2513
2639
|
fromJSON(object: any): GetContractInfoRequest {
|
|
@@ -2564,34 +2690,43 @@ export const GetContractInfoResponse: MessageFns<GetContractInfoResponse> = {
|
|
|
2564
2690
|
|
|
2565
2691
|
decode(input: BinaryReader | Uint8Array, length?: number): GetContractInfoResponse {
|
|
2566
2692
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2567
|
-
const
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2693
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2694
|
+
if (previousRecursionDepth >= 100) {
|
|
2695
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2696
|
+
}
|
|
2697
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2698
|
+
try {
|
|
2699
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2700
|
+
const message = createBaseGetContractInfoResponse();
|
|
2701
|
+
while (reader.pos < end) {
|
|
2702
|
+
const tag = reader.uint32();
|
|
2703
|
+
switch (tag >>> 3) {
|
|
2704
|
+
case 1: {
|
|
2705
|
+
if (tag !== 10) {
|
|
2706
|
+
break;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
message.status = ResponseStatus.decode(reader, reader.uint32());
|
|
2710
|
+
continue;
|
|
2711
|
+
}
|
|
2712
|
+
case 2: {
|
|
2713
|
+
if (tag !== 18) {
|
|
2714
|
+
break;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
message.contractInfo = ContractInfo.decode(reader, reader.uint32());
|
|
2718
|
+
continue;
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2722
|
+
break;
|
|
2723
|
+
}
|
|
2724
|
+
reader.skip(tag & 7);
|
|
2591
2725
|
}
|
|
2592
|
-
|
|
2726
|
+
return message;
|
|
2727
|
+
} finally {
|
|
2728
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2593
2729
|
}
|
|
2594
|
-
return message;
|
|
2595
2730
|
},
|
|
2596
2731
|
|
|
2597
2732
|
fromJSON(object: any): GetContractInfoResponse {
|
|
@@ -2695,122 +2830,131 @@ export const ContractInfo: MessageFns<ContractInfo> = {
|
|
|
2695
2830
|
|
|
2696
2831
|
decode(input: BinaryReader | Uint8Array, length?: number): ContractInfo {
|
|
2697
2832
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2698
|
-
const
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
message.chainId = longToNumber(reader.uint64());
|
|
2717
|
-
continue;
|
|
2718
|
-
}
|
|
2719
|
-
case 3: {
|
|
2720
|
-
if (tag !== 26) {
|
|
2721
|
-
break;
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
message.contractName = reader.string();
|
|
2725
|
-
continue;
|
|
2726
|
-
}
|
|
2727
|
-
case 4: {
|
|
2728
|
-
if (tag !== 32) {
|
|
2729
|
-
break;
|
|
2730
|
-
}
|
|
2731
|
-
|
|
2732
|
-
message.isVerified = reader.bool();
|
|
2733
|
-
continue;
|
|
2734
|
-
}
|
|
2735
|
-
case 5: {
|
|
2736
|
-
if (tag !== 42) {
|
|
2737
|
-
break;
|
|
2738
|
-
}
|
|
2739
|
-
|
|
2740
|
-
message.compilerVersion = reader.string();
|
|
2741
|
-
continue;
|
|
2742
|
-
}
|
|
2743
|
-
case 6: {
|
|
2744
|
-
if (tag !== 48) {
|
|
2745
|
-
break;
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
message.optimizationUsed = reader.bool();
|
|
2749
|
-
continue;
|
|
2750
|
-
}
|
|
2751
|
-
case 7: {
|
|
2752
|
-
if (tag !== 56) {
|
|
2753
|
-
break;
|
|
2833
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2834
|
+
if (previousRecursionDepth >= 100) {
|
|
2835
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2836
|
+
}
|
|
2837
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2838
|
+
try {
|
|
2839
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2840
|
+
const message = createBaseContractInfo();
|
|
2841
|
+
while (reader.pos < end) {
|
|
2842
|
+
const tag = reader.uint32();
|
|
2843
|
+
switch (tag >>> 3) {
|
|
2844
|
+
case 1: {
|
|
2845
|
+
if (tag !== 10) {
|
|
2846
|
+
break;
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
message.contractAddress = reader.string();
|
|
2850
|
+
continue;
|
|
2754
2851
|
}
|
|
2852
|
+
case 2: {
|
|
2853
|
+
if (tag !== 16) {
|
|
2854
|
+
break;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
message.chainId = longToNumber(reader.uint64());
|
|
2858
|
+
continue;
|
|
2859
|
+
}
|
|
2860
|
+
case 3: {
|
|
2861
|
+
if (tag !== 26) {
|
|
2862
|
+
break;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
message.contractName = reader.string();
|
|
2866
|
+
continue;
|
|
2867
|
+
}
|
|
2868
|
+
case 4: {
|
|
2869
|
+
if (tag !== 32) {
|
|
2870
|
+
break;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
message.isVerified = reader.bool();
|
|
2874
|
+
continue;
|
|
2875
|
+
}
|
|
2876
|
+
case 5: {
|
|
2877
|
+
if (tag !== 42) {
|
|
2878
|
+
break;
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
message.compilerVersion = reader.string();
|
|
2882
|
+
continue;
|
|
2883
|
+
}
|
|
2884
|
+
case 6: {
|
|
2885
|
+
if (tag !== 48) {
|
|
2886
|
+
break;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
message.optimizationUsed = reader.bool();
|
|
2890
|
+
continue;
|
|
2891
|
+
}
|
|
2892
|
+
case 7: {
|
|
2893
|
+
if (tag !== 56) {
|
|
2894
|
+
break;
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
message.optimizationRuns = reader.uint32();
|
|
2898
|
+
continue;
|
|
2899
|
+
}
|
|
2900
|
+
case 8: {
|
|
2901
|
+
if (tag !== 66) {
|
|
2902
|
+
break;
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
message.evmVersion = reader.string();
|
|
2906
|
+
continue;
|
|
2907
|
+
}
|
|
2908
|
+
case 9: {
|
|
2909
|
+
if (tag !== 74) {
|
|
2910
|
+
break;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
message.licenseType = reader.string();
|
|
2914
|
+
continue;
|
|
2915
|
+
}
|
|
2916
|
+
case 10: {
|
|
2917
|
+
if (tag !== 80) {
|
|
2918
|
+
break;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
message.isProxy = reader.bool();
|
|
2922
|
+
continue;
|
|
2923
|
+
}
|
|
2924
|
+
case 11: {
|
|
2925
|
+
if (tag !== 90) {
|
|
2926
|
+
break;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
message.implementationAddress = reader.string();
|
|
2930
|
+
continue;
|
|
2931
|
+
}
|
|
2932
|
+
case 12: {
|
|
2933
|
+
if (tag !== 98) {
|
|
2934
|
+
break;
|
|
2935
|
+
}
|
|
2755
2936
|
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
}
|
|
2759
|
-
case 8: {
|
|
2760
|
-
if (tag !== 66) {
|
|
2761
|
-
break;
|
|
2937
|
+
message.sourceFiles.push(ContractSourceFile.decode(reader, reader.uint32()));
|
|
2938
|
+
continue;
|
|
2762
2939
|
}
|
|
2940
|
+
case 13: {
|
|
2941
|
+
if (tag !== 106) {
|
|
2942
|
+
break;
|
|
2943
|
+
}
|
|
2763
2944
|
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
}
|
|
2767
|
-
case 9: {
|
|
2768
|
-
if (tag !== 74) {
|
|
2769
|
-
break;
|
|
2945
|
+
message.abiJson = reader.string();
|
|
2946
|
+
continue;
|
|
2770
2947
|
}
|
|
2771
|
-
|
|
2772
|
-
message.licenseType = reader.string();
|
|
2773
|
-
continue;
|
|
2774
2948
|
}
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
break;
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
message.isProxy = reader.bool();
|
|
2781
|
-
continue;
|
|
2782
|
-
}
|
|
2783
|
-
case 11: {
|
|
2784
|
-
if (tag !== 90) {
|
|
2785
|
-
break;
|
|
2786
|
-
}
|
|
2787
|
-
|
|
2788
|
-
message.implementationAddress = reader.string();
|
|
2789
|
-
continue;
|
|
2790
|
-
}
|
|
2791
|
-
case 12: {
|
|
2792
|
-
if (tag !== 98) {
|
|
2793
|
-
break;
|
|
2794
|
-
}
|
|
2795
|
-
|
|
2796
|
-
message.sourceFiles.push(ContractSourceFile.decode(reader, reader.uint32()));
|
|
2797
|
-
continue;
|
|
2798
|
-
}
|
|
2799
|
-
case 13: {
|
|
2800
|
-
if (tag !== 106) {
|
|
2801
|
-
break;
|
|
2802
|
-
}
|
|
2803
|
-
|
|
2804
|
-
message.abiJson = reader.string();
|
|
2805
|
-
continue;
|
|
2949
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2950
|
+
break;
|
|
2806
2951
|
}
|
|
2952
|
+
reader.skip(tag & 7);
|
|
2807
2953
|
}
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
reader.skip(tag & 7);
|
|
2954
|
+
return message;
|
|
2955
|
+
} finally {
|
|
2956
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2812
2957
|
}
|
|
2813
|
-
return message;
|
|
2814
2958
|
},
|
|
2815
2959
|
|
|
2816
2960
|
fromJSON(object: any): ContractInfo {
|
|
@@ -2966,34 +3110,43 @@ export const ContractSourceFile: MessageFns<ContractSourceFile> = {
|
|
|
2966
3110
|
|
|
2967
3111
|
decode(input: BinaryReader | Uint8Array, length?: number): ContractSourceFile {
|
|
2968
3112
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2969
|
-
const
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
3113
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
3114
|
+
if (previousRecursionDepth >= 100) {
|
|
3115
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3116
|
+
}
|
|
3117
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3118
|
+
try {
|
|
3119
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3120
|
+
const message = createBaseContractSourceFile();
|
|
3121
|
+
while (reader.pos < end) {
|
|
3122
|
+
const tag = reader.uint32();
|
|
3123
|
+
switch (tag >>> 3) {
|
|
3124
|
+
case 1: {
|
|
3125
|
+
if (tag !== 10) {
|
|
3126
|
+
break;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
message.fileName = reader.string();
|
|
3130
|
+
continue;
|
|
3131
|
+
}
|
|
3132
|
+
case 2: {
|
|
3133
|
+
if (tag !== 18) {
|
|
3134
|
+
break;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
message.content = reader.string();
|
|
3138
|
+
continue;
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3142
|
+
break;
|
|
3143
|
+
}
|
|
3144
|
+
reader.skip(tag & 7);
|
|
2993
3145
|
}
|
|
2994
|
-
|
|
3146
|
+
return message;
|
|
3147
|
+
} finally {
|
|
3148
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2995
3149
|
}
|
|
2996
|
-
return message;
|
|
2997
3150
|
},
|
|
2998
3151
|
|
|
2999
3152
|
fromJSON(object: any): ContractSourceFile {
|
|
@@ -3052,50 +3205,59 @@ export const TokenInfo: MessageFns<TokenInfo> = {
|
|
|
3052
3205
|
|
|
3053
3206
|
decode(input: BinaryReader | Uint8Array, length?: number): TokenInfo {
|
|
3054
3207
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3055
|
-
const
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3208
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
3209
|
+
if (previousRecursionDepth >= 100) {
|
|
3210
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3211
|
+
}
|
|
3212
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3213
|
+
try {
|
|
3214
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3215
|
+
const message = createBaseTokenInfo();
|
|
3216
|
+
while (reader.pos < end) {
|
|
3217
|
+
const tag = reader.uint32();
|
|
3218
|
+
switch (tag >>> 3) {
|
|
3219
|
+
case 1: {
|
|
3220
|
+
if (tag !== 10) {
|
|
3221
|
+
break;
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
message.address = reader.string();
|
|
3225
|
+
continue;
|
|
3226
|
+
}
|
|
3227
|
+
case 2: {
|
|
3228
|
+
if (tag !== 18) {
|
|
3229
|
+
break;
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
message.symbol = reader.string();
|
|
3233
|
+
continue;
|
|
3234
|
+
}
|
|
3235
|
+
case 3: {
|
|
3236
|
+
if (tag !== 26) {
|
|
3237
|
+
break;
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
message.name = reader.string();
|
|
3241
|
+
continue;
|
|
3242
|
+
}
|
|
3243
|
+
case 4: {
|
|
3244
|
+
if (tag !== 32) {
|
|
3245
|
+
break;
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
message.decimals = reader.uint32();
|
|
3249
|
+
continue;
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3253
|
+
break;
|
|
3254
|
+
}
|
|
3255
|
+
reader.skip(tag & 7);
|
|
3092
3256
|
}
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
reader.skip(tag & 7);
|
|
3257
|
+
return message;
|
|
3258
|
+
} finally {
|
|
3259
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
3097
3260
|
}
|
|
3098
|
-
return message;
|
|
3099
3261
|
},
|
|
3100
3262
|
|
|
3101
3263
|
fromJSON(object: any): TokenInfo {
|
|
@@ -3157,42 +3319,51 @@ export const FiatValue: MessageFns<FiatValue> = {
|
|
|
3157
3319
|
|
|
3158
3320
|
decode(input: BinaryReader | Uint8Array, length?: number): FiatValue {
|
|
3159
3321
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3160
|
-
const
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3322
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
3323
|
+
if (previousRecursionDepth >= 100) {
|
|
3324
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3325
|
+
}
|
|
3326
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3327
|
+
try {
|
|
3328
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3329
|
+
const message = createBaseFiatValue();
|
|
3330
|
+
while (reader.pos < end) {
|
|
3331
|
+
const tag = reader.uint32();
|
|
3332
|
+
switch (tag >>> 3) {
|
|
3333
|
+
case 1: {
|
|
3334
|
+
if (tag !== 10) {
|
|
3335
|
+
break;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
message.currency = reader.string();
|
|
3339
|
+
continue;
|
|
3340
|
+
}
|
|
3341
|
+
case 2: {
|
|
3342
|
+
if (tag !== 17) {
|
|
3343
|
+
break;
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
message.amount = reader.double();
|
|
3347
|
+
continue;
|
|
3348
|
+
}
|
|
3349
|
+
case 3: {
|
|
3350
|
+
if (tag !== 26) {
|
|
3351
|
+
break;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
message.formatted = reader.string();
|
|
3355
|
+
continue;
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3359
|
+
break;
|
|
3360
|
+
}
|
|
3361
|
+
reader.skip(tag & 7);
|
|
3192
3362
|
}
|
|
3193
|
-
|
|
3363
|
+
return message;
|
|
3364
|
+
} finally {
|
|
3365
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
3194
3366
|
}
|
|
3195
|
-
return message;
|
|
3196
3367
|
},
|
|
3197
3368
|
|
|
3198
3369
|
fromJSON(object: any): FiatValue {
|
|
@@ -3255,58 +3426,67 @@ export const CalldataInfo: MessageFns<CalldataInfo> = {
|
|
|
3255
3426
|
|
|
3256
3427
|
decode(input: BinaryReader | Uint8Array, length?: number): CalldataInfo {
|
|
3257
3428
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3258
|
-
const
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3429
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
3430
|
+
if (previousRecursionDepth >= 100) {
|
|
3431
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3432
|
+
}
|
|
3433
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3434
|
+
try {
|
|
3435
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3436
|
+
const message = createBaseCalldataInfo();
|
|
3437
|
+
while (reader.pos < end) {
|
|
3438
|
+
const tag = reader.uint32();
|
|
3439
|
+
switch (tag >>> 3) {
|
|
3440
|
+
case 1: {
|
|
3441
|
+
if (tag !== 10) {
|
|
3442
|
+
break;
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
message.rawHex = reader.string();
|
|
3446
|
+
continue;
|
|
3447
|
+
}
|
|
3448
|
+
case 2: {
|
|
3449
|
+
if (tag !== 18) {
|
|
3450
|
+
break;
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
message.functionSelector = reader.string();
|
|
3454
|
+
continue;
|
|
3455
|
+
}
|
|
3456
|
+
case 3: {
|
|
3457
|
+
if (tag !== 26) {
|
|
3458
|
+
break;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
message.functionName = reader.string();
|
|
3462
|
+
continue;
|
|
3463
|
+
}
|
|
3464
|
+
case 4: {
|
|
3465
|
+
if (tag !== 34) {
|
|
3466
|
+
break;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
message.functionSignature = reader.string();
|
|
3470
|
+
continue;
|
|
3471
|
+
}
|
|
3472
|
+
case 5: {
|
|
3473
|
+
if (tag !== 42) {
|
|
3474
|
+
break;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
message.params.push(DecodedParam.decode(reader, reader.uint32()));
|
|
3478
|
+
continue;
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3482
|
+
break;
|
|
3483
|
+
}
|
|
3484
|
+
reader.skip(tag & 7);
|
|
3303
3485
|
}
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
reader.skip(tag & 7);
|
|
3486
|
+
return message;
|
|
3487
|
+
} finally {
|
|
3488
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
3308
3489
|
}
|
|
3309
|
-
return message;
|
|
3310
3490
|
},
|
|
3311
3491
|
|
|
3312
3492
|
fromJSON(object: any): CalldataInfo {
|
|
@@ -3394,50 +3574,59 @@ export const DecodedParam: MessageFns<DecodedParam> = {
|
|
|
3394
3574
|
|
|
3395
3575
|
decode(input: BinaryReader | Uint8Array, length?: number): DecodedParam {
|
|
3396
3576
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3397
|
-
const
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3577
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
3578
|
+
if (previousRecursionDepth >= 100) {
|
|
3579
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3580
|
+
}
|
|
3581
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3582
|
+
try {
|
|
3583
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3584
|
+
const message = createBaseDecodedParam();
|
|
3585
|
+
while (reader.pos < end) {
|
|
3586
|
+
const tag = reader.uint32();
|
|
3587
|
+
switch (tag >>> 3) {
|
|
3588
|
+
case 1: {
|
|
3589
|
+
if (tag !== 10) {
|
|
3590
|
+
break;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
message.name = reader.string();
|
|
3594
|
+
continue;
|
|
3595
|
+
}
|
|
3596
|
+
case 2: {
|
|
3597
|
+
if (tag !== 18) {
|
|
3598
|
+
break;
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
message.solidityType = reader.string();
|
|
3602
|
+
continue;
|
|
3603
|
+
}
|
|
3604
|
+
case 3: {
|
|
3605
|
+
if (tag !== 26) {
|
|
3606
|
+
break;
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
message.value = reader.string();
|
|
3610
|
+
continue;
|
|
3611
|
+
}
|
|
3612
|
+
case 4: {
|
|
3613
|
+
if (tag !== 32) {
|
|
3614
|
+
break;
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
message.indexed = reader.bool();
|
|
3618
|
+
continue;
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3622
|
+
break;
|
|
3623
|
+
}
|
|
3624
|
+
reader.skip(tag & 7);
|
|
3437
3625
|
}
|
|
3438
|
-
|
|
3626
|
+
return message;
|
|
3627
|
+
} finally {
|
|
3628
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
3439
3629
|
}
|
|
3440
|
-
return message;
|
|
3441
3630
|
},
|
|
3442
3631
|
|
|
3443
3632
|
fromJSON(object: any): DecodedParam {
|
|
@@ -3531,90 +3720,99 @@ export const EventLog: MessageFns<EventLog> = {
|
|
|
3531
3720
|
|
|
3532
3721
|
decode(input: BinaryReader | Uint8Array, length?: number): EventLog {
|
|
3533
3722
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3534
|
-
const
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3723
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
3724
|
+
if (previousRecursionDepth >= 100) {
|
|
3725
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3726
|
+
}
|
|
3727
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3728
|
+
try {
|
|
3729
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3730
|
+
const message = createBaseEventLog();
|
|
3731
|
+
while (reader.pos < end) {
|
|
3732
|
+
const tag = reader.uint32();
|
|
3733
|
+
switch (tag >>> 3) {
|
|
3734
|
+
case 1: {
|
|
3735
|
+
if (tag !== 8) {
|
|
3736
|
+
break;
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
message.logIndex = reader.uint32();
|
|
3740
|
+
continue;
|
|
3741
|
+
}
|
|
3742
|
+
case 2: {
|
|
3743
|
+
if (tag !== 18) {
|
|
3744
|
+
break;
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
message.address = reader.string();
|
|
3748
|
+
continue;
|
|
3749
|
+
}
|
|
3750
|
+
case 3: {
|
|
3751
|
+
if (tag !== 26) {
|
|
3752
|
+
break;
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
message.eventName = reader.string();
|
|
3756
|
+
continue;
|
|
3757
|
+
}
|
|
3758
|
+
case 4: {
|
|
3759
|
+
if (tag !== 34) {
|
|
3760
|
+
break;
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
message.eventSignature = reader.string();
|
|
3764
|
+
continue;
|
|
3765
|
+
}
|
|
3766
|
+
case 5: {
|
|
3767
|
+
if (tag !== 42) {
|
|
3768
|
+
break;
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
message.params.push(DecodedParam.decode(reader, reader.uint32()));
|
|
3772
|
+
continue;
|
|
3773
|
+
}
|
|
3774
|
+
case 6: {
|
|
3775
|
+
if (tag !== 50) {
|
|
3776
|
+
break;
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3779
|
+
message.rawTopics.push(reader.string());
|
|
3780
|
+
continue;
|
|
3781
|
+
}
|
|
3782
|
+
case 7: {
|
|
3783
|
+
if (tag !== 58) {
|
|
3784
|
+
break;
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
message.rawData = reader.string();
|
|
3788
|
+
continue;
|
|
3789
|
+
}
|
|
3790
|
+
case 8: {
|
|
3791
|
+
if (tag !== 64) {
|
|
3792
|
+
break;
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
message.decoded = reader.bool();
|
|
3796
|
+
continue;
|
|
3797
|
+
}
|
|
3798
|
+
case 9: {
|
|
3799
|
+
if (tag !== 72) {
|
|
3800
|
+
break;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
message.activityIndex = reader.uint32();
|
|
3804
|
+
continue;
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3808
|
+
break;
|
|
3809
|
+
}
|
|
3810
|
+
reader.skip(tag & 7);
|
|
3614
3811
|
}
|
|
3615
|
-
|
|
3812
|
+
return message;
|
|
3813
|
+
} finally {
|
|
3814
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
3616
3815
|
}
|
|
3617
|
-
return message;
|
|
3618
3816
|
},
|
|
3619
3817
|
|
|
3620
3818
|
fromJSON(object: any): EventLog {
|