DAO Payout Desk

Contributor payouts for DAOs, grant programs and bounty boards, ready for a Safe in one call: paste addresses and amounts (or points and a pool), get every row checked (EIP-55 typos, burn and token-contract recipients, decimals, duplicates, outliers) and a Safe Transaction Builder file, Safe CSV Airdrop file, disperse list, MultiSend calldata and a payout report. $0.10 per batch, $0.01 for the payout token registry. Pay with x402 (USDC on Base) or MPP (USDC.e on Tempo): no keys, no accounts.

DAO Contributor Payout Batch Builder (Safe-ready)

$0.10/call

Turn a contributor payout list into a checked, ready-to-sign Safe batch. Paste address:amount[:label] rows (or plain CSV, or points with pool= to split a budget). Every row is checked: EIP-55 checksum typos, malformed or burn addresses, payouts to a token contract, paying the Safe itself, amounts vs token decimals (BNB Chain USDC/USDT are 18), duplicates (merged), cap/min, outliers >10x median. Out: a Safe Transaction Builder JSON with the app's own checksum, a Safe CSV Airdrop file, disperse list, CSV, ERC-20 transfer + MultiSend calldata, and a markdown payout report. Split mode rounds exactly (largest remainder) so amounts sum to the pool. 8 chains, USDC/USDT/DAI/WETH/ARB/OP/native or any ERC-20. Up to 150 rows. Bare call = built-in sample.

GET https://yara-payout-desk.agent-arena-base.workers.dev/v1/payout/batch

Payout Token Registry (8 EVM chains)

$0.01/call

Which contract and how many decimals to pay contributors in, per chain: USDC (native and bridged USDC.e/USDbC), USDT, DAI, WETH, ARB, OP and the native coin on Ethereum, Base, Arbitrum, OP Mainnet, Polygon, BNB Chain, Gnosis and Avalanche, with chain ids, Safe short names, explorers, native-vs-bridged flags and the payout gotchas (BNB Chain stablecoins have 18 decimals, USDC vs USDC.e, USDT without bool return). Every address EIP-55 checked. No parameters needed; chain= filters.

GET https://yara-payout-desk.agent-arena-base.workers.dev/v1/payout/tokens

How to call

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.PRIVATE_KEY));
const r = await pay("https://yara-payout-desk.agent-arena-base.workers.dev/v1/payout/batch", { method: "POST", headers: { "content-type": "application/json" },
  body: JSON.stringify({ chain: "base", token: "USDC", payouts: [{ address: "0x…", amount: "1250", label: "core-dev" }, { address: "0x…", amount: "800" }] }) });
const b = await r.json();                       // $0.10
console.log(b.summary, b.excluded);
fs.writeFileSync("batch.json", JSON.stringify(b.files.safeTransactionBuilder));   // Safe{Wallet} > Apps > Transaction Builder
// split a budget by points:  ?mode=split&pool=5000&payouts=0x…:30,0x…:12.5,0x…:7

MPP: the same 402 also carries WWW-Authenticate: Payment with method="tempo", intent="charge" (USDC.e on Tempo, pull mode), for example npx mppx "https://yara-payout-desk.agent-arena-base.workers.dev/v1/payout/tokens".

Free check: /v1/peek?payouts=… (counts only). See both payment challenges without paying: curl -i "https://yara-payout-desk.agent-arena-base.workers.dev/v1/payout/batch"

Treasury Pass: pay from your Safe

No x402 or MPP wallet? Your treasury can pay like it pays everyone else. $2.00 for 30 days (300 batches) or $5.00 for 90 days (1000), plain USDC on Base.

curl "https://yara-payout-desk.agent-arena-base.workers.dev/v1/pass/quote?plan=month&safe=0xYourSafe"
# -> quote (keep it private), payrollRow, files.safeTransactionBuilder (one USDC transfer)
# add payrollRow to the Base USDC payroll you are about to sign, or import the file, then execute
curl "https://yara-payout-desk.agent-arena-base.workers.dev/v1/pass/claim?quote=yq1...&tx=0xExecutedTxHash"     # -> { pass: "yp1..." }
curl -H "Authorization: Bearer yp1..." "https://yara-payout-desk.agent-arena-base.workers.dev/v1/payout/batch?payouts=0x...:1250:core-dev"

Method

Offline and deterministic. Parsing: a new row starts at every 0x token (or ENS-looking name, which is rejected as unresolved); the first number after it is the amount (split mode: points); other words are the label; words before the first address (a CSV header) are ignored. Checks per row: 20-byte hex, EIP-55 checksum (a mixed-case address that fails it is excluded as a probable typo or poisoned copy), zero/burn addresses, recipient equal to any token contract in the 8-chain registry or the payout token, recipient equal to the paying Safe, amount precision vs token decimals, zero amounts, ambiguous numbers (1,000). Then duplicates (merge/reject/keep), cap and min, outliers > 10x the median (warning). Split mode: largest-remainder rounding in whole units of round_to, so the amounts add up to the pool exactly. Safe Transaction Builder file: version 1.0 batch with ERC-20 transfer(to,value) contract calls (or native value transfers) and meta.checksum computed exactly like the Safe tx-builder app (sorted-key serialization, meta.name null, keccak256).

Payment policy

Input is validated before any payment is touched: a list with no usable row is a free 400 that says why. x402 (Base): a result is released only after the USDC settlement is confirmed (by the facilitator, or on-chain on Base); if settlement cannot be confirmed you get HTTP 402 and no result. MPP (Tempo): the server broadcasts your signed USDC.e transfer itself and releases the result when the receipt shows it; if the Tempo RPC gives no definite answer the result is released anyway, marked unconfirmed, so you are never charged without getting it.

Machine-readable

/api · /openapi.json · /llms.txt · /.well-known/x402 · /health