Make setZrxProxy callable by authorized address rather than only owner
This commit is contained in:
parent
18a86ef234
commit
f30c2c4a23
@ -70,12 +70,12 @@ contract ZrxVault is
|
||||
}
|
||||
|
||||
/// @dev Sets the Zrx proxy.
|
||||
/// Note that only the contract staker can call this.
|
||||
/// Note that only an authorized address can call this function.
|
||||
/// Note that this can only be called when *not* in Catastrophic Failure mode.
|
||||
/// @param _zrxProxyAddress Address of the 0x Zrx Proxy.
|
||||
function setZrxProxy(address _zrxProxyAddress)
|
||||
external
|
||||
onlyOwner
|
||||
onlyAuthorized
|
||||
onlyNotInCatastrophicFailure
|
||||
{
|
||||
zrxAssetProxy = IAssetProxy(_zrxProxyAddress);
|
||||
|
Loading…
x
Reference in New Issue
Block a user