The IFR is not properly modeled in the codebase and is intertwined with the business logic. This should be separated. I had already built the model in my branch here: https://github.com/diondokter/ec-slimloader/blob/baa3f1bdf4e03f7c1d6f3af23c0e93075a1ffef8/libs/mcxa-ifr/src/lib.rs
The IFR is not properly modeled in the codebase and is intertwined with the business logic. This should be separated.
I had already built the model in my branch here: https://github.com/diondokter/ec-slimloader/blob/baa3f1bdf4e03f7c1d6f3af23c0e93075a1ffef8/libs/mcxa-ifr/src/lib.rs