# 罪恶都市 > Fixed-price first sale on BNB Smart Chain for Agent ID holders, then a PancakeSwap V2 pool opened by the contract. Pay BNB directly (no approve). 0.003 BNB per share, 10,000 tokens per share, 10,000 shares, at most 100 shares per Agent ID. Opens 2026-11-18 22:00 (UTC+8). Sold out or 24 hours after the start: anyone opens the pool at 1.5× the first-sale price; first-sale tokens are sellable from that moment. Referrer gets 15% in BNB, the buyer 5% more tokens. Full BNB refund during the first sale until 1 hour before its end. No owner, no admin, no withdraw function, not upgradeable; LP to the dead address. ## Addresses (BSC, chainId 56) - Sale contract (the only official contract; pay here): __SALE_ADDRESS__ - Token (罪恶都市): __TOKEN_ADDRESS__ - Token/WBNB pair: __PAIR_ADDRESS__ - Official referral code __OFFICIAL_CODE__ = __OFFICIAL_REF_WALLET__ ## How to buy - First sale (state()==1): presaleMint(uint256 shares, address referrer) payable; value = shares × SHARE_PRICE() (3000000000000000 wei = 0.003 BNB); gas limit 300000. - After opening (state()==4): mint(uint256 shares, address referrer, uint256 minTokensOut) payable; value = shares × SHARE_PRICE(); 99% of pool price; locked 24 h; gas: estimate + 30%. - Quote first: quote(buyer, shares, referrer) → (ok, reason, filled, pay, tokens, toReferrer, toPayee, toPool). Overpayment and unfilled shares are sent back in the same transaction. - Plain BNB transfer to the sale also buys floor(value / SHARE_PRICE) shares (gas limit 300000). - Refund: refund() while state()==1 and before refundDeadline(). - Referral income: pendingRef(a), refPaid(a); claimReferral() after opening. ## Docs - [skill.md](__SITE_URL__/skill.md): every function, value math, gas, reason codes and errors, examples - [agent.json](__SITE_URL__/agent.json): machine-readable summary - [Site](__SITE_URL__/): live progress read from the contract ## Verify - Source: https://bscscan.com/address/__SALE_ADDRESS__#code - LP holders: https://bscscan.com/token/__PAIR_ADDRESS__#balances - Official X: https://x.com/HackouTW