Update documentation of helper interface (#5179)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
pull/5222/head
Hadrien Croubois 5 months ago committed by GitHub
parent f3825ab335
commit 8a309ab5ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      contracts/proxy/transparent/TransparentUpgradeableProxy.sol

@ -15,12 +15,7 @@ import {ProxyAdmin} from "./ProxyAdmin.sol";
* include them in the ABI so this interface must be used to interact with it. * include them in the ABI so this interface must be used to interact with it.
*/ */
interface ITransparentUpgradeableProxy is IERC1967 { interface ITransparentUpgradeableProxy is IERC1967 {
/** /// @dev See {UUPSUpgradeable-upgradeToAndCall}
* @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
* encoded in `data`.
*
* See {UUPSUpgradeable-upgradeToAndCall}
*/
function upgradeToAndCall(address newImplementation, bytes calldata data) external payable; function upgradeToAndCall(address newImplementation, bytes calldata data) external payable;
} }

Loading…
Cancel
Save