So if a faction owns cargo containers full of items or droids, does it calculate the value of the things inside the container or does it just value each container at 488 credits? Someone pointed out to me that your net worth changes when you uncrate things, so I was wondering how it affects faction dissolution calculations.

The market doesn't distinguish between crate contents, so crates should all be valued as crates. If there is some special function to distinguish that specifically for dissolution, I'm sure a coder will correct me.

Bankruptcy dissolution occurs at the next 17:00 Combine time. If your faction bankrupts at 16:59, it will dissolve in one minute. If it bankrupts at 17:01, it will dissolve in 23 hours and 59 minutes.