code wiki / (root) / nx_billing_gate.nx

nx_billing_gate.nx

buildroot/runtime/nx_billing_gate.nx

7443 B140 linesdepth 9pulls 16 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_billing_gate.nx -- INDEPENDENT gate for time & billing (imports the SAME shipped nx_billing_lib = atlas validation edge). Proves: per-matter time totals, matter isolation, integer-cents exactness, RPC 1.15 fee application from trust, exact trust decrement, NO-OVERDRAW refusal, and refused-leaves-trust-untouched. SELF-PUBLISHES knowledge/status/office_billing_gate.log. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_billing_lib.nx nx_gate_verdict.nx nx_billing_gate.nx

imports: nx_billing_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main bg_scratch reg_strlen mt_catcopy mt_catn nxi_buf trust_put mt_catcopy ↻ mt_catn ↻ canon_encode sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ cc_cmp cc_w32 cc_len sys_munmap reg_put reg_put_x sts_lock sts_mm sys_mmap ↻ sts_werr sys_exit ↻ ss_cat sys_openat_append sts_werr ↻ sys_flock

structs

none

consts

13const BG_DASH: i64 = 45
16const BG_I64_DIGITS: i64 = 19

functions

24func bg_scratch(base: *u8, uq: i64) -> *u8
called by 1: main calls 3: reg_strlenmt_catcopymt_catn
34func main() -> i64