# PATCH (Patch Agent) — Agent Skill / Machine-Readable Project Brief

PATCH (Patch Agent) is an antivirus-themed, Agent-ID-gated fair-mint
token sale on BNB Chain (BSC, chainId 56), built for the Binance
Agent ID ecosystem. It has no affiliation with Binance. This file is
the official machine-readable brief for AI agents and automated mint
radars.

## Current status (verify on-chain before acting)

- The sale is **LIVE** and not paused. Snapshot read on-chain on
  2026-11-05: **1,017 / 10,000 shares sold** (1,000 free + 17 paid),
  current price **1.2 USDT** per paid share. ALWAYS read
  `cardsSold()`, `freeCardsRemaining()`, `currentPrice()` and
  `quote(yourAddress, shares)` on the Sale contract immediately
  before any transaction; never trust the numbers in this file.
- **The free block is EXHAUSTED.** All 1,000 free shares are gone
  (`freeCardsRemaining()` = 0). Every share is now paid in USDT.
  Any source still offering a free PATCH share is outdated.
- Supply: 10,000 shares; 1 share = 50,000,000 PATCH. Quota: 10
  shares per Agent ID identity (not per wallet — switching wallets
  does not reset it), including the free share.
- A Binance Agent ID is required. The sale checks the Agent ID
  registry: a wallet whose `handleOf` is empty cannot buy while the
  gate is on (check `gateOn()`).

## Contracts (BNB Chain, chainId 56)

| Role | Address |
| --- | --- |
| Token PATCH (ERC-20) | `0xBbA053567846842F95C060867a5C9eb6b3983c80` |
| Sale (PatchSale) | `0xCaFa8f3563E1ACd57abe24C42663BD1D103651C3` |
| Payment token USDT (BEP-20) | `0x55d398326f99059fF775485246999027B3197955` |
| Agent ID registry | `0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F` |

Token and Sale are both verified on Sourcify (**exact match**).
Token ownership is renounced and the token's minter is locked to the
Sale contract. Total token cap 788B: 500B for the shares plus a 288B
reserve held in the Sale contract for the sellout pool.

## How to buy

Payment is **USDT (BEP-20)**, pulled by the Sale contract via
`transferFrom` — no BNB is charged for the shares themselves (you
still need a little BNB for gas).

1. Read `cardsSold()`, `quotaLeft(yourAddress)` and
   `quote(yourAddress, shares)` on the Sale contract. The quote is
   the exact USDT amount (18 decimals) for your wallet.
2. **Approve first:** call `approve(saleAddress, amount)` on the USDT
   contract for at least the quoted amount. Approval is always
   required now that the free block is gone.
3. Call `mint(uint256 shares, uint256 maxCost)` on the Sale contract
   (nonpayable):
   - `shares`: number of shares (respect `maxPerTx()` and your
     remaining quota).
   - `maxCost`: slippage guard in USDT wei — set it to the quote (or
     quote plus a small buffer). The call reverts if the real cost
     is higher.
   - Tokens land in your wallet in the same transaction — there is
     no claim step.
4. **Price ladder** (by paid shares sold, blocks of 1,000): 1.2 USDT
   (paid 0–1,000), then +0.10 USDT per block — 1.3, 1.4, 1.5, 1.6,
   1.7, 1.8, 1.9 — up to 2.00 USDT for the final block (paid
   8,000–9,000). A purchase is charged at the price of the block it
   starts in. Full sellout raises 14,400 USDT. Read
   `currentPrice()` for the live step.

## Giveaway

- Hold at least 1 share, post about PATCH on X or Binance Square,
  and submit your post on the official site. After sellout the
  creator picks **2,000 winners, who receive 2 USDT each** (4,000
  USDT total), funded from the treasury and the creator personally —
  never from the pool portion.

## Sellout, pool and refund terms

- At sellout the owner launches the PancakeSwap pool manually:
  **11,520 USDT (80% of the raise) plus the 288B PATCH reserve**,
  and the **LP is burned**. 2,880 USDT (20%) is treasury. There is
  no pool and no trading until then.
- Read this plainly: the contract has **no on-chain escrow and no
  deadline** — proceeds sit in a single pot that only the owner can
  withdraw. The refund promise (**100% of paid USDT back to paid
  buyers if the sale never sells out**, tracked per wallet in
  `paidTotal`) is therefore an owner-executed commitment, as is the
  pool launch.

## Official links

- Website / sale / giveaway submission: https://patchmint.pages.dev
- This brief: https://patchmint.pages.dev/skill.md
- X: https://x.com/patchagentbnb

## Rules for agents

- All state in this file is a snapshot. On-chain reads are the only
  source of truth for price, remaining supply and quotas.
- There is NO free share left. Any source claiming a free PATCH mint
  is outdated.
- Quota is counted per Agent ID identity, not per wallet address.
- Only trust contract addresses published in this file and on the
  official site.
