[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

2022-11: Warosu is now out of maintenance. Become a Patron!

/biz/ - Business & Finance

View post   
View page     

[ Toggle deleted replies ]
File: 113 KB, 780x1024, 20200823_020022.jpg [View same] [iqdb] [saucenao] [google]
21778043 No.21778043 [Reply] [Original] [archived.moe]

Ummm wtf?? Is this still possible?

>> No.21778067

Of course! Just give me your SSN, bank account, and routing number and I'll lend you $94k and send you etherium for 60% of market value!

>> No.21778088

How to write this transaction? How much Solidity do you need to know and how long would the code be?

>> No.21778117

fuck bros how will we ever compete?
Should I just get some AMPL and hope it rebases me upward?

>> No.21778123

did this faggot just get lucky? how is there such a price difference for stable coins and enough liquidity to do all of this?

>> No.21778127

CEO of Etherium Vitamin Buterik here, please delete now sirs.
Thank you.

>> No.21778128

Isn't it just arbitrage?

>> No.21778176

this fucking retarded xyzUSDC shit reminds me of when we started using imaginary numbers in math and now we are doing it with currency

This shit has to go to 0

>> No.21778191

if you have to ask, you aren't smart enough to pull it off on your own. but you could still use the yearn yvaults for easy and consistent yield farming.

>> No.21778207

I thought Chainlink prevented shit like this kek

It's a flash loan from dydx, which you can do as long as you return the USDC in the same transaction.

>Borrow 94k USDC
>Buy ton of ETH on Uniswap with USDC
>ETH liquidity goes down and price of ETH goes up
>Use new price of ETH to buy sUSD
>Send sUSD through Curve.fi and receive USDC in return
>Repay 94k USDC to dydx
>pocket the rest

>> No.21778215


>> No.21778229

No, you're taking advantage of reduced ETH liquidity altering the price of sUSD.

>> No.21778252

I see

>> No.21778258


>> No.21778271
File: 316 KB, 413x367, 1597149914869.png [View same] [iqdb] [saucenao] [google]

yes, it's very possible to do this because he's taking advantage of the arbitrage (and fucking with this AMM on uniswap to his benefit)
not recommended to do unless you understand how and why this works

>> No.21778272

used to have orderbook fuckery now there's liquidity pool fuckery

>> No.21778290

b a s e d

>> No.21778293


>> No.21778304

Holy fuck I need to start looking into flash loans. I thought I was clever using Aave to leverage my link long (up 3000 extra link) but this is incredible

>> No.21778392

you can change the price of ETH with $100k? And then this new price via manipulated liquidity on one pair affects every pair on uniswap?

>> No.21778404

Believe it or not, people here are laying low and making big fucking money

>> No.21778407

Can u explain

>> No.21778413

Yup, this is why ethereum will die.

>> No.21778485

how did this guy calculate how his buys would affect price? and under what conditions is this even possible? was it when there was low liquidity or something when uniswap launched?

>> No.21778514

Uniswap didn’t have liquidity for my link buy last week. And I was only trying to get $10k usd worth not $100k

>> No.21778550

How many link did you start with to make the extra 3k?

>> No.21778586

>I thought I was clever using Aave to leverage my link long
A lot of people do this and it contributed to LINKs rise IMO

>> No.21778610

You're artificially increasing the price of ETH based on how they calculate prices on Uniswap

>> No.21778631

Is there sample code of this transaction. How do you set it off, etherscan?

>> No.21778646

Of course :^)

>> No.21778664

12K link- took out a loan in USDT and bought more link with it. Increased loan on the way up and decreased during reversals. I’m very very careful not to over leverage. My health factor is currently at 8.

>> No.21778682

How the fuck do u ask for a loan exactly?

>> No.21778716

wear your best tie
go to the bank, ask to see the manager
firm handshake
practice firmness beforehand cuz this is key

>> No.21778718

>my loan is very safe
> have random crypto loan
>random crypto loan for cash

top kek lmfao..you took a loan out to buy link dumbasss. nothing safe about it. kys

>> No.21778727

