code wiki / _hdl_build / nx_ad_offering.nx
nx_ad_offering.nx
buildroot/runtime/_hdl_build/nx_ad_offering.nx
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
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
| 16 | func on_num(dst: *u8, off: i64, v: i64) -> i64 |
| 29 | func on_money(dst: *u8, off: i64, v: i64) -> i64 |
| 36 | func on_goal_row(dst: *u8, off: i64, label: *u8, goal_key: *u8, price_key: *u8) -> i64 called by 1: on_emit calls 6: am_target_ofab_perform_fee_ofab_exceed_bonus_ofas_appendon_numon_money |
| 59 | func on_emit(out: *u8) -> i64 |