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 ITransparentUpgradeableProxy"
},
{
"name": "newAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getProxyAdmin",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getProxyImplementation",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
}
],
"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 ITransparentUpgradeableProxy"
},
{
"name": "implementation",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "upgradeAndCall",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
},
{
"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§
- Ownership
Transferred - Event with signature
OwnershipTransferred(address,address)and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0. - Proxy
Admin Instance - A
ProxyAdmininstance. - change
Proxy Admin Call - Function with signature
changeProxyAdmin(address,address)and selector0x7eff275e. - change
Proxy Admin Return - Container type for the return parameters of the
changeProxyAdmin(address,address)function. - getProxy
Admin Call - Function with signature
getProxyAdmin(address)and selector0xf3b7dead. - getProxy
Admin Return - Container type for the return parameters of the
getProxyAdmin(address)function. - getProxy
Implementation Call - Function with signature
getProxyImplementation(address)and selector0x204e1c7a. - getProxy
Implementation Return - Container type for the return parameters of the
getProxyImplementation(address)function. - owner
Call - Function with signature
owner()and selector0x8da5cb5b. - owner
Return - Container type for the return parameters of the
owner()function. - renounce
Ownership Call - Function with signature
renounceOwnership()and selector0x715018a6. - renounce
Ownership Return - Container type for the return parameters of the
renounceOwnership()function. - transfer
Ownership Call - Function with signature
transferOwnership(address)and selector0xf2fde38b. - transfer
Ownership Return - Container type for the return parameters of the
transferOwnership(address)function. - upgrade
AndCall Call - Function with signature
upgradeAndCall(address,address,bytes)and selector0x9623609d. - upgrade
AndCall Return - Container type for the return parameters of the
upgradeAndCall(address,address,bytes)function. - upgrade
Call - Function with signature
upgrade(address,address)and selector0x99a88ec4. - upgrade
Return - Container type for the return parameters of the
upgrade(address,address)function.
Enums§
- Proxy
Admin Calls - Container for all the
ProxyAdminfunction calls. - Proxy
Admin Events - Container for all the
ProxyAdminevents.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.
Functions§
- deploy
- Deploys this contract using the given
providerand constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
ProxyAdmincontract instance.