Skip to main content

Signature

IB20.sol

Description

Resumes each feature listed in features. Features not listed remain in their current state. Duplicates in the array are a no-op. The call does not revert when a feature is already unpaused. Emits Unpaused(updater, features) with the exact array passed. That array is not the resulting paused set, read isPaused(feature) or pausedFeatures() for the current state.

Parameters

Reverts

  • AccessControlUnauthorizedAccount(account, neededRole): caller does not hold UNPAUSE_ROLE.
  • EmptyFeatureSet(): features is an empty array.

Access Control

UNPAUSE_ROLE gates this call. UNPAUSE_ROLE and PAUSE_ROLE are separate roles, so the account that pauses a feature does not have to be the account that resumes it.

Policy Interaction

No direct policy interaction.

Pausable Features

Example

Usage Example