Who controls what
On testnet, protocol settings are controlled by an admin. After mainnet launch, control is planned to be governance-based. The list below is the current testnet picture of what that admin role can change. It is not a frozen roles matrix; powers and numbers may change before mainnet.
What the testnet admin can do today#
- Set fees, up to hard caps written into the contracts (see below). A fee increase never applies to an order or loan that already recorded a lower fee: each order snapshots fees when it's posted, and each loan keeps the lower of that snapshot and the fee at origination.
- Pause the whole protocol, one market, or one feature of a market, and name another address that can pause. Pausing stops new orders, matches, refinancing and secondary sales. It does not stop liquidations.
- Change the price feeds and how old a price can be before it's rejected. This affects when loans can be liquidated, including loans that are already open.
- Add or remove loan assets, collateral, Earn sources and post-match strategies, and choose which currencies the secondary market accepts. Withdrawals still work from a removed Earn source. Payouts that would go into a removed source wait as claimable instead.
- Set supply and borrow caps, for a whole market or for one wallet. Caps limit how large any one market or wallet exposure can grow.
- Set the minimum loan size, so each loan is large enough to be worth liquidating.
- Hand control to another address.
What it can't do#
- Move your assets directly. The contracts have no function that lets the testnet admin withdraw or transfer users' funds. A new price feed can still lead to liquidations, as above.
- Change an open loan's terms. The rate, term, collateral, loan-to-value and locked fees of a loan are fixed when it's made.
- Stop you getting out. Repaying a loan, withdrawing from Earn, cancelling an order, claiming a payout, adding collateral to an open loan, delisting a position from sale, transferring a position NFT and settling an auction all keep working while the protocol is paused. While trading is paused, settling an auction refunds the winning bidder instead of completing the sale. The contracts refuse any attempt to pause repaying or withdrawing, and liquidation always runs (gated only by loan health, maturity plus grace, and oracle freshness).
- Raise fees past the caps. The caps are constants in the contracts, so no one can change them without a new deployment.
Fees on testnet#
Current FeeManager values on this deployment. They may change before mainnet. Most fees stay at the contract default of 0; deploy sets the refinancing fee and the auto-refinance keeper slice. Hard caps are the ceilings in the contracts today.
| Fee | Current (testnet) | Cap in the contracts |
|---|---|---|
| Origination fee, taken from a loan's principal | 0% | 2% |
| Interest fee, taken from the lender's interest | 0% | 50% |
| Refinancing fee | 0.50% | 2% |
| Keeper share of the refinancing fee | 50% of that fee | 100% of that fee |
| Protocol share of an early-repayment fee | 0% | 50% of the fee |
| Protocol share of the matching fee (solver tip) | 0% | 50% of the fee |
| Secondary market sale fee | 0% | 50% of the sale |
| Tip cap (max solver tip / matching fee a borrower can set) | 1% | 10% |
The tip cap is the most a borrower may attach to a borrow order as a matching fee for solvers. It is not a protocol take: the tip goes to whoever settles the match (unless a protocol share of tips is later set above 0).
A lender's early-repayment fee is set on each lend order. It is not a protocol deploy fee.
Supply and borrow caps on testnet#
Per-wallet defaults on this deployment are roughly $1M USDC notional (borrow, Earn/yield supply, and wallet supply
use the same raw amount per asset). Market-wide borrow and supply caps are unset (0 = unlimited).
| Asset | Per-wallet borrow / yield supply / wallet supply |
|---|---|
| USDC | 1,000,000 USDC |
| USDT | 1,000,000 USDT |
| WETH | ≈ 424.67 WETH |
| WBTC | ≈ 10.20 WBTC |
These may change before mainnet.
Liquidation params (fixed at deploy)#
Separate from FeeManager, deploy freezes these on LoanManager. The testnet admin cannot change them on this build:
| Param | At deploy |
|---|---|
| Liquidation bonus | 5% |
| Close factor | 100% (currently on testnet) |
| Grace period after maturity | 24 hours (currently on testnet) |