aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-18 04:41:11 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:18 +0800
commit41242a66602f364dac712d04ebaaa969d296d4bc (patch)
tree76ab5540efcb98c9820e2b8bea208a271ed6676b /packages
parente80f203efc70ef5787a78626a9f10cf5517b178e (diff)
downloaddexon-0x-contracts-41242a66602f364dac712d04ebaaa969d296d4bc.tar.gz
dexon-0x-contracts-41242a66602f364dac712d04ebaaa969d296d4bc.tar.zst
dexon-0x-contracts-41242a66602f364dac712d04ebaaa969d296d4bc.zip
Clarified that 0x0 could be passed into AssetProxyDispatcher
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol4
-rw-r--r--packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol4
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,