> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/contract.md).

# Contract

The Contract class represents a contract or contract-like entity such as an interface or library.

If a single Solidity file includes different contracts, interfaces, and libraries, the engine will create separate Contract objects for each.

Bases: `Queryable`
