code wiki / _hdl_build / nx_produce.nx
nx_produce.nx
buildroot/runtime/_hdl_build/nx_produce.nx
about
nx_produce.nx -- LIB: the CLEAN-PRODUCE catalog (R-IMPACT-2). Extends the impact model across the "Dirty
Dozen" (the most pesticide-heavy produce conventionally), proving the triple win at PRODUCT-LINE scale: a
whole basket of Nishi produce is cleaner + greener + cheaper for the customer, AND higher-margin for us.
Aggregates basket savings + our margin; renders a customer-facing storefront. Reuses nx_impact accessors.
license_tier: ORIGINAL
dependencies 4 imports · 3 importers
imports: nx_impact.nxnx_food_science.nxnx_seg_store.nxnx_syscalls.nx
imported by: nx_clean_market_gate.nxnx_link_auto_gate.nxnx_produce_gate.nx
structs
| none |
consts
| none |
functions
| 11 | func pd_money(dst: *u8, off: i64, cents: i64) -> i64 { return im_money(dst, off, cents) } |
| 13 | func pd_seed(prefix: *u8) -> i64 |
| 50 | func pd_list(prefix: *u8, outids: *i64) -> i64 called by 5: pd_all_triple_winpd_basket_savingspd_basket_marginpd_render_storefrontmain calls 2: sys_mmapss_get |
| 78 | func pd_all_triple_win(prefix: *u8, total_out: *i64) -> i64 |
| 88 | func pd_basket_savings(prefix: *u8) -> i64 |
| 97 | func pd_basket_margin(prefix: *u8, src: *u8) -> i64 |
| 107 | func pd_render_storefront(prefix: *u8, out: *u8) -> i64 |