aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils
diff options
context:
space:
mode:
Diffstat (limited to 'packages/utils')
-rw-r--r--packages/utils/src/abi_encoder/constants.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/utils/src/abi_encoder/constants.ts b/packages/utils/src/abi_encoder/constants.ts
new file mode 100644
index 000000000..b52630d74
--- /dev/null
+++ b/packages/utils/src/abi_encoder/constants.ts
@@ -0,0 +1,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; \ No newline at end of file