Fix ERC1363 interfaceId (#4074)

This commit is contained in:
Hadrien Croubois
2023-02-24 20:14:49 +01:00
committed by GitHub
parent eb38c059d8
commit 2c6ef8c875
2 changed files with 7 additions and 8 deletions

View File

@ -8,17 +8,12 @@ import "./IERC165.sol";
interface IERC1363 is IERC165, IERC20 {
/*
* Note: the ERC-165 identifier for this interface is 0x4bbee2df.
* 0x4bbee2df ===
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)'))
*/
/*
* Note: the ERC-165 identifier for this interface is 0xfb9ec8ce.
* 0xfb9ec8ce ===
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/

View File

@ -22,6 +22,8 @@ are useful to interact with third party contracts that implement them.
- {IERC1155MetadataURI}
- {IERC1271}
- {IERC1363}
- {IERC1363Receiver}
- {IERC1363Spender}
- {IERC1820Implementer}
- {IERC1820Registry}
- {IERC1822Proxiable}
@ -44,6 +46,8 @@ are useful to interact with third party contracts that implement them.
{{IERC1363Receiver}}
{{IERC1363Spender}}
{{IERC1820Implementer}}
{{IERC1820Registry}}