Expand description
Generated by the following Solidity interface…
interface ProxyAdmin {
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function changeProxyAdmin(address proxy, address newAdmin) external;
function getProxyAdmin(address proxy) external view returns (address);
function getProxyImplementation(address proxy) external view returns (address);
function owner() external view returns (address);
function renounceOwnership() external;
function transferOwnership(address newOwner) external;
function upgrade(address proxy, address implementation) external;
function upgradeAndCall(address proxy, address implementation, bytes memory data) external payable;
}
…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "changeProxyAdmin",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract TransparentUpgradeableProxy"
},
{
"name": "newAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getProxyAdmin",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract TransparentUpgradeableProxy"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getProxyImplementation",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract TransparentUpgradeableProxy"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "upgrade",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract TransparentUpgradeableProxy"
},
{
"name": "implementation",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "upgradeAndCall",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract TransparentUpgradeableProxy"
},
{
"name": "implementation",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]
Structs§
- Event with signature
OwnershipTransferred(address,address)
and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
.solidity event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
- A
ProxyAdmin
instance. - Function with signature
changeProxyAdmin(address,address)
and selector0x7eff275e
.solidity function changeProxyAdmin(address proxy, address newAdmin) external;
- Container type for the return parameters of the
changeProxyAdmin(address,address)
function. - Function with signature
getProxyAdmin(address)
and selector0xf3b7dead
.solidity function getProxyAdmin(address proxy) external view returns (address);
- Container type for the return parameters of the
getProxyAdmin(address)
function. - Function with signature
getProxyImplementation(address)
and selector0x204e1c7a
.solidity function getProxyImplementation(address proxy) external view returns (address);
- Container type for the return parameters of the
getProxyImplementation(address)
function. - Function with signature
owner()
and selector0x8da5cb5b
.solidity function owner() external view returns (address);
- Container type for the return parameters of the
owner()
function. - Function with signature
renounceOwnership()
and selector0x715018a6
.solidity function renounceOwnership() external;
- Container type for the return parameters of the
renounceOwnership()
function. - Function with signature
transferOwnership(address)
and selector0xf2fde38b
.solidity function transferOwnership(address newOwner) external;
- Container type for the return parameters of the
transferOwnership(address)
function. - Function with signature
upgradeAndCall(address,address,bytes)
and selector0x9623609d
.solidity function upgradeAndCall(address proxy, address implementation, bytes memory data) external payable;
- Container type for the return parameters of the
upgradeAndCall(address,address,bytes)
function. - Function with signature
upgrade(address,address)
and selector0x99a88ec4
.solidity function upgrade(address proxy, address implementation) external;
- Container type for the return parameters of the
upgrade(address,address)
function.
Enums§
- Container for all the
ProxyAdmin
function calls. - Container for all the
ProxyAdmin
events.
Statics§
- The creation / init bytecode of the contract.
- The runtime bytecode of the contract, as deployed on the network.
Functions§
- Deploys this contract using the given
provider
and constructor arguments, if any. - Creates a
RawCallBuilder
for deploying this contract using the givenprovider
and constructor arguments, if any. - Creates a new wrapper around an on-chain
ProxyAdmin
contract instance.