feat(admin): add USDT-wUSDT integration button

Added user-friendly toggle button in admin panel for easy USDT-wUSDT bridge control.
This commit is contained in:
2025-11-21 21:09:06 +03:00
parent fea7b2befc
commit de46a698c9
6 changed files with 802 additions and 206 deletions
+2 -2
View File
@@ -22,13 +22,13 @@ export const PoolBrowser: React.FC<PoolBrowserProps> = ({
onSwap,
onCreatePool,
}) => {
const { api, isApiReady } = usePolkadot();
const { api, isApiReady, sudoKey } = usePolkadot();
const { account } = useWallet();
const [pools, setPools] = useState<PoolInfo[]>([]);
const [loading, setLoading] = useState(true);
const [searchTerm, setSearchTerm] = useState('');
const isFounder = account ? isFounderWallet(account.address) : false;
const isFounder = account ? isFounderWallet(account.address, sudoKey) : false;
useEffect(() => {
const loadPools = async () => {