fn compute_resource_changes_from_resman_events(
    events: &Vec<(EventTypeIdentifier, Vec<u8>)>
) -> IndexMap<ResourceAddress, BalanceChange>