Enter 'this is a beta' to gain access
codeAccount. We can store the
codeAccount.addresspublicly without risking exposing the secret itself on-chain.
keyOwneris the address of the account that's approved to purchase a key. Including the
keyOwnerensures that another account cannot simply replay the same transaction to purchase for themselves.
codeAccountis included in the
bytes _datafield. The lock forwards this information to the CodeRequiredHook for confirmation. If the signature is missing or not correct then the entire transaction reverts.