Closed djm07073 closed 3 months ago
The recent updates to the initia_stdlib
and minitia_stdlib
modules include enhancements and refinements in several areas. Key changes involve introducing TVL snapshots, renaming stages to epochs, improving delegation information management, refining arithmetic operations for precision, and adding new event structures. These modifications aim to improve clarity, maintainability, and functionality across the modules.
Files or Modules Involved | Summary of Changes |
---|---|
precompile/.../vip.move |
Added vip_tvl_manager , comments, modified bridge_balance calculation, and introduced add_tvl_snapshot . |
precompile/.../weight_vote.move |
Transitioned terminology and logic from stages to epochs, updated all related functions and structures accordingly. |
precompile/.../zapping.move |
Enhanced delegation information management with explicit syntax. |
precompile/.../decimal128.move |
Refined multiplication functions for u64 and u128 types to improve precision and rounding behavior. |
precompile/.../vip/score.move |
Introduced FinalizedScoreEvent struct and updated update_score function to emit this event. |
In the code where changes flow, Epochs rise where stages go. TVL snapshots, clear and bright, Delegation now in sight. Decimal math, precise and neat, Improvements make the code complete. 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
vip_tvl
: recommend more nice nameSummary by CodeRabbit
New Features
Improvements
FinalizedScoreEvent
to track score updates.Bug Fixes
fund_reward
function.