pub fn commons_cost(
production_cost: u64,
roi_cap_percent: u64,
max_roi_percent: u64,
) -> u64Expand description
Total economic obligation for a work: production_cost × (1 + roi_cap), with the ROI margin
capped (the sh:maxInclusive cap — extraction guard). roi_cap_percent is clamped to
max_roi_percent before applying. Saturating.