def get_fallback_function(abi, web3, address=None): if abi and fallback_func_abi_exists(abi): return ContractFunction.factory('fallback', web3=web3, contract_abi=abi, address=address, function_identifier=FallbackFn)() return NonExistentFallbackFunction()
def get_fallback_function(abi, web3, address=None): if abi and fallback_func_abi_exists(abi): return ContractFunction.factory( 'fallback', web3=web3, contract_abi=abi, address=address, function_identifier=FallbackFn)() return NonExistentFallbackFunction()