Loading

evm_shl

Scalar function

EVM SHL opcode: Left shift x by shift bits. Equivalent to x << shift. Returns 0 if shift >= 256.

evm_shl(BIGINT, UINT256)

Parameters

Name Type
shift BIGINT
x UINT256

Returns

Name Type
result UINT256
1
SELECT evm_shl(8, value) AS shifted;
Notebook ready in readonly mode.