pub trait ReceiveMigratedParas<AccountId> {
// Required methods
fn receive_para(para: MigratedPara<AccountId>) -> DispatchResult;
fn receive_next_free_para_id(para_id: ParaId);
}Expand description
Takes migrated para ids into the pallet that owns registration on the destination.
Required Methods§
Sourcefn receive_para(para: MigratedPara<AccountId>) -> DispatchResult
fn receive_para(para: MigratedPara<AccountId>) -> DispatchResult
Take one para, charging its deposits at this chain’s prices.
Note: We recreate even if there is not enough fund to pay for the deposit so no RC para gets dropped.
Sourcefn receive_next_free_para_id(para_id: ParaId)
fn receive_next_free_para_id(para_id: ParaId)
Adopt the next free para id from the source chain.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.