πOn-Chain Integration for Flexible Term Vault (V4)
This page provides information on how to access full documentation on the flexible term vault contract, using the Flexible Term USDC Vault deployed on Ethereum as an example
Getting Started
Important Links
Using Etherscan to View Documentation
Important Functions
Terminology
Term in Code
Display Name
Key Data Fields and their Decimals / Formatting
Field
Decimals
Example in Code
Example in Display
1. Make Investments
2. Request Withdrawals
Demo of Making a Withdrawal Request
Previewing Requests
Preview Redeem Request
Preview Withdrawal Request
Convert to Assets
Convert to Shares
3. Reading Contract Data
Get Pool Overview State
To get the current state of the pool, you can call the function
Get Pool Configuration
Get Account Overview
Typescript Reference Implementation
Last updated