0xcalldata

upgradeToAndCall(address,bytes)

upgradeToAndCall(address,bytes) is a function in the Proxy (ERC-1967) ABI (4-byte selector 0x4f1ef286). It takes 2 parameters. Encode its calldata from typed inputs, or paste calldata to decode it.

Selector
0x4f1ef286
Mutability
payable

Parameters

NameType
newImplementationaddress
databytes

Example calldata

0x4f1ef286000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000

Other Proxy (ERC-1967) functions