Function: detokenize(string calldata tokenId, bool isSynthetic, string calldata claimedBy, string calldata correlationId)
This function detokenizes domain names by verifying ownership, burning tokens, and completing the detokenization process. It can only be called by authorized cross-chain senders from Doma chain. It includes ownership verification before proceeding.
Inputs
tokenIdControl: Full.
Constraints: Converted to
uint256viaStrings.parseUint().Impact: Identifies the specific token to detokenize.
isSyntheticControl: Not controlled.
Constraints: Must be false (synthetic tokens not implemented).
Impact: Distinguishes between regular and permissioned tokens.
claimedByControl: Full.
Constraints: Converted to address via
Strings.parseAddress()and must match token owner.Impact: Expected owner address that must match the current token owner.
correlationIdControl: Full.
Constraints: N/A.
Impact: Used for cross-chain operation tracking and correlation.
Branches and code coverage (including function calls)
Intended branches
Negative behavior