1️⃣Retrieve Pools Info inside Contract
With the provided link, you can access all the interactable interfaces within the NAVI protocol's smart contracts.
Code Sample: Retrieving Reserve Pool Dynamic Fields
Here’s a sample struct that defines the dynamic fields of a reserve pool:
Function Example: Retrieving Borrow Cap Ceiling
This function retrieves the borrow_cap_ceiling
field from the ReserveData
struct:
This sample demonstrates how to access dynamic reserve pool fields such as the borrowing cap, which plays a crucial role in the risk management and lending/borrowing logic within the protocol.
Last updated