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.