odra_modules/security/
events.rs

1//! Security module events implementation.
2use odra::prelude::*;
3
4/// Informs the contract has been stopped by `account`.
5
6#[odra::event]
7pub struct Paused {
8    /// The account that stopped the contract.
9    pub account: Address
10}
11
12/// Informs the contract has been unstopped by `account`.
13#[odra::event]
14pub struct Unpaused {
15    /// The account that unstopped the contract.
16    pub account: Address
17}