IBeacon.sol 390 B

123456789101112131415
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. /**
  4. * @dev This is the interface that {BeaconProxy} expects of its beacon.
  5. */
  6. interface IBeacon {
  7. /**
  8. * @dev Must return an address that can be used as a delegate call target.
  9. *
  10. * {BeaconProxy} will check that this address is a contract.
  11. */
  12. function implementation() external view returns (address);
  13. }