For local testing set the API base to http://localhost:4000
Declare the period's profit pool (grams). Below target → pro-rata haircut.