Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

xmd

bởi paulgnz

Browser & Automation
476Lượt tải do clawskills.sh công bố
2Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: mint 100 XMD using XUSDC

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install paulgnz/xmd

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết