aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/src/abi_encoder/constants.ts
blob: b52630d74662fd6343cb07373d94e611e1178a19 (plain) (blame)
1
2
3
4
5
6
export const EVM_WORD_WIDTH_IN_BYTES = 32;
export const HEX_BASE = 16;
export const BIN_BASE = 2;
export const HEX_SELECTOR_LENGTH_IN_CHARS = 10;
export const HEX_SELECTOR_LENGTH_IN_BYTES = 4;
export const HEX_SELECTOR_BYTE_OFFSET_IN_CALLDATA = 0;