Contract aa035d878f9a52d98dff0ceebb8c974063c46d8d41ee3df7960beaae1a33f4af

← Back to Index 📥 Download WASM

Meta

rssdkver 26.1.0#175aa41306f383057a8cdfc84b68d931664fc34e
rsver 1.96.0

Instances

  • CDK7S4UWY227FHFKDSV37DGT7AIJ5Z2QEYO5AY456M7RBGJN25WYJVGC

Interface

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)

Imports

WebAssembly Text (WAT) ▶