MethodProp.HAS_ARGS
The HAS_ARGS property adds a filter to either include or exclude functions that have arguments in their signature.
An example of a function with a signature would be
function myFunction(uint256 investAmount){}
In the example below the query will filter out all functions that have arguments and only return those functions with no arguments in their signature
from glider import *
def query():
props_excluded = [MethodProp.HAS_ARGS]
functions = Functions()\
.without_properties(props_excluded)\
.exec(5)
return functions
Output

Last updated