Enum near_contract_tools::standard::nep141::Nep141Event
source · pub enum Nep141Event {
FtMint(Vec<FtMintData>),
FtTransfer(Vec<FtTransferData>),
FtBurn(Vec<FtBurnData>),
}
Expand description
NEP-141 standard events for minting, burning, and transferring tokens
Variants§
FtMint(Vec<FtMintData>)
Token mint event. Emitted when tokens are created and total_supply is increased.
FtTransfer(Vec<FtTransferData>)
Token transfer event. Emitted when tokens are transferred between two accounts. No change to total_supply.
FtBurn(Vec<FtBurnData>)
Token burn event. Emitted when tokens are burned (removed from supply). Decrease in total_supply.
Trait Implementations§
source§impl Clone for Nep141Event
impl Clone for Nep141Event
source§fn clone(&self) -> Nep141Event
fn clone(&self) -> Nep141Event
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Nep141Event
impl Debug for Nep141Event
source§impl Serialize for Nep141Event
impl Serialize for Nep141Event
source§impl ToEventLog for Nep141Event
impl ToEventLog for Nep141Event
§type Data = Nep141Event
type Data = Nep141Event
Metadata associated with the event
source§fn to_event_log<'__el>(&'__el self) -> EventLog<&'__el Self>
fn to_event_log<'__el>(&'__el self) -> EventLog<&'__el Self>
Retrieves the event log before serialization