From 41242a66602f364dac712d04ebaaa969d296d4bc Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Tue, 17 Apr 2018 13:41:11 -0700 Subject: Clarified that 0x0 could be passed into AssetProxyDispatcher --- .../current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol | 4 ++-- .../current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol index 69e4e186d..0a1bb0437 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol @@ -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, diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol index 75aead745..bd04539f6 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol @@ -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, -- cgit v1.2.3