diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-18 04:41:11 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:18 +0800 |
commit | 41242a66602f364dac712d04ebaaa969d296d4bc (patch) | |
tree | 76ab5540efcb98c9820e2b8bea208a271ed6676b | |
parent | e80f203efc70ef5787a78626a9f10cf5517b178e (diff) | |
download | dexon-0x-contracts-41242a66602f364dac712d04ebaaa969d296d4bc.tar.gz dexon-0x-contracts-41242a66602f364dac712d04ebaaa969d296d4bc.tar.zst dexon-0x-contracts-41242a66602f364dac712d04ebaaa969d296d4bc.zip |
Clarified that 0x0 could be passed into AssetProxyDispatcher
2 files changed, 4 insertions, 4 deletions
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, |