๐Ÿ“„ Contracts overview

Description of protocol's on-chain structure and contracts.

Interacting with the protocol (directly)

Rho Protocol consists of a number of smart-contracts, but there are only 3 that are available to interact with:

  • Router โ€” the entry point for all write-based interactions with the Protocol;

  • Quoter โ€” provides view functions that perform calculations and return the essential data for decision making, e.g. margin requirements, expected trade rate and so on;

  • ViewDataProvider โ€” provides view functions that allow to retrieve the state of the Protocol in a structured manner, e.g. list active Markets, get client's active Positions and so on.

Last updated