You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function canTransferFrom(address_from, address_to, uint256_value, bytes_data) externalviewreturns (bool, byte, bytes32) {
If the implementation is correct, the EIP spec should be updated to reflect the truth. ethereum/EIPs#1594
The text was updated successfully, but these errors were encountered:
cleanunicorn
changed the title
Different returns for canTransfer and canTransferFrom
Different return values for canTransfer and canTransferFrom
Apr 16, 2019
cleanunicorn
changed the title
Different return values for canTransfer and canTransferFrom
Different return values for canTransfer and canTransferFrom
Apr 16, 2019
cleanunicorn
changed the title
Different return values for canTransfer and canTransferFrom
Different return values for canTransfer and canTransferFrom
Apr 16, 2019
cleanunicorn
changed the title
Different return values for canTransfer and canTransferFrom
EIP1594 - Different return values for canTransfer and canTransferFrom
Apr 16, 2019
The EIP spec defines the 2 functions, each one returning 2 values:
https://github.com/SecurityTokenStandard/EIP-Spec/blob/master/eip/eip-1594.md#cantransfer--cantransferfrom
But the implementation returns 3 values:
EIP-Spec/contracts/ERC1594/IERC1594.sol
Lines 20 to 22 in cef4971
EIP-Spec/contracts/ERC1594/ERC1594.sol
Line 124 in cef4971
EIP-Spec/contracts/ERC1594/ERC1594.sol
Line 149 in cef4971
If the implementation is correct, the EIP spec should be updated to reflect the truth.
ethereum/EIPs#1594
The text was updated successfully, but these errors were encountered: