From 682ab76ba12c4f009257916318769395672f67b6 Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Thu, 12 Apr 2018 15:10:17 -0700 Subject: Updated name of AssetProxyChanged -> AssetProxySet --- .../current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol | 2 +- .../current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol | 4 ++-- .../current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol index 4552bec43..f2c942870 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol @@ -69,7 +69,7 @@ contract AssetProxyDispatcher is // Add asset proxy and log registration assetProxies[assetProxyId] = IAssetProxy(newAssetProxyAddress); - emit AssetProxyChanged(assetProxyId, newAssetProxyAddress, currentAssetProxyAddress); + emit AssetProxySet(assetProxyId, newAssetProxyAddress, currentAssetProxyAddress); } /// @dev Gets an asset proxy. diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol index c21b945de..b8ea0a49f 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol @@ -21,9 +21,9 @@ pragma solidity ^0.4.21; import "./IAssetProxy.sol"; contract IAssetProxyDispatcher { - + // Logs registration of new asset proxy - event AssetProxyChanged( + event AssetProxySet( uint8 id, address newAssetClassAddress, address oldAssetClassAddress diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol index ec04df8bd..80aa5a091 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol @@ -35,6 +35,7 @@ contract ERC20Proxy_v1 is function ERC20Proxy_v1(ITokenTransferProxy_v1 tokenTransferProxyContract) public { + // TODO: Hardcode this address for production. TRANSFER_PROXY = tokenTransferProxyContract; } -- cgit v1.2.3