Function: tokenTransfer(uint256 tokenId, address from, address to)
This function handles cross-chain ownership record updates when tokens are transferred between addresses on the tokenization chain. It is called by the OwnershipToken contract during transfers to synchronize ownership changes with Doma chain via _relayMessage
.
Inputs
tokenId
Control: Semicontrolled.
Constraints: N/A (validated by calling the OwnershipToken contract).
Impact: Identifies the specific token being transferred for the cross-chain record update.
from
Control: Not controlled.
Constraints: N/A (validated by calling the OwnershipToken contract).
Impact: Source address of the token transfer for the cross-chain ownership update.
to
Control: Full.
Constraints: N/A (validated by calling the OwnershipToken contract).
Impact: Destination address of the token transfer for the cross-chain ownership update.
Branches and code coverage (including function calls)
Intended branches
Negative behavior