Skip to main content

Calls

setKey

Authenticates the current sudo key and sets the given AccountId (new) as the new sudo key. The dispatch origin for this call must be Signed. Namespace
Type

sudo

Authenticates the sudo key and dispatches a function call with Root origin. The dispatch origin for this call must be Signed. Namespace
Type

sudoAs

Authenticates the sudo key and dispatches a function call with Signed origin from a given account. The dispatch origin for this call must be Signed. Namespace
Type

sudoUncheckedWeight

Authenticates the sudo key and dispatches a function call with Root origin. This function does not check the weight of the call, and instead allows the Sudo user to specify the weight of the call. The dispatch origin for this call must be Signed. Namespace
Type

Storage

key

The AccountId of the sudo key. Namespace
Type

Events

KeyChanged

The [sudoer] just switched identity; the old key is supplied if one existed. Namespace
Type

Sudid

A sudo just took place. [result] Namespace
Type

SudoAsDone

A sudo just took place. [result] Namespace
Type

Errors

RequireSudo

Sender must be the Sudo account Namespace
undefined