Module admin

Source
Expand description

Transaction authentication by pre-configured admin address. See the examples on how to implement it.

Structs§

AdminNs
DefaultImpl
PendingAdminNs

Enums§

ExecuteMsg
Mode
QueryMsg

Constants§

PENDING_ADMIN
STORE

Traits§

Admin

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 is None. You must call this in your instantiate message.

Attribute Macros§

require_admin