📖Smart Contract Overview

This section provides an in-depth look at the core smart contracts powering NAVI Protocol.

This guide outlines key modules that support essential functions such as lending, borrowing, repaying, rewards distribution, and flashloan. Each module is broken down with detailed descriptions of its use cases and key functions, providing developers a clear understanding of how NAVI’s system operates.

The functions within this module are categorized into two types: entry and non-entry functions.

  • Entry Functions:

    • Directly invoke the underlying base function.

    • Automatically return the token object to the function sender.

  • Non-Entry Functions:

    • Also invoke the underlying base function.

    • Return the coin object without handling it.

    • Require the caller—typically a developer or transaction builder—to manage the token object manually. Failure to do so will result in a reverted transaction.

Non-entry functions provide greater flexibility, enabling developers to improve interoperability and compatibility with other protocols.

Modules covered include:

1️Lending Core2️Flash Loan3️Calculator4️Dynamic Calculator5️Storage

Github Repo of NAVI Interfaces:

NAVI Interface Repo

Last updated