The Market contract acts as the point of interaction for all lending and borrowing related activities. New stablecoin deposits are added to this contract's balance, while borrows are subtracted from the contract balance.
Address of itself (Market contract)
Address of contract owner that can update config
Contract address of aTerra
Contract address of Interest Model
Contract address of Distribution Model
Contract address of Overseer
Contract address of Collector
Contract address of Distributor
Native token denomination for stablecoin
Maximum portion of stablecoin liquidity available for borrows
Instantiates the money market Market contract. Requires the owner to make an initial deposit of 1 Terra stablecoin and mints 1 aTerra to the Market contract (inaccessible). The creator's initial stablecoin deposit ensures the aTerra supply to always be a high enough value to prevent rounding errors in the aTerra exchange rate calculation.