Now uses Web3.py to get function selectors
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import sha3
|
||||
|
||||
|
||||
def get_selector_from_function(fn: str) -> bytes:
|
||||
return sha3.keccak_256(fn.encode()).digest()[0:4]
|
||||
Reference in New Issue
Block a user