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

# Contract overview

The architecture of Swaylend has been rewritten from the Ethereum lending protocol solution [Compound v3](https://compound.finance/) to the Sway programming language. This documentation will cover two topics related to the Swaylend contracts: contract methods and storage entities. The contract methods section will discuss the functions available to interact with the contracts. In the storage entities section, we will explore the data stored by the contracts and the relationships between different storage values.

In this chapter you can find:

* [Contract methods](/developers/contract-methods/contract-methods.md)
* [Contract storage](/developers/contract-methods/contract-storage.md)
