Expand description

This execution route allows the contract admin to choose a new admin.

Functions§

  • Invoked via the contract’s execute functionality. This function will only accept the request if the sender is the registered contract admin in the contract state. The function swaps the current value in the contract state for the newly-provided value, effectively removing the previous admin and setting a new one.