Clarified that 0x0 could be passed into AssetProxyDispatcher

This commit is contained in:
Greg Hysen
2018-04-17 13:41:11 -07:00
committed by Amir Bandeali
parent e80f203efc
commit 41242a6660
2 changed files with 4 additions and 4 deletions

View File

@@ -55,8 +55,8 @@ contract AssetProxyDispatcher is
/// @dev Adds a new asset proxy.
/// @param assetProxyId Id of the asset proxy.
/// @param newAssetProxy Asset proxy contract to add.
/// @param currentAssetProxy Existing asset proxy to overwrite.
/// @param newAssetProxy Asset proxy contract to add, or 0x0 to unset assetProxyId.
/// @param currentAssetProxy Existing asset proxy to overwrite, or 0x0 if assetProxyId is currently unused.
function addAssetProxy(
uint8 assetProxyId,
IAssetProxy newAssetProxy,

View File

@@ -31,8 +31,8 @@ contract IAssetProxyDispatcher {
/// @dev Adds a new asset proxy.
/// @param assetProxyId Id of the asset proxy.
/// @param newAssetProxy Asset proxy contract to add.
/// @param currentAssetProxy Existing asset proxy to overwrite.
/// @param newAssetProxy Asset proxy contract to add, or 0x0 to unset assetProxyId.
/// @param currentAssetProxy Existing asset proxy to overwrite, or 0x0 if assetProxyId is currently unused.
function addAssetProxy(
uint8 assetProxyId,
IAssetProxy newAssetProxy,