@somnia-chain/markets-sdk / index / fillKind
Function: fillKind()
fillKind(
takerSide,makerSide):BinaryFillKind
Defined in: packages/sdk/src/store.ts:364
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).
Details
takerSide: The taker's BinarySide.makerSide: The maker's BinarySide.