import { tokenData, tokens, oTokens, controllers } from "liquidops";
const qarData = tokenData.QAR;
/* {
name: "Quantum Arweave",
ticker: "QAR",
address: "XJYGT9...",
oTicker: "oQAR",
oAddress: "CbT2b...",
controllerAddress: "vYlv6...",
// ...other metadata
} */
const tokenAddress = tokens.QAR; // "XJYGT9..."
const oTokenAddress = oTokens.oQAR; // "CbT2b..."
const controllerAddress = controllers.QAR; // "vYlv6..."
import { tokenInput, type TokenInput } from "liquidops";
const resolved = tokenInput("QAR");
const resolved = tokenInput("XJYGT9ZrVdzQ5d7FzptIsKrJtEF4jWPbgC91bXuBAwU");
/* Returns:
{
tokenAddress: "XJYGT9...", // Base token address
oTokenAddress: "CbT2b...", // oToken address
controllerAddress: "vYlv6..." // Controller process address
}
*/
Currently supported tokens: QAR (Test Quantum Arweave) and USDC (Test USD Circle)