ERC-6224 Contracts Dependencies Registry
A registry for managing smart contracts with their dependencies.
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IContractsRegistry | 0xbf1f7ef5 |
| IDependant | 0xdb911e84 |
Functions this standard introduces (14)
0xbf5b6016 | addContract(string,address) | |
0xe0e084f8 | addProxyContract(string,address) | |
0x423c072b | addProxyContractAndCall(string,address,bytes) | |
0x35817773 | getContract(string) | view |
0x3e3b5b19 | getInjector() | view |
0x8c223601 | hasContract(string) | view |
0x1adad8cf | injectDependencies(string) | |
0xbe96dc3e | injectDependenciesWithData(string,bytes) | |
0x51dad82c | justAddProxyContract(string,address) | |
0x97623b58 | removeContract(string) | |
0x69130451 | setDependencies(address,bytes) | |
0x8cb941cc | setInjector(address) | |
0x1271bd53 | upgradeContract(string,address) | |
0x6bbe8694 | upgradeContractAndCall(string,address,bytes) |
Events (4)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x8b4ef7d4e5bc8f098e6f637ac0acf4aee47b3f027efea6307264b06b4bc9d298 | ContractAdded(string,address) | |
0x10e75df11debcdd8425769babc76babb1b082c13be22ba626bfc8e6de393c4c5 | ProxyContractAdded(string,address,address) | |
0x0ade5313c9e16e7e06de9ab0edde476cc9a6fd51b973b8685c6c5026028a39d2 | ProxyContractUpgraded(string,address) | |
0x0c4eafbc12ea2584eb34031bf52952af5909a5880ef4058cb05c627ae39ffda0 | ContractRemoved(string) |
Depends on (2)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion