use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CctpTransferIntent {
pub amount: u128,
pub source_chain: u32,
pub destination_chain: u32,
pub mint_recipient: String,
pub burn_token: String,
}
pub struct CctpManager {
}
impl Default for CctpManager {
fn default() -> Self {
Self::new()
}
}
impl CctpManager {
pub fn new() -> Self {
Self {}
}
pub fn prepare_burn_payload(&self, _intent: CctpTransferIntent) -> Vec<u8> {
Vec::new()
}
pub fn verify_attestation(&self, attestation: &[u8]) -> bool {
!attestation.is_empty()
}
}