ERC1271SignatureLib Constants
ERC165_MAP_IERC1271_SLOT
ERC-165 map slot for IERC1271 (isValidSignature(bytes32,bytes) => type(IERC1271).interfaceId == 0x1626ba7e). keccak256(abi.encode(bytes4(0x1626ba7e), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).
bytes32 constant ERC165_MAP_IERC1271_SLOT = 0x13edcf2102dbcbe8afc6b8b590ac545a2ed12e9a15726b4c8ab7a3fb938ab3b7;ERC1271_MAGIC_VALUE
ERC-1271 magic value for a valid signature; any other value is invalid.
bytes4 constant ERC1271_MAGIC_VALUE = 0x1626ba7e;ERC1271_INVALID
bytes4 constant ERC1271_INVALID = 0xffffffff;ERC7739_SUPPORT
ERC-7739 support sentinel: isValidSignature(ERC7739_SENTINEL_HASH, "") returns this iff the account
implements ERC-7739 defensive rehashing. The hash is the byte pair 0x7739 repeated 16 times.
bytes4 constant ERC7739_SUPPORT = 0x77390001;ERC7739_SENTINEL_HASH
bytes32 constant ERC7739_SENTINEL_HASH = 0x7739773977397739773977397739773977397739773977397739773977397739;