News for hackers. Stuff that matters.
Re:Anyone Seen Tether’s Billions? by arcticbull on Thursday October 07, 2021 @09:54AM (#28786276)
Nope, occasionally exchanges will manipulate the price up to liquidate shorts - for instance the highest recorded trade price of USDT was about $1000 and dexes leave you at risk of flashbots and smart contract bugs.
Re:Anyone Seen Tether’s Billions? by X6S1x6Okd1st on Thursday October 07, 2021 @06:06PM (#28792693)
I've held a short position on USDT through AAVE for a couple months now. USDT would have to go to ~2 to liquidate me.
Re:Anyone Seen Tether’s Billions? by qeternity on Thursday October 07, 2021 @06:51PM (#28793156)
If USDT goes, so does AAVE and everything else. And as has been mentioned, the iFinex crew have squeezed USDT to $1,000 before.
Re:Anyone Seen Tether’s Billions? by ikeboy on Thursday October 07, 2021 @11:49PM (#28795552)
What is the actual mechanism by which AAVE collapses if USDT nukes?
Re:Anyone Seen Tether’s Billions? by anonymoushn on Friday October 08, 2021 @03:07AM (#28796511)
Can you cite this? I have seen some pictures of Kraken wicks but not liquidations on Aave and not trades on FTX USDT quarterly futures above $1.10 or whatever.
Re:Anyone Seen Tether’s Billions? by qeternity on Friday October 08, 2021 @05:50AM (#28797404)
You’ve just cited it. I never said they squeezed in all places. They squeezed it where there was sufficient short interest: Kraken.
Re:Anyone Seen Tether’s Billions? by anonymoushn on Friday October 08, 2021 @06:03AM (#28797478)
I haven't just cited it! I said I saw a screenshot. I don't have a date or whatever, but if someone has a date then I can download the ticks from that day and check it out.

Without a date I can't compare the short interest at Kraken to e.g. the $100,000,000 OI in USD-settled USDT futures at FTX today.

Re:Anyone Seen Tether’s Billions? by qeternity on Friday October 08, 2021 @08:00AM (#28798230)
May 11, 2019 - https://trade.kraken.com/charts/KRAKEN:USDT-USD

Took me all of 10 seconds to find this.

Re:Anyone Seen Tether’s Billions? by FatalLogic on Friday October 08, 2021 @09:08PM (#28806086)
Are you sure that actually happened?

It should have been a huge story, but there seems nothing reported

https://www.google.com/search?q=kraken+usdt&tbs=cdr:1,cd_min...

If something that weird (a USDT price spike to $1000) really did happen, somehow nobody noticed and nobody was affected, in spite of millions of dollars of daily trades in that market at that time

It's probably a glitch in Kraken's historical chart

Re:Anyone Seen Tether’s Billions? by qeternity on Saturday October 09, 2021 @09:59AM (#28809895)
Many people noticed. It’s not a big deal because the market is mostly wash trading.

It’s not a glitch. How you can say it’s “probably” a glitch is beyond me, you have zero evidence to support that. There have been other instances of Tether spiking well above $1, that is simply the most egregious.

Re:Anyone Seen Tether’s Billions? by FatalLogic on Saturday October 09, 2021 @10:56AM (#28810408)
Can you find any contemporary report of that May 11, 2019 USDT price spike incident at all? Because, if 'many people noticed' it, as you claim, then that should be easy

But I'll tell you now, to save you time: there are no such reports, because it did not happen.

I don't know anything about 'other instances', I only assume that spike on the Kraken chart that you linked to must be a glitch, because I found zero corroborating evidence for it. As you yourself have implied, such an insane price spike would have been a significant incident so it could hardly have gone unnoticed.

Your arguments would be more persuasive if you based them on facts.

Re:Anyone Seen Tether’s Billions? by X6S1x6Okd1st on Friday October 08, 2021 @02:24AM (#28796298)
AAVE on polygon has 1B in ETH, 851M in Dai, 1B in USDC and only 215M in USDT.

Why would AAVE blow up if USDT blows up?

Re:Anyone Seen Tether’s Billions? by dustintrex on Friday October 08, 2021 @03:54AM (#28796766)
Because the fiat valuations of ETH, DAI, USDC and all coins will tank if Tether implodes.
Re:Anyone Seen Tether’s Billions? by anonymoushn on Friday October 08, 2021 @05:08AM (#28797169)
Why? USDC is backed by dollars and treasuries...
Re:Anyone Seen Tether’s Billions? by dustintrex on Friday October 08, 2021 @05:52AM (#28797418)
Not anymore it isn't, and they've admitted it:

https://beincrypto.com/coinbase-drops-guarantee-of-usdc-stab...

Re:Anyone Seen Tether’s Billions? by anonymoushn on Friday October 08, 2021 @06:05AM (#28797488)
I wrote that it was backed by dollars and treasuries. You wrote that it wasn't backed solely by dollars. So we agree.
Re:Anyone Seen Tether’s Billions? by dustintrex on Friday October 08, 2021 @08:14AM (#28798342)
No, we don't, since USDC can now be backed by pretty much anything:

> "the assets in fact include commercial paper, corporate bonds and other assets."

Re:Anyone Seen Tether’s Billions? by anonymoushn on Friday October 08, 2021 @08:32AM (#28798462)
Hello,

You're right. Their latest attestation[0] does not yet reflect their move to only cash and treasuries[1].

0: https://www.centre.io/hubfs/pdfs/attestation/2021%20Circle%2...

1: https://www.centre.io/blog/usdc-reserves-composition

Re:Anyone Seen Tether’s Billions? by SilasX on Thursday October 07, 2021 @08:42PM (#28794185)
Mentioned, yes. Cited (as happening on a decentralized exchange), no.
Re:Anyone Seen Tether’s Billions? by SilasX on Thursday October 07, 2021 @06:07PM (#28792712)
DeFi exchanges operate algorithmically with published smartcontracts, so they can't be deliberately manipulated like that[1] -- can you link the example of the DeFi where USDT traded at $1000?

Or were you just equivocating between DeFi and centralized exchanges in response to a comment that specifically suggested DeFi?

[1] Which is not to say they can't be manipulated at all, but you'd have to go after the entire market or exploit some existing bug; it's different from the ones where centralized exchanges pull arbitrary shenanigans on their own platforms.

Re:Anyone Seen Tether’s Billions? by qeternity on Thursday October 07, 2021 @06:56PM (#28793205)
OP is obviously talking about CEX since it’s not possible for a DEX to have a USD market (like the above mentioned USDT/USD).

As for DEXs being manipulated, absolutely not sure why you believe that’s the case? This has nothing to do with DEXs and everything to do with margin (which is coming to DEXs).

DEXs and AMMs make it much more expensive to provide liquidity in terms of capital efficiency versus CEXs, and thus more vulnerable to manipulation. But without margin, there’s not much economic benefit for a bad actor.

Re:Anyone Seen Tether’s Billions? by SilasX on Thursday October 07, 2021 @07:18PM (#28793393)
>OP is obviously talking about CEX

Certainly -- I agree OP (arcticbull) was replying to a comment about DeFI by explaining the dangers of a centralized exchange! That makes it a confused, unhelpful response, not one that "obviously" meant something coherent if you squint hard enough and practice sufficiently strained exegesis.

>As for DEXs being manipulated, absolutely not sure why you believe that’s the case? This has nothing to do with DEXs and everything to do with margin (which are coming to DEXs).

Margin has "come to" DEX the moment smartcontracts offer collateralized DeFi lending, which they have, so I'm not sure what you mean here.

>DEXs and AMMs make it much more expensive to provide liquidity in terms of capital efficiency versus CEXs, and thus more vulnerable to manipulation.

The reason (I'm claiming) centralized exchanges are more vulnerable is that

a) they own the platform and are the word of god on it -- whence the stories of people getting margin called at flash-crash prices that don't exist on other platforms. If they say prices are trading at some level, you just have to deal with it. That's not possible when you have to trade how the algorithm says.

b) If someone "stupidly" buys in one direction on a DEX, "for manipulation", they've vulnerable to the entire universe of arbitrageurs who can exploit the resultant price differences. Inter-[centralized] exchange arbitrage is much harder.

I brought up the point simply to emphasize that, to the extent that there's manipulation, it does not look like the manipulation you'd see on CEX, which was how OP was basing his argument.

Furthermore, even the issue of more expensive liquidity from transaction fees wouldn't be true for the far-cheaper L2 sidechains.

(Btw, you might want to use the terms in their unabbreviated forms at least once just to make it easy on people who aren't up to speed.)

Re:Anyone Seen Tether’s Billions? by qeternity on Thursday October 07, 2021 @07:27PM (#28793483)
> Margin has "come to" DEX the moment smartcontracts offer collateralized DeFi lending, which they have, so I'm not sure what you mean here.

Ok, fair. What I mean is high leverage, which is the fuel for the type of manipulation I’m referring to.

To your point about CEX lying about price, that’s a very risky proposition for the arbitrage reasons you mention (CEX arbitrage actually easier for a number of reasons, but I understand why you’d think DEX is easier).

If I run a CEX, unless I collude with every other venue I risk all the arbitrageurs buying/selling my fake prices which means it’s not fake, I’ve just traded against them.

> Furthermore, even the issue of more expensive liquidity from transaction fees wouldn't be true for the far-cheaper L2 sidechains.

No, I said capital efficiency, not execution cost. DEX costs are crazy, but that’s by choice, whereas the capital efficiency is a structural issue. If I want to provide liquidity on 100 CEX markets, I only need enough capital to wear the orders I actually get filled on at any given point in time. As an AMM I’d have have enough capital to be in a 100 different LPs.

To illustrate: let’s say I want to provide $1m of resting liquidity in 100 CEX markets. Let’s say that in doing this, I end up having positions at any point in time that require $10m of capital. If I want to provide the same $1m of liquidity in 100 DEX markets, I need $100m.

So a CEX ends up being 10x more efficient from a capital use perspective.

Re:Anyone Seen Tether’s Billions? by SilasX on Thursday October 07, 2021 @07:47PM (#28793673)
>Ok, fair. What I mean is high leverage, which is the fuel for the type of manipulation I’m referring to.

Why does that make a difference? And how is it any more coherent to talk about margin "coming to" DEX? The moment anyone can borrow on margin, it has "come to" DEX. You keep speaking with a mental model of DEX that doesn't jibe with reality, like they're walled gardens rather than platforms open to anyone with little friction other than gas fees.

>To your point about CEX lying about price, that’s a very risky proposition for the arbitrage reasons you mention (CEX arbitrage actually easier for a number of reasons, but I understand why you’d think DEX is easier).

It's fun to idly speculate about this, but we know for a fact that flash crashes have happened on centralized exchanges, which is stronger evidence than any of your assertions of superior understanding of how they work. Furthermore, people have had their margin liquidated on those CEXes at the fake prices.

>No, I said capital efficiency, not execution cost. DEX costs are crazy, but that’s by choice, whereas the capital efficiency is a structural issue. If I want to provide liquidity on 100 CEX markets, I only need enough capital to wear the orders I actually get filled on at any given point in time. As an AMM I’d have have enough capital to be in a 100 different LPs.

If that's what you meant, then it's coming from the same dubious mental model I complained about above -- when you enter into a liquidity pool, you are providing liquidity to the entire cryptocurrency's network, not just people who are "on" that DEX (which isn't a coherent concept). Anyone and everyone has the option to accept that offer (sorry, "remove that liquidity"). Several protocols look at the entire DEX market to find the best (combination of) price(s). You do not need to be in multiple liquidity pools (which, again, not a coherent concept).

LPs are not something you have to "be in"; you as a trader are free to accept the offers (sorry, "remove the liquidity") of any LP in existence.

Re:Anyone Seen Tether’s Billions? by qeternity on Thursday October 07, 2021 @07:57PM (#28793737)
> If that's what you meant, then it's coming from the same dubious mental model I complained about above

It’s not, because I’m saying something different than you think I am.

> when you enter into a liquidity pool, you are providing liquidity to the entire cryptocurrency's network, not just people who are "on" that DEX (which isn't a coherent concept).

Um, what?!? I’m really not sure you understand how this works. What do you think it means to be an LP?

> Several protocols look at the entire DEX market to find the best (combination of) price(s). You do not need to be in multiple liquidity pools (which, again, not a coherent concept).

No, just no. You keep saying it’s not coherent but I don’t think you understand how it works. You might be in an optimizer that moves your capital around, but a given unit of capital can only be providing liquidity for one LP at a time.

> LPs are not something you have to "be in";

Uh, if you’re not in it, then you’re not providing liquidity. This whole conversation is premised on providing $X liquidity to Y market. In a DEX that requires $X, whereas in a CEX, it requires a maximum of $X and in practice a fraction of $X.

Re:Anyone Seen Tether’s Billions? by SilasX on Thursday October 07, 2021 @08:14PM (#28793898)
>>LPs are not something you have to "be in";

>Uh, if you’re not in it, then you’re not providing liquidity.

Why did you cut off the rest of that sentence, which clarifies that I was referring to traders not having to be in an LP to accept an offer (sorry, "remove liquidity")?

People who really have some deep, coherent insight don't have to resort to that.

Furthermore, the point was that, even though you provide liquidity "to" a liquidity pool, that liquidity is available to the entire cryptocurrency's market, so "being in" the LP isn't a meaningful concept (with respect to whether you can buy from it -- though you'll still probably cut this off).

>I’m saying something different than you think I am.

The great thing about a discussion forum is that you can point to specifically where someone misinterpreted what you said and correct it. If you're just going to assert that someone totally misinterpreted you, but never clarify what you claim that deep insight was, then I'm not sure what you think you're adding to the conversation.

>Um, what?!? I’m really not sure you understand how this works. What do you think it means to be an LP?

It means that a) you have locked up tokens in the pool, and b) you receive a fraction of the fees when someone trades with it. You're still working from the (incorrect) mental model that thinks a DeFi LP is some walled off garden. This is in error. The LP is available to trade with everyone using that cryptocurrency's blockchain. So it's not very meaningful to speak of traders who can't trade with you because they're not "in" "your" LP. Once your liquidity is in any LP, everyone can access it. You do not need to provide it to more than one pool, as your premise requires.

Re:Anyone Seen Tether’s Billions? by qeternity on Thursday October 07, 2021 @08:23PM (#28794004)
Alright, last attempt. I never said anything about other traders being in the same liquidity pool or whatever you think I said. Let me spell it out.

Let’s say I want to be a market maker on Binance, in both BTC/USD and ETH/USD. Let’s say that I have a strategy where I can provide $5m in liquidity to each of those markets (i.e. $5m of orders for other traders to aggress) for a total of $10m of liquidity. But because most of the time those orders are just resting unexecuted, it turns out I actually only need $1m in capital to run my market making algos.

In the DEX example, if I want to provide $5m liquidity to a BTC/USDT LP and $5m to an ETH/USDT LP, I need $10m to do this.

So to run my $10m liquidity provider on a CEX I only need $1m whereas in order for an AMM to provide $10m in liquidity, it needs $10m in capital.

Re:Anyone Seen Tether’s Billions? by SilasX on Friday October 08, 2021 @12:14PM (#28800922)
That ... isn't your last attempt, actually. It's your first; you haven't said anything like this before, even though it would have been the natural thing to bring up in any of your three previous replies. Why you didn't, I can't tell.

Now that I see what you're saying, it still doesn't prove what you think it does. If you can remember back to the original point, the question was whether DEXes can be manipulated to the point of forcing margin calls. I was skeptical, since we have seen localized flash crashes on CEXes (when you insist are not possible because of super-easy inter-CEX arbitrage) that forced liquidations, while we have not seen that on DEXes [1].

I further expressed skepticism since any manipulation would have to be via "stupidly" overpaying in one direction on one LP, which would just draw traders -- from the entire market -- in to exploit the price difference, and correct it.

You kept appealing to the MM capital-inefficiency issue, but that isn't relevant because my point was that the counteracting force is from liquidity consumers, not providers -- the traders that accept the LPs' (formulaic) offers, and profit from the attempts to artificially push the price one direction across the entire market.

Your latest reply feels like a further confusion, because (AFAICT) you're effectively saying, "Don't worry, CEXes are more manipulation-resistant because I can falsely represent myself as being able to trade in $10m when I only have $1m".

If anything, that would mean they're more vulnerable to false signals about price support/resistance: If you can't actually put in $10m, you weren't really providing $1m of liquidity, and DEXes simply make this transparent.

[1] though arcticbull mentions a case where the value could be propped up for a similar kind of attack: https://news.ycombinator.com/item?id=28798110

Re:Anyone Seen Tether’s Billions? by arcticbull on Friday October 08, 2021 @07:43AM (#28798110)
Btw, re: DEXs I was thinking specifically of flash loan manips that exploited a number of platforms a few months ago. These involved briefly breaking the peg of stable coins on DEXs via short-term loans. [1] I think it's brilliant.

> One of the most notorious flash loan attacks to have ever hit the space is the exploit on DeFi protocol bZx, where the attackers borrowed funds from the platform and quickly swapped them with stablecoins (sUSD). Since the stablecoin is governed by a smart contract, the attacker had manipulated its price by placing a large buy order on sUSD, which pushed the price of the stablecoin to $2, doubling its pegged value. Then, the attacker took a larger loan from the higher-priced sUSD, repaid his loans, and took the profit with him.

It's relevant here because stable coin prices can be manipulated at DEXs too, or at least have been in the past. I'm not sure there's a long enough track record to guarantee it won't happen again before things go pear shaped if you're trying to take your short structured this way via DEX. There's smart contract bug risk, counter-party risk in the stable coin collateral and peg risk. Also regulatory risk.

[1] https://www.cybavo.com/glossary/flash-loan-attack/

Re:Anyone Seen Tether’s Billions? by SilasX on Friday October 08, 2021 @09:39AM (#28799160)
The relevant question is whether the peg can be broken long enough for the loan to get margin called (by someone else exploiting the smartcontract to liquidate collateral). Lasting for the length of a flash loan isn’t enough.
Re:Anyone Seen Tether’s Billions? by arcticbull on Friday October 08, 2021 @09:49AM (#28799271)
I suppose that's true, but are you confident that's not possible? I'm not but as you can probably tell I'm pretty skeptical :)
Re:Anyone Seen Tether’s Billions? by yokem55 on Friday October 08, 2021 @10:46AM (#28799895)
Flash loans have to be paid back in the same block or everything the flash loan funded reverts. And to ensure this happens, it usually is all wrapped up on the same transaction bundle.

But liquidations are only triggered on oracle updates. And those happen at fixed intervals (measured in time or price movement), and can only happen a block at a time, in blocks after the flash loan has been closed.

Re:Anyone Seen Tether’s Billions? by fny on Thursday October 07, 2021 @09:15PM (#28794497)
Here's a question, how do you guarantee that every USDT was backed by a dollar at origination? Say USDT holds a bond that defaults, what do they sell to offset the risk? Where does the 5% yield on tether even come from? This is the most plausible form of manipulation: unbacked liquidity. The only way you'll ever find out is with a bank run, and with massive yields and a hyped crypto space, it may be a while before that happens.