mutateOrSkip
Run transform against the ledger as it stands at the moment of writing and apply the patch it returns, or change nothing when it returns null. Reading and writing are one step: no other write may land between them, because the allocator decides each grant on exactly the state that grant lands on.
Return
whether a patch was applied.