Invoice Discounting Using Kelly Criterion by Automated Market Makers-like Implementations