The Pattern
View Code
View Code
Owner-Only Pattern
Set Owner in Constructor
Restrict Function Access
Transfer Ownership
Caller Identification
Get Caller Address
ownPublicKey() returns the public key of whoever called the circuit.
Restrict function access to authorized accounts.
View Code
ownPublicKey() returns the public key of whoever called the circuit.