@r2wa-org/eden 0.0.66 → 0.0.67

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.
@@ -759,8 +759,6 @@ export declare const adminRouter: Elysia<"/admin", {
759
759
  id?: string | undefined;
760
760
  baseAssetId?: string | undefined;
761
761
  baseAsset?: string | undefined;
762
- quoteAssetId?: string | undefined;
763
- quoteAsset?: string | undefined;
764
762
  source?: string | undefined;
765
763
  startDate?: Date | undefined;
766
764
  limit?: number | undefined;
@@ -780,8 +778,6 @@ export declare const adminRouter: Elysia<"/admin", {
780
778
  updatedAt: Date;
781
779
  baseAssetId: string;
782
780
  baseAsset: string;
783
- quoteAssetId: string;
784
- quoteAsset: string;
785
781
  price: string;
786
782
  source: string;
787
783
  effectiveAt: Date;
@@ -794,15 +790,6 @@ export declare const adminRouter: Elysia<"/admin", {
794
790
  isActive: boolean;
795
791
  precision: number;
796
792
  };
797
- quoteAssetInfo: {
798
- symbol: string;
799
- id: string;
800
- name: string;
801
- code: string;
802
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
803
- isActive: boolean;
804
- precision: number;
805
- };
806
793
  }[];
807
794
  pagination: {
808
795
  total: number;
@@ -830,58 +817,44 @@ export declare const adminRouter: Elysia<"/admin", {
830
817
  asset_prices: {
831
818
  latest: {
832
819
  ":baseAsset": {
833
- ":quoteAsset": {
834
- get: {
835
- body: {};
836
- params: {
820
+ get: {
821
+ body: {};
822
+ params: {
823
+ baseAsset: string;
824
+ };
825
+ query: {};
826
+ headers: {};
827
+ response: {
828
+ 200: {
829
+ id: string;
830
+ createdAt: Date;
831
+ updatedAt: Date;
832
+ baseAssetId: string;
837
833
  baseAsset: string;
838
- quoteAsset: string;
839
- };
840
- query: {};
841
- headers: {};
842
- response: {
843
- 200: {
834
+ price: string;
835
+ source: string;
836
+ effectiveAt: Date;
837
+ baseAssetInfo: {
838
+ symbol: string;
844
839
  id: string;
845
- createdAt: Date;
846
- updatedAt: Date;
847
- baseAssetId: string;
848
- baseAsset: string;
849
- quoteAssetId: string;
850
- quoteAsset: string;
851
- price: string;
852
- source: string;
853
- effectiveAt: Date;
854
- baseAssetInfo: {
855
- symbol: string;
856
- id: string;
857
- name: string;
858
- code: string;
859
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
860
- isActive: boolean;
861
- precision: number;
862
- };
863
- quoteAssetInfo: {
864
- symbol: string;
865
- id: string;
866
- name: string;
867
- code: string;
868
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
869
- isActive: boolean;
870
- precision: number;
871
- };
872
- };
873
- 422: {
874
- type: "validation";
875
- on: string;
876
- summary?: string;
877
- message?: string;
878
- found?: unknown;
879
- property?: string;
880
- expected?: string;
840
+ name: string;
841
+ code: string;
842
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
843
+ isActive: boolean;
844
+ precision: number;
881
845
  };
882
- 401: "Unauthorized";
883
- 403: "Forbidden: Admins only";
884
846
  };
847
+ 422: {
848
+ type: "validation";
849
+ on: string;
850
+ summary?: string;
851
+ message?: string;
852
+ found?: unknown;
853
+ property?: string;
854
+ expected?: string;
855
+ };
856
+ 401: "Unauthorized";
857
+ 403: "Forbidden: Admins only";
885
858
  };
886
859
  };
887
860
  };
@@ -904,8 +877,6 @@ export declare const adminRouter: Elysia<"/admin", {
904
877
  updatedAt: Date;
905
878
  baseAssetId: string;
906
879
  baseAsset: string;
907
- quoteAssetId: string;
908
- quoteAsset: string;
909
880
  price: string;
910
881
  source: string;
911
882
  effectiveAt: Date;
@@ -918,15 +889,6 @@ export declare const adminRouter: Elysia<"/admin", {
918
889
  isActive: boolean;
919
890
  precision: number;
920
891
  };
921
- quoteAssetInfo: {
922
- symbol: string;
923
- id: string;
924
- name: string;
925
- code: string;
926
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
927
- isActive: boolean;
928
- precision: number;
929
- };
930
892
  };
931
893
  422: {
932
894
  type: "validation";
@@ -947,10 +909,9 @@ export declare const adminRouter: Elysia<"/admin", {
947
909
  asset_prices: {
948
910
  post: {
949
911
  body: {
912
+ source?: string | undefined;
950
913
  baseAsset: string;
951
- quoteAsset: string;
952
914
  price: string;
953
- source: string;
954
915
  effectiveAt: Date;
955
916
  };
956
917
  params: {};
@@ -963,8 +924,6 @@ export declare const adminRouter: Elysia<"/admin", {
963
924
  updatedAt: Date;
964
925
  baseAssetId: string;
965
926
  baseAsset: string;
966
- quoteAssetId: string;
967
- quoteAsset: string;
968
927
  price: string;
969
928
  source: string;
970
929
  effectiveAt: Date;
@@ -977,15 +936,6 @@ export declare const adminRouter: Elysia<"/admin", {
977
936
  isActive: boolean;
978
937
  precision: number;
979
938
  };
980
- quoteAssetInfo: {
981
- symbol: string;
982
- id: string;
983
- name: string;
984
- code: string;
985
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
986
- isActive: boolean;
987
- precision: number;
988
- };
989
939
  };
990
940
  422: {
991
941
  type: "validation";
@@ -18,8 +18,6 @@ export declare const assetPriceAdminResponseSchema: import("@sinclair/typebox").
18
18
  id: import("@sinclair/typebox").TString;
19
19
  baseAssetId: import("@sinclair/typebox").TString;
20
20
  baseAsset: import("@sinclair/typebox").TString;
21
- quoteAssetId: import("@sinclair/typebox").TString;
22
- quoteAsset: import("@sinclair/typebox").TString;
23
21
  price: import("@sinclair/typebox").TString;
24
22
  source: import("@sinclair/typebox").TString;
25
23
  effectiveAt: import("@sinclair/typebox").TDate;
@@ -37,20 +35,6 @@ export declare const assetPriceAdminResponseSchema: import("@sinclair/typebox").
37
35
  isActive: import("@sinclair/typebox").TBoolean;
38
36
  precision: import("@sinclair/typebox").TInteger;
39
37
  }>;
40
- quoteAssetInfo: import("@sinclair/typebox").TObject<{
41
- symbol: import("@sinclair/typebox").TString;
42
- id: import("@sinclair/typebox").TString;
43
- name: import("@sinclair/typebox").TString;
44
- code: import("@sinclair/typebox").TString;
45
- category: import("@sinclair/typebox").TEnum<{
46
- FIAT: "FIAT";
47
- CRYPTO: "CRYPTO";
48
- POINT: "POINT";
49
- RWA: "RWA";
50
- }>;
51
- isActive: import("@sinclair/typebox").TBoolean;
52
- precision: import("@sinclair/typebox").TInteger;
53
- }>;
54
38
  }>;
55
39
  export type AssetPriceAdminResponseType = typeof assetPriceAdminResponseSchema.static;
56
40
  export declare const assetPriceIdParamsSchema: import("@sinclair/typebox").TObject<{
@@ -65,8 +49,6 @@ export declare const assetPriceAdminListQuerySchema: import("@sinclair/typebox")
65
49
  id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
66
50
  baseAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
67
51
  baseAsset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
68
- quoteAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
69
- quoteAsset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
70
52
  source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
71
53
  startDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
72
54
  endDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
@@ -76,14 +58,12 @@ export declare const assetPriceAdminListQuerySchema: import("@sinclair/typebox")
76
58
  export type AssetPriceAdminListQueryType = typeof assetPriceAdminListQuerySchema.static;
77
59
  export declare const assetPriceLatestParamsSchema: import("@sinclair/typebox").TObject<{
78
60
  baseAsset: import("@sinclair/typebox").TString;
79
- quoteAsset: import("@sinclair/typebox").TString;
80
61
  }>;
81
62
  export type AssetPriceLatestParamsType = typeof assetPriceLatestParamsSchema.static;
82
63
  export declare const assetPriceAdminCreateSchema: import("@sinclair/typebox").TObject<{
83
64
  baseAsset: import("@sinclair/typebox").TString;
84
- quoteAsset: import("@sinclair/typebox").TString;
85
65
  price: import("@sinclair/typebox").TString;
86
- source: import("@sinclair/typebox").TString;
66
+ source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
87
67
  effectiveAt: import("@sinclair/typebox").TDate;
88
68
  }>;
89
69
  export type AssetPriceAdminCreateInputType = typeof assetPriceAdminCreateSchema.static;
@@ -94,8 +74,6 @@ export declare const assetPriceAdminListResponseSchema: import("@sinclair/typebo
94
74
  id: import("@sinclair/typebox").TString;
95
75
  baseAssetId: import("@sinclair/typebox").TString;
96
76
  baseAsset: import("@sinclair/typebox").TString;
97
- quoteAssetId: import("@sinclair/typebox").TString;
98
- quoteAsset: import("@sinclair/typebox").TString;
99
77
  price: import("@sinclair/typebox").TString;
100
78
  source: import("@sinclair/typebox").TString;
101
79
  effectiveAt: import("@sinclair/typebox").TDate;
@@ -113,20 +91,6 @@ export declare const assetPriceAdminListResponseSchema: import("@sinclair/typebo
113
91
  isActive: import("@sinclair/typebox").TBoolean;
114
92
  precision: import("@sinclair/typebox").TInteger;
115
93
  }>;
116
- quoteAssetInfo: import("@sinclair/typebox").TObject<{
117
- symbol: import("@sinclair/typebox").TString;
118
- id: import("@sinclair/typebox").TString;
119
- name: import("@sinclair/typebox").TString;
120
- code: import("@sinclair/typebox").TString;
121
- category: import("@sinclair/typebox").TEnum<{
122
- FIAT: "FIAT";
123
- CRYPTO: "CRYPTO";
124
- POINT: "POINT";
125
- RWA: "RWA";
126
- }>;
127
- isActive: import("@sinclair/typebox").TBoolean;
128
- precision: import("@sinclair/typebox").TInteger;
129
- }>;
130
94
  }>>;
131
95
  pagination: import("@sinclair/typebox").TObject<{
132
96
  pageSize: import("@sinclair/typebox").TNumber;
@@ -388,8 +388,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
388
388
  id?: string | undefined;
389
389
  baseAssetId?: string | undefined;
390
390
  baseAsset?: string | undefined;
391
- quoteAssetId?: string | undefined;
392
- quoteAsset?: string | undefined;
393
391
  source?: string | undefined;
394
392
  startDate?: Date | undefined;
395
393
  limit?: number | undefined;
@@ -409,8 +407,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
409
407
  updatedAt: Date;
410
408
  baseAssetId: string;
411
409
  baseAsset: string;
412
- quoteAssetId: string;
413
- quoteAsset: string;
414
410
  price: string;
415
411
  source: string;
416
412
  effectiveAt: Date;
@@ -423,15 +419,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
423
419
  isActive: boolean;
424
420
  precision: number;
425
421
  };
426
- quoteAssetInfo: {
427
- symbol: string;
428
- id: string;
429
- name: string;
430
- code: string;
431
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
432
- isActive: boolean;
433
- precision: number;
434
- };
435
422
  }[];
436
423
  pagination: {
437
424
  total: number;
@@ -459,58 +446,44 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
459
446
  asset_prices: {
460
447
  latest: {
461
448
  ":baseAsset": {
462
- ":quoteAsset": {
463
- get: {
464
- body: {};
465
- params: {
449
+ get: {
450
+ body: {};
451
+ params: {
452
+ baseAsset: string;
453
+ };
454
+ query: {};
455
+ headers: {};
456
+ response: {
457
+ 200: {
458
+ id: string;
459
+ createdAt: Date;
460
+ updatedAt: Date;
461
+ baseAssetId: string;
466
462
  baseAsset: string;
467
- quoteAsset: string;
468
- };
469
- query: {};
470
- headers: {};
471
- response: {
472
- 200: {
463
+ price: string;
464
+ source: string;
465
+ effectiveAt: Date;
466
+ baseAssetInfo: {
467
+ symbol: string;
473
468
  id: string;
474
- createdAt: Date;
475
- updatedAt: Date;
476
- baseAssetId: string;
477
- baseAsset: string;
478
- quoteAssetId: string;
479
- quoteAsset: string;
480
- price: string;
481
- source: string;
482
- effectiveAt: Date;
483
- baseAssetInfo: {
484
- symbol: string;
485
- id: string;
486
- name: string;
487
- code: string;
488
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
489
- isActive: boolean;
490
- precision: number;
491
- };
492
- quoteAssetInfo: {
493
- symbol: string;
494
- id: string;
495
- name: string;
496
- code: string;
497
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
498
- isActive: boolean;
499
- precision: number;
500
- };
469
+ name: string;
470
+ code: string;
471
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
472
+ isActive: boolean;
473
+ precision: number;
501
474
  };
502
- 422: {
503
- type: "validation";
504
- on: string;
505
- summary?: string;
506
- message?: string;
507
- found?: unknown;
508
- property?: string;
509
- expected?: string;
510
- };
511
- 401: "Unauthorized";
512
- 403: "Forbidden: Admins only";
513
475
  };
476
+ 422: {
477
+ type: "validation";
478
+ on: string;
479
+ summary?: string;
480
+ message?: string;
481
+ found?: unknown;
482
+ property?: string;
483
+ expected?: string;
484
+ };
485
+ 401: "Unauthorized";
486
+ 403: "Forbidden: Admins only";
514
487
  };
515
488
  };
516
489
  };
@@ -533,8 +506,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
533
506
  updatedAt: Date;
534
507
  baseAssetId: string;
535
508
  baseAsset: string;
536
- quoteAssetId: string;
537
- quoteAsset: string;
538
509
  price: string;
539
510
  source: string;
540
511
  effectiveAt: Date;
@@ -547,15 +518,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
547
518
  isActive: boolean;
548
519
  precision: number;
549
520
  };
550
- quoteAssetInfo: {
551
- symbol: string;
552
- id: string;
553
- name: string;
554
- code: string;
555
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
556
- isActive: boolean;
557
- precision: number;
558
- };
559
521
  };
560
522
  422: {
561
523
  type: "validation";
@@ -576,10 +538,9 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
576
538
  asset_prices: {
577
539
  post: {
578
540
  body: {
541
+ source?: string | undefined;
579
542
  baseAsset: string;
580
- quoteAsset: string;
581
543
  price: string;
582
- source: string;
583
544
  effectiveAt: Date;
584
545
  };
585
546
  params: {};
@@ -592,8 +553,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
592
553
  updatedAt: Date;
593
554
  baseAssetId: string;
594
555
  baseAsset: string;
595
- quoteAssetId: string;
596
- quoteAsset: string;
597
556
  price: string;
598
557
  source: string;
599
558
  effectiveAt: Date;
@@ -606,15 +565,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
606
565
  isActive: boolean;
607
566
  precision: number;
608
567
  };
609
- quoteAssetInfo: {
610
- symbol: string;
611
- id: string;
612
- name: string;
613
- code: string;
614
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
615
- isActive: boolean;
616
- precision: number;
617
- };
618
568
  };
619
569
  422: {
620
570
  type: "validation";
@@ -1,200 +1,82 @@
1
- import { InternalAssetPriceService } from "../internal/service";
2
1
  import type { AssetPriceAdminCreateInputType, AssetPriceAdminListQueryType } from "./dto.schemas";
3
- export declare abstract class AdminAssetPriceService extends InternalAssetPriceService {
4
- private static toAdminResponse;
2
+ export declare abstract class AdminAssetPriceService {
5
3
  static listAssetPrices(query?: AssetPriceAdminListQueryType): Promise<{
6
4
  items: {
7
- baseAssetInfo: {
8
- id: string;
9
- code: string;
10
- name: string;
11
- symbol: string;
12
- precision: number;
13
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
14
- isActive: boolean;
15
- };
16
- quoteAssetInfo: {
17
- id: string;
18
- code: string;
19
- name: string;
20
- symbol: string;
21
- precision: number;
22
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
23
- isActive: boolean;
24
- };
25
5
  id: string;
26
- createdAt: Date;
27
- updatedAt: Date;
28
6
  baseAssetId: string;
29
7
  baseAsset: string;
30
- quoteAssetId: string;
31
- quoteAsset: string;
32
8
  price: string;
33
9
  source: string;
34
10
  effectiveAt: Date;
35
- baseAssetEntity: {
36
- id: string;
37
- code: string;
38
- name: string;
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ baseAssetInfo: {
39
14
  symbol: string;
40
- precision: number;
41
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
42
- isActive: boolean;
43
- } | null;
44
- quoteAssetEntity: {
45
15
  id: string;
46
- code: string;
47
16
  name: string;
48
- symbol: string;
49
- precision: number;
17
+ code: string;
50
18
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
51
19
  isActive: boolean;
52
- } | null;
20
+ precision: number;
21
+ };
53
22
  }[];
54
23
  total: number;
55
24
  }>;
56
- static getAssetPriceById(id: string): Promise<{
57
- baseAssetInfo: {
58
- id: string;
59
- code: string;
60
- name: string;
61
- symbol: string;
62
- precision: number;
63
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
64
- isActive: boolean;
65
- };
66
- quoteAssetInfo: {
67
- id: string;
68
- code: string;
69
- name: string;
70
- symbol: string;
71
- precision: number;
72
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
73
- isActive: boolean;
74
- };
25
+ static getLatestAssetPrice(baseAsset: string): Promise<{
75
26
  id: string;
76
- createdAt: Date;
77
- updatedAt: Date;
78
27
  baseAssetId: string;
79
28
  baseAsset: string;
80
- quoteAssetId: string;
81
- quoteAsset: string;
82
29
  price: string;
83
30
  source: string;
84
31
  effectiveAt: Date;
85
- baseAssetEntity: {
86
- id: string;
87
- code: string;
88
- name: string;
32
+ createdAt: Date;
33
+ updatedAt: Date;
34
+ baseAssetInfo: {
89
35
  symbol: string;
90
- precision: number;
91
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
92
- isActive: boolean;
93
- } | null;
94
- quoteAssetEntity: {
95
36
  id: string;
96
- code: string;
97
37
  name: string;
98
- symbol: string;
99
- precision: number;
100
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
101
- isActive: boolean;
102
- } | null;
103
- }>;
104
- static getLatestAssetPrice(baseAsset: string, quoteAsset: string): Promise<{
105
- baseAssetInfo: {
106
- id: string;
107
38
  code: string;
108
- name: string;
109
- symbol: string;
110
- precision: number;
111
39
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
112
40
  isActive: boolean;
113
- };
114
- quoteAssetInfo: {
115
- id: string;
116
- code: string;
117
- name: string;
118
- symbol: string;
119
41
  precision: number;
120
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
121
- isActive: boolean;
122
42
  };
43
+ }>;
44
+ static getAssetPriceById(id: string): Promise<{
123
45
  id: string;
124
- createdAt: Date;
125
- updatedAt: Date;
126
46
  baseAssetId: string;
127
47
  baseAsset: string;
128
- quoteAssetId: string;
129
- quoteAsset: string;
130
48
  price: string;
131
49
  source: string;
132
50
  effectiveAt: Date;
133
- baseAssetEntity: {
134
- id: string;
135
- code: string;
136
- name: string;
51
+ createdAt: Date;
52
+ updatedAt: Date;
53
+ baseAssetInfo: {
137
54
  symbol: string;
138
- precision: number;
139
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
140
- isActive: boolean;
141
- } | null;
142
- quoteAssetEntity: {
143
55
  id: string;
144
- code: string;
145
56
  name: string;
146
- symbol: string;
147
- precision: number;
148
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
149
- isActive: boolean;
150
- } | null;
151
- }>;
152
- static createAssetPrice(input: AssetPriceAdminCreateInputType): Promise<{
153
- baseAssetInfo: {
154
- id: string;
155
57
  code: string;
156
- name: string;
157
- symbol: string;
158
- precision: number;
159
58
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
160
59
  isActive: boolean;
161
- };
162
- quoteAssetInfo: {
163
- id: string;
164
- code: string;
165
- name: string;
166
- symbol: string;
167
60
  precision: number;
168
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
169
- isActive: boolean;
170
61
  };
62
+ }>;
63
+ static createAssetPrice(input: AssetPriceAdminCreateInputType): Promise<{
171
64
  id: string;
172
- createdAt: Date;
173
- updatedAt: Date;
174
65
  baseAssetId: string;
175
66
  baseAsset: string;
176
- quoteAssetId: string;
177
- quoteAsset: string;
178
67
  price: string;
179
68
  source: string;
180
69
  effectiveAt: Date;
181
- baseAssetEntity: {
182
- id: string;
183
- code: string;
184
- name: string;
70
+ createdAt: Date;
71
+ updatedAt: Date;
72
+ baseAssetInfo: {
185
73
  symbol: string;
186
- precision: number;
187
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
188
- isActive: boolean;
189
- } | null;
190
- quoteAssetEntity: {
191
74
  id: string;
192
- code: string;
193
75
  name: string;
194
- symbol: string;
195
- precision: number;
76
+ code: string;
196
77
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
197
78
  isActive: boolean;
198
- } | null;
79
+ precision: number;
80
+ };
199
81
  }>;
200
82
  }