pub trait Config: Config + Config<AssetId = AssetId, Balance = Balance> {
Show 14 associated items type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>; type QuorumPalletId: Get<PalletId>; type ProposalsCap: Get<u32>; type BurnedCap: Get<u32>; type ProposalLifetime: Get<Self::BlockNumber>; type WeightInfo: WeightInfo; type Security: SecurityExt<Self::AccountId, Self::BlockNumber>; type Sunrise: SunriseExt<Self::AccountId, Self::BlockNumber>; type StringLimit: Get<u32>; type VotesLimit: Get<u32>; type WatchListLimit: Get<u32>; type PubkeyLimitPerAsset: Get<u32>; type AssetRegistry: AssetRegistryExt; 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

Proposals capacity

Burned queue capacity

Proposals lifetime

Weights

Security traits

Sunrise traits

The maximum length of string (public keys etc..)

The maximum number of votes per proposal

The maximum number of proposals per account watch list

The pubkey per asset (should always be more than current member size)

Asset registry traits

Tidechain currency wrapper

Implementors§