Primary Lending Platform Proxy Admin
Methods
appendUpgrade
Parameters
changeProxyAdmin
Changes the admin of proxy
to newAdmin
. Requirements: - This contract must be the current admin of proxy
.
Parameters
delayPeriod
Returns
getProxyAdmin
Returns the current admin of proxy
. Requirements: - This contract must be the admin of proxy
.
Parameters
Returns
getProxyImplementation
Returns the current implementation of proxy
. Requirements: - This contract must be the admin of proxy
.
Parameters
Returns
minimumDelayPeriod
Returns
owner
Returns the address of the current owner.
Returns
renounceOwnership
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
setDelayPeriod
Parameters
transferOwnership
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
upgrade
Upgrades proxy
to implementation
. See {TransparentUpgradeableProxy-upgradeTo}. Requirements: - This contract must be the admin of proxy
.
Parameters
upgradeAndCall
Upgrades proxy
to implementation
and calls a function on the new implementation. See {TransparentUpgradeableProxy-upgradeToAndCall}. Requirements: - This contract must be the admin of proxy
.
Parameters
upgradeData
Parameters
Returns
Events
AppendUpgrade
Parameters
OwnershipTransferred
Parameters
SetDelayPeriod
Parameters
Upgrade
Parameters
Last updated