pub trait Config: Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type SunrisePalletId: Get<PalletId>;
    type Cooldown: Get<Self::BlockNumber>;
    type MaximumRewardPerSwap: Get<Balance>;
    type LeftoverSwapRebates: Get<FixedU128>;
    type Security: SecurityExt<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>;
}
Expand description

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

Required Associated Types§

Events

Pallet ID

Number of blocks to wait before allowing users to claim their sunrise rewards, after an era is completed.

Maximum rewards for sunrise pool before the applied rewards. Example, 10_000_000_000_000_000 with a 125% rewards, the maximum applied will be 12_500_000_000_000_000 TDFY

For each tier, leftover funds will be allocated to to this tier

Security traits

Tidechain currency wrapper

Implementors§