# ORIGO — Agent Skill File

Instructions for an AI agent acting for a user who wants to mint the free
OG ORIGO NFT, claim ORIGO, buy launchpad shares, or claim BNB dividends.
Every function name, parameter and price below is copied from the deployed
contract ABIs and verified against live on-chain reads. Read the state
yourself before any transaction; numbers in this file are a snapshot.

## Chain and contracts (BNB Smart Chain, chainId 56)

- ORIGO token (BEP-20): `0xcdf08fdd48566b508fd998f796aaf302cf720963`
- OG ORIGO NFT (ERC-721): `0x1c7f0e50b232b23016c9d8f5a9098a51d480cd8e`
- Launchpad: `0x519b217c49b3d1e32ab30b54e9f10d2d9f37fdeb`
- Claim: `0xf75a016a2bb8041e3c1cf40cdf462447a15ce628`
- Referral: `0xfef8cfebf40e1782a84c9c4b8a7e26da5a176cea`
- Agent ID registry: `0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F`
- PancakeSwap V2 pair (ORIGO/WBNB, created at deploy, trading opens at
  finalize): `0x370dffbf43f52a93e0ceaed076f6a7167c1999ef`
- Public page: https://ogorigo.pages.dev

## Agent ID

- A user's agentId is `bytes32(uint256(keccak256(utf8(handle))))` — the
  keccak256 hash of their Agent ID handle, e.g. handle `origo` →
  `0x985464a86ddc8825d69a8b2b78d931bbd0d95e64a49e0390e4de84e94cb84c3e`.
- Before any gated call, read `ownerOf(uint256(agentId))` on the registry:
  it must equal the user's wallet address, or the mint reverts.
- A referrer is passed as the referrer's agentId (same derivation), or
  `bytes32(0)` for no referrer. The first mint in any lane (NFT or
  launchpad) binds the referrer permanently through the Referral contract.
  Each referral adds +1 quota in BOTH lanes (`referralCount(address)`).

## Live snapshot (read on-chain 2026-12-01, ~15:35 UTC)

- Token: name `ORIGO`, symbol `ORIGO`, 18 decimals, total supply
  791,266,200,000 ORIGO (fixed, no mint function). `tradingEnabled()` =
  **false** — pair trading starts when the launchpad finalizes.
  Pair tax on trades: 2% total — 1% burn, 1% BNB dividends pro rata.
- NFT: name `OG ORIGO`, symbol `OGORIGO`. `totalMinted()` = 0 of
  `MAX_SUPPLY()` = 3,333. `mintPaused()` = **false**. `BASE_QUOTA()` = 1.
  Token IDs are sequential starting at 1.
- Launchpad: `totalMinted()` = 0 of `MAX_SHARES()` = 6,666 shares.
  `SHARE_PRICE()` = 5000000000000000 wei = 0.005 BNB.
  `TOKENS_PER_SHARE()` = 70,000,000 ORIGO. `BASE_QUOTA()` = 10,
  `MAX_SHARES_PER_TX()` = 10. `MINT_START()` = 1796137854,
  `MINT_DEADLINE()` = 1796569854 (2026-12-06 15:10:54 UTC).
  `mintOpen()` = **true**, `finalized()` = false. The launchpad holds
  541,279,200,000 ORIGO (buyer allocation + pool reserve).
- Claim: `totalClaimed()` = 0. `claimFee()` = 3500000000000000 wei =
  0.0035 BNB (owner-adjustable — always read it live).
  `TOKENS_PER_CLAIM()` = 75,000,000 ORIGO. `claimsOpen()` = **true**.
  The claim contract holds 249,975,000,000 ORIGO.

## 1. Mint an OG ORIGO NFT (free, value exactly 0)

Views to read first:

- Registry: `ownerOf(uint256(agentId))` == buyer wallet (gate).
- NFT: `mintPaused()` — must be false.
- NFT: `totalMinted()`, `MAX_SUPPLY()` — remaining supply.
- NFT: `quotaOf(address)`, `remainingQuota(address)` — quota is
  `BASE_QUOTA()` (1) + `referralCount(buyer)`; remaining must be ≥ 1.

