IPermanentRestriction

Git Source

Author: Matter Labs

The interface for the permanent restriction contract.

Note: security-contact: security@matterlabs.dev

Events

AdminImplementationAllowed

Emitted when the implementation is allowed or disallowed.

event AdminImplementationAllowed(
  bytes32 indexed implementationHash, bool isAllowed
);

AllowedDataChanged

Emitted when a certain calldata is allowed or disallowed.

event AllowedDataChanged(bytes data, bool isAllowed);

SelectorValidationChanged

Emitted when the selector is labeled as validated or not.

event SelectorValidationChanged(bytes4 indexed selector, bool isValidated);

AllowL2Admin

Emitted when the L2 admin is whitelisted or not.

event AllowL2Admin(address indexed adminAddress);