It would be nice to use the "minters superpower" of an approved position to merge into other positions, as a native function. So no FlashLoanProvider is needed.
Security issues should be addressed if there are public functions which gives the ability to withdraw collateral for "not only the owner"
Merging, Rolling
https://github.com/Frankencoin-ZCHF/FrankenCoin/discussions/28