Alan@donosonaumczuk·Sep 12

I wrote about an idea for what I consider a more secure smart contract ownership transfer pattern. I'd love to hear your views. hackmd.io/@donosonaumczuk/ownership-transfer

  • iivii@iivii·Sep 18

    you are cool

    0
    • Stani@stani·Sep 13

      I like the idea of adding another step of confirmation by allowing the recipient owner (the new owner) to accept the ownership before receiving - might not be needed in simple cases but dealing with important smart contracts, this would be definitely valuable

      1
      • Alan@donosonaumczuk·Sep 13

        Well, here you have, I contributed it to the SolDAO's solbase repo! twitter.com/z0r0zzz/status/1569712780231725056

        1
        • its great

          0
          • Burak@mediterrenian·Sep 13

            good

            0
            • @rymv96l2o1·Sep 13

              That's neat

              0
              • @6czk9tn1xh·Sep 13

                Let go

                0
                • So do I

                  0
                  • Enjoy yourself

                    0
                    • Hernandlf@herniadlf·Sep 12

                      Hey @donosonaumczuk.lens , it's a great idea. Just a few thoughts about it.

                      • I'd change the name of transferOwnership for something like initOwnershipTransfer. To be clear that "its a process" and no just a one time action. Maybe you want to keep "transferOwnership" for some compatibility matters, in that case its ok.
                      • Instead of a double confirmation, I'd keep the new owner confirmation but I'd add a "revertTimeOut" parameter or something like that. In this way, the previous owner doesn't need to confirmate again but still has a chance to revert it if something went wrong.
                      2