Assessment reports>d3-doma>Threat Model>Function: requestDetokenization(uint256 tokenId, bool isSynthetic)

Function: requestDetokenization(uint256 tokenId, bool isSynthetic)

This function initiates a detokenization request by verifying token ownership and sending a cross-chain message to Doma chain for validation and processing. Only token owners can request detokenization of their tokens.

Inputs

  • tokenId

    • Control: Full.

    • Validation: Token ownership verified via _verifyTokenOwnership().

    • Impact: Identifies the specific token to request detokenization for.

  • isSynthetic

    • Control: Not controlled.

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

    • Impact: Distinguishes between regular and permissioned tokens.

Branches and code coverage (including function calls)

Intended branches

Negative behavior

Zellic © 2025Back to top ↑