pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type PalletId: Get<PalletId>;
    type SubmissionDeposit: Get<<<<Self as Config>::Auctioneer as Auctioneer<<Self as Config>::BlockNumber>>::Currency as Currency<<Self as Config>::AccountId>>::Balance>;
    type MinContribution: Get<<<<Self as Config>::Auctioneer as Auctioneer<<Self as Config>::BlockNumber>>::Currency as Currency<<Self as Config>::AccountId>>::Balance>;
    type RemoveKeysLimit: Get<u32>;
    type Registrar: Registrar<AccountId = Self::AccountId>;
    type Auctioneer: Auctioneer<Self::BlockNumber, AccountId = Self::AccountId, LeasePeriod = Self::BlockNumber>;
    type MaxMemoLength: Get<u8>;
    type WeightInfo: WeightInfo;
}
Expand description

Configuration trait of this pallet.

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

Required Associated Types§

PalletId for the crowdloan pallet. An appropriate value could be PalletId(*b"py/cfund")

The amount to be held on deposit by the depositor of a crowdloan.

The minimum amount that may be contributed into a crowdloan. Should almost certainly be at least ExistentialDeposit.

Max number of storage keys to remove per extrinsic call.

The parachain registrar type. We just use this to ensure that only the manager of a para is able to start a crowdloan for its slot.

The type representing the auctioning system.

The maximum length for the memo attached to a crowdloan contribution.

Weight Information for the Extrinsics in the Pallet

Implementors§