L1 Contracts

Cero provides settlement of transactions onto L1 by grouping them together into batches. These batches belonging to different Rollups are clubbed into sequences which is then pushed onto the specific L1 in intervals by the chosen sequencers. Submitted sequence of batches can be later referred by the Rollup contracts for the on-chain execution that needs to follow. Cero employs a number of L1 contracts for settlements of the batches of transactions in a verifiable manner. These contracts are as follows,

  1. Ownership Contract: Used for declaring the owner account.

  2. AdminManager: To store and declare Admin and Manager accounts for ACL.

  3. CeroSharedSequence: To manage all the function used in the sequencing based function.

  4. ValidatorFacet: To manage validator based address. Have validator based CRUD operations.

  5. EmergencyManager: To manage an emergency state based on per unique rollup id. Has functions like Activate and Deactivate.

  6. RollupManagerFacet: Is used for rollup management based CRUD operations.

  7. DiamondLoupeFacet: To manage the delete, update, add function for facets.

Last updated