Exact call:

- `mint(bytes32 agentId, bytes32 referrerAgentId)` on the NFT contract.
- **Value: exactly 0 wei.** The mint is free; the contract reverts with
  `ValueNotAccepted` if any value is sent. The buyer pays gas only.
- After the receipt confirms, the minted tokenId is in the
  `Minted(address, uint256 agentId, uint256 tokenId)` event (also the
  ERC-721 `Transfer` event). Verify with `ownerOf(uint256 tokenId)`.

## 2. Claim ORIGO for an NFT (payable, BNB fee)

Views to read first:

- Claim: `claimsOpen()` — must be true.
- Claim: `claimed(uint256 tokenId)` — must be false (one claim per NFT,
  ever); `claimable(uint256 tokenId)` should be true.
- NFT: `ownerOf(uint256 tokenId)` == caller wallet.
- Claim: `claimFee()` — read at execution time (snapshot 0.0035 BNB).
- Claim: `TOKENS_PER_CLAIM()` = 75,000,000 ORIGO.

Exact payable call:

- `claim(uint256 tokenId)` on the Claim contract.
- Value to send: exactly `claimFee()` wei.
- The 75,000,000 ORIGO is transferred to the caller in the same
  transaction but stays locked by the token contract until 24 hours
  after the pool opens (`unlockTime()` on the token). Verify afterwards
  with `claimed(tokenId)` == true and the token `balanceOf(buyer)`.

## 3. Buy launchpad shares (payable, BNB)

Views to read first:

- Registry: `ownerOf(uint256(agentId))` == buyer wallet (gate).
- Launchpad: `mintOpen()` — must be true; current time must be ≤
  `MINT_DEADLINE()`. At/after the deadline or at sellout anyone may call
  `finalize()`; after that, buying is over.
- Launchpad: `SHARE_PRICE()` (snapshot 0.005 BNB), `costOf(uint256 count)`
  gives the exact total value.
- Launchpad: `quotaOf(address)`, `remainingQuota(address)` — quota is
  `BASE_QUOTA()` (10) + referrals; `totalMinted()` + count ≤
  `MAX_SHARES()` (6,666); count ≤ `MAX_SHARES_PER_TX()` (10).

Exact payable call:

- `mint(bytes32 agentId, uint256 count, bytes32 referrerAgentId)` on the
  Launchpad contract.
- Value to send: exactly `costOf(count)` wei = count × `SHARE_PRICE()`.
- Tokens are delivered in the same transaction: 70,000,000 ORIGO per
  share to the buyer. Payment split per share: 80% accrues to the
  opening pool, 10% is paid instantly in BNB to the bound referrer
  (if any), 10% to the operator; with no referrer the referral slice
  stays with the operator slice.
- Verify afterwards: `sharesBy(buyer)` increased by count and the token
  `balanceOf(buyer)` increased by count × 70,000,000 ORIGO.
- At finalize the pool opens at exactly 5x the share price; unsold
  launchpad tokens are burned. Launchpad tokens are sellable as soon as
  the pool opens (no lock).

## 4. Claim BNB dividends (no value)

- Dividends accrue from pair trading only (after the pool opens): 1% of
  every pair trade becomes BNB dividends pro rata to holders; another
  1% burns.
- Read `withdrawableDividendOf(address)` on the token contract. If 0,
  there is nothing to claim.
- Call: `claimDividend()` on the token contract, value 0.

## Rules

- Never send a transaction without showing the user a preview (contract,
  function, value, gas estimate) and getting explicit confirmation.
- Re-read `mintPaused()`, `mintOpen()`, `MINT_DEADLINE()`, `claimsOpen()`,
  `claimFee()` and the quotas at execution time; this snapshot goes stale.
- Prices on this page and in this file are the contract's own prices,
  shown so buyers and agents can compute exact transaction values.
- The website never connects a wallet; all actions run through the
  user's own agent and wallet.
