docs icon indicating copy to clipboard operation
docs copied to clipboard

Implement Self-Upgradable Smart Contract with self_upgrade function (DAO-Controlled)

Open sczembor opened this issue 11 months ago • 0 comments

Self-upgradable smart contract tutorial. The contract would include a self_upgrade function that allows a designated address (typically a DAO) to initiate an upgrade process.

Functionality:

  • The self_upgrade function would accept new WASM code as input.
  • Upon receiving a valid call from the authorized address, the contract would update its internal logic with the provided WASM code.

sczembor avatar Mar 06 '24 15:03 sczembor