Callable.hashed_signature()
Returns the selector (4 bytes of keccak256 hash) of the function's or modifier's signature.
hashed_signature() → int
Example
from glider import *
def query():
functions = Functions().exec(3)
for func in functions:
print({"function": func.name, "sig": func.hashed_signature()})
return functions
Example output

Last updated