Open Zeppelin Upgradeable Contracts - Unsafe Code

Поділитися
Вставка
  • Опубліковано 15 лис 2024

КОМЕНТАРІ • 24

  • @smartcontractprogrammer
    @smartcontractprogrammer  2 роки тому +2

    0:25 - Constructor
    5:50 - Initialization
    9:13 - Reorder storage layout
    12:42 - Selfdestruct

  • @paddawan84
    @paddawan84 2 роки тому +3

    Thank you for this very clear explanation about upgradeable contracts !

  • @cesarsst
    @cesarsst 4 місяці тому

    Man!!! How does this video have only 9k views? This series is gold, dude!!! Thanks a lot!

  • @enchance
    @enchance 2 роки тому +3

    Question, if I have a payable function in the implementation contract are the funds saved in the proxy? Will upgrading the implementation contract affect the funds?

  • @shwetaparanjape8940
    @shwetaparanjape8940 Місяць тому

    Thank you so much for the clear explanation..

  • @favoursyre
    @favoursyre 2 роки тому +1

    Thanks for the explanation
    Can you kindly do a code along tutorial for how to write diamond smart contracts?

  • @TjSpoonManJacques
    @TjSpoonManJacques 2 роки тому +1

    In the same week OpenZeppellin was dumped by REMIX IDE for dangerous proxy contracts - you delivered a Mike Tyson Uppercut! Ouch LOL!!!

  • @pulsechainalltheway1845
    @pulsechainalltheway1845 7 місяців тому

    Amazing video, great explanation

  • @moka7986
    @moka7986 Рік тому

    I have a question from the video 1:01
    Why the constructor code is not set to the Proxy contract? Is this because delegate function can't call constructor function, right?
    In other word, delegate function is key to update Proxy contract, correct?

    • @smartcontractprogrammer
      @smartcontractprogrammer  Рік тому +1

      Because state variables set inside the implementation is not used in the proxy contract

  • @bossgd100
    @bossgd100 2 роки тому

    Open Zeppelin Upgradeable Contracts are still unsafe ? they didnt change the code since your video ?

  • @kevingamaliel4076
    @kevingamaliel4076 2 роки тому +1

    Thank you master, forever in your debt

  • @ufo
    @ufo 2 роки тому +1

    If I deployed Proxy Contract A and implement Contract a1 and init it then change the implementation to Contract a2, what would happen if I init Contract a2? Thank you.

    • @smartcontractprogrammer
      @smartcontractprogrammer  2 роки тому +1

      depends on what's inside a2.init

    • @ufo
      @ufo 2 роки тому +1

      @@smartcontractprogrammer Sorry, it is the same as a1

  • @salem232
    @salem232 2 роки тому

    very nice video tutorial 😍Thank you!!

  • @theboss1280
    @theboss1280 2 роки тому

    Hey, i just started coding a little bit java script, do you think it is realistic to be able to get a blockchain developer job in 5 months if i study 2 hours everyday?

  • @АнтонМакаров-х7ь
    @АнтонМакаров-х7ь 2 роки тому

    чел, ты просто ахуенен, спасибо!

  • @kumar-ee6eu
    @kumar-ee6eu 2 роки тому

    Hi bro,
    Please make videos on ERC20 AND ICO