Compute bytes4 proxyid constants
This commit is contained in:
committed by
Amir Bandeali
parent
5127cbb22c
commit
1076959006
@@ -30,7 +30,7 @@ contract ERC20Proxy is
|
||||
MixinERC20Transfer
|
||||
{
|
||||
// Id of this proxy.
|
||||
bytes4 constant PROXY_ID = 0xf47261b0;
|
||||
bytes4 constant PROXY_ID = bytes4(keccak256("ERC20Token(address)"));
|
||||
|
||||
/// @dev Gets the proxy id associated with the proxy address.
|
||||
/// @return Proxy id.
|
||||
|
@@ -30,7 +30,7 @@ contract ERC721Proxy is
|
||||
MixinERC721Transfer
|
||||
{
|
||||
// Id of this proxy.
|
||||
bytes4 constant PROXY_ID = 0x08e937fa;
|
||||
bytes4 constant PROXY_ID = bytes4(keccak256("ERC721Token(address,uint256,bytes)"));
|
||||
|
||||
/// @dev Gets the proxy id associated with the proxy address.
|
||||
/// @return Proxy id.
|
||||
|
Reference in New Issue
Block a user