Files
serai/substrate/abi/src/system.rs

12 lines
331 B
Rust
Raw Normal View History

use borsh::{BorshSerialize, BorshDeserialize};
/// An event from the system.
#[derive(Clone, PartialEq, Eq, Debug, BorshSerialize, BorshDeserialize)]
pub enum Event {
/// The transaction successfully executed.
TransactionSuccess,
/// The transaction failed to execute.
// TODO: Add an error to this
TransactionFailed,
}