Genesis Value
Understanding how Genesis Value enables efficient asset management in the Fixed-Rate Lending Protocol
Overview
In the Secured Finance protocol, Genesis Value (GV) revolutionizes asset management by offering a more efficient and cost-effective approach to auto-roll and position calculations. GV is a dynamic value derived from a combination of Future Value (FV) and Compound Factors. Genesis Value represents the Asset Value of the Genesis Date and serves as an important pillar of the protocol's Lazy Evaluation mechanism.
How It Works
Genesis Value allows for rational asset management without the need to frequently recalculate individual positions on the contract, providing significant efficiency improvements.
Genesis Value Calculation
The Genesis Value calculation is initiated based on a predetermined Genesis Date, which marks the starting point. For instance, if the Genesis Date is set to 30th June 2020, the protocol will begin GV calculations for this date.
Upon auto-roll, as the nearest order book matures, the protocol captures the Compound Factor for the next 3-month tenor. This Compound Factor acts as the auto-roll price to calculate Future Value. Simultaneously, shorter than 3-month positions are converted into Genesis Value using the Compound Factors.
Benefits of Genesis Value
The utilization of Genesis Value offers several compelling advantages for the Secured Finance protocol:
Gas Cost Reduction: Traditional approaches require recalculating Future Value for each position individually during auto-roll. However, Genesis Value eliminates the need for such redundant computations, resulting in significant gas cost reduction.
Efficient Auto-Roll: By leveraging Compound Factors and Genesis Value, the protocol can efficiently calculate Future Value for each position, streamlining the auto-roll process and minimizing computational overhead.
Scalability and User-Friendliness: Genesis Value's gas cost reduction makes the protocol more economically viable for users of all sizes, enhancing scalability, and encouraging broader participation in the ecosystem.
Key Parameters
Genesis Date
Starting point for Genesis Value calculations
Protocol-defined date (e.g., June 30, 2020)
Genesis Value (GV)
Asset Value at the Genesis Date
Calculated based on position and Compound Factors
Future Value (FV)
Projected value calculated from GV
GV × Lending Compound Factor
Auto-Roll Period
Frequency of orderbook maturity and GV recalculation
3 months
Position Conversion
How shorter positions are handled
Converted to GV using Compound Factors
Examples
Example 1: Genesis Value Calculation for a New Position
Let's walk through how Genesis Value is calculated when a user opens a new lending position:
Initial setup:
Genesis Date: June 30, 2020
Current Date: September 15, 2023
User deposits 1,000 USDC to lend
Current Lending Compound Factor (LCF): 1.45 (accumulated since Genesis Date)
Current market price: 97.50
Calculate the Genesis Value:
This Genesis Value (689.66) is stored and remains constant for this lending position throughout its lifetime.
When the user wants to calculate their current position value:
Example 2: Auto-Roll Impact on Genesis Value
Let's examine how Genesis Value remains stable during auto-roll events:
Initial position:
Genesis Value (GV) for a lender: 500 USDC
Current Lending Compound Factor (LCF): 1.20
Current Future Value: 500 × 1.20 = 600 USDC
Auto-roll occurs with the following parameters:
Auto-roll price: 98.50
Auto-roll fee rate: 0.001 (0.1%)
New Lending Compound Factor: 1.20 × (1/0.985 - 0.001) = 1.20 × 1.014 = 1.2168
After auto-roll, the lender's position:
Genesis Value remains unchanged at 500 USDC
Updated Future Value: 500 × 1.2168 = 608.4 USDC
The lender's position has grown by 8.4 USDC without requiring recalculation of their Genesis Value.
Example 3: Gas Cost Comparison
Let's compare gas costs between traditional position calculation and Genesis Value approach:
Traditional approach for 1,000 positions during auto-roll:
Each position requires individual Future Value recalculation
Approximate gas cost per recalculation: 20,000 gas
Total gas cost: 1,000 × 20,000 = 20,000,000 gas
Genesis Value approach:
Only need to update the Compound Factor once
Approximate gas cost for updating Compound Factor: 50,000 gas
Individual position values can be calculated off-chain using the updated Compound Factor
Total gas cost: 50,000 gas
Gas savings: 20,000,000 - 50,000 = 19,950,000 gas (99.75% reduction)
This significant gas reduction makes the protocol more economically viable, especially during periods of high Ethereum gas prices.
Common Questions
How does Genesis Value differ from Future Value?
Genesis Value and Future Value differ in several important ways:
Time Reference: Genesis Value represents the value at the Genesis Date, while Future Value represents the current or maturity value
Stability: Genesis Value remains constant for lenders, while Future Value changes with each auto-roll
Calculation Base: Genesis Value is the base value used to calculate Future Value using Compound Factors
Storage Efficiency: Storing Genesis Value requires less frequent updates, reducing gas costs
User Perspective: Users typically interact with Future Value (what their position is worth), while Genesis Value works behind the scenes
Why use a fixed Genesis Date instead of each user's entry date?
Using a fixed Genesis Date offers several advantages:
Standardization: All positions reference the same starting point, simplifying calculations
Computational Efficiency: A single reference point reduces the complexity of tracking individual entry dates
Protocol Consistency: Ensures all positions follow the same calculation methodology
Gas Optimization: Reduces the storage and computation requirements for the protocol
Scalability: Makes the system more scalable as the number of users increases
How does Genesis Value handle different currencies and assets?
Genesis Value handles different currencies and assets through:
Asset-Specific Compound Factors: Each asset pair has its own set of Compound Factors
Independent Calculations: Genesis Values for different assets are calculated independently
Currency Neutrality: The concept works regardless of the underlying currency or asset
Consistent Methodology: The same calculation principles apply across all supported assets
Separate Orderbooks: Each asset pair has separate orderbooks with their own Genesis Values
What happens to Genesis Value during extreme market conditions?
During extreme market conditions:
Stability Preservation: Genesis Value remains stable even during market volatility
Compound Factor Adjustments: Market conditions affect Compound Factors, not Genesis Values
Circuit Breaker Protection: Circuit breakers may limit extreme price movements that would affect Compound Factors
Governance Oversight: In extreme cases, governance mechanisms can intervene to ensure system stability
Risk Isolation: The separation of Genesis Value from market prices helps isolate positions from short-term volatility
Can users manipulate their Genesis Value?
Users cannot manipulate their Genesis Value because:
Protocol-Controlled Calculation: Genesis Value is calculated by the protocol, not set by users
Immutable After Creation: Once set, a position's Genesis Value cannot be altered
Market-Driven Factors: Compound Factors are determined by market forces, not individual users
Transparent Formulas: All calculations follow transparent, predetermined formulas
Audit Trail: All Genesis Value calculations are recorded on-chain and can be verified
Related Resources
Last updated
Was this helpful?