import config from "../../../config/index.js";
// assumes stamp.targetNote is populated
export default (async (request, stamp)=>({
        type: "Accept",
        to: request.actor,
        actor: `${config.url}/users/${stamp.targetNote.userId}`,
        object: {
            type: "QuoteRequest",
            id: request.id,
            actor: request.actor,
            object: request.object,
            instrument: request.instrument
        },
        result: `${config.url}/stamp/${stamp.id}`
    }));
