Skip to main content

verify_custody_with_events

Function verify_custody_with_events 

Source
pub async fn verify_custody_with_events(
    client: &StorageVerifyClient,
    attestation_keys: &[HybridVerifyingKey],
    bundle: &UploadBundle,
    report: &AssetPushReport,
    now_unix: i64,
    events: &TransferEvents,
) -> Result<VerifiedCustody, PushError>
Expand description

verify_custody, publishing the verdict (TransferEvent::Verify) and each verified receipt (TransferEvent::Receipt) to events.