Closed yellowbean closed 2 months ago
This will solve the clean up question: https://github.com/yellowbean/Hastructure/issues/89
because Trigger can be test on multiple places ( end of collection, end of collection waterfall, distribution day, end of distribution day).
We can insert "clean up actions" to the trigger, then the "clean up actions" can be performed in multiple places
This would bring more flexibility on Trigger Effects.
Once a trigger has been fired, the trigger would execute a list of waterfall actions( like a waterfall ).
Like , pay bond interest/ calc bond interest, pay principal to waterfall, sell assets , buy assets, liquidate pool cashflow etc, anything waterfall can do ,the trigger effects can do