Contract.Matchingval start : market_slice -> reduction -> (cursor, string) Stdlib.resultFixes the eligible-order cursor after actions and borrow accrual.
val run :
market_slice ->
cursor ->
reduction ->
(outcome, string) Stdlib.resultExecutes at most one cursor step. Continue retains the same slice; Complete has cancelled market remainders and queued the close callback.