jr-common-micro 1.0.3 → 1.0.5
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/package.json +5 -4
- package/proto/micro/v1/coin/analytics_messages.proto +373 -0
- package/proto/micro/v1/coin/coin_messages.proto +126 -0
- package/proto/micro/v1/coin/coin_websocket_messages.proto +86 -0
- package/proto/micro/v1/coin/data_general_messages.proto +72 -0
- package/proto/micro/v1/coin/data_microservice_messages.proto +53 -0
- package/proto/micro/v1/coin/etf_messages.proto +125 -0
- package/proto/micro/v1/coin/long_short_ratio_messages.proto +56 -0
- package/proto/micro/v1/coin/rsi_messages.proto +45 -0
- package/proto/micro/v1/coin/services.proto +109 -0
- package/proto/micro/v1/coin/token_unlocks_messages.proto +51 -0
- package/proto/micro/v1/data/daily_market_data_messages.proto +23 -0
- package/proto/micro/v1/data/dominance_messages.proto +42 -0
- package/proto/micro/v1/data/exchanges_messages.proto +158 -0
- package/proto/micro/v1/data/funding_rate_messages.proto +33 -0
- package/proto/micro/v1/data/global_stats_messages.proto +19 -0
- package/proto/micro/v1/data/homepage_messages.proto +44 -0
- package/proto/micro/v1/data/inflow_outflow_messages.proto +84 -0
- package/proto/micro/v1/data/liquidation_heat_map_m2_messages.proto +52 -0
- package/proto/micro/v1/data/liquidation_v1_messages.proto +40 -0
- package/proto/micro/v1/data/mvrvz_score_messages.proto +13 -0
- package/proto/micro/v1/data/puell_multiple_messages.proto +18 -0
- package/proto/micro/v1/data/puppeteer_messages.proto +29 -0
- package/proto/micro/v1/data/rainbow_messages.proto +14 -0
- package/proto/micro/v1/data/rsi_list_messages.proto +27 -0
- package/proto/micro/v1/data/scrape_assets_messages.proto +25 -0
- package/proto/micro/v1/data/scrape_treasuries_messages.proto +44 -0
- package/proto/micro/v1/data/services.proto +115 -0
- package/proto/micro/v1/data/token_unlocks.proto +65 -0
- package/proto/micro/v1/data/two_hundred_week_moving_average_messages.proto +18 -0
- package/proto/micro/v1/data/two_year_ma_multipler_messages.proto +20 -0
- package/proto/micro/v1/education/education_messages.proto +294 -0
- package/proto/micro/v1/education/services.proto +94 -0
- package/proto/micro/v1/general.proto +114 -0
- package/proto/micro/v1/media/media_messages.proto +108 -0
- package/proto/micro/v1/media/services.proto +22 -0
- package/proto/micro/v1/news/app_version_message.proto +35 -0
- package/proto/micro/v1/news/blog_messages.proto +110 -0
- package/proto/micro/v1/news/calendar_messages.proto +46 -0
- package/proto/micro/v1/news/economic_calendar_messages.proto +28 -0
- package/proto/micro/v1/news/jr_blog_messages.proto +216 -0
- package/proto/micro/v1/news/news_messages.proto +193 -0
- package/proto/micro/v1/news/services.proto +148 -0
- package/proto/micro/v1/news/sundown_messages.proto +61 -0
- package/proto/micro/v1/notification/mail_messages.proto +40 -0
- package/proto/micro/v1/notification/notification_messages.proto +198 -0
- package/proto/micro/v1/notification/services.proto +35 -0
- package/proto/micro/v1/portfolio/portfolio_coin_messages.proto +22 -0
- package/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages.proto +43 -0
- package/proto/micro/v1/portfolio/portfolio_messages.proto +187 -0
- package/proto/micro/v1/portfolio/services.proto +37 -0
- package/proto/micro/v1/puppeteer/puppeteer_messages.proto +0 -0
- package/proto/micro/v1/puppeteer/services.proto +27 -0
- package/proto/micro/v1/user/auth_messages.proto +91 -0
- package/proto/micro/v1/user/authorization_messages.proto +58 -0
- package/proto/micro/v1/user/services.proto +86 -0
- package/proto/micro/v1/user/site_settings_messages.proto +19 -0
- package/proto/micro/v1/user/user_messages.proto +228 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package micro.v1.data;
|
|
3
|
+
import "micro/v1/general.proto";
|
|
4
|
+
|
|
5
|
+
message GlobalStatsDto {
|
|
6
|
+
string id =1;
|
|
7
|
+
string cryptos = 2;
|
|
8
|
+
string exchanges = 3;
|
|
9
|
+
string marketCapValue = 4;
|
|
10
|
+
string marketCapChange = 5;
|
|
11
|
+
string marketCapDirection = 6;
|
|
12
|
+
string volume24h = 7;
|
|
13
|
+
string volume24hChange = 8;
|
|
14
|
+
string volume24hDirection = 9;
|
|
15
|
+
string dominanceBtc = 10;
|
|
16
|
+
string dominanceEth = 11;
|
|
17
|
+
string ethGas = 12;
|
|
18
|
+
string fearGreed = 13;
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message IncreasingDecreaseingDataDto {
|
|
8
|
+
string coingecko_id = 1;
|
|
9
|
+
string sequence_no = 2;
|
|
10
|
+
string symbol = 3;
|
|
11
|
+
string image = 4;
|
|
12
|
+
string price = 5;
|
|
13
|
+
string price_change_percentage_24h = 6;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message IncreasingDecreaseingData{
|
|
17
|
+
repeated IncreasingDecreaseingDataDto increasing = 1;
|
|
18
|
+
repeated IncreasingDecreaseingDataDto decreasing = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message HomepageDataResponse {
|
|
22
|
+
ResponseStatus status = 1;
|
|
23
|
+
PaginationMetaResult pagination = 2;
|
|
24
|
+
IncreasingDecreaseingData data = 3;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message TrendCoinDto {
|
|
28
|
+
string symbol = 1;
|
|
29
|
+
string name = 2;
|
|
30
|
+
string status = 3;
|
|
31
|
+
string coinmarketcap_id = 4;
|
|
32
|
+
string coin_rank = 5;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message TrendCoinDataResponse {
|
|
36
|
+
ResponseStatus status = 1;
|
|
37
|
+
repeated TrendCoinDto data = 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message TrendCoinAdminChangeRequest {
|
|
41
|
+
string symbol = 1;
|
|
42
|
+
string coin_rank = 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message InflowOutflowTableData {
|
|
8
|
+
string cmc_id = 1;
|
|
9
|
+
string symbol = 2;
|
|
10
|
+
double price = 3;
|
|
11
|
+
double market_cap = 4;
|
|
12
|
+
double flows_usd_5m = 5;
|
|
13
|
+
double price_change_percent_5m = 6;
|
|
14
|
+
double vol_usd_5m = 7;
|
|
15
|
+
double flows_usd_15m = 8;
|
|
16
|
+
double price_change_percent_15m = 9;
|
|
17
|
+
double vol_usd_15m = 10;
|
|
18
|
+
double flows_usd_30m = 11;
|
|
19
|
+
double price_change_percent_30m = 12;
|
|
20
|
+
double vol_usd_30m = 13;
|
|
21
|
+
double flows_usd_1h = 14;
|
|
22
|
+
double price_change_percent_1h = 15;
|
|
23
|
+
double vol_usd_1h = 16;
|
|
24
|
+
double flows_usd_4h = 17;
|
|
25
|
+
double price_change_percent_4h = 18;
|
|
26
|
+
double vol_usd_4h = 19;
|
|
27
|
+
double flows_usd_12h = 20;
|
|
28
|
+
double price_change_percent_12h = 21;
|
|
29
|
+
double vol_usd_12h = 22;
|
|
30
|
+
double flows_usd_24h = 23;
|
|
31
|
+
double price_change_percent_24h = 24;
|
|
32
|
+
double vol_usd_24h = 25;
|
|
33
|
+
double flows_usd_1w = 26;
|
|
34
|
+
double price_change_percent_1w = 27;
|
|
35
|
+
double vol_usd_1w = 28;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message InflowOutflowResponse {
|
|
39
|
+
ResponseStatus status = 1;
|
|
40
|
+
PaginationMetaResult pagination = 2;
|
|
41
|
+
repeated InflowOutflowTableData data = 3;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message OnChainInflowOutflowTableData {
|
|
45
|
+
string cmc_id = 1;
|
|
46
|
+
string tx_hash = 2;
|
|
47
|
+
string symbol = 3;
|
|
48
|
+
int64 usd= 4;
|
|
49
|
+
int64 amount = 5;
|
|
50
|
+
string ex_name = 6;
|
|
51
|
+
string side = 7;
|
|
52
|
+
string from = 8;
|
|
53
|
+
string to = 9;
|
|
54
|
+
string date = 10;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message OnChainInflowOutflowResponse {
|
|
58
|
+
ResponseStatus status = 1;
|
|
59
|
+
PaginationMetaResult pagination = 2;
|
|
60
|
+
repeated OnChainInflowOutflowTableData data = 3;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message InflwoOutflowHistoricalResponse {
|
|
64
|
+
ResponseStatus status = 1;
|
|
65
|
+
repeated InflwoOutflowHistoricalTableData data = 2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
message InflowOutflowHistoricalRequest {
|
|
69
|
+
string symbol = 1;
|
|
70
|
+
string interval = 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message InflwoOutflowHistoricalTableData {
|
|
74
|
+
string date = 1;
|
|
75
|
+
double price = 2;
|
|
76
|
+
double net_flow = 3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message InflowOutflowCoinsListResponse {
|
|
80
|
+
ResponseStatus status = 1;
|
|
81
|
+
repeated string data = 2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package micro.v1.data;
|
|
3
|
+
import "micro/v1/general.proto";
|
|
4
|
+
|
|
5
|
+
message y {
|
|
6
|
+
string price = 1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message liq {
|
|
10
|
+
string xaxis = 1;
|
|
11
|
+
string yaxis = 2;
|
|
12
|
+
string liquidationValue = 3;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message price {
|
|
16
|
+
string timestamp = 1;
|
|
17
|
+
string open = 2;
|
|
18
|
+
string high = 3;
|
|
19
|
+
string low = 4;
|
|
20
|
+
string close = 5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message LiquidationHeatMapM2Dto {
|
|
24
|
+
string code = 1;
|
|
25
|
+
string msg = 2;
|
|
26
|
+
repeated y y = 3;
|
|
27
|
+
repeated liq liq = 4;
|
|
28
|
+
repeated price prices = 5;
|
|
29
|
+
string updateTime = 6;
|
|
30
|
+
string success = 7;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
message LiquidationHeatMapM2RequestDto {
|
|
34
|
+
string symbol = 1;
|
|
35
|
+
string period = 2;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message LiquidationHeatMapCoinListResponseDto {
|
|
39
|
+
string id = 1;
|
|
40
|
+
string symbol = 2;
|
|
41
|
+
string name = 3;
|
|
42
|
+
string sixMonthsExist = 4;
|
|
43
|
+
string oneYearExist = 5;
|
|
44
|
+
string createdAt = 6;
|
|
45
|
+
string updatedAt = 7;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message LiquidationHeatMapCoinListResponse {
|
|
49
|
+
string code = 1;
|
|
50
|
+
string msg = 2;
|
|
51
|
+
repeated LiquidationHeatMapCoinListResponseDto data = 3;
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package micro.v1.data;
|
|
3
|
+
import "micro/v1/general.proto";
|
|
4
|
+
|
|
5
|
+
message LiquidationV1ExchangesDto {
|
|
6
|
+
float liquidationUsd = 1;
|
|
7
|
+
float longLiquidationUsd = 2;
|
|
8
|
+
float shortLiquidationUsd = 3;
|
|
9
|
+
float rate = 4;
|
|
10
|
+
float liquidationRate = 5;
|
|
11
|
+
string liquidationRateName = 6;
|
|
12
|
+
string exchange = 7;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message LiquidationV1ExchangeRequest{
|
|
16
|
+
string coin = 1;
|
|
17
|
+
string period = 2;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message LiquidationV1ExchangeResponse {
|
|
21
|
+
ResponseStatus status = 1;
|
|
22
|
+
repeated LiquidationV1ExchangesDto data = 2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message RektDto {
|
|
26
|
+
float total = 1;
|
|
27
|
+
float long = 2;
|
|
28
|
+
float short = 3;
|
|
29
|
+
string period = 4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message LiquidationV1RektResponse {
|
|
33
|
+
ResponseStatus status = 1;
|
|
34
|
+
repeated RektDto data = 2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message LiquidationV1CoinListResponse {
|
|
38
|
+
ResponseStatus status = 1;
|
|
39
|
+
repeated string data = 2;
|
|
40
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message PuellMultipleDto {
|
|
8
|
+
float buy_qty = 1;
|
|
9
|
+
string create_time = 2;
|
|
10
|
+
float price = 3;
|
|
11
|
+
float puell_multiple = 4;
|
|
12
|
+
float sell_qty = 5;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message PuellMultipleResponse {
|
|
16
|
+
ResponseStatus status = 1;
|
|
17
|
+
repeated PuellMultipleDto data = 2;
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
import "micro/v1/data/exchanges_messages.proto";
|
|
7
|
+
|
|
8
|
+
message ExchangesMicroResponse {
|
|
9
|
+
ResponseStatus status = 1;
|
|
10
|
+
repeated ExchangesMicroDto data = 2;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message ExchangesMicroDto {
|
|
14
|
+
string id = 1;
|
|
15
|
+
string urlId = 2;
|
|
16
|
+
string coinmarketcapId = 3;
|
|
17
|
+
string coinmarketcapUrlId = 4;
|
|
18
|
+
string coingeckoId = 5;
|
|
19
|
+
string coingeckoUrlId = 6;
|
|
20
|
+
string coinglassId = 7;
|
|
21
|
+
string name = 8;
|
|
22
|
+
string symbol = 9;
|
|
23
|
+
string exchangeUrl = 10;
|
|
24
|
+
bool isDetailed = 11;
|
|
25
|
+
bool isAiDetailed = 12;
|
|
26
|
+
int32 rank = 13;
|
|
27
|
+
ExchangeType type = 14;
|
|
28
|
+
}
|
|
29
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message RsiListDto {
|
|
8
|
+
string symbol = 1;
|
|
9
|
+
float rsi_15m = 2;
|
|
10
|
+
float rsi_1h = 3;
|
|
11
|
+
float rsi_4h = 4;
|
|
12
|
+
float rsi_12h = 5;
|
|
13
|
+
float rsi_24h = 6;
|
|
14
|
+
float rsi_1w = 7;
|
|
15
|
+
float price_change_percent_15m = 8;
|
|
16
|
+
float price_change_percent_1h = 9;
|
|
17
|
+
float price_change_percent_4h = 10;
|
|
18
|
+
float price_change_percent_12h = 11;
|
|
19
|
+
float price_change_percent_24h = 12;
|
|
20
|
+
float price_change_percent_1w = 13;
|
|
21
|
+
float price = 14;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message RsiListResponse {
|
|
25
|
+
ResponseStatus status = 1;
|
|
26
|
+
repeated RsiListDto data = 2;
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message ScrapeAssetsDto {
|
|
8
|
+
string rank = 1;
|
|
9
|
+
string movement = 2;
|
|
10
|
+
string icon = 3;
|
|
11
|
+
string name = 4;
|
|
12
|
+
string symbol = 5;
|
|
13
|
+
string assetClass = 6;
|
|
14
|
+
string marketCap = 7;
|
|
15
|
+
string price = 8;
|
|
16
|
+
string change24h = 9;
|
|
17
|
+
string change7d = 10;
|
|
18
|
+
string graph = 11;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message ScrapeAssetsResponse {
|
|
22
|
+
ResponseStatus status = 1;
|
|
23
|
+
repeated ScrapeAssetsDto data = 2;
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message PublicCompaniesDto {
|
|
8
|
+
string rank = 1;
|
|
9
|
+
string flag_icon = 2;
|
|
10
|
+
string name = 3;
|
|
11
|
+
string bitcoin = 4;
|
|
12
|
+
string in_usd = 5;
|
|
13
|
+
string market_cap = 6;
|
|
14
|
+
string enterprise_value = 7;
|
|
15
|
+
string btc_share = 8;
|
|
16
|
+
string cost_basis = 9;
|
|
17
|
+
string ngu = 10;
|
|
18
|
+
string mnav = 11;
|
|
19
|
+
string m_cap = 12;
|
|
20
|
+
string m_21m = 13;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message OtherEntitiesDto {
|
|
24
|
+
string rank = 1;
|
|
25
|
+
string flag_icon = 2;
|
|
26
|
+
string name = 3;
|
|
27
|
+
string bitcoin = 4;
|
|
28
|
+
string is_usd = 5;
|
|
29
|
+
string m_21m = 6;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message TableDto {
|
|
33
|
+
repeated PublicCompaniesDto public_companies = 1;
|
|
34
|
+
repeated OtherEntitiesDto private_companies = 2;
|
|
35
|
+
repeated OtherEntitiesDto governments = 3;
|
|
36
|
+
repeated OtherEntitiesDto etfs_and_exchanges = 4;
|
|
37
|
+
repeated OtherEntitiesDto defi_and_other = 5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message ScrapeTreasuriesResponse {
|
|
41
|
+
ResponseStatus status = 1;
|
|
42
|
+
TableDto data = 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
import "micro/v1/data/funding_rate_messages.proto";
|
|
7
|
+
import "micro/v1/data/homepage_messages.proto";
|
|
8
|
+
import "micro/v1/data/exchanges_messages.proto";
|
|
9
|
+
import "micro/v1/data/dominance_messages.proto";
|
|
10
|
+
import "micro/v1/data/puell_multiple_messages.proto";
|
|
11
|
+
import "micro/v1/data/global_stats_messages.proto";
|
|
12
|
+
import "micro/v1/data/inflow_outflow_messages.proto";
|
|
13
|
+
import "micro/v1/data/rainbow_messages.proto";
|
|
14
|
+
import "micro/v1/data/daily_market_data_messages.proto";
|
|
15
|
+
import "micro/v1/data/mvrvz_score_messages.proto";
|
|
16
|
+
import "micro/v1/data/two_year_ma_multipler_messages.proto";
|
|
17
|
+
import "micro/v1/data/rsi_list_messages.proto";
|
|
18
|
+
import "micro/v1/data/liquidation_heat_map_m2_messages.proto";
|
|
19
|
+
import "micro/v1/data/two_hundred_week_moving_average_messages.proto";
|
|
20
|
+
import "micro/v1/data/puppeteer_messages.proto";
|
|
21
|
+
import "micro/v1/data/scrape_assets_messages.proto";
|
|
22
|
+
import "micro/v1/data/scrape_treasuries_messages.proto";
|
|
23
|
+
import "micro/v1/data/liquidation_v1_messages.proto";
|
|
24
|
+
|
|
25
|
+
service PFundingRateService {
|
|
26
|
+
rpc FundingRateTable(EmptyRequest) returns(stream FundingRateTableResponse) {}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
service PHomepageService {
|
|
30
|
+
rpc IncreasingDecreasing(EmptyRequest) returns(stream HomepageDataResponse) {}
|
|
31
|
+
rpc TrendingCoins(EmptyRequest) returns(stream TrendCoinDataResponse) {}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
service PExchangesService {
|
|
35
|
+
rpc CryptoExchangesTable(PaginateRequest) returns(stream CryptoExchangesResponse) {}
|
|
36
|
+
rpc DecentralizedExchangesTable(PaginateRequest) returns(stream DecentralizedExchangesResponse) {}
|
|
37
|
+
rpc AnalyticsExchangeCoins(ByIdRequest) returns(stream AnalyticsExchangeCoinsResponse) {}
|
|
38
|
+
rpc ExchangeCoins(PaginateRequest) returns(stream ExchangeCoinsResponse) {}
|
|
39
|
+
rpc CryptoExchangeDetails(ByIdRequest) returns(stream CryptoExchangeDetailsResponse) {}
|
|
40
|
+
rpc DecentralizedExchangeDetails(ByIdRequest) returns(stream DecentralizedExchangeDetailsResponse) {}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
service PDominanceService {
|
|
44
|
+
rpc GetDominance(EmptyRequest) returns(stream DominanceResponse) {}
|
|
45
|
+
rpc GetDominanceHistory(DominanceHistoryRequest) returns(stream DominanceHistoryResponse) {}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
service PPuellMultipleService {
|
|
49
|
+
rpc GetPuellMultiple(EmptyRequest) returns(stream PuellMultipleResponse) {}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
service PGlobalStatsService {
|
|
53
|
+
rpc GetGlobalStats(EmptyRequest) returns(stream GlobalStatsDto) {}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
service PMvrvzScoreService {
|
|
57
|
+
rpc GetMvrvzScore(EmptyRequest) returns(stream MvrvzScoreDto) {}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
service PLiquidationHeatMapM2Service {
|
|
61
|
+
rpc GetLiquidationHeatMapM2(LiquidationHeatMapM2RequestDto) returns(stream LiquidationHeatMapM2Dto) {}
|
|
62
|
+
rpc GetLiquidationHeatMapM2CoinList(EmptyRequest) returns(stream LiquidationHeatMapCoinListResponse) {}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
service PInflowOutflowService {
|
|
66
|
+
rpc GetInflowOutflowTable(EmptyRequest) returns(stream InflowOutflowResponse) {}
|
|
67
|
+
rpc GetOnChainInflowOutflow(EmptyRequest) returns(stream OnChainInflowOutflowResponse) {}
|
|
68
|
+
rpc GetInflowOutflowHistorical(InflowOutflowHistoricalRequest) returns(stream InflwoOutflowHistoricalResponse) {}
|
|
69
|
+
rpc GetInflowOutflowCoinsList(EmptyRequest) returns(stream InflowOutflowCoinsListResponse) {}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
service PRainbowService {
|
|
73
|
+
rpc GetRainbow(EmptyRequest) returns(stream RainbowResponse) {}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
service PTwoYearMaMultiplerService {
|
|
77
|
+
rpc GetTwoYearMaMultipler(EmptyRequest) returns(stream TwoYearMaMultiplerResponse) {}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
service PRsiListService {
|
|
81
|
+
rpc GetRsiList(EmptyRequest) returns(stream RsiListResponse) {}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
service PPuppeteerMicroservice {
|
|
85
|
+
rpc GetExchangesMicro(EmptyRequest) returns(stream ExchangesMicroResponse) {}
|
|
86
|
+
rpc GetExchangesSeedMicro(EmptyRequest) returns(stream ExchangesMicroResponse) {}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
service PTwoHundredWeekMovingAverageService {
|
|
90
|
+
rpc GetTwoHundredWeekMovingAverage(EmptyRequest) returns (stream TwoHundredWeekMovingAverageDto) {}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
service PTrendCoinChangeAdminService {
|
|
94
|
+
rpc ChangeTrendCoinAdmin(TrendCoinAdminChangeRequest) returns(stream TrendCoinDataResponse) {}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
service PScrapeAssetsService {
|
|
98
|
+
rpc GetScrapeAssets(EmptyRequest) returns(stream ScrapeAssetsResponse) {}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
service PScrapeTreasuriesService {
|
|
102
|
+
rpc GetScrapeTreasuries(EmptyRequest) returns(stream ScrapeTreasuriesResponse) {}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
service PLiquidationV1Service {
|
|
106
|
+
rpc GetLiquidationV1Exchanges(LiquidationV1ExchangeRequest) returns(stream LiquidationV1ExchangeResponse) {}
|
|
107
|
+
rpc GetLiquidationV1Rekt(EmptyRequest) returns(stream LiquidationV1RektResponse) {}
|
|
108
|
+
rpc GetLiquidationV1CoinList(EmptyRequest) returns(stream LiquidationV1CoinListResponse) {}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
service PDailyMarketDataAdminService {
|
|
112
|
+
rpc ChangeDailyMarketDataAdmin(DailyMarketDataRequest) returns(stream DailyMarketDataResponse) {}
|
|
113
|
+
rpc GetDailyMarketDataAdmin(EmptyRequest) returns(stream DailyMarketDataResponse) {}
|
|
114
|
+
rpc DeleteDailyMarketDataAdmin(DailyMarketDataRequest) returns(stream EmptyResponse) {}
|
|
115
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.data;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message TokenUnlockDto {
|
|
8
|
+
string id = 1;
|
|
9
|
+
string name = 2;
|
|
10
|
+
string symbol = 3;
|
|
11
|
+
string coinmarketcap_id = 4;
|
|
12
|
+
string coinmarketcap_url = 5;
|
|
13
|
+
double price = 6;
|
|
14
|
+
double price_change_24h = 7;
|
|
15
|
+
double market_cap = 8;
|
|
16
|
+
double circulating_supply = 9;
|
|
17
|
+
string next_unlock = 10;
|
|
18
|
+
string next_unlock_date = 11;
|
|
19
|
+
double unlock_progress = 12;
|
|
20
|
+
string total_locked = 13;
|
|
21
|
+
double total_locked_value = 14;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message TokenUnlockDetailDto {
|
|
25
|
+
string id = 1;
|
|
26
|
+
string token_unlock_id = 2;
|
|
27
|
+
string coinmarketcap_id = 3;
|
|
28
|
+
string type = 4;
|
|
29
|
+
string label = 5;
|
|
30
|
+
map<string, string> label_translations = 6;
|
|
31
|
+
double amount = 7;
|
|
32
|
+
double percentage = 8;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message TokenUnlockPaginationRequest {
|
|
36
|
+
int32 page = 1;
|
|
37
|
+
int32 per_page = 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message GetTokenUnlockDetailRequest {
|
|
41
|
+
string coinmarketcap_id = 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message GetTokenUnlockDetailResponse {
|
|
45
|
+
ResponseStatus status = 1;
|
|
46
|
+
TokenUnlockDto token_unlock = 2;
|
|
47
|
+
repeated TokenUnlockDetailDto details = 3;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message TokenUnlockPaginationResponse {
|
|
51
|
+
ResponseStatus status = 1;
|
|
52
|
+
PaginationMetaResult pagination = 2;
|
|
53
|
+
repeated TokenUnlockDto data = 3;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message TokenUnlockDetailResponse {
|
|
57
|
+
ResponseStatus status = 1;
|
|
58
|
+
TokenUnlockDto token_unlock = 2;
|
|
59
|
+
repeated TokenUnlockDetailDto details = 3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
service TokenUnlocksService {
|
|
63
|
+
rpc GetTokenUnlocks(TokenUnlockPaginationRequest) returns (stream TokenUnlockPaginationResponse) {}
|
|
64
|
+
rpc GetTokenUnlockDetail(GetTokenUnlockDetailRequest) returns (stream GetTokenUnlockDetailResponse) {}
|
|
65
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package micro.v1.data;
|
|
3
|
+
import "micro/v1/general.proto";
|
|
4
|
+
|
|
5
|
+
message TwoHundredWeekMovingAverage {
|
|
6
|
+
int32 buyQty = 1;
|
|
7
|
+
string createTime = 2;
|
|
8
|
+
float price = 3;
|
|
9
|
+
float mA1440 = 4;
|
|
10
|
+
float mA1440IP = 5;
|
|
11
|
+
int32 sellQty = 6;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message TwoHundredWeekMovingAverageDto {
|
|
15
|
+
string code = 1;
|
|
16
|
+
string msg = 2;
|
|
17
|
+
repeated TwoHundredWeekMovingAverage data = 3;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package micro.v1.data;
|
|
5
|
+
|
|
6
|
+
import "micro/v1/general.proto";
|
|
7
|
+
|
|
8
|
+
message TwoYearMaMultiplerData {
|
|
9
|
+
float buy_qty = 1;
|
|
10
|
+
string create_time = 2;
|
|
11
|
+
float price = 3;
|
|
12
|
+
float ma_730_mu_5 = 4;
|
|
13
|
+
float ma_730 = 5;
|
|
14
|
+
float sell_qty = 6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message TwoYearMaMultiplerResponse {
|
|
18
|
+
ResponseStatus status = 1;
|
|
19
|
+
repeated TwoYearMaMultiplerData data = 2;
|
|
20
|
+
}
|