Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ITransparentUpgradeableProxy

Inherits: IERC1967

Interface for {TransparentUpgradeableProxy}. In order to implement transparency, {TransparentUpgradeableProxy} does not implement this interface directly, and its upgradeability mechanism is implemented by an internal dispatch mechanism. The compiler is unaware that these functions are implemented by {TransparentUpgradeableProxy} and will not include them in the ABI so this interface must be used to interact with it.

Functions

upgradeToAndCall

See UUPSUpgradeable-upgradeToAndCall

function upgradeToAndCall(address newImplementation, bytes calldata data) external payable;