ReceivingKey struct.
registerReceivingKey
Checks
Behaviour
- Idempotent. Registering the same key again returns without changes.
- Final. A different key for the same address is refused, forever.
- On success: inserts
rkHashinto the key-registry tree and emitsReceivingKeyRegistered.
KEY_ROTATION_COOLDOWN, receivingKeyRotatableAt and ReceivingKeyRotated stay in the ABI for client compatibility. Rotation is disabled: receivingKeyRotatableAt returns 0 for unregistered addresses and type(uint256).max otherwise.