---
description: NatSpec documentation for all ZNS contracts
---

# Smart Contracts

ZNS consists of nine (9) smart contracts, eight (8) of which are upgradeable UUPS proxies. The system is modular where each contract is responsible for logic related to its role in the system. This upgradeability helps evolve the ZNS system over time, based on protocol needs and user feedback.

You can read more about upgradeability here: [contract-upgradeability](smart-contracts/contract-upgradeability "mention").

For detailed information about ZNS smart contracts, check out the links below:

[access-control](smart-contracts/access-control "mention")

[registry](smart-contracts/registry "mention")

[domain-token](smart-contracts/domain-token "mention")

[registrars](smart-contracts/registrars "mention")

[treasury](smart-contracts/treasury "mention")

[pricers](smart-contracts/pricers "mention")

[resolvers](smart-contracts/resolvers "mention")
