pub trait GetLegacyLease<N> {
// Required method
fn get_parachain_lease_in_blocks(para: ParaId) -> Option<N>;
}
Expand description
Return information about a legacy lease of a parachain.
Required Methods§
sourcefn get_parachain_lease_in_blocks(para: ParaId) -> Option<N>
fn get_parachain_lease_in_blocks(para: ParaId) -> Option<N>
If parachain is a lease holding parachain, return the block at which the lease expires.
Object Safety§
This trait is not object safe.