Add reverseBits operations to Bytes.sol (#5724)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Ernesto García
2025-07-10 10:36:41 -06:00
committed by GitHub
parent 21cd7e8aa3
commit 5def3f7c7e
5 changed files with 257 additions and 0 deletions

View File

@ -1,5 +1,7 @@
module.exports = {
MAX_UINT16: 2n ** 16n - 1n,
MAX_UINT32: 2n ** 32n - 1n,
MAX_UINT48: 2n ** 48n - 1n,
MAX_UINT64: 2n ** 64n - 1n,
MAX_UINT128: 2n ** 128n - 1n,
};