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
tokenId
Control: Full.
Constraints: Converted to
uint256
viaStrings.parseUint()
.Impact: Identifies the specific token to renew.
isSynthetic
Control: Not controlled.
Constraints: Must be false (synthetic tokens not implemented).
Impact: Distinguishes between regular and permissioned tokens.
expiresAt
Control: Full.
Constraints: Validated in
ownershipToken().renew()
via inherited validation logic.Impact: New expiration timestamp for the token.
correlationId
Control: Full.
Constraints: N/A.
Impact: Used for cross-chain operation tracking and correlation.
Branches and code coverage (including function calls)
Intended branches
Negative behavior