zkLink Nova Documentation
  • 😃Welcome
    • Introduction
    • Connecting to Nova
  • 💰Aggregation Parade
    • Nova Points
  • 📚key concepts
    • Total Value Locked(TVL)
    • Zero-Knowledge Rollup
    • zkEVM
    • Layer 3
    • Modular Blockchain
    • Token Merge
  • 💡Chain Abstraction
    • Vision
    • Implementation
  • 🏗️architecture
    • Overview
    • Transaction Life Cycle
    • Sequencing Layer
    • Execution Layer
    • Settlement Layer
      • In-Detail: Multi-Chain State Synchronization
      • In-Detail: Contract System on Primary Chain
    • DA Layer
  • ✈️Roadmap
    • Keep Evolving
  • 🧑‍💻developer
    • Quick Start
    • Contract Verification
    • Migrating Your Project to Nova
    • EVM Compatibility
    • Useful Addresses
    • Run a Node
    • Tools
      • Bridges
      • Blockchain Explorer
      • Oracles
      • MultiSig Wallet
      • Node Providers
      • Actions & magicLink SDK
  • ❓Additional resources
    • Help
    • Github
    • Audits
    • Bug Bounty
    • Official Links
Powered by GitBook
On this page
  1. architecture
  2. Settlement Layer

In-Detail: Contract System on Primary Chain

PreviousIn-Detail: Multi-Chain State SynchronizationNextDA Layer

Last updated 1 year ago

In order to create a modular smart contract system that can be extended after deployment, Nova applies a diamond proxy contract () with functions called facets, which include:

  • zkLink admin facet that provides the interface for managing gas fee, adding new secondary chains, etc.

  • zkLink mail box facet that provides the interface for on-chain transactions like deposit and withdraw.

  • zkLink executor facet that provides the interface to commit, prove and execute batches.

  • zkLink getters facet that provides the interface to read the state of Nova network.

In the stage of proving a batch's validity, the verifier contract will be called by the executor facet of the diamond proxy contract to validate ZKP.

Governance contract is the owner of the diamond proxy contract, which is able to upgrade facets in the proxy contract.

Validator Timelock controls the operations including committing, proving and executing batches.

L1ERC20Bridge uses the requestL2Transaction interface of Diamond Proxy to send the ERC20 bridge message to Nova network.

Linea2Gateway is in charge of transmitting massage between Linea and Ethereum.

🏗️
EIP-2535