Skip to main content

Contract Reference

All contracts are deployed on Base (chain ID 8453).

Addresses

ContractAddressWhere it appears in the app
CCAT0xD7800C338228a6eeb37cF74133732Fb6aE05915FWallet lookup, cat counts, swap output token, frame ownership checks
RENDERER0x2fE5bf2aB284bc71B261Ea6d32aaadfcA987Eeb8On-chain SVG generation for render and frame image routes
OpenSea NFT0xbE76Ce3cE0966fedA606fCF70884dae8FBaa7FCFHomepage gallery and external collection link
CLKCAT0x84a5637CcAC19250156e582c5bF7C01Eee151b07Swap input token and Uniswap links

CCAT ABI surface used by the site

OwnerUpegsPage

Used by:

  • /api/cats-wallet
  • /api/cat-image
  • /api/showcase-cats
function OwnerUpegsPage(
address owner,
uint256 page,
uint256 pageSize
) external view returns (Upeg[] memory upegs)
struct Upeg {
uint256 id;
uint256 seed;
}

OwnerUpegsCount

Used by:

  • /api/cat-count
  • /api/frame/<wallet>
function OwnerUpegsCount(address owner) external view returns (uint256)

Renderer ABI surface used by the site

tokenURI

Used by:

  • /api/cat-render
  • /api/cat-image
function tokenURI(uint256 upegId, uint256 seed) external view returns (string memory)

The app expects a data:application/json;base64,... response whose decoded JSON contains an image field with a data:image/svg+xml;base64,... payload.