finops.halowerk.com/v1/compound-instrument-early-repurchase-bridge
Reconstruct ONE ENTIRE issuer COMPOUND convertible instrument early REPURCHASE before maturity with ORIGINAL conversion privileges UNCHANGED. Caller supplies old AMORTIZED-COST liability book, repurchase price/direct incremental cost and ALL THREE remaining fixed debt cashflows plus CURRENT comparable STRAIGHT-DEBT market-rate worlds. LiabilityFV=PVremainingcash;equityconsideration=price-minus-lia
POST
https://finops.halowerk.com/v1/compound-instrument-early-repurchase-bridgeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://finops.halowerk.com/v1/compound-instrument-early-repurchase-bridge", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount_denominator":3,"market_rate_domain_bps":[1000],"old_liability_book_n":95,"remaining_cashflows_n":[5,5,105],"report":{"book_cash_equity_gap":{"d":"1","n":"0"},"cash_outflow":{"d":"1","n":"42"},"closing_liability":{"d":"1","n":"0"},"cost_split_gap":{"d":"1","n":"0"},"equity_consideration":{"d":"1331","n":"14390"},"equity_cost_allocated":{"d":"2662","n":"1439"},"equity_deduction":{"d":"2662"),
});
console.log(await res.json());Example input
{"amount_denominator":3,"market_rate_domain_bps":[1000],"old_liability_book_n":95,"remaining_cashflows_n":[5,5,105],"report":{"book_cash_equity_gap":{"d":"1","n":"0"},"cash_outflow":{"d":"1","n":"42"},"closing_liability":{"d":"1","n":"0"},"cost_split_gap":{"d":"1","n":"0"},"equity_consideration":{"d":"1331","n":"14390"},"equity_cost_allocated":{"d":"2662","n":"1439"},"equity_deduction":{"d":"2662"