Signature
IB20.sol
Description
Returns everyPausableFeature that is currently paused on this token. The four possible values are TRANSFER, MINT, BURN, and SEIZE. Order is implementation-defined, so treat the result as a set.
To check a single feature, prefer isPaused(feature).
- The returned array reflects the state at the block the call executes in.
B20Constants.ALL_FEATURES_PAUSED(15) is the bitmask with every feature set.- Pausing is controlled by
pause(PausableFeature[])(requiresPAUSE_ROLE) and reversed byunpause(PausableFeature[])(requiresUNPAUSE_ROLE). When a feature is paused, operations it gates revertContractPaused(feature).
Returns
Access Control
View, no role required.Policy Interaction
No direct policy interaction.Example
Usage Example