From 55fe097d563e7ab3b0e2530af52af2da0c023c79 Mon Sep 17 00:00:00 2001 From: Matic Conradi Date: Tue, 21 May 2024 13:48:43 +0200 Subject: [PATCH] Added two new satellites --- build/deployment.yaml | 10 ++++++++++ src/config.rs | 8 +++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/build/deployment.yaml b/build/deployment.yaml index ca1a465..ad0d12d 100644 --- a/build/deployment.yaml +++ b/build/deployment.yaml @@ -751,5 +751,15 @@ spec: secretKeyRef: name: alpha-satellite-tokens key: ID_1238607565676351529 + - name: ID_1242439805657415731 + valueFrom: + secretKeyRef: + name: alpha-satellite-tokens + key: ID_1242439805657415731 + - name: ID_1242440601362894880 + valueFrom: + secretKeyRef: + name: alpha-satellite-tokens + key: ID_1242440601362894880 ports: - containerPort: 6911 \ No newline at end of file diff --git a/src/config.rs b/src/config.rs index a04a34a..32a4051 100644 --- a/src/config.rs +++ b/src/config.rs @@ -4,8 +4,8 @@ pub const PROJECT: &str = "nlc-bot-36685"; pub const FREE_THRESHOLD: u32 = 10; pub const REQUEST_REFRESH_SECONDS: u64 = 60 * 15; -pub const SATELLITES: [&str; 111] = [ - "751080162300526653", "751080770243657779", "709850457467650138", "709891252530970711", "710074695495712788", "710074767784280127", "710074859815698553", "710074952153301022", "710075001403080714", "710075054356037663", "738420614574112868", "738429177413500960", "738429689810518036", "739085555186532384", "739107100126478337", "739107866111377429", "739108704170803283", "739413924868522086", "743432577553006664", "743433528964022383", "743440072522727514", "743453643004575774", "743456887692984422", "743461822467932291", "745319169775632404", "745379499570495629", "745395371924127825", "751081142580412546", "751081514178969670", "751488841822634116", "751489005018677351", "752207000728895590", "753250930022940702", "774377137515134996", "786986778430799872", "786988356852383794", "787004889019580436", "787714760074199080", "787715515518156811", "788087979671289866", "799586219285282816", "799586397979410432", "799586605106331719", "799600802322186281", "799600878470299659", "800307532366741504", "800307918242709504", "802500457142157312", "802649161928540200", "802649221260902451", "802649315100721192", "802649384193097779", "802649469488201748", "802649532705013801", "802649628716564501", "802649693862887466", "802649746791596062", "805157874887819325", "809728857573163059", "809728957293002752", "809729046661431306", "809729141112700968", "830786058165289000", "830830456433278986", "834009937242882079", "837610492028780544", "837610857394995220", "837611716556357672", "837624778897883146", "837624891977105418", "842060571687780363", "842061917555785728", "842317900034473986", "842401105614471179", "842401151815254057", "842401260710658098", "842401341389406218", "842401422087553115", "952620224476229632", "952621342203715655", "978658777349910628", "979840523160408114", "1017784552929890395", "1034089749247443064", "1092127867334316205", "1092128010242629754", "1101942870832848906", "1102222771280420904", "1109849106773463193", "1113175913870409738", "1113176092296097854", "1121112620439703723", "1121112828003238028", "1121112983305715923", "1130037256661512242", "1161623718733299762", "1166362320964943982", "1205797816111210517", "1213818330591531099", "1216094733223334028", "1216094587215413368", "1219014344583418009", "1228027269675487232", "1228028031306698834", "1228029687889133609", "1234096647135559693", "1234096714076520449", "1234096758351462471", "1235643059669172234", "1238555265696268308", "1238607565676351529" +pub const SATELLITES: [&str; 113] = [ + "751080162300526653", "751080770243657779", "709850457467650138", "709891252530970711", "710074695495712788", "710074767784280127", "710074859815698553", "710074952153301022", "710075001403080714", "710075054356037663", "738420614574112868", "738429177413500960", "738429689810518036", "739085555186532384", "739107100126478337", "739107866111377429", "739108704170803283", "739413924868522086", "743432577553006664", "743433528964022383", "743440072522727514", "743453643004575774", "743456887692984422", "743461822467932291", "745319169775632404", "745379499570495629", "745395371924127825", "751081142580412546", "751081514178969670", "751488841822634116", "751489005018677351", "752207000728895590", "753250930022940702", "774377137515134996", "786986778430799872", "786988356852383794", "787004889019580436", "787714760074199080", "787715515518156811", "788087979671289866", "799586219285282816", "799586397979410432", "799586605106331719", "799600802322186281", "799600878470299659", "800307532366741504", "800307918242709504", "802500457142157312", "802649161928540200", "802649221260902451", "802649315100721192", "802649384193097779", "802649469488201748", "802649532705013801", "802649628716564501", "802649693862887466", "802649746791596062", "805157874887819325", "809728857573163059", "809728957293002752", "809729046661431306", "809729141112700968", "830786058165289000", "830830456433278986", "834009937242882079", "837610492028780544", "837610857394995220", "837611716556357672", "837624778897883146", "837624891977105418", "842060571687780363", "842061917555785728", "842317900034473986", "842401105614471179", "842401151815254057", "842401260710658098", "842401341389406218", "842401422087553115", "952620224476229632", "952621342203715655", "978658777349910628", "979840523160408114", "1017784552929890395", "1034089749247443064", "1092127867334316205", "1092128010242629754", "1101942870832848906", "1102222771280420904", "1109849106773463193", "1113175913870409738", "1113176092296097854", "1121112620439703723", "1121112828003238028", "1121112983305715923", "1130037256661512242", "1161623718733299762", "1166362320964943982", "1205797816111210517", "1213818330591531099", "1216094733223334028", "1216094587215413368", "1219014344583418009", "1228027269675487232", "1228028031306698834", "1228029687889133609", "1234096647135559693", "1234096714076520449", "1234096758351462471", "1235643059669172234", "1238555265696268308", "1238607565676351529", "1242439805657415731", "1242440601362894880" ]; pub static CONFIGURATION: Map<&'static str, (&'static str, Option<&'static str>, &'static str)> = phf_map! { @@ -119,5 +119,7 @@ pub static CONFIGURATION: Map<&'static str, (&'static str, Option<&'static str>, "1234096758351462471" => ("CoinGecko", None, "SOLUSD.D"), "1235643059669172234" => ("CoinGecko", None, "USDTUSD.D"), "1238555265696268308" => ("CoinGecko", None, "BRETTUSD"), - "1238607565676351529" => ("On-Chain", Some("base"), "0x3b933917c138cdd3d3ef6ec13223840c1007d075") + "1238607565676351529" => ("On-Chain", Some("base"), "0x3b933917c138cdd3d3ef6ec13223840c1007d075"), + "1242439805657415731" => ("CCXT", Some("binance"), "ETHBTC"), + "1242440601362894880" => ("CoinGecko", None, "WSDMUSD") }; \ No newline at end of file