rethink.finance
  • Getting Started
    • Welcome
    • Rethinking Vaults
  • dApp
    • Overview
  • Protocol
    • Architecture
      • Admin Contract
        • Flows
          • V1.0 Flows
          • V2.0 Flows
        • Fees
          • Performance Fee
          • Management Fee
          • Deposit Fee
          • Redemption Fee
      • NAV Calculator Contract
        • NAV Liquid Spot
        • NAV Illiquid
        • NAV DeFi Composable
        • NAV Methods Library
    • Security
    • Integrations
  • Execution
    • Manual
    • Algo/AI
  • Community
    • Closed Beta
  • Policies
    • Terms of Service
    • Privacy Policy
  • Links
    • GitHub
    • Discord
    • X
Powered by GitBook
On this page
  • Oracle
  • Aggregator
  • DEX pair
  1. Protocol
  2. Architecture
  3. NAV Calculator Contract

NAV Liquid Spot

Dynamically references values from the desired oracle, aggregator or DEX .

Oracle

  • Contract Address, e.g. 0xA2eC20a1D6139890962989d5F33DBF03BFbf0dD1

  • Function Signature, e.g.

liquidCalculationReadOnly((address,address,bytes,address,address,bool,uint256,uint256,uint256)[],address,address,uint256,bool,uint256,uint256,address)
  • Encoded Function Input Data, e.g.

0x6b8ddb7100000000000000000000000000000000000000000000000000000000000001000000000000000000000000006b6d690f540788b87fc63bd975e6b398da775159000000000000000000000000533f164d91e3f8169a7043f7094f44af87fb7ca40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000533f164d91e3f8169a7043f7094f44af87fb7ca400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000071041dddad3595f9ced3dccfbe3d1f4b0a16bb7000000000000000000000000000000000000000000000000000000000000001200000000000000000000000004200000000000000000000000000000000000006000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda029130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450d25bcd00000000000000000000000000000000000000000000000000000000
  • Decimals Used for Return Value, e.g. 8

  • Are Values Returns in an Array, e.g. false

  • Desired Index in Array, e.g. 0

  • Size of Array, e.g. 0

  • Type of Data Returned, e.g. 0

  • Is Negative, e.g. 0

Aggregator

  • Aggregator Address, e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984

  • Encoded Function Input Data, e.g. Not generalisable

  • Position Token, e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984

  • Is Return Array?, e.g. false

  • Return Length, e.g. 4

  • Return Index, e.g. 1

DEX pair

  • Token Pair, e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984

  • Position Token, e.g. 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984

PreviousNAV Calculator ContractNextNAV Illiquid

Last updated 1 month ago