Description
Introduce an on-chain registry for reusable notification templates. This allows senders to reference predefined templates instead of repeatedly storing identical notification structures.
Tasks
Create template registration functions.
Allow template updates where appropriate.
Emit template registration events.
Validate template existence before use.
Add comprehensive unit tests.
Acceptance Criteria
Templates can be registered successfully.
Invalid template references are rejected.
Events are emitted for template actions.
Tests cover registration and retrieval.
Contributors start work by running:
git checkout -b contracts/template-registry
Description
Introduce an on-chain registry for reusable notification templates. This allows senders to reference predefined templates instead of repeatedly storing identical notification structures.
Tasks
Create template registration functions.
Allow template updates where appropriate.
Emit template registration events.
Validate template existence before use.
Add comprehensive unit tests.
Acceptance Criteria
Templates can be registered successfully.
Invalid template references are rejected.
Events are emitted for template actions.
Tests cover registration and retrieval.
Contributors start work by running:
git checkout -b contracts/template-registry