onyx 2018-09-18

Is there any documentation on how refinement works? What are create-state-update and apply-state-update intended for?