// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT
/// Emitted when tokens are transferred, including zero value transfers.
#[ink::event]#[derive(Debug)]pubstructTransfer{/// The account from which the tokens are transferred. `None` for minting operations.
#[ink(topic)]pubfrom:Option<AccountId>,
/// The account to which the tokens are transferred. `None` for burning operations.
#[ink(topic)]pubto:Option<AccountId>,
/// The amount of tokens transferred.
pubvalue: Balance,
}/// Emitted when the allowance of a `spender` for an `owner` is set or changed.
#[ink::event]#[derive(Debug)]pubstructApproval{/// The account of the token owner.
#[ink(topic)]pubowner: AccountId,
/// The account of the authorized spender.
#[ink(topic)]pubspender: AccountId,
/// The new allowance amount.
pubvalue: Balance,
}