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
// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT

/// Emitted when ownership of the contract is transferred.
#[ink::event]
pub struct OwnershipTransferred {
    /// The new owner's account address. `None` if ownership is renounced.
    #[ink(topic)]
    pub new: Option<AccountId>,
}