Trait pallet_chainlink_feed::pallet::Config[][src]

pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type FeedId: Member + Parameter + Default + Copy + HasCompact + BaseArithmetic;
    type Value: Member + Parameter + Default + Copy + HasCompact + PartialEq + BaseArithmetic + MaybeSerializeDeserialize;
    type Currency: ReservableCurrency<Self::AccountId>;
    type PalletId: Get<PalletId>;
    type MinimumReserve: Get<BalanceOf<Self>>;
    type StringLimit: Get<u32>;
    type OracleCountLimit: Get<u32>;
    type FeedLimit: Get<Self::FeedId>;
    type OnAnswerHandler: OnAnswerHandler<Self>;
    type WeightInfo: WeightInfo;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Associated Types

Type for feed indexing.

Oracle feed values.

Interface used for balance transfers.

The module id used to determine the account for storing the funds used to pay the oracles.

The minimum amount of funds that need to be present in the fund account.

Maximum allowed string length.

Maximum number of oracles per feed.

Maximum number of feeds.

This callback will trigger when the round answer updates

The weight for this pallet’s extrinsics.

Implementors