I'm nearly 100% sure that fund custody lies on the lender rather than marketplace, but the current redeemer contract has all their transfers coming from marketplace rather than redeemer.
So we need to either have the lender set in the redeemers constructor as a public var, or need a setter method for it.
Then we need to change all the transferFrom(marketplace, address(this), amount) -> transferFrom(lender, address(this), amount)
I'm nearly 100% sure that fund custody lies on the lender rather than marketplace, but the current redeemer contract has all their transfers coming from marketplace rather than redeemer.
So we need to either have the lender set in the redeemers constructor as a public var, or need a setter method for it.
Then we need to change all the transferFrom(marketplace, address(this), amount) -> transferFrom(lender, address(this), amount)