74 points · by malshe · 3y ago · 47 comments
Yes, by definition flash loans are atomic.
It's money borrowed and repaid within one transaction, which is atomic. One might wonder: is anything being borrowed at all?
No, since all component operations to a given transaction happen atomically, there really is no counterparty risk: Either the proposing actor manages to make a profit and "pay back" the flash loan (plus interest, apparently), or the entire deal does not go through.
> Otherwise, someone could keep running this trade on repeat until they’ve accumulated an amount equal to the gross product of the universe.
No, they can keep on repeating the trade (which is usually arbitrage of some sorts) exactly until the arbitrage opportunity is gone, which usually is quite soon – unless somebody has made a serious pricing mistake somewhere.
> Something can’t come from nothing.
It (i.e. arbitrage profit) doesn't come from nothing – it comes from seeing a market inefficiency and a way to profit from it. The actor that sees it is rewarded by profit; the entire market (i.e. all of its participants) benefits from better price quality.
None of this is a crypto innovation either: This is exactly how traditional finance/payments multi-currency net settlement works.
But there’s real work to do now.
1) The usage of GPUs for compute is much more preferred to the ASIC-ification of certain computing workloads, as the hardware can be reused for better software / algorithms.
2) (Refer to below for personal views on effort prescriptivism.)
> But there’s real work to do now.
Heavily dislike the authoritarian-leaning connotations that anything other than "real work" is a waste of effort. People are allowed to use their time & effort to do whatever they want to do.
They are. If that's a good thing remains to be debated, given there are many urgent problems in the world to be solved.
> They are. If that's a good thing remains to be debated, given there are many urgent problems in the world to be solved.
It is a good thing: Personal autonomy is a necessary right. When left alone, a person must be able to perform activities that they want to do.
The binary alternative is no personal autonomy, to which this conversation alone would be forbidden and we would be put to death, as it subtracts from the total efforts of "solving necessary problems". No other discrete or continuous values in between these two extremes can exist in terms of individual personal autonomy, as an atomic action can either be performed or cannot be performed by an individual, with any "half-steps" equivalent to non-performance of such an action.
Personal autonomy is necessary.
That is not what happened, of course. But it's a rationalization that crypto folks would be fond of, I assume.
We've been hearing these same arguments since the beginning... If nothing else Bitcoin has shown impressive sticking power, given all of its stumbles and uphill battles.
How many people? How much are they holding?
Bitcoin's market cap is $485b. That's a whole lot of people and a whole lot of hope.
BTC/USDT is still $25k though.
> Upon completing the arbitrage loop, the bot sold the Threshold Network tokens on the Balancer exchange, generating a gain of 0.019 ETH,
Can someone explain this to me; it seems like all the profit came from the $2,300 worth if WETH. Why did it borrow $200M? Also how can this bot ensure all of those transactions happen within the same block?
It's exactly what flashbots are meant for.
If you would ask ChatGPT to earn money trading, it definitely would do this... especially if this pattern is repeatable.
Either I'm missing something, or this specific implementation isn't priced correctly/rationally – competition should drive the rate for this down to exactly zero (no risk because there is no chance of losing money; no opportunity cost because the "lending" party loses use of their capital for zero units of time).
In fact, some other blockchains/smart contracts do seem to price this capability at 0% [2].
[1] https://docs.aave.com/developers/v/2.0/guides/flash-loans
[2] https://developers.stellar.org/docs/encyclopedia/path-paymen...
Practically, I suppose that many smart contracts or blockchains don't see things that way and really do require the funds to be available in some account (that also consents to them being used in this way) to keep existing systems and protocols happy.
I'd still argue that the marginal interest here should be zero or very close to it, in an efficient market (due to the time being infinitely short) – so seeing quotes of 0.09% of interest for flash loans makes me suspect that there's non-negligible friction somewhere.
A cookie nag for no reason and then pop up for signing up that doesn't close with the "x" or "No Thanks". Man we need some form of great purge on the web to get rid of all of these awful shit websites.
This is the same thing, just in crypto.
I don't think this story "Crypto bot borrows $200M to make $3" is particularly salacious, simply because even in it's seeming extreme, it's still a fairly mundane matter of shifting figures around.
And matters of risk or custody are their own areas, for which each individual may take their own responsibility.