ZooBC wiki

Changes to “Swap offers”

#146 (zoobc.how, 2026-10-26 21:37 UTC) → #858 (zoobc.how, 2026-10-26 22:31 UTC): Seed article updated

…
## All or nothing
 
+ There are no partial fills: one taker takes the whole offer, or nothing happens. Nothing is lent either: both legs move at once and for good, so nobody owes anything afterwards. Filling bit by bit against many counterparties is what [[markets-and-orders|orders on a market]] do.
− There are no partial fills: one taker takes the whole offer, or nothing happens. Nothing is lent either: both legs move at once and for good, so nobody owes anything afterwards. Filling bit by bit against many counterparties is what [[markets-and-orders|market orders]] do.
 
If two takers try to accept the same offer, the first one applied wins. The second has become pointless and is a paid no-op: it pays its fee and changes nothing (see [[one-per-block-and-batches]]).
…
An expiry only stops acceptance. The chain never sweeps offers away, so an expired offer stays locked until its maker cancels it and recovers the give side. Swap offers pay no rent.
 
+ ## Swap offers and orders on a market
− ## Swap offers and market orders
 
+ | | Swap offer | Order on a market |
− | | Swap offer | Market order |
|---|---|---|
| Assets | any two, any decimals | tokens with 8 decimals |
…

History