Skip to content
Skip to Content
QIE

QIEDEX and QUSDC

You pay in QIE; the escrow swaps it on QIEDEX for the exact QUSDC the bill costs, inside the same transaction, and holds QUSDC until the bill settles.

One swap inside the payment

When you pay in QIE, Todoku first asks QIEDEX's Swap API (api.dex.qie.digital/quote) for an exact-out quote: the QUSDC the bill needs, with 1% slippage. That gives the most QIE the payment may use, which your wallet sends with payWithQIE. Inside the transaction the escrow calls the QIEDEX router's swapETHForExactTokens along WQIE → QUSDC, checks that exactly the bill's QUSDC arrived, and sends any QIE it didn't need straight back to you.

  • The review sheet shows the swap's cost from QIEDEX ("Swap: QIEDEX · 0.31%") and "at most …" QIE.
  • If QIEDEX says the amount moves the price too much, Todoku refuses: "This amount moves the QIE price too much".
  • The price and the swap share one deadline: 60 seconds.

Why QUSDC

A bill is priced in naira. Holding QUSDC, QIE's dollar stablecoin, keeps the held amount steady while the bill is bought: a refund gives back the same QUSDC you paid, whatever QIE's price did in between. Refunds come back in QUSDC, not QIE.

Paying in QUSDC directly skips the swap: approve the escrow (the amount plus 3%, so a re-price still fits), then pay.

QUSDC back to QIE

Get QIE swaps QUSDC to QIE on QIEDEX (/swap), up to 1,000 QUSDC at a time, checked to call only the router and QUSDC.

One thing to know about QUSDC

QUSDC's admin can grant a role that may burn any holder's QUSDC, including the escrow's. Todoku keeps holds small and short. Risks explains it.

On this page