pub type Event = Event;

Aliased Type§

enum Event {
    NewSwap {
        account: AccountId32,
        proof: [u8; 32],
        swap: PendingSwap,
    },
    SwapClaimed {
        account: AccountId32,
        proof: [u8; 32],
        success: bool,
    },
    SwapCancelled {
        account: AccountId32,
        proof: [u8; 32],
    },
}

Variants§

§

NewSwap

Fields

§account: AccountId32
§proof: [u8; 32]
§

SwapClaimed

Fields

§account: AccountId32
§proof: [u8; 32]
§success: bool
§

SwapCancelled

Fields

§account: AccountId32
§proof: [u8; 32]