Skip to content

Conversation

axatbhardwaj
Copy link
Member

Summary

  • Implement DepositorLock + WeeklyDepositorsUnlock (derived) to track “currently locked” depositors without FE filtering.
  • Add Global.activeLockedHolderCount; update counters on true state transitions.
  • Block handler expires locks by scanning current and previous week; no arrays stored, derived lists used on demand.

Key changes

Add/update:

  • DepositorLock: account, unlockTimestamp, isActive, isLocked, weeklyUnlock
  • WeeklyDepositorsUnlock: id=weeklyStartTimestamp (derived locks)
  • Global: veolasHolderCount, activeLockedHolderCount, updatedAt

@axatbhardwaj axatbhardwaj self-assigned this Oct 2, 2025
@axatbhardwaj axatbhardwaj added the enhancement New feature or request label Oct 2, 2025
Base automatically changed from feat/tokenomics-veolas-holder-stats to main October 3, 2025 14:55
@axatbhardwaj axatbhardwaj requested a review from rajat2502 October 6, 2025 10:33
@axatbhardwaj axatbhardwaj marked this pull request as draft October 6, 2025 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants