pub trait Config: Config {
Show 15 associated items type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>; type UnixTime: UnixTime; type FeesPalletId: Get<PalletId>; type SessionsPerEra: Get<SessionIndex>; type SessionsArchive: Get<SessionIndex>; type BlocksPerSession: Get<Self::BlockNumber>; type FeeAmount: Get<Permill>; type MarketMakerFeeAmount: Get<Permill>; type MarketMakerLimitFeeAmount: Get<Permill>; type Security: SecurityExt<Self::AccountId, Self::BlockNumber>; type Staking: StakingExt<Self::AccountId>; 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>; type ForceOrigin: EnsureOrigin<Self::RuntimeOrigin>; type WeightInfo: WeightInfo;
}
Expand description

Configure the pallet by specifying the parameters and types on which it depends.

Required Associated Types§

Events

Time used for computing era duration.

It is guaranteed to start being called from the first on_finalize. Thus value at genesis is not used.

Pallet ID

Number of sessions per era

Number of sessions to keep in archive

Number of block per session

Retail user swap fee

Market maker market order fee

Market maker limit order fee

Security traits

Tidefi stake traits

Tidefi sunrise traits

Tidechain currency wrapper

The origin which may forcibly update the fee and distribution percentage

Weight information for extrinsics in this pallet.

Implementors§