This shouldn't be possible
>USDC = $1.00[USD]
>sUSD = $0.989459[USD]
>diff ~0.01
ETH is at $391.73
So if you swap 100k USDC you get 255.277 ETH. Now let's swap 255.277 ETH for an amount of sUSD
>Our ETH in USD = $100k, 1 USD = 0.989459 sUSD, so $100k USD = our Eth = 98,945.90 sUSD = 100k USDC
Am I missing something

>> No.21778787


He capitalized on the inefficiences of a new market due to liquidity issues. As crypto grows this will be less doable from as liquidity pools will be larger. So the idea is if you can write a smart contract that can return the original amount borrowed from the flashloan then you it goes through otherwise the smart contract fails you just lose the fees in gas. Its all resolved through DEXes and smartcontracts so its perfect arbitrage that can't fail basically.

If someone can create a token that monetizes this protocol it would be insanely lucrative. Better than YFI even. I've been talking about this "Atomic Arbitrage" for months now but don't understand enough of the technical to do it myself, just the process.

Saturn network is the only exchange I have found doing it but they have no volume which is lame because if people understood the profit potential it would be ridiculous. Arbitrage is healthy for a normal market as it tightens the spread between bids and asks stabilizing asset value

>> No.21778815


It was likely a momentary price difference that existed for under minutes, probably during a time of high volatility when everything was pumping or dumping.

>> No.21778816
File: 35 KB, 500x576, 1587173722515.jpg [View same] [iqdb] [saucenao] [google]

I don't even know how to use Aave to add to my link stack. I'm ngmi

>> No.21778843

the buy order pumped the price on ETH to the moon on uniswap, which allowed him to get more sUSD than his initial capital. It's essentially a one man pump and dump wherein liquidity providers got BTFO.

>> No.21778880

In other words arbitrage

>> No.21778931

>I thought I was clever using Aave to leverage my link long (up 3000 extra link)
You weren't clever, you simply gambled. You could have achieved the same thing by just going to the casino.

>> No.21778955

>So the idea is if you can write a smart contract that can return the original amount borrowed from the flashloan then you it goes through otherwise the smart contract fails you just lose the fees in gas. Its all resolved through DEXes and smartcontracts so its perfect arbitrage that can't fail basically.
is it possible to calculate what you will do to a uniswap price based on the liquidity of the two pools? where do i find more info about this?
and i dont even see a sUSD-USDC pair on uniswap...

>> No.21778956

I’m up $48,000 usd without trading (no short term capital gains) and I have the other half of my link stack in another wallet. You sound too stupid to figure out proper risk management. My liquidation price is under $2.00

>> No.21778978

>You could have achieved the same thing by just going to the casino.
With considerably worse odds. He was clever to avoid that, at least.

>> No.21779034

id rather blow 400 on an altcoin then go to a casino, it's literally more practical/saner with better returns.

t wasted 1k at the casino

>> No.21779035

No I didn’t gamble. It was a carefully calculated risk as was my initial investment. I have another 12k link in another wallet, 1000 link in a Yearn Vault, and 15k on Aave with another 1200 Link from the USDT loan you moron. And my initial investment was $8,000 USD so fuck off

>> No.21779059

>health factor
Resource for info pertaining to your strat?

>> No.21779087


It would be nice to get a link to the full tweet to read more of the specifics. I'm assuming its probably all done via Metamask and a bot is doing all the swapping in an automated fashion.

I would imagine its probably achievable to calculate how new liquidity affects the price of a pool. Its all cryptography or math so I don't see why not. Uniswap.info has a lot of information, I'm not sure where the formulas are that dictate how the pools price assets though. I'm sure its out there somewhere.

>> No.21779097
File: 39 KB, 575x556, 1517234643095.jpg [View same] [iqdb] [saucenao] [google]

>T.retard boomer

>> No.21779109

How well is the yLINK vault performing. I've been meaning to get that started but was afraid of protocol failure.

>> No.21779144

Just go on aave.com, jebus

>> No.21779176

