Trait cfg_traits::liquidity_pools::LpMessageRecovery
source · pub trait LpMessageRecovery: LpMessageHash {
// Required methods
fn initiate_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self;
fn dispute_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self;
}
Required Methods§
sourcefn initiate_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self
fn initiate_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self
Creates a message used for initiating message recovery.
Hash - hash of the message that should be recovered. Router - the address of the recovery router.
sourcefn dispute_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self
fn dispute_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self
Creates a message used for disputing message recovery.
Hash - hash of the message that should be disputed. Router - the address of the recovery router.
Object Safety§
This trait is not object safe.