ISurfaceView

Interface (ABI only): the read surface a collection exposes to its renderer, price strategy, and minters.

ISurfaceView is the V1 read surface a collection exposes for its renderer, a price strategy, and any minter to read without depending on the full Surface ABI. It is not itself a swappable slot; it's the contract-shaped interface those modules read through. V1 Surface implements it in full. Current V2 does not: its config() returns a flat tuple and it has one minter() instead of a minter set. Use the V2 token reference for V2 reads. Any other contract that wants to be adopted by an existing renderer only needs to implement whatever subset of this interface that renderer actually reads.

Read functions

config

solidity
function config() external view returns (SurfaceConfig cfg, uint256 minted)

view; the live collection configuration and the minted-ever count. A renderer derives provenance from these: in Sequential mode the token id IS the mint order, first = id 1, and final = the cap is set and full and the id equals the cap (cap != 0 && minted == cap && tokenId == cap). There is no lifecycle status on the token. See seed and provenance.

idMode

solidity
function idMode() external view returns (IdMode)

view; the collection's token id assignment model, Sequential or Pooled, fixed at initialization. See id modes for what each mode means for id assignment and reuse after burn.

name

solidity
function name() external view returns (string)

view; the collection's ERC721 name.

owner

solidity
function owner() external view returns (address)

view; the collection's current owner, following the standard Ownable owner() shape.

symbol

solidity
function symbol() external view returns (string)

view; the collection's ERC721 symbol.

tokenSeed

solidity
function tokenSeed(uint256 tokenId) external view returns (bytes32)

view; the mint-time entropy stamped for tokenId during its mint transaction. Renderers use this seed as the deterministic input for generative or algorithmic works.

totalSupply

solidity
function totalSupply() external view returns (uint256)

view; the collection's current total supply.