I have been going through the ERC998 contract and came across this:

return (ERC998_MAGIC_VALUE << 224) | bytes32(rootOwnerAddress)

What is this "|" operator?

1 Answer 1


This is a Bitwise Operator, more you can read about it here LINK.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.