Residual and settlement
After netting, only the residual moves in USDT. Debtors pay inside the payment window, creditors claim to NEAR or NEAR Intents, defaults are covered from stake.
After clearing, each member has a residual: what it still owes the circle (debtor) or is owed (creditor). Only residuals are paid, in USDT.
Paying
A debtor pays during payment_window with an ft_transfer_call of USDT to the circle, msg action settle. A debtor can also pay from a NEAR Intents balance: mt_on_transfer accepts the transfer.
A member may opt in to set_auto_settle(true). Then finalize_epoch settles that member's residual from its own stake (contract 0.0.15 and later).
Claiming
A creditor calls claim(epoch, destination). The destination is one of:
near: USDT goes to the creditor's NEAR account.intents: the amount credits an Intents balance, from where it can be withdrawn to another chain. On testnet the Intents side is a mock, and a cross-chain withdrawal has run only as a dry 1Click quote (see below).withdraw_intents_balanceis permissionless.
claim attaches a deposit, so it needs a full-access NEAR key, not the voucher key. The same goes for join and settle.
Default
A debtor that has not paid when the window ends is in default.
- The debtor's stake pays first.
- A reserve fund comes next, if the circle has one.
- Any remainder is a haircut on direct creditors, with no cascade.
Under limit <= stake the stake covers the whole debt, so steps 2 and 3 do not trigger. The defaulter is suspended with limit 0.
In epoch 8 of x207-v013.testnet, 5 debtors paid, 1 defaulted (0.55 covered from its stake), and 3 of 8 creditors had claimed when the run was recorded.
NEAR Intents
x207 uses NEAR Intents only for the residual and the creditor withdrawal. It does not clear inside Intents.
What has run:
- The residual of 3 debtors was paid in one
execute_intentscall against the realintents.nearwasm, in a localnear-sandbox. - A 1Click dry quote ran on 2026-11-04: 5 credit to USDC on Base returned 4.989148 USDC. No funds moved.
What has not run: nothing against intents.near on testnet or mainnet. intents.testnet has no code.