pub trait Config: Config + Config<AssetId = AssetId, Balance = Balance> {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type OraclePalletId: Get<PalletId>;
    type WeightInfo: WeightInfo;
    type Security: SecurityExt<Self::AccountId, Self::BlockNumber>;
    type SwapLimitByAccount: Get<u32>;
    type SupportedMarketPairsLimit: Get<u32>;
    type Fees: FeesExt<Self::AccountId, Self::BlockNumber>;
    type Sunrise: SunriseExt<Self::AccountId, Self::BlockNumber>;
    type CurrencyTidefi: Inspect<Self::AccountId, AssetId = CurrencyId, Balance = Balance> + Mutate<Self::AccountId, AssetId = CurrencyId, Balance = Balance> + Transfer<Self::AccountId, AssetId = CurrencyId, Balance = Balance> + InspectHold<Self::AccountId, AssetId = CurrencyId, Balance = Balance> + MutateHold<Self::AccountId, AssetId = CurrencyId, Balance = Balance>;
}
Expand description

Oracle configuration

Required Associated Types§

Events

Pallet ID

Weights

Security traits

The maximum number of active swaps per account id

The maximum number of supported market pairs

Fees traits

Tidefi sunrise traits

Tidechain currency wrapper

Implementors§