How Decentralized Lending and Borrowing Works