Conversation
|
Good luck! |
… and controllable2 (on the base of Access Manager)
…g predictDeterministicAddress
| /// @notice Authority contract holding addresses of core contracts and managing access to all contracts of Host platform | ||
| contract Authority is AccessManager, IAuthority { | ||
| /// @inheritdoc IAuthority | ||
| address public immutable HOST; |
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions Warning
| address public immutable HOST; | ||
|
|
||
| /// @inheritdoc IAuthority | ||
| address public immutable PROXY_FACTORY; |
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions Warning
| /// @author omriss (https://github.com/omriss) | ||
| contract ProxyFactory is IProxyFactory, Ownable { | ||
| /// @notice Address of the master Proxy contract to be cloned | ||
| address public immutable MASTER_PROXY; |
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions
src/ProxyFactory.sol
Outdated
| address public immutable MASTER_PROXY; | ||
|
|
||
| /// @dev Keccak256 hash of the init code of the clone of the master Proxy contract | ||
| bytes32 internal immutable MASTER_PROXY_CLONE_CODE_HASH; |
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions
|
|
||
| interface IAuthority is IAccessManager { | ||
| /// @notice Address of Host contract on the current chain | ||
| function HOST() external view returns (address); |
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions Warning
| function HOST() external view returns (address); | ||
|
|
||
| /// @notice Address of ProxyFactory used to deploy the proxy contracts | ||
| function PROXY_FACTORY() external view returns (address); |
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions Warning
| /// @inheritdoc IAuthority | ||
| address public immutable PROXY_FACTORY; | ||
|
|
||
| constructor(address initialAdmin, address host_, address proxyFactory_) AccessManager(initialAdmin) { |
Check notice
Code scanning / Slither
Missing zero address validation Low
| /// @inheritdoc IAuthority | ||
| address public immutable PROXY_FACTORY; | ||
|
|
||
| constructor(address initialAdmin, address host_, address proxyFactory_) AccessManager(initialAdmin) { |
Check notice
Code scanning / Slither
Missing zero address validation Low
| function _initProxy(address proxy, address implementation, bytes memory data_) internal { | ||
| IProxy(proxy).initProxy{value: msg.value}(implementation, data_); | ||
| emit ProxyCreated(proxy); | ||
| } |
Check notice
Code scanning / Slither
Reentrancy vulnerabilities Low
…e payloads if necessary
No description provided.