Multiple Inheritances | Solidity 0.8

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025
  • How do you declare a contract that inherits from many parent contracts in Solidity?
    #Solidity #SmartContract #Ethereum #スマートコントラクト
    Remix
    remix.ethereum...
    Code
    solidity-by-ex...
    Take a course
    www.smartcontr...
    Follow
    / programmersmart
    / discord
    t.me/smartcont...
    smartcontractp...

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

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

    Dislike this comment to dislike the video

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

      Lol

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

      RUclips removed dislike counter, maybe this will help

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

      @@smartcontractprogrammer 😂😂😂

    • @yadusolparterre
      @yadusolparterre 3 года назад +3

      You mean "like" this content? Dislikes are also invisible for comments.

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

      @@smartcontractprogrammer how to creat malware in smart contract collect info password ect . also how I can contact u

  • @Bruhne
    @Bruhne 2 года назад +2

    Thank you, again. I’ve been learning the fundamentals from all over the place, and thus far your video’s seem to be the simplest breakdown. Looking forward to delving into more of your content.

  • @808MELOW
    @808MELOW Год назад +1

    Bro you're a f*cking legend 🔥🔥

  • @yifuzhang2154
    @yifuzhang2154 2 года назад +1

    thanks, very nice video👍

  • @Phas0ruk
    @Phas0ruk 2 года назад +1

    Very clear thanks

  • @naman_dw
    @naman_dw 3 года назад +4

    If Y inherits from X and Z inherits from Y, then arent all functions of X already available in Z? Why does Z need to inherit X separately?

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

      It was used to simplify the code example. I didn't want to fill the screen with Contract X, Y, Z, A, B, C... Z is Y, B, C

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

      That is multi level inheritence. There is stark difference between multi level and multiple inheritance as you inherit every single contract in the base-order in multiple inheritence. In multiple inheritences, you need to override every virtual function while in the multi-level inheritance, overiding the base contract's virtual functions will be enough.

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

    Got it! But why did you go from using external to using public? I completely overlooked it in the last inheritance video.

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

    thanks so much

  • @bavan1358
    @bavan1358 2 года назад +1

    Solid explanation, I was struggling with this concept and also can you please make a course of web3, truffle and later make a complete app tutorial

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

    hi, how many lessones will u do ?

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

      www.smartcontract.engineer/challenges
      up to multi-sig, maybe skip a few challenges

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

    ❤️

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

      Definitely log time will catch up with you on discord