Module fadroma::admin

source ·
Expand description

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

Structs

Enums

Constants

Traits

Functions

  • Asserts that the message sender is the admin. Otherwise returns an Err.
  • 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