{
  "$schema": "https://eips.ethereum.org/EIPS/eip-8004",
  "name": "Nexon",
  "description": "NEXON is a mined ERC-20 token whose contract is also its own Uniswap V4 swap hook. One bytecode, one address. The token, the hook, and the PoW miner are the same contract. No owner, no upgrade path, no admin keys. NEXON is autonomous: it accepts genesis purchases, seeds its own V4 liquidity pool when ready, locks the LP forever via hook reverts on liquidity modifications, takes a 1% swap fee on all trades, and pays mining rewards in PoW-bound solutions. Currently deployed on Base Sepolia testnet pending mainnet launch on Base.",
  "version": "1.0.0",
  "type": "token-agent",
  "chain": {
    "name": "base",
    "chainId": 84532,
    "namespace": "eip155"
  },
  "endpoints": {
    "contract": "base-sepolia://0xe16276581C6c692777011Cc54fE02153deB37AC4",
    "frontend": "https://nexonprotocol.io",
    "whitepaper": "https://nexonprotocol.io/whitepaper.html",
    "source": "https://github.com/nexonprotocol/core"
  },
  "capabilities": [
    {
      "id": "mintGenesis",
      "description": "Buy raw NEXON at fixed 0.01 ETH per 1,000 NEXON during the genesis phase. Max 5 units per tx. Available until genesisComplete = true.",
      "abi": "mintGenesis(uint256 units)",
      "payable": true
    },
    {
      "id": "refundGenesis",
      "description": "Burn genesis-minted NEXON back to the contract in exchange for the original ETH price, after a 3-day grace period from deploy, if the pool has not been seeded.",
      "abi": "refundGenesis(uint256 tokenAmount)"
    },
    {
      "id": "mine",
      "description": "Submit a PoW solution and receive the current era's reward. Challenge is bound to msg.sender and the current epoch (~20 minute window on Base, ~100 blocks). Solutions are unstealable from the mempool.",
      "abi": "mine(uint256 solution)"
    },
    {
      "id": "swap",
      "description": "Trade NEXON against ETH through the locked Uniswap V4 pool on Base. The 1% fee is taken on the ETH side and accrues to the contract balance, claimable by the controller via claimFees().",
      "via": "uniswap-v4-pool",
      "poolKey": {
        "currency0": "0x0000000000000000000000000000000000000000",
        "currency1": "0xe16276581C6c692777011Cc54fE02153deB37AC4",
        "fee": 0,
        "tickSpacing": 60,
        "hooks": "0xe16276581C6c692777011Cc54fE02153deB37AC4"
      }
    },
    {
      "id": "claimFees",
      "description": "Controller-only withdrawal of accumulated ETH swap fees from the contract balance.",
      "abi": "claimFees()",
      "access": "controller-only"
    },
    {
      "id": "seedPool",
      "description": "Initialize the V4 NEXON/ETH pool when genesis is fully sold out. Permissionless.",
      "abi": "seedPool()"
    },
    {
      "id": "partialSeed",
      "description": "Controller-only seed of the pool with whatever genesis raised so far, callable after 30 minutes from deploy. Unsold genesis NEXON is never minted.",
      "abi": "partialSeed()",
      "access": "controller-only"
    }
  ],
  "validation": {
    "verified_source": "basescan",
    "license": "MIT",
    "immutable": true,
    "no_proxy": true,
    "no_owner_admin_keys": true,
    "audits": []
  },
  "tokenomics": {
    "totalSupply": "21000000000000000000000000",
    "miningSupply": "18900000000000000000000000",
    "genesisCap": "1050000000000000000000000",
    "lpAllocation": "1050000000000000000000000",
    "baseReward": "100000000000000000000",
    "halvingEvery": 100000,
    "retargetEvery": 2016,
    "epochBlocks": 600,
    "maxMintsPerBlock": 10
  },
  "extensions": {
    "minerAgent": {
      "description": "Soulbound ERC-721 collection where NEXON participants can claim a per-address NFT identity (one per wallet). 10 artworks total: 5 tiers x 2 variants. Tier scales dynamically with live NEXON holdings - Initiate (< 1,000), Bronze (1k-9.9k), Silver (10k-99.9k), Gold (100k-999.9k), Platinum (>= 1M). Variant is fixed at mint, hashed deterministically from the tokenId. Each artwork represents a transaction lifecycle state. Minimum 1 NEXON held to claim.",
      "address": "0x0041C8f24B88B6965850FDc761E0ad872E3B6996"
    },
    "agentRegistration": {
      "chain": "base-sepolia",
      "chainId": 84532,
      "registryAddress": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
      "agentId": 74832,
      "owner": "0x73624686452E2A65486Ab45F665DA4aD24120D9d",
      "directory": "https://8004scan.io/agents/base-sepolia/74832"
    }
  }
}
