mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 18:31:05 +00:00
Add Many Sanity Checks to Crowdloans (#2745)
* Add many sanity checks to Crowdloans * fix tests * test contribution block in integration test * fix rococo build * remove leaser from crowdloans * fix docs and terms * fix compile
This commit is contained in:
@@ -174,6 +174,12 @@ pub trait Auctioneer {
|
||||
|
||||
/// Returns the current lease period.
|
||||
fn lease_period_index() -> Self::LeasePeriod;
|
||||
|
||||
/// Returns the length of a lease period.
|
||||
fn lease_period() -> Self::LeasePeriod;
|
||||
|
||||
/// Check if the para and user combination has won an auction in the past.
|
||||
fn has_won_an_auction(para: ParaId, bidder: &Self::AccountId) -> bool;
|
||||
}
|
||||
|
||||
/// Runtime hook for when we swap a parachain and parathread.
|
||||
|
||||
Reference in New Issue
Block a user