Manage a Safety Module
/// @notice Parameters for configuration updates. struct ConfigUpdateCalldataParams { // The new reserve pool configs. ReservePoolConfig[] reservePoolConfigs; // The new controller configs. ControllerConfig[] controllerConfigUpdates; // The new delays config. Delays delaysConfig; } /// @notice Signal an update to the safety module configs. Existing queued updates are overwritten. /// @param configUpdates_ The new configs. Includes: /// - reservePoolConfigs: The array of new reserve pool configs, sorted by associated ID. The array may also /// include config for new reserve pools. /// - controllerConfigUpdates: The array of controller config updates. It only needs to include config for updates to /// existing controllers or new controllers. /// - delaysConfig: The new delays config. function updateConfigs(ConfigUpdateCalldataParams calldata configUpdates_) external; onlySharedSafetyModuleIfSetElseOwner;/// @notice Execute queued updates to the safety module configs. /// @param configUpdates_ The new configs. Includes: /// - reservePoolConfigs: The array of new reserve pool configs, sorted by associated ID. The array may also /// include config for new reserve pools. /// - controllerConfigUpdates: The array of controller config updates. It only needs to include config for updates to /// existing controllers or new controllers. /// - delaysConfig: The new delays config. function finalizeUpdateConfigs(ConfigUpdateCalldataParams calldata configUpdates_) external;
Last updated