01
One transaction in, one transaction out.
Coil borrows the extra BTC, adds it to your position and pays it back with MUSD, all in one transaction. Closing works the same way.
Coil borrows MUSD against your bitcoin, buys more BTC on Mezo Pools and posts it back, all in one transaction, inside an account only you control. A protection keeper can only make your position safer.
Reading the BTC price feed
Why Coil
01
Coil borrows the extra BTC, adds it to your position and pays it back with MUSD, all in one transaction. Closing works the same way.
02
It may repay from your reserve or sell just enough BTC to reach your target ratio. It cannot open leverage, withdraw, close or change your settings.
03
Coil charges 0% on protection, repay, de-lever, unwind and close. A keeper earns your MEZO tip only if your ratio actually rose, at most once per block.
04
Opens, rescues and closes must land within a price bound from the BTC price feed, so if the pool price is off, the transaction is cancelled instead of filling at a bad price.
Your account is a separate contract owned by your wallet. It holds the MUSD loan, not Coil.
Protection is not a guarantee. A keeper may be unable to act if the pool is too far from the BTC price feed, your reserve is empty, or Mezo is in Recovery Mode. Coil is not audited and runs on Mezo testnet.
Coil fee: 0.25% of the MUSD you borrow when opening or adding leverage. The contract caps it at 0.5%. Protection, rescue, repay, de-lever, unwind and close: 0%. Mezo's borrowing fee, pool swap fee and gas are separate.
Contracts on Mezo testnet are not audited. Pool liquidity is limited. Coil open fee 0.25%; opens enabled. Position limits: 1 BTC / 100,000 MUSD total debt. WalletConnect is unavailable: no project ID configured. Injected and Bitcoin wallets remain available.
Opening status
Checking Mezo Recovery Mode. Opens stay disabled until that read finishes.
200% CR·50% LTV
Liquidation starts at 110% collateral. A lower collateral ratio is repaid first.
CR means collateral ratio: collateral value divided by what you owe. LTV means loan-to-value: what you owe divided by collateral value. Liquidation price is the BTC price that can liquidate the position. MUSD is Mezo's dollar stablecoin.
Open slippage
Rescue and close use a separate cap.
Mezo Testnet depth
Waiting for the Mezo Testnet pool.
Quoted from the selected chain pool. Cap is 1% price impact.
Borrow MUSD
against your BTC
Buy BTC
on Mezo Pools
Post it back
stop at your ratio
If you opened this amount
Sample previewYour account quote is still loading. These numbers are a sample, so opening stays off.
Liquidation price
Not available for this amount
BTC can fall: not available for this amount
Coil fee: 0.25% of the MUSD you borrow when opening or adding leverage. The contract caps it at 0.5%. Protection, rescue, repay, de-lever, unwind and close: 0%. Mezo's borrowing fee, pool swap fee and gas are separate.
Max 0.5%, set on-chain
Reading the BTC price feed and the MUSD/BTC pool…
Transactions
Each wallet gets one account. That account is the borrower.
Connect to see your position
Use an injected or supported Bitcoin wallet on Mezo Testnet. Test BTC: Mezo faucet. Use the Connect button.
How it works
Your account holds the position. A Mezo Pools swap borrows the BTC, posts it, and repays the pool before the transaction ends. Transaction paths stay inside the Mezo call limit. A two-swap path remains the fallback when the pool is paused.
Your BTC opens or tops up a MUSD position in an account you own. The protocol mints MUSD against it.
Borrow MUSD
The MUSD is swapped back into BTC on the MUSD/BTC pool, inside your slippage limit.
MUSD/BTC pool
The borrowed BTC is posted as collateral. Your account mints the MUSD the pool is owed and repays it in the same transaction, landing on or above your target.
one transaction
Receipts
Earlier testnet transactions from previous Coil versions.
loop
4.00×
An earlier factory opened 0.05183 BTC of collateral against 3,100.8 MUSD. A keeper then raised 133.30% to 150.00% for 1 MEZO, and one close returned the position. Those receipts are not this factory.
loop(200%, 1%)
200.09%
Collateral went from 0.0475 to 0.0939 BTC with 3,859.73 MUSD of debt, landing just above the 200% target.
deleverTo(300%)
288.04%
One sale repaid the debt to exactly 2,000 MUSD, Mezo's floor for that position. A second call succeeded without selling.
unwind(100%)
2 txs
A new 0.046 BTC open at 200.09% closed in two transactions: repay to the floor at 281.99%, then close the position.
Factory 0x339ef0116e17BA42987c1E2E380Af59B38f62064 on chain 31611. Full log in DEPLOYMENTS.md.
Know the risks
A position under 110% collateral can be liquidated. Coil will not target below 115%, and the app shows how far BTC can fall before that line.
MUSD redemptions repay the lowest-ratio positions first and take their BTC. A tight position sits near the front of that queue.
If you set a guard, the keeper may reduce risk up to your target. It cannot open, close, or withdraw. Unset, it cannot touch the position.
Pool exits require the BTC price feed bound and Mezo permission. Full close is blocked in Recovery Mode; owner MUSD repayment can reduce debt safely without selling collateral.
Coil runs on Mezo testnet and is not audited. Use test funds only.