Calling Parent Constructors | Solidity 0.8

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

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

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

    finally finished the lessons, thanks, waiting the others .

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

    This is GOLD! Thank you

  • @xmilad5214
    @xmilad5214 4 месяца назад

    thank you

  • @DevrajSinghRawat
    @DevrajSinghRawat 2 года назад +3

    Another wonderful serise ..
    I would like to ask you that is there a specific reason for declaring constructor arguments as memory rather than calldata?

    • @petreefyedn0ire
      @petreefyedn0ire 2 года назад +3

      I think calldata is supposed to be used with functions marked as external

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

      Try and you will see. It doesn't compile

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

      TypeError: Data location must be "storage" or "memory" for constructor parameter, but "calldata" was given.

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

      saving gas might also be the reason

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

    Got it!

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

    I watch your videos dude, making me loots of help. want to see a lot of damn vulnerable contents from u. :))

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

    calling parent constructors also makes those parent contracts newly deployed, right?

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

    Hello, thanks for videos)
    I have a question: is it possible to just override erc20 constructor without implementing all erc20 contract if I just import erc20 from openzeppelin?

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

    This is very helpful.. Thank you!

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

    Good! Make clearer based on 0.5 video.

  • @主2-r6m
    @主2-r6m Год назад

    这一集怎么没字幕啊,唉

  • @РоманКоротков-з3ц
    @РоманКоротков-з3ц 2 года назад

    plz subtitles...

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

    Isnt solidity the best programming language ever? :D