Open Cap Table Protocol Canton SDK - v0.2.287
    Preparing search index...

    Interface ReplicationDiff

    Result of comparing source state (desired) to Canton state (actual).

    interface ReplicationDiff {
        conflicts: SecurityIdConflict[];
        creates: ReplicationItem[];
        deletes: ReplicationItem[];
        edits: ReplicationItem[];
        total: number;
    }
    Index

    Properties

    conflicts: SecurityIdConflict[]

    Security ID conflicts detected in proposed creates. Each conflict indicates a CREATE that will fail because its security_id is already taken by a different object on Canton. The conflicting items are still included in creates (they represent real source-vs-Canton diffs), but callers should handle conflicts before submitting to DAML.

    creates: ReplicationItem[]

    Items in source but not in Canton - need to be created

    deletes: ReplicationItem[]

    Items in Canton but not in source - need to be deleted

    Items in both - may need to be edited

    total: number

    Total number of operations (creates + edits + deletes)