>>21778978 She not he. I am female. I spent at least 1000 hours researching before I put in $8,000 USD in link which took me a long time to save. I understand the risks using leverage. I did the math. Thank you for looking out for my financial well-being but I feel comfortable with this type of risk

>> No.21779177

You need to do a flash loan transaction with dydx. Since you return it in the same transaction, there is no interest charged. So you momentarily have access to a shit ton of momentarily, literally for 0 seconds.

>> No.21779192


>> No.21779215

I actually just started that today but I will report back. I spent a long time reading up on potential protocol risks and I decided i was willing to loose 1000 Link max. The APY is like 60% which is nuts

>> No.21779227

>If someone can create a token that monetizes this protocol it would be insanely lucrative.
They have and they keep the profits for themselves, why would the crypto community support fucking up DeFi?

>under minutes
Under 1 second

>> No.21779282

i work in milliseconds checked

>> No.21779287

It's arbitraging by pumping and dumping liquidity. Pretty common, regulated stock exchanges have market makers and time outs in place for these cases.

>> No.21779289

Aave has a formula for this. You can borrow 0.65 of collateral and liquidation is 0.70. It’s pretty straightforward. You absolutely do not want to over leverage. Spend an hour fooling around with it just so you know what your options are

>> No.21779291

Check the pic where it says wETH, that's where the uniswap transaction occured.

I doubt they're gonna publish the profitability of fucking over their smart contract but you can check pool info at uniswap.info

>> No.21779307

I do know how to do this, contract to contract work. But you'll have to explain a lot to me as I don't understand shit on atomic swaps. Email, [email protected]

>> No.21779313

aave.com, if you dont want to calculate the liquidation price of 70% you can put your address into debank.com

>> No.21779329

Sounds like you're new to crypto or don't have a grasp on smart contracts / flash loans.

>> No.21779342

>I am female.
sell signal

>> No.21779352

I was just curious, I didn't even know what Aave is... as someone who loves economics, this is fascinating. Thanks for the info.

>> No.21779363

Would you know the transaction prices ahead of time or is it a market buy? Sorry if it’s a stupid question

>> No.21779381

Good to know thanks for this>>21779342
Oh fuck o

>> No.21779430

Oh fuck off ive been here the whole time dumbass. I’ve been spoon feeding this board for longer than you have been here

>> No.21779435

Oh boy you better fall into the DeFi hole then. Look into Yearn Finance, Synthetix and Balancer as well

>> No.21779472

You probably have to calculate it manually judging by the liquidity in uniswap and knowing how uniswap calculates their prices. Personally I'd test it all out on Ropstein first before spending 3 ETH on a transaction.

>> No.21779481
File: 119 KB, 640x267, 03A62582-ADC4-4F75-B827-29CA14167F09.jpg [View same] [iqdb] [saucenao] [google]

Wow! 1,000 hours! What a very specific and long amount of time to research. You must be very smart!

>> No.21779491

Lolol this isn't a woman.

>> No.21779497

Better if he doesn't look into those lol

>> No.21779498

This. There is a lot of money to be made before the loopholes get sorted out

>> No.21779508

Thanks for this

>> No.21779555

>i am female (male)

>> No.21779585

Shoo shoo there are other threads for this

>> No.21779695

None of you retards heard of Furucombo ?

>> No.21779766


Enlighten me then which part do I have incorrect. What I explained has been done already outside of OPs example. You can code a bot to identify arbitrage opportunities and then use flashloans to capitalize on the entire opportunity as it will give the liquidity necessary.

Its its all on DEXes and the entire transaction goes through smart contracts then it can be written to stop the execution if you can't pay back the flashloan when it the final step resolves.

I.E. You're bot identifies arbitrage through 3 different assets on 2 different DEXes. Lets say its a 4 steps and requires 4 contracts to execute if the arbitrage opportunity fails then it will automatically cancel and you lose the gas.

If it all resolves in the same block its legit. It seems like you don't get how they work.


"This is exactly what one user did, and he made $16,182 within seconds, using absolutely no investment but some pocket change for the gas fees.

Seen in block 10566089, what the user did was the following.

First, he borrowed 2,048,000 USDCT using dYdX’s flash loan. Remember, because it’s a flash loan, he doesn’t have to post any collateral as long as he repays the amount within the same block.

He then swapped this amount for 2,028,367 DAI on Curve y pool. After that, he swapped the DAI for 2,064,182 USDC on Curve’s SUSD pool, and lastly, he paid back the 2,048,000 USDC to dYdX, all within the same block.

All of this is possible because of the different stablecoin rate at the various lending protocols. And while 1% difference might not seem like a lot, when one is able to borrow high amounts and arbitrage this difference, the profits can be substantial."

>> No.21779783

Welp I know what I'm doing tomorrow.

>> No.21779804



Heres the etherscan of the arbitrage

>> No.21779816

Have you used this? What are other use cases besides arbitrage?

>> No.21779821


Read this


>> No.21779830

A bot is not doing the swapping, the entire transaction happened all at once.

>> No.21779857


Ideally Nexus mutual will get liquidity in their YFI insurance pools so you can hedge against smart contract/protocol failure. Once that is available I'd got almost all in. Insane returns please do make a thread in the near future I also willing to risk about 1000 myself so I might just go for it.

>> No.21779879


I'm just saying you could automate a bot to identify those opportunities and have it do the arbitrage for you. There was someone else who did just that but yea it works because everything resolves in the same block

>> No.21779882

Is any uses for flash loans other than what OP posted?

>> No.21779903

You have to literally have constant tabs open watching volume and price to snipe this kind of arbitrage. The real arbitrage is the difference in ETH price across two stable coins, so you need to take the highest volume cryptos (BTC/XRP/ETH/LINK) and look for price differences across a list of trustworth stable coins, when you see a big difference you then need to very quickly find a liquidity path to get into one stable coin, into the crypto, and back into the other stable coin THEN a way back to the original stable coin. It's a lot of work and there are definitely people doing this as a full time job

>> No.21779906

The arbitrage opportunities in stable coins is small and disappears so quickly that you'd need complete automation most likely to profit in time consistently.

>> No.21779923



>> No.21779935

A misunderstanding then.
I just looked at that transaction and the address that does those trades and that bot is a great idea for whoever wrote it.

>> No.21779940
File: 123 KB, 2145x1009, naflknasf.png [View same] [iqdb] [saucenao] [google]

what did they mean by this? what is happening in this image?
>start with 740 DAI
>use it to get 10,000 DAI
>swap it 10740 DAI for 11037 USDC
>swap 11017 USDC for 10009 DAI
>pay back 10009 for the loan
did i get that right? would I end the transaction with 740 DAI and 20 USDC back in my wallet after all of that? and all i have to pay is gas for one transaction?

>> No.21779956

I have no idea what this is supposed to do.
"Flash staking"

>> No.21779964

So some of this was luck after many many failed attempts I’m guessing?

>> No.21779970

>20 USDC

>> No.21779985


No problem. Its fucking genius and there is still tons of money to be made in this area while crypto is still the Wild West so to speak. Arbitrage will always be a thing but as the space grows it will be less profitable is all. I wish I had the understanding on how to do it. Idk where to start exactly or how long it would take to learn

>> No.21780008

I saw that about the insurance through Nexus. Quant Stamp audited it as well. You should read the audit. Also be warned the gas was insane.

>> No.21780011


It appears as though that is the case. From my understand the opportunity can disappear before the blocks resolve though and then you lose just the gas paid.

>> No.21780042

>and all i have to pay is gas for one transaction?

>> No.21780062


Possibly. Again if you have an automated way to calculate the arbitrage through multiple assets then its hard to fail. DAI-USDC-TETHER-ETH-DAI or something along those lines for example. Then a bot to trigger the trades after identifying the potential arbitrage. So much fucking money you could make literally millions since flashloans require no collateral. That being said if your automated system fails you have to pay the gas still. Lol

>> No.21780069

see >>21779695

>> No.21780073


Well gas for each contract/swap but yea just gas paid is all.

>> No.21780095

what site is this

>> No.21780096

Hmm that I'll check out thanks

>> No.21780111


Oh shit thanks. I'm about to check this out

>> No.21780125

enjoy paying $25 for the gas fees retard

>> No.21780225

I'm interested in getting walked through the process if any anons have successful achieved this irl

>> No.21780264

Chainlink doesnt work

>> No.21780936

Does anyone know where Kyber gets their liquidity from?

>> No.21781235
File: 157 KB, 633x758, 1506051759035.jpg [View same] [iqdb] [saucenao] [google]

im reading about making one of these bots and im starting to think im 6 months too late

is it even worth it?

>> No.21781353

Bless you anon for this. New to crypto and never used eth/uniswap, but coded for 2 decades. You could implement this using eth web3 Node.js package, and probably there is an easy way to get a price feed to scan for arbitrage.

The clever way to run this would be let other people use your bot so they pay for the gas and to have the bot send you a percentage of their gains each time they succeed.

>> No.21781555


I just googled price scan feeds for the DEXes available on Furucombo and can't find anything. This is frustrating because I understand the process entirely and could dictate what I need done to someone who understand how to code but have no sense of the technicals.

>The clever way to run this would be let other people use your bot so they pay for the gas and to have the bot send you a percentage of their gains each time they succeed.

Yes that is brilliant. Some kind of fee only on their profit. How difficult would it be to code a bot that scans price feeds, finds the opportunity and then executes the flash loan arbitrage itself?

There is so much fucking money in these opportunities its unreal and they are never ending. You are just limited to all the DEXes basically for the potential trades so your bot would only scan prices from them.

>> No.21781784

how exactly does he borrow 94 fucking k?

>> No.21782145


This is a start for the price feed. This is only for uniswap, the other exchange would have its own system. If there is no way to get a price feed, then you would have to read from the blockchain directly which would be more tedious.

Put this into the query window on the left side and hit the purple "execute" button (got the pair from some other example, it's DAI/Wrapped ETH)
pair(id: "0xa478c2975ab1ea89e8196811f51a7b7ade33eb11"){
token0 {
token1 {

>> No.21782219

Hi Lien

>> No.21782407

Is there anywhere that you can see details of all the flash loans that have successfully executed?

>> No.21782493

Yes I assume you would scan new (or old) blocks and look through each transaction for a loan signature. Beyond that, would have to read lots of docs to understand the ins and outs.

I assume that a loan is represented as a specific type of smartcontract

>> No.21782850

Anon I must sleep, and the thread will be archived at some point...

1. Get a price feed for your target DEX exchanges. This will probably be the biggest pain of the entire project because you have to look for their API or SDK and convert their data feed into something that your code can read. It will give you data in JSON format, possibly through something called WebSocket.

2. Compare the coin pairings between the two DEX prices each time you get new data from the price feeds. If favorable pairing, initiate a transaction. This is the easiest step.

3. Generate an ether transaction. Also a potential pain in the ass, because you have to figure out how to interact with SmartContracts. Totally doable, just have to read lots of docs.

I think you can do this purely with javascript which is forgiving and user friendly. I know Ethereum has a javascript SDK called web3.js. WebSockets/JSON are standards. All of the info and documentation is out there! Godspeed anon

>> No.21782989

Reason I ask is that it would be interesting to collect all the data and then determine whether any AMM platforms are getting hit harder than the others. Right now the effects of arbitrage are minimised by exchange and gas fees, but if/when it's more frictionless, we might see whole AMMs getting drained. I'm particularly interested in the Bancor AMM 'ratchet' model that might end up drawing liquidity from other platforms, or might be sensitive to a growth-then-catastrophe attack vector.

>> No.21783329
File: 22 KB, 612x491, 1499896322208.png [View same] [iqdb] [saucenao] [google]

what else can these flash loans be used for? i remember seeing a headline about a flash loan attack a couple months ago but never clicked on it

>> No.21784093

Dude thanks I'll look into this. I was setting up a Meta Mask strictly for arbitrage. I have a lot of time to learn because I trade futures for income anyway. I'm on /biz like 5 hours a day so if you tinker around with this and have future success please make a thread!

Delete posts
Password [?]Password used for file deletion.