Contract overview

Description of the protocol code

The architecture of Swaylend has been rewritten from the Ethereum lending protocol solution Compound v3 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:

Last updated