Expand description
Transaction authentication by pre-configured admin address. See the examples on how to implement it.
Structs§
Enums§
Constants§
Traits§
Functions§
- assert
- Asserts that the message sender is the admin. Otherwise returns an
Err
. - init
- Initializes the admin module. Sets the messages sender as the admin
if
address
isNone
. You must call this in your instantiate message.