跳到正文
TakoAPI
返回技能列表

xmd

由 paulgnz 提供

Browser & Automation
476下载量由 clawskills.sh 提供
2星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Metal Dollar (XMD) stablecoin — mint, redeem, supply analytics, collateral reserves, oracle prices.

描述

该技能的功能

XMD is XPR Network's native stablecoin pegged to $1 USD, backed by multiple stablecoin collateral types. Tools cover minting, redeeming, checking balances, querying reserves, and reading oracle prices from the xmd.treasury contract.

Exposes both read and write operations against the on-chain xmd.treasury contract in one skill, so you can inspect state and execute transactions without switching tools.

何时使用

  • Mint XMD by depositing XUSDC at current oracle price
  • Redeem XMD back to a specific stablecoin like XPYUSD
  • Check collateralization ratio of the XMD treasury
  • Verify oracle price before executing a mint or redeem
  • Look up any account's current XMD balance

示例工作流

输入

User asks: mint 100 XMD using XUSDC

智能体
  1. 1

    Call xmd_get_config to confirm treasury is not paused

  2. 2

    Call xmd_list_collateral to verify XUSDC mint is enabled and check oracle price

  3. 3

    Call xmd_get_oracle_price for XUSDC to confirm price >= 0.995

  4. 4

    Call xmd_get_treasury_reserves to confirm XUSDC has not hit its maxTreasuryPercent cap

  5. 5

    Call xmd_mint with XUSDC amount and confirmed: true to execute the transaction

输出

100.000000 XMD minted to user's account at current oracle price

前置要求

  • XPR Network account with sufficient stablecoin balance for mint/redeem operations

安装

clawhub install paulgnz/xmd

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接