code wiki / _hdl_build / nx_adnet_selfserve.nx

nx_adnet_selfserve.nx

buildroot/runtime/_hdl_build/nx_adnet_selfserve.nx

4151 B106 linesdepth 4pulls 4 transitivereach 4 importersview sourcekind librarytopic adnet
docsdependenciesstructsconstsfunctions

about

nx_adnet_selfserve.nx -- LIB: self-serve advertiser intake for the sovereign ad network. An advertiser submits a full inventory row (id/advertiser/img/clickurl/section/weight -- the exact nx_adnet contract); the row is VALIDATED with the same fail-closed rules the serving slot enforces (first-party img only, http(s)/path click only, clean id) and then appended to a STAGED submissions journal. STAGED IS NOT LIVE: nothing an advertiser submits ever serves until the operator approves it into the live inventory conf (ass_approve appends a validated staged row there -- an operator action, never automatic). B2B only; the schema HAS NO VISITOR FIELD -- no visitor identity can transit this path by construction. license_tier: ORIGINAL

dependencies 2 imports · 2 importers

nx_syscalls.nx nx_adnet_slot.nx nx_adnet_selfserve.nx nx_adnet_selfserve_gate.nx nx_adnet_submit.nx

imports: nx_syscalls.nxnx_adnet_slot.nx

imported by: nx_adnet_selfserve_gate.nxnx_adnet_submit.nx

structs

none

consts

none

functions

13func ass_valid_row(row: *u8, rlen: i64) -> i64
44func ass_submit(subs_path: *u8, row: *u8, rlen: i64) -> i64
75func ass_snoop_scan(buf: *u8, n: i64) -> i64
called by 1: main
92func ass_approve(inv_path: *u8, row: *u8, rlen: i64) -> i64