def make_op_return_outputs(data, inputs, change_address, fee=OP_RETURN_FEE,
                           send_amount=0, format='bin'):
    return [
        # main output
        { "script_hex": make_op_return_script(data, format=format), "value": send_amount },
        # change output
        { "script_hex": make_pay_to_address_script(change_address),
          "value": calculate_change_amount(inputs, send_amount, fee)
        }
    ]
L{protocol.Factory.logPrefix} returns the name of the factory class.
dataset/ETHPy150Open blockstack/pybitcoin/pybitcoin/transactions/outputs.py/make_op_return_outputs--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/FactoryTests.test_logPrefix