Skip to main content

Utils

_efficientKeccak​

function _efficientKeccak(bytes32 _left, bytes32 _right) internal pure returns (bytes32 value)

Performs a gas optimized keccak hash for two bytes32 values.

Parameters​

NameTypeDescription
_leftbytes32Left value.
_rightbytes32Right value.

_efficientKeccak​

function _efficientKeccak(uint256 _left, address _right) internal pure returns (bytes32 value)

Performs a gas optimized keccak hash for uint256 and address.

Parameters​

NameTypeDescription
_leftuint256Left value.
_rightaddressRight value.
Contributions not accepted
These reference pages are automatically generated based on Linea's smart contracts. To ensure they accurately match the deployed smart contracts, we cannot accept any contributions that edit these pages.