The approach I think we’ll take is to make everything (even a simple transfer) go via a Batch
settlement. This way we can listen to the creation of Batch
+ SettlementInstruction
- which clearly idenitfy where the asset is moving from/to. We also listen to the ExerciseEvents which occur when the Batch
is settled. The SettlementInstruction
can include the receiving party as an observer to let them know who sent them the asset. This way we have a solution that aligns with the standard workflows in the library and does not require a lot of customization. Also, the Batch
can include a description/reference for the transaction, which would solve Reference/Comment in Daml Finance Transfer.
1 Like