News for hackers. Stuff that matters.
Re:DeFi bug accidentally gives $90M to users by lottin on Saturday October 02, 2021 @03:35AM (#28726768)
If you take a loan in BTC and post the same amount of BTC as collateral, the payoff from such a "loan" is the return on BTC during the holding period minus the rate of interest charged times the principal (or collateral, since it's the same amount). In finance, this called a "swap", and in a swap the principal is not actually exchanged because it's inconsequential, it's only used to calculate the amounts due. In short, what you describe is not loan, but a swap, which is a different kind of financial product.
Re:DeFi bug accidentally gives $90M to users by TameAntelope on Saturday October 02, 2021 @07:28PM (#28733103)
If you know all that, I think you'll probably understand how yield farming works better than I!