Assessment reports>d3-doma>Threat Model>Function: changeLockStatus(string calldata tokenId, bool isSynthetic, bool isTransferLocked, string calldata correlationId)

Function: changeLockStatus(string calldata tokenId, bool isSynthetic, bool isTransferLocked, string calldata correlationId)

This function changes the transfer lock status of ownership tokens. This function can only be called by authorized cross-chain senders to enforce compliance controls on token transfers.

Inputs

  • tokenId

    • Control: Full.

    • Constraints: Converted to uint256 via Strings.parseUint().

    • Impact: Identifies the specific token to change lock status for.

  • isSynthetic

    • Control: Not controlled.

    • Constraints: Must be false (synthetic tokens not implemented).

    • Impact: Distinguishes between regular and permissioned tokens.

  • isTransferLocked

    • Control: Full.

    • Constraints: N/A.

    • Impact: New lock status to apply.

  • correlationId

    • Control: Full.

    • Constraints: N/A.

    • Impact: Used for cross-chain operation tracking and correlation.

Branches and code coverage (including function calls)

Intended branches

Negative behavior

Zellic © 2025Back to top ↑