pub trait SwapScriptCommon {
// Required methods
fn swap_type(&self) -> SwapType;
fn partial_sign(
&self,
keys: &Keypair,
pub_nonce: &str,
transaction_hash: &str,
) -> Result<(PartialSignature, PublicNonce), Error>;
}Expand description
Trait for common functionality between Bitcoin and Liquid swap transactions