{
  "schema_version": "1.0",
  "name": "Pyrevow",
  "symbol": "PYRV",
  "chain_id": 56,
  "deployment_state": "deployed",
  "site": "https://pyrevow.pages.dev/",
  "contracts": {
    "relics": {
      "address": "0xA46c0048dE23BFEBEbb55e2adCe9AcD51c88652a",
      "standard": "ERC-721",
      "verification": "https://bscscan.com/address/0xA46c0048dE23BFEBEbb55e2adCe9AcD51c88652a#code"
    },
    "ash": {
      "address": "0x4f66ae82b046e02a5ee417406a929bb6a43e436a",
      "standard": "ERC-20",
      "name": "Pyrevow Ash",
      "symbol": "PYRVA",
      "verification": "https://bscscan.com/address/0x4f66ae82b046e02a5ee417406a929bb6a43e436a#code"
    },
    "agent_id_registry": "0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F"
  },
  "documents": { "guide": "skill.md", "discovery": "llms.txt", "page": "index.html" },
  "security": {
    "owner": false, "admin": false, "pause": false, "upgrade": false, "withdrawal": false,
    "payee": "immutable COLLECTOR()",
    "ash_cap": "1200000000000000000000000000 base units, constant; only the Relics contract can issue",
    "relic_ceiling": 100000,
    "every_issued_relic_settleable": "RELIC_CEILING x BURN_YIELD equals ASH_CAP",
    "bnb_settlement": "Fee forwarded to COLLECTOR and excess returned to the caller in the same transaction; failure reverts; contract keeps no BNB",
    "unknown_selectors": "revert PyrevowNoSuchCall(bytes4)",
    "price_or_return_promised": false
  },
  "time": {
    "doors_open": "doorsOpen()", "doors_close": "doorsClose()", "settle_until": "settleUntil()",
    "opened_at": "2026-11-21 13:38:25 (UTC+8)", "doors_close_at": "2026-12-21 13:38:25 (UTC+8)", "settle_until_at": "2026-12-28 13:38:25 (UTC+8)",
    "gift_day": "UTC day = floor(timestamp / 86400)"
  },
  "reference_snapshot_not_live": {
    "relicPrice_wei": "300000000000000", "keepFee_wei": "250000000000000", "burnFee_wei": "500000000000000",
    "gifts_per_day": 2000, "bought_per_wallet_day": 30, "buy_per_tx": 30, "settle_list_max": 40,
    "hold_ash": 3000, "burn_ash": 12000, "reburn_ash": 9000
  },
  "entries": {
    "target": "0xA46c0048dE23BFEBEbb55e2adCe9AcD51c88652a",
    "preferred": { "signature": "mint()", "selector": "0x1249c58b" },
    "equivalent": [
      "mint(uint256) 0xa0712d68", "mint(address) 0x6a627842", "mint(uint256,address) 0x94bf804d", "mintFree() 0x8ab53447",
      "mintFree(uint256) 0xa4146733", "freeMint() 0x5b70ea9f", "freeMint(uint256) 0x7c928fe9", "claim() 0x4e71d92d",
      "claimFree() 0xf366afc9", "publicMint() 0x26092b83", "agentMint() 0x1be3587a", "plain BNB (empty calldata)"
    ],
    "recipient": "caller always; address and quantity arguments are ignored",
    "settlement": {
      "rule": "free relic if caller holds an Agent ID, has not taken today's, and today's 2000 gifts are not gone; bought = min(floor(value / relicPrice()), 30 per call, 30 minus bought today, relics left under the ceiling); kept = bought * relicPrice(); everything else returned in the same transaction",
      "quote": "relicsFor(address,uint256) 0x0edd89c3 -> (gift, bought, spent, refund, ok)",
      "nothing_issued": "reverts: GiftNeedsAgentId, GiftAlreadyToday, GiftsGoneToday, RelicPriceUnmet, DailyBuyCap, AllRelicsIssued or DoorsShut",
      "gas_limit": "free 170000; buy n: 200000 + 30000 * n; or eth_estimateGas * 1.3"
    }
  },
  "settling": {
    "keep": { "signature": "claim(uint256)", "selector": "0x379607f5", "value": ">= keepFee()", "ash": 3000, "relic": "stays, marked Held", "gas_limit": 180000 },
    "burn": { "signature": "claimBurn(uint256)", "selector": "0xcb0c0be1", "value": ">= burnFee()", "ash": 12000, "ash_if_already_held": 9000, "relic": "destroyed, irreversible", "gas_limit": 180000 },
    "batch": [
      { "signature": "claim(uint256[])", "selector": "0x6ba4c138", "gas_limit": "120000 + 40000 * n" },
      { "signature": "claimBurn(uint256[])", "selector": "0xd2129091", "gas_limit": "120000 + 35000 * n" }
    ],
    "never_switches": "extra payment on keep never becomes a burn; short payment on burn never falls back to keep",
    "preview": "outcomeOf(uint256,bool) 0xd8ef4676 -> (fee, ashOut, destroys, holder, ok, reason); compare holder with your own address"
  },
  "live_getters": [
    "relicPrice()", "keepFee()", "burnFee()", "doorsOpen()", "doorsClose()", "settleUntil()", "COLLECTOR()", "ASH()", "relicsLeft()",
    "relicsMinted()", "heldCount()", "burnedCount()", "giftsLeftToday()", "giftReady(address)", "buyRoomToday(address)", "relicState(uint256)",
    "handleKeyOf(address)", "ashLeft()", "ashOwedAtMost()"
  ],
  "workflow": [
    "Match chain 56, both addresses, owner() zero, ASH() and RELIC_HOUSE() pointing at each other",
    "Read the window, prices and the quote (relicsFor or outcomeOf)",
    "Simulate the exact call with eth_call",
    "Estimate gas and add 30%",
    "Send once; no approval or signature needed; never send claimBurn without the holder's explicit choice",
    "Check the receipt and RelicsIssued / RelicHeld / RelicAshed events"
  ]
}
