VerificationKeyUpgradeData
Hierarchy
- any
- VerificationKeyUpgradeData
Index
Constructors
Methods
Constructors
constructor
Returns VerificationKeyUpgradeData
Methods
hash
Generates a unique hash for the upgrade data using the Poseidon hash function.
Returns Field
The hash representing the upgrade data.
Represents the data required to upgrade a contract's verification key. It includes the contract's address, token ID, previous verification key hash, and the new verification key hash. This class also provides a
hash()
method to generate a unique identifier for the upgrade data.