aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-13 06:10:17 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commit682ab76ba12c4f009257916318769395672f67b6 (patch)
treedfdf77489286db8ff20dc035ab52f492b57df1df /packages
parentc811b710eb59060ad2a544e704027aae71b7bcc2 (diff)
downloaddexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.tar
dexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.tar.gz
dexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.tar.bz2
dexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.tar.lz
dexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.tar.xz
dexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.tar.zst
dexon-sol-tools-682ab76ba12c4f009257916318769395672f67b6.zip
Updated name of AssetProxyChanged -> AssetProxySet
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/AssetProxyDispatcher.sol2
-rw-r--r--packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/IAssetProxyDispatcher.sol4
-rw-r--r--packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol1
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;
}