IBLSPublicKeyCompendium
Author: Layr Labs, Inc.
Terms of Service: https://docs.eigenlayer.xyz/overview/terms-of-service
Functions
operatorToPubkeyHash
mapping from operator address to pubkey hash. Returns zero if the operator
has never registered, and otherwise returns the hash of the public key of the operator.
pubkeyHashToOperator
mapping from pubkey hash to operator address. Returns zero if no operator has ever registered the public key corresponding to pubkeyHash
, and otherwise returns the (unique) registered operator who owns the BLS public key that is the preimage of pubkeyHash
.
registerBLSPublicKey
Called by an operator to register themselves as the owner of a BLS public key and reveal their G1 and G2 public key.
Parameters
getMessageHash
Returns the message hash that an operator must sign to register their BLS public key.
Parameters
Events
NewPubkeyRegistration
Emitted when operator
registers with the public keys pubkeyG1
and pubkeyG2
.
Structs
G1Point
G2Point
Last updated