From 2758136f793d616c08ece9f5d35a058fb63e304d Mon Sep 17 00:00:00 2001 From: Mattia Mariantoni <47110871+Mattiatore@users.noreply.github.com> Date: Sat, 3 Jun 2023 21:03:48 +0200 Subject: [PATCH] Update README.md valid function signature needs removal of whitespace --- src/get-started/huff-by-example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get-started/huff-by-example/README.md b/src/get-started/huff-by-example/README.md index 952ce23..7990118 100644 --- a/src/get-started/huff-by-example/README.md +++ b/src/get-started/huff-by-example/README.md @@ -347,7 +347,7 @@ Functions can accept arguments to be "called" inside the macro or passed as a re Several builtin functions are provided by the Huff compiler: #### `__FUNC_SIG()` -At compile time, the invocation of `__FUNC_SIG` is substituted with `PUSH4 function_selector`, where `function_selector` is the 4 byte function selector of the passed function definition or string. If a string is passed, it must represent a valid function signature i.e. `"test(address, uint256)"` +At compile time, the invocation of `__FUNC_SIG` is substituted with `PUSH4 function_selector`, where `function_selector` is the 4 byte function selector of the passed function definition or string. If a string is passed, it must represent a valid function signature i.e. `"test(address,uint256)"` #### `__EVENT_HASH()` At compile time, the invocation of `__EVENT_HASH` is substituted with `PUSH32 event_hash`, where `event_hash` is the selector hash of the passed event definition or string. If a string is passed, it must represent a valid event signature i.e. `"TestEvent(uint256, address indexed)"`