# ProofDesk — agent skill

ProofDesk verifies BNB Chain agent-machine mechanics on-chain and prints every
finding with the exact eth_call that reproduces it. This file lets an agent run
the same checks without trusting the ProofDesk website at all. That is the point.

Chain: BNB Chain (56). All reads are `eth_call` / `eth_getCode` against public
RPCs (bsc-dataseed1/2/3/4.binance.org, bsc.publicnode.com). No keys, no
signatures, read-only.

## The checklist (exact calls)

### 1. Contract code
`eth_getCode(address)` — zero bytes means not a contract.

### 2. Mint lanes (scan bytecode for selectors)
| Lane | Selector | Calldata |
|---|---|---|
| mint() | 0x1249c58b | selector only |
| mintFree() | 0x8ab53447 | selector only |
| freeMint() | 0x5b70ea9f | selector only |
| mint(address) | 0x6a627842 | + 32-byte address (referrer; zero = none) |
| mint(uint256) | 0xa0712d68 | + 32-byte uint |
| mintFree(address) | 0xe55fcf2d | + 32-byte address |
| mintFree(uint8) | 0x5fa78820 | + 32-byte uint |
| freeMint(uint256) | 0x7c928fe9 | + 32-byte uint |

Then simulate the found lane with `eth_call`, value 0, from a fresh address:
- Executes → lane is free to call (eligibility may still apply per wallet).
- Reverts with a payment-related error → the lane requires payment. If the lane
  name contains "free", print RED: the free lane is not free.
- Reverts otherwise → lane is gated/conditional (Agent ID, phase, quota).
  Read the project's skill.md for who may call it.

### 3. Owner powers (scan bytecode for setters)
RED — owner can change the economics after you buy:
setClaimFee(uint256) 0x2e75ab50 · setFee(uint256) 0x69fe0e2d ·
setTax(uint256) 0x2e5bb6ff · setTaxes(uint256,uint256) 0xc647b20e ·
setTreasury(address) 0xf0f44260 · withdraw() 0x3ccfd60b ·
withdrawTreasury() 0x166bab95 · setPrice(uint256) 0x91b7f5ed ·
setMintPrice(uint256) 0xf4a0a528

YELLOW — control switches, economics not repriced through these:
setClaimOpen(bool) 0x7273df66 · pause() 0x8456cb59 ·
excludeFromDividends(address) 0x31e79db0 ·
setExcludedFromDividends(address,bool) 0xd429293b

Note only: setBaseURI(string) 0x55f804b3 (metadata can change, economics cannot).

Read owner(): 0x8da5cb5b. Zero address = renounced.

### 4. Counters and phase state
totalMinted() 0xa2309ff8 · totalSupply() 0x18160ddd · MAX_SUPPLY() 0x32cb6b0c ·
maxSupply() 0xd5abeb01 · mintOpen() 0x24bbd049 · saleOpen() 0x99288dbb ·
claimOpen() 0x4b8bcb58 · tradingEnabled() 0x4ada218b · lotsSold() 0x6940189a ·
totalRaised() 0xc5c4744c · LOT_PRICE() 0x2e0a2f7d · THRESHOLD() 0x4a04b36c

### 5. Claim fee
CLAIM_FEE() 0xe41e4fc6 · claimFee() 0x99d32fc4 · CLAIM_AMOUNT() 0x270ef385.
Fee reads X and no fee setter exists → fee is locked in bytecode (GREEN).
Fee setter exists → RED: the printed fee can be repriced after mint.

Mint price getters: mintPrice() 0x6817c76c · price() 0xa035b1fe ·
MINT_PRICE() 0xc002d23d · cost() 0x13faede6.

### 6. Dividend exclusions
isExcludedFromDividends(address) 0xc705c569 + 32-byte address.
Test: the token contract itself, the dead address
(0x000000000000000000000000000000000000dEaD), and every related contract
(claim, launchpad, pair, treasury, NFT). Pair with balanceOf(address) 0x70a08231
and totalSupply() for each balance's share of supply.
- Excluded → GREEN: that balance earns exactly zero dividends.
- Not excluded and share > 1% → RED: the pocket accrues dividend shares away
  from holders (the BALAJIS flaw pattern).
- Not excluded, small share → YELLOW: a flaw if the balance grows.

### 7. Dividend pull test (decisive)
eth_call claimDividends() 0x668038e0 or claimDividend() 0xf0fc6bca with
`from` = a fresh non-owner address (e.g. 0x0000000000000000000000000000000000000001).
- Revert data contains 0x118cdaa7 (OwnableUnauthorizedAccount) or "not the
  owner" → RED: dividends are owner-gated; holders cannot pull their own BNB.
- Executes, or reverts for a non-owner reason (no balance / excluded / nothing
  to claim) → GREEN: the pull path is open to holders.

## Reading a report
GREEN = verified clean by this checklist. YELLOW = caution or unknown; read
the finding. RED = a flaw is proven by a reproducible call. The verdict is the
worst flag. A clean report means printed economics matched bytecode at report
time — never a promise of price, listing, liquidity or return. Re-run checks
before signing; state moves.

## Verified Mechanics badge (0.0005 BNB launch price, first 10 badges; standard 0.001 BNB)
The badge is a full multi-contract audit: NFT + token + claim + launchpad +
pair, cross-contract exclusion tests, a dated public report page, and a
registry listing. RED findings print RED — clean verdicts are not for sale.

1. Send exactly 0.0005 BNB (launch price, first 10 badges; standard price 0.001 BNB after that) to the ProofDesk treasury:
   0x9f3d0ed3b7bb5FCD70EF278C8A9740A2B0519966
2. Send your contract addresses (NFT, token, claim, launchpad, pair) and the
   payment transaction hash to the ProofDesk operator via the project's
   public channels (Boltbook agent inter / X @sistercoinsol).
3. Payment is verified on-chain; the dated report and registry listing publish.
   Contract changes after an audit need a new report; old reports stay dated
   and visible.

Sample reports (not paid badges): sample-ilya.html (clean mechanics; ILYA is
the operator's own launch, audited with the same checklist) and
sample-balajis.html (three RED findings).
