How to Calculate Impermanent Loss on Uniswap V2 | DeFi

Поделиться
HTML-код
  • Опубликовано: 13 июн 2024
  • How to calculate impermanent loss on constant product automated market maker like Uniswap V2
    0:00 - Intro
    1:04 - Definitions
    3:05 - Rewrite x and y in terms of L and P
    6:44 - Derive formula for impermanent loss
    Notes
    github.com/t4sk/notes
    Reference
    / how-to-calculate-imper...
    #Solidity #SmartContract #Ethereum #スマートコントラクト
    Take a course
    www.smartcontract.engineer/
    Follow
    / programmersmart
    / discord
    t.me/smartcontractprogrammer
    smartcontractprogrammer.com
  • НаукаНаука

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

  • @sanjayojha1
    @sanjayojha1 Год назад +2

    Superb work to make us understand the basic of Financial Math. We want this type of videos for other DeFi terms. Learning this will make us better coder and also better DeFi expert.

  • @lanreakintayo3443
    @lanreakintayo3443 Год назад

    You are the best man... The way you comprehensively explain mathematical concepts like this makes it very easy to understand the smart contract. Keep on being inspirational and awesome.

  • @rattle_
    @rattle_ Год назад

    This is hands down probably the best channel in crypto due to content like this. Thank you!

  • @smartcontractprogrammer
    @smartcontractprogrammer  Год назад +1

    0:00 - Intro
    1:04 - Definitions
    3:05 - Rewrite x and y in terms of L and P
    6:44 - Derive formula for impermanent loss
    Notes
    github.com/t4sk/notes
    Reference
    medium.com/auditless/how-to-calculate-impermanent-loss-full-derivation-803e8b2497b7
    Take a course
    www.smartcontract.engineer/

  • @yusuferdogan4985
    @yusuferdogan4985 Год назад

    You are amazing and inspirational, has any recommended documentation for Defi

  • @eugenionull9758
    @eugenionull9758 Год назад

    awesome!!!

  • @vivekascoder
    @vivekascoder Год назад

    Just a question, the final equation gives the % of IL faced by the user so if the value is 3 then it means that the IL faced by the user at t1 is 3% of the total value if he didn't added funds into the AMM, right ?

  • @eugenionull9758
    @eugenionull9758 Год назад

    Got ant maths on interest for borrow, lending and liquidation threshold? that would be nice to dive in

  • @berealmusic
    @berealmusic Год назад

    Great

  • @user-ub9qb7gd4e
    @user-ub9qb7gd4e Год назад

    nice!!!!!

  • @muniapriyansu8805
    @muniapriyansu8805 Год назад

    Hey! can you please make a series on Upgrade patterns, other youtubers have done it but no one matches your explanatory skills.

  • @HirenKavad
    @HirenKavad Год назад +1

    Can you please create explanation video for uniswap V3 impermanent loss ?

  • @zulfiqar7967
    @zulfiqar7967 Год назад

    Can you do some projects, it will be helpful to improve skills on web3 and solidity..

  • @amirhosseinghasemi6280
    @amirhosseinghasemi6280 Год назад

    please tell me what application do you use to write this note🙏?

  • @bertkellerman5821
    @bertkellerman5821 Год назад +1

    I believe you have a mistake at 8:53. It should be P_0 = y_o/x_o not P_0=x_o/y_o

  • @TheGaneshshow
    @TheGaneshshow Год назад

    why k = l^2. Thank you.