Function: requestTokenization(TokenizationVoucher calldata voucher, bytes calldata signature)
This function initiates domain tokenization requests by validating signed vouchers from registrars, verifying domain names, collecting fees, and sending cross-chain tokenization requests to Doma chain via _relayMessage for registrar approval.
Inputs
voucherControl: Full.
Constraints: Expiration checked via
_verifyNotExpiredVoucher(), nonce verified via_verifyAndUpdateNonce(), and owner must matchmsg.sender.Impact: Contains names array, nonce, expiration, and owner address for tokenization request.
signatureControl: Full.
Constraints: Verified via
_verifyRegistrarSignature()to ensure voucher was signed by an authorized registrar.Impact: Ensures voucher authenticity and prevents unauthorized tokenization requests.
Branches and code coverage (including function calls)
Intended branches
Negative behavior