

Your capital
Get maker capital reads your maker vault’s lanes from the chain, plus the fills Totalis holds for you that are not yet on-chain. All amounts are atomic USDC.
Every amount is
null when it cannot be read, never 0 in its place.
Re-read capital on every MAKER_CAPITAL_UPDATED on the maker channel.
How each step moves it
The profit fee comes out of the taker’s winnings, not your vault. The entry fee comes out of the
taker’s stake before it reaches you. Rates are on Limits.
When collateral is checked
A quote reserves nothing until you confirm it. From your confirm until the fill lands on-chain or itsexpiry passes, the fill holds what it can cost you against your capacity.
Each entry and
SELL_BACK confirm is checked against free_collateral less the fills you confirmed that are not yet on-chain. If
several of your quotes are accepted at once, a later confirm can fail with QUOTE_CAPACITY_EXCEEDED, and
nothing fills. Quote only what MAKER_QUOTE covers. A maker whose free capital is short of its
requirement, but whose vault still covers stakes and owed winnings, can still buy back a position whose close
restores its coverage.
The contract checks again when the trade lands, and a fill it refuses ends FAILED. That can still happen
after ACCEPTED: on an RFQ without intent_id, the confirm check is skipped while Totalis’s view of the chain
lags, and the vault decides.
A pending maker withdrawal reserves nothing. Fills during its delay can use that USDC, and executing the
withdrawal then reverts. MAKER_QUOTE already leaves its amount out.
What a reduction nets
A reduction answers one question: across every way your markets can resolve, what is the most your open positions can cost you at the same time? At full credit, yourrequirement drops to that amount. The
examples below assume a floor_bps of 0 and a reduction small enough to land whole
(After a reduction).
Each position costs at most its worst case, payout - net stake, the amount it adds to gross_open.
A position that loses costs nothing. You keep its stake, but that stake is already held in
stake_escrow, so it never offsets another position’s cost.
Two positions net only when their markets are linked. Three links count:
Every other pair of markets is independent: each can resolve either way, whatever the others do.
YES and NO of one outcome
You back two positions on “BTC above 120,000 on October 31”:
The larger side is the requirement, and the smaller side is the credit. If the market resolves to a
fraction, A pays part and B pays part, and together they still cost at most 3,000.
One tournament winner question
A tournament winner question has one named outcome per team, and at most one of them wins. You back three positions on the same tournament:
The shortcut: add every
NO worst case on the question, then add the largest YES - NO of any one
outcome if it is above zero. Here that is 2,000 + (8,000 - 0) = 10,000. The reduction always counts
the case where none of the listed outcomes wins, so a team listed later cannot break the bound.
The picture at the top of this page is the same tournament with only A and B: 13,000 backed one by
one, 8,000 after a reduction.
Combos
A combo can never cost more than any one of its legs lets it. The reduction charges each combo to one of its legs, picks the legs that free the most, and nets those legs as above. You back two combos:
Both are charged to “Lakers win”: D to its
YES leg, E to its NO leg.
A combo’s other legs still decide whether it pays. They do not add to the bound. A combo leg on a
tournament outcome nets with the rest of that tournament the same way a one-leg position does.
What does not net
Treating linked markets as independent can only overstate your worst case. A reduction never lowers
your requirement below what your book can actually lose.
After a reduction
The freed USDC stays in your maker vault asfree_collateral. It can back any new fill, in any
market, or be withdrawn. A position you fill after the reduction locks its full worst case, even if
it would net with your book. Run another reduction to net it.
When a position closes, its credit leaves with it. discount falls by the part of the position’s
worst case that it did not cost you:
Take the tournament above, with
discount at 5,000 and requirement at 10,000:
After buying back C you lock 2,000 more than your book can lose, until your next reduction.
One reduction raises
discount by at most a capped share of gross_open, and positions that close
between the job’s snapshot and its landing shrink what it adds. A large book can take several
reductions to reach its full credit. requirement never drops below the floor_bps share of
gross_open.
Reduce collateral
A reduction looks at every open position you back, finds the most your book can lose under any way the markets can resolve, and certifies the difference as yourdiscount. You submit that
certificate on-chain from a wallet that pays the gas. Totalis does not run reductions for you, and
it does not pay their gas. It runs headless: the API calls use a maker key with the
maker collateral scopes (COLLATERAL_SCOPES in the SDK), and a wallet that
holds HYPE signs the certificate transaction. Your maker wallet works.
id is chain_id in Get deployment. Use your collateral key,
not the quoting bot’s: it holds vault:write and operations:submit. The steps below are the same flow over the API.
1
Start a job
Create collateral reduction.
It takes no body. You get a
job_id and next_eligible_at, the earliest time a new discount
can land.2
Wait for the certificate
Follow
COLLATERAL_REDUCTION_UPDATED on the maker channel, or poll
Get collateral reduction, until
status is DURABLE. The job then holds a transaction: to, data, value and chain_id
for one call to the vault.3
Sign and submit it
Sign that call as an EIP-1559 (type 2) transaction to the vault on this chain, with zero value and
exactly the job’s calldata. Any wallet that holds HYPE for gas can send it; your maker wallet works. Send it to
Submit self-funded transaction
with the job’s
operation_id and the same Idempotency-Key that created the job, before the
job’s expiry. Totalis checks the transaction matches the job and broadcasts it. It never holds
that wallet’s key or picks its nonce.4
Collect the headroom
When the transaction lands,
MAKER_CAPITAL_UPDATED follows. discount is higher,
requirement lower, and free_collateral higher by the same amount. No funds move: the freed
USDC stays in your maker vault, ready to back fills or be withdrawn.- One job runs per maker at a time. Creating another while one is open returns the open one.
- A new discount only ever raises the old one. It never undoes a larger discount still in force.
- New fills lock in full, and closing positions use the discount up (After a reduction).
The TypeScript SDK’s
reduceCollateralruns all four steps. COLLATERAL_REDUCTION_UNAVAILABLEmeans reductions are switched off for this vault right now. Retry later.
Undo a discount
Your wallet can callresetDiscount on the vault at any time. It sets discount to zero, so every
open position locks in full again. It can only raise your requirement, never lower it.
Move maker funds
Your wallet calls the vault directly and pays the gas in HYPE. Totalis does not relay these. /mm only shows a pending withdrawal. Fund and withdraw runs each call headless with the SDK. The vault isvault_address and USDC is usdc.address in
Get deployment. Every amount is atomic USDC
(6 decimals).
A call from a wallet the table doesn’t list reverts
Unauthorized(). Every call that changes state
reverts NoMaker() for an unknown makerId; the view calls return zeros.
While the vault is paused, depositMaker and executeMakerWithdraw revert Paused(); the other calls
still work.
The SDK’s maker.controller() builds each call for your wallet to
send.
