📖Smart Contract Overview
This section provides an in-depth look at the core smart contracts powering NAVI Protocol.
Last updated
This section provides an in-depth look at the core smart contracts powering NAVI Protocol.
Last updated
It outlines key modules that facilitate essential functions such as lending, borrowing, repaying, rewards distribution, and flashloan. Each module is broken down with descriptions of its use cases and key functions, offering developers a clear understanding of how NAVI’s system operates.
The functions in this module are categorized into two types: entry and non-entry calls.
Entry Functions:
Directly invoke the underlying base function.
Return the token object to the function sender automatically.
Non-Entry Functions:
Also invoke the underlying base function.
Return the coin object without handling it.
The caller, typically a developer or transaction builder, must manage the token object manually. Failure to do so will result in a reverted transaction.
Non-entry functions offer greater flexibility, allowing developers to enhance interoperability and compatibility with other protocols.