code wiki / _hdl_build / nx_auction_core.nx
nx_auction_core.nx
buildroot/runtime/_hdl_build/nx_auction_core.nx
about
nx_auction_core.nx -- SHARED auction settlement engine (MANHEIM-BUILD): the reusable core under
EVERY auction channel (timed, proxy, simulcast, 2nd-chance, specialty). Pure integer-exact +
deterministic; NO syscalls -- operates only on caller-provided arrays. LIBRARY (no main); imported
by the per-channel gate organs. DRY law #15: the bid-validation + increment + reserve + anti-snipe
rules live in ONE place, so every channel settles identically and a rule fix lands once.
license_tier: ORIGINAL
dependencies 0 imports · 4 importers
imports: none
imported by: nx_auction_2ndchance.nxnx_auction_proxybid.nxnx_auction_realtime.nxnx_auction_timed.nx
structs
| none |
consts
| 7 | const AT_SOLD: i64 = 1 |
| 8 | const AT_NOSALE: i64 = 0 |
functions
| 18 | func at_resolve(opening: i64, increment: i64, reserve: i64, start: i64, end: i64, snipe_window: i64, extension: i64, bidder: *i64, amount: *i64, time: *i64, n: i64, out: *i64) -> i64 |