Type Alias distance_oracle::runtime::treasury::Event

source ·
pub type Event = Event;

Aliased Type§

enum Event {
    Spending {
        budget_remaining: u64,
    },
    Awarded {
        proposal_index: u32,
        award: u64,
        account: AccountId32,
    },
    Burnt {
        burnt_funds: u64,
    },
    Rollover {
        rollover_balance: u64,
    },
    Deposit {
        value: u64,
    },
    SpendApproved {
        proposal_index: u32,
        amount: u64,
        beneficiary: AccountId32,
    },
    UpdatedInactive {
        reactivated: u64,
        deactivated: u64,
    },
    AssetSpendApproved {
        index: u32,
        asset_kind: (),
        amount: u64,
        beneficiary: AccountId32,
        valid_from: u32,
        expire_at: u32,
    },
    AssetSpendVoided {
        index: u32,
    },
    Paid {
        index: u32,
        payment_id: (),
    },
    PaymentFailed {
        index: u32,
        payment_id: (),
    },
    SpendProcessed {
        index: u32,
    },
}

Variants§

§

Spending

Fields

§budget_remaining: u64
§

Awarded

Fields

§proposal_index: u32
§award: u64
§account: AccountId32
§

Burnt

Fields

§burnt_funds: u64
§

Rollover

Fields

§rollover_balance: u64
§

Deposit

Fields

§value: u64
§

SpendApproved

Fields

§proposal_index: u32
§amount: u64
§beneficiary: AccountId32
§

UpdatedInactive

Fields

§reactivated: u64
§deactivated: u64
§

AssetSpendApproved

Fields

§index: u32
§asset_kind: ()
§amount: u64
§beneficiary: AccountId32
§valid_from: u32
§expire_at: u32
§

AssetSpendVoided

Fields

§index: u32
§

Paid

Fields

§index: u32
§payment_id: ()
§

PaymentFailed

Fields

§index: u32
§payment_id: ()
§

SpendProcessed

Fields

§index: u32