Add / remove liquidity with Curve user interface 0:21 Code add liquidity 2:52 Get LP shares 5:42 Remove liquidity 6:02 Calculate value of shares 7:01 Test 9:23 Run mainnet fork 10:03
Hello, Loved your videos. Planning to watch each and every one of them. One question though, do you have the Curve implementation like in this video available in Solidity? Thanks in advance.
Yes, but not on Curve. Compound and Aave allows you to leverage on same token. Take a flashloan, lever up, borrow to repay flash loan, farm their governance token and sell it for profit.
@@smartcontractprogrammer Thanks very much for your reply and indeed thank you for the content on this channel. I am a year into learning about programming smart contracts and your channel is the best I have come across. Could you please tell me the risks associated with the above? It seems a little too good to be true and that it is essentially printing money, I'm sure I am missing something. Any additional information would be great, even reading material. Thanks again.
Add / remove liquidity with Curve user interface 0:21
Code add liquidity 2:52
Get LP shares 5:42
Remove liquidity 6:02
Calculate value of shares 7:01
Test 9:23
Run mainnet fork 10:03
Hello,
Loved your videos. Planning to watch each and every one of them. One question though, do you have the Curve implementation like in this video available in Solidity?
Thanks in advance.
Typical channel: Just show how to use the interface
Your channel: Also explains the program
This channel is about coding, security, tools in smart contract
😯🤓 supper valuable video !!! Thanks so much !!
Great Video
Please Upload Everyday
Thanks for the video!
Great videos! Many thanks!
Would it make sense to combine this code with flash loan in order to leverage deposit/profit?
Yes, but not on Curve. Compound and Aave allows you to leverage on same token. Take a flashloan, lever up, borrow to repay flash loan, farm their governance token and sell it for profit.
@@smartcontractprogrammer Thanks very much for your reply and indeed thank you for the content on this channel. I am a year into learning about programming smart contracts and your channel is the best I have come across. Could you please tell me the risks associated with the above? It seems a little too good to be true and that it is essentially printing money, I'm sure I am missing something. Any additional information would be great, even reading material. Thanks again.
how to control slippage in add_liquidity?
set min_shares