Credit limit (max outstanding principal) for an agent.
fn limit(env: soroban_sdk::Env, agent: soroban_sdk::Address) -> i128
Full derived terms for an agent. The advertised limit is the credit ramp
applied to the revenue-sized limit (grows with on-time repayment history,
collapses on defaults), so it matches exactly what lending_vault will
enforce at borrow time. The APR shown is the tier base rate; the vault
charges this plus a utilisation premium at draw time.
fn terms(env: soroban_sdk::Env, agent: soroban_sdk::Address) -> CreditTerms
Fixed APR (basis points) for an agent's tier.
fn apr_bps(env: soroban_sdk::Env, agent: soroban_sdk::Address) -> u32
The bound score_registry address.
fn registry(env: soroban_sdk::Env) -> soroban_sdk::Address
Bind this credit-line contract to a score_registry instance.
fn __constructor(env: soroban_sdk::Env, registry: soroban_sdk::Address)