Skip to content

feat: add IAgentConfigurator/IAgentHub events to eventDb#646

Merged
sakulstra merged 3 commits intoaave-dao:mainfrom
bgd-labs:feat/add-agent-hub-events
Feb 24, 2026
Merged

feat: add IAgentConfigurator/IAgentHub events to eventDb#646
sakulstra merged 3 commits intoaave-dao:mainfrom
bgd-labs:feat/add-agent-hub-events

Conversation

@phlgr
Copy link
Contributor

@phlgr phlgr commented Feb 23, 2026

Summary

  • Adds 17 event signatures from IAgentConfigurator/IAgentHub to eventDb.json so that AGENT_HUB contract events are decoded in diff reports instead of showing raw topics
  • Fixes undecoded events for MiscInkWhitelabel.AGENT_HUB (and any other AgentHub deployments) visible in aave-proposals-v3#996

Events added: AgentRegistered, AgentAdminSet, AgentAddressSet, AgentEnabledSet, AgentPermissionedStatusSet, AllowedMarketAdded, AllowedMarketRemoved, RestrictedMarketAdded, RestrictedMarketRemoved, PermissionedSenderAdded, PermissionedSenderRemoved, ExpirationPeriodSet, MinimumDelaySet, AgentContextSet, MarketsFromAgentEnabled, MaxBatchSizeSet, UpdateInjected

Test plan

  • Re-run diff for AaveV3InkWhitelabel_ActivateRatesAndCapsAgentOnInk_20260219 and verify AGENT_HUB events are decoded

Add event signatures from IAgentConfigurator (AgentRegistered,
AgentAdminSet, AgentAddressSet, AgentEnabledSet, AgentPermissionedStatusSet,
AllowedMarket*, RestrictedMarket*, PermissionedSender*, ExpirationPeriodSet,
MinimumDelaySet, AgentContextSet, MarketsFromAgentEnabled, MaxBatchSizeSet,
UpdateInjected) so that AGENT_HUB contract events are decoded in diff
reports instead of showing raw topics.
@sakulstra
Copy link
Collaborator

Cool that seems to work indeed.
Can you:

  1. add a changeset (npx run changeset)
  2. add a pr template letting ppl know to add a changeset 😅
  3. make eventDb reusable for ppl relying on the package? Perhaps should be refactored from json to ts... can't recall why i made it json in first place. Probably just legacy.

@phlgr phlgr force-pushed the feat/add-agent-hub-events branch from 4e8bfea to ac12952 Compare February 24, 2026 08:45
@sakulstra sakulstra merged commit 8b830cf into aave-dao:main Feb 24, 2026
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.

2 participants