Пример #1
0
 def callable_check(fn_abi):
     return encode_hex(function_abi_to_4byte_selector(
         fn_abi)) == to_4byte_hex(selector)
Пример #2
0
 def callable_check(fn_abi):
     return encode_hex(function_abi_to_4byte_selector(fn_abi)) == to_4byte_hex(selector)