505 lines
22 KiB
PHP
505 lines
22 KiB
PHP
<?php
|
|
session_start();
|
|
|
|
$lang = $_SESSION['lang'] ?? 'en';
|
|
if (isset($_GET['lang'])) {
|
|
$lang = $_GET['lang'] === 'zh' ? 'zh' : 'en';
|
|
$_SESSION['lang'] = $lang;
|
|
}
|
|
|
|
$translations = [
|
|
'zh' => [
|
|
'home' => '首页',
|
|
'market' => '行情',
|
|
'second_contract' => '秒合约',
|
|
'spot' => '现货交易',
|
|
'contract' => '合约交易',
|
|
'mining' => '挖矿',
|
|
'swap' => '闪兑',
|
|
'personal' => '个人中心',
|
|
'login' => '登入',
|
|
'register' => '注册',
|
|
'logout' => '退出',
|
|
'language' => '语言选择',
|
|
'footer_about' => '关于',
|
|
'footer_product' => '产品',
|
|
'footer_support' => '支持',
|
|
'about_us' => '关于我们',
|
|
'news' => '新闻中心',
|
|
'terms' => '服务条款',
|
|
'help' => '帮助中心',
|
|
'privacy' => '法律与隐私',
|
|
'submit_request' => '提交请求',
|
|
'api_doc' => 'API文档',
|
|
'fee_structure' => '费率标准',
|
|
'app_download' => 'APP下载',
|
|
'system_status' => '系统状态',
|
|
'normal' => '正常',
|
|
'cookie_policy' => 'Cookie 政策',
|
|
'platform_advantage' => '为什么选择 Byro',
|
|
'partners' => '合作伙伴',
|
|
'deposit' => '充值',
|
|
'withdraw' => '提现',
|
|
'assets' => '资产',
|
|
'email_verify' => '邮箱验证码',
|
|
'password' => '密码',
|
|
'confirm_password' => '确认密码',
|
|
'agree_terms' => '我已阅读并同意服务条款和隐私政策',
|
|
'send_code' => '发送验证码',
|
|
'view_more' => '查看更多',
|
|
'hero_title' => '全球领先的数字资产交易平台',
|
|
'hero_subtitle' => '在 Byro 开启您的加密货币之旅,安全、稳定、可靠。',
|
|
'get_started' => '立即开始',
|
|
'popular_markets' => '热门市场',
|
|
'coin' => '币种',
|
|
'last_price' => '最新价',
|
|
'change_24h' => '24h 涨跌',
|
|
'trade' => '交易',
|
|
'why_choose_us' => '为什么选择我们',
|
|
'copyright' => '© 2023-2026 Byro. 版权所有。',
|
|
'status_normal' => '系统状态:正常',
|
|
'advantage_1_title' => '安全合规',
|
|
'advantage_1_desc' => '全球合规运营,采用冷热钱包分离技术,确保您的资产安全。',
|
|
'advantage_2_title' => '流动性强',
|
|
'advantage_2_desc' => '毫秒级撮合引擎,深度流动性,为您提供极致的交易体验。',
|
|
'advantage_3_title' => '7/24 支持',
|
|
'advantage_3_desc' => '全天候多语言在线客服,随时解答您的任何疑问。',
|
|
'advantage_4_title' => '多样化产品',
|
|
'advantage_4_desc' => '涵盖现货、合约、秒合约、挖矿等多种投资工具。',
|
|
'about_content' => 'Byro 是一家全球领先的数字货币交易平台,成立于 2023 年,致力于为全球用户提供安全、专业、透明 of 数字资产金融服务。',
|
|
'real_name' => '实名认证',
|
|
'verified' => '已认证',
|
|
'unverified' => '未认证',
|
|
'credit_score' => '信用分',
|
|
'recharge' => '充值',
|
|
'orders' => '订单记录',
|
|
'account' => '账号 / 邮箱',
|
|
'market_view' => '市场行情',
|
|
'sec_contract' => '秒合约',
|
|
'secure_acc' => '保障账户安全',
|
|
'from' => '从',
|
|
'to' => '到',
|
|
'balance' => '余额',
|
|
'swap_now' => '立即兑换',
|
|
'rate' => '汇率',
|
|
'price_impact' => '价格影响',
|
|
'slippage' => '滑点容差',
|
|
'mining_title' => '专业矿池',
|
|
'mining_desc' => '专业的云挖矿和质押平台。加入数千名用户,通过 Byro 的高效挖矿池赚取被动收入。',
|
|
'est_apy' => '预计年化',
|
|
'min_deposit' => '最低充值',
|
|
'lock_period' => '锁定周期',
|
|
'start_mining' => '开始挖矿',
|
|
'why_mining' => '为什么选择 Byro 挖矿?',
|
|
'adv_hardware' => '先进硬件',
|
|
'adv_hardware_desc' => '我们使用最新的 ASIC 和 GPU 矿机,确保最高利润 and 稳定性。',
|
|
'auto_compound' => '自动复利',
|
|
'auto_compound_desc' => '自动重新投资您的每日奖励,以实现长期收益最大化。',
|
|
'real_time_monitor' => '实时监控',
|
|
'real_time_monitor_desc' => '通过我们直观的控制面板实时跟踪您的算力和收益。',
|
|
'calc_profit' => '计算您的收益',
|
|
'calc_desc' => '输入您的投资金额以估算每日收益。',
|
|
'daily_profit' => '每日收益',
|
|
'monthly_profit' => '每月收益',
|
|
'try_calc' => '尝试挖矿计算器',
|
|
'asset' => '资产',
|
|
'vol_24h' => '24h 成交额',
|
|
'cycle_settlement' => '周期/结算',
|
|
'purchase_amount' => '买入量',
|
|
'available_balance' => '可用',
|
|
'frozen' => '冻结',
|
|
'converted_to' => '折合',
|
|
'asset_records' => '资产记录',
|
|
'operation' => '操作',
|
|
'status' => '状态',
|
|
'time' => '时间',
|
|
'type' => '类型',
|
|
'flash_exchange' => '闪兑',
|
|
'trade_profit' => '交易盈亏',
|
|
'completed' => '已完成',
|
|
'pending' => '处理中',
|
|
'details' => '详情',
|
|
'search' => '搜索',
|
|
'limit' => '限价',
|
|
'expected_profit' => '预期收益',
|
|
'buy_up' => '买涨',
|
|
'buy_down' => '买跌',
|
|
'profit' => '收益',
|
|
'order_in_progress' => '订单执行中',
|
|
'current_price' => '当前价格',
|
|
'cycle' => '周期',
|
|
'direction' => '方向',
|
|
'quantity' => '数量',
|
|
'opening_price' => '开仓价格',
|
|
'final_price_settlement' => '待结算完成后显示最终盈亏',
|
|
'open_orders' => '当前委托',
|
|
'settlement_history' => '结算历史',
|
|
'no_records_found' => '暂无记录',
|
|
'executing' => '执行中',
|
|
'loss' => '亏损',
|
|
'enter_amount' => '请输入有效金额',
|
|
'amount_too_low' => '金额太低',
|
|
'amount_too_high' => '金额太高',
|
|
'insufficient_balance' => '余额不足',
|
|
'trade_spot' => '现货交易',
|
|
'trade_contract' => '合约交易',
|
|
'trade_binary' => '秒合约',
|
|
'asset_title' => '总资产',
|
|
'online_support' => '在线客服',
|
|
'type_message' => '输入消息...',
|
|
'welcome_support' => '欢迎来到 Byro 客服!请问有什么可以帮您?',
|
|
'market_name' => '市场',
|
|
'trading' => '交易',
|
|
'principal_protected' => '本金保障',
|
|
'daily_payouts' => '每日派息',
|
|
'amount_to_invest' => '投入金额',
|
|
'hot' => '热门',
|
|
'back' => '返回',
|
|
'crypto_withdraw' => '加密货币提现',
|
|
'fiat_withdraw' => '法币提现',
|
|
'network' => '网络',
|
|
'withdraw_address' => '提现地址',
|
|
'withdraw_amount' => '提现金额',
|
|
'withdraw_password' => '提现密码',
|
|
'to_receive' => '预计到账',
|
|
'confirm_order' => '确认订单',
|
|
'select_currency' => '选择币种',
|
|
'est_receive_fiat' => '预计收到法币',
|
|
'withdraw_steps' => '提现步骤',
|
|
'security_tips' => '安全提示',
|
|
'secure' => '安全可靠',
|
|
'fast' => '极速到账',
|
|
'support_247' => '24/7 客服支持',
|
|
'fiat_recharge' => '法币充值',
|
|
'crypto_recharge' => '加密货币充值',
|
|
'fiat_amount' => '充值金额',
|
|
'est_usdt' => '预计到账 USDT',
|
|
'address' => '充值地址',
|
|
'crypto_recharge_warning' => '请务必仅向此地址充值 USDT。发送其他资产可能导致永久丢失。',
|
|
'recharge_steps' => '充值步骤',
|
|
'i_have_paid' => '我已支付',
|
|
'min_withdraw_hint' => '最小提现金额为 10 USDT',
|
|
'enter_address' => '请输入提现地址',
|
|
'enter_password' => '请输入提现密码',
|
|
'request_sent' => '请求已发送,请在客服对话框中继续交流。',
|
|
'cs_connect_fail' => '无法连接客服系统,请刷新页面重试。',
|
|
'copy_success' => '已复制到剪贴板',
|
|
'vip_level' => '会员等级',
|
|
'kyc' => '身份认证',
|
|
'security' => '安全设置',
|
|
'amount' => '金额',
|
|
'login_password' => '登录密码',
|
|
'trade_password' => '交易密码',
|
|
'old_password' => '旧密码',
|
|
'new_password' => '新密码',
|
|
'confirm_new_password' => '确认新密码',
|
|
'change_password' => '修改密码',
|
|
'set_password' => '设置密码',
|
|
'security_steps' => '安全步骤',
|
|
'security_step1' => '为了您的账户安全,建议定期更换登录密码。',
|
|
'security_step2' => '交易密码是用于提现、交易等重要操作的二次验证。',
|
|
'security_instructions' => '请妥善保管您的密码,不要泄露给任何人。平台客服不会以任何理由向您索要密码。',
|
|
'full_name' => '真实姓名',
|
|
'id_number' => '证件号码',
|
|
'id_front' => '证件正面',
|
|
'id_back' => '证件反面',
|
|
'id_handheld' => '手持证件',
|
|
'upload' => '点击上传',
|
|
'submit' => '提交',
|
|
'kyc_steps' => '认证步骤',
|
|
'kyc_step1' => '请填写与证件一致的真实姓名和证件号码。',
|
|
'kyc_step2' => '请上传清晰、完整的证件照片(正面、反面)。',
|
|
'kyc_step3' => '手持证件照片需清晰展示您的面部和证件内容。',
|
|
'kyc_instructions' => '实名认证通常在 24 小时内完成审核。认证通过后,您将获得更高的提现额度和更多的交易权限。',
|
|
'welcome_back' => '欢迎回到 Byro 交易所',
|
|
'forgot_password' => '忘记密码?',
|
|
'no_account' => '还没有账号?',
|
|
'join_secure' => '加入全球最安全的数字资产交易所',
|
|
'have_account' => '已经有账号?',
|
|
'old_pwd_incorrect' => '旧密码错误',
|
|
'pwd_mismatch' => '两次输入的密码不一致',
|
|
'pwd_too_short' => '密码长度至少为 6 位',
|
|
'pwd_changed_success' => '密码修改成功',
|
|
'trade_pwd_updated' => '交易密码已更新',
|
|
'fill_all_fields' => '请填写所有字段',
|
|
'kyc_submitted' => '认证申请已提交,请耐心等待审核',
|
|
'kyc_pending_desc' => '您的申请正在审核中,请耐心等待。',
|
|
'enter_full_name' => '请输入真实姓名',
|
|
'enter_id_number' => '请输入证件号码',
|
|
'prof_terminal' => '专业交易终端',
|
|
'prof_terminal_desc' => '高性能撮合引擎,深度流动性,为您提供极致的交易体验。',
|
|
'inst_security' => '机构级安全防护',
|
|
'inst_security_desc' => '多重签名和冷存储,确保您的资产安全无忧。',
|
|
'trading_pair' => '交易对',
|
|
'total' => '成交额',
|
|
'high' => '最高',
|
|
'low' => '最低',
|
|
],
|
|
'en' => [
|
|
'home' => 'Home',
|
|
'market' => 'Market',
|
|
'second_contract' => 'Binary',
|
|
'spot' => 'Spot',
|
|
'contract' => 'Contract',
|
|
'mining' => 'Mining',
|
|
'swap' => 'Swap',
|
|
'personal' => 'Account',
|
|
'login' => 'Login',
|
|
'register' => 'Register',
|
|
'logout' => 'Logout',
|
|
'language' => 'Language',
|
|
'footer_about' => 'About',
|
|
'footer_product' => 'Products',
|
|
'footer_support' => 'Support',
|
|
'about_us' => 'About Us',
|
|
'news' => 'News',
|
|
'terms' => 'Terms of Service',
|
|
'help' => 'Help Center',
|
|
'privacy' => 'Privacy Policy',
|
|
'submit_request' => 'Submit Request',
|
|
'api_doc' => 'API Docs',
|
|
'fee_structure' => 'Fees',
|
|
'app_download' => 'Download App',
|
|
'system_status' => 'System Status',
|
|
'normal' => 'Normal',
|
|
'cookie_policy' => 'Cookie Policy',
|
|
'platform_advantage' => 'Why Choose Byro',
|
|
'partners' => 'Partners',
|
|
'deposit' => 'Deposit',
|
|
'withdraw' => 'Withdraw',
|
|
'assets' => 'Assets',
|
|
'email_verify' => 'Email Code',
|
|
'password' => 'Password',
|
|
'confirm_password' => 'Confirm Password',
|
|
'agree_terms' => 'I have read and agree to the Terms of Service and Privacy Policy',
|
|
'send_code' => 'Send Code',
|
|
'view_more' => 'View More',
|
|
'hero_title' => 'World Leading Digital Asset Platform',
|
|
'hero_subtitle' => 'Start your crypto journey on Byro, secure, stable, reliable.',
|
|
'get_started' => 'Get Started',
|
|
'popular_markets' => 'Popular Markets',
|
|
'coin' => 'Coin',
|
|
'last_price' => 'Last Price',
|
|
'change_24h' => '24h Change',
|
|
'trade' => 'Trade',
|
|
'why_choose_us' => 'Why Choose Us',
|
|
'copyright' => '© 2023-2026 Byro. All rights reserved.',
|
|
'status_normal' => 'System Status: Normal',
|
|
'advantage_1_title' => 'Security & Compliance',
|
|
'advantage_1_desc' => 'Global compliant operations with cold/hot wallet isolation.',
|
|
'advantage_2_title' => 'High Liquidity',
|
|
'advantage_2_desc' => 'Millisecond matching engine with deep liquidity.',
|
|
'advantage_3_title' => '7/24 Support',
|
|
'advantage_3_desc' => 'Multi-language customer service always online.',
|
|
'advantage_4_title' => 'Diverse Products',
|
|
'advantage_4_desc' => 'Covering Spot, Contract, Binary, and Mining.',
|
|
'about_content' => 'Byro is a world-leading digital currency exchange established in 2023.',
|
|
'real_name' => 'Real-name',
|
|
'verified' => 'Verified',
|
|
'unverified' => 'Unverified',
|
|
'credit_score' => 'Credit Score',
|
|
'recharge' => 'Recharge',
|
|
'orders' => 'Orders',
|
|
'account' => 'Account / Email',
|
|
'market_view' => 'Market View',
|
|
'sec_contract' => 'Binary',
|
|
'secure_acc' => 'Secure My Account',
|
|
'from' => 'From',
|
|
'to' => 'To',
|
|
'balance' => 'Balance',
|
|
'swap_now' => 'Swap Now',
|
|
'rate' => 'Rate',
|
|
'price_impact' => 'Price Impact',
|
|
'slippage' => 'Slippage',
|
|
'mining_title' => 'Mining Pool',
|
|
'mining_desc' => 'Professional cloud mining and staking platform. Join thousands of users.',
|
|
'est_apy' => 'Est. APY',
|
|
'min_deposit' => 'Min. Deposit',
|
|
'lock_period' => 'Lock Period',
|
|
'start_mining' => 'Start Mining',
|
|
'why_mining' => 'Why choose Byro Mining?',
|
|
'adv_hardware' => 'Advanced Hardware',
|
|
'adv_hardware_desc' => 'We use latest ASIC and GPU miners for max profit.',
|
|
'auto_compound' => 'Auto Compounding',
|
|
'auto_compound_desc' => 'Reinvest daily rewards automatically.',
|
|
'real_time_monitor' => 'Real-time Monitoring',
|
|
'real_time_monitor_desc' => 'Track your hash rate and earnings in real-time.',
|
|
'calc_profit' => 'Calculate Your Profit',
|
|
'calc_desc' => 'Enter investment amount to estimate daily earnings.',
|
|
'daily_profit' => 'Daily Profit',
|
|
'monthly_profit' => 'Monthly Profit',
|
|
'try_calc' => 'Try Calculator',
|
|
'asset' => 'Asset',
|
|
'vol_24h' => '24h Volume',
|
|
'cycle_settlement' => 'Cycle / Settlement',
|
|
'purchase_amount' => 'Purchase Amount',
|
|
'available_balance' => 'Available',
|
|
'frozen' => 'Frozen',
|
|
'converted_to' => 'Equivalent',
|
|
'asset_records' => 'Asset Records',
|
|
'operation' => 'Action',
|
|
'status' => 'Status',
|
|
'time' => 'Time',
|
|
'type' => 'Type',
|
|
'flash_exchange' => 'Swap',
|
|
'trade_profit' => 'Trade P/L',
|
|
'completed' => 'Completed',
|
|
'pending' => 'Pending',
|
|
'details' => 'Details',
|
|
'search' => 'Search',
|
|
'limit' => 'Limit',
|
|
'expected_profit' => 'Exp. Profit',
|
|
'buy_up' => 'Buy Up',
|
|
'buy_down' => 'Buy Down',
|
|
'profit' => 'Profit',
|
|
'order_in_progress' => 'Order Executing',
|
|
'current_price' => 'Current Price',
|
|
'cycle' => 'Cycle',
|
|
'direction' => 'Direction',
|
|
'quantity' => 'Quantity',
|
|
'opening_price' => 'Open Price',
|
|
'final_price_settlement' => 'Final P/L shown after settlement',
|
|
'open_orders' => 'Open Orders',
|
|
'settlement_history' => 'History',
|
|
'no_records_found' => 'No records',
|
|
'executing' => 'Executing',
|
|
'loss' => 'Loss',
|
|
'enter_amount' => 'Please enter valid amount',
|
|
'amount_too_low' => 'Amount too low',
|
|
'amount_too_high' => 'Amount too high',
|
|
'insufficient_balance' => 'Insufficient balance',
|
|
'trade_spot' => 'Spot',
|
|
'trade_contract' => 'Contract',
|
|
'trade_binary' => 'Binary',
|
|
'asset_title' => 'Total Assets',
|
|
'online_support' => 'Support',
|
|
'type_message' => 'Type message...',
|
|
'welcome_support' => 'Welcome to Byro Support! How can we help?',
|
|
'market_name' => 'Market',
|
|
'trading' => 'Trading',
|
|
'principal_protected' => 'Principal Protected',
|
|
'daily_payouts' => 'Daily Payouts',
|
|
'amount_to_invest' => 'Amount to Invest',
|
|
'hot' => 'HOT',
|
|
'back' => 'Back',
|
|
'crypto_withdraw' => 'Crypto Withdrawal',
|
|
'fiat_withdraw' => 'Fiat Withdrawal',
|
|
'network' => 'Network',
|
|
'withdraw_address' => 'Withdrawal Address',
|
|
'withdraw_amount' => 'Withdrawal Amount',
|
|
'withdraw_password' => 'Withdrawal Password',
|
|
'to_receive' => 'To Receive',
|
|
'confirm_order' => 'Confirm Order',
|
|
'select_currency' => 'Select Currency',
|
|
'est_receive_fiat' => 'Est. Receive',
|
|
'withdraw_steps' => 'Withdrawal Steps',
|
|
'security_tips' => 'Security Tips',
|
|
'secure' => 'Secure',
|
|
'fast' => 'Fast',
|
|
'support_247' => '24/7 Support',
|
|
'fiat_recharge' => 'Fiat Recharge',
|
|
'crypto_recharge' => 'Crypto Recharge',
|
|
'fiat_amount' => 'Recharge Amount',
|
|
'est_usdt' => 'Est. USDT',
|
|
'address' => 'Deposit Address',
|
|
'crypto_recharge_warning' => 'Please only send USDT to this address.',
|
|
'recharge_steps' => 'Recharge Steps',
|
|
'i_have_paid' => 'I Have Paid',
|
|
'min_withdraw_hint' => 'Min. withdrawal 10 USDT',
|
|
'enter_address' => 'Please enter address',
|
|
'enter_password' => 'Please enter password',
|
|
'request_sent' => 'Request sent, please check chat.',
|
|
'cs_connect_fail' => 'Connection failed, please refresh.',
|
|
'copy_success' => 'Copied to clipboard',
|
|
'vip_level' => 'VIP Level',
|
|
'kyc' => 'Identity',
|
|
'security' => 'Security',
|
|
'amount' => 'Amount',
|
|
'login_password' => 'Login Password',
|
|
'trade_password' => 'Trade Password',
|
|
'old_password' => 'Old Password',
|
|
'new_password' => 'New Password',
|
|
'confirm_new_password' => 'Confirm Password',
|
|
'change_password' => 'Change Password',
|
|
'set_password' => 'Set Password',
|
|
'security_steps' => 'Security Steps',
|
|
'security_step1' => 'Change password regularly for security.',
|
|
'security_step2' => 'Trade password is for important actions.',
|
|
'security_instructions' => 'Keep your password safe and private.',
|
|
'full_name' => 'Full Name',
|
|
'id_number' => 'ID Number',
|
|
'id_front' => 'ID Front',
|
|
'id_back' => 'ID Back',
|
|
'id_handheld' => 'Handheld ID',
|
|
'upload' => 'Upload',
|
|
'submit' => 'Submit',
|
|
'kyc_steps' => 'Verification Steps',
|
|
'kyc_step1' => 'Fill in your real name and ID.',
|
|
'kyc_step2' => 'Upload clear photos of ID.',
|
|
'kyc_step3' => 'Handheld ID photo must show face.',
|
|
'kyc_instructions' => 'Verification usually takes 24 hours.',
|
|
'welcome_back' => 'Welcome back',
|
|
'forgot_password' => 'Forgot password?',
|
|
'no_account' => 'No account?',
|
|
'join_secure' => 'Join the most secure exchange',
|
|
'have_account' => 'Have account?',
|
|
'old_pwd_incorrect' => 'Old password incorrect',
|
|
'pwd_mismatch' => 'Passwords do not match',
|
|
'pwd_too_short' => 'Min. 6 characters',
|
|
'pwd_changed_success' => 'Password changed',
|
|
'trade_pwd_updated' => 'Trade password updated',
|
|
'fill_all_fields' => 'Fill all fields',
|
|
'kyc_submitted' => 'Verification submitted!',
|
|
'kyc_pending_desc' => 'Being reviewed by our team.',
|
|
'enter_full_name' => 'Enter full name',
|
|
'enter_id_number' => 'Enter ID number',
|
|
'prof_terminal' => 'Pro Terminal',
|
|
'prof_terminal_desc' => 'High performance execution.',
|
|
'inst_security' => 'Inst. Security',
|
|
'inst_security_desc' => 'Multi-tier encryption.',
|
|
'trading_pair' => 'Pair',
|
|
'total' => 'Total',
|
|
'high' => 'High',
|
|
'low' => 'Low',
|
|
]
|
|
];
|
|
|
|
function __($key) {
|
|
global $translations, $lang;
|
|
return $translations[$lang][$key] ?? $key;
|
|
}
|
|
|
|
function getCoinIcon($symbol) {
|
|
$icon_ids = [
|
|
'BTC' => '1/small/bitcoin.png',
|
|
'ETH' => '279/small/ethereum.png',
|
|
'USDT' => '325/small/tether.png',
|
|
'BNB' => '825/small/binance-coin-logo.png',
|
|
'SOL' => '4128/small/solana.png',
|
|
'XRP' => '44/small/xrp-symbol-white-128.png',
|
|
'ADA' => '975/small/cardano.png',
|
|
'DOGE' => '5/small/dogecoin.png',
|
|
'DOT' => '12171/small/polkadot.png',
|
|
'MATIC' => '4713/small/matic-network.png',
|
|
'AVAX' => '12559/small/avalanche.png',
|
|
'LINK' => '877/small/chainlink.png',
|
|
'SHIB' => '11939/small/shiba-inu.png',
|
|
'TRX' => '1094/small/tron.png',
|
|
'BCH' => '153/small/bitcoin-cash.png',
|
|
'LTC' => '2/small/litecoin.png',
|
|
'UNI' => '12504/small/uniswap.png',
|
|
'ARB' => '29359/small/arbitrum.png',
|
|
'OP' => '25244/small/optimism.png',
|
|
'APT' => '27355/small/aptos.png',
|
|
'USDC' => '6319/small/usdc.png',
|
|
'PEPE' => '31386/small/pepe.png',
|
|
'FIL' => '12817/small/filecoin.png',
|
|
'NEAR' => '10365/small/near.png',
|
|
'ATOM' => '1481/small/cosmos.png',
|
|
'IMX' => '17233/small/immutable-x.png',
|
|
'KAS' => '26851/small/kaspa.png',
|
|
];
|
|
$id = $icon_ids[strtoupper($symbol)] ?? '1/small/bitcoin.png';
|
|
return "https://assets.coingecko.com/coins/images/" . $id;
|
|
}
|