Skip to main content

Module IActivationRegistry

Module IActivationRegistry 

Source
Available on crate feature base only.
Expand description

Mirror of base_common_precompiles::IActivationRegistry.

interface IActivationRegistry {
    event FeatureActivated(bytes32 indexed feature, address indexed caller);
    event FeatureDeactivated(bytes32 indexed feature, address indexed caller);
    event AdminChanged(address indexed previousAdmin, address indexed newAdmin, address indexed caller);
    error Unauthorized(address caller);
    error AlreadyActivated(bytes32 feature);
    error FeatureNotActivated(bytes32 feature);
    error DelegateCallNotAllowed();
    error StaticCallNotAllowed();
    error NonPayable();
    error AdminStorageNotEnabled();
    error ZeroAdminAddress();
    function isActivated(bytes32 feature) external view returns (bool);
    function checkActivated(bytes32 feature) external view;
    function admin() external view returns (address);
    function setAdmin(address newAdmin) external;
    function activate(bytes32 feature) external;
    function deactivate(bytes32 feature) external;
}

Modules§

abi
Contains dynamic ABI definitions for this contract.

Structs§

AdminChanged
Event with signature AdminChanged(address,address,address) and selector 0x4eb572e99196bed0270fbd5b17a948e19c3f50a97838cb0d2a75a823ff8e6c50.
AdminStorageNotEnabled
Custom error with signature AdminStorageNotEnabled() and selector 0xeccf5125.
AlreadyActivated
Custom error with signature AlreadyActivated(bytes32) and selector 0x866b0041.
DelegateCallNotAllowed
Custom error with signature DelegateCallNotAllowed() and selector 0x0d89438e.
FeatureActivated
Event with signature FeatureActivated(bytes32,address) and selector 0x8c7a0ecdbb8d96e867e43ec1aef80027976ee493c18bef399fa799ed19752451.
FeatureDeactivated
Event with signature FeatureDeactivated(bytes32,address) and selector 0x15bf65a782c3258c63268ba9d7aed710cf9f9315d3687d9a4632ccdad7926c84.
FeatureNotActivated
Custom error with signature FeatureNotActivated(bytes32) and selector 0xb9b2a425.
NonPayable
Custom error with signature NonPayable() and selector 0x6fb1b0e9.
StaticCallNotAllowed
Custom error with signature StaticCallNotAllowed() and selector 0xbeaba5b7.
Unauthorized
Custom error with signature Unauthorized(address) and selector 0x8e4a23d6.
ZeroAdminAddress
Custom error with signature ZeroAdminAddress() and selector 0x3ef39b81.
activateCall
Function with signature activate(bytes32) and selector 0x59db6e85.
activateReturn
Container type for the return parameters of the activate(bytes32) function.
adminCall
Function with signature admin() and selector 0xf851a440.
adminReturn
Container type for the return parameters of the admin() function.
checkActivatedCall
Function with signature checkActivated(bytes32) and selector 0xde5bfd9b.
checkActivatedReturn
Container type for the return parameters of the checkActivated(bytes32) function.
deactivateCall
Function with signature deactivate(bytes32) and selector 0x22eee84c.
deactivateReturn
Container type for the return parameters of the deactivate(bytes32) function.
isActivatedCall
Function with signature isActivated(bytes32) and selector 0xba87af80.
isActivatedReturn
Container type for the return parameters of the isActivated(bytes32) function.
setAdminCall
Function with signature setAdmin(address) and selector 0x704b6c02.
setAdminReturn
Container type for the return parameters of the setAdmin(address) function.

Enums§

IActivationRegistryCalls
Container for all the IActivationRegistry function calls.
IActivationRegistryErrors
Container for all the IActivationRegistry custom errors.
IActivationRegistryEvents
Container for all the IActivationRegistry events.