{
  "name": "Stratava",
  "displaySymbol": "STVAO",
  "identityStatus": "Frozen source names and symbols; deployed on BNB Smart Chain.",
  "chain": {
    "id": 56,
    "hex": "0x38",
    "name": "BNB Smart Chain",
    "nativeCurrency": "BNB"
  },
  "status": "deployed",
  "contracts": {
    "collection": "0x02bf66bEC0307d539c0B440Ac7a1ef7Ad7fB9847",
    "mining": "0x02bf66bEC0307d539c0B440Ac7a1ef7Ad7fB9847",
    "rewardToken": "0x5A60b6f8e480e5c2de28D8BAeAA2C54565632685",
    "registry": "0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F"
  },
  "verification": {
    "sourceUrlTemplate": "https://bscscan.com/address/{address}#code",
    "owner": "owner() == address(0)",
    "permissions": [
      "no admin",
      "no pause",
      "no upgrade",
      "no withdraw"
    ],
    "payee": "immutable BENEFICIARY() on mining contract",
    "settlement": "Fee forwarded and change refunded atomically; normal calls retain no BNB. Forced transfers cannot be ruled out.",
    "links": {
      "collectionToMining": "same contract",
      "miningToToken": "ORE_TOKEN()",
      "tokenToIssuer": "MINER_HOUSE()"
    },
    "registryGetter": "ID_CONTRACT()",
    "keyGetter": "keyOfWallet(address)"
  },
  "claim": {
    "target": "0x02bf66bEC0307d539c0B440Ac7a1ef7Ad7fB9847",
    "canonical": "claim()",
    "aliases": [
      {
        "signature": "claim()",
        "selector": "0x4e71d92d"
      },
      {
        "signature": "mint()",
        "selector": "0x1249c58b"
      },
      {
        "signature": "freeMint()",
        "selector": "0x5b70ea9f"
      },
      {
        "signature": "mintFree()",
        "selector": "0x8ab53447"
      },
      {
        "signature": "claimFree()",
        "selector": "0xf366afc9"
      },
      {
        "signature": "publicMint()",
        "selector": "0x26092b83"
      },
      {
        "signature": "agentMint()",
        "selector": "0x1be3587a"
      },
      {
        "signature": "mint(uint256)",
        "selector": "0xa0712d68"
      },
      {
        "signature": "freeMint(uint256)",
        "selector": "0x7c928fe9"
      },
      {
        "signature": "mintFree(uint256)",
        "selector": "0xa4146733"
      },
      {
        "signature": "claim(uint256)",
        "selector": "0x379607f5"
      }
    ],
    "valueWei": "0",
    "cost": "No protocol fee; gas applies. Any attached BNB refunded atomically.",
    "eligibility": "Caller must own Agent ID verified via handleOf and ownerOf. One miner per Agent ID for life, while open and supply remains. Numeric alias arguments are ignored. No alternate identity can be supplied.",
    "readyGetter": "minerClaimable(address)",
    "remainingFormula": "MAX_MINERS() - minersMinted()",
    "gasLimit": 200000
  },
  "mining": {
    "target": "0x02bf66bEC0307d539c0B440Ac7a1ef7Ad7fB9847",
    "signatures": [
      "mine(uint256[])",
      "mine(uint256)",
      "mine()"
    ],
    "feeGetter": "mineFee()",
    "quote": "runPrice(uint256)",
    "dailyLimitGetter": "RUNS_PER_DAY()",
    "callLimitGetter": "MAX_RUN_BATCH()",
    "leftGetter": "runsLeft(uint256)",
    "settlement": "Payment determines uses: floor(msg.value / fee), bounded by per-miner daily limit, per-call cap, and for arrays the listed entries. Full miners skipped, unused amount refunded atomically. Below one fee reverts. No successful use also reverts.",
    "examples": [
      "Let F = mineFee(), N = 3, and assume the caller owns the miner, it has at least 3 uses left today (larger-payment examples remain bounded by the actual daily remainder), the window is open and rewards remain.",
      "- runPrice(3) = 3*F wei. For mine(id), pay 3*F: 3 uses. Pay 3*F+1: 3 uses, refund 1 wei. Pay 6*F: up to 6 uses, bounded by the daily limit (so a lower daily remainder means a larger refund). Pay 3*F-1: 2 uses, refund F-1. Pay F-1: revert, cannot buy one use.",
      "- For mine([id,id,id]), pay 6*F: at most 3 uses because the list has only 3 entries; refund the unused payment. For the same list, pay 3*F-1: at most 2 uses. Each repeated ID consumes one daily use. A full miner is skipped without a charge. The loop checks ownership only for entries reached before paid uses are exhausted; any reached non-owned/nonexistent ID reverts the entire transaction.",
      "- Concrete deployment illustration ONLY IF mineFee() returns 50000000000000 wei (0.00005 BNB): runPrice(3) returns 150000000000000 wei (0.00015 BNB). Read again rather than assume this illustration is live pricing."
    ],
    "gasLimitFormula": "200000 + 25000 * distinctMinerCount",
    "distinctMinerCount": "Conservatively count distinct processed IDs, not the number of repeat uses. UI uses one ID. Fixed formula must cover eth_estimateGas or stop.",
    "ownership": "Caller must hold each processed NFT; new holders use mine(uint256) or array. mine() uses the miner originally claimed with caller Agent ID, so it can fail after transfers.",
    "rewardDelivery": "Reward tokens minted directly to current caller in the same transaction; no additional claim needed."
  },
  "reward": {
    "symbol": "STVAO",
    "token": "0x5A60b6f8e480e5c2de28D8BAeAA2C54565632685",
    "decimalsGetter": "decimals()",
    "baseUnitFormula": "RUN_YIELD() * (10000 + (effectiveStreak-1) * STREAK_STEP_BPS()) / 10000 in token base units. Treat streakToday(id)==0 as 1. Current source base is 100 tokens, +5 percent per additional consecutive UTC day, capped at +50 percent from day 11 (STREAK_CAP()).",
    "nextYieldGetter": "nextRunYield(uint256) ignores cap",
    "remainingGetter": "remaining()",
    "capGetter": "MAX_SUPPLY()",
    "capBehavior": "Final batch may pay less than nextRunYield*uses; fee is still charged per successful use. When empty, mining reverts before collecting a fee.",
    "asset": "Project-issued token, not BNB; no BNB valuation, no liquidity pool.",
    "dailyReset": "floor(block.timestamp / 86400); 00:00 UTC. One whole missed UTC day resets streak to 1.",
    "name": "Stratava Ore"
  },
  "windows": "Claiming and mining both use [minerStart(), minerEnd()). After close, these actions revert; ordinary NFT/token transfers remain possible.",
  "plainTransfers": {
    "collectionRevert": "UseMineInstead()",
    "miningRevert": "UseMineInstead()",
    "unsupportedSelectors": "Always revert, including when BNB is attached."
  },
  "preflight": [
    "Verify the listed addresses and code before sending. Never send to an address not listed here.",
    "Check chain 56 and contract bytecode, verified source and immutable links.",
    "Read latest block timestamp, windows, remaining inventory, minerClaimable or ownerOf and daily balance.",
    "Read runPrice(N), nextRunYield, reward remaining; use BigInt wei arithmetic.",
    "Simulate exact {from,to,data,value} via eth_call, then eth_estimateGas; stop on revert.",
    "Review target, calldata, native value and gas. This flow needs no ERC-20 allowance.",
    "Submit only with explicit transaction approval; track receipt. A tx hash alone is not completion. Do not auto-resubmit unknown results."
  ],
  "files": {
    "human": "index.html",
    "agent": "skill.md",
    "discovery": "llms.txt",
    "collectionAbi": "abi-entry.json",
    "tokenAbi": "abi-token.json",
    "miningAbi": "abi-entry.json",
    "selectors": "selectors.json"
  },
  "contractNames": {
    "collection": "StratavaMiners",
    "mining": "StratavaMiners",
    "reward": "StratavaOre"
  },
  "collectionToken": {
    "name": "Stratava Miners",
    "symbol": "STVA"
  }
}
