Some of this snapshot logic could be handled automatically by cw `Snapshot*` types. https://github.com/liquity/dev/blob/main/packages/contracts/contracts/TroveManager.sol
Some of this snapshot logic could be handled automatically by cw
Snapshot*types.https://github.com/liquity/dev/blob/main/packages/contracts/contracts/TroveManager.sol