Last updated 6 months ago
This library declared struct and a library used by MagpieRouterV2. This structure and library design help organize data and provide access to the app's storage, allowing other parts of the system to fetch essential data or settings as needed.
struct AppStorage { mapping(uint16 => bytes4) selectors; }
selectors
mapping(uint16 => bytes4)
Mapping of command to its corresponding function selector.