Risk-Bounded Funding Logic