Bank - Offer Loans
This behavior gives a bank agent the ability to respond to loan requests from other agents. This behavior pairs with the bankcollectloans.js behavior and, from the loanee's side, the request_loan.js behavior.
Published by
Shortname
@hash/bank_offer_loans.js
Description

This behavior gives a bank agent the ability to respond to loan requests from other agents. This behavior pairs with the bank_collect_loans.js behavior and, from the loanee's side, the request_loan.js behavior.

This behavior needs to access the following properties:

  • loan_strategy
  • reserves
  • loan_length

And the following fields in its state:

  • assets
  • loans (an object)
  • credit