Function: claimOwnership()
This function is used to claim ownership of a name token.
Inputs
tokenIdControl: Semicontrolled.
Constraints: The user claiming ownership must have this token existing in their wallet.
Impact: The token ID of the ownership token being claimed.
chainIdControl: Not controlled.
Constraints: This is hardcoded by the ProxyDomaRecord contract.
Impact: This is the chain ID of the remote chain.
claimedByControl: Not controlled.
Constraints: N/A.
Impact: This is the
msg.senderwho is claiming ownership on the remote chain.
proofSourceControl: Semicontrolled.
Constraints: N/A.
Impact: This must be set according to who signed the proof-of-contacts voucher on the remote chain.
registrantHandleControl: 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