// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT
/// Emitted when a token is transferred.
#[ink::event]pubstructTransfer{/// The account from which the token is transferred. `None` for minting.
pubfrom:Option<AccountId>,
/// The account to which the token is transferred. `None` for burning.
pubto:Option<AccountId>,
/// The Id of the token being transferred.
pubid: Id,
}/// Emitted when a token approval is granted or revoked.
#[ink::event]pubstructApproval{/// The account granting or revoking approval.
pubowner: AccountId,
/// The account being approved or disapproved.
puboperator: AccountId,
/// The Id of the token for specific approval. `None` for global approval.
pubid:Option<Id>,
/// The approval status.
pubapproved:bool,
}