@somnia-chain/markets-sdk / index / fillKind
Function: fillKind()
fillKind(
takerSide,makerSide):BinaryFillKind
Defined in: store.ts:264
Classify a binary fill from its two sides: opposite trades on ONE outcome are
direct (DIRECT_YES/DIRECT_NO); two buys mint a YES+NO pair from collateral,
two sells burn one back. Mirror of the indexer's fillKind
(BinaryPool._isPair matrix — keep in lockstep).
Parameters
takerSide
The taker's BinarySide.
makerSide
The maker's BinarySide.