pendzl_contracts 1.0.2

Reusable implementations of contracts and traits for interaction with them.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT

/// Emitted when the contract is paused.
#[ink::event]
pub struct Paused {
    /// The account that initiated the pause action.
    #[ink(topic)]
    pub account: AccountId,
}

/// Emitted when the contract is unpaused.
#[ink::event]
pub struct Unpaused {
    /// The account that initiated the unpause action.
    #[ink(topic)]
    pub account: AccountId,
}