# Smart Contracts

Nexus Network uses a set of smart contracts that orchestrate the flow of assets to generate yields for rollups -

1. [**Nexus Contract**](https://github.com/Nexus-2023/Nexus-Contracts/blob/main/contracts/Nexus.sol)**:** This contract manages the core functionality of the Nexus network orchestrating the end-to-end flow of journey for rollups. The admin part governs rollup registration, rollup parameters can then be modified using rollup admin address. It stores the necessary parameters for the rollup to start staking. It also keeps track of all validators registered through Nexus Network and governs the integration with SSV network
2. [**Node Operator Contract**: ](https://github.com/Nexus-2023/Nexus-Contracts/blob/main/contracts/NodeOperator.sol)This contract handles all the node operator operations. It maintains the DVT clusters needed for running validators, ensures staking/unstaking from validators, and tracks the performance of all node operators
3. [**Nexus Bridge ETH**](https://github.com/Nexus-2023/Nexus-Contracts/blob/main/contracts/nexus_bridge/NexusBaseBridge.sol): Nexus Bridge ETH is a package imported by rollups in their bridge contract to start the integration with Nexus Network. Once imported, it enables the staking of ETH from the bridge contract
4. [**Nexus Bridge DAI**](https://github.com/Nexus-2023/Nexus-Contracts/blob/main/contracts/nexus_bridge/NexusDAIBridge.sol): This contract enables the rollup to earn returns on the DAI locked in the bridge by depositing it to the [DSR](https://blog.makerdao.com/dai-savings-rate/) savings contract
5. [**Validator Execution Rewards**](https://github.com/Nexus-2023/Nexus-Contracts/blob/main/contracts/ValidatorExecutionRewards.sol): Block proposer rewards generated by the validators are directed to this contract. The contract enables rollups to claim the rewards


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://web3navigators.gitbook.io/product-docs/developer-docs/smart-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
