The onInstall
function in the WebAuthnValidationModule
contract processes installation data by decoding it and transferring the signer's public key coordinates. It updates the signer's information and emits an event to notify about the transfer of the signer.
data
(bytes
): A byte array containing encoded information, which includes:
entityId
(uint32
): The identifier for the entity associated with the signer.x
(uint256
): The new x-coordinate of the signer's public key.y
(uint256
): The new y-coordinate of the signer's public key.