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§
- Admin
Changed - Event with signature
AdminChanged(address,address,address)and selector0x4eb572e99196bed0270fbd5b17a948e19c3f50a97838cb0d2a75a823ff8e6c50. - Admin
Storage NotEnabled - Custom error with signature
AdminStorageNotEnabled()and selector0xeccf5125. - Already
Activated - Custom error with signature
AlreadyActivated(bytes32)and selector0x866b0041. - Delegate
Call NotAllowed - Custom error with signature
DelegateCallNotAllowed()and selector0x0d89438e. - Feature
Activated - Event with signature
FeatureActivated(bytes32,address)and selector0x8c7a0ecdbb8d96e867e43ec1aef80027976ee493c18bef399fa799ed19752451. - Feature
Deactivated - Event with signature
FeatureDeactivated(bytes32,address)and selector0x15bf65a782c3258c63268ba9d7aed710cf9f9315d3687d9a4632ccdad7926c84. - Feature
NotActivated - Custom error with signature
FeatureNotActivated(bytes32)and selector0xb9b2a425. - NonPayable
- Custom error with signature
NonPayable()and selector0x6fb1b0e9. - Static
Call NotAllowed - Custom error with signature
StaticCallNotAllowed()and selector0xbeaba5b7. - Unauthorized
- Custom error with signature
Unauthorized(address)and selector0x8e4a23d6. - Zero
Admin Address - Custom error with signature
ZeroAdminAddress()and selector0x3ef39b81. - activate
Call - Function with signature
activate(bytes32)and selector0x59db6e85. - activate
Return - Container type for the return parameters of the
activate(bytes32)function. - admin
Call - Function with signature
admin()and selector0xf851a440. - admin
Return - Container type for the return parameters of the
admin()function. - check
Activated Call - Function with signature
checkActivated(bytes32)and selector0xde5bfd9b. - check
Activated Return - Container type for the return parameters of the
checkActivated(bytes32)function. - deactivate
Call - Function with signature
deactivate(bytes32)and selector0x22eee84c. - deactivate
Return - Container type for the return parameters of the
deactivate(bytes32)function. - isActivated
Call - Function with signature
isActivated(bytes32)and selector0xba87af80. - isActivated
Return - Container type for the return parameters of the
isActivated(bytes32)function. - setAdmin
Call - Function with signature
setAdmin(address)and selector0x704b6c02. - setAdmin
Return - Container type for the return parameters of the
setAdmin(address)function.
Enums§
- IActivation
Registry Calls - Container for all the
IActivationRegistryfunction calls. - IActivation
Registry Errors - Container for all the
IActivationRegistrycustom errors. - IActivation
Registry Events - Container for all the
IActivationRegistryevents.