LibMagpieRouterV2

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.

CurveSettings:

struct AppStorage {
    mapping(uint16 => bytes4) selectors;
}
FieldTypeDescription
selectors
mapping(uint16 => bytes4)

Mapping of command to its corresponding function selector.

Last updated