Update documentation of helper interface (#5179)
Co-authored-by: Ernesto García <ernestognw@gmail.com> Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user