@sui-tracker/shared 1.0.33 → 1.0.35
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/.env +1 -0
- package/dist/grpc/controllers/base-grpc.controller.d.ts +7 -0
- package/dist/grpc/controllers/base-grpc.controller.js +42 -0
- package/dist/grpc/controllers/base-grpc.controller.js.map +1 -0
- package/dist/grpc/controllers/index.d.ts +1 -0
- package/dist/{decorators → grpc/controllers}/index.js +1 -1
- package/dist/grpc/controllers/index.js.map +1 -0
- package/dist/grpc/decorators/index.d.ts +0 -0
- package/dist/grpc/decorators/index.js +2 -0
- package/dist/grpc/decorators/index.js.map +1 -0
- package/dist/grpc/index.d.ts +3 -0
- package/dist/grpc/index.js +20 -0
- package/dist/grpc/index.js.map +1 -0
- package/dist/grpc/interfaces/account.interface.d.ts +175 -0
- package/dist/grpc/interfaces/account.interface.js +3 -0
- package/dist/grpc/interfaces/account.interface.js.map +1 -0
- package/dist/grpc/interfaces/checkpoint.interface.d.ts +63 -0
- package/dist/grpc/interfaces/checkpoint.interface.js +3 -0
- package/dist/grpc/interfaces/checkpoint.interface.js.map +1 -0
- package/dist/grpc/interfaces/index.d.ts +4 -0
- package/dist/grpc/interfaces/index.js +21 -0
- package/dist/grpc/interfaces/index.js.map +1 -0
- package/dist/grpc/interfaces/proxy.interface.d.ts +51 -0
- package/dist/grpc/interfaces/proxy.interface.js +3 -0
- package/dist/grpc/interfaces/proxy.interface.js.map +1 -0
- package/dist/grpc/interfaces/swap-order.interface.d.ts +61 -0
- package/dist/grpc/interfaces/swap-order.interface.js +3 -0
- package/dist/grpc/interfaces/swap-order.interface.js.map +1 -0
- package/dist/grpc/interfaces/swap.interface.d.ts +71 -0
- package/dist/{types.js → grpc/interfaces/swap.interface.js} +1 -1
- package/dist/grpc/interfaces/swap.interface.js.map +1 -0
- package/dist/grpc/services/account-grpc.service.d.ts +20 -0
- package/dist/grpc/services/account-grpc.service.js +134 -0
- package/dist/grpc/services/account-grpc.service.js.map +1 -0
- package/dist/grpc/services/base-grpc.service.d.ts +17 -0
- package/dist/grpc/services/base-grpc.service.js +44 -0
- package/dist/grpc/services/base-grpc.service.js.map +1 -0
- package/dist/grpc/services/checkpoint-grpc.service.d.ts +13 -0
- package/dist/grpc/services/checkpoint-grpc.service.js +77 -0
- package/dist/grpc/services/checkpoint-grpc.service.js.map +1 -0
- package/dist/grpc/services/index.d.ts +5 -0
- package/dist/grpc/services/index.js +22 -0
- package/dist/grpc/services/index.js.map +1 -0
- package/dist/grpc/services/proxy-grpc.service.d.ts +12 -0
- package/dist/grpc/services/proxy-grpc.service.js +68 -0
- package/dist/grpc/services/proxy-grpc.service.js.map +1 -0
- package/dist/grpc/services/swap-order-grpc.service.d.ts +13 -0
- package/dist/grpc/services/swap-order-grpc.service.js +77 -0
- package/dist/grpc/services/swap-order-grpc.service.js.map +1 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/protos/account.proto +202 -0
- package/dist/protos/checkpoint.proto +97 -0
- package/dist/protos/proxy.proto +61 -0
- package/dist/protos/swap-order.proto +82 -0
- package/dist/services/shared.module.js +11 -1
- package/dist/services/shared.module.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -2
- package/dist/commons/dto/abstract.dto.d.ts +0 -12
- package/dist/commons/dto/abstract.dto.js +0 -42
- package/dist/commons/dto/abstract.dto.js.map +0 -1
- package/dist/decorators/field.decorators.d.ts +0 -50
- package/dist/decorators/field.decorators.js +0 -291
- package/dist/decorators/field.decorators.js.map +0 -1
- package/dist/decorators/http.decorators.d.ts +0 -6
- package/dist/decorators/http.decorators.js +0 -18
- package/dist/decorators/http.decorators.js.map +0 -1
- package/dist/decorators/index.d.ts +0 -1
- package/dist/decorators/index.js.map +0 -1
- package/dist/types.d.ts +0 -4
- package/dist/types.js.map +0 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package account;
|
|
4
|
+
|
|
5
|
+
// Auth Service
|
|
6
|
+
service AuthService {
|
|
7
|
+
rpc Login(LoginRequest) returns (LoginResponse);
|
|
8
|
+
rpc Me(MeRequest) returns (MeResponse);
|
|
9
|
+
rpc ValidateToken(ValidateTokenRequest) returns (ValidateTokenResponse);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Swap Service
|
|
13
|
+
service SwapService {
|
|
14
|
+
rpc CreateSwap(CreateSwapRequest) returns (CreateSwapResponse);
|
|
15
|
+
rpc GetUserSwaps(GetUserSwapsRequest) returns (GetUserSwapsResponse);
|
|
16
|
+
rpc GetTransactionStats(GetTransactionStatsRequest) returns (GetTransactionStatsResponse);
|
|
17
|
+
rpc GetTokenTransactions(GetTokenTransactionsRequest) returns (GetTokenTransactionsResponse);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Wallet Service
|
|
21
|
+
service WalletService {
|
|
22
|
+
rpc GetWalletById(GetWalletByIdRequest) returns (GetWalletByIdResponse);
|
|
23
|
+
rpc CreateWallet(CreateWalletRequest) returns (CreateWalletResponse);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Auth Messages
|
|
27
|
+
message LoginRequest {
|
|
28
|
+
string teleId = 1;
|
|
29
|
+
string signature = 2;
|
|
30
|
+
string signTime = 3;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
message LoginResponse {
|
|
34
|
+
User user = 1;
|
|
35
|
+
TokenPayload token = 2;
|
|
36
|
+
string error = 3;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message MeRequest {
|
|
40
|
+
string teleId = 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
message MeResponse {
|
|
44
|
+
User user = 1;
|
|
45
|
+
string error = 2;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message ValidateTokenRequest {
|
|
49
|
+
string token = 1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message ValidateTokenResponse {
|
|
53
|
+
User user = 1;
|
|
54
|
+
bool isValid = 2;
|
|
55
|
+
string error = 3;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message User {
|
|
59
|
+
string id = 1;
|
|
60
|
+
string firstName = 2;
|
|
61
|
+
string lastName = 3;
|
|
62
|
+
string teleId = 4;
|
|
63
|
+
string teleUserName = 5;
|
|
64
|
+
bool isActive = 6;
|
|
65
|
+
string referralCode = 7;
|
|
66
|
+
string parentId = 8;
|
|
67
|
+
string role = 9;
|
|
68
|
+
string createdAt = 10;
|
|
69
|
+
string updatedAt = 11;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message TokenPayload {
|
|
73
|
+
string accessToken = 1;
|
|
74
|
+
int32 expiresIn = 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Swap Messages
|
|
78
|
+
message CreateSwapRequest {
|
|
79
|
+
string userId = 1;
|
|
80
|
+
string walletId = 2;
|
|
81
|
+
string fromToken = 3;
|
|
82
|
+
string toToken = 4;
|
|
83
|
+
string amount = 5;
|
|
84
|
+
string dexId = 6;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
message CreateSwapResponse {
|
|
88
|
+
string id = 1;
|
|
89
|
+
string status = 2;
|
|
90
|
+
string message = 3;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
message GetUserSwapsRequest {
|
|
94
|
+
string userId = 1;
|
|
95
|
+
int32 page = 2;
|
|
96
|
+
int32 limit = 3;
|
|
97
|
+
string status = 4;
|
|
98
|
+
string dexId = 5;
|
|
99
|
+
string fromTokenSymbol = 6;
|
|
100
|
+
string toTokenSymbol = 7;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message Swap {
|
|
104
|
+
string id = 1;
|
|
105
|
+
string userId = 2;
|
|
106
|
+
string walletId = 3;
|
|
107
|
+
string fromToken = 4;
|
|
108
|
+
string toToken = 5;
|
|
109
|
+
string amount = 6;
|
|
110
|
+
string status = 7;
|
|
111
|
+
string dexId = 8;
|
|
112
|
+
string createdAt = 9;
|
|
113
|
+
string updatedAt = 10;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
message Pagination {
|
|
117
|
+
int32 page = 1;
|
|
118
|
+
int32 limit = 2;
|
|
119
|
+
int32 total = 3;
|
|
120
|
+
int32 totalPages = 4;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
message GetUserSwapsResponse {
|
|
124
|
+
repeated Swap swaps = 1;
|
|
125
|
+
Pagination pagination = 2;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
message GetTransactionStatsRequest {
|
|
129
|
+
string userId = 1;
|
|
130
|
+
string walletId = 2;
|
|
131
|
+
string date = 3;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
message TransactionStats {
|
|
135
|
+
int32 totalSwaps = 1;
|
|
136
|
+
int32 completedSwaps = 2;
|
|
137
|
+
int32 failedSwaps = 3;
|
|
138
|
+
int32 pendingSwaps = 4;
|
|
139
|
+
string totalVolume = 5;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
message GetTransactionStatsResponse {
|
|
143
|
+
TransactionStats stats = 1;
|
|
144
|
+
string date = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
message GetTokenTransactionsRequest {
|
|
148
|
+
string userId = 1;
|
|
149
|
+
int32 page = 2;
|
|
150
|
+
int32 limit = 3;
|
|
151
|
+
string walletId = 4;
|
|
152
|
+
string coinType = 5;
|
|
153
|
+
string tokenSymbol = 6;
|
|
154
|
+
string transactionType = 7;
|
|
155
|
+
string status = 8;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
message TokenTransaction {
|
|
159
|
+
string id = 1;
|
|
160
|
+
string userId = 2;
|
|
161
|
+
string walletId = 3;
|
|
162
|
+
string coinType = 4;
|
|
163
|
+
string tokenSymbol = 5;
|
|
164
|
+
string amount = 6;
|
|
165
|
+
string transactionType = 7;
|
|
166
|
+
string status = 8;
|
|
167
|
+
string createdAt = 9;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
message GetTokenTransactionsResponse {
|
|
171
|
+
repeated TokenTransaction transactions = 1;
|
|
172
|
+
Pagination pagination = 2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Wallet Messages
|
|
176
|
+
message GetWalletByIdRequest {
|
|
177
|
+
string id = 1;
|
|
178
|
+
string userId = 2;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
message Wallet {
|
|
182
|
+
string id = 1;
|
|
183
|
+
string userId = 2;
|
|
184
|
+
string address = 3;
|
|
185
|
+
string name = 4;
|
|
186
|
+
string createdAt = 5;
|
|
187
|
+
string updatedAt = 6;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
message GetWalletByIdResponse {
|
|
191
|
+
Wallet wallet = 1;
|
|
192
|
+
string error = 2;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
message CreateWalletRequest {
|
|
196
|
+
string userId = 1;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
message CreateWalletResponse {
|
|
200
|
+
Wallet wallet = 1;
|
|
201
|
+
string error = 2;
|
|
202
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package checkpoint;
|
|
4
|
+
|
|
5
|
+
service CheckpointService {
|
|
6
|
+
// Checkpoints endpoints
|
|
7
|
+
rpc FindAllCheckpoints (FindAllCheckpointsRequest) returns (FindAllCheckpointsResponse);
|
|
8
|
+
rpc SetTransactionSynced (SetTransactionSyncedRequest) returns (SetTransactionSyncedResponse);
|
|
9
|
+
|
|
10
|
+
// Configs endpoints
|
|
11
|
+
rpc FindConfig (FindConfigRequest) returns (FindConfigResponse);
|
|
12
|
+
|
|
13
|
+
// Stats endpoints
|
|
14
|
+
rpc GetStat (GetStatRequest) returns (GetStatResponse);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Checkpoints Requests
|
|
18
|
+
message FindAllCheckpointsRequest {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message SetTransactionSyncedRequest {
|
|
22
|
+
repeated string ids = 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Configs Requests
|
|
26
|
+
message FindConfigRequest {
|
|
27
|
+
string id = 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Stats Requests
|
|
31
|
+
message GetStatRequest {
|
|
32
|
+
string key = 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Checkpoints Responses
|
|
36
|
+
message Checkpoint {
|
|
37
|
+
string id = 1;
|
|
38
|
+
string checkpointId = 2;
|
|
39
|
+
string digest = 3;
|
|
40
|
+
int64 timestamp = 4;
|
|
41
|
+
int64 epoch = 5;
|
|
42
|
+
string networkTotalTransactions = 6;
|
|
43
|
+
string previousDigest = 7;
|
|
44
|
+
string epochRollingGasCostSummary = 8;
|
|
45
|
+
string endOfEpochData = 9;
|
|
46
|
+
string validatorSignature = 10;
|
|
47
|
+
string consensusCommitDigest = 11;
|
|
48
|
+
string checkpointCommitments = 12;
|
|
49
|
+
string validatorRewards = 13;
|
|
50
|
+
string previousCheckpointId = 14;
|
|
51
|
+
string endOfEpochDataId = 15;
|
|
52
|
+
string networkTotalStake = 16;
|
|
53
|
+
string referenceGasPrice = 17;
|
|
54
|
+
string totalGasCost = 18;
|
|
55
|
+
string totalComputationCost = 19;
|
|
56
|
+
string totalStorageCost = 20;
|
|
57
|
+
string totalNonRefundableStorageFee = 21;
|
|
58
|
+
string totalStorageRebate = 22;
|
|
59
|
+
string createdAt = 23;
|
|
60
|
+
string updatedAt = 24;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message FindAllCheckpointsResponse {
|
|
64
|
+
repeated Checkpoint checkpoints = 1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message SetTransactionSyncedResponse {
|
|
68
|
+
bool success = 1;
|
|
69
|
+
string message = 2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Configs Responses
|
|
73
|
+
message Config {
|
|
74
|
+
string id = 1;
|
|
75
|
+
string key = 2;
|
|
76
|
+
string value = 3;
|
|
77
|
+
string description = 4;
|
|
78
|
+
string createdAt = 5;
|
|
79
|
+
string updatedAt = 6;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
message FindConfigResponse {
|
|
83
|
+
Config config = 1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// Stats Responses
|
|
87
|
+
message Stat {
|
|
88
|
+
string key = 1;
|
|
89
|
+
string value = 2;
|
|
90
|
+
string description = 3;
|
|
91
|
+
string createdAt = 4;
|
|
92
|
+
string updatedAt = 5;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message GetStatResponse {
|
|
96
|
+
Stat stat = 1;
|
|
97
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package proxy;
|
|
4
|
+
|
|
5
|
+
service ProxyService {
|
|
6
|
+
rpc PickOne (PickOneRequest) returns (PickOneResponse);
|
|
7
|
+
rpc GetAllProxy (GetAllProxyRequest) returns (GetAllProxyResponse);
|
|
8
|
+
rpc CheckIp (CheckIpRequest) returns (CheckIpResponse);
|
|
9
|
+
rpc TestProxy (TestProxyRequest) returns (TestProxyResponse);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message PickOneRequest {
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message PickOneResponse {
|
|
16
|
+
bool success = 1;
|
|
17
|
+
string message = 2;
|
|
18
|
+
ProxyData data = 3;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message GetAllProxyRequest {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message GetAllProxyResponse {
|
|
25
|
+
bool success = 1;
|
|
26
|
+
string message = 2;
|
|
27
|
+
repeated ProxyData data = 3;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message CheckIpRequest {
|
|
31
|
+
string ip = 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message CheckIpResponse {
|
|
35
|
+
bool result = 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message TestProxyRequest {
|
|
39
|
+
string ip = 1;
|
|
40
|
+
int32 port = 2;
|
|
41
|
+
string username = 3;
|
|
42
|
+
string password = 4;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message TestProxyResponse {
|
|
46
|
+
bool success = 1;
|
|
47
|
+
string message = 2;
|
|
48
|
+
bool isLive = 3;
|
|
49
|
+
int64 timeResponse = 4;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message ProxyData {
|
|
53
|
+
string id = 1;
|
|
54
|
+
string ip = 2;
|
|
55
|
+
int32 port = 3;
|
|
56
|
+
string username = 4;
|
|
57
|
+
string password = 5;
|
|
58
|
+
bool isActive = 6;
|
|
59
|
+
string createdAt = 7;
|
|
60
|
+
string updatedAt = 8;
|
|
61
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package swap_order;
|
|
4
|
+
|
|
5
|
+
service SwapOrderService {
|
|
6
|
+
// Pools endpoints
|
|
7
|
+
rpc GetTrendingPools (GetTrendingPoolsRequest) returns (GetTrendingPoolsResponse);
|
|
8
|
+
rpc GetNewPools (GetNewPoolsRequest) returns (GetNewPoolsResponse);
|
|
9
|
+
rpc GetPool (GetPoolRequest) returns (GetPoolResponse);
|
|
10
|
+
|
|
11
|
+
// Charts endpoints
|
|
12
|
+
rpc GetCandleChart (GetCandleChartRequest) returns (GetCandleChartResponse);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Pools Requests
|
|
16
|
+
message GetTrendingPoolsRequest {
|
|
17
|
+
int32 label = 1; // 5 | 60 | 360 | 1440
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message GetNewPoolsRequest {
|
|
21
|
+
int32 label = 1; // 5 | 60 | 360 | 1440
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message GetPoolRequest {
|
|
25
|
+
string id = 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Charts Requests
|
|
29
|
+
message GetCandleChartRequest {
|
|
30
|
+
string pool = 1;
|
|
31
|
+
int32 resolution = 2;
|
|
32
|
+
int32 limit = 3;
|
|
33
|
+
string timestamp = 4;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Pools Responses
|
|
37
|
+
message GetTrendingPoolsResponse {
|
|
38
|
+
repeated PoolData pools = 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message GetNewPoolsResponse {
|
|
42
|
+
repeated PoolData pools = 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message GetPoolResponse {
|
|
46
|
+
PoolData pool = 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Charts Responses
|
|
50
|
+
message GetCandleChartResponse {
|
|
51
|
+
repeated CandleData candles = 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Data Types
|
|
55
|
+
message PoolData {
|
|
56
|
+
string id = 1;
|
|
57
|
+
string name = 2;
|
|
58
|
+
string symbol = 3;
|
|
59
|
+
string token0 = 4;
|
|
60
|
+
string token1 = 5;
|
|
61
|
+
string reserve0 = 6;
|
|
62
|
+
string reserve1 = 7;
|
|
63
|
+
string totalSupply = 8;
|
|
64
|
+
string volume = 9;
|
|
65
|
+
string liquidity = 10;
|
|
66
|
+
string price = 11;
|
|
67
|
+
string priceChange24h = 12;
|
|
68
|
+
string volume24h = 13;
|
|
69
|
+
string tvl = 14;
|
|
70
|
+
bool isActive = 15;
|
|
71
|
+
string createdAt = 16;
|
|
72
|
+
string updatedAt = 17;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
message CandleData {
|
|
76
|
+
int64 timestamp = 1;
|
|
77
|
+
string open = 2;
|
|
78
|
+
string high = 3;
|
|
79
|
+
string low = 4;
|
|
80
|
+
string close = 5;
|
|
81
|
+
string volume = 6;
|
|
82
|
+
}
|
|
@@ -9,7 +9,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.SharedModule = void 0;
|
|
10
10
|
const common_1 = require("@nestjs/common");
|
|
11
11
|
const sui_client_service_1 = require("./sui-client.service");
|
|
12
|
-
const
|
|
12
|
+
const account_grpc_service_1 = require("../grpc/services/account-grpc.service");
|
|
13
|
+
const proxy_grpc_service_1 = require("../grpc/services/proxy-grpc.service");
|
|
14
|
+
const checkpoint_grpc_service_1 = require("../grpc/services/checkpoint-grpc.service");
|
|
15
|
+
const swap_order_grpc_service_1 = require("../grpc/services/swap-order-grpc.service");
|
|
16
|
+
const providers = [
|
|
17
|
+
sui_client_service_1.SuiClientService,
|
|
18
|
+
account_grpc_service_1.AccountGrpcService,
|
|
19
|
+
proxy_grpc_service_1.ProxyGrpcService,
|
|
20
|
+
checkpoint_grpc_service_1.CheckpointGrpcService,
|
|
21
|
+
swap_order_grpc_service_1.SwapOrderGrpcService,
|
|
22
|
+
];
|
|
13
23
|
let SharedModule = class SharedModule {
|
|
14
24
|
};
|
|
15
25
|
exports.SharedModule = SharedModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.module.js","sourceRoot":"","sources":["../../src/services/shared.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shared.module.js","sourceRoot":"","sources":["../../src/services/shared.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAsD;AAEtD,6DAAuD;AACvD,gFAA0E;AAC1E,4EAAsE;AACtE,sFAAgF;AAChF,sFAA+E;AAE/E,MAAM,SAAS,GAAe;IAC5B,qCAAgB;IAChB,yCAAkB;IAClB,qCAAgB;IAChB,+CAAqB;IACrB,8CAAoB;CACrB,CAAA;AAMM,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IAJxB,IAAA,eAAM,EAAC;QACN,SAAS;QACT,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;KACxB,CAAC;GACW,YAAY,CAAG"}
|