Merge pull request #1858 from hexlorn/feature/display-market-prices-apis

Add market price sources to coordinator summary accordion
This commit is contained in:
KoalaSat
2025-04-13 09:13:43 +00:00
committed by GitHub
19 changed files with 32 additions and 0 deletions

View File

@ -47,6 +47,7 @@ import {
VolunteerActivism, VolunteerActivism,
Circle, Circle,
Flag, Flag,
ApiOutlined,
} from '@mui/icons-material'; } from '@mui/icons-material';
import LinkIcon from '@mui/icons-material/Link'; import LinkIcon from '@mui/icons-material/Link';
@ -695,6 +696,19 @@ const CoordinatorDialog = ({ open = false, onClose, shortAlias }: Props): JSX.El
secondary={t('24h non-KYC bitcoin premium')} secondary={t('24h non-KYC bitcoin premium')}
/> />
</ListItem> </ListItem>
<Divider />
<ListItem {...listItemProps}>
<ListItemIcon>
<ApiOutlined />
</ListItemIcon>
<ListItemText
primary={coordinator?.info?.market_price_apis}
secondary={t('Market price sources (for multiple the median is calculated)')}
/>
</ListItem>
</List> </List>
</AccordionDetails> </AccordionDetails>
</Accordion> </Accordion>

View File

@ -58,6 +58,7 @@ export interface Info {
openUpdateClient: boolean; openUpdateClient: boolean;
notice_severity: 'none' | 'warning' | 'error' | 'success' | 'info'; notice_severity: 'none' | 'warning' | 'error' | 'success' | 'info';
notice_message: string; notice_message: string;
market_price_apis: string;
loading: boolean; loading: boolean;
} }

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Volum contractat total", "Lifetime contracted volume": "Volum contractat total",
"Loved by robots: receives positive comments by robots over the internet.": "Adorat pels robots: rep comentaris positius per part dels robots a través d'Internet.", "Loved by robots: receives positive comments by robots over the internet.": "Adorat pels robots: rep comentaris positius per part dels robots a través d'Internet.",
"Maker fee": "Comissió del creador", "Maker fee": "Comissió del creador",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Canal de Matrix copiat! {{matrix}}", "Matrix channel copied! {{matrix}}": "Canal de Matrix copiat! {{matrix}}",
"Maximum onchain swap size": "Mida màxima del swap onchain", "Maximum onchain swap size": "Mida màxima del swap onchain",
"Maximum order size": "Mida màxima de l'ordre", "Maximum order size": "Mida màxima de l'ordre",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Zobchodované množství od spuštění", "Lifetime contracted volume": "Zobchodované množství od spuštění",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Poplatek tvůrce", "Maker fee": "Poplatek tvůrce",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Handelsvolumen insgesamt", "Lifetime contracted volume": "Handelsvolumen insgesamt",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Makergebühr", "Maker fee": "Makergebühr",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Lifetime contracted volume", "Lifetime contracted volume": "Lifetime contracted volume",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Maker fee", "Maker fee": "Maker fee",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Volumen de los contratos total", "Lifetime contracted volume": "Volumen de los contratos total",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Comisión del creador", "Maker fee": "Comisión del creador",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Guztira kontratatutako bolumena", "Lifetime contracted volume": "Guztira kontratatutako bolumena",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Egile kuota", "Maker fee": "Egile kuota",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Volume contracté total", "Lifetime contracted volume": "Volume contracté total",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Frais du createur", "Maker fee": "Frais du createur",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Volume scambiato in totale", "Lifetime contracted volume": "Volume scambiato in totale",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Commissione dell'offerente", "Maker fee": "Commissione dell'offerente",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "契約総額", "Lifetime contracted volume": "契約総額",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "メーカー手数料", "Maker fee": "メーカー手数料",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Zakontraktowana wielkość dożywotnia", "Lifetime contracted volume": "Zakontraktowana wielkość dożywotnia",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Opłata producenta", "Maker fee": "Opłata producenta",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Volume contratado desde o princípio", "Lifetime contracted volume": "Volume contratado desde o princípio",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Taxa do criador", "Maker fee": "Taxa do criador",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Объём контрактов за всё время", "Lifetime contracted volume": "Объём контрактов за всё время",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Комиссия мейкера", "Maker fee": "Комиссия мейкера",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Total kontrakterad volym", "Lifetime contracted volume": "Total kontrakterad volym",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Makeravgift", "Maker fee": "Makeravgift",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "Kiasi cha maisha kilichoidhinishwa", "Lifetime contracted volume": "Kiasi cha maisha kilichoidhinishwa",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Ada ya Muunda", "Maker fee": "Ada ya Muunda",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "ปริมาณการซื้อขายตั้งแต่ก่อตั้งแพล้ตฟอร์ม", "Lifetime contracted volume": "ปริมาณการซื้อขายตั้งแต่ก่อตั้งแพล้ตฟอร์ม",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "ค่าธรรมเนียม Maker", "Maker fee": "ค่าธรรมเนียม Maker",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "终身合约量", "Lifetime contracted volume": "终身合约量",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "挂单方费用", "Maker fee": "挂单方费用",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",

View File

@ -265,6 +265,7 @@
"Lifetime contracted volume": "終身合約量", "Lifetime contracted volume": "終身合約量",
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.", "Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "掛單方費用", "Maker fee": "掛單方費用",
"Market price sources (for multiple the median is calculated)": "Market price sources (for multiple the median is calculated)",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}", "Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size", "Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size", "Maximum order size": "Maximum order size",