aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-18 04:19:12 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:18 +0800
commitdbd65cdb04ec2fac9da22e833669307e3ee33988 (patch)
tree46a7a4ef445df43e748724f353a8f556f45ec8df
parente4dd33a675881e0e8ae6dea7bb7d8030a910ea09 (diff)
downloaddexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.tar
dexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.tar.gz
dexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.tar.bz2
dexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.tar.lz
dexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.tar.xz
dexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.tar.zst
dexon-sol-tools-dbd65cdb04ec2fac9da22e833669307e3ee33988.zip
Added @TODO for safeTransferFrom support in ERC721 proxy
-rw-r--r--packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol
index 41c05e222..404d1ca6e 100644
--- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol
+++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol
@@ -51,6 +51,8 @@ contract ERC721Proxy is
(token, tokenId) = decodeMetadata(assetMetadata);
// Either succeeds or throws.
+ // @TODO: Call safeTransferFrom if there is additional
+ // data stored in `assetMetadata`.
ERC721Token(token).transferFrom(from, to, tokenId);
}