@zoralabs/openzeppelin-contracts-upgradeable
Version:
Secure Smart Contract library for Solidity
154 lines (153 loc) • 3.24 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "UUPSUpgradeable",
"sourceName": "contracts/proxy/utils/UUPSUpgradeable.sol",
"abi": [
{
"inputs": [],
"name": "ADDRESS_DELEGATECALL_TO_NON_CONTRACT",
"type": "error"
},
{
"inputs": [],
"name": "ADDRESS_LOW_LEVEL_CALL_FAILED",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967_NEW_IMPL_NOT_CONTRACT",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967_NEW_IMPL_NOT_UUPS",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967_UNSUPPORTED_PROXIABLEUUID",
"type": "error"
},
{
"inputs": [],
"name": "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY",
"type": "error"
},
{
"inputs": [],
"name": "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL",
"type": "error"
},
{
"inputs": [],
"name": "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}