Add size limits and onchain swap status to coordinator prof

This commit is contained in:
Reckless_Satoshi 2024-02-11 17:17:06 +00:00
parent 683cca6900
commit 035cf281c2
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
20 changed files with 132 additions and 14 deletions

View File

@ -799,7 +799,7 @@ class InfoView(viewsets.ViewSet):
context["min_order_size"] = config("MIN_ORDER_SIZE", cast=int, default=20000)
context["max_order_size"] = config("MAX_ORDER_SIZE", cast=int, default=250000)
context["swap_enabled"] = not config("DISABLE_ONCHAIN", cast=bool, default=True)
context["max_swap"] = config("MAX_SWAP_ALLOWED", cast=int, default=0)
context["max_swap"] = config("MAX_SWAP_AMOUNT", cast=int, default=0)
try:
context["current_swap_fee_rate"] = Logics.compute_swap_fee_rate(

View File

@ -45,6 +45,7 @@ import {
Tag,
Web,
VolunteerActivism,
Circle,
} from '@mui/icons-material';
import LinkIcon from '@mui/icons-material/Link';
@ -244,9 +245,10 @@ const ContactButtons = ({
interface BadgesProps {
badges: Badges | undefined;
size_limit: number | undefined;
}
const BadgesHall = ({ badges }: BadgesProps): JSX.Element => {
const BadgesHall = ({ badges, size_limit }: BadgesProps): JSX.Element => {
const { t } = useTranslation();
const sxProps = {
width: '3em',
@ -327,13 +329,13 @@ const BadgesHall = ({ badges }: BadgesProps): JSX.Element => {
{...tooltipProps}
title={
<Typography align='center' variant='body2'>
{badges?.hasLargeLimits === true
{size_limit > 3000000
? t('Large limits: the coordinator has large trade limits.')
: t('Does not have large trade limits.')}
</Typography>
}
>
<Grid item sx={{ filter: badges?.hasLargeLimits === true ? undefined : 'grayscale(100%)' }}>
<Grid item sx={{ filter: size_limit > 3000000 ? undefined : 'grayscale(100%)' }}>
<BadgeLimits sx={sxProps} />
</Grid>
</Tooltip>
@ -428,7 +430,7 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props
</ListItem>
)}
<ListItem>
<BadgesHall badges={coordinator?.badges} />
<BadgesHall badges={coordinator?.badges} size_limit={coordinator?.size_limit} />
</ListItem>
<ListItem>
@ -507,6 +509,19 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props
</AccordionSummary>
<AccordionDetails sx={{ padding: 0 }}>
<List dense>
<ListItem {...listItemProps}>
<ListItemIcon>
<Circle />
</ListItemIcon>
<ListItemText
primary={`${pn(
Math.min(coordinator?.size_limit, coordinator?.info?.max_order_size),
)} Sats`}
secondary={t('Maximum order size')}
/>
</ListItem>
<Divider />
<ListItem {...listItemProps}>
<ListItemIcon>
@ -530,16 +545,47 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props
<Divider />
<ListItem {...listItemProps}>
<ListItemIcon>
<LinkIcon />
</ListItemIcon>
{coordinator?.info?.swap_enabled === false ? (
<ListItem {...listItemProps}>
<ListItemIcon>
<LinkIcon />
</ListItemIcon>
<ListItemText
primary={`${coordinator?.info?.current_swap_fee_rate.toPrecision(3)}%`}
secondary={t('Current onchain payout fee')}
/>
</ListItem>
<ListItemText
primary={t('Onchain payouts disabled')}
primaryTypographyProps={{ color: 'red' }}
secondary={t('Current onchain payout status')}
/>
</ListItem>
) : (
<>
<ListItem {...listItemProps}>
<ListItemIcon>
<LinkIcon />
</ListItemIcon>
<ListItemText
primary={`${coordinator?.info?.current_swap_fee_rate.toPrecision(3)}%`}
secondary={t('Current onchain payout fee')}
/>
</ListItem>
<ListItem {...listItemProps}>
<ListItemIcon />
<ListItemText
primary={`${pn(
Math.min(
coordinator?.size_limit,
coordinator?.info?.max_order_size,
coordinator?.info?.max_swap,
),
)} Sats`}
secondary={t('Maximum onchain swap size')}
/>
</ListItem>
</>
)}
<Divider />

View File

@ -58,6 +58,10 @@ export interface Info {
maker_fee: number;
taker_fee: number;
bond_size: number;
min_order_size: number;
max_order_size: number;
swap_enabled: boolean;
max_swap: number;
current_swap_fee_rate: number;
network: 'mainnet' | 'testnet' | undefined;
openUpdateClient: boolean;

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Cost actual de rebre onchain",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Comissió del creador",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Ordres de compra públiques",
"Public sell orders": "Ordres de venta públiques",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Současný poplatek za vyplacení na onchain ",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Veřejné nákupní nabídky",
"Public sell orders": "Veřejné prodejní nabídky",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Current onchain payout fee",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Öffentliche Kaufangebote",
"Public sell orders": "Öffentliche Verkaufsangebote",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Current onchain payout fee",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Public buy orders",
"Public sell orders": "Public sell orders",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Coste actual de recibir onchain",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Órdenes de compra públicas",
"Public sell orders": "Órdenes de venta públicas",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Oraingo onchain jasotze-kuota",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Erosketa eskaera publikoak",
"Public sell orders": "Salmenta eskaera publikoak",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Frais de paiement actuels de la chaîne",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Ordres d'achat publics",
"Public sell orders": "Ordres de vente publics",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Attuale tariffa di pagamento onchain",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Ordini di acquisto pubblici",
"Public sell orders": "Ordini di vendita pubblici",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "現在のオンチェーン支払手数料",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "メーカー手数料",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "公開買い注文",
"Public sell orders": "公開売り注文",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Current onchain payout fee",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Publiczne zamówienia kupna",
"Public sell orders": "Zlecenia sprzedaży publicznej",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Taxa de pagamento onchain atual",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Ordens de compra públicas",
"Public sell orders": "Ordens de venda públicss",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Текущая комиссия за выплату ончейн",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "Комиссия мейкера",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Ордера на покупку",
"Public sell orders": "Ордера на продажу",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Aktuell utbetalningsavgift (on-chain)",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Publika köpordrar",
"Public sell orders": "Publika säljordrar",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "Ada ya malipo ya sasa ya mtandao",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "Amri za kununua za Umma",
"Public sell orders": "Amri za kuuza za Umma",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "ค่าธรรมเนียมการจ่าย On-chain ตอนนี้",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"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",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "จำนวนรายการซื้อ",
"Public sell orders": "จำนวนรายการขาย",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "当前链上支付费用",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "挂单方费用",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "公开购买订单",
"Public sell orders": "公开出售订单",

View File

@ -256,6 +256,7 @@
"Coordinator hosted web app": "Coordinator hosted web app",
"Coordinator offline": "Coordinator offline",
"Current onchain payout fee": "當前鏈上支付費用",
"Current onchain payout status": "Current onchain payout status",
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
"Does not have large trade limits.": "Does not have large trade limits.",
"Download PGP Pubkey. Fingerprint: ": "Download PGP Pubkey. Fingerprint: ",
@ -268,7 +269,10 @@
"Loved by robots: receives positive comments by robots over the internet.": "Loved by robots: receives positive comments by robots over the internet.",
"Maker fee": "掛單方費用",
"Matrix channel copied! {{matrix}}": "Matrix channel copied! {{matrix}}",
"Maximum onchain swap size": "Maximum onchain swap size",
"Maximum order size": "Maximum order size",
"Not a federation founder": "Not a federation founder",
"Onchain payouts disabled": "Onchain payouts disabled",
"Policies": "Policies",
"Public buy orders": "公開購買訂單",
"Public sell orders": "公開出售訂單",