NAVI Protocol Developer Docs
  • 🖥️Build with NAVI Protocol
  • 📖Smart Contract Overview
    • 1️Lending Core
    • 2️Flash Loan
    • 3️Calculator
    • 4️Dynamic Calculator
    • 5️Storage
  • 🕓Decentralized Oracle
    • 💽Oracle Interface
  • 🗺️Contract Configuration
    • 1️⃣Get the Latest Package ID
    • 2️⃣Get Pools Config and Oracle Price Feeds
    • 3️⃣Get Flashloan Config
  • 🛩️NAVI SDK
    • 1️Getting Started
    • 2️Retrieve Info & Data
    • 3️Interactions With NAVI
    • 4️PTB Functions
    • 5️Other Ways to Interact with NAVI
    • 6️Demo
  • 📲NAVI UI SDK
    • ⭐Getting Started
    • 🅰️Aggregator Components
  • 🎧Contract Integration with NAVI
    • 1️⃣Retrieve Pools Info inside Contract
    • 2️⃣Integration with Account Cap
    • 3️⃣Demo
  • 🏅NAVI Aggregator
    • 1️⃣Getting Started
    • 2️⃣Aggregator SDK
    • 3️⃣Aggregator API
    • 🛜Contact Page
  • NAVI Bridge
    • 🚀Quick Start
    • 📄Bridge SDK
  • 📊NAVI Uptime Status Page
  • 📚NAVI API Collection
    • NAVI API
    • afSui, haSui, vSui API
  • ❓FAQ
Powered by GitBook
On this page
  • Modules covered include:
  • Github Repo of NAVI Interfaces:

Smart Contract Overview

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

PreviousBuild with NAVI ProtocolNextLending Core

Last updated 2 months ago

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:

Github Repo of NAVI Interfaces:

📖
1️Lending Core
2️Flash Loan
3️Calculator
4️Dynamic Calculator
5️Storage
GitHub - naviprotocol/protocol-interfaceGitHub
NAVI Interface Repo
Logo