PublicKeyOption

Class: PublicKeyOption

Defined in: packages/upgradable/src/upgradable.ts:51

An optional PublicKey type, used to specify the next upgrade authority if needed.
This is crucial when the current upgrade authority cannot be used in future upgrades
due to changes in the o1js version or other factors.

Extends

  • Option<PublicKey, {}>

Constructors

new PublicKeyOption()

new PublicKeyOption(option: {}): PublicKeyOption

Defined in: node_modules/o1js/dist/node/lib/provable/option.d.ts:35

Parameters

option

Returns

PublicKeyOption

Inherited from

Option(PublicKey).constructor