Skip to content

docs: add missing project_registry and investment_vault events to EVENTS.md (Closes #330) - #344

Open
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:feat/events-catalog-330
Open

docs: add missing project_registry and investment_vault events to EVENTS.md (Closes #330)#344
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:feat/events-catalog-330

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Summary

Closes #330

This PR adds the ~17 events that were missing from EVENTS.md by auditing project_registry/src/events.rs and investment_vault/src/events.rs.

Project Registry events added (8)

  • project_updated — oracle updates credit-quality/green-impact scores
  • rate_updated — interest rate recalculation
  • collateral_liquidated — admin liquidation
  • whitelist_set — whitelist status changes
  • project_certified — certification status updates
  • proposal_created — governance proposals
  • vote_cast — proposal voting
  • proposal_executed — proposal finalisation

Investment Vault events added (9)

  • deposit — USDC deposit / shares minted
  • withdraw — share burn / USDC withdrawal
  • withdraw_queued — queued withdrawal (insufficient liquid USDC)
  • withdraw_claimed — queued claim settlement
  • yield_claimed — yield accumulation claims
  • insurance_claimed — default insurance payouts
  • paused — vault emergency pause
  • unpaused — vault unpause
  • emergency_admin_changed — emergency admin changes

Each entry includes topics, data fields, description, and the INTERFACE.md function(s) that emit it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EVENTS.md omits roughly ten events actually emitted by project_registry

1 participant