Curve - How to Add and Remove Liquidity | DeFi

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 13

  • @smartcontractprogrammer
    @smartcontractprogrammer  3 года назад

    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

    • @myPHPnotes
      @myPHPnotes 2 года назад

      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.

  • @dev.regotube
    @dev.regotube 3 года назад +2

    Typical channel: Just show how to use the interface
    Your channel: Also explains the program

  • @salem232
    @salem232 3 года назад

    😯🤓 supper valuable video !!! Thanks so much !!

  • @mysteryboy3913
    @mysteryboy3913 3 года назад

    Great Video
    Please Upload Everyday

  • @rattle_
    @rattle_ 3 года назад

    Thanks for the video!

  • @sdfsfsfd437
    @sdfsfsfd437 3 года назад

    Great videos! Many thanks!

  • @--350
    @--350 3 года назад

    Would it make sense to combine this code with flash loan in order to leverage deposit/profit?

    • @smartcontractprogrammer
      @smartcontractprogrammer  3 года назад

      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.

    • @--350
      @--350 3 года назад

      @@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.

  • @omparikh4426
    @omparikh4426 2 года назад

    how to control slippage in add_liquidity?