---
name: agent-szn
description: >-
  Mint AGENT SZN ($ASZN) on BNB Smart Chain with a verified .ai Agent wallet.
  Agent-ID-gated fair mint: 20,000 lots × 0.003 BNB, 30,000 tokens per lot,
  100% of the raise seeds the pool, sellout auto-opens the pool, full refund
  if the sale fails. Referral draw: earn chances when your invitees mint 10
  paid lots, then drawAndMintFree mints 1–5 free lots in one transaction.
---

# AGENT SZN ($ASZN) — Agent ID 公平铸造

- **Website:** `https://agentszn.live`
- **Skill URL:** `https://agentszn.live/skills/agent-szn/SKILL.md`
- **Chain:** BNB Smart Chain Mainnet (`chainId: 56`)
- **Eligibility:** Verified Binance **`.ai` Agent ID** (`0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F`, `balanceOf > 0`) required to mint **and** to draw.

## ⏰ 开铸时间固定：2026-11-30 12:00 UTC — 开铸前严禁发送 BNB

> **合约地址：`0xa07f9254B9f2dE0B29A95EE65708299552AB349E`（BSC 主网）。**
> 开铸时刻写死在合约里：`mintStart = 1796040000`（**2026-11-30 12:00:00 UTC**），
> 窗口 24 小时（`refundDeadline = mintStart + 24h`）。
> 执行任何铸造前必须先链上读取 `mintPhase()`：
> **只有返回 1（铸造中）才可发送 BNB；phase = 0（未开铸）时严禁向合约发送 BNB 铸造**
> ——合约会直接 revert，白白浪费 gas。
> **认币只认本页与官网公布的合约地址**，其他同名代币一律不是本项目。

## Addresses

| Role | Address |
| --- | --- |
| **AGENT SZN token / sale（one contract）** | `0xa07f9254B9f2dE0B29A95EE65708299552AB349E` |
| **Pair (PancakeSwap V2, ASZN/WBNB)** | `0x33e52879670Fc23dC994451Ef08384157807aed9` |
| **Project wallet（openPool / 100% 交易税 BNB）** | `0x81be26ae0de1f5f0f895538d854ba659ac5ff043` |
| **Agent ID registry** | `0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F` |
| **PancakeSwap V2 router** | `0x10ED43C718714eb63d5aA57B78B54704E256024E` |

## Economics (locked in the contract)

- Total supply **1,000,000,000**: **600,000,000 mint allocation** (20,000 lots ×
  30,000), **400,000,000 pool seed**. Minted once at deployment to the contract
  itself. Exception: the pre-launch whitelist (see below) holds a free-mint
  quota of 1,250 lots across 248 wallets — a quota only, no tokens move
  until each wallet mints its own free lots during the sale.
- Mint: **20,000 lots × 0.003 BNB**, each lot = **30,000 ASZN**. Full paid
  sellout raises **60 BNB**. Per-wallet **paid** cap **10 lots** (also the
  per-tx cap). Free (drawn) lots do **not** consume the paid cap.
- **Mint opens 2026-11-30 12:00:00 UTC** (`mintStart = 1796040000`), window
  **24 hours**. There is no `startMint()` — the time is a constructor constant.
- Proceeds: **100% of the raise seeds the pool. There is no project leg from
  the mint** — the project wallet receives 0 BNB at the open.
- Opening price is a constant **1.5×** the mint unit cost (0.003 BNB pooled
  per paid lot against 20,000 seed tokens per lot minted).
- **Open:** the 20,000th lot (paid **or** free) opens the pool inside the same
  transaction (sellout auto-open); before that, only the project wallet may
  `openPool()` manually during the window, at the actual raise. Unused mint
  inventory and unused seed are burned at the open.
- **Failure:** if the window ends with the pool unopened, the sale has failed
  (purely time-derived — no trigger call needed) and every minter can
  self-`refund()` the full amount **paid** (free lots are burned in the same
  call and refund nothing — they were never paid for). One refund per wallet.
- **Trade tax (after open, pair trades only): 2% buy / 2% sell, 100% to the
  project wallet, settled in BNB.** Plain wallet-to-wallet transfers are
  untaxed.
- **LP** is minted to the contract itself at the open and **locked 30 days**.
- Pre-open, all minted tokens are locked (non-transferable). The contract has
  **no owner, no pause, no blacklist, no tax-change switch**, and is not
  upgradeable.

## Whitelist free-mint quota （白名单免费名额 — 自己铸，不是直接给币）

- The top-50 holders (snapshot at 2026-11-29 12:00 UTC) of five ecosystem
  tokens — AGC, $AI, GANG, JAGENT, StarsAI — hold a **free-mint quota of
  5 lots per list** (250 slots, 248 unique wallets, **1,250 lots** total;
  a wallet on two lists holds a 10-lot quota). The quota was registered in
  the contract before the mint opens (`registerWhitelist`); check it with
  `whitelistProjectsOf(addr)` (project count × 5 = quota) and
  `whitelistClaimed(addr)`.
- **A quota is NOT tokens.** Nothing was credited. During the sale
  (phase 1 only), a listed wallet mints its free lots itself by calling
  **`claimWhitelistFree()`** (selector `0x428d2557`, no arguments, no BNB
  value). One call mints the whole quota at once (capped at the lots
  remaining); it can be claimed only once.
- **Use it or lose it:** quota lots count toward the 20,000 total only
  when minted. If the sale sells out (or the pool opens) before a wallet
  claims, its unclaimed quota is gone.
- Claiming does **not** require an Agent ID (many listed wallets are
  secondary-market holders without a .ai ID). Claimed lots sit in
  `freeLots(addr)`, do not consume the 10-lot paid cap, and carry no
  refund value: if the sale fails they are burned, worth 0 BNB.

## Referral draw （邀请抽奖免费铸）

- **Binding:** the referrer is set by the `referrer` argument of the invitee's
  **first** paid `mint()` call. Binding is permanent; self-referral is ignored;
  `address(0)` means no referrer.
- **Earning a chance:** when an invitee's **cumulative paid lots reach 10**,
  its referrer earns exactly **1 draw chance** (once per qualifying invitee;
  chances stack without cap). The chance is credited in the same transaction
  the invitee reaches 10 — check `drawChances(yourWallet)`.
- **Drawing:** `drawAndMintFree()` consumes 1 chance, draws **1–5 lots** from
  an on-chain blockhash-based pseudo-random, and mints that many **free** lots
  to you in the same transaction. Caller must hold an Agent ID and ≥ 1 chance,
  and the sale must be live (phase 1). Free lots count toward the 20,000 total
  and toward sellout (a draw that mints the last lot opens the pool in that
  tx); if fewer lots remain than drawn, only the remaining lots mint.
- Unused chances are void once the pool opens or the sale fails.

## Selectors (computed with `cast sig` from the contract source)

| Fn | Selector |
| --- | --- |
| `mint(uint256,address)` | `0x94bf804d` |
| `drawAndMintFree()` | `0xc61fd2fc` |
| `refund()` | `0x590e1ae3` |
| `totalLotsMinted()` | `0x7f463638` |
| `totalFreeLots()` | `0x2115f53b` |
| `mintPhase()` | `0x17881cbf` |
| `mintStart()` | `0x255e4685` |
| `refundDeadline()` | `0xe1aa1bcc` |
| `mintedLots(address)` | `0x51ce9189` |
| `freeLots(address)` | `0x458c1a51` |
| `drawChances(address)` | `0x67b61421` |
| `referrerOf(address)` | `0xd21cacdf` |
| `referralCount(address)` | `0xdb74559b` |
| `chanceAwarded(address)` | `0x57fb9042` |
| `opened()` | `0x5f88eade` |
| `escrowBnb()` | `0xa5c7d4cd` |
| `refundableOf(address)` | `0xb22163e3` |
| `balanceOf(address)` | `0x70a08231` |
| registry `balanceOf(address)` | `0x70a08231` |
| registry `handleOf(address)` | `0xc50a1514` |
| registry `ownerOfHandle(string)` | `0x1da94fb4` |

`mintPhase()` returns: **0** = not started (before 2026-11-30 12:00 UTC),
**1** = mint live, **2** = pool opened, **3** = failed / refundable.

## Mint flow — preview → confirm → execute (never skip the confirm)

1. **Read state first.** `eth_call` the token contract:
   - `mintPhase()` — proceed only if it returns **1**. If it returns **0**,
     stop: the mint has not started; **do not send BNB**. Report the opening
     time (2026-11-30 12:00 UTC).
   - `totalLotsMinted()` — remaining lots = 20,000 − sold (free lots included
     in the count).
   - `mintedLots(yourWallet)` — paid lots already minted (cap 10).
   - registry `balanceOf(yourWallet)` — must be **> 0** (Agent ID gate),
     otherwise stop and tell the user they need an Agent ID first.
2. **Preview to the user:** lots requested (ask if unspecified), cost =
   lots × 0.003 BNB, tokens received = lots × 30,000, the referrer that will
   be bound if this is the wallet's first mint (ask if the user has an
   inviter; use `address(0)` if none). Wait for an explicit confirmation.
3. **Execute** after confirmation: send to the token contract
   - `value` = lots × 3,000,000,000,000,000 wei (0.003 BNB per lot)
   - `data` = `0x94bf804d` + lots as a 32-byte big-endian uint256 + the
     referrer address left-padded to 32 bytes.
4. **Report:** transaction hash, and verify with `balanceOf(yourWallet)` that
   the tokens arrived (they are locked until the pool opens — that is normal).

## Draw flow (only when `mintPhase()` = 1 and `drawChances(yourWallet)` > 0)

1. Read `drawChances(yourWallet)` and tell the user how many chances they hold.
2. Preview: each draw consumes 1 chance and mints **1–5 free lots** (30,000
   ASZN each) — the amount is random and revealed in the transaction's
   `FreeMintDrawn` event. Confirm how many chances to spend.
3. Execute `drawAndMintFree()` (selector `0xc61fd2fc`, no value), once per
   chance. Report each transaction hash and the lots drawn (from the event or
   by diffing `freeLots(yourWallet)`).

## Refund flow (only when `mintPhase()` = 3)

1. Check `refundableOf(yourWallet)` — the BNB amount refundable to you (paid
   lots only; free lots refund nothing and are burned in the same call).
2. Preview the amount to the user and confirm.
3. Call `refund()` (selector `0x590e1ae3`, no value). Your minted tokens are
   burned in the same transaction and the full amount paid comes back.
   One refund per wallet.

## Notes

- This is a community meme project. It is **not affiliated with, participated
  in, or endorsed by Binance, CZ, or He Yi**; the "meme szn" reference is
  internet-culture background only.
- Other tokens named AGENT SZN / ASZN may exist — they are **not** this
  project. Trust only the contract address published here and on the website.
