Function: initiateTokenization()
This function is used to initiate tokenization for a domain name.
Inputs
registrarIanaId
Control: Not controlled.
Constraints: Fetched from ProxyDomaRecord storage state, set by registrars themselves.
Impact: This is the registrar through which this domain was purchased.
names
Control: Semicontrolled.
Constraints: The names are fetched from a voucher provided by the user, but the voucher needs to be signed by the registrar before it can be used.
Impact: These are the names for which tokenization is to be initiated.
ownershipTokenChainId
Control: Not controlled.
Constraints: This is hardcoded by the ProxyDomaRecord contract.
Impact: This is the chain ID of the remote chain.
ownershipTokenOwnerAddress
Control: Not controlled.
Constraints: This is the
msg.sender
that requested tokenization on the remote chain.Impact: This is the address of the user on the remote chain who is requesting tokenization.
correlationId
Control: Not controlled.
Constraints: This is hardcoded by the ProxyDomaRecord contract.
Impact: This is a hash of the current block number, the chain ID, and a nonce on the remote chain.
Branches and code coverage (including function calls)
Intended branches
Negative behavior