def METHOD_NAME(
    deprecated_multisig=DEPRECATED_OR_NEW_MULTISIG,
    last_week_or_pendandts=False,
):
    # open safe
    if deprecated_multisig:
        safe = GreatApeSafe(multisigAddressDeprecated)
        # response = requests.get(url_old_multisig) DEV: legacy code for claims
        merkle_airdrop_source = merkle_airdrops_old
        claimable_weeks = last_weeks[:9]
    else:
        safe = GreatApeSafe(multisigAddress)
        # response = requests.get(url_new_multisig) DEV: legacy code for claims
        merkle_airdrop_source = merkle_airdrops_new
        claimable_weeks = last_weeks[9:]
    eps_contract = safe.contract(eps_address)
    DIVISOR = 10 ** eps_contract.decimals()
    # DEV: legacy code for claims
    # json_airdrop_data = response.json()["matchedAirdropData"]
    # airdrop_data_filtered_none = [
    #    entry for entry in json_airdrop_data if entry is not None
    # ]
    TOTAL_CLAIMED = 0
    eps_balance_before = eps_contract.balanceOf(safe.address)
    if last_week_or_pendandts:
        target_json = (
            f"data/Convex_EPS/airdrop/eps/{claimable_weeks[-1]}/drop_proofs.json"
        )
        merkle_airdrop_contract = safe.contract(merkle_airdrop_source[-1])
        with open(target_json) as f:
            last_week_args = json.load(f)["users"][safe.address]
            print(" ====== Claiming arguments for last week: ====== ")
            print(f"\nProof: {last_week_args['proof']}")
            amount_formatted = int(last_week_args["amount"]) / DIVISOR
            print(f"\nAmount: {amount_formatted:,.18f}")
            TOTAL_CLAIMED += amount_formatted
            merkle_airdrop_contract.METHOD_NAME(
                last_week_args["proof"],
                safe.address,
                last_week_args["amount"],
            )
    else:
        for i, date in enumerate(claimable_weeks):
            target_json = (
                f"data/Convex_EPS/airdrop/eps/{date.replace('-', '_')}/drop_proofs.json"
            )
            with open(target_json) as f:
                msig_args_details = json.load(f)["users"][safe.address]
                print(
                    f"\n ====== Claiming arguments for {claimable_weeks[i]} week: ====== "
                )
                print(f"\nProof: {msig_args_details['proof']}")
                amount_formatted = int(msig_args_details["amount"]) / DIVISOR
                print(f"\nAmount: {amount_formatted:,.18f}")
                TOTAL_CLAIMED += amount_formatted
                merkle_airdrop_contract = safe.contract(merkle_airdrop_source[i])
                merkle_airdrop_contract.METHOD_NAME(
                    msig_args_details["proof"],
                    safe.address,
                    msig_args_details["amount"],
                )
    eps_balance_after = eps_contract.balanceOf(safe.address)
    if deprecated_multisig:
        eps_contract.transfer(multisigAddress, eps_balance_after)
        # printout for new multi - extra info
        print(
            f" === IMPORTANT: {(eps_balance_after/DIVISOR):,.18f} were transfer to the new dev multisig at {multisigAddress} === \n"
        )
    print(f"\nTOTAL EPS CLAIMED {TOTAL_CLAIMED:,.18f}")
    print(f"\nEPS balance before claiming: {(eps_balance_before/DIVISOR):,.18f}")
    print(f"\nEPS balance after claiming: {(eps_balance_after/DIVISOR):,.18f}")
    safe.post_safe_tx()