pub type RcLeaseReserve<T: Config> = StorageNMap<_GeneratedPrefixForStorageRcLeaseReserve<T>, (NMapKey<Twox64Concat, BlockNumberFor<T>>, NMapKey<Twox64Concat, ParaId>, NMapKey<Twox64Concat, T::AccountId>), BalanceOf<T>, OptionQuery>;
Expand description
Amount of balance that was reserved for winning a lease auction.
unreserve_lease_deposit
can be permissionlessly called once the block number passed to
unreserve the deposit. It is implicitly called by withdraw_crowdloan_contribution
.
The account here can either be a crowdloan account or a solo bidder. If it is a crowdloan account, then the summed up contributions for it in the contributions map will equate the reserved balance here.
The keys are as follows:
- Block number after which the deposit can be unreserved.
- The para_id of the lease slot.
- The account that will have the balance unreserved.
- The balance to be unreserved.
Storage type is [StorageNMap
] with keys type (BlockNumberFor < T >, ParaId, T :: AccountId) and value type BalanceOf < T >.
Aliased Type§
struct RcLeaseReserve<T: Config>(/* private fields */);