Function: claimOwnership()
This function is used to claim ownership of a name token.
Inputs
tokenId
Control: Semicontrolled.
Constraints: The user claiming ownership must have this token existing in their wallet.
Impact: The token ID of the ownership token being claimed.
chainId
Control: Not controlled.
Constraints: This is hardcoded by the ProxyDomaRecord contract.
Impact: This is the chain ID of the remote chain.
claimedBy
Control: Not controlled.
Constraints: N/A.
Impact: This is the
msg.sender
who is claiming ownership on the remote chain.
proofSource
Control: Semicontrolled.
Constraints: N/A.
Impact: This must be set according to who signed the proof-of-contacts voucher on the remote chain.
registrantHandle
Control: Semicontrolled.
Constraints: This is part of the proof-of-contacts voucher, which must be signed by a registrar or a Doma signer.
Impact: This is a handle for registrant details stored somewhere off chain.
Branches and code coverage (including function calls)
Intended branches
Negative behavior