pub type Event = Event;

Aliased Type§

enum Event {
    OneshotAccountCreated {
        account: AccountId32,
        balance: u64,
        creator: AccountId32,
    },
    OneshotAccountConsumed {
        account: AccountId32,
        dest1: (AccountId32, u64),
        dest2: Option<(AccountId32, u64)>,
    },
    Withdraw {
        account: AccountId32,
        balance: u64,
    },
}

Variants§

§

OneshotAccountCreated

Fields

§account: AccountId32
§balance: u64
§creator: AccountId32
§

OneshotAccountConsumed

Fields

§account: AccountId32
§dest1: (AccountId32, u64)
§dest2: Option<(AccountId32, u64)>
§

Withdraw

Fields

§account: AccountId32
§balance: u64