code wiki / _hdl_build / nx_ad_offering.nx

nx_ad_offering.nx

buildroot/runtime/_hdl_build/nx_ad_offering.nx

4514 B72 linesdepth 6pulls 10 transitivereach 1 importersview sourcekind librarytopic ad
docsdependenciesstructsconstsfunctions

about

nx_ad_offering.nx -- LIB: the public, pre-login OFFERING SHEET / sell page for the performance ad engine (ADS-017, CALLOUT-004) -- "the artifact we hand a prospect to start selling." Emits the sell copy (spec sec12) as a clean, first-party page whose PRICING IS PULLED FROM THE SOVEREIGN STORE (adgoal:/adpricing:), never hardcoded marketing copy with stale numbers (rule 11, spec sec12). Re-seed the figures -> the page updates, no edit. Composes the foundations: nx_ad_serve (clean emit, HTML-escape, zero-third-party-JS) + the store figure readers (am_target_of / ab_perform_fee_of / ab_exceed_bonus_of). license_tier: ORIGINAL

dependencies 5 imports · 1 importers

nx_ad_meter.nx nx_ad_bill.nx nx_ad_serve.nx nx_ad_store.nx nx_syscalls.nx nx_ad_offering.nx nx_ad_offering_gate.nx

imports: nx_ad_meter.nxnx_ad_bill.nxnx_ad_serve.nxnx_ad_store.nxnx_syscalls.nx

imported by: nx_ad_offering_gate.nx

structs

none

consts

none

functions

16func on_num(dst: *u8, off: i64, v: i64) -> i64
called by 2: on_moneyon_goal_row calls 1: sys_mmap
29func on_money(dst: *u8, off: i64, v: i64) -> i64
called by 2: on_goal_rowmain calls 2: as_appendon_num
36func on_goal_row(dst: *u8, off: i64, label: *u8, goal_key: *u8, price_key: *u8) -> i64
59func on_emit(out: *u8) -> i64
called by 1: main calls 2: as_appendon_goal_row