Skip to content

Update lending-protocol.clar#2

Open
syed-ghufran-hassan wants to merge 1 commit intosamuel-dafeta:mainfrom
syed-ghufran-hassan:patch-1
Open

Update lending-protocol.clar#2
syed-ghufran-hassan wants to merge 1 commit intosamuel-dafeta:mainfrom
syed-ghufran-hassan:patch-1

Conversation

@syed-ghufran-hassan
Copy link

feat(events): add collateral deposit event emission

  • Emit structured deposit-collateral event in deposit-collateral()
  • Include user, amount, new balance, total collateral, and block height
  • Emit event after state updates to ensure accurate indexing
  • Improves transparency, frontend sync, and off-chain analytics support

feat(events): add collateral deposit event emission

- Emit structured deposit-collateral event in deposit-collateral()
- Include user, amount, new balance, total collateral, and block height
- Emit event after state updates to ensure accurate indexing
- Improves transparency, frontend sync, and off-chain analytics support
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.

1 participant