diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-23 07:39:27 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-23 22:34:47 +0800 |
commit | 4159a8fe6e621fa01ccac6b97778374be658d984 (patch) | |
tree | c349f02ce2b705afe4e09e76e2d876771ca29fe8 /packages/contracts/src/2.0.0/protocol/AssetProxy | |
parent | d8b44283a2247858c84fc2c319634c3118091a71 (diff) | |
download | dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.tar dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.tar.gz dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.tar.bz2 dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.tar.lz dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.tar.xz dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.tar.zst dexon-0x-contracts-4159a8fe6e621fa01ccac6b97778374be658d984.zip |
Add comments for deploying with constant ZRX_ASSET_DATA
Diffstat (limited to 'packages/contracts/src/2.0.0/protocol/AssetProxy')
-rw-r--r-- | packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol b/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol index 53f5a14e0..6a70c9f60 100644 --- a/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol +++ b/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol @@ -93,7 +93,7 @@ contract ERC721Proxy is // | | 4 | 12 + 20 | 1. token address | // | | 36 | | 2. tokenId | - // We construct calldata for the `token.safeTransferFrom` ABI. + // We construct calldata for the `token.transferFrom` ABI. // The layout of this calldata is in the table below. // // | Area | Offset | Length | Contents | @@ -116,7 +116,7 @@ contract ERC721Proxy is } /////// Setup Header Area /////// - // This area holds the 4-byte `transferFromSelector`. + // This area holds the 4-byte `transferFrom` selector. // Any trailing data in transferFromSelector will be // overwritten in the next `mstore` call. mstore(0, 0x23b872dd00000000000000000000000000000000000000000000000000000000) |