Function: renew(string calldata tokenId, bool isSynthetic, uint256 expiresAt, string calldata correlationId)
This function renews ownership tokens by updating their expiration dates. It can only be called by authorized cross-chain senders from Doma chain in response to domain renewals. It updates token expiration without ownership verification.
Inputs
tokenIdControl: Full.
Constraints: Converted to
uint256viaStrings.parseUint().Impact: Identifies the specific token to renew.
isSyntheticControl: Not controlled.
Constraints: Must be false (synthetic tokens not implemented).
Impact: Distinguishes between regular and permissioned tokens.
expiresAtControl: Full.
Constraints: Validated in
ownershipToken().renew()via inherited validation logic.Impact: New expiration timestamp for the token.
correlationIdControl: Full.
Constraints: N/A.
Impact: Used for cross-chain operation tracking and correlation.
Branches and code coverage (including function calls)
Intended branches
Negative behavior