Registry
struct Storage {
// Maps function selectors to the implementations that execute the functions
mapping(bytes4 => address) implementations;
// Maps the implementation to the hash of all its selectors
// implementation => keccak256(abi.encode(selectors))
mapping(address => bytes32) selectorsHash;
}Last updated