In a smart contract a function can be declared that neither reads nor modifies any state variables. These functions can be marked as PURE functions
function add(uint256 a,uint256 b) external pure returns uint256 {
return a + b;
}
from glider import *
def query():
props_included = [MethodProp.IS_PURE]
functions = Functions()\
.with_all_properties(props_included)\
.exec(5)
return functions