[Module Redesign] Update Address List Contract
Closed this issue · 1 comments
crnbarr93 commented
Description
To enable the address-list contract to be compatible with the permissioning system we need a mapping from actor to Permission
.
Implementation
Add a state mapping to address-list like so:
pub const PERMISSIONS: Map<&Addr, Permission> = Map::new("permissioning");
Following this add appropriate CRUD messages and handlers for this mapping.
Acceptance Criteria
- New state mapping
- New CRUD operation messages/handlers for the mapping
- Appropriate unit testing