Description
Write yield accumulation math directly on the smart contract:
- Track virtual interest accretion based on blocks/time elapsed since
last_ping or creation.
- Keep calculations integer-safe to prevent overflow bugs.
Acceptance Criteria
- Calculate yield accurately based on target yield rate.
- Prevents overflows using safe arithmetic libraries.
- Compares yield values with tests.
Description
Write yield accumulation math directly on the smart contract:
last_pingor creation.Acceptance Criteria