> For the complete documentation index, see [llms.txt](https://gabriel-j-shapiro.gitbook.io/metalex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gabriel-j-shapiro.gitbook.io/metalex-docs/protocol-reference/contracts.md).

# Core contracts

Contract roles, as implemented in [`cybercorps-contracts`](https://github.com/MetaLex-Tech/cybercorps-contracts) (`develop`, `DEPLOY_VERSION "4"`).

| Contract                                                                                               | Role                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [**CyberCorp**](/metalex-docs/protocol-reference/contracts/cybercorp.md)                               | The onchain entity. Stores the company name, type, jurisdiction, contact details, dispute-resolution default, officers, escrowed officer signatures, and the addresses of the IssuanceManager / DealManager / RoundManager. UUPS-upgradeable. |
| [**CyberCorpFactory**](/metalex-docs/protocol-reference/factories.md)                                  | Deploys a cyberCORP and its full suite (BorgAuth, IssuanceManager, DealManager, RoundManager) in one call.                                                                                                                                    |
| [**IssuanceManager**](/metalex-docs/protocol-reference/contracts/issuancemanager.md)                   | Issuance authority. Creates CyberCertPrinters, mints/assigns/voids cyberCERTs, deploys CyberScrip, runs scripification and de-scripification, manages recertification approvals.                                                              |
| [**CyberCertPrinter**](/metalex-docs/protocol-reference/contracts/cybercertprinter.md)                 | ERC-721 of cyberCERTs (Ledger Entry Tokens). One printer per security class. Mutated only by its IssuanceManager.                                                                                                                             |
| [**CyberScrip**](/metalex-docs/protocol-reference/contracts/cyberscrip.md)                             | ERC-20 fungible form of a security, deployed per CyberCertPrinter. USDC-style compliance powers (force transfer, force burn, freeze) with one-way disable toggles.                                                                            |
| [**CyberShares**](/metalex-docs/protocol-reference/contracts/cybershares.md)                           | An ERC-20 share token with certificate-formation logic. Partly in-progress — see the page.                                                                                                                                                    |
| [**DealManager**](/metalex-docs/protocol-reference/contracts/dealmanager.md)                           | Deal lifecycle: propose, sign, finalise, void/revoke. Built on the agreement registry.                                                                                                                                                        |
| [**RoundManager**](/metalex-docs/protocol-reference/contracts/roundmanager.md)                         | Multi-investor fundraising rounds: create, submit EOIs, allocate, close.                                                                                                                                                                      |
| [**LeXscroWLite**](/metalex-docs/protocol-reference/contracts/lexscrowlite.md)                         | The escrow concept used at deal/round close. **Not a contract in this repository's `src/`** — see the page.                                                                                                                                   |
| [**CyberAgreementRegistry**](/metalex-docs/protocol-reference/contracts/cyberagreementregistry.md)     | Onchain registry of agreement templates and executed, multi-party-signed contracts.                                                                                                                                                           |
| [**SafeCertificateConverter**](/metalex-docs/protocol-reference/contracts/safecertificateconverter.md) | Computes a SAFE→equity conversion plan from round data. **Currently a stub.**                                                                                                                                                                 |
| [**LexChex / LexChexMinter**](/metalex-docs/protocol-reference/contracts/lexchex.md)                   | ERC-5484 soulbound accreditation credentials.                                                                                                                                                                                                 |
| [**CertificateUriBuilder**](/metalex-docs/protocol-reference/contracts/certificateuribuilder.md)       | Builds the onchain JSON + SVG token URI for cyberCERTs.                                                                                                                                                                                       |

See [Factories](/metalex-docs/protocol-reference/factories.md) for the specialised factories (PumpCorp, MetaDAO, ParentCo).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://gabriel-j-shapiro.gitbook.io/metalex-docs/protocol-reference/contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
