fn get_borrow(env: soroban_sdk::Env, id: u64) -> Option
fn mark_repaid(env: soroban_sdk::Env, id: u64)
fn record_borrow(
env: soroban_sdk::Env,
lender: soroban_sdk::Address,
borrower: soroban_sdk::Address,
token: soroban_sdk::Address,
amount: i128,
interest_bps: u32,
term_months: u32,
monthly_installment: i128,
) -> u64
fn mark_defaulted(env: soroban_sdk::Env, id: